From 0bf3f4c52af69893308770e6711b9d53a9f43406 Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Thu, 16 Feb 2012 12:10:39 +0000 Subject: [PATCH] fix shell tests - no cc or aal --- test/testsh1.sh | 22 ---------------------- test/testsh2.sh | 2 +- 2 files changed, 1 insertion(+), 23 deletions(-) diff --git a/test/testsh1.sh b/test/testsh1.sh index 203e9996a..2ebd1543c 100755 --- a/test/testsh1.sh +++ b/test/testsh1.sh @@ -39,28 +39,6 @@ if cmp -s x1 x2; then : ; else echo Error on cat test 1; fi cat z if cmp -s y z; then : ; else echo Error on cat test 2; fi -#Test aal -cat passwd >p -cp passwd q -if cmp -s p q; then : ; else echo Error on aal test 1; fi -date >r -aal r x.a p q r 2>/dev/null -aal r x.a /bin/cp -aal r x.a /bin/cat -rm p q -mv r R -aal x x.a -if cmp -s p /etc/passwd; then : ; else Error on aal test 2; fi -if cmp -s q /etc/passwd; then : ; else Error on aal test 3; fi -if cmp -s r R; then : ; else Error on aal test 4; fi -if cmp -s cp /bin/cp; then : ; else Error on aal test 5; fi -if cmp -s cat /bin/cat; then : ; else Error on aal test 6; fi -rm cp cat p q r -aal d x.a r >/dev/null -aal x x.a -if test -r r; then echo Error on aal test 7; fi -rm -rf p q r R - #Test basename if test `basename /usr/ast/foo.c .c` != 'foo' then echo Error on basename test 1 diff --git a/test/testsh2.sh b/test/testsh2.sh index fcfd7e3e9..ede8aae2e 100755 --- a/test/testsh2.sh +++ b/test/testsh2.sh @@ -6,7 +6,7 @@ PATH=:/bin:/usr/bin:/usr/pkg/bin export PATH # CC="exec cc -wo -F" # nonstandard flags for ACK :-( -CC=cc +CC=clang ARCH=`arch`