summaryrefslogtreecommitdiff
path: root/testsuite/tar/tar-handles-multiple-X-options
blob: 8321af8599a7d19e8d4dddb111cf299f3fb6133a (plain)
1
2
3
4
5
6
7
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