diff options
context:
space:
mode:
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Drop the Last-Modified, Expires and ETag headers
Diffstat (limited to 'tests/t0010-validate-html.sh')
-rwxr-xr-xtests/t0010-validate-html.sh2
1 file changed, 1 insertion, 1 deletion
diff --git a/tests/t0010-validate-html.sh b/tests/t0010-validate-html.sh
index 308cef7..842437c 100755
--- a/tests/t0010-validate-html.sh
+++ b/tests/t0010-validate-html.sh
@@ -18,7 +18,7 @@ test_url()
cgit_url "$1" >tidy-$test_count.tmp || return
# Tidy reads what it is given as a whole document, so the response
# headers are dropped before it sees the page.
- sed -e "1,4d" tidy-$test_count.tmp >tidy-$test_count || return
+ strip_headers <tidy-$test_count.tmp >tidy-$test_count || return
"$tidy" $tidy_options tidy-$test_count
status=$?