From: Michael Wallner Date: Sun, 24 Jul 2005 18:22:12 +0000 (+0000) Subject: - add tests X-Git-Tag: RELEASE_0_10_0~7 X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=commitdiff_plain;h=570de60437d8e6edae76edcf449213d3123b19cc - add tests --- diff --git a/tests/INI_001.diff b/tests/INI_001.diff new file mode 100644 index 0000000..ee158d0 --- /dev/null +++ b/tests/INI_001.diff @@ -0,0 +1,7 @@ +001+ +001- %sTEST +002- bool(true) +003- string(9) "cache.log" +004- bool(true) +005- string(15) "POST, HEAD, GET" +006- Done \ No newline at end of file diff --git a/tests/allowed_methods_001.phpt b/tests/allowed_methods_001.phpt new file mode 100644 index 0000000..2f2c4e7 --- /dev/null +++ b/tests/allowed_methods_001.phpt @@ -0,0 +1,18 @@ +--TEST-- +allowed methods +--SKIPIF-- + +--FILE-- + +--EXPECTF-- +Status: 405 +Content-type: %s +X-Powered-By: PHP/%s +Allow: POST +