15 printf 'ok %d - %s %s\n' $tn $program "$*"
19 if [ "$note" != "" ]; then
20 printf '# %s\n' "$note"
32 note=$(printf '# got "%d" expected "%d"' "$1" "0")
35 printf 'ok %d - %s\n' $tn "$*"
41 if [ $? -ne $1 ]; then
43 note=$(printf '# got "%d" expected "%d"' "$1" "$2")
47 printf 'ok %d - %s\n' $tn "$*"
53 if [ "$1" != "$2" ]; then
55 note=$(printf 'got "%s" expected "%s"' "$1" "$2")
60 printf 'ok %d - %s\n' $tn "$*"
66 printf '1..%d\n' $planned
70 if [ $planned -eq 0 ]; then