mirror of
https://github.com/sheumann/hush.git
synced 2024-12-23 05:29:58 +00:00
13 lines
313 B
Plaintext
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
|