mirror of
https://github.com/topjohnwu/ndk-busybox.git
synced 2024-12-13 23:08:53 +00:00
7aca89a7a3
function old new delta static.uname_longopts - 137 +137 touch_main 231 360 +129 static.touch_longopts - 32 +32 validate_tm_time - 28 +28 packed_usage 26616 26624 +8 date_main 687 686 -1 static.longopts 162 - -162 ------------------------------------------------------------------------------ (add/remove: 3/1 grow/shrink: 2/1 up/down: 334/-163) Total: 171 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
16 lines
405 B
Plaintext
16 lines
405 B
Plaintext
echo file number one > file1
|
|
echo file number two > file2
|
|
ln -s file2 link1
|
|
mkdir dir1
|
|
# why???
|
|
#TZ=UTC0 touch -d '2000-01-30 05:24:08' dir1/file3
|
|
mkdir there
|
|
busybox cp -a file1 file2 link1 dir1 there
|
|
test -f there/file1
|
|
test -f there/file2
|
|
test ! -s there/dir1/file3
|
|
test -L there/link1
|
|
test xfile2 = x`readlink there/link1`
|
|
test ! dir1/file3 -ot there/dir1/file3
|
|
test ! dir1/file3 -nt there/dir1/file3
|