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