diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-28 12:37:51 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-28 12:37:51 +0000 |
commit | 94cf69fe3e24b2b94c363e30664672617196e628 (patch) | |
tree | 1f5aa6371eb42b7c5d5205e3acb75b11e7d12b11 /coreutils/chmod.c | |
parent | 5c7596058dedb99ab0fbe773cc7ac61a2ffe9fbf (diff) |
ls: cleanup part 2. ifdef forest is much less scary now :)
Diffstat (limited to 'coreutils/chmod.c')
-rw-r--r-- | coreutils/chmod.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/coreutils/chmod.c b/coreutils/chmod.c index b601504f8..4abae2d51 100644 --- a/coreutils/chmod.c +++ b/coreutils/chmod.c @@ -133,7 +133,7 @@ function create() { ln -s ../up dir/up ) } -function test() { +function tst() { (cd test1; $t1 $1) (cd test2; $t2 $1) (cd test1; ls -lR) >out1 @@ -145,13 +145,13 @@ function test() { t1="/tmp/busybox chmod" t2="/usr/bin/chmod" create test1; create test2 -test "a+w file" -test "a-w dir" -test "a+w linkfile" -test "a-w linkdir" -test "-R a+w file" -test "-R a-w dir" -test "-R a+w linkfile" -test "-R a-w linkdir" -test "a-r,a+x linkfile" +tst "a+w file" +tst "a-w dir" +tst "a+w linkfile" +tst "a-w linkdir" +tst "-R a+w file" +tst "-R a-w dir" +tst "-R a+w linkfile" +tst "-R a-w linkdir" +tst "a-r,a+x linkfile" */ |