blob: f5351f4f581eb9a35eb13030a41b00a1be73cafd [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001# 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
12diff -u logfile.gnu logfile.bb