summaryrefslogtreecommitdiff
path: root/testsuite/cp/cp-a-preserves-links
diff options
context:
space:
mode:
authorEric Andersen2004-04-05 18:46:24 +0000
committerEric Andersen2004-04-05 18:46:24 +0000
commitb2e267f15380ff6c48b0ee5c7cd9dd7f279b38c7 (patch)
treec5060041fff8dfc48b75dd0b3b64b1bd697d309d /testsuite/cp/cp-a-preserves-links
parent18751cd4a2f8fcac059bce9b09daef14e209eea1 (diff)
downloadbusybox-b2e267f15380ff6c48b0ee5c7cd9dd7f279b38c7.zip
busybox-b2e267f15380ff6c48b0ee5c7cd9dd7f279b38c7.tar.gz
Some test additions
Diffstat (limited to 'testsuite/cp/cp-a-preserves-links')
-rw-r--r--testsuite/cp/cp-a-preserves-links5
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/cp/cp-a-preserves-links b/testsuite/cp/cp-a-preserves-links
new file mode 100644
index 0000000..aae8313
--- /dev/null
+++ b/testsuite/cp/cp-a-preserves-links
@@ -0,0 +1,5 @@
+touch foo
+ln -s foo bar
+busybox cp -a bar baz
+test -L baz
+test `readlink baz` = "foo"