]> Pileus Git - ~andy/fetchmail/blob - t.validate-xhtml
Look for MD5_Init in libcrypto (not libssl).
[~andy/fetchmail] / t.validate-xhtml
1 #! /bin/sh
2
3 # This test script validates all *.html files as XHTML.
4
5 set -eu
6 e=0
7 fail=
8 IFS=$(printf '\n\t')
9 for i in "${srcdir}"/*.html ; do
10     case "$i" in */fetchmail-man.html) continue ;; esac
11     xmllint --postvalid --noout "$i" || { e=1 ; fail="$i${fail:+" "}$fail" ; }
12 done
13 if [ $e != 0 ] ; then
14     echo >&2 ">>>>> Invalid XHTML in files: ${fail}."
15 fi
16 exit $e