aboutsummaryrefslogtreecommitdiff
path: root/testsuite/cp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/cp')
-rw-r--r--testsuite/cp/cp-parents5
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/cp/cp-parents b/testsuite/cp/cp-parents
new file mode 100644
index 000000000..a721ceaf2
--- /dev/null
+++ b/testsuite/cp/cp-parents
@@ -0,0 +1,5 @@
+mkdir -p foo/bar/baz
+touch foo/bar/baz/file
+mkdir dir
+busybox cp --parents foo/bar/baz/file dir
+test -f dir/foo/bar/baz/file