Lines Matching defs:err_exit
43 function err_exit
49 alias err_exit='err_exit $LINENO'
60 [[ "$x" == "0022" ]] || err_exit "expected umask 0022, got $x"
63 [[ "$x" == "0020" ]] || err_exit "expected umask 0020, got $x"
66 [[ "$x" == "0000" ]] || err_exit "expected umask 0000, got $x"
73 [[ "$x" == "0022" ]] || err_exit "expected umask 0022, got $x"
76 [[ "$x" == "0020" ]] || err_exit "expected umas k 0020, got $x"
79 [[ "$x" == "0000" ]] || err_exit "expected umask 0000, got $x"
86 x=$(${SHELL} -c 'umask 22; ( umask 0); umask') || err_exit "shell failed."
87 y=$(${SHELL} -c 'umask 22; (ulimit -c 0 ; umask 0); umask') || err_exit "shell failed."
88 [[ "$x" == "$y" ]] || err_exit "$x != $y"
90 x=$(${SHELL} -c 'umask 20; ( umask 0); umask') || err_exit "shell failed."
91 y=$(${SHELL} -c 'umask 20; (ulimit -c 0 ; umask 0); umask') || err_exit "shell failed."
92 [[ "$x" == "$y" ]] || err_exit "$x != $y"
94 x=$(${SHELL} -c 'umask 0; ( umask 20); umask') || err_exit "shell failed."
95 y=$(${SHELL} -c 'umask 0; (ulimit -c 0 ; umask 20); umask') || err_exit "shell failed."
96 [[ "$x" == "$y" ]] || err_exit "$x != $y"