X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=t.validate-xhtml;h=8eeafcc699cdcb95a8dc9bb9825755215afb04f8;hb=f16d8d23439b5569f0c2e1af22494708b507f277;hp=79649481c67e9dcb6dabc5aa965e3d3084139e89;hpb=a86b31feb8dc61c13de5ef7ddf4cf816841e79c7;p=~andy%2Ffetchmail diff --git a/t.validate-xhtml b/t.validate-xhtml index 79649481..8eeafcc6 100755 --- a/t.validate-xhtml +++ b/t.validate-xhtml @@ -7,13 +7,6 @@ e=0 fail= IFS=$(printf '\n\t') -# smoke test validator for XHTML 1.0 Transitional, and skip if it fails -cat - <<'_EOF' | xmllint 2>/dev/null --nonet --postvalid --noout - || exit 77 - - - - </head><body></body></html> -_EOF # ditto for XHTML 1.1 (asciidoc generates that) cat - <<'_EOF' | xmllint 2>/dev/null --nonet --postvalid --noout - || exit 77 <?xml version="1.0" encoding="US-ASCII"?> @@ -24,8 +17,8 @@ _EOF for i in "${srcdir}"/*.html ; do case "$i" in - */fetchmail-man.html) continue ;; -# */Mailbox-Names-UTF7.html) continue ;; + */Mailbox-Names-UTF7.html) ;; + *) continue ;; esac xmllint --postvalid --noout "$i" || { e=1 ; fail="$i${fail:+" "}$fail" ; } done