diff options
author | Stanislav Malyshev <stas@php.net> | 2016-03-20 20:54:09 -0700 |
---|---|---|
committer | Stanislav Malyshev <stas@php.net> | 2016-03-20 21:33:11 -0700 |
commit | 72281f29dd4691b2f741362d3581162fcf85f502 (patch) | |
tree | 04aa97ab5cdb81cd9e08ef86ca41868978a37569 /ext/phar/tests/bug64931 | |
parent | 914d33c40ebe7a5bad6228f128b514698d8aaa2a (diff) | |
download | php-git-72281f29dd4691b2f741362d3581162fcf85f502.tar.gz |
Fix bug #71860: Require valid paths for phar filenames
Diffstat (limited to 'ext/phar/tests/bug64931')
-rw-r--r-- | ext/phar/tests/bug64931/bug64931.phpt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/phar/tests/bug64931/bug64931.phpt b/ext/phar/tests/bug64931/bug64931.phpt index 9c1f9dcaf1..29e0c7b4e3 100644 --- a/ext/phar/tests/bug64931/bug64931.phpt +++ b/ext/phar/tests/bug64931/bug64931.phpt @@ -48,11 +48,12 @@ try { <?php @unlink(__DIR__."/bug64931.phar"); ?> ---EXPECT-- +--EXPECTF-- Test CAUGHT: Cannot create any files in magic ".phar" directory CAUGHT: Cannot create any files in magic ".phar" directory CAUGHT: Cannot create any files in magic ".phar" directory CAUGHT: Cannot create any files in magic ".phar" directory -CAUGHT: Cannot create any files in magic ".phar" directory + +Warning: Phar::addFromString() expects parameter 1 to be a valid path, string given in %s/bug64931.php on line %d ===DONE===
\ No newline at end of file |