diff options
author | Glenn L McGrath | 2004-04-18 13:35:56 +0000 |
---|---|---|
committer | Glenn L McGrath | 2004-04-18 13:35:56 +0000 |
commit | c6a99b993d2a97792eb122255ec84cbcae7b55e0 (patch) | |
tree | 1e4b6dd93de4a88747d0362f282ba73741ce9c1b /testsuite/cp | |
parent | 7ff33f1b42a913e4e02788dfa15f36ba853a3b51 (diff) | |
download | busybox-c6a99b993d2a97792eb122255ec84cbcae7b55e0.zip busybox-c6a99b993d2a97792eb122255ec84cbcae7b55e0.tar.gz |
Add two fundamental tests for copying directories
Diffstat (limited to 'testsuite/cp')
-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 0000000..2c89af6 --- /dev/null +++ b/testsuite/cp/cp-dir-create-dir @@ -0,0 +1,4 @@ +mkdir bar +touch bar/baz +busybox cp -R bar foo +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 0000000..5ba3f8e --- /dev/null +++ b/testsuite/cp/cp-dir-existing-dir @@ -0,0 +1,5 @@ +mkdir bar +touch bar/baz +mkdir foo +busybox cp -R bar foo +test -f foo/bar/baz |