hush/testsuite/tar/tar-extracts-all-subdirs
Denis Vlasenko 06ab5fb6b9 tar: tar xf foo.tar dir/dir did not extract all subdirs.
Added testsuite entry for this
2006-09-02 18:40:10 +00:00

13 lines
313 B
Plaintext

# FEATURE: CONFIG_FEATURE_TAR_CREATE
mkdir -p foo/{1,2,3}
mkdir -p foo/1/{10,11}
mkdir -p foo/1/10/{100,101,102}
tar cf foo.tar -C foo .
rm -rf foo/*
busybox tar xf foo.tar -C foo ./1/10
find foo | sort >logfile.bb
rm -rf foo/*
tar xf foo.tar -C foo ./1/10
find foo | sort >logfile.gnu
cmp logfile.gnu logfile.bb