aboutsummaryrefslogtreecommitdiffstats
path: root/t.validate-xhtml
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2010-11-06 11:38:20 +0100
committerMatthias Andree <matthias.andree@gmx.de>2010-11-06 11:38:20 +0100
commit5c068135bd86f650e83e3dc95b67a31fdeb2587e (patch)
tree409df0b8bcfe0be42335f043e65f7a9cd01a0b2c /t.validate-xhtml
parent42d04d3ae8a323b470b68ee335a6f07c0be2faad (diff)
downloadfetchmail-5c068135bd86f650e83e3dc95b67a31fdeb2587e.tar.gz
fetchmail-5c068135bd86f650e83e3dc95b67a31fdeb2587e.tar.bz2
fetchmail-5c068135bd86f650e83e3dc95b67a31fdeb2587e.zip
Also smoke test XHTML 1.1 and skip test on fail (for FreeBSD ports).
Diffstat (limited to 't.validate-xhtml')
-rwxr-xr-xt.validate-xhtml8
1 files changed, 8 insertions, 0 deletions
diff --git a/t.validate-xhtml b/t.validate-xhtml
index bf55f4fb..fa4d8e43 100755
--- a/t.validate-xhtml
+++ b/t.validate-xhtml
@@ -14,6 +14,14 @@ cat - <<'_EOF' | xmllint 2>/dev/null --nonet --postvalid --noout - || exit 77
<html xmlns="http://www.w3.org/1999/xhtml">
<head><title /></head><body></body></html>
_EOF
+# same, for XHTML 1.1
+cat - <<'_EOF' | xmllint 2>/dev/null --nonet --postvalid --noout - || exit 77
+<?xml version="1.0" encoding="US-ASCII"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
+ "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
+ <head><title /></head><body></body></html>
+_EOF
for i in "${srcdir}"/*.html ; do
case "$i" in */fetchmail-man.html) continue ;; esac