summaryrefslogtreecommitdiff
path: root/testsuite/tar/tar-handles-nested-exclude
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tar/tar-handles-nested-exclude')
-rw-r--r--testsuite/tar/tar-handles-nested-exclude7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tar/tar-handles-nested-exclude b/testsuite/tar/tar-handles-nested-exclude
new file mode 100644
index 0000000..da18408
--- /dev/null
+++ b/testsuite/tar/tar-handles-nested-exclude
@@ -0,0 +1,7 @@
+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