]> git.notmuchmail.org Git - notmuch/blobdiff - test/notmuch-test
test: check for GNU parallel with --version options
[notmuch] / test / notmuch-test
index b58fd3b36f942a91fbe0ac9708d53aef9fdf4e1e..91909264cc94b6e72ee3778b6b15cfeaa53232f5 100755 (executable)
@@ -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 -h | grep -q GNU ; then
+    if parallel --version | grep -q GNU ; then
         echo "INFO: running tests with GNU parallel"
         printf '%s\n' $TESTS | $TEST_TIMEOUT_CMD parallel
     else