aboutsummaryrefslogtreecommitdiffstats
path: root/runtests.sh
diff options
context:
space:
mode:
authorMartin Pool <mbp@samba.org>2002-03-26 01:25:47 +0000
committerMartin Pool <mbp@samba.org>2002-03-26 01:25:47 +0000
commitd1239eae921d013ffeb118b1a768308e28bd9f11 (patch)
tree8138fb1fe1f918e6c10f13f2b46f45e7e637a794 /runtests.sh
parent331050969b7edfa86a03da85d94795ed63337638 (diff)
downloadandroid_external_rsync-d1239eae921d013ffeb118b1a768308e28bd9f11.tar.gz
android_external_rsync-d1239eae921d013ffeb118b1a768308e28bd9f11.tar.bz2
android_external_rsync-d1239eae921d013ffeb118b1a768308e28bd9f11.zip
Jos points out that test -L is still broken on Solaris. Now we try up
front to detect a command that will work properly, and use that consistently. Also, in test report, show setting of $preserve_scratch. Reset version.
Diffstat (limited to 'runtests.sh')
-rwxr-xr-xruntests.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/runtests.sh b/runtests.sh
index 31c49369..d2865ae3 100755
--- a/runtests.sh
+++ b/runtests.sh
@@ -147,6 +147,15 @@ testuser=`whoami || echo UNKNOWN`
echo " testuser=$testuser"
echo " os=`uname -a`"
+# It must be "yes", not just nonnull
+if test "x$preserve_scratch" = xyes
+then
+ echo " preserve_scratch=yes"
+else
+ echo " preserve_scratch=no"
+fi
+
+
if test ! -f $rsync_bin
then
echo "rsync_bin $rsync_bin is not a file" >&2