From: Anatoliy Belsky Date: Thu, 10 May 2012 15:07:38 +0000 (+0200) Subject: Fix bug #61992 ext\standard\tests\general_functions\bug44295.phpt fails X-Git-Tag: php-5.3.14RC1~8 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=266578f58483a08d7af51714636564df36a926d0;p=php Fix bug #61992 ext\standard\tests\general_functions\bug44295.phpt fails Exception text differ on windows --- diff --git a/ext/standard/tests/general_functions/bug44295-win.phpt b/ext/standard/tests/general_functions/bug44295-win.phpt new file mode 100644 index 0000000000..d210a54d51 --- /dev/null +++ b/ext/standard/tests/general_functions/bug44295-win.phpt @@ -0,0 +1,29 @@ +--TEST-- +user defined error handler + set_error_handling(EH_THROW) +--SKIPIF-- + +--FILE-- +getMessage()."\n"; +} +?> +==DONE== + +--EXPECT-- +before +in catch: DirectoryIterator::__construct(c:\not\exists\here,c:\not\exists\here): The system cannot find the path specified. (code: 3) +==DONE== diff --git a/ext/standard/tests/general_functions/bug44295.phpt b/ext/standard/tests/general_functions/bug44295.phpt index 9c12719912..a184719193 100644 --- a/ext/standard/tests/general_functions/bug44295.phpt +++ b/ext/standard/tests/general_functions/bug44295.phpt @@ -1,7 +1,10 @@ --TEST-- user defined error handler + set_error_handling(EH_THROW) --SKIPIF-- - + --FILE--