Brad Bishop | 15ae250 | 2019-06-18 21:44:24 -0400 | [diff] [blame] | 1 | php-ptest: xfail two tests |
| 2 | |
| 3 | If and when these tests are modified to expect the correct output, they will |
| 4 | succeed and generate warnings in the test summary. This patch can then be removed. |
| 5 | |
| 6 | Note that we add a closing '?>' to one test so that it can be executed directly by php. |
| 7 | |
| 8 | Upstream-Status: Pending |
| 9 | |
| 10 | Signed-off-By: Joe Slater <joe.slater@windriver.com> |
| 11 | |
| 12 | |
| 13 | --- a/tests/basic/bug71273.phpt |
| 14 | +++ b/tests/basic/bug71273.phpt |
| 15 | @@ -16,6 +16,8 @@ Bug #71273 A wrong ext directory setup i |
| 16 | var_dump(preg_match(",.+a[\\/].+[\\/]w.php_kartoffelbrei.dll.+,s", $out)); |
| 17 | ?> |
| 18 | ==DONE== |
| 19 | +--XFAIL-- |
| 20 | +Output is int(0), not int(1) |
| 21 | --EXPECT-- |
| 22 | int(1) |
| 23 | ==DONE== |
| 24 | --- a/tests/run-test/bug75042-3.phpt |
| 25 | +++ b/tests/run-test/bug75042-3.phpt |
| 26 | @@ -8,5 +8,8 @@ display_errors=1 |
| 27 | nonexistentsharedmodule |
| 28 | --FILE-- |
| 29 | <?php |
| 30 | +?> |
| 31 | +--XFAIL-- |
| 32 | +No warning message printed. |
| 33 | --EXPECTF-- |
| 34 | PHP Warning: PHP Startup: Unable to load dynamic library '%snonexistentsharedmodule.%s' %A |