diff options
author | Rob Landley <rob@landley.net> | 2019-08-19 11:29:50 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2019-08-19 11:29:50 -0500 |
commit | 4e1f3a4a7038e145b11acbfbd87ecd50111d8dfd (patch) | |
tree | 2f767a4af83ab39d9dbe796da503d95e97f7e053 /tests | |
parent | 81518f643d4d53b035b2cefbce25f06bd3cb5079 (diff) | |
download | toybox-4e1f3a4a7038e145b11acbfbd87ecd50111d8dfd.tar.gz |
Fix bad test.
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/cp.test | 5 |
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 |