Commit 8a21be11 authored by Wayne Davison's avatar Wayne Davison

Fix the chmod-temp-dir test if /var/tmp doesn't exist.

Fixes bug 6569.
parent ce827c3e
...@@ -21,7 +21,11 @@ sdev=`$TOOLDIR/getfsdev $scratchdir` ...@@ -21,7 +21,11 @@ sdev=`$TOOLDIR/getfsdev $scratchdir`
tdev=`$TOOLDIR/getfsdev $tmpdir2` tdev=`$TOOLDIR/getfsdev $tmpdir2`
if [ x$sdev = x$tdev ]; then if [ x$sdev = x$tdev ]; then
tmpdir2=/var/tmp 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" [ x$sdev = x$tdev ] && test_skipped "Can't find a tmp dir on a different file system"
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment