diff options
| author | Josh Wainwright <josh.wainwright@ldra.com> | 2016-04-21 12:01:34 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2016-04-26 09:28:30 +0200 |
| commit | d3200215f783b131ebd07aa76c6adc0516f548db (patch) | |
| tree | 646605287fcf0c0d60ee3f7e4f97325c50163bac | |
| parent | f6ff4e24e5003542e59c0a3e5df7a1af8896006a (diff) | |
| download | vis-d3200215f783b131ebd07aa76c6adc0516f548db.tar.gz vis-d3200215f783b131ebd07aa76c6adc0516f548db.tar.xz | |
test.sh: silently compare files
| -rw-r--r-- | lua/test.sh | 2 |
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 |
