summaryrefslogtreecommitdiff
path: root/tests/cp/parent-perm-race
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cp/parent-perm-race')
-rwxr-xr-xtests/cp/parent-perm-race3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/cp/parent-perm-race b/tests/cp/parent-perm-race
index 546123836..e595d9ea8 100755
--- a/tests/cp/parent-perm-race
+++ b/tests/cp/parent-perm-race
@@ -23,6 +23,9 @@ fi
. $srcdir/test-lib.sh
+# cp -p gives ENOTSUP on NFS on Linux 2.6.9 at least
+require_local_dir_
+
umask 002
mkdir mode ownership d || framework_failure
chmod g+s d 2>/dev/null # The cp test is valid either way.