From: Mike Frysinger Date: Thu, 9 Apr 2009 07:50:02 +0000 (-0000) Subject: we arent testing `echo -n` here so use printf instead X-Git-Tag: 1_14_0~51 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c3d91952d66b76dd70d75d5fd3b8722eda1797b2;p=oweals%2Fbusybox.git we arent testing `echo -n` here so use printf instead --- 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