diff options
Diffstat (limited to 'shell')
-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 72e731fe9..c25127d7f 100755 --- a/shell/hush_test/hush-parsing/negate.tests +++ b/shell/hush_test/hush-parsing/negate.tests | |||
@@ -8,9 +8,9 @@ echo $? | |||
8 | if ! false; then ! false; echo $?; fi | 8 | if ! false; then ! false; echo $?; fi |
9 | echo $? | 9 | echo $? |
10 | for a in ! a b c; do echo $a; done | 10 | for a in ! a b c; do echo $a; done |
11 | for a in ! a b c; do ! echo -n "$a "; echo $?; done | 11 | for a in ! a b c; do ! printf "$a "; echo $?; done |
12 | for a in ! a b c; do ! /bin/echo -n "$a "; echo $?; done | 12 | for a in ! a b c; do ! /usr/bin/printf "$a "; echo $?; done |
13 | for a in ! a b c; do ! echo -n "$a " | false; echo $?; done | 13 | for a in ! a b c; do ! printf "$a " | false; echo $?; done |
14 | for a in ! a b c; do ! echo -n "$a " | true; echo $?; done | 14 | for a in ! a b c; do ! printf "$a " | true; echo $?; done |
15 | for a in ! a b c; do ! { echo -n "$a " | false; }; echo $?; done | 15 | for a in ! a b c; do ! { printf "$a " | false; }; echo $?; done |
16 | for a in ! a b c; do ! { echo -n "$a " | true; }; echo $?; done | 16 | for a in ! a b c; do ! { printf "$a " | true; }; echo $?; done |