6 runCommand "ronn-test-reproducible-html" { } ''
9 cat > aprog.1.ronn << EOF
15 Vincent Haupert <veehaitch@users.noreply.github.com>
18 # We have to repeat the manpage generation a few times to be confident
19 # it is in fact reproducible.
21 ${ronn}/bin/ronn --html --pipe aprog.1.ronn > aprog.1.html-1
22 ${ronn}/bin/ronn --html --pipe aprog.1.ronn > aprog.1.html-2
24 ${diffutils}/bin/diff -q aprog.1.html-1 aprog.1.html-2 \
25 || (printf 'The HTML manpage is not reproducible (round %d)' "$i" && exit 1)
28 echo 'The HTML manpage appears reproducible'