summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorMike Frysinger2009-04-09 07:50:02 +0000
committerMike Frysinger2009-04-09 07:50:02 +0000
commitc3d91952d66b76dd70d75d5fd3b8722eda1797b2 (patch)
tree513b9ef7fadfa6ccd82e78d3245a7c5f3ae5e076 /shell
parent20300d0129e9e551be657be4d603de7f071f5989 (diff)
downloadbusybox-c3d91952d66b76dd70d75d5fd3b8722eda1797b2.zip
busybox-c3d91952d66b76dd70d75d5fd3b8722eda1797b2.tar.gz
we arent testing `echo -n` here so use printf instead
Diffstat (limited to 'shell')
-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 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