aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lua/test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/test.sh b/lua/test.sh
index c699049..7fc515b 100644
--- a/lua/test.sh
+++ b/lua/test.sh
@@ -23,7 +23,7 @@ for t in $test_files; do
printf "%-30s" "$t"
if [ -e $t.out ]; then
- if cmp $t.ref $t.out 2> /dev/null; then
+ if cmp -s $t.ref $t.out 2> /dev/null; then
printf "PASS\n"
TESTS_OK=$((TESTS_OK + 1))
else