summaryrefslogtreecommitdiff
path: root/testsuite/tar/tar-handles-nested-exclude
blob: ad39506c8f6e1dde5273a4ac6fd853e9feb84f69 (plain)
1
2
3
4
5
6
7
8
# FEATURE: CONFIG_FEATURE_TAR_EXCLUDE
mkdir foo
touch foo/bar
tar cf foo.tar foo
rm -rf foo
echo foo/bar >foobar.exclude
busybox tar xf foo.tar foo -X foobar.exclude
test -d foo -a ! -f foo/bar