test exit

This commit is contained in:
pvincent
2026-07-24 14:46:01 +04:00
parent d17fd93d60
commit 9b01aa11b7
2 changed files with 12 additions and 0 deletions
+11
View File
@@ -34,6 +34,12 @@ function do_command_not_found {
echo SHOULD NOT APPEAR
}
function do_exit {
echo START
call_function_which_will_exit
echo SHOULD NOT APPEAR
}
function do_unbound_associative {
declare -A associative
associative['A']='Abc'
@@ -75,6 +81,11 @@ function do_unbound_variable {
# FUNCTIONS
function call_function_which_will_exit {
exit 99
}
function F2 {
echo "stdout A"
# echo toto >>/tmp/toto