aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/cp.test5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/cp.test b/tests/cp.test
index af59593a..b665e47e 100755
--- a/tests/cp.test
+++ b/tests/cp.test
@@ -109,11 +109,10 @@ chmod 644 walrus
ln -s walrus woot
testing "symlink dest permissions" "cp woot carpenter && stat -c %A carpenter" \
"-rw-r--r--\n" "" ""
+testing "duplicated --preserve options" \
+ "cp --preserve=mode,mode walrus walrus2 2>&1 || echo bad" "" "" ""
rm -rf walrus woot carpenter
-# duplicated --preserve= options are fine.
-testing "--preserve=mode,mode" "cp --preserve=mode,mode walrus walrus2" "" "" ""
-
# cp -r ../source destdir
# cp -r one/two/three missing
# cp -r one/two/three two