command error
This commit is contained in:
@@ -11,11 +11,12 @@ function blabla {
|
||||
|
||||
function suite {
|
||||
command_not_found
|
||||
echo $nope
|
||||
grep nope nope
|
||||
exit
|
||||
exit 10 # youpi
|
||||
echo $nope
|
||||
return 7
|
||||
return
|
||||
exit
|
||||
}
|
||||
|
||||
blabla
|
||||
|
||||
@@ -94,6 +94,11 @@ function do_subshell_error {
|
||||
"$BASEDIR/extra/library.bash"
|
||||
}
|
||||
|
||||
function do_command_error {
|
||||
>&2 echo nope is not defined!
|
||||
grep nope nope
|
||||
}
|
||||
|
||||
# FUNCTIONS
|
||||
|
||||
function call_function_which_will_exit {
|
||||
|
||||
Reference in New Issue
Block a user