diff options
-rw-r--r-- | testsuite/cp/cp-dir-create-dir | 4 | ||||
-rw-r--r-- | testsuite/cp/cp-dir-existing-dir | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/cp/cp-dir-create-dir b/testsuite/cp/cp-dir-create-dir new file mode 100644 index 000000000..2c89af67e --- /dev/null +++ b/testsuite/cp/cp-dir-create-dir | |||
@@ -0,0 +1,4 @@ | |||
1 | mkdir bar | ||
2 | touch bar/baz | ||
3 | busybox cp -R bar foo | ||
4 | test -f foo/baz | ||
diff --git a/testsuite/cp/cp-dir-existing-dir b/testsuite/cp/cp-dir-existing-dir new file mode 100644 index 000000000..5ba3f8e33 --- /dev/null +++ b/testsuite/cp/cp-dir-existing-dir | |||
@@ -0,0 +1,5 @@ | |||
1 | mkdir bar | ||
2 | touch bar/baz | ||
3 | mkdir foo | ||
4 | busybox cp -R bar foo | ||
5 | test -f foo/bar/baz | ||