busybox/testsuite/tar/tar-handles-nested-exclude

9 lines
198 B
Plaintext

# 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