source:
drbl_ui/backup/test_busybox/busybox-1.7.2/testsuite/tar/tar-handles-multiple-X-options
Last change on this file was 20, checked in by chris, 17 years ago | |
---|---|
File size: 251 bytes |
Rev | Line | |
---|---|---|
[20] | 1 | # FEATURE: CONFIG_FEATURE_TAR_FROM |
2 | # FEATURE: CONFIG_FEATURE_TAR_CREATE | |
3 | touch foo | |
4 | touch bar | |
5 | tar cf foo.tar foo bar | |
6 | echo foo > foo.exclude | |
7 | echo bar > bar.exclude | |
8 | rm foo bar | |
9 | busybox tar xf foo.tar -X foo.exclude -X bar.exclude | |
10 | test ! -f foo -a ! -f bar |
Note: See TracBrowser
for help on using the repository browser.