From c6a99b993d2a97792eb122255ec84cbcae7b55e0 Mon Sep 17 00:00:00 2001 From: Glenn L McGrath Date: Sun, 18 Apr 2004 13:35:56 +0000 Subject: Add two fundamental tests for copying directories --- testsuite/cp/cp-dir-create-dir | 4 ++++ testsuite/cp/cp-dir-existing-dir | 5 +++++ 2 files changed, 9 insertions(+) create mode 100644 testsuite/cp/cp-dir-create-dir create mode 100644 testsuite/cp/cp-dir-existing-dir 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 -- cgit v1.1