1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
|
++ mktemp -d
+ TESTDIR=/tmp/XXXX
++ readlink -f tests/013_test_chmod.c
+ TESTCODE=/home/dancer/DEBIAN/cowdancer/cowdancer/tests/013_test_chmod.c
++ readlink -f tests/run_c.sh
+ RUNC=/home/dancer/DEBIAN/cowdancer/cowdancer/tests/run_c.sh
+ cd /tmp/XXXX
+ mkdir 1/
+ touch 1/a 1/b 1/c 1/d
+ dd if=/dev/zero of=1/e bs=512 count=2
2+0 レコード入力
2+0 レコード出力
1024 バイト (1.0 kB) コピーされました、 3.5999e-05 秒、 28.4 MB/秒
+ chmod 600 1/a 1/b 1/c 1/d
+ ls -li 1/
+ sleep 1s
+ cp -al 1/ 2
+ echo ' 2/ before'
2/ before
+ ls -li 2/
合計 4
4179381 -rw------- 2 dancer dancer 0 4月 6 18:48 a
4179382 -rw------- 2 dancer dancer 0 4月 6 18:48 b
4179383 -rw------- 2 dancer dancer 0 4月 6 18:48 c
4179384 -rw------- 2 dancer dancer 0 4月 6 18:48 d
4179385 -rw-r--r-- 2 dancer dancer 1024 4月 6 18:48 e
+ cow-shell /home/dancer/DEBIAN/cowdancer/cowdancer/tests/run_c.sh /home/dancer/DEBIAN/cowdancer/cowdancer/tests/013_test_chmod.c 2/a 2/b
+ echo ' 2/ after'
2/ after
+ ls -li 2/
合計 4
4179367 -r-------- 1 dancer dancer 0 4月 6 18:48 a
4179382 -rw------- 2 dancer dancer 0 4月 6 18:48 b
4179383 -rw------- 2 dancer dancer 0 4月 6 18:48 c
4179384 -rw------- 2 dancer dancer 0 4月 6 18:48 d
4179385 -rw-r--r-- 2 dancer dancer 1024 4月 6 18:48 e
+ rm -rf 2/
+ ls -li 1/
+ echo ' 1/ differences; should not exist'
1/ differences; should not exist
+ diff -u ls.prev ls.after
+ rm -rf /tmp/XXXX
cow-shell unlink .ilist: No such file or directory
|