tests: use more POSIX shell features our test scripts
[platform/upstream/automake.git] / t / tap-basic.sh
index c19c326..2e12e6e 100755 (executable)
@@ -138,7 +138,7 @@ test -f test-suite.log
 
 grep '^ERROR: bail\.test - Bail out!' stdout
 grep '^PASS:' stdout && Exit 1
-test `$FGREP -c ': bail.test' stdout` -eq 1
+test $($FGREP -c ': bail.test' stdout) -eq 1
 $FGREP 'success.test' stdout && Exit 1
 
 # Override TEST_LOGS from the command line, making it point to a test