summaryrefslogtreecommitdiff
path: root/testsuite/tar/tar-handles-exclude-and-extract-lists
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tar/tar-handles-exclude-and-extract-lists')
-rw-r--r--testsuite/tar/tar-handles-exclude-and-extract-lists6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tar/tar-handles-exclude-and-extract-lists b/testsuite/tar/tar-handles-exclude-and-extract-lists
new file mode 100644
index 0000000..7f771b9
--- /dev/null
+++ b/testsuite/tar/tar-handles-exclude-and-extract-lists
@@ -0,0 +1,6 @@
+touch foo bar baz
+tar cf foo.tar foo bar baz
+echo foo >foo.exclude
+rm foo bar baz
+busybox tar xf foo.tar foo bar -X foo.exclude
+test ! -f foo -a -f bar -a ! -f baz