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