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