aboutsummaryrefslogtreecommitdiff
path: root/shell/ash_test/printenv.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* shell: improve bash compatibility of read built-inRon Yorston2025-07-011-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | Make the read built-in more compatible with bash: - Return an exit code of 142 on timeout. - When the timeout expires before a newline is detected in the input bash captures the partial input. This behaviour is new since bash version 4.4. BusyBox shells had the pre-4.4 behaviour where the input was lost. Update the tests to suit and fix a couple of compiler errors in the testsuite. function old new delta builtin_read 154 174 +20 readcmd 213 228 +15 shell_builtin_read 1364 1370 +6 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/0 up/down: 41/0) Total: 41 bytes Signed-off-by: Ron Yorston <rmy@pobox.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* do not use `a' quoting style in commentsDenys Vlasenko2017-08-021-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash_test: printenv: fix missing includesMike Frysinger2016-03-221-0/+1
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* - use EXIT_{SUCCESS,FAILURE}. No object-code changesBernhard Reutner-Fischer2008-05-191-3/+3
|
* clean up accumulated whitespace damageDenis Vlasenko2007-03-071-1/+1
|
* small ash testsuite, adapted from bashDenis Vlasenko2007-03-051-0/+67
(only a small part of it, actually)