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 000000000..5745d272c
--- /dev/null
+++ b/tests/basic/bug45986.phpt
@@ -0,0 +1,12 @@
+--TEST--
+Bug #45986 (wrong error messag for a non existant file on rename)
+--CREDITS--
+Sebastian Schürmann
+sebs@php.net
+Testfest 2009 Munich
+--FILE--
+<?php
+rename('foo', 'bar');
+?>
+--EXPECTREGEX--
+.*No such.*