diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 06:33:50 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 06:33:50 +0000 |
commit | fe39ffb8b90ae4e002ed73fe98617cd590abb467 (patch) | |
tree | b80e5956907d8aeaaffe4e4f0c068c0e6157ce8b /modules/core/test/ref | |
parent | Initial commit. (diff) | |
download | apache2-fe39ffb8b90ae4e002ed73fe98617cd590abb467.tar.xz apache2-fe39ffb8b90ae4e002ed73fe98617cd590abb467.zip |
Adding upstream version 2.4.56.upstream/2.4.56
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'modules/core/test/ref')
69 files changed, 520 insertions, 0 deletions
diff --git a/modules/core/test/ref/test01.out b/modules/core/test/ref/test01.out new file mode 100644 index 0000000..9ea6665 --- /dev/null +++ b/modules/core/test/ref/test01.out @@ -0,0 +1,3 @@ +# testing with conf/test01.conf +httpd: Syntax error on line 2 of ./conf/test01.conf: <Macro macro definition: empty name +# exit: 1 diff --git a/modules/core/test/ref/test02.out b/modules/core/test/ref/test02.out new file mode 100644 index 0000000..6b49191 --- /dev/null +++ b/modules/core/test/ref/test02.out @@ -0,0 +1,3 @@ +# testing with conf/test02.conf +httpd: Syntax error on line 2 of ./conf/test02.conf: <Macro macro definition: empty name +# exit: 1 diff --git a/modules/core/test/ref/test03.out b/modules/core/test/ref/test03.out new file mode 100644 index 0000000..f857901 --- /dev/null +++ b/modules/core/test/ref/test03.out @@ -0,0 +1,3 @@ +# testing with conf/test03.conf +httpd: Syntax error on line 5 of ./conf/test03.conf: macro 'bla' undefined +# exit: 1 diff --git a/modules/core/test/ref/test04.out b/modules/core/test/ref/test04.out new file mode 100644 index 0000000..aaa2e6b --- /dev/null +++ b/modules/core/test/ref/test04.out @@ -0,0 +1,3 @@ +# testing with conf/test04.conf +httpd: Syntax error on line 5 of ./conf/test04.conf: macro 'foo' (defined on line 2 of "./conf/test04.conf") used with 1 arguments instead of 0 +# exit: 1 diff --git a/modules/core/test/ref/test05.out b/modules/core/test/ref/test05.out new file mode 100644 index 0000000..184c40c --- /dev/null +++ b/modules/core/test/ref/test05.out @@ -0,0 +1,3 @@ +# testing with conf/test05.conf +httpd: Syntax error on line 5 of ./conf/test05.conf: macro 'foo' (defined on line 2 of "./conf/test05.conf") used with 0 arguments instead of 1 +# exit: 1 diff --git a/modules/core/test/ref/test06.out b/modules/core/test/ref/test06.out new file mode 100644 index 0000000..221dd05 --- /dev/null +++ b/modules/core/test/ref/test06.out @@ -0,0 +1,3 @@ +# testing with conf/test06.conf +httpd: Syntax error on line 5 of ./conf/test06.conf: macro 'foo' (defined on line 2 of "./conf/test06.conf") used with 2 arguments instead of 1 +# exit: 1 diff --git a/modules/core/test/ref/test07.out b/modules/core/test/ref/test07.out new file mode 100644 index 0000000..60003ec --- /dev/null +++ b/modules/core/test/ref/test07.out @@ -0,0 +1,3 @@ +# testing with conf/test07.conf +httpd: Syntax error on line 2 of ./conf/test07.conf: macro 'foo' (defined on line 2 of "./conf/test07.conf")\n\tcontents error: expected token not found: </Macro> +# exit: 1 diff --git a/modules/core/test/ref/test08.out b/modules/core/test/ref/test08.out new file mode 100644 index 0000000..124c7a0 --- /dev/null +++ b/modules/core/test/ref/test08.out @@ -0,0 +1,3 @@ +# testing with conf/test08.conf +httpd: Syntax error on line 3 of ./conf/test08.conf: </Macro> without matching <Macro> section +# exit: 1 diff --git a/modules/core/test/ref/test09.out b/modules/core/test/ref/test09.out new file mode 100644 index 0000000..9af1225 --- /dev/null +++ b/modules/core/test/ref/test09.out @@ -0,0 +1,3 @@ +# testing with conf/test09.conf +httpd: Syntax error on line 1 of macro 'foo' (defined on line 2 of "./conf/test09.conf") used on line 6 of "./conf/test09.conf": recursive use of macro 'foo' is invalid +# exit: 1 diff --git a/modules/core/test/ref/test10.out b/modules/core/test/ref/test10.out new file mode 100644 index 0000000..4d81abc --- /dev/null +++ b/modules/core/test/ref/test10.out @@ -0,0 +1,3 @@ +# testing with conf/test10.conf +httpd: Syntax error on line 1 of macro 'bla' (defined on line 6 of "./conf/test10.conf") used on line 1 of "macro 'foo' (defined on line 2 of "./conf/test10.conf") used on line 10 of "./conf/test10.conf"": recursive use of macro 'foo' is invalid +# exit: 1 diff --git a/modules/core/test/ref/test11.out b/modules/core/test/ref/test11.out new file mode 100644 index 0000000..d18c95e --- /dev/null +++ b/modules/core/test/ref/test11.out @@ -0,0 +1,6 @@ +# testing with conf/test11.conf +[core:warn] macro one.in line 1 on line 1 of macro 'one.in' (defined on line 1 of "macro 'foo' (defined on line 2 of "./conf/test11.conf") used on line 9 of "./conf/test11.conf"") used on line 12 of "./conf/test11.conf" +[core:error] done line 15. on line 15 of ./conf/test11.conf +AH00526: Syntax error on line 15 of ./conf/test11.conf: +Configuration processing stopped by Error directive +# exit: 1 diff --git a/modules/core/test/ref/test12.out b/modules/core/test/ref/test12.out new file mode 100644 index 0000000..b1ab234 --- /dev/null +++ b/modules/core/test/ref/test12.out @@ -0,0 +1,7 @@ +# testing with conf/test12.conf +[macro:warn] macro 'foo' multiply defined: defined on line 2 of "./conf/test12.conf", redefined on line 6 of "./conf/test12.conf" +[core:warn] macro foo 2, line 1 on line 1 of macro 'foo' (defined on line 6 of "./conf/test12.conf") used on line 10 of "./conf/test12.conf" +[core:error] done line 12. on line 12 of ./conf/test12.conf +AH00526: Syntax error on line 12 of ./conf/test12.conf: +Configuration processing stopped by Error directive +# exit: 1 diff --git a/modules/core/test/ref/test13.out b/modules/core/test/ref/test13.out new file mode 100644 index 0000000..13d501e --- /dev/null +++ b/modules/core/test/ref/test13.out @@ -0,0 +1,8 @@ +# testing with conf/test13.conf +[macro:warn] macro 'foo' multiply defined: defined on line 2 of "./conf/test13.conf", redefined on line 12 of "./conf/test13.conf" +[core:warn] macro FOO line 1 on line 1 of macro 'foo' (defined on line 2 of "./conf/test13.conf") used on line 10 of "./conf/test13.conf" +[core:warn] redefined macro foo line 1 on line 1 of macro 'foo' (defined on line 12 of "./conf/test13.conf") used on line 16 of "./conf/test13.conf" +[core:error] done line 18. on line 18 of ./conf/test13.conf +AH00526: Syntax error on line 18 of ./conf/test13.conf: +Configuration processing stopped by Error directive +# exit: 1 diff --git a/modules/core/test/ref/test14.out b/modules/core/test/ref/test14.out new file mode 100644 index 0000000..1650715 --- /dev/null +++ b/modules/core/test/ref/test14.out @@ -0,0 +1,14 @@ +# testing with conf/test14.conf +AH00112: Warning: DocumentRoot [/projects/apache/web] does not exist +[core:warn] directory /projects/apache/web on line 5 of macro 'myvirtualhost' (defined on line 3 of "./conf/test14.conf") used on line 17 of "./conf/test14.conf" +[core:warn] directory /projects/apache/web/intranet on line 8 of macro 'myvirtualhost' (defined on line 3 of "./conf/test14.conf") used on line 17 of "./conf/test14.conf" +AH00112: Warning: DocumentRoot [/projects/perl/web] does not exist +[core:warn] directory /projects/perl/web on line 5 of macro 'myvirtualhost' (defined on line 3 of "./conf/test14.conf") used on line 19 of "./conf/test14.conf" +[core:warn] directory /projects/perl/web/intranet on line 8 of macro 'myvirtualhost' (defined on line 3 of "./conf/test14.conf") used on line 19 of "./conf/test14.conf" +AH00112: Warning: DocumentRoot [/projects/mines/web] does not exist +[core:warn] directory /projects/mines/web on line 5 of macro 'myvirtualhost' (defined on line 3 of "./conf/test14.conf") used on line 21 of "./conf/test14.conf" +[core:warn] directory /projects/mines/web/intranet on line 8 of macro 'myvirtualhost' (defined on line 3 of "./conf/test14.conf") used on line 21 of "./conf/test14.conf" +[core:error] done line 23. on line 23 of ./conf/test14.conf +AH00526: Syntax error on line 23 of ./conf/test14.conf: +Configuration processing stopped by Error directive +# exit: 1 diff --git a/modules/core/test/ref/test15.out b/modules/core/test/ref/test15.out new file mode 100644 index 0000000..b0b82b7 --- /dev/null +++ b/modules/core/test/ref/test15.out @@ -0,0 +1,6 @@ +# testing with conf/test15.conf +[macro:warn] bad cumulated nesting (+1) in macro 'test' (defined on line 2 of "./conf/test15.conf") +[core:error] should not reach this point. on line 9 of ./conf/test15.conf +AH00526: Syntax error on line 9 of ./conf/test15.conf: +Configuration processing stopped by Error directive +# exit: 1 diff --git a/modules/core/test/ref/test16.out b/modules/core/test/ref/test16.out new file mode 100644 index 0000000..6e0f9ca --- /dev/null +++ b/modules/core/test/ref/test16.out @@ -0,0 +1,5 @@ +# testing with conf/test16.conf +[macro:warn] bad (negative) nesting on line 2 of macro 'foo' (defined on line 3 of "./conf/test16.conf") +[macro:warn] bad cumulated nesting (-1) in macro 'foo' (defined on line 3 of "./conf/test16.conf") +httpd: Syntax error on line 9 of ./conf/test16.conf: </Limit> without matching <Limit> section +# exit: 1 diff --git a/modules/core/test/ref/test17.out b/modules/core/test/ref/test17.out new file mode 100644 index 0000000..c6ca16d --- /dev/null +++ b/modules/core/test/ref/test17.out @@ -0,0 +1,7 @@ +# testing with conf/test17.conf +[macro:warn] bad (negative) nesting on line 2 of macro 'foo' (defined on line 3 of "./conf/test17.conf") +[macro:warn] bad cumulated nesting (-1) in macro 'foo' (defined on line 3 of "./conf/test17.conf") +[core:error] done on line 10. on line 10 of ./conf/test17.conf +AH00526: Syntax error on line 10 of ./conf/test17.conf: +Configuration processing stopped by Error directive +# exit: 1 diff --git a/modules/core/test/ref/test18.out b/modules/core/test/ref/test18.out new file mode 100644 index 0000000..c5cee81 --- /dev/null +++ b/modules/core/test/ref/test18.out @@ -0,0 +1,7 @@ +# testing with conf/test18.conf +[macro:warn] bad (negative) nesting on line 2 of macro 'foo' (defined on line 3 of "./conf/test18.conf") +[macro:warn] bad cumulated nesting (-1) in macro 'foo' (defined on line 3 of "./conf/test18.conf") +[core:error] done on line 10. on line 10 of ./conf/test18.conf +AH00526: Syntax error on line 10 of ./conf/test18.conf: +Configuration processing stopped by Error directive +# exit: 1 diff --git a/modules/core/test/ref/test19.out b/modules/core/test/ref/test19.out new file mode 100644 index 0000000..411e569 --- /dev/null +++ b/modules/core/test/ref/test19.out @@ -0,0 +1,9 @@ +# testing with conf/test19.conf +[core:warn] macro foo line 2 in Directory on line 1 of macro 'foo' (defined on line 3 of "./conf/test19.conf") used on line 9 of "./conf/test19.conf" +[core:warn] macro foo line 2 in Location on line 1 of macro 'foo' (defined on line 3 of "./conf/test19.conf") used on line 13 of "./conf/test19.conf" +[core:warn] macro foo line 2 in VirtualHost on line 1 of macro 'foo' (defined on line 3 of "./conf/test19.conf") used on line 17 of "./conf/test19.conf" +[core:warn] macro foo line 2 in VirtualHost & Directory on line 1 of macro 'foo' (defined on line 3 of "./conf/test19.conf") used on line 22 of "./conf/test19.conf" +[core:error] done line 26. on line 26 of ./conf/test19.conf +AH00526: Syntax error on line 26 of ./conf/test19.conf: +Configuration processing stopped by Error directive +# exit: 1 diff --git a/modules/core/test/ref/test20.out b/modules/core/test/ref/test20.out new file mode 100644 index 0000000..3ce2b60 --- /dev/null +++ b/modules/core/test/ref/test20.out @@ -0,0 +1,4 @@ +# testing with conf/test20.conf +AH00526: Syntax error on line 1 of macro 'foo' (defined on line 3 of "./conf/test20.conf") used on line 10 of "./conf/test20.conf": +<Directory not allowed here +# exit: 1 diff --git a/modules/core/test/ref/test21.out b/modules/core/test/ref/test21.out new file mode 100644 index 0000000..ac8d843 --- /dev/null +++ b/modules/core/test/ref/test21.out @@ -0,0 +1,5 @@ +# testing with conf/test21.conf +[core:error] macro foo dir /tmp on line 2 of macro 'foo' (defined on line 3 of "./conf/test21.conf") used on line 10 of "./conf/test21.conf" +AH00526: Syntax error on line 2 of macro 'foo' (defined on line 3 of "./conf/test21.conf") used on line 10 of "./conf/test21.conf": +Configuration processing stopped by Error directive +# exit: 1 diff --git a/modules/core/test/ref/test22.out b/modules/core/test/ref/test22.out new file mode 100644 index 0000000..def17dd --- /dev/null +++ b/modules/core/test/ref/test22.out @@ -0,0 +1,6 @@ +# testing with conf/test22.conf +[core:warn] macro foo on line 2 of macro 'foo' (defined on line 3 of "./conf/test22.conf") used on line 9 of "./conf/test22.conf" +[core:error] done on line 11. on line 11 of ./conf/test22.conf +AH00526: Syntax error on line 11 of ./conf/test22.conf: +Configuration processing stopped by Error directive +# exit: 1 diff --git a/modules/core/test/ref/test23.out b/modules/core/test/ref/test23.out new file mode 100644 index 0000000..827c861 --- /dev/null +++ b/modules/core/test/ref/test23.out @@ -0,0 +1,7 @@ +# testing with conf/test23.conf +[core:warn] macro foo in /tmp on line 1 of macro 'foo' (defined on line 4 of "./conf/test23.conf") used on line 9 of "./conf/test23.conf" +[core:warn] macro foo in /tmp on line 1 of macro 'foo' (defined on line 4 of "./conf/test23.conf") used on line 12 of "./conf/test23.conf" +[core:error] done! on line 15 of ./conf/test23.conf +AH00526: Syntax error on line 15 of ./conf/test23.conf: +Configuration processing stopped by Error directive +# exit: 1 diff --git a/modules/core/test/ref/test24.out b/modules/core/test/ref/test24.out new file mode 100644 index 0000000..e5d370d --- /dev/null +++ b/modules/core/test/ref/test24.out @@ -0,0 +1,8 @@ +# testing with conf/test24.conf +[core:warn] macro bla intra on line 2 of macro 'bla' (defined on line 3 of "./conf/test24.conf") used on line 13 of "./conf/test24.conf" +[core:warn] macro bla private on line 5 of macro 'bla' (defined on line 3 of "./conf/test24.conf") used on line 13 of "./conf/test24.conf" +[core:warn] macro bla intra on line 2 of macro 'bla' (defined on line 3 of "./conf/test24.conf") used on line 17 of "./conf/test24.conf" +[core:warn] macro bla private on line 5 of macro 'bla' (defined on line 3 of "./conf/test24.conf") used on line 17 of "./conf/test24.conf" +AH00526: Syntax error on line 1 of macro 'bla' (defined on line 3 of "./conf/test24.conf") used on line 22 of "./conf/test24.conf": +<Location not allowed here +# exit: 1 diff --git a/modules/core/test/ref/test25.out b/modules/core/test/ref/test25.out new file mode 100644 index 0000000..56bb0bd --- /dev/null +++ b/modules/core/test/ref/test25.out @@ -0,0 +1,9 @@ +# testing with conf/test25.conf +[core:warn] restricted access policy 10.0.0.0/8 on line 1 of macro 'restrictedaccesspolicy' (defined on line 3 of "./conf/test25.conf") used on line 8 of "./conf/test25.conf" +[core:warn] restricted access policy 192.54.172.0/24 192.54.148.0/24 10.0.0.0/8 on line 1 of macro 'restrictedaccesspolicy' (defined on line 3 of "./conf/test25.conf") used on line 16 of "./conf/test25.conf" +[core:warn] restricted access policy 10.0.0.0/8 on line 1 of macro 'restrictedaccesspolicy' (defined on line 3 of "./conf/test25.conf") used on line 1 of "macro 'localaccessonly' (defined on line 11 of "./conf/test25.conf") used on line 20 of "./conf/test25.conf"" +[core:warn] restricted access policy 10.0.0.0/8 on line 1 of macro 'restrictedaccesspolicy' (defined on line 3 of "./conf/test25.conf") used on line 1 of "macro 'localaccessonly' (defined on line 11 of "./conf/test25.conf") used on line 24 of "./conf/test25.conf"" +[core:error] done line 27. on line 27 of ./conf/test25.conf +AH00526: Syntax error on line 27 of ./conf/test25.conf: +Configuration processing stopped by Error directive +# exit: 1 diff --git a/modules/core/test/ref/test26.out b/modules/core/test/ref/test26.out new file mode 100644 index 0000000..28cba28 --- /dev/null +++ b/modules/core/test/ref/test26.out @@ -0,0 +1,11 @@ +# testing with conf/test26.conf +[macro:warn] macro 'funny' (defined on line 4 of "./conf/test26.conf") argument name 'first arg' (#1) without expected prefix, better prefix argument names with one of '$%@'. +[macro:warn] macro 'funny' (defined on line 4 of "./conf/test26.conf") argument name 'second ... arg' (#2) without expected prefix, better prefix argument names with one of '$%@'. +[core:warn] funny directory on line 2 of macro 'funny' (defined on line 4 of "./conf/test26.conf") used on line 13 of "./conf/test26.conf" +[core:warn] funny location on line 5 of macro 'funny' (defined on line 4 of "./conf/test26.conf") used on line 13 of "./conf/test26.conf" +[core:warn] funny directory on line 2 of macro 'funny' (defined on line 4 of "./conf/test26.conf") used on line 16 of "./conf/test26.conf" +[core:warn] funny location on line 5 of macro 'funny' (defined on line 4 of "./conf/test26.conf") used on line 16 of "./conf/test26.conf" +[core:error] done! on line 19 of ./conf/test26.conf +AH00526: Syntax error on line 19 of ./conf/test26.conf: +Configuration processing stopped by Error directive +# exit: 1 diff --git a/modules/core/test/ref/test27.out b/modules/core/test/ref/test27.out new file mode 100644 index 0000000..46aa8ea --- /dev/null +++ b/modules/core/test/ref/test27.out @@ -0,0 +1,8 @@ +# testing with conf/test27.conf +[core:warn] foo.one /unexpected/1 on line 2 of macro 'foo.one' (defined on line 1 of "macro 'foo' (defined on line 3 of "./conf/test27.conf") used on line 11 of "./conf/test27.conf"") used on line 14 of "./conf/test27.conf" +[core:warn] foo.two /unexpected/2 on line 2 of macro 'foo.two' (defined on line 1 of "macro 'foo' (defined on line 3 of "./conf/test27.conf") used on line 12 of "./conf/test27.conf"") used on line 15 of "./conf/test27.conf" +[core:warn] foo.one /unexpected/1 on line 2 of macro 'foo.one' (defined on line 1 of "macro 'foo' (defined on line 3 of "./conf/test27.conf") used on line 11 of "./conf/test27.conf"") used on line 16 of "./conf/test27.conf" +[core:error] done! on line 22 of ./conf/test27.conf +AH00526: Syntax error on line 22 of ./conf/test27.conf: +Configuration processing stopped by Error directive +# exit: 1 diff --git a/modules/core/test/ref/test28.out b/modules/core/test/ref/test28.out new file mode 100644 index 0000000..eb0a23f --- /dev/null +++ b/modules/core/test/ref/test28.out @@ -0,0 +1,6 @@ +# testing with conf/test28.conf +[core:warn] macro foo on line 1 of macro 'foo' (defined on line 4 of "./conf/test28.conf") used on line 8 of "./conf/test28.conf" +[core:error] done! on line 10 of ./conf/test28.conf +AH00526: Syntax error on line 10 of ./conf/test28.conf: +Configuration processing stopped by Error directive +# exit: 1 diff --git a/modules/core/test/ref/test29.out b/modules/core/test/ref/test29.out new file mode 100644 index 0000000..48488f9 --- /dev/null +++ b/modules/core/test/ref/test29.out @@ -0,0 +1,4 @@ +# testing with conf/test29.conf +[macro:warn] macro 'toobigaline' (defined on line 3 of "./conf/test29.conf") argument name 'a' (#1) without expected prefix, better prefix argument names with one of '$%@'. +httpd: Syntax error on line 8 of ./conf/test29.conf: macro 'toobigaline' (defined on line 3 of "./conf/test29.conf") used on line 8 of "./conf/test29.conf" error while substituting: while processing line 1 of macro 'toobigaline' (defined on line 3 of "./conf/test29.conf") cannot substitute, buffer size too small +# exit: 1 diff --git a/modules/core/test/ref/test30.out b/modules/core/test/ref/test30.out new file mode 100644 index 0000000..a84c69f --- /dev/null +++ b/modules/core/test/ref/test30.out @@ -0,0 +1,7 @@ +# testing with conf/test30.conf +[macro:warn] macro 'foo' (defined on line 4 of "./conf/test30.conf"): argument name prefix conflict ($dir #1 and $directive #2), be careful about your macro definition! +[core:warn] section Directory /unexpected/1 on line 2 of macro 'foo' (defined on line 4 of "./conf/test30.conf") used on line 10 of "./conf/test30.conf" +[core:error] done! on line 12 of ./conf/test30.conf +AH00526: Syntax error on line 12 of ./conf/test30.conf: +Configuration processing stopped by Error directive +# exit: 1 diff --git a/modules/core/test/ref/test31.out b/modules/core/test/ref/test31.out new file mode 100644 index 0000000..831a784 --- /dev/null +++ b/modules/core/test/ref/test31.out @@ -0,0 +1,23 @@ +# testing with conf/test31.conf +[macro:warn] macro 'bla' (defined on line 3 of "./conf/test31.conf"): argument name prefix conflict ($dir #1 and $di #2), be careful about your macro definition! +[macro:warn] macro 'bla' (defined on line 3 of "./conf/test31.conf"): argument name prefix conflict ($dir #1 and $d #4), be careful about your macro definition! +[macro:warn] macro 'bla' (defined on line 3 of "./conf/test31.conf"): argument name prefix conflict ($di #2 and $d #4), be careful about your macro definition! +[macro:warn] macro 'bla' (defined on line 3 of "./conf/test31.conf"): argument name prefix conflict ($dd #3 and $d #4), be careful about your macro definition! +[macro:warn] macro 'bla' (defined on line 3 of "./conf/test31.conf") used on line 8 of "./conf/test31.conf": empty argument #1 +[macro:warn] macro 'bla' (defined on line 3 of "./conf/test31.conf") used on line 8 of "./conf/test31.conf": empty argument #2 +[macro:warn] macro 'foo' (defined on line 10 of "./conf/test31.conf"): argument name prefix conflict ($d #1 and $di #2), be careful about your macro definition! +[macro:warn] macro 'foo' (defined on line 10 of "./conf/test31.conf"): argument name prefix conflict ($d #1 and $dir #3), be careful about your macro definition! +[macro:warn] macro 'foo' (defined on line 10 of "./conf/test31.conf"): argument name prefix conflict ($d #1 and $dd #4), be careful about your macro definition! +[macro:warn] macro 'foo' (defined on line 10 of "./conf/test31.conf"): argument name prefix conflict ($di #2 and $dir #3), be careful about your macro definition! +[macro:warn] macro 'foo' (defined on line 10 of "./conf/test31.conf"): argument '$d' (#1) never used +[macro:warn] macro 'foo' (defined on line 10 of "./conf/test31.conf"): argument '$di' (#2) never used +[macro:warn] macro 'foo' (defined on line 10 of "./conf/test31.conf"): argument '$dir' (#3) never used +[macro:warn] macro 'foo' (defined on line 10 of "./conf/test31.conf"): argument '$dd' (#4) never used +[macro:warn] macro 'foo' (defined on line 10 of "./conf/test31.conf") used on line 14 of "./conf/test31.conf": empty argument #1 +[macro:warn] macro 'foo' (defined on line 10 of "./conf/test31.conf") used on line 14 of "./conf/test31.conf": empty argument #2 +[core:warn] argument name conflicts on line 1 of macro 'bla' (defined on line 3 of "./conf/test31.conf") used on line 8 of "./conf/test31.conf" +[core:warn] conflicts, but arguments are not used on line 1 of macro 'foo' (defined on line 10 of "./conf/test31.conf") used on line 14 of "./conf/test31.conf" +[core:error] done on line 16. on line 16 of ./conf/test31.conf +AH00526: Syntax error on line 16 of ./conf/test31.conf: +Configuration processing stopped by Error directive +# exit: 1 diff --git a/modules/core/test/ref/test32.out b/modules/core/test/ref/test32.out new file mode 100644 index 0000000..b1620af --- /dev/null +++ b/modules/core/test/ref/test32.out @@ -0,0 +1,3 @@ +# testing with conf/test32.conf +httpd: Syntax error on line 3 of ./conf/test32.conf: argument name conflict in macro 'foo' (defined on line 3 of "./conf/test32.conf"): argument '$arg2': #2 and #4, change argument names! +# exit: 1 diff --git a/modules/core/test/ref/test33.out b/modules/core/test/ref/test33.out new file mode 100644 index 0000000..cc5b3d0 --- /dev/null +++ b/modules/core/test/ref/test33.out @@ -0,0 +1,3 @@ +# testing with conf/test33.conf +httpd: Syntax error on line 3 of ./conf/test33.conf: no macro defined before Use +# exit: 1 diff --git a/modules/core/test/ref/test34.out b/modules/core/test/ref/test34.out new file mode 100644 index 0000000..1264a54 --- /dev/null +++ b/modules/core/test/ref/test34.out @@ -0,0 +1,13 @@ +# testing with conf/test34.conf +[macro:warn] macro 'foo' (defined on line 3 of "./conf/test34.conf"): argument name prefix conflict ($d #1 and $dd #2), be careful about your macro definition! +[macro:warn] macro 'foo' (defined on line 3 of "./conf/test34.conf"): argument '$d' (#1) never used +[macro:warn] macro 'foo' (defined on line 3 of "./conf/test34.conf"): argument '$dd' (#2) never used +[macro:warn] macro 'bla' (defined on line 7 of "./conf/test34.conf"): argument name prefix conflict ($dd #1 and $d #2), be careful about your macro definition! +[macro:warn] macro 'bla' (defined on line 7 of "./conf/test34.conf"): argument '$dd' (#1) never used +[macro:warn] macro 'bla' (defined on line 7 of "./conf/test34.conf"): argument '$d' (#2) never used +[core:warn] macro foo conflict one on line 1 of macro 'foo' (defined on line 3 of "./conf/test34.conf") used on line 11 of "./conf/test34.conf" +[core:warn] macro bla conflict two on line 1 of macro 'bla' (defined on line 7 of "./conf/test34.conf") used on line 12 of "./conf/test34.conf" +[core:error] done on line 14. on line 14 of ./conf/test34.conf +AH00526: Syntax error on line 14 of ./conf/test34.conf: +Configuration processing stopped by Error directive +# exit: 1 diff --git a/modules/core/test/ref/test35.out b/modules/core/test/ref/test35.out new file mode 100644 index 0000000..fb56238 --- /dev/null +++ b/modules/core/test/ref/test35.out @@ -0,0 +1,13 @@ +# testing with conf/test35.conf +[macro:warn] macro 'warnings' (defined on line 3 of "./conf/test35.conf") argument name 'u1' (#1) without expected prefix, better prefix argument names with one of '$%@'. +[macro:warn] macro 'warnings' (defined on line 3 of "./conf/test35.conf") argument name 'u2' (#2) without expected prefix, better prefix argument names with one of '$%@'. +[macro:warn] macro 'warnings' (defined on line 3 of "./conf/test35.conf") argument name 'n1' (#3) without expected prefix, better prefix argument names with one of '$%@'. +[macro:warn] macro 'warnings' (defined on line 3 of "./conf/test35.conf") argument name 'n2' (#4) without expected prefix, better prefix argument names with one of '$%@'. +[macro:warn] macro 'warnings' (defined on line 3 of "./conf/test35.conf") argument name 'u3' (#5) without expected prefix, better prefix argument names with one of '$%@'. +[macro:warn] macro 'warnings' (defined on line 3 of "./conf/test35.conf"): argument 'n1' (#3) never used +[macro:warn] macro 'warnings' (defined on line 3 of "./conf/test35.conf"): argument 'n2' (#4) never used +[core:warn] macro cannot be used just within a comment 1 2 5 on line 1 of macro 'warnings' (defined on line 3 of "./conf/test35.conf") used on line 8 of "./conf/test35.conf" +[core:error] done on line 10. on line 10 of ./conf/test35.conf +AH00526: Syntax error on line 10 of ./conf/test35.conf: +Configuration processing stopped by Error directive +# exit: 1 diff --git a/modules/core/test/ref/test36.out b/modules/core/test/ref/test36.out new file mode 100644 index 0000000..4c627d7 --- /dev/null +++ b/modules/core/test/ref/test36.out @@ -0,0 +1,20 @@ +# testing with conf/test36.conf +[macro:warn] macro 'warnings' (defined on line 1 of "./conf/test36.conf"): argument name prefix conflict ($u #1 and $u1 #3), be careful about your macro definition! +[macro:warn] macro 'warnings' (defined on line 1 of "./conf/test36.conf"): argument name prefix conflict ($u #1 and $u2 #5), be careful about your macro definition! +[macro:warn] macro 'warnings' (defined on line 1 of "./conf/test36.conf"): argument name prefix conflict ($n #2 and $n1 #4), be careful about your macro definition! +[macro:warn] macro 'warnings' (defined on line 1 of "./conf/test36.conf"): argument name prefix conflict ($n #2 and $n2 #6), be careful about your macro definition! +[macro:warn] macro 'warnings' (defined on line 1 of "./conf/test36.conf"): argument '$n' (#2) never used +[macro:warn] macro 'warnings' (defined on line 1 of "./conf/test36.conf"): argument '$n1' (#4) never used +[macro:warn] macro 'warnings' (defined on line 1 of "./conf/test36.conf"): argument '$n2' (#6) never used +[macro:warn] macro 'warnings' (defined on line 1 of "./conf/test36.conf") used on line 10 of "./conf/test36.conf": empty argument #1 +[macro:warn] macro 'warnings' (defined on line 1 of "./conf/test36.conf") used on line 10 of "./conf/test36.conf": empty argument #2 +[macro:warn] macro 'warnings' (defined on line 1 of "./conf/test36.conf") used on line 10 of "./conf/test36.conf": empty argument #3 +[macro:warn] macro 'warnings' (defined on line 1 of "./conf/test36.conf") used on line 10 of "./conf/test36.conf": empty argument #4 +[macro:warn] macro 'warnings' (defined on line 1 of "./conf/test36.conf") used on line 10 of "./conf/test36.conf": empty argument #5 +[macro:warn] macro 'warnings' (defined on line 1 of "./conf/test36.conf") used on line 10 of "./conf/test36.conf": empty argument #6 +[core:warn] many warnings! 1 3 5 on line 1 of macro 'warnings' (defined on line 1 of "./conf/test36.conf") used on line 7 of "./conf/test36.conf" +[core:warn] many warnings! on line 1 of macro 'warnings' (defined on line 1 of "./conf/test36.conf") used on line 10 of "./conf/test36.conf" +[core:error] done! on line 12 of ./conf/test36.conf +AH00526: Syntax error on line 12 of ./conf/test36.conf: +Configuration processing stopped by Error directive +# exit: 1 diff --git a/modules/core/test/ref/test37.out b/modules/core/test/ref/test37.out new file mode 100644 index 0000000..fc119c8 --- /dev/null +++ b/modules/core/test/ref/test37.out @@ -0,0 +1,3 @@ +# testing with conf/test37.conf +httpd: Syntax error on line 3 of ./conf/test37.conf: macro 'stupid' (defined on line 3 of "./conf/test37.conf"): empty argument #1 name +# exit: 1 diff --git a/modules/core/test/ref/test38.out b/modules/core/test/ref/test38.out new file mode 100644 index 0000000..ed3f1bb --- /dev/null +++ b/modules/core/test/ref/test38.out @@ -0,0 +1,6 @@ +# testing with conf/test38.conf +[core:warn] it is really a good idea to have mod_macro.c installed. on line 4 of ./conf/test38.conf +[core:error] it seems you do not have mod perl installed. on line 8 of ./conf/test38.conf +AH00526: Syntax error on line 8 of ./conf/test38.conf: +Configuration processing stopped by Error directive +# exit: 1 diff --git a/modules/core/test/ref/test39.out b/modules/core/test/ref/test39.out new file mode 100644 index 0000000..ea2cede --- /dev/null +++ b/modules/core/test/ref/test39.out @@ -0,0 +1,7 @@ +# testing with conf/test39.conf +[core:warn] Thanks for using mod_macro! on line 1 of macro 'modmacro' (defined on line 4 of "./conf/test39.conf") used on line 15 of "./conf/test39.conf" +[core:warn] macro foo on line 1 of macro 'foo' (defined on line 17 of "./conf/test39.conf") used on line 21 of "./conf/test39.conf" +[core:error] done! on line 23 of ./conf/test39.conf +AH00526: Syntax error on line 23 of ./conf/test39.conf: +Configuration processing stopped by Error directive +# exit: 1 diff --git a/modules/core/test/ref/test40.out b/modules/core/test/ref/test40.out new file mode 100644 index 0000000..e3c5971 --- /dev/null +++ b/modules/core/test/ref/test40.out @@ -0,0 +1,18 @@ +# testing with conf/test40.conf +AH00112: Warning: DocumentRoot [/foo/document/root/directory] does not exist +[core:warn] location /A on line 2 of macro 'subdiraccesscontrol' (defined on line 7 of "./conf/test40.conf") used on line 15 of "./conf/test40.conf" +[core:warn] location /B on line 2 of macro 'subdiraccesscontrol' (defined on line 7 of "./conf/test40.conf") used on line 16 of "./conf/test40.conf" +[core:warn] location /C on line 2 of macro 'subdiraccesscontrol' (defined on line 7 of "./conf/test40.conf") used on line 17 of "./conf/test40.conf" +[core:warn] location /D on line 2 of macro 'subdiraccesscontrol' (defined on line 7 of "./conf/test40.conf") used on line 18 of "./conf/test40.conf" +[core:warn] location /E on line 2 of macro 'subdiraccesscontrol' (defined on line 7 of "./conf/test40.conf") used on line 19 of "./conf/test40.conf" +[core:warn] location /G on line 2 of macro 'subdiraccesscontrol' (defined on line 7 of "./conf/test40.conf") used on line 20 of "./conf/test40.conf" +[core:warn] location /H on line 2 of macro 'subdiraccesscontrol' (defined on line 7 of "./conf/test40.conf") used on line 21 of "./conf/test40.conf" +[core:warn] location /J on line 2 of macro 'subdiraccesscontrol' (defined on line 7 of "./conf/test40.conf") used on line 22 of "./conf/test40.conf" +[core:warn] location /K on line 2 of macro 'subdiraccesscontrol' (defined on line 7 of "./conf/test40.conf") used on line 23 of "./conf/test40.conf" +[core:warn] location /L on line 2 of macro 'subdiraccesscontrol' (defined on line 7 of "./conf/test40.conf") used on line 24 of "./conf/test40.conf" +[core:warn] location /M on line 2 of macro 'subdiraccesscontrol' (defined on line 7 of "./conf/test40.conf") used on line 25 of "./conf/test40.conf" +[core:warn] location /N on line 2 of macro 'subdiraccesscontrol' (defined on line 7 of "./conf/test40.conf") used on line 26 of "./conf/test40.conf" +[core:error] Stop configuration file processing. on line 33 of ./conf/test40.conf +AH00526: Syntax error on line 33 of ./conf/test40.conf: +Configuration processing stopped by Error directive +# exit: 1 diff --git a/modules/core/test/ref/test41.out b/modules/core/test/ref/test41.out new file mode 100644 index 0000000..3bef285 --- /dev/null +++ b/modules/core/test/ref/test41.out @@ -0,0 +1,9 @@ +# testing with conf/test41.conf +AH00112: Warning: DocumentRoot [/foo/document/root/directory] does not exist +[core:warn] location /A on line 7 of ./conf/test41.conf +[core:warn] location /B on line 11 of ./conf/test41.conf +[core:warn] location /C on line 15 of ./conf/test41.conf +[core:error] Stop configuration file processing. on line 20 of ./conf/test41.conf +AH00526: Syntax error on line 20 of ./conf/test41.conf: +Configuration processing stopped by Error directive +# exit: 1 diff --git a/modules/core/test/ref/test42.out b/modules/core/test/ref/test42.out new file mode 100644 index 0000000..bab1510 --- /dev/null +++ b/modules/core/test/ref/test42.out @@ -0,0 +1,15 @@ +# testing with conf/test42.conf +[macro:warn] macro 'foo' (defined on line 3 of "./conf/test42.conf") used on line 7 of "./conf/test42.conf": empty argument #1 +[macro:warn] macro 'foo' (defined on line 3 of "./conf/test42.conf") used on line 8 of "./conf/test42.conf": empty argument #1 +[macro:warn] macro 'foo' (defined on line 3 of "./conf/test42.conf") used on line 9 of "./conf/test42.conf": empty argument #1 +[macro:warn] macro 'foo' (defined on line 3 of "./conf/test42.conf") used on line 10 of "./conf/test42.conf": empty argument #1 +[macro:warn] macro 'foo' (defined on line 3 of "./conf/test42.conf") used on line 11 of "./conf/test42.conf": empty argument #1 +[core:warn] macro foo on line 1 of macro 'foo' (defined on line 3 of "./conf/test42.conf") used on line 7 of "./conf/test42.conf" +[core:warn] macro foo on line 1 of macro 'foo' (defined on line 3 of "./conf/test42.conf") used on line 8 of "./conf/test42.conf" +[core:warn] macro foo on line 1 of macro 'foo' (defined on line 3 of "./conf/test42.conf") used on line 9 of "./conf/test42.conf" +[core:warn] macro foo on line 1 of macro 'foo' (defined on line 3 of "./conf/test42.conf") used on line 10 of "./conf/test42.conf" +[core:warn] macro foo on line 1 of macro 'foo' (defined on line 3 of "./conf/test42.conf") used on line 11 of "./conf/test42.conf" +[core:error] done on line 13. on line 13 of ./conf/test42.conf +AH00526: Syntax error on line 13 of ./conf/test42.conf: +Configuration processing stopped by Error directive +# exit: 1 diff --git a/modules/core/test/ref/test43.out b/modules/core/test/ref/test43.out new file mode 100644 index 0000000..04a72d8 --- /dev/null +++ b/modules/core/test/ref/test43.out @@ -0,0 +1,8 @@ +# testing with conf/test43.conf +[macro:warn] bad cumulated nesting (+1) in macro 'begindir' (defined on line 3 of "./conf/test43.conf") +[macro:warn] bad (negative) nesting on line 2 of macro 'enddir' (defined on line 8 of "./conf/test43.conf") +[macro:warn] bad cumulated nesting (-1) in macro 'enddir' (defined on line 8 of "./conf/test43.conf") +[core:error] ok! on line 29 of ./conf/test43.conf +AH00526: Syntax error on line 29 of ./conf/test43.conf: +Configuration processing stopped by Error directive +# exit: 1 diff --git a/modules/core/test/ref/test44.out b/modules/core/test/ref/test44.out new file mode 100644 index 0000000..e744cda --- /dev/null +++ b/modules/core/test/ref/test44.out @@ -0,0 +1,5 @@ +# testing with conf/test44.conf +[core:error] okay. on line 19 of ./conf/test44.conf +AH00526: Syntax error on line 19 of ./conf/test44.conf: +Configuration processing stopped by Error directive +# exit: 1 diff --git a/modules/core/test/ref/test45.out b/modules/core/test/ref/test45.out new file mode 100644 index 0000000..daadaac --- /dev/null +++ b/modules/core/test/ref/test45.out @@ -0,0 +1,19 @@ +# testing with conf/test45.conf +[macro:warn] macro 'warnings' (defined on line 3 of "./conf/test45.conf") argument name '&3' (#3) without expected prefix, better prefix argument names with one of '$%@'. +[macro:warn] macro 'warnings' (defined on line 3 of "./conf/test45.conf") argument name '#5' (#5) without expected prefix, better prefix argument names with one of '$%@'. +[macro:warn] macro 'warnings' (defined on line 3 of "./conf/test45.conf") argument name '~6' (#6) without expected prefix, better prefix argument names with one of '$%@'. +[macro:warn] macro 'warnings' (defined on line 3 of "./conf/test45.conf") argument name '*7' (#7) without expected prefix, better prefix argument names with one of '$%@'. +[macro:warn] macro 'warnings' (defined on line 3 of "./conf/test45.conf") argument name '.8' (#8) without expected prefix, better prefix argument names with one of '$%@'. +[macro:warn] macro 'warnings' (defined on line 3 of "./conf/test45.conf") argument name ',9' (#9) without expected prefix, better prefix argument names with one of '$%@'. +[macro:warn] macro 'warnings' (defined on line 3 of "./conf/test45.conf") argument name '!a' (#10) without expected prefix, better prefix argument names with one of '$%@'. +[macro:warn] macro 'warnings' (defined on line 3 of "./conf/test45.conf") argument name '-b' (#11) without expected prefix, better prefix argument names with one of '$%@'. +[macro:warn] macro 'warnings' (defined on line 3 of "./conf/test45.conf") argument name '+c' (#12) without expected prefix, better prefix argument names with one of '$%@'. +[macro:warn] macro 'warnings' (defined on line 3 of "./conf/test45.conf") argument name '=d' (#13) without expected prefix, better prefix argument names with one of '$%@'. +[macro:warn] macro 'warnings' (defined on line 3 of "./conf/test45.conf") argument name ':e' (#14) without expected prefix, better prefix argument names with one of '$%@'. +[macro:warn] macro 'warnings' (defined on line 3 of "./conf/test45.conf") argument name ';f' (#15) without expected prefix, better prefix argument names with one of '$%@'. +[macro:warn] macro 'warnings' (defined on line 3 of "./conf/test45.conf") argument name '?g' (#16) without expected prefix, better prefix argument names with one of '$%@'. +[macro:warn] macro 'warnings' (defined on line 3 of "./conf/test45.conf"): empty contents! +[core:error] done on line 7. on line 7 of ./conf/test45.conf +AH00526: Syntax error on line 7 of ./conf/test45.conf: +Configuration processing stopped by Error directive +# exit: 1 diff --git a/modules/core/test/ref/test46.out b/modules/core/test/ref/test46.out new file mode 100644 index 0000000..8059744 --- /dev/null +++ b/modules/core/test/ref/test46.out @@ -0,0 +1,9 @@ +# testing with conf/test46.conf +[macro:warn] macro '$i' (defined on line 3 of "./conf/test46.conf") better prefix a macro name with any of '$%@' +[macro:warn] macro '$i' (defined on line 3 of "./conf/test46.conf"): empty contents! +[macro:warn] macro 'warnings' (defined on line 7 of "./conf/test46.conf") argument name 'second' (#2) without expected prefix, better prefix argument names with one of '$%@'. +[macro:warn] macro 'warnings' (defined on line 7 of "./conf/test46.conf"): empty contents! +[core:error] okay. on line 11 of ./conf/test46.conf +AH00526: Syntax error on line 11 of ./conf/test46.conf: +Configuration processing stopped by Error directive +# exit: 1 diff --git a/modules/core/test/ref/test47.out b/modules/core/test/ref/test47.out new file mode 100644 index 0000000..58fb3cc --- /dev/null +++ b/modules/core/test/ref/test47.out @@ -0,0 +1,8 @@ +# testing with conf/test47.conf +[macro:warn] macro 'foo' (defined on line 3 of "./conf/test47.conf"): empty contents! +[macro:warn] macro 'bla' (defined on line 8 of "./conf/test47.conf"): empty contents! +[macro:warn] macro 'bof' (defined on line 11 of "./conf/test47.conf"): empty contents! +[core:error] okay. on line 15 of ./conf/test47.conf +AH00526: Syntax error on line 15 of ./conf/test47.conf: +Configuration processing stopped by Error directive +# exit: 1 diff --git a/modules/core/test/ref/test48.out b/modules/core/test/ref/test48.out new file mode 100644 index 0000000..6ac5e99 --- /dev/null +++ b/modules/core/test/ref/test48.out @@ -0,0 +1,20 @@ +# testing with conf/test48.conf +[core:warn] 1 on line 1 of macro 'm' (defined on line 3 of "./conf/test48.conf") used on line 7 of "./conf/test48.conf" +[core:warn] 12 on line 1 of macro 'm' (defined on line 3 of "./conf/test48.conf") used on line 8 of "./conf/test48.conf" +[core:warn] 123 on line 1 of macro 'm' (defined on line 3 of "./conf/test48.conf") used on line 9 of "./conf/test48.conf" +[core:warn] 1234 on line 1 of macro 'm' (defined on line 3 of "./conf/test48.conf") used on line 10 of "./conf/test48.conf" +[core:warn] 12345 on line 1 of macro 'm' (defined on line 3 of "./conf/test48.conf") used on line 11 of "./conf/test48.conf" +[core:warn] 123456 on line 1 of macro 'm' (defined on line 3 of "./conf/test48.conf") used on line 12 of "./conf/test48.conf" +[core:warn] 1234567 on line 1 of macro 'm' (defined on line 3 of "./conf/test48.conf") used on line 13 of "./conf/test48.conf" +[core:warn] 12345678 on line 1 of macro 'm' (defined on line 3 of "./conf/test48.conf") used on line 14 of "./conf/test48.conf" +[core:warn] 123456789 on line 1 of macro 'm' (defined on line 3 of "./conf/test48.conf") used on line 15 of "./conf/test48.conf" +[core:warn] 1234567890 on line 1 of macro 'm' (defined on line 3 of "./conf/test48.conf") used on line 16 of "./conf/test48.conf" +[core:warn] 1234567890a on line 1 of macro 'm' (defined on line 3 of "./conf/test48.conf") used on line 17 of "./conf/test48.conf" +[core:warn] 1234567890ab on line 1 of macro 'm' (defined on line 3 of "./conf/test48.conf") used on line 18 of "./conf/test48.conf" +[core:warn] 1234567890abc on line 1 of macro 'm' (defined on line 3 of "./conf/test48.conf") used on line 19 of "./conf/test48.conf" +[core:warn] 1234567890abcd on line 1 of macro 'm' (defined on line 3 of "./conf/test48.conf") used on line 20 of "./conf/test48.conf" +[core:warn] 1234567890abcde on line 1 of macro 'm' (defined on line 3 of "./conf/test48.conf") used on line 21 of "./conf/test48.conf" +[core:error] done line 23. on line 23 of ./conf/test48.conf +AH00526: Syntax error on line 23 of ./conf/test48.conf: +Configuration processing stopped by Error directive +# exit: 1 diff --git a/modules/core/test/ref/test49.out b/modules/core/test/ref/test49.out new file mode 100644 index 0000000..5e83e02 --- /dev/null +++ b/modules/core/test/ref/test49.out @@ -0,0 +1,3 @@ +# testing with conf/test49.conf +httpd: Syntax error on line 2 of ./conf/test49.conf: no macro defined before UndefMacro +# exit: 1 diff --git a/modules/core/test/ref/test50.out b/modules/core/test/ref/test50.out new file mode 100644 index 0000000..477e854 --- /dev/null +++ b/modules/core/test/ref/test50.out @@ -0,0 +1,3 @@ +# testing with conf/test50.conf +httpd: Syntax error on line 5 of ./conf/test50.conf: cannot remove undefined macro 'bla' +# exit: 1 diff --git a/modules/core/test/ref/test51.out b/modules/core/test/ref/test51.out new file mode 100644 index 0000000..be9cc17 --- /dev/null +++ b/modules/core/test/ref/test51.out @@ -0,0 +1,3 @@ +# testing with conf/test51.conf +httpd: Syntax error on line 9 of ./conf/test51.conf: macro 'foo' undefined +# exit: 1 diff --git a/modules/core/test/ref/test52.out b/modules/core/test/ref/test52.out new file mode 100644 index 0000000..f41b7d6 --- /dev/null +++ b/modules/core/test/ref/test52.out @@ -0,0 +1,6 @@ +# testing with conf/test52.conf +[core:warn] foo macro contents line 1 on line 1 of macro 'foo' (defined on line 2 of "./conf/test52.conf") used on line 5 of "./conf/test52.conf" +[core:error] done line 8. on line 8 of ./conf/test52.conf +AH00526: Syntax error on line 8 of ./conf/test52.conf: +Configuration processing stopped by Error directive +# exit: 1 diff --git a/modules/core/test/ref/test53.out b/modules/core/test/ref/test53.out new file mode 100644 index 0000000..2fb3852 --- /dev/null +++ b/modules/core/test/ref/test53.out @@ -0,0 +1,3 @@ +# testing with conf/test53.conf +httpd: Syntax error on line 2 of ./conf/test53.conf: no macro defined before Use +# exit: 1 diff --git a/modules/core/test/ref/test54.out b/modules/core/test/ref/test54.out new file mode 100644 index 0000000..814b491 --- /dev/null +++ b/modules/core/test/ref/test54.out @@ -0,0 +1,6 @@ +# testing with conf/test54.conf +[macro:warn] macro 'foo' (defined on line 2 of "./conf/test54.conf"): empty contents! +[core:error] done line 6. on line 6 of ./conf/test54.conf +AH00526: Syntax error on line 6 of ./conf/test54.conf: +Configuration processing stopped by Error directive +# exit: 1 diff --git a/modules/core/test/ref/test55.out b/modules/core/test/ref/test55.out new file mode 100644 index 0000000..c3590f9 --- /dev/null +++ b/modules/core/test/ref/test55.out @@ -0,0 +1,8 @@ +# testing with conf/test55.conf +[core:warn] macro foo(:2) line 1 (file line 9) on line 1 of macro 'foo' (defined on line 2 of "./conf/test55.conf") used on line 9 of "./conf/test55.conf" +[core:warn] macro bla(:5) line 1 (file line 10) on line 1 of macro 'bla' (defined on line 5 of "./conf/test55.conf") used on line 10 of "./conf/test55.conf" +[core:warn] macro foo(:2) line 1 (bla line 2) on line 1 of macro 'foo' (defined on line 2 of "./conf/test55.conf") used on line 2 of "macro 'bla' (defined on line 5 of "./conf/test55.conf") used on line 10 of "./conf/test55.conf"" +[core:error] done line 11. on line 11 of ./conf/test55.conf +AH00526: Syntax error on line 11 of ./conf/test55.conf: +Configuration processing stopped by Error directive +# exit: 1 diff --git a/modules/core/test/ref/test56.out b/modules/core/test/ref/test56.out new file mode 100644 index 0000000..f2a0b6e --- /dev/null +++ b/modules/core/test/ref/test56.out @@ -0,0 +1,12 @@ +# testing with conf/test56.conf +[macro:warn] bad cumulated nesting (+1) in macro 'open' (defined on line 2 of "./conf/test56.conf") +[macro:warn] bad (negative) nesting on line 3 of macro 'close' (defined on line 6 of "./conf/test56.conf") +[macro:warn] bad cumulated nesting (-1) in macro 'close' (defined on line 6 of "./conf/test56.conf") +[core:warn] Open:2 /tmp on line 2 of macro 'open' (defined on line 2 of "./conf/test56.conf") used on line 12 of "./conf/test56.conf" +[core:warn] Close:1 on line 1 of macro 'close' (defined on line 6 of "./conf/test56.conf") used on line 13 of "./conf/test56.conf" +[core:warn] Open:2 /etc on line 2 of macro 'open' (defined on line 2 of "./conf/test56.conf") used on line 15 of "./conf/test56.conf" +[core:warn] Close:1 on line 1 of macro 'close' (defined on line 6 of "./conf/test56.conf") used on line 16 of "./conf/test56.conf" +[core:error] done line 18. on line 18 of ./conf/test56.conf +AH00526: Syntax error on line 18 of ./conf/test56.conf: +Configuration processing stopped by Error directive +# exit: 1 diff --git a/modules/core/test/ref/test57.out b/modules/core/test/ref/test57.out new file mode 100644 index 0000000..77a1901 --- /dev/null +++ b/modules/core/test/ref/test57.out @@ -0,0 +1,3 @@ +# testing with conf/test57.conf +httpd: Syntax error on line 2 of ./conf/test57.conf: macro 'foo' (defined on line 2 of "./conf/test57.conf"): empty argument #2 name +# exit: 1 diff --git a/modules/core/test/ref/test58.out b/modules/core/test/ref/test58.out new file mode 100644 index 0000000..0ece028 --- /dev/null +++ b/modules/core/test/ref/test58.out @@ -0,0 +1,3 @@ +# testing with conf/test58.conf +httpd: Syntax error on line 2 of ./conf/test58.conf: <Macro> directive missing closing '>' +# exit: 1 diff --git a/modules/core/test/ref/test59.out b/modules/core/test/ref/test59.out new file mode 100644 index 0000000..7895917 --- /dev/null +++ b/modules/core/test/ref/test59.out @@ -0,0 +1,3 @@ +# testing with conf/test59.conf +httpd: Syntax error on line 2 of ./conf/test59.conf: <Macro macro definition: name not found +# exit: 1 diff --git a/modules/core/test/ref/test60.out b/modules/core/test/ref/test60.out new file mode 100644 index 0000000..cac7002 --- /dev/null +++ b/modules/core/test/ref/test60.out @@ -0,0 +1,15 @@ +# testing with conf/test60.conf +[core:warn] macro Foo arg 1: hello on line 1 of macro 'foo' (defined on line 2 of "./conf/test60.conf") used on line 14 of "./conf/test60.conf" +[core:warn] macro Foo arg 2: world on line 2 of macro 'foo' (defined on line 2 of "./conf/test60.conf") used on line 14 of "./conf/test60.conf" +[core:warn] Macro Bla arg 1: "hello world" on line 1 of macro 'bla' (defined on line 6 of "./conf/test60.conf") used on line 15 of "./conf/test60.conf" +[core:warn] Macro Bla arg 2: "thank you" on line 2 of macro 'bla' (defined on line 6 of "./conf/test60.conf") used on line 15 of "./conf/test60.conf" +[core:warn] macro Foo arg 1: hello world on line 1 of macro 'foo' (defined on line 2 of "./conf/test60.conf") used on line 3 of "macro 'bla' (defined on line 6 of "./conf/test60.conf") used on line 15 of "./conf/test60.conf"" +[core:warn] macro Foo arg 2: second on line 2 of macro 'foo' (defined on line 2 of "./conf/test60.conf") used on line 3 of "macro 'bla' (defined on line 6 of "./conf/test60.conf") used on line 15 of "./conf/test60.conf"" +[core:warn] macro Foo arg 1: first on line 1 of macro 'foo' (defined on line 2 of "./conf/test60.conf") used on line 4 of "macro 'bla' (defined on line 6 of "./conf/test60.conf") used on line 15 of "./conf/test60.conf"" +[core:warn] macro Foo arg 2: thank you on line 2 of macro 'foo' (defined on line 2 of "./conf/test60.conf") used on line 4 of "macro 'bla' (defined on line 6 of "./conf/test60.conf") used on line 15 of "./conf/test60.conf"" +[core:warn] macro Foo arg 1: hello world on line 1 of macro 'foo' (defined on line 2 of "./conf/test60.conf") used on line 5 of "macro 'bla' (defined on line 6 of "./conf/test60.conf") used on line 15 of "./conf/test60.conf"" +[core:warn] macro Foo arg 2: thank you on line 2 of macro 'foo' (defined on line 2 of "./conf/test60.conf") used on line 5 of "macro 'bla' (defined on line 6 of "./conf/test60.conf") used on line 15 of "./conf/test60.conf"" +[core:error] done on line 17. on line 17 of ./conf/test60.conf +AH00526: Syntax error on line 17 of ./conf/test60.conf: +Configuration processing stopped by Error directive +# exit: 1 diff --git a/modules/core/test/ref/test61.out b/modules/core/test/ref/test61.out new file mode 100644 index 0000000..59639c9 --- /dev/null +++ b/modules/core/test/ref/test61.out @@ -0,0 +1,9 @@ +# testing with conf/test61.conf +[core:warn] F4:1 x=line=17 on line 1 of macro 'f4' (defined on line 13 of "./conf/test61.conf") used on line 17 of "./conf/test61.conf" +[core:warn] F3:1 x=line=17 on line 1 of macro 'f3' (defined on line 9 of "./conf/test61.conf") used on line 2 of "macro 'f4' (defined on line 13 of "./conf/test61.conf") used on line 17 of "./conf/test61.conf"" +[core:warn] F2:1 x=line=17 on line 1 of macro 'f2' (defined on line 5 of "./conf/test61.conf") used on line 2 of "macro 'f3' (defined on line 9 of "./conf/test61.conf") used on line 2 of "macro 'f4' (defined on line 13 of "./conf/test61.conf") used on line 17 of "./conf/test61.conf""" +[core:warn] F1:1 x=line=17 on line 1 of macro 'f1' (defined on line 2 of "./conf/test61.conf") used on line 2 of "macro 'f2' (defined on line 5 of "./conf/test61.conf") used on line 2 of "macro 'f3' (defined on line 9 of "./conf/test61.conf") used on line 2 of "macro 'f4' (defined on line 13 of "./conf/test61.conf") used on line 17 of "./conf/test61.conf"""" +[core:error] done line 18. on line 18 of ./conf/test61.conf +AH00526: Syntax error on line 18 of ./conf/test61.conf: +Configuration processing stopped by Error directive +# exit: 1 diff --git a/modules/core/test/ref/test62.out b/modules/core/test/ref/test62.out new file mode 100644 index 0000000..a956e7e --- /dev/null +++ b/modules/core/test/ref/test62.out @@ -0,0 +1,15 @@ +# testing with conf/test62.conf +[core:warn] Line:1-2 start at 11 on line 1 of macro 'line' (defined on line 4 of "./conf/test62.conf") used on line 11 of "./conf/test62.conf" +[core:warn] Line:3-4 stop at 11 on line 2 of macro 'line' (defined on line 4 of "./conf/test62.conf") used on line 11 of "./conf/test62.conf" +[core:warn] Line:1-2 start at 12 on line 1 of macro 'line' (defined on line 4 of "./conf/test62.conf") used on line 13 of "./conf/test62.conf" +[core:warn] Line:3-4 stop at 13 on line 2 of macro 'line' (defined on line 4 of "./conf/test62.conf") used on line 13 of "./conf/test62.conf" +[core:warn] Line:1-2 start at 14 on line 1 of macro 'line' (defined on line 4 of "./conf/test62.conf") used on line 16 of "./conf/test62.conf" +[core:warn] Line:3-4 stop at 16 on line 2 of macro 'line' (defined on line 4 of "./conf/test62.conf") used on line 16 of "./conf/test62.conf" +[core:warn] Line:1-2 start at 17 on line 1 of macro 'line' (defined on line 4 of "./conf/test62.conf") used on line 18 of "./conf/test62.conf" +[core:warn] Line:3-4 stop at 18 on line 2 of macro 'line' (defined on line 4 of "./conf/test62.conf") used on line 18 of "./conf/test62.conf" +[core:warn] Line:1-2 start at 19 on line 1 of macro 'line' (defined on line 4 of "./conf/test62.conf") used on line 23 of "./conf/test62.conf" +[core:warn] Line:3-4 stop at 23 on line 2 of macro 'line' (defined on line 4 of "./conf/test62.conf") used on line 23 of "./conf/test62.conf" +[core:error] done line 25. on line 25 of ./conf/test62.conf +AH00526: Syntax error on line 25 of ./conf/test62.conf: +Configuration processing stopped by Error directive +# exit: 1 diff --git a/modules/core/test/ref/test63.out b/modules/core/test/ref/test63.out new file mode 100644 index 0000000..985710d --- /dev/null +++ b/modules/core/test/ref/test63.out @@ -0,0 +1,10 @@ +# testing with conf/test63.conf +[core:warn] Foo macro at inc63_.conf:5 on line 1 of macro 'foo' (defined on line 2 of "./conf/inc63_1.conf") used on line 5 of "./conf/inc63_1.conf" +[core:warn] Foo macro at test63.conf:3 on line 1 of macro 'foo' (defined on line 2 of "./conf/inc63_1.conf") used on line 3 of "./conf/test63.conf" +[core:warn] Foo macro at inc63_2.conf:2 on line 1 of macro 'foo' (defined on line 2 of "./conf/inc63_1.conf") used on line 2 of "./conf/inc63_2.conf" +[core:warn] Bla at inc63_2.conf:3 on line 1 of macro 'bla' (defined on line 4 of "./conf/test63.conf") used on line 3 of "./conf/inc63_2.conf" +[core:warn] Bla at test63.conf:8 on line 1 of macro 'bla' (defined on line 4 of "./conf/test63.conf") used on line 8 of "./conf/test63.conf" +[core:error] done at line 9. on line 9 of ./conf/test63.conf +AH00526: Syntax error on line 9 of ./conf/test63.conf: +Configuration processing stopped by Error directive +# exit: 1 diff --git a/modules/core/test/ref/test64.out b/modules/core/test/ref/test64.out new file mode 100644 index 0000000..99fec92 --- /dev/null +++ b/modules/core/test/ref/test64.out @@ -0,0 +1,7 @@ +# testing with conf/test64.conf +[core:warn] on line 2 on line 2 of ./conf/test64.conf +[core:warn] from line 3 to line 4 on line 4 of ./conf/test64.conf +[core:error] done on line 5. on line 5 of ./conf/test64.conf +AH00526: Syntax error on line 5 of ./conf/test64.conf: +Configuration processing stopped by Error directive +# exit: 1 diff --git a/modules/core/test/ref/test65.out b/modules/core/test/ref/test65.out new file mode 100644 index 0000000..62882e2 --- /dev/null +++ b/modules/core/test/ref/test65.out @@ -0,0 +1,7 @@ +# testing with conf/test65.conf +[core:warn] Line: on line 6-7 on line 1 of macro 'line' (defined on line 2 of "./conf/test65.conf") used on line 7 of "./conf/test65.conf" +[core:warn] Line: on line 8-10 on line 1 of macro 'line' (defined on line 2 of "./conf/test65.conf") used on line 10 of "./conf/test65.conf" +[core:error] done on line 11. on line 11 of ./conf/test65.conf +AH00526: Syntax error on line 11 of ./conf/test65.conf: +Configuration processing stopped by Error directive +# exit: 1 diff --git a/modules/core/test/ref/test66.out b/modules/core/test/ref/test66.out new file mode 100644 index 0000000..db8616a --- /dev/null +++ b/modules/core/test/ref/test66.out @@ -0,0 +1,7 @@ +# testing with conf/test66.conf +[core:warn] Foo: x=X y=Y on line 1 of macro 'foo' (defined on line 2 of "./conf/test66.conf") used on line 5 of "./conf/test66.conf" +[core:warn] Foo: x=$y y=$x on line 1 of macro 'foo' (defined on line 2 of "./conf/test66.conf") used on line 6 of "./conf/test66.conf" +[core:error] done on line 7. on line 7 of ./conf/test66.conf +AH00526: Syntax error on line 7 of ./conf/test66.conf: +Configuration processing stopped by Error directive +# exit: 1 diff --git a/modules/core/test/ref/test67.out b/modules/core/test/ref/test67.out new file mode 100644 index 0000000..b83f074 --- /dev/null +++ b/modules/core/test/ref/test67.out @@ -0,0 +1,5 @@ +# testing with conf/test67.conf +[core:error] done at line 1 without LF. on line 1 of ./conf/test67.conf +AH00526: Syntax error on line 1 of ./conf/test67.conf: +Configuration processing stopped by Error directive +# exit: 1 diff --git a/modules/core/test/ref/test68.out b/modules/core/test/ref/test68.out new file mode 100644 index 0000000..0289127 --- /dev/null +++ b/modules/core/test/ref/test68.out @@ -0,0 +1,6 @@ +# testing with conf/test68.conf +[core:warn] line 2-3 on line 3 of ./conf/test68.conf +[core:error] done on line 4-5. on line 5 of ./conf/test68.conf +AH00526: Syntax error on line 5 of ./conf/test68.conf: +Configuration processing stopped by Error directive +# exit: 1 diff --git a/modules/core/test/ref/test69.out b/modules/core/test/ref/test69.out new file mode 100644 index 0000000..ac0c1db --- /dev/null +++ b/modules/core/test/ref/test69.out @@ -0,0 +1,10 @@ +# testing with conf/test69.conf +[macro:warn] non blank chars found after <Macro closing '>' on line 2 of ./conf/test69.conf: this stuff is ignored... +[macro:warn] non blank chars found after directive closing on line 4 of ./conf/test69.conf: this stuff is ignored as well... +[core:warn] Foo on line 1 of macro 'foo' (defined on line 2 of "./conf/test69.conf") used on line 5 of "./conf/test69.conf" +[core:warn] Bla on line 1 of macro 'bla' (defined on line 6 of "./conf/test69.conf") used on line 9 of "./conf/test69.conf" +[core:warn] Comments on line 1 of macro 'comments' (defined on line 10 of "./conf/test69.conf") used on line 13 of "./conf/test69.conf" +[core:error] done on line 14. on line 14 of ./conf/test69.conf +AH00526: Syntax error on line 14 of ./conf/test69.conf: +Configuration processing stopped by Error directive +# exit: 1 |