hush/testsuite/tar/tar-handles-multiple-X-options
Glenn L McGrath ce91c8ac2b Isolate code better for unused options, config option to enable long
options, add some conditions to the tar tests in testsuite.
2003-12-26 14:01:37 +00:00

11 lines
251 B
Plaintext

# FEATURE: CONFIG_FEATURE_TAR_FROM
# FEATURE: CONFIG_FEATURE_TAR_CREATE
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