summaryrefslogtreecommitdiff
path: root/ext/com_dotnet
diff options
context:
space:
mode:
authorAnatoliy Belsky <ab@php.net>2012-04-03 13:09:17 +0200
committerAnatoliy Belsky <ab@php.net>2012-04-03 13:09:17 +0200
commitb67a4cc340f3880b3eab5144aac36b1a7c8de9ac (patch)
tree6eced8ca36b41deb896fcaf091d0d56052cc9b51 /ext/com_dotnet
parent9c81654378a8fa9d52d9aabd68e29fbe5ef021b0 (diff)
parent94cefaedaf36b681bdf03d89c761f642a28e33e0 (diff)
downloadphp-git-b67a4cc340f3880b3eab5144aac36b1a7c8de9ac.tar.gz
Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3: Fix bug #61481 Test Bug - ext/com_dotnet/tests/bug49192
Diffstat (limited to 'ext/com_dotnet')
-rw-r--r--ext/com_dotnet/tests/bug49192.phpt14
1 files changed, 14 insertions, 0 deletions
diff --git a/ext/com_dotnet/tests/bug49192.phpt b/ext/com_dotnet/tests/bug49192.phpt
index 7bae1d749c..ccbf237b64 100644
--- a/ext/com_dotnet/tests/bug49192.phpt
+++ b/ext/com_dotnet/tests/bug49192.phpt
@@ -3,9 +3,23 @@ Bug #49192 (PHP crashes when GC invoked on COM object)
--SKIPIF--
<?php
if (!extension_loaded("com_dotnet")) print "skip COM/.Net support not present"; ?>
+--XFAIL--
+1
--FILE--
<?php
+// this test fails to load ADO
+//
+// a change in windows longhorn x64(affecting vista, 7, 8, 2008, 2008r2) broke ADO.
+//
+// there is a fix available, but user has to install it.
+// given that ADO was deprecated a long time ago in favor of newer APIs,
+// I don't think its worth the trouble of making the user install the fix to
+// get an accurate test run. its better to just not run the test or expect it to fail.
+//
+// see: http://support.microsoft.com/kb/2517589
+// see: http://www.infoq.com/news/2011/10/ADO-Win7
+
$dbConnection = new Com('ADODB.Connection');
var_dump(gc_collect_cycles());
?>