aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2021-04-26 09:00:11 -0300
committerDavid Bremner <david@tethera.net>2021-04-26 09:00:11 -0300
commit00487fa901d55427e8b7e9fb91e56a4dbbca3c76 (patch)
treea869c8216c3025bcf648796da66cd1a248fa554c
parentf2b5ad28e2b7b512d66946af34dd4149d1506bf4 (diff)
test: hide message from moreutils parallel.
The argument --version confuses moreutils parallel, but this is OK, because its confusing does not include printing "GNU"
-rwxr-xr-xtest/notmuch-test2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/notmuch-test b/test/notmuch-test
index 91909264..cbd33f93 100755
--- a/test/notmuch-test
+++ b/test/notmuch-test
@@ -50,7 +50,7 @@ META_FAILURE=
# Run the tests
if test -z "$NOTMUCH_TEST_SERIALIZE" && command -v parallel >/dev/null ; then
test -t 1 && export COLORS_WITHOUT_TTY=t || :
- if parallel --version | grep -q GNU ; then
+ if parallel --version 2>&1 | grep -q GNU ; then
echo "INFO: running tests with GNU parallel"
printf '%s\n' $TESTS | $TEST_TIMEOUT_CMD parallel
else