summaryrefslogtreecommitdiff
path: root/tests/cp/parent-perm
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cp/parent-perm')
-rwxr-xr-xtests/cp/parent-perm2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/cp/parent-perm b/tests/cp/parent-perm
index 4912694b9..4a7d98947 100755
--- a/tests/cp/parent-perm
+++ b/tests/cp/parent-perm
@@ -24,6 +24,8 @@ fi
. $srcdir/test-lib.sh
working_umask_or_skip_
+# cp -p gives ENOTSUP on NFS on Linux 2.6.9 at least
+require_local_dir_
mkdir -p a/b/c a/b/d e || framework_failure
touch a/b/c/foo a/b/d/foo || framework_failure