summaryrefslogtreecommitdiff
path: root/t/cond15.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/cond15.sh')
-rwxr-xr-xt/cond15.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/cond15.sh b/t/cond15.sh
index 68f70fd47..8ee799b2f 100755
--- a/t/cond15.sh
+++ b/t/cond15.sh
@@ -53,8 +53,8 @@ $ACLOCAL
$AUTOMAKE
$FGREP helldl Makefile.in # For debugging.
-num1=`$FGREP 'helldl$(EXEEXT):' Makefile.in | wc -l`
-num2=`$FGREP '@COND1_FALSE@@COND2_TRUE@helldl$(EXEEXT):' Makefile.in | wc -l`
+num1=$($FGREP -c 'helldl$(EXEEXT):' Makefile.in)
+num2=$($FGREP -c '@COND1_FALSE@@COND2_TRUE@helldl$(EXEEXT):' Makefile.in)
test $num1 -eq 4
test $num2 -eq 1