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

10 lines
228 B
Plaintext
Raw Normal View History

# FEATURE: CONFIG_FEATURE_TAR_FROM
# FEATURE: CONFIG_FEATURE_TAR_CREATE
2001-10-31 04:41:20 +05:30
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