summaryrefslogtreecommitdiff
path: root/testsuite/tar/tar-handles-exclude-and-extract-lists
blob: 7f771b9785ffc0eda78835e0cc09bd11db3e1445 (plain)
1
2
3
4
5
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