Lines Matching defs:err_exit

27 function err_exit
34 alias err_exit='err_exit $LINENO'
256 err_exit 'build_tree1 mytree_global1 mysrcdata_global leaf_compound returned an error'
257 (( $(print -r -- "${mytree_global1}" | wc -l) > 10 )) || err_exit "compound tree 'mytree_global1' too small"
260 err_exit 'build_tree2 mytree_global2 mysrcdata_global leaf_compound returned an error'
261 (( $(print -r -- "${mytree_global2}" | wc -l) > 10 )) || err_exit "compound tree 'mytree_global2' too small"
269 err_exit 'build_tree1 mytree_local1 mysrcdata_local leaf_compound returned an error'
270 (( $(print -r -- "${mytree_local1}" | wc -l) > 10 )) || err_exit "compound tree 'mytree_local1' too small"
273 err_exit 'build_tree2 mytree_local2 mysrcdata_local leaf_compound returned an error'
274 (( $(print -r -- "${mytree_local2}" | wc -l) > 10 )) || err_exit "compound tree 'mytree_local2' too small"
279 err_exit "compound trees 'mytree_global1' and 'mytree_local1' not identical"
283 err_exit "compound trees 'mytree_global1' and 'mytree_global2' not identical"
287 err_exit "compound trees 'mytree_local1' and 'mytree_local2' not identical"
293 err_exit "try 1: variable 'mytree_global1.l1[urw].l2[itc zapfdingbats]' not found"
295 err_exit "try 2: variable 'mytree_global1.l1[urw].l2[itc zapfdingbats]' not found"
301 ) && err_exit "global: parent node removed (array element), child still exists"
305 ) && err_exit "local: parent node removed (array element), child still exists"
311 ) && err_exit "global: parent node removed (array variable), child still exists"
315 ) && err_exit "local: parent node removed (array variable), child still exists"
320 err_exit "variable 'mytree_global1.l1[urw].l2[itc zapfdingbats].l3[medium].entries[abcd].filenames[0]' not found"
322 [[ "${mytree_global1}" != "${mytree_local1}" ]] || err_exit "mytree_global1 and mytree_local1 should differ"
325 err_exit "variable 'mytree_local1.l1[urw].l2[itc zapfdingbats].l3[medium].entries[abcd].filenames[0]' not found"
329 err_exit "compound trees 'mytree_local1' and 'mytree_global1' not identical after unset"