diff options
author | Martin Pool <mbp@samba.org> | 2002-03-26 01:25:47 +0000 |
---|---|---|
committer | Martin Pool <mbp@samba.org> | 2002-03-26 01:25:47 +0000 |
commit | d1239eae921d013ffeb118b1a768308e28bd9f11 (patch) | |
tree | 8138fb1fe1f918e6c10f13f2b46f45e7e637a794 /runtests.sh | |
parent | 331050969b7edfa86a03da85d94795ed63337638 (diff) | |
download | android_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-x | runtests.sh | 9 |
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 |