Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Be clear on which part(s) of testsuite's checkit() failed.
[rsync/rsync.git]
/
testsuite
/
chmod-temp-dir.test
diff --git
a/testsuite/chmod-temp-dir.test
b/testsuite/chmod-temp-dir.test
index
0768f18
..
bce544c
100644
(file)
--- a/
testsuite/chmod-temp-dir.test
+++ b/
testsuite/chmod-temp-dir.test
@@
-21,7
+21,11
@@
sdev=`$TOOLDIR/getfsdev $scratchdir`
tdev=`$TOOLDIR/getfsdev $tmpdir2`
if [ x$sdev = x$tdev ]; then
tmpdir2=/var/tmp
tdev=`$TOOLDIR/getfsdev $tmpdir2`
if [ x$sdev = x$tdev ]; then
tmpdir2=/var/tmp
- tdev=`$TOOLDIR/getfsdev $tmpdir2`
+ if [ -d $tmpdir2 ]; then
+ tdev=`$TOOLDIR/getfsdev $tmpdir2`
+ else
+ tdev="$sdev"
+ fi
[ x$sdev = x$tdev ] && test_skipped "Can't find a tmp dir on a different file system"
fi
[ x$sdev = x$tdev ] && test_skipped "Can't find a tmp dir on a different file system"
fi