hush/testsuite/tar/tar-extracts-all-subdirs
Denys Vlasenko 2969e24e2a testsuite: fixes after randomconfig run
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2011-08-11 10:40:12 +02:00

13 lines
317 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
diff -u logfile.gnu logfile.bb