not yet done with subshell error
This commit is contained in:
@@ -55,8 +55,11 @@ 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
|
||||
fail_type subshell_source_not_found SUBSHELL_SOURCE_NOT_FOUND
|
||||
fail_type subshell_error SUBSHELL_ERROR
|
||||
|
||||
failed=$((TEST_COUNT - SUCCESS_COUNT))
|
||||
|
||||
if [[ $failed -gt 0 ]]; then
|
||||
ratio=$((100 * SUCCESS_COUNT / TEST_COUNT))
|
||||
echo "${ratio}% passed, $SUCCESS_COUNT succeeded, $failed failed!"
|
||||
|
||||
Reference in New Issue
Block a user