summaryrefslogtreecommitdiffhomepage
path: root/testsuite/tar/tar-handles-multiple-X-options
blob: 155b27e6827ec3727f7cc55cd4698ca865cf9fbc (plain)
1
2
3
4
5
6
7
8
9
10
# FEATURE: CONFIG_FEATURE_TAR_FROM
# FEATURE: CONFIG_FEATURE_TAR_CREATE
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