Lines Matching defs:err_exit

34 function err_exit
40 alias err_exit='err_exit $LINENO'
266 err_exit 'build_tree1 mytree_global1 mysrcdata_global leaf_compound returned an error'
267 (( $(print -r -- "${mytree_global1}" | wc -l) > 10 )) || err_exit "Compound tree 'mytree_global1' too small."
270 err_exit 'build_tree2 mytree_global2 mysrcdata_global leaf_compound returned an error'
271 (( $(print -r -- "${mytree_global2}" | wc -l) > 10 )) || err_exit "Compound tree 'mytree_global2' too small."
279 err_exit 'build_tree1 mytree_local1 mysrcdata_local leaf_compound returned an error'
280 (( $(print -r -- "${mytree_local1}" | wc -l) > 10 )) || err_exit "Compound tree 'mytree_local1' too small."
283 err_exit 'build_tree2 mytree_local2 mysrcdata_local leaf_compound returned an error'
284 (( $(print -r -- "${mytree_local2}" | wc -l) > 10 )) || err_exit "Compound tree 'mytree_local2' too small."
289 err_exit "Compound trees 'mytree_global1' and 'mytree_local1' not identical"
294 err_exit "Compound trees 'mytree_global1' and 'mytree_global2' not identical"
299 err_exit "Compound trees 'mytree_local1' and 'mytree_local2' not identical"
306 err_exit "Try 1: Variable 'mytree_global1.l1[urw].l2[itc zapfdingbats]' not found."
308 err_exit "Try 2: Variable 'mytree_global1.l1[urw].l2[itc zapfdingbats]' not found."
315 ) || err_exit "Global: Parent node removed (array element), child still exists"
320 ) || err_exit "Local: Parent node removed (array element), child still exists"
327 ) || err_exit "Global: Parent node removed (array variable), child still exists"
332 ) || err_exit "Local: Parent node removed (array variable), child still exists"
339 err_exit "Variable 'mytree_global1.l1[urw].l2[itc zapfdingbats].l3[medium].entries[abcd].filenames[0]' not found."
341 [[ "${mytree_global1}" != "${mytree_local1}" ]] || err_exit "mytree_global1 and mytree_local1 should differ"
346 err_exit "Variable 'mytree_local1.l1[urw].l2[itc zapfdingbats].l3[medium].entries[abcd].filenames[0]' not found."
350 err_exit "Compound trees 'mytree_local1' and 'mytree_global1' not identical after unset"