summaryrefslogtreecommitdiff
path: root/tests/cp/preserve-2
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cp/preserve-2')
-rwxr-xr-xtests/cp/preserve-24
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/cp/preserve-2 b/tests/cp/preserve-2
index f65b4200f..9863952c2 100755
--- a/tests/cp/preserve-2
+++ b/tests/cp/preserve-2
@@ -23,8 +23,10 @@ fi
. $srcdir/test-lib.sh
-touch f || framework_failure
+# cp -p gives ENOTSUP on NFS on Linux 2.6.9 at least
+require_local_dir_
+touch f || framework_failure
cp --preserve=mode,links f g || fail=1