diff options
-rwxr-xr-xtests/t0003-cache.sh6
1 file changed, 1 insertion, 5 deletions
diff --git a/tests/t0003-cache.sh b/tests/t0003-cache.sh
index bf38fbb..4b6a43c 100755
--- a/tests/t0003-cache.sh
+++ b/tests/t0003-cache.sh
@@ -96,11 +96,7 @@ test_expect_success 'the cached body matches one generated with the cache off' '
sed -e "s/^cache-size=64$/cache-size=0/" bigrc >bignocache &&
CGIT_CONFIG="$PWD/bignocache" QUERY_STRING="url=bigpage/tree/big.txt" cgit >big.nocache &&
strip_headers <big.nocache >big.nocache.body &&
- # The footer carries the time the page was generated, which the two runs
- # cannot agree on.
- sed -e "s/generated by .*//" big.nocache.body >big.nocache.timeless &&
- sed -e "s/generated by .*//" big.second.body >big.cached.timeless &&
- test_cmp big.nocache.timeless big.cached.timeless
+ test_cmp big.nocache.body big.second.body
'
test_expect_success 'the page ends where it should, so nothing was dropped' '