diff options
Diffstat (limited to 'tests/cp.test')
-rwxr-xr-x | tests/cp.test | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/cp.test b/tests/cp.test index 6c798b4b..af59593a 100755 --- a/tests/cp.test +++ b/tests/cp.test @@ -111,6 +111,9 @@ testing "symlink dest permissions" "cp woot carpenter && stat -c %A carpenter" \ "-rw-r--r--\n" "" "" 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 |