ssh git@grit.deadkey.org man

mailmanpat/markdown.awk · 2026-09-05 17:01:23 +08002026-9-5 +8git clone …

FILES / test / run.sh

NameLast CommitTimestampSize
..
assert.bash 6b66487 h Extract the markdown parser from jenny 26-09-05 09:57 3 KB
regressions.sh e8441ae h Let a thematic break end a quoted paragraph 26-09-05 17:01 10 KB
run.sh 6b66487 h Extract the markdown parser from jenny 26-09-05 09:57 383 B
units.sh ba20446 h Fold the probe after each decode, not only before the first 26-09-05 10:46 20 KB
#!/usr/bin/env bash
# Runs every test file. Exits non-zero if any suite fails.
cd "$(dirname "$0")" || exit 1
failed=0
for f in units.sh regressions.sh; do
printf '\n\033[1m=== %s\033[0m\n' "$f"
bash "$f" || failed=1
done
printf '\n'
if [ "$failed" -eq 0 ]; then
printf '\033[32mall suites passed\033[0m\n'
else
printf '\033[31msome suites failed\033[0m\n'
fi
exit $failed