diff options
Diffstat (limited to 'tests/cp.test')
-rwxr-xr-x | tests/cp.test | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/cp.test b/tests/cp.test index 293f0348..3fcea3be 100755 --- a/tests/cp.test +++ b/tests/cp.test @@ -131,6 +131,11 @@ testing "-P symlink" "cp -P lnk ldst && stat -c %F ldst" "symbolic link\n" "" "" testing "follow symlink" "cp lnk ldst2 && stat -c %F ldst2" "regular file\n" "" "" rm file fdst lnk ldst ldst2 +mkdir sub +testing "-t one arg" 'cp -t sub/ input && cat sub/input' 'yes\n' 'yes\n' '' +toyonly testing "-Dt" 'cp -Dt sub2 input && cat sub2/input' 'and\n' 'and\n' '' +rm -rf sub sub2 + # cp -r ../source destdir # cp -r one/two/three missing # cp -r one/two/three two |