child_error ok
This commit is contained in:
@@ -21,7 +21,6 @@ function fail_type {
|
||||
local success regex hint_message
|
||||
success=false
|
||||
hint_message="${3:-}"
|
||||
# mapfile -t stderr <<<"$(source ./test/stub/scenario.bash "$1" 2>&1 >/dev/null 3>/dev/null)"
|
||||
mapfile -t stderr <<<"$(miaou-bash ./test/stub/scenario.bash "$1" 2>&1 >/dev/null 3>/dev/null)"
|
||||
last_error="${stderr[-1]}"
|
||||
|
||||
|
||||
@@ -9,11 +9,11 @@ function onemore {
|
||||
|
||||
function do_next {
|
||||
echo do_next
|
||||
command_not_found
|
||||
grep nope nope
|
||||
exit
|
||||
exit 10 # youpi
|
||||
echo $nope
|
||||
exit 10 # youpi
|
||||
grep nope nope
|
||||
command_not_found
|
||||
exit
|
||||
return 7
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user