From 94cf69fe3e24b2b94c363e30664672617196e628 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sat, 28 Oct 2006 12:37:51 +0000 Subject: ls: cleanup part 2. ifdef forest is much less scary now :) --- coreutils/chmod.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'coreutils/chmod.c') 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" */ -- cgit v1.2.3