diff xslt.t @ 1693:5ac6efbe5552

Tests: removed TODO and try_run() checks for legacy versions.
author Sergey Kandaurov <pluknet@nginx.com>
date Tue, 01 Jun 2021 16:40:18 +0300
parents b4014b3e8495
children
line wrap: on
line diff
--- a/xslt.t
+++ b/xslt.t
@@ -118,20 +118,10 @@ like(http_get("/x2"), qr!200 OK.*param1=
 	'params');
 like(http_get("/x3"), qr!200 OK.*data=test entity!ms, 'entities');
 like(http_get("/x4"), qr!200 OK.*data=other data!ms, 'several stylesheets');
-
-TODO: {
-todo_skip 'heap-buffer-overflow', 1 unless $t->has_version('1.17.2')
-	or $ENV{TEST_NGINX_UNSAFE};
-
 like(http_get("/x5"), qr!200 OK.*param1=localhost!ms, 'params variable');
 
-}
-
 # xslt and ranges
 
-TODO: {
-local $TODO = 'not yet' unless $t->has_version('1.19.2');
-
 unlike(http_get("/x1"), qr!Accept-Ranges!, 'no Accept-Ranges');
 like(http(<<EOF), qr!200 OK.*test xslt result!ms, 'no ranges');
 GET /x1 HTTP/1.1
@@ -141,6 +131,4 @@ Range: bytes=-10
 
 EOF
 
-}
-
 ###############################################################################