source: MondoRescue/branches/2.2.9/mindi-busybox/testsuite/tar/tar-extracts-all-subdirs@ 3320

Last change on this file since 3320 was 3320, checked in by Bruno Cornec, 9 years ago
  • Re-add (thanks git BTW) the 2.2.9 branch which had been destroyed in the move to 3.0
File size: 313 bytes
Line 
1# FEATURE: CONFIG_FEATURE_TAR_CREATE
2mkdir -p foo/{1,2,3}
3mkdir -p foo/1/{10,11}
4mkdir -p foo/1/10/{100,101,102}
5tar cf foo.tar -C foo .
6rm -rf foo/*
7busybox tar xf foo.tar -C foo ./1/10
8find foo | sort >logfile.bb
9rm -rf foo/*
10tar xf foo.tar -C foo ./1/10
11find foo | sort >logfile.gnu
12cmp logfile.gnu logfile.bb
Note: See TracBrowser for help on using the repository browser.