summaryrefslogtreecommitdiff
path: root/t/ac-output-old.tap
diff options
context:
space:
mode:
Diffstat (limited to 't/ac-output-old.tap')
-rwxr-xr-xt/ac-output-old.tap2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/ac-output-old.tap b/t/ac-output-old.tap
index 7a4d762e3..f7bcc8f70 100755
--- a/t/ac-output-old.tap
+++ b/t/ac-output-old.tap
@@ -141,7 +141,7 @@ mkdir subdir
command_ok_ "aclocal and AC_OUTPUT ($cur)" $ACLOCAL
command_ok_ "automake and AC_OUTPUT ($cur)" $AUTOMAKE
command_ok_ "foo.in mentioned two times in Makefile.in ($cur)" \
- test `$FGREP foo.in Makefile.in | wc -l` -eq 2
+ test $($FGREP -c 'foo.in' Makefile.in) -eq 2
# This ought to work as well.
command_ok_ "'automake -a -f' and AC_OUTPUT ($cur)" \