. $srcdir/../lang-default
PRIV_CHECK_ARG=require-non-root . $srcdir/../priv-check
+test=../../src/test
+if $test -w /; then
+ echo Skipping because you have write access to /.
+ (exit 77); exit 77
+fi
+
+if $test -O / || $test -G /; then
+ echo Skipping because you own /.
+ (exit 77); exit 77
+fi
+
pwd=`pwd`
t0=`echo "$0"|sed 's,.*/,,'`.tmp; tmp=$t0/$$
trap 'status=$?; cd $pwd; chmod -R u+rwx $t0; rm -rf $t0 && exit $status' 0
(exit 1); exit 1
fi
-if test -w /; then
- echo Skipping because you have write access to /.
- (exit 77); exit 77
-fi
-
fail=0
# Before fileutils-4.1, we'd get the following misleading