* renaming tests
[m6w6/ext-http] / tests / abs_uri_001.phpt
diff --git a/tests/abs_uri_001.phpt b/tests/abs_uri_001.phpt
new file mode 100644 (file)
index 0000000..f0da09e
--- /dev/null
@@ -0,0 +1,17 @@
+--TEST--
+http_absolute_uri() with relative paths
+--SKIPIF--
+<?php 
+include 'skip.inc';
+?>
+--FILE--
+<?php
+echo http_absolute_uri('page'), "\n";
+echo http_absolute_uri('with/some/path/'), "\n";
+?>
+--EXPECTF--
+Content-type: text/html
+X-Powered-By: PHP/%s
+
+http://localhost/page
+http://localhost/with/some/path/