mirror of
https://github.com/topjohnwu/ndk-busybox.git
synced 2024-12-02 16:56:32 +00:00
2969e24e2a
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
13 lines
317 B
Plaintext
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
|