unknown_error_bypass

This commit is contained in:
pvincent
2026-08-19 11:09:43 +04:00
parent 4368dd0f4f
commit ac308f9dad
5 changed files with 50 additions and 7 deletions
+2
View File
@@ -172,7 +172,9 @@ time {
fail_stderr_count unbound_variable 1
fail_stderr_count child_error 4
fail_miaou_count command_error_multiline 7
fail_miaou_count unknown 1
fail_stderr_grep two_options 'ERROR: too many args 2, either single option or SCRIPT + args accepted!'
fail_stderr_grep script_not_found "ERROR: script 'doesnt_exist' not found!"
+9
View File
@@ -12,6 +12,15 @@ function do_subshell_false {
result=$(false)
}
function do_unknown {
source /dev/stdin <<EOF
echo START
>&2 echo weird
builtin exit 2
echo END
EOF
}
function do_heredoc {
# miaou-bash <<EOF
source /dev/stdin <<EOF