2 # Documentation completeness test for Empire
5 then echo "Usage: $0 SRCDIR" >&2; exit 1
10 . "$srcdir"/tests/test-common.sh
13 # Suppress test-only commands:
18 # begin_test warns POSIX isn't expected to work, because thread
19 # scheduling isn't reliably deterministic. Not an issue for this
20 # test, so suppress the warning.
21 [ "$empthread" = POSIX ] && warn_empthread=
27 add 2 visitor visitor v
33 feed_input POGO peter <<EOF
34 list >sandbox/deity.list
37 list >sandbox/sanctuary.list
39 list >sandbox/active.list
41 feed_input visitor visitor <<EOF
42 list >sandbox/visitor.list
47 if perl $testdir/cmp-toc-vs-lists.pl info/toc sandbox/*.list
48 then echo "Command documentation OK"
49 else echo "Command documentation FAIL"; false