hush/testsuite/tar/tar-handles-exclude-and-extract-lists

9 lines
236 B
Plaintext
Raw Normal View History

# FEATURE: CONFIG_FEATURE_TAR_FROM
# FEATURE: CONFIG_FEATURE_TAR_CREATE
2001-10-30 23:11:20 +00:00
touch foo bar baz
tar cf foo.tar foo bar baz
echo foo >foo.exclude
rm foo bar baz
busybox tar xf foo.tar foo bar -X foo.exclude
test ! -f foo -a -f bar -a ! -f baz