- wrong file
authorMichael Wallner <mike@php.net>
Sun, 24 Jul 2005 18:23:03 +0000 (18:23 +0000)
committerMichael Wallner <mike@php.net>
Sun, 24 Jul 2005 18:23:03 +0000 (18:23 +0000)
tests/INI_001.diff [deleted file]
tests/INI_001.phpt [new file with mode: 0644]

diff --git a/tests/INI_001.diff b/tests/INI_001.diff
deleted file mode 100644 (file)
index ee158d0..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-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/INI_001.phpt b/tests/INI_001.phpt
new file mode 100644 (file)
index 0000000..b960811
--- /dev/null
@@ -0,0 +1,23 @@
+--TEST--
+INI entries
+--SKIPIF--
+<?php
+include 'skip.inc';
+?>
+--FILE--
+<?php
+echo "-TEST\n";
+var_dump(ini_set('http.cache_log', 'cache.log'));
+var_dump(ini_get('http.cache_log'));
+var_dump(ini_set('http.allowed_methods', 'POST, HEAD, GET'));
+var_dump(ini_get('http.allowed_methods'));
+echo "Done\n";
+?>
+--EXPECTF--
+%sTEST
+bool(true)
+string(9) "cache.log"
+bool(true)
+string(15) "POST, HEAD, GET"
+Done
+