summaryrefslogtreecommitdiff
path: root/testsuite/tar/tar-handles-exclude-and-extract-lists
blob: 2de0f0e91f8e335caeef225cba10f4e4fe2b51cd (plain)
1
2
3
4
5
6
7
8
# FEATURE: CONFIG_FEATURE_TAR_FROM
# FEATURE: CONFIG_FEATURE_TAR_CREATE
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