From: Gabriel Filion Date: Fri, 28 Jan 2011 06:14:08 +0000 (-0500) Subject: t/test.sh: Fix a test for 'split' on solaris X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=93b034ca7e50bc0341a7909d0992cf3d5ff12da3;p=packages%2Fb%2Fbup.git t/test.sh: Fix a test for 'split' on solaris 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 --- diff --git a/t/test.sh b/t/test.sh index 4920308..53df63b 100755 --- 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