summaryrefslogtreecommitdiff
path: root/sapi
diff options
context:
space:
mode:
authorFabien Villepinte <fabien.villepinte@gmail.com>2019-11-07 21:31:47 +0100
committerFabien Villepinte <fabien.villepinte@gmail.com>2019-11-07 21:31:47 +0100
commita555cc0b3d4f745e6d0bb8c595de400a0c728827 (patch)
tree61afac4216a8e7e629a878b8a873d8b32b7cf4a4 /sapi
parent80cfd990740aef314b7943a3fa18c27a23f40566 (diff)
downloadphp-git-a555cc0b3d4f745e6d0bb8c595de400a0c728827.tar.gz
Clean DONE tags from tests
Remove most of the `===DONE===` tags and its variations. Keep `===DONE===` if the test output otherwise becomes empty. Closes GH-4872.
Diffstat (limited to 'sapi')
-rw-r--r--sapi/cgi/tests/007.phpt2
-rw-r--r--sapi/cgi/tests/apache_response_headers.phpt2
-rw-r--r--sapi/cgi/tests/bug75574_utf8.phpt2
-rw-r--r--sapi/cli/tests/003-2.phpt2
-rw-r--r--sapi/cli/tests/010.phpt2
-rw-r--r--sapi/cli/tests/argv_mb.phpt2
-rw-r--r--sapi/cli/tests/argv_mb_bug77111.phpt2
7 files changed, 0 insertions, 14 deletions
diff --git a/sapi/cgi/tests/007.phpt b/sapi/cgi/tests/007.phpt
index 950f451083..96062486e0 100644
--- a/sapi/cgi/tests/007.phpt
+++ b/sapi/cgi/tests/007.phpt
@@ -13,10 +13,8 @@ var_dump(`"$php" -n -f some.php -f some.php`);
var_dump(`"$php" -n -s -w -l`);
?>
-===DONE===
--EXPECT--
string(25) "No input file specified.
"
string(49) "No syntax errors detected in Standard input code
"
-===DONE===
diff --git a/sapi/cgi/tests/apache_response_headers.phpt b/sapi/cgi/tests/apache_response_headers.phpt
index 99b1352680..bb8b3032ad 100644
--- a/sapi/cgi/tests/apache_response_headers.phpt
+++ b/sapi/cgi/tests/apache_response_headers.phpt
@@ -31,7 +31,6 @@ file_put_contents( $test_file, $code );
passthru( "$php -n -q " . escapeshellarg( $test_file ) );
?>
-===DONE===
--CLEAN--
<?php
@unlink( __DIR__ . DIRECTORY_SEPARATOR ."apache_response_headers.test.php" );
@@ -45,4 +44,3 @@ array(3) {
["Content-type"]=>
string(24) "text/html; charset=UTF-8"
}
-===DONE===
diff --git a/sapi/cgi/tests/bug75574_utf8.phpt b/sapi/cgi/tests/bug75574_utf8.phpt
index d7f0e3e5ee..9cbd51abfb 100644
--- a/sapi/cgi/tests/bug75574_utf8.phpt
+++ b/sapi/cgi/tests/bug75574_utf8.phpt
@@ -24,8 +24,6 @@ echo shell_exec("$php -n -f $fn");
unlink($fn);
?>
-===DONE===
--EXPECT--
bool(true)
string(3) "啊"
-===DONE===
diff --git a/sapi/cli/tests/003-2.phpt b/sapi/cli/tests/003-2.phpt
index 6b8957e644..71ef7163be 100644
--- a/sapi/cli/tests/003-2.phpt
+++ b/sapi/cli/tests/003-2.phpt
@@ -16,10 +16,8 @@ var_dump(`"$php" -nd max_execution_time=111 -r 'var_dump(ini_get("max_execution_
var_dump(`"$php" -nd max_execution_time=500 -r 'var_dump(ini_get("max_execution_time"));'`);
?>
-===DONE===
--EXPECT--
string(16) "string(3) "111"
"
string(16) "string(3) "500"
"
-===DONE===
diff --git a/sapi/cli/tests/010.phpt b/sapi/cli/tests/010.phpt
index c316e213e3..01b3599136 100644
--- a/sapi/cli/tests/010.phpt
+++ b/sapi/cli/tests/010.phpt
@@ -32,7 +32,6 @@ file_put_contents($filename_txt, $txt);
var_dump(`cat "$filename_txt" | "$php" -n -F "$filename"`);
?>
-===DONE===
--CLEAN--
<?php
@unlink(__DIR__."/010.test.php");
@@ -43,4 +42,3 @@ string(25) "
string(10) "test
hello"
"
-===DONE===
diff --git a/sapi/cli/tests/argv_mb.phpt b/sapi/cli/tests/argv_mb.phpt
index 868b1a857f..5ed5cef343 100644
--- a/sapi/cli/tests/argv_mb.phpt
+++ b/sapi/cli/tests/argv_mb.phpt
@@ -17,7 +17,6 @@ var_dump(`$php -n $argv_fl 多字节字符串 マルチバイト文字列 мно
@unlink($argv_fl);
?>
-==DONE==
--EXPECTF--
string(%d) "array(%d) {
[0]=>
@@ -32,4 +31,3 @@ string(%d) "array(%d) {
string(15) "flerbytesträng"
}
"
-==DONE==
diff --git a/sapi/cli/tests/argv_mb_bug77111.phpt b/sapi/cli/tests/argv_mb_bug77111.phpt
index 45913b841f..986e5f4923 100644
--- a/sapi/cli/tests/argv_mb_bug77111.phpt
+++ b/sapi/cli/tests/argv_mb_bug77111.phpt
@@ -28,7 +28,6 @@ file_put_contents($argv_fl, "<?php file_put_contents('$out_fl', implode(' ', arr
var_dump(file_get_contents($out_fl));
?>
-==DONE==
--CLEAN--
<?php
$out_fl = __DIR__ . "\\argv_bug77111.txt";
@@ -38,5 +37,4 @@ unlink($out_fl);
?>
--EXPECTF--
string(57) "Ästhetik Æstetik Esthétique Estética Эстетика"
-==DONE==