aboutsummaryrefslogtreecommitdiff
path: root/testsuite/tar/tar-handles-exclude-and-extract-lists
blob: e715a4771c1630f36ee5f47669d8a63c33d5368a (plain)
1
2
3
4
5
6
7
# FEATURE: CONFIG_FEATURE_TAR_EXCLUDE
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