diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-06-14 15:50:55 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-06-14 15:50:55 +0000 |
commit | dd316dd283704b9adb588c3fb7cdec6ba5fbceb8 (patch) | |
tree | 7e5a4f524e01190d04bc79a4814c4ff6dce9d40d /shell/hush_test/hush-misc | |
parent | a84420062a1e7a6e149b7d1ca77e1a787e55d45b (diff) | |
download | busybox-w32-dd316dd283704b9adb588c3fb7cdec6ba5fbceb8.tar.gz busybox-w32-dd316dd283704b9adb588c3fb7cdec6ba5fbceb8.tar.bz2 busybox-w32-dd316dd283704b9adb588c3fb7cdec6ba5fbceb8.zip |
hush: add support for ':'; create testsuite entries
text data bss dec hex filename
809569 612 7044 817225 c7849 busybox_old
809528 612 7044 817184 c7820 busybox_unstripped
Diffstat (limited to 'shell/hush_test/hush-misc')
-rw-r--r-- | shell/hush_test/hush-misc/colon.right | 2 | ||||
-rwxr-xr-x | shell/hush_test/hush-misc/colon.tests | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/shell/hush_test/hush-misc/colon.right b/shell/hush_test/hush-misc/colon.right new file mode 100644 index 000000000..2a87d0293 --- /dev/null +++ b/shell/hush_test/hush-misc/colon.right | |||
@@ -0,0 +1,2 @@ | |||
1 | 0 | ||
2 | OK: 0 | ||
diff --git a/shell/hush_test/hush-misc/colon.tests b/shell/hush_test/hush-misc/colon.tests new file mode 100755 index 000000000..ea3b4d5f3 --- /dev/null +++ b/shell/hush_test/hush-misc/colon.tests | |||
@@ -0,0 +1,6 @@ | |||
1 | false | ||
2 | : | ||
3 | echo $? | ||
4 | # Extra ; after done is due to a bug | ||
5 | (while :; do exit; done;) | ||
6 | echo OK: $? | ||