source:
MondoRescue/branches/2.2.5/mindi-busybox/testsuite/tar/tar-extracts-all-subdirs@
3799
Last change on this file since 3799 was 1765, checked in by , 17 years ago | |
---|---|
File size: 313 bytes |
Line | |
---|---|
1 | # FEATURE: CONFIG_FEATURE_TAR_CREATE |
2 | mkdir -p foo/{1,2,3} |
3 | mkdir -p foo/1/{10,11} |
4 | mkdir -p foo/1/10/{100,101,102} |
5 | tar cf foo.tar -C foo . |
6 | rm -rf foo/* |
7 | busybox tar xf foo.tar -C foo ./1/10 |
8 | find foo | sort >logfile.bb |
9 | rm -rf foo/* |
10 | tar xf foo.tar -C foo ./1/10 |
11 | find foo | sort >logfile.gnu |
12 | cmp logfile.gnu logfile.bb |
Note:
See TracBrowser
for help on using the repository browser.