aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-04-09 07:50:02 +0000
committerMike Frysinger <vapier@gentoo.org>2009-04-09 07:50:02 +0000
commitc3d91952d66b76dd70d75d5fd3b8722eda1797b2 (patch)
tree513b9ef7fadfa6ccd82e78d3245a7c5f3ae5e076
parent20300d0129e9e551be657be4d603de7f071f5989 (diff)
downloadbusybox-w32-c3d91952d66b76dd70d75d5fd3b8722eda1797b2.tar.gz
busybox-w32-c3d91952d66b76dd70d75d5fd3b8722eda1797b2.tar.bz2
busybox-w32-c3d91952d66b76dd70d75d5fd3b8722eda1797b2.zip
we arent testing `echo -n` here so use printf instead
-rwxr-xr-xshell/hush_test/hush-parsing/negate.tests12
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 72e731fe9..c25127d7f 100755
--- a/shell/hush_test/hush-parsing/negate.tests
+++ b/shell/hush_test/hush-parsing/negate.tests
@@ -8,9 +8,9 @@ echo $?
8if ! false; then ! false; echo $?; fi 8if ! false; then ! false; echo $?; fi
9echo $? 9echo $?
10for a in ! a b c; do echo $a; done 10for a in ! a b c; do echo $a; done
11for a in ! a b c; do ! echo -n "$a "; echo $?; done 11for a in ! a b c; do ! printf "$a "; echo $?; done
12for a in ! a b c; do ! /bin/echo -n "$a "; echo $?; done 12for a in ! a b c; do ! /usr/bin/printf "$a "; echo $?; done
13for a in ! a b c; do ! echo -n "$a " | false; echo $?; done 13for a in ! a b c; do ! printf "$a " | false; echo $?; done
14for a in ! a b c; do ! echo -n "$a " | true; echo $?; done 14for a in ! a b c; do ! printf "$a " | true; echo $?; done
15for a in ! a b c; do ! { echo -n "$a " | false; }; echo $?; done 15for a in ! a b c; do ! { printf "$a " | false; }; echo $?; done
16for a in ! a b c; do ! { echo -n "$a " | true; }; echo $?; done 16for a in ! a b c; do ! { printf "$a " | true; }; echo $?; done