svn commit: [26036] trunk/busybox/shell/hush_test/hush-parsing
vapier at busybox.net
vapier at busybox.net
Thu Apr 9 07:50:02 UTC 2009
Author: vapier
Date: 2009-04-09 07:50:02 +0000 (Thu, 09 Apr 2009)
New Revision: 26036
Log:
we arent testing `echo -n` here so use printf instead
Modified:
trunk/busybox/shell/hush_test/hush-parsing/negate.tests
Changeset:
Modified: trunk/busybox/shell/hush_test/hush-parsing/negate.tests
===================================================================
--- trunk/busybox/shell/hush_test/hush-parsing/negate.tests 2009-04-09 07:49:43 UTC (rev 26035)
+++ trunk/busybox/shell/hush_test/hush-parsing/negate.tests 2009-04-09 07:50:02 UTC (rev 26036)
@@ -8,9 +8,9 @@
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
More information about the busybox-cvs
mailing list