aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Wainwright <josh.wainwright@ldra.com>2016-04-21 12:01:34 +0100
committerMarc André Tanner <mat@brain-dump.org>2016-04-26 09:28:30 +0200
commitd3200215f783b131ebd07aa76c6adc0516f548db (patch)
tree646605287fcf0c0d60ee3f7e4f97325c50163bac
parentf6ff4e24e5003542e59c0a3e5df7a1af8896006a (diff)
downloadvis-d3200215f783b131ebd07aa76c6adc0516f548db.tar.gz
vis-d3200215f783b131ebd07aa76c6adc0516f548db.tar.xz
test.sh: silently compare files
-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