If tests are skipped, explain why.
authorMartin Pool <mbp@samba.org>
Fri, 22 Mar 2002 06:03:46 +0000 (06:03 +0000)
committerMartin Pool <mbp@samba.org>
Fri, 22 Mar 2002 06:03:46 +0000 (06:03 +0000)
runtests.sh
testsuite/rsync.fns

index 9f32448..31c4936 100755 (executable)
@@ -220,7 +220,8 @@ do
        maybe_discard_scratch
        ;;
     77)
-       echo "SKIP    $testbase"
+       # backticks will fill the whole file onto one line, which is a feature
+       echo "SKIP    $testbase (`cat \"$scratchdir/whyskipped\"`)"
        skipped=`expr $skipped + 1`
        maybe_discard_scratch
        ;;
index ddeafb1..4682b4f 100644 (file)
@@ -238,6 +238,7 @@ test_fail() {
 
 test_skipped() {
     echo "$@" >&2
+    echo "$@" > "$TMP/whyskipped"
     exit 77
 }