mirror of
https://github.com/php/php-src.git
synced 2025-01-21 11:13:38 +08:00
Fixed expect format to ignore the textual error message from readlink().
Bug #55555
This commit is contained in:
parent
12a4dcf5dc
commit
bc7942adb5
@ -46,32 +46,32 @@ echo "Done\n";
|
||||
*** Testing readlink() and realpath() with linkname as empty string, NULL and single space ***
|
||||
-- Iteration1 --
|
||||
|
||||
Warning: readlink(): No such file or directory in %s on line %d
|
||||
Warning: readlink(): %s in %s on line %d
|
||||
bool(false)
|
||||
%s
|
||||
-- Iteration2 --
|
||||
|
||||
Warning: readlink(): No such file or directory in %s on line %d
|
||||
Warning: readlink(): %s in %s on line %d
|
||||
bool(false)
|
||||
%s
|
||||
-- Iteration3 --
|
||||
|
||||
Warning: readlink(): No such file or directory in %s on line %d
|
||||
Warning: readlink(): %s in %s on line %d
|
||||
bool(false)
|
||||
string(%d) "%s"
|
||||
-- Iteration4 --
|
||||
|
||||
Warning: readlink(): No such file or directory in %s on line %d
|
||||
Warning: readlink(): %s in %s on line %d
|
||||
bool(false)
|
||||
string(%d) "%s"
|
||||
-- Iteration5 --
|
||||
|
||||
Warning: readlink(): No such file or directory in %s on line %d
|
||||
Warning: readlink(): %s in %s on line %d
|
||||
bool(false)
|
||||
string(%d) "%s"
|
||||
-- Iteration6 --
|
||||
|
||||
Warning: readlink(): No such file or directory in %s on line %d
|
||||
Warning: readlink(): %s in %s on line %d
|
||||
bool(false)
|
||||
string(%d) "%s"
|
||||
Done
|
||||
|
@ -50,28 +50,28 @@ unlink($file_path."/readlink_variation2.tmp");
|
||||
--EXPECTF--
|
||||
*** Testing Invalid file types ***
|
||||
|
||||
Warning: readlink(): No such file or directory in %s on line %d
|
||||
Warning: readlink(): %s in %s on line %d
|
||||
bool(false)
|
||||
|
||||
Warning: readlink(): No such file or directory in %s on line %d
|
||||
Warning: readlink(): %s in %s on line %d
|
||||
bool(false)
|
||||
|
||||
Warning: readlink(): No such file or directory in %s on line %d
|
||||
Warning: readlink(): %s in %s on line %d
|
||||
bool(false)
|
||||
|
||||
Warning: readlink(): No such file or directory in %s on line %d
|
||||
Warning: readlink(): %s in %s on line %d
|
||||
bool(false)
|
||||
|
||||
Warning: readlink(): No such file or directory in %s on line %d
|
||||
Warning: readlink(): %s in %s on line %d
|
||||
bool(false)
|
||||
|
||||
Warning: readlink() expects parameter 1 to be string, resource given in %s on line %d
|
||||
NULL
|
||||
|
||||
Warning: readlink(): No such file or directory in %s on line %d
|
||||
Warning: readlink(): %s in %s on line %d
|
||||
bool(false)
|
||||
|
||||
Warning: readlink(): No such file or directory in %s on line %d
|
||||
Warning: readlink(): %s in %s on line %d
|
||||
bool(false)
|
||||
|
||||
*** Done ***
|
||||
|
Loading…
Reference in New Issue
Block a user