From d3200215f783b131ebd07aa76c6adc0516f548db Mon Sep 17 00:00:00 2001 From: Josh Wainwright Date: Thu, 21 Apr 2016 12:01:34 +0100 Subject: test.sh: silently compare files --- lua/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua') 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 -- cgit v1.2.3