source and file not found
This commit is contained in:
@@ -53,6 +53,8 @@ fail_type false FALSE
|
||||
fail_type return RETURN
|
||||
fail_type command_not_found COMMAND_NOT_FOUND
|
||||
fail_type exit EXIT
|
||||
fail_type source_not_found SOURCE_NOT_FOUND
|
||||
fail_type file_not_found FILE_NOT_FOUND
|
||||
|
||||
failed=$((TEST_COUNT - SUCCESS_COUNT))
|
||||
if [[ $failed -gt 0 ]]; then
|
||||
|
||||
@@ -79,6 +79,13 @@ function do_unbound_variable {
|
||||
echo "b=${b}"
|
||||
}
|
||||
|
||||
function do_source_not_found {
|
||||
source "./lib/fake/nope.bash"
|
||||
}
|
||||
|
||||
function do_file_not_found {
|
||||
./lib/fake/nope.bash
|
||||
}
|
||||
# FUNCTIONS
|
||||
|
||||
function call_function_which_will_exit {
|
||||
|
||||
Reference in New Issue
Block a user