summaryrefslogtreecommitdiff
path: root/testsuite/tar/tar-handles-nested-exclude
blob: 2bfc7dd533f2c2640a47c5cff8d71f6342b98324 (plain)
1
2
3
4
5
6
7
8
# UNSUPPORTED: 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