@@ -118,7 +118,6 @@ qr/\[alert\] \S+ lua_code_cache is off; this will hurt performance/
118
118
119
119
120
120
121
-
122
121
=== TEST 4 : code cache explicitly off (server level)
123
122
-- - config
124
123
lua_code_cache off;
@@ -154,7 +153,6 @@ qr/\[alert\] \S+ lua_code_cache is off; this will hurt performance/
154
153
155
154
156
155
157
-
158
156
=== TEST 5 : code cache explicitly off (server level) but be overridden in the location
159
157
-- - config
160
158
lua_code_cache off;
@@ -441,7 +439,6 @@ qr/\[alert\] \S+ lua_code_cache is off; this will hurt performance/
441
439
442
440
443
441
444
-
445
442
=== TEST 13 : no clear builtin lib " string"
446
443
-- - config
447
444
location / lua {
@@ -467,7 +464,6 @@ qr/\[alert\] \S+ lua_code_cache is off; this will hurt performance/
467
464
468
465
469
466
470
-
471
467
=== TEST 14 : no clear builtin lib " string"
472
468
-- - http_config eval
473
469
" lua_package_path '$::HtmlDir/?.lua;./?.lua';"
@@ -504,7 +500,6 @@ qr/\[alert\] \S+ lua_code_cache is off; this will hurt performance/
504
500
505
501
506
502
507
-
508
503
=== TEST 15 : skip luarocks
509
504
-- - http_config eval
510
505
" lua_package_path '$::HtmlDir/?.lua;./?.lua';
@@ -555,7 +550,6 @@ qr/\[alert\] \S+ lua_code_cache is off; this will hurt performance/
555
550
556
551
557
552
558
-
559
553
=== TEST 16 : skip luarocks*
560
554
-- - http_config eval
561
555
" lua_package_path '$::HtmlDir/?.lua;./?.lua';
@@ -606,7 +600,6 @@ qr/\[alert\] \S+ lua_code_cache is off; this will hurt performance/
606
600
607
601
608
602
609
-
610
603
=== TEST 17 : clear _G table
611
604
-- - http_config eval
612
605
" lua_package_path '$::HtmlDir/?.lua;./?.lua';"
@@ -631,7 +624,6 @@ qr/\[alert\] \S+ lua_code_cache is off; this will hurt performance/
631
624
632
625
633
626
634
-
635
627
=== TEST 18 : github # 257: globals cleared when code cache off
636
628
-- - http_config
637
629
lua_code_cache off;
0 commit comments