diff --git a/ext/date/tests/gmstrftime_basic.phpt b/ext/date/tests/gmstrftime_basic.phpt index 17bad69d066ba..1c62edc16a29d 100644 --- a/ext/date/tests/gmstrftime_basic.phpt +++ b/ext/date/tests/gmstrftime_basic.phpt @@ -1,11 +1,13 @@ --TEST-- -Test gmstrftime() function : basic functionality +Test gmstrftime() function : basic functionality +--SKIPIF-- + --FILE-- --FILE-- --FILE-- --FILE-- "%a", 'Full weekday name' => "%A", 'Week number of the year' => "%U", - 'Week number of the year in decimal number' => "%W", + 'Week number of the year in decimal number' => "%W", ); // loop through each element of the array for timestamp diff --git a/ext/date/tests/gmstrftime_variation4.phpt b/ext/date/tests/gmstrftime_variation4.phpt index 619e633a9c176..ca7d4d0d039ba 100644 --- a/ext/date/tests/gmstrftime_variation4.phpt +++ b/ext/date/tests/gmstrftime_variation4.phpt @@ -1,11 +1,13 @@ --TEST-- Test gmstrftime() function : usage variation - Passing month related format strings to format argument. +--SKIPIF-- + --FILE-- --FILE-- "%y", 'Year as decimal number including the century' => "%Y", - 'Time zone offset' => "%Z", + 'Time zone offset' => "%Z", 'Time zone offset' => "%z", ); diff --git a/ext/date/tests/gmstrftime_variation6.phpt b/ext/date/tests/gmstrftime_variation6.phpt index 92dd1ede30481..5b614c37af2d6 100644 --- a/ext/date/tests/gmstrftime_variation6.phpt +++ b/ext/date/tests/gmstrftime_variation6.phpt @@ -1,11 +1,13 @@ --TEST-- Test gmstrftime() function : usage variation - Passing time related format strings to format argument. +--SKIPIF-- + --FILE-- --FILE-- --FILE-- --FILE-- array('pipe', 'r'), 1 => array('pipe', 'w')), @@ -24,7 +26,7 @@ fflush($pipes[0]); fclose($pipes[0]); $cnt = ''; $n=0; -for ($left = strlen($test_string); $left > 0;) { +for ($left = strlen($test_string); $left > 0;) { if (++$n >1000) { print "terminated after 1000 iterations\n"; break; diff --git a/ext/standard/tests/general_functions/bug34794.phpt b/ext/standard/tests/general_functions/bug34794.phpt index fb95a6267f6e4..6f0dd573beffd 100644 --- a/ext/standard/tests/general_functions/bug34794.phpt +++ b/ext/standard/tests/general_functions/bug34794.phpt @@ -3,6 +3,7 @@ Bug #34794 (proc_close() hangs when used with two processes) --SKIPIF-- --FILE-- diff --git a/ext/standard/tests/general_functions/bug44667.phpt b/ext/standard/tests/general_functions/bug44667.phpt index 53290a7a30266..d3ef5826e006f 100644 --- a/ext/standard/tests/general_functions/bug44667.phpt +++ b/ext/standard/tests/general_functions/bug44667.phpt @@ -1,7 +1,10 @@ --TEST-- Bug #44667 (proc_open() does not handle pipes with the mode 'wb' correctly) --SKIPIF-- - + --FILE-- array('pipe', 'rb'), 1 => array('pipe', 'wb'), ); - + $proc = proc_open('cat', $descriptor_spec, $pipes); - + fwrite($pipes[0], 'Hello', 5); fflush($pipes[0]); fclose($pipes[0]); - + $result = fread($pipes[1], 5); fclose($pipes[1]); - + proc_close($proc); - -echo "Result is: ", $result, "\n"; + +echo "Result is: ", $result, "\n"; echo "Done\n"; diff --git a/ext/standard/tests/general_functions/bug72306.phpt b/ext/standard/tests/general_functions/bug72306.phpt index 05c25e6f1e9f0..2ae5e0c889631 100644 --- a/ext/standard/tests/general_functions/bug72306.phpt +++ b/ext/standard/tests/general_functions/bug72306.phpt @@ -1,5 +1,7 @@ --TEST-- Bug #72306 (Heap overflow through proc_open and $env parameter) +--SKIPIF-- + --FILE-- --CREDITS-- Italian PHP TestFest 2009 Cesena 19-20-21 june Fabio Fabbrucci (fabbrucci@grupporetina.com) diff --git a/ext/standard/tests/general_functions/getservbyname_error.phpt b/ext/standard/tests/general_functions/getservbyname_error.phpt index eaeec648889c0..47c8f20d6d90e 100644 --- a/ext/standard/tests/general_functions/getservbyname_error.phpt +++ b/ext/standard/tests/general_functions/getservbyname_error.phpt @@ -1,5 +1,7 @@ --TEST-- Test function getservbyname() by calling it more than or less than its expected arguments +--SKIPIF-- + --CREDITS-- Italian PHP TestFest 2009 Cesena 19-20-21 june Fabio Fabbrucci (fabbrucci@grupporetina.com) @@ -8,7 +10,7 @@ Danilo Sanchi (sanchi@grupporetina.com) --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --CREDITS-- Italian PHP TestFest 2009 Cesena 19-20-21 june Fabio Fabbrucci (fabbrucci@grupporetina.com) diff --git a/ext/standard/tests/general_functions/getservbyport_error.phpt b/ext/standard/tests/general_functions/getservbyport_error.phpt index e2c245b7eabf3..e0d28f7f885a6 100644 --- a/ext/standard/tests/general_functions/getservbyport_error.phpt +++ b/ext/standard/tests/general_functions/getservbyport_error.phpt @@ -1,5 +1,7 @@ --TEST-- Test function getservbyport() by calling it more than or less than its expected arguments +--SKIPIF-- + --CREDITS-- Italian PHP TestFest 2009 Cesena 19-20-21 june Fabio Fabbrucci (fabbrucci@grupporetina.com) @@ -8,7 +10,7 @@ Simone Gentili (sensorario@gmail.com) --FILE-- --DESCRIPTION-- Test function passing invalid port number and invalid protocol name --CREDITS-- @@ -18,7 +20,7 @@ Simone Gentili (sensorario@gmail.com) var_dump(getservbyport( 2, 2)); var_dump(getservbyport( "80", "tcp")); var_dump(getservbyport( new stdClass(), new stdClass())); - + ?> --EXPECTF-- bool(false) diff --git a/ext/standard/tests/general_functions/proc_open02.phpt b/ext/standard/tests/general_functions/proc_open02.phpt index d5d878ed241ba..dab229076edb4 100644 --- a/ext/standard/tests/general_functions/proc_open02.phpt +++ b/ext/standard/tests/general_functions/proc_open02.phpt @@ -2,6 +2,7 @@ proc_open --SKIPIF-- diff --git a/ext/standard/tests/general_functions/proc_open_pipes1.phpt b/ext/standard/tests/general_functions/proc_open_pipes1.phpt index dc104283eb1e8..ae1420db754a3 100644 --- a/ext/standard/tests/general_functions/proc_open_pipes1.phpt +++ b/ext/standard/tests/general_functions/proc_open_pipes1.phpt @@ -1,5 +1,7 @@ --TEST-- -proc_open() with > 16 pipes +proc_open() with > 16 pipes +--SKIPIF-- + --FILE-- --FILE-- --FILE-- --FILE-- ===DONE=== ---EXPECTF-- +--EXPECTF-- *** Testing uniqid() : basic functionality *** uniqid() without a prefix diff --git a/ext/standard/tests/general_functions/uniqid_error.phpt b/ext/standard/tests/general_functions/uniqid_error.phpt index 8f7f22d7d3dea..23e1fa34b704f 100644 --- a/ext/standard/tests/general_functions/uniqid_error.phpt +++ b/ext/standard/tests/general_functions/uniqid_error.phpt @@ -1,9 +1,11 @@ --TEST-- Test uniqid() function : error conditions +--SKIPIF-- + --FILE-- ===DONE=== ---EXPECTF-- +--EXPECTF-- *** Testing uniqid() : error conditions *** -- Testing uniqid() function with more than expected no. of arguments -- @@ -43,4 +45,4 @@ Warning: uniqid() expects parameter 1 to be string, array given in %s on line %d Warning: uniqid() expects parameter 1 to be string, resource given in %s on line %d Warning: uniqid() expects parameter 1 to be string, object given in %s on line %d -===DONE=== \ No newline at end of file +===DONE=== diff --git a/ext/standard/tests/network/getprotobynumber_basic.phpt b/ext/standard/tests/network/getprotobynumber_basic.phpt index 7850e60ffd90c..9f2ba5fe6656f 100644 --- a/ext/standard/tests/network/getprotobynumber_basic.phpt +++ b/ext/standard/tests/network/getprotobynumber_basic.phpt @@ -1,5 +1,7 @@ --TEST-- getprotobynumber function basic test +--SKIPIF-- + --CREDITS-- edgarsandi - --FILE-- diff --git a/ext/standard/tests/network/getprotobynumber_error.phpt b/ext/standard/tests/network/getprotobynumber_error.phpt index 7df12e864a92a..79f7ac97277bf 100644 --- a/ext/standard/tests/network/getprotobynumber_error.phpt +++ b/ext/standard/tests/network/getprotobynumber_error.phpt @@ -1,5 +1,7 @@ --TEST-- getprotobynumber function errors test +--SKIPIF-- + --CREDITS-- edgarsandi - --FILE-- diff --git a/ext/standard/tests/streams/bug46024.phpt b/ext/standard/tests/streams/bug46024.phpt index fdfd03ee2ef97..ca7972d52da93 100644 --- a/ext/standard/tests/streams/bug46024.phpt +++ b/ext/standard/tests/streams/bug46024.phpt @@ -1,10 +1,11 @@ --TEST-- Bug #46024 stream_select() doesn't return the correct number --SKIPIF-- + --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- $max_ms ? 'more' : 'less'), " than $max_ms ms\n"; } diff --git a/ext/standard/tests/time/bug60222.phpt b/ext/standard/tests/time/bug60222.phpt index 8053a81deadb3..ac7e2084dc0a4 100644 --- a/ext/standard/tests/time/bug60222.phpt +++ b/ext/standard/tests/time/bug60222.phpt @@ -1,5 +1,7 @@ --TEST-- Bug #60222 (time_nanosleep() does validate input params) +--SKIPIF-- + --FILE-- --FILE-- -