#! /bin/sh# This test script validates all *.html files as XHTML.set-eu
e=0fail=IFS=$(printf'\n\t')foriin"${srcdir}"/*.html;docase"$i"in*/fetchmail-man.html)continue;;esacxmllint--postvalid--noout"$i"||{e=1;fail="$i${fail:+" "}$fail";}doneif[$e!=0];thenecho>&2">>>>> Invalid XHTML in files: ${fail}."fiexit$e