This test file is loosely based on test-hgweb.t. HEAD support originally implemented in fda5a4b853ab.