diff options
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/touch/not-owner | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/touch/not-owner b/tests/touch/not-owner index 49af6941b..c32547e66 100755 --- a/tests/touch/not-owner +++ b/tests/touch/not-owner @@ -25,6 +25,11 @@ if test $framework_failure = 1; then (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 |