hush/testsuite/tar/tar-handles-multiple-X-options

11 lines
251 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
touch bar
tar cf foo.tar foo bar
echo foo > foo.exclude
echo bar > bar.exclude
rm foo bar
busybox tar xf foo.tar -X foo.exclude -X bar.exclude
test ! -f foo -a ! -f bar