aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Pool <mbp@samba.org>2002-03-22 06:03:46 +0000
committerMartin Pool <mbp@samba.org>2002-03-22 06:03:46 +0000
commit7d8219327b7d79406869cd2462eaa75e31c26d2c (patch)
tree00a1f60b9f2d575e61e7f766e67adf195e6df463
parent4ac4bdbb3854ffc307a202dd6e4856955357c6e6 (diff)
downloadandroid_external_rsync-7d8219327b7d79406869cd2462eaa75e31c26d2c.tar.gz
android_external_rsync-7d8219327b7d79406869cd2462eaa75e31c26d2c.tar.bz2
android_external_rsync-7d8219327b7d79406869cd2462eaa75e31c26d2c.zip
If tests are skipped, explain why.
-rwxr-xr-xruntests.sh3
-rw-r--r--testsuite/rsync.fns1
2 files changed, 3 insertions, 1 deletions
diff --git a/runtests.sh b/runtests.sh
index 9f324486..31c49369 100755
--- a/runtests.sh
+++ b/runtests.sh
@@ -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
;;
diff --git a/testsuite/rsync.fns b/testsuite/rsync.fns
index ddeafb17..4682b4fb 100644
--- a/testsuite/rsync.fns
+++ b/testsuite/rsync.fns
@@ -238,6 +238,7 @@ test_fail() {
test_skipped() {
echo "$@" >&2
+ echo "$@" > "$TMP/whyskipped"
exit 77
}