commit | d67cef2425fb5e75b75d52d9a308da6d29cd7a0d | [log] [tgz] |
---|---|---|
author | Denis Vlasenko <vda.linux@googlemail.com> | Wed Jun 13 06:47:47 2007 +0000 |
committer | Denis Vlasenko <vda.linux@googlemail.com> | Wed Jun 13 06:47:47 2007 +0000 |
tree | 5d034f518dfae9a933a701e8c42da4acbf0cb42d | |
parent | f5f75c5e82d47613847c356664e47c4be69e73aa [diff] [blame] |
hush: fix read builtin to not read ahead past eol and to not use insane amounts of stack. Testsuite updated.
diff --git a/shell/hush_test/hush-misc/read.tests b/shell/hush_test/hush-misc/read.tests new file mode 100755 index 0000000..ff1acbd --- /dev/null +++ b/shell/hush_test/hush-misc/read.tests
@@ -0,0 +1,4 @@ +exec <read.tests +read +cat +echo "REPLY=$REPLY"