printf 'ok %d - %s %s\n' $tn $program "$*"
}
+require() {
+ note="$@"
+ program=$1
+ shift
+ $program "$@"
+ if [ $? -ne 0 ]; then
+ printf "bail out! fail[$?]: $@\n"
+ exit 255;
+ fi
+ tn=$((tn + 1))
+ printf 'ok %d - %s %s\n' $tn $program "$*"
+
+}
+
shownote() {
if [ "$note" != "" ]; then
printf '# %s\n' "$note"