From 7d8219327b7d79406869cd2462eaa75e31c26d2c Mon Sep 17 00:00:00 2001 From: Martin Pool Date: Fri, 22 Mar 2002 06:03:46 +0000 Subject: [PATCH] If tests are skipped, explain why. --- runtests.sh | 3 ++- testsuite/rsync.fns | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) 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 } -- 2.34.1