summaryrefslogtreecommitdiff
path: root/t/java-no-duplicate.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/java-no-duplicate.sh')
-rwxr-xr-xt/java-no-duplicate.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/java-no-duplicate.sh b/t/java-no-duplicate.sh
index 416fdb9c7..d7ea5f29f 100755
--- a/t/java-no-duplicate.sh
+++ b/t/java-no-duplicate.sh
@@ -36,10 +36,10 @@ $EGREP -i '\.stamp|\.class|java|classpath' Makefile.in # For debugging.
for var in JAVAC JAVAROOT CLASSPATH_ENV am__java_sources; do
grep "^$var =" Makefile.in
- test `grep -c "^[$sp$tab]*$var[$sp$tab]*=" Makefile.in` = 1
+ test $(grep -c "^[$sp$tab]*$var[$sp$tab]*=" Makefile.in) -eq 1
done
grep '^classjava\.stamp:' Makefile.in
-test `grep -c "class.*java.*\.stamp.*:" Makefile.in` = 1
+test $(grep -c "class.*java.*\.stamp.*:" Makefile.in) -eq 1
: