Lines Matching defs:err_exit
32 function err_exit
38 alias err_exit='err_exit $LINENO'
49 tmpdir="$(mktemp -t -d "test_sun_solaris_locale_misc.XXXXXXXX")" || err_exit "Cannot create temporary directory"
51 cd "${tmpdir}" || { err_exit "cd ${tmpdir} failed." ; exit $((Errors)) ; }
91 ${SHELL} -c 'LC_MESSAGES=C ${SHELL} -c "cd no_dir_llkk ; export LC_ALL="ko_KR.UTF-8" ; cd "no_dir_ooo" ; true"' >"out" 2>&1 || err_exit "Test shell failed with non-zero exit code $?"
100 (( korean_count >= 10 )) || err_exit "Expected at least 10 korean characters, got ${korean_count}"
159 ${SHELL} -c "unset LANG \${!LC_*} ; ${SHELL} -c \"${ts}\"" >out 2>&1 || err_exit "test returned non-zero exit code $?"
167 err_exit "test '${tg.name}'/'$ts' failed: Expected '_A_', got '${out2}'"
185 rmdir "${tmpdir}" || err_exit "Cannot remove temporary directory ${tmpdir}".