Lines Matching defs:err_exit
49 function err_exit
55 alias err_exit='err_exit $LINENO'
72 mkdir -p "${testdir}" || err_exit "Cannot create test dirctory"
73 cd "${testdir}" || { err_exit "Cannot cd to test dirctory" ; exit $Errors ; }
92 err_exit "Child still active after 5 seconds (hang ?)"
103 (( childretval == 0 )) || err_exit "Child returned non-zero exit code ${childretval}."
105 [[ ! -f "z" ]] || { rm "z" ; err_exit "Child did not remove test file" ; }
126 err_exit "Child still active after 5 seconds (hang ?)"
137 (( childretval == 0 )) || err_exit "Child returned non-zero exit code ${childretval}."
139 [[ ! -f "z" ]] || { rm "z" ; err_exit "Child did not remove test file" ; }
159 err_exit "Child still active after 5 seconds (hang ?)"
170 (( childretval == 0 )) || err_exit "Child returned non-zero exit code ${childretval}."
172 [[ ! -f "z" ]] || { rm "z" ; err_exit "Child did not remove test file" ; }
193 err_exit "Child still active after 5 seconds (hang ?)"
204 (( childretval == 0 )) || err_exit "Child returned non-zero exit code ${childretval}."
206 [[ ! -f "z" ]] || { rm "z" ; err_exit "Child did not remove test file" ; }
210 rmdir "${testdir}" || err_exit "Could not remove temporary test directory ${testdir}"