From: Antony Dovgal Date: Mon, 23 Jul 2007 09:14:34 +0000 (+0000) Subject: more tests X-Git-Tag: php-5.2.4RC1~78 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ecb986892c295ba57d6ffd418c5c72873958a7b2;p=php more tests --- diff --git a/ext/standard/tests/file/rename_variation6.phpt b/ext/standard/tests/file/rename_variation6.phpt new file mode 100644 index 0000000000..25a4acf948 --- /dev/null +++ b/ext/standard/tests/file/rename_variation6.phpt @@ -0,0 +1,35 @@ +--TEST-- +Test rename() function: usage variations-7 +--SKIPIF-- + +--FILE-- + +--EXPECTF-- +Warning: readlink(): No such file or directory in %s on line %d +bool(false) +string(%d) "%srename_variation6.php.tmp" +bool(true) +Done diff --git a/ext/standard/tests/file/rename_variation7.phpt b/ext/standard/tests/file/rename_variation7.phpt new file mode 100644 index 0000000000..47c2828d86 --- /dev/null +++ b/ext/standard/tests/file/rename_variation7.phpt @@ -0,0 +1,30 @@ +--TEST-- +Test rename() function: usage variations-8 +--SKIPIF-- + +--FILE-- + +--EXPECTF-- +Warning: readlink(): No such file or directory in %s on line %d +bool(false) +string(%d) "%sthere_is_no_such_file" +Done