]> arthur.barton.de Git - bup.git/commitdiff
t/test.sh: Fix a test for 'split' on solaris
authorGabriel Filion <lelutin@gmail.com>
Fri, 28 Jan 2011 06:14:08 +0000 (01:14 -0500)
committerAvery Pennarun <apenwarr@gmail.com>
Tue, 1 Feb 2011 05:30:41 +0000 (21:30 -0800)
When looking at output from a test run on Solaris, one test in the
'split' suite showed up as OK but was actually showing a diff
invocation error.

The -q argument (for quiet) does not exist on the version of diff that
is installed on Solaris. Since wvtest intercepts output from tested
commands, the -q argument is actually not needed. Remove the argument in
order to make the test execute correctly under all operating systems
that were tested thus far.

Signed-off-by: Gabriel Filion <lelutin@gmail.com>
t/test.sh

index 4920308c805287e1288dafeb3a83888c4ef75443..53df63b0d7700c517412c0ea09ebfd0e1f44f060 100755 (executable)
--- a/t/test.sh
+++ b/t/test.sh
@@ -154,7 +154,7 @@ WVPASS bup ls /lslr
 WVFAIL diff -u tags1.tmp tags2.tmp
 
 # fanout must be different from non-fanout
-WVFAIL diff -q tags2t.tmp tags2tf.tmp
+WVFAIL diff tags2t.tmp tags2tf.tmp
 wc -c t/testfile1 t/testfile2
 wc -l tags1.tmp tags2.tmp