Add two fundamental tests for copying directories
This commit is contained in:
parent
7ff33f1b42
commit
c6a99b993d
4
testsuite/cp/cp-dir-create-dir
Normal file
4
testsuite/cp/cp-dir-create-dir
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
mkdir bar
|
||||||
|
touch bar/baz
|
||||||
|
busybox cp -R bar foo
|
||||||
|
test -f foo/baz
|
5
testsuite/cp/cp-dir-existing-dir
Normal file
5
testsuite/cp/cp-dir-existing-dir
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
mkdir bar
|
||||||
|
touch bar/baz
|
||||||
|
mkdir foo
|
||||||
|
busybox cp -R bar foo
|
||||||
|
test -f foo/bar/baz
|
Loading…
x
Reference in New Issue
Block a user