Add two fundamental tests for copying directories
authorGlenn L McGrath <bug1@ihug.co.nz>
Sun, 18 Apr 2004 13:35:56 +0000 (13:35 -0000)
committerGlenn L McGrath <bug1@ihug.co.nz>
Sun, 18 Apr 2004 13:35:56 +0000 (13:35 -0000)
testsuite/cp/cp-dir-create-dir [new file with mode: 0644]
testsuite/cp/cp-dir-existing-dir [new file with mode: 0644]

diff --git a/testsuite/cp/cp-dir-create-dir b/testsuite/cp/cp-dir-create-dir
new file mode 100644 (file)
index 0000000..2c89af6
--- /dev/null
@@ -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 (file)
index 0000000..5ba3f8e
--- /dev/null
@@ -0,0 +1,5 @@
+mkdir bar 
+touch bar/baz
+mkdir foo
+busybox cp -R bar foo 
+test -f foo/bar/baz