summaryrefslogtreecommitdiff
path: root/tests/basic/bug45986.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/basic/bug45986.phpt')
-rw-r--r--tests/basic/bug45986.phpt12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/basic/bug45986.phpt b/tests/basic/bug45986.phpt
new file mode 100644
index 0000000..1c30f10
--- /dev/null
+++ b/tests/basic/bug45986.phpt
@@ -0,0 +1,12 @@
+--TEST--
+Bug #45986 (wrong error message for a non existant file on rename)
+--CREDITS--
+Sebastian Schürmann
+sebs@php.net
+Testfest 2009 Munich
+--FILE--
+<?php
+rename('foo', 'bar');
+?>
+--EXPECTF--
+Warning: %s in %sbug45986.php on line 2