unknown_error_bypass
This commit is contained in:
@@ -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!"
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user