From c3d91952d66b76dd70d75d5fd3b8722eda1797b2 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 9 Apr 2009 07:50:02 +0000 Subject: we arent testing `echo -n` here so use printf instead --- shell/hush_test/hush-parsing/negate.tests | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'shell/hush_test') diff --git a/shell/hush_test/hush-parsing/negate.tests b/shell/hush_test/hush-parsing/negate.tests index 72e731fe9..c25127d7f 100755 --- a/shell/hush_test/hush-parsing/negate.tests +++ b/shell/hush_test/hush-parsing/negate.tests @@ -8,9 +8,9 @@ echo $? if ! false; then ! false; echo $?; fi echo $? for a in ! a b c; do echo $a; done -for a in ! a b c; do ! echo -n "$a "; echo $?; done -for a in ! a b c; do ! /bin/echo -n "$a "; echo $?; done -for a in ! a b c; do ! echo -n "$a " | false; echo $?; done -for a in ! a b c; do ! echo -n "$a " | true; echo $?; done -for a in ! a b c; do ! { echo -n "$a " | false; }; echo $?; done -for a in ! a b c; do ! { echo -n "$a " | true; }; echo $?; done +for a in ! a b c; do ! printf "$a "; echo $?; done +for a in ! a b c; do ! /usr/bin/printf "$a "; echo $?; done +for a in ! a b c; do ! printf "$a " | false; echo $?; done +for a in ! a b c; do ! printf "$a " | true; echo $?; done +for a in ! a b c; do ! { printf "$a " | false; }; echo $?; done +for a in ! a b c; do ! { printf "$a " | true; }; echo $?; done -- cgit v1.2.3