Lines Matching refs:err_exit
20 function err_exit
26 alias err_exit='err_exit $LINENO'
34 then err_exit 'abc+def != abcdef'
39 then err_exit '3+4!=7'
44 then err_exit 'index array append fails'
50 then err_exit 'index array append to scalar fails'
56 then err_exit 'associative array append fails'
59 then err_exit 'number of elements of associative array append fails'
64 then err_exit 'compound append fails'
67 then err_exit 'compound append to compound variable unsets existing variables'
73 then err_exit 'array append to non array variable fails'
78 [[ ${foo[1].x} == 4 ]] || err_exit 'compound append to index array not working'
79 [[ ${foo[0].x} == 3 ]] || err_exit 'compound append to index array unsets existing variables'
84 [[ $foo == 'a' ]] || err_exit 'appending an empty string not working'
90 [[ $(typeset -p x) == "$exp" ]] || err_exit 'append (c d) to index array not working'
95 [[ $(typeset -p arr) == "$exp" ]] || err_exit 'append (c=d d=e) to index array not working'
100 [[ $(typeset -p z) == "$exp" ]] || err_exit 'append (d=3 e f=l) to index array not working'
106 [[ $(typeset -p arr2) == "$exp" ]] || err_exit 'append (b=c :) to index array not working'
114 [[ $(typeset -p arr2) == "$exp" ]] || err_exit 'append (b=c xxxxx) to index array not working'