Separated a `cat "..."` command out from inside a double-quoted string
authorWayne Davison <wayned@samba.org>
Tue, 21 Jan 2003 19:27:11 +0000 (19:27 +0000)
committerWayne Davison <wayned@samba.org>
Tue, 21 Jan 2003 19:27:11 +0000 (19:27 +0000)
so that we don't run afoul of some shells quoting quirks.  (As Brian
Poole suggested.)

runtests.sh

index d2865ae..bb0b34a 100755 (executable)
@@ -230,7 +230,8 @@ do
        ;;
     77)
        # backticks will fill the whole file onto one line, which is a feature
-       echo "SKIP    $testbase (`cat \"$scratchdir/whyskipped\"`)"
+       whyskipped=`cat "$scratchdir/whyskipped"`
+       echo "SKIP    $testbase ($whyskipped)"
        skipped=`expr $skipped + 1`
        maybe_discard_scratch
        ;;