Denys Vlasenko 6824298ab4 hush: fix ELIF cmd1;cmd2 THEN ... not executing cmd2, closes 15571 il y a 1 an
..
and-or.right 715f712d15 move hush-parsing/and-or.tests to hush-misc/* il y a 15 ans
and-or.tests 715f712d15 move hush-parsing/and-or.tests to hush-misc/* il y a 15 ans
assignment1.right 2b576b8e76 hush: fix mishandling of a'b'c=fff as assignments. They are not. il y a 16 ans
assignment1.tests 2b576b8e76 hush: fix mishandling of a'b'c=fff as assignments. They are not. il y a 16 ans
assignment2.right 9793fc576a hush testsuite: fix another false positive il y a 8 ans
assignment2.tests 9793fc576a hush testsuite: fix another false positive il y a 8 ans
assignment3.right 7b4c0fd5f4 hush: fix improper handling of newline and hash chars in few corner cases il y a 14 ans
assignment3.tests 7b4c0fd5f4 hush: fix improper handling of newline and hash chars in few corner cases il y a 14 ans
assignment4.right 29f9b7268a hush: fix misparsing of "... do eval a= ...". Closes 3721 il y a 13 ans
assignment4.tests 29f9b7268a hush: fix misparsing of "... do eval a= ...". Closes 3721 il y a 13 ans
assignment5.right 5fa0505f8a hush: fix "set -e; false || x=1; echo OK" il y a 6 ans
assignment5.tests 5fa0505f8a hush: fix "set -e; false || x=1; echo OK" il y a 6 ans
break1.right 6a2d40f239 hush: support "break N" and "continue N" il y a 16 ans
break1.tests ba2dcccd79 *: trailing empty lines removed il y a 14 ans
break2.right 6a2d40f239 hush: support "break N" and "continue N" il y a 16 ans
break2.tests 6a2d40f239 hush: support "break N" and "continue N" il y a 16 ans
break3.right 6a2d40f239 hush: support "break N" and "continue N" il y a 16 ans
break3.tests 6a2d40f239 hush: support "break N" and "continue N" il y a 16 ans
break4.right 918a34b9e0 hush: fix "while false; ..." exitcode; add testsuites il y a 16 ans
break4.tests 918a34b9e0 hush: fix "while false; ..." exitcode; add testsuites il y a 16 ans
break5.right fcf37c3183 hush: fix break'ing out of {} and () groups; with testcase il y a 16 ans
break5.tests fcf37c3183 hush: fix break'ing out of {} and () groups; with testcase il y a 16 ans
builtin1.right dadfb4975b hush: add #defines to switch off break/continue if loops are not supported il y a 16 ans
builtin1.tests dadfb4975b hush: add #defines to switch off break/continue if loops are not supported il y a 16 ans
case1.right e9bda90e54 hush: fix problems with case in subshells and with "case esac" il y a 15 ans
case1.tests e9bda90e54 hush: fix problems with case in subshells and with "case esac" il y a 15 ans
colon.right dd316dd283 hush: add support for ':'; create testsuite entries il y a 16 ans
colon.tests f8d01d3f66 hush: fix a bug where we were requiring semicolon here: (cmd;) il y a 16 ans
command2.right 6606c519ef hush: add command2.tests from ash tests il y a 6 ans
command2.tests 6606c519ef hush: add command2.tests from ash tests il y a 6 ans
compound.right 342a63d659 hush_test: add some pathological compound list tests il y a 15 ans
compound.tests 4f26c97b9a make compound.tests executable il y a 15 ans
continue1.right 4554b721ad hush: small fix for repeated continue and fix for wrong loop depth count il y a 16 ans
continue1.tests 4554b721ad hush: small fix for repeated continue and fix for wrong loop depth count il y a 16 ans
continue2.right cd418a2670 hush: fix a bunch of obscure while/until/continue bugs il y a 15 ans
continue2.tests 4ed67dd3d5 make hush-misc/*.tests executable il y a 15 ans
continue3.right cd418a2670 hush: fix a bunch of obscure while/until/continue bugs il y a 15 ans
continue3.tests 4ed67dd3d5 make hush-misc/*.tests executable il y a 15 ans
control_char1.right 9809a82b59 hush: fix raw ^C handlisg in single-quoted strings il y a 6 ans
control_char1.tests 9809a82b59 hush: fix raw ^C handlisg in single-quoted strings il y a 6 ans
control_char2.right 1f1911239c hush: fix handling of ^C in eval il y a 6 ans
control_char2.tests 1f1911239c hush: fix handling of ^C in eval il y a 6 ans
control_char3.right 1b7a9b68d0 hush: fix handling of \^C and "^C" il y a 3 ans
control_char3.tests 1b7a9b68d0 hush: fix handling of \^C and "^C" il y a 3 ans
control_char4.right 1b7a9b68d0 hush: fix handling of \^C and "^C" il y a 3 ans
control_char4.tests 1b7a9b68d0 hush: fix handling of \^C and "^C" il y a 3 ans
echo_write_error.right 8ee2adab21 echo: do not retry on write errors il y a 13 ans
echo_write_error.tests 8ee2adab21 echo: do not retry on write errors il y a 13 ans
elif1.right 6824298ab4 hush: fix ELIF cmd1;cmd2 THEN ... not executing cmd2, closes 15571 il y a 1 an
elif1.tests 6824298ab4 hush: fix ELIF cmd1;cmd2 THEN ... not executing cmd2, closes 15571 il y a 1 an
elif2.right 6824298ab4 hush: fix ELIF cmd1;cmd2 THEN ... not executing cmd2, closes 15571 il y a 1 an
elif2.tests 6824298ab4 hush: fix ELIF cmd1;cmd2 THEN ... not executing cmd2, closes 15571 il y a 1 an
empty_args.right f37eb3999b hush: fix handling of empty arguments il y a 15 ans
empty_args.tests f37eb3999b hush: fix handling of empty arguments il y a 15 ans
empty_for.right 6eaf8deddd hush: fix "for a in; do echo 'I should never run'; done" bug il y a 16 ans
empty_for.tests 6eaf8deddd hush: fix "for a in; do echo 'I should never run'; done" bug il y a 16 ans
empty_for1.right a5db1d7354 hush: fix another case where empty "for" wasn't setting exitcode to 0 il y a 6 ans
empty_for1.tests a5db1d7354 hush: fix another case where empty "for" wasn't setting exitcode to 0 il y a 6 ans
empty_for2.right ff182a3d68 hush: support "for v; do ... done" syntax (implied 'in "$@"') il y a 16 ans
empty_for2.tests ff182a3d68 hush: support "for v; do ... done" syntax (implied 'in "$@"') il y a 16 ans
env_and_func.right cb6ff25afe hush: fix bug where in "var=val func" var's value is not visible in func il y a 15 ans
env_and_func.tests 9abf53beb4 ash: eval: Variable assignments on functions are no longer persistent il y a 6 ans
errexit1.right 9fda609a60 hush: add support for "set -e" il y a 7 ans
errexit1.tests 9fda609a60 hush: add support for "set -e" il y a 7 ans
eval1.right 928e2a7ef4 ash: [EVAL] Make eval with empty arguments return 0 il y a 8 ans
eval1.tests 928e2a7ef4 ash: [EVAL] Make eval with empty arguments return 0 il y a 8 ans
eval2.right 78c9c736ab hush: fix 'eval ""' handling il y a 8 ans
eval2.tests 78c9c736ab hush: fix 'eval ""' handling il y a 8 ans
exec.right 3c7167b508 add tests for basic fd open/close/dupe il y a 15 ans
exec.tests 6c9be7f451 hush: heredoc support, based on patch by Mike Frysinger (vapier AT gentoo.org) il y a 15 ans
exit1.right efea9d2819 hush: fix EXIT trap recursion case; check redirection failures il y a 15 ans
exit1.tests efea9d2819 hush: fix EXIT trap recursion case; check redirection failures il y a 15 ans
exitcode1.right eb17b6f6c9 ash: eval: Return status in eval functions il y a 8 ans
exitcode1.tests eb17b6f6c9 ash: eval: Return status in eval functions il y a 8 ans
exitcode2.right ea7d2f6ec0 ash: fix error code regression il y a 7 ans
exitcode2.tests ea7d2f6ec0 ash: fix error code regression il y a 7 ans
exitcode_EACCES.right c775f829db sh testsuite: add tests for exitcode on failure to exec il y a 8 ans
exitcode_EACCES.tests c775f829db sh testsuite: add tests for exitcode on failure to exec il y a 8 ans
exitcode_ENOENT.right c775f829db sh testsuite: add tests for exitcode on failure to exec il y a 8 ans
exitcode_ENOENT.tests c775f829db sh testsuite: add tests for exitcode on failure to exec il y a 8 ans
exitcode_trap2.right c91950f315 ash,hush: testcase for "exit" without arguments in a trap il y a 4 ans
exitcode_trap2.tests 9aa751b08a shells: fix exitcode_trapN tests to avoid races il y a 4 ans
exitcode_trap3.right bb095f4838 hush: implement "return NUM in trap sets $? after trap" il y a 4 ans
exitcode_trap3.tests bb095f4838 hush: implement "return NUM in trap sets $? after trap" il y a 4 ans
exitcode_trap4.right bb095f4838 hush: implement "return NUM in trap sets $? after trap" il y a 4 ans
exitcode_trap4.tests bb095f4838 hush: implement "return NUM in trap sets $? after trap" il y a 4 ans
exitcode_trap5.right bb095f4838 hush: implement "return NUM in trap sets $? after trap" il y a 4 ans
exitcode_trap5.tests bb095f4838 hush: implement "return NUM in trap sets $? after trap" il y a 4 ans
exitcode_trap6.right 3ced804e31 hush: make "exit" in trap use pre-trap exitcode - fix for nested trap il y a 4 ans
exitcode_trap6.tests 9aa751b08a shells: fix exitcode_trapN tests to avoid races il y a 4 ans
exitcode_trap7.right e53c7dbafc hush: fix set -n to act immediately, not just after run_list() il y a 3 ans
exitcode_trap7.tests e53c7dbafc hush: fix set -n to act immediately, not just after run_list() il y a 3 ans
export-n.right 90b607d79a hush: quote variable values printed by "set" (match ash behavior) il y a 1 an
export-n.tests ad4bd0548a hush: export -n support il y a 15 ans
export.right bf25fbccb9 hush: fix handling of } which is not a closing one in { cmd; } il y a 15 ans
export.tests 0b677d8337 hush: fix some TODOs. TODO in export builting: +250 bytes. il y a 15 ans
export1.right 63d765e666 shells: add tests for backslashes in export VAR=VAL il y a 5 ans
export1.tests 63d765e666 shells: add tests for backslashes in export VAR=VAL il y a 5 ans
for.right 112889d706 hush: copy for.tests from ash testsuite il y a 9 ans
for.tests 112889d706 hush: copy for.tests from ash testsuite il y a 9 ans
for_with_bslashes.right 9809a82b59 hush: fix raw ^C handlisg in single-quoted strings il y a 6 ans
for_with_bslashes.tests 9809a82b59 hush: fix raw ^C handlisg in single-quoted strings il y a 6 ans
for_with_keywords.right 733e3fbc2f hush: support "for if in do done then; do echo $if; done" case il y a 16 ans
for_with_keywords.tests 733e3fbc2f hush: support "for if in do done then; do echo $if; done" case il y a 16 ans
func1.right ce4acbbab6 hush: add function tests il y a 15 ans
func1.tests ce4acbbab6 hush: add function tests il y a 15 ans
func2.right ce4acbbab6 hush: add function tests il y a 15 ans
func2.tests ce4acbbab6 hush: add function tests il y a 15 ans
func3.right 3d40d8e655 hush: return builtin by Bayram Kurumahmut (kbayram AT ubicom.com) il y a 15 ans
func3.tests 3d40d8e655 hush: return builtin by Bayram Kurumahmut (kbayram AT ubicom.com) il y a 15 ans
func4.right 572930027d hush: nommu fix for function passing il y a 15 ans
func4.tests 3581c62515 whitespace fixes il y a 15 ans
func5.right 12bcc76e9b hush_test: test for subshell function syntax il y a 15 ans
func5.tests fbf44854a3 hush: support "f() (cmd)" functions il y a 6 ans
func_args1.right d40fa397e4 hush: add two testcases il y a 15 ans
func_args1.tests bc9bee01f3 hush-misc/func_args1.tests: remove "UNFIXED BUG", it does not fail il y a 9 ans
func_local1.right 295fef80bc hush: add support for local builtin il y a 15 ans
func_local1.tests 295fef80bc hush: add support for local builtin il y a 15 ans
func_local2.right 295fef80bc hush: add support for local builtin il y a 15 ans
func_local2.tests 295fef80bc hush: add support for local builtin il y a 15 ans
func_prio_over_builtins.right 75481d3634 hush: functions have priority over builtins (!) il y a 7 ans
func_prio_over_builtins.tests 75481d3634 hush: functions have priority over builtins (!) il y a 7 ans
func_return1.right 5b3d2eb327 hush: fix "true | func_with_return" not allowing return. il y a 7 ans
func_return1.tests 5b3d2eb327 hush: fix "true | func_with_return" not allowing return. il y a 7 ans
func_return2.right 5b3d2eb327 hush: fix "true | func_with_return" not allowing return. il y a 7 ans
func_return2.tests 5b3d2eb327 hush: fix "true | func_with_return" not allowing return. il y a 7 ans
group_in_braces.right 672a55e606 hush: allow { cmd } to not be terminated by semicolon in some cases il y a 8 ans
group_in_braces.tests 672a55e606 hush: allow { cmd } to not be terminated by semicolon in some cases il y a 8 ans
if_false_exitcode.right 0e15138c03 hush: fix "if false; then...fi" exitcode; il y a 15 ans
if_false_exitcode.tests 0e15138c03 hush: fix "if false; then...fi" exitcode; il y a 15 ans
last_amp.right 5d6b8729ed hush testsuite: add many tests from ash testsuite il y a 8 ans
last_amp.tests 5d6b8729ed hush testsuite: add many tests from ash testsuite il y a 8 ans
local1.right 5d6b8729ed hush testsuite: add many tests from ash testsuite il y a 8 ans
local1.tests 5d6b8729ed hush testsuite: add many tests from ash testsuite il y a 8 ans
nommu1.right cbfe6ad4c6 hush: fix \<newline> handling on NOMMU il y a 15 ans
nommu1.tests cbfe6ad4c6 hush: fix \<newline> handling on NOMMU il y a 15 ans
nommu2.right b70cef71eb hush: two NOMMU fixes for bugs 877 and 883 il y a 15 ans
nommu2.tests b70cef71eb hush: two NOMMU fixes for bugs 877 and 883 il y a 15 ans
nommu3.right b5be13ccd9 hush: fix a nommu bug where a part of function body is lost if run in a pipe il y a 9 ans
nommu3.tests 450a367a11 typo fix il y a 9 ans
nulltick1.right 5d6b8729ed hush testsuite: add many tests from ash testsuite il y a 8 ans
nulltick1.tests 5d6b8729ed hush testsuite: add many tests from ash testsuite il y a 8 ans
opts1.right a67a9627d0 hush: do not process options after non-option args il y a 15 ans
opts1.tests a67a9627d0 hush: do not process options after non-option args il y a 15 ans
pid.right 16c2fea280 hush: fix $$ handling il y a 16 ans
pid.tests 16c2fea280 hush: fix $$ handling il y a 16 ans
piped_input.right 1237d627e9 hush: fix this case: echo "SCRIPT" | hush il y a 3 ans
piped_input.tests cad20ced86 typo fix il y a 3 ans
pipefail.right 6696eac274 hush: add support for "set -o pipefail" il y a 14 ans
pipefail.tests 6696eac274 hush: add support for "set -o pipefail" il y a 14 ans
read.right d67cef2425 hush: fix read builtin to not read ahead past eol and to not use il y a 17 ans
read.tests d67cef2425 hush: fix read builtin to not read ahead past eol and to not use il y a 17 ans
return1.right 68d5cb5dac hush: fix a case where return in sourced file has no effect il y a 13 ans
return1.tests 68d5cb5dac hush: fix a case where return in sourced file has no effect il y a 13 ans
set-n1.right e53c7dbafc hush: fix set -n to act immediately, not just after run_list() il y a 3 ans
set-n1.tests e53c7dbafc hush: fix set -n to act immediately, not just after run_list() il y a 3 ans
shift.right cd7f4d27a2 hush: improve 2 testsuite tests il y a 17 ans
shift.tests cd7f4d27a2 hush: improve 2 testsuite tests il y a 17 ans
shift1.right e59591a364 hush: Print error messages on shift -1 il y a 7 ans
shift1.tests e59591a364 hush: Print error messages on shift -1 il y a 7 ans
sig_exitcode.right e16f7eb596 hush: output bash-compat killing signal names il y a 4 ans
sig_exitcode.tests a4899efd03 hush: fix exitcodes of killed processes il y a 15 ans
source1.right c7a774dde4 sh testsuite: sync ash-misc/source* and hush-misc/source* il y a 8 ans
source1.tests c7a774dde4 sh testsuite: sync ash-misc/source* and hush-misc/source* il y a 8 ans
source2.right c7a774dde4 sh testsuite: sync ash-misc/source* and hush-misc/source* il y a 8 ans
source2.tests c7a774dde4 sh testsuite: sync ash-misc/source* and hush-misc/source* il y a 8 ans
source3.right 992e0ff7e9 hush: fix ". EMPTY_LINE" not setting $? to 0 il y a 8 ans
source3.tests 992e0ff7e9 hush: fix ". EMPTY_LINE" not setting $? to 0 il y a 8 ans
source4.right c7a774dde4 sh testsuite: sync ash-misc/source* and hush-misc/source* il y a 8 ans
source4.tests c7a774dde4 sh testsuite: sync ash-misc/source* and hush-misc/source* il y a 8 ans
source5.right c7a774dde4 sh testsuite: sync ash-misc/source* and hush-misc/source* il y a 8 ans
source5.tests c7a774dde4 sh testsuite: sync ash-misc/source* and hush-misc/source* il y a 8 ans
source_argv_and_shift.right 2b1559056c hush: fix a bug in argv restoration after sourcing a file il y a 7 ans
source_argv_and_shift.tests 2b1559056c hush: fix a bug in argv restoration after sourcing a file il y a 7 ans
syntax_err.right db2a9b683a hush: finally make `cmd` safe on NOMMU il y a 15 ans
syntax_err.tests cd7f4d27a2 hush: improve 2 testsuite tests il y a 17 ans
syntax_err_negate.right b6e6556b31 hush: improve parse_stream: does not require parsing context struct; il y a 15 ans
syntax_err_negate.tests a84420062a hush: support "! cmd | cmd" negation il y a 16 ans
tickquote1.right cafb2d195d hush: add tickquote1.tests from ash testsuite il y a 7 ans
tickquote1.tests cafb2d195d hush: add tickquote1.tests from ash testsuite il y a 7 ans
unicode1.right c538d5bcc3 hush: make ${#var} unicode-aware il y a 10 ans
unicode1.tests 10ad622dc2 Spelling fixes in comments, documentation, tests and examples il y a 7 ans
until1.right cd418a2670 hush: fix a bunch of obscure while/until/continue bugs il y a 15 ans
until1.tests 4ed67dd3d5 make hush-misc/*.tests executable il y a 15 ans
wait1.right 7e6753609d hush: fix "wait PID" il y a 8 ans
wait1.tests 7e6753609d hush: fix "wait PID" il y a 8 ans
wait2.right 7e6753609d hush: fix "wait PID" il y a 8 ans
wait2.tests 7e6753609d hush: fix "wait PID" il y a 8 ans
wait3.right 7e6753609d hush: fix "wait PID" il y a 8 ans
wait3.tests 7e6753609d hush: fix "wait PID" il y a 8 ans
wait4.right 02affb4afd hush: rework "wait %jobspec" to work in non-interactive shells too il y a 8 ans
wait4.tests 02affb4afd hush: rework "wait %jobspec" to work in non-interactive shells too il y a 8 ans
wait5.right 02affb4afd hush: rework "wait %jobspec" to work in non-interactive shells too il y a 8 ans
wait5.tests 02affb4afd hush: rework "wait %jobspec" to work in non-interactive shells too il y a 8 ans
wait6.right 840a4355d0 hush: fix "(sleep 1; exit 3) & sleep 2; echo $?; wait $!; echo $?" il y a 7 ans
wait6.tests 840a4355d0 hush: fix "(sleep 1; exit 3) & sleep 2; echo $?; wait $!; echo $?" il y a 7 ans
wait7.right d4dd48f294 shell: add testsuite for "wait $pid" waiting for other tasks il y a 4 ans
wait7.tests d4dd48f294 shell: add testsuite for "wait $pid" waiting for other tasks il y a 4 ans
while1.right 918a34b9e0 hush: fix "while false; ..." exitcode; add testsuites il y a 16 ans
while1.tests 918a34b9e0 hush: fix "while false; ..." exitcode; add testsuites il y a 16 ans
while2.right cd418a2670 hush: fix a bunch of obscure while/until/continue bugs il y a 15 ans
while2.tests 4ed67dd3d5 make hush-misc/*.tests executable il y a 15 ans
while3.right 00ae989ee5 hush: fix a corner case of empty "do \n done" structure il y a 13 ans
while3.tests 00ae989ee5 hush: fix a corner case of empty "do \n done" structure il y a 13 ans
while4.right 3beab83e4f hush: fix for "while false && true; do echo BUG; break; done". closes 6170 il y a 11 ans
while4.tests 3beab83e4f hush: fix for "while false && true; do echo BUG; break; done". closes 6170 il y a 11 ans
while_in_subshell.right f8d01d3f66 hush: fix a bug where we were requiring semicolon here: (cmd;) il y a 16 ans
while_in_subshell.tests f8d01d3f66 hush: fix a bug where we were requiring semicolon here: (cmd;) il y a 16 ans