not yet done with subshell error

This commit is contained in:
pvincent
2026-07-25 11:32:45 +04:00
parent 90569007e9
commit cfab4506ab
3 changed files with 20 additions and 5 deletions
+3
View File
@@ -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!"