it is always bad to rely on external things
[m6w6/ext-http] / tests / bug66388.phpt
index ac0bff336d4e9b39f6ed3a5cd4fe9a9f1142e19f..e4cbf2ace925966ab1964cfdc92cf1a0b4167148 100644 (file)
@@ -1,8 +1,9 @@
 --TEST--
 Bug #66388 (Crash on POST with Content-Length:0 and untouched body)
 --SKIPIF--
-<?php php
+<?php
 include "skipif.inc";
+skip_online_test();
 ?>
 --FILE--
 <?php
@@ -26,7 +27,7 @@ echo $client->send()->getResponse()->getResponseCode();
 ?>
 
 ===DONE===
---EXPECT--
+--EXPECTF--
 Test
-401
+40%d
 ===DONE===