summaryrefslogtreecommitdiff
path: root/i/pc104/initrd/conf/busybox/testsuite/tar/tar-handles-nested-exclude
diff options
context:
space:
mode:
Diffstat (limited to 'i/pc104/initrd/conf/busybox/testsuite/tar/tar-handles-nested-exclude')
-rw-r--r--i/pc104/initrd/conf/busybox/testsuite/tar/tar-handles-nested-exclude9
1 files changed, 9 insertions, 0 deletions
diff --git a/i/pc104/initrd/conf/busybox/testsuite/tar/tar-handles-nested-exclude b/i/pc104/initrd/conf/busybox/testsuite/tar/tar-handles-nested-exclude
new file mode 100644
index 0000000..39013a1
--- /dev/null
+++ b/i/pc104/initrd/conf/busybox/testsuite/tar/tar-handles-nested-exclude
@@ -0,0 +1,9 @@
+# FEATURE: CONFIG_FEATURE_TAR_FROM
+# FEATURE: CONFIG_FEATURE_TAR_CREATE
+mkdir foo
+touch foo/bar
+tar cf foo.tar foo
+rm -rf foo
+echo foo/bar >foobar.exclude
+busybox tar xf foo.tar foo -X foobar.exclude
+test -d foo -a ! -f foo/bar