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

11 lines
251 B
Plaintext
Raw Permalink Normal View History

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