diff options
author | Gabriel Caruso <carusogabriel34@gmail.com> | 2018-02-03 12:24:56 -0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2018-02-04 16:57:08 +0100 |
commit | 84488d921b5e01729be4f70f8eba8d52ca0209d2 (patch) | |
tree | 5d318c778b5fe478dfd0b26e932876d779252c8b /sapi/cli | |
parent | 3616b6b935ffc67c447d6e60ba654ba3903b9bae (diff) | |
download | php-git-84488d921b5e01729be4f70f8eba8d52ca0209d2.tar.gz |
Remove superfluous SKIPIF sections in more tests
Diffstat (limited to 'sapi/cli')
-rw-r--r-- | sapi/cli/tests/004.phpt | 7 | ||||
-rw-r--r-- | sapi/cli/tests/005.phpt | 7 | ||||
-rw-r--r-- | sapi/cli/tests/006.phpt | 10 |
3 files changed, 9 insertions, 15 deletions
diff --git a/sapi/cli/tests/004.phpt b/sapi/cli/tests/004.phpt index 378515d464..0248525dab 100644 --- a/sapi/cli/tests/004.phpt +++ b/sapi/cli/tests/004.phpt @@ -1,11 +1,8 @@ --TEST-- show information about function --SKIPIF-- -<?php +<?php include "skipif.inc"; -if (!extension_loaded("reflection")) { - die("skip reflection extension required"); -} ?> --FILE-- <?php @@ -18,7 +15,7 @@ var_dump(`$php -n --rf phpinfo`); echo "Done\n"; ?> ---EXPECTF-- +--EXPECTF-- string(45) "Exception: Function unknown() does not exist " string(42) "Exception: Function echo() does not exist diff --git a/sapi/cli/tests/005.phpt b/sapi/cli/tests/005.phpt index 5a1e8b8fb1..0790904f8c 100644 --- a/sapi/cli/tests/005.phpt +++ b/sapi/cli/tests/005.phpt @@ -1,11 +1,8 @@ --TEST-- show information about class --SKIPIF-- -<?php +<?php include "skipif.inc"; -if (!extension_loaded("reflection")) { - die("skip reflection extension required"); -} ?> --FILE-- <?php @@ -18,7 +15,7 @@ var_dump(`"$php" -n --rc exception`); echo "Done\n"; ?> ---EXPECTF-- +--EXPECTF-- string(40) "Exception: Class unknown does not exist " string(183) "Class [ <internal:Core> class stdClass ] { diff --git a/sapi/cli/tests/006.phpt b/sapi/cli/tests/006.phpt index 72f0c5dfa5..fc3032602f 100644 --- a/sapi/cli/tests/006.phpt +++ b/sapi/cli/tests/006.phpt @@ -1,10 +1,10 @@ --TEST-- show information about extension --SKIPIF-- -<?php -include "skipif.inc"; -if (!extension_loaded("reflection") || !extension_loaded("session")) { - die("skip reflection and session extensions required"); +<?php +include "skipif.inc"; +if (!extension_loaded("session")) { + die("skip session extension required"); } if (PCRE_JIT_SUPPORT == false) { die ("skip not pcre jit support builtin"); @@ -23,7 +23,7 @@ var_dump(`$php -n --re pcre`); echo "Done\n"; ?> ---EXPECTF-- +--EXPECTF-- string(44) "Exception: Extension unknown does not exist " string(37) "Exception: Extension does not exist |