diff options
author | Mike Frysinger | 2009-04-09 07:50:02 +0000 |
---|---|---|
committer | Mike Frysinger | 2009-04-09 07:50:02 +0000 |
commit | c3d91952d66b76dd70d75d5fd3b8722eda1797b2 (patch) | |
tree | 513b9ef7fadfa6ccd82e78d3245a7c5f3ae5e076 /shell/hush_test | |
parent | 20300d0129e9e551be657be4d603de7f071f5989 (diff) | |
download | busybox-c3d91952d66b76dd70d75d5fd3b8722eda1797b2.zip busybox-c3d91952d66b76dd70d75d5fd3b8722eda1797b2.tar.gz |
we arent testing `echo -n` here so use printf instead
Diffstat (limited to 'shell/hush_test')
-rwxr-xr-x | shell/hush_test/hush-parsing/negate.tests | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/shell/hush_test/hush-parsing/negate.tests b/shell/hush_test/hush-parsing/negate.tests index 72e731f..c25127d 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 |