X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=t.validate-xhtml;h=8eeafcc699cdcb95a8dc9bb9825755215afb04f8;hb=53293ee30678d3db753e51820cc554c0b2b1bd97;hp=bf55f4fb0cee3c05630dc9ab0ef02844096790f5;hpb=86c5e63d7cccacc5388b0e2fa4cbd22191e4ca3b;p=~andy%2Ffetchmail diff --git a/t.validate-xhtml b/t.validate-xhtml index bf55f4fb..8eeafcc6 100755 --- a/t.validate-xhtml +++ b/t.validate-xhtml @@ -7,16 +7,19 @@ e=0 fail= IFS=$(printf '\n\t') -# smoke test validator and skip if it fails +# ditto for XHTML 1.1 (asciidoc generates that) cat - <<'_EOF' | xmllint 2>/dev/null --nonet --postvalid --noout - || exit 77 - + - </head><body></body></html> + <head><title /></head><body><p></p></body></html> _EOF for i in "${srcdir}"/*.html ; do - case "$i" in */fetchmail-man.html) continue ;; esac + case "$i" in + */Mailbox-Names-UTF7.html) ;; + *) continue ;; + esac xmllint --postvalid --noout "$i" || { e=1 ; fail="$i${fail:+" "}$fail" ; } done if [ $e != 0 ] ; then