Skip to content
Permalink
Browse files

DBGp tests require an existing file on Windows

  • Loading branch information...
derickr committed Jun 22, 2019
1 parent f7be4dd commit 3928112e7dfd346fc060e9293b1b53c7659b1ce9
Showing with 8 additions and 4 deletions.
  1. +4 −2 tests/bug00998-ipv4.phpt
  2. +4 −2 tests/bug00998-ipv4_localhost.phpt
  3. 0 tests/bug00998.inc
@@ -8,8 +8,10 @@ check_reqs('dbgp');
--FILE--
<?php
require 'dbgp/dbgpclient.php';
dbgpRunFile("", array(), null, XDEBUG_DBGP_IPV4);
$filename = dirname(__FILE__) . '/bug00998.inc';
dbgpRunFile( $filename, [], null, XDEBUG_DBGP_IPV4 );
?>
--EXPECT--
<?xml version="1.0" encoding="iso-8859-1"?>
<init xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" fileuri="file://" language="PHP" xdebug:language_version="" protocol_version="1.0" appid="" idekey=""><engine version=""><![CDATA[Xdebug]]></engine><author><![CDATA[Derick Rethans]]></author><url><![CDATA[https://xdebug.org]]></url><copyright><![CDATA[Copyright (c) 2002-2099 by Derick Rethans]]></copyright></init>
<init xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" fileuri="file://bug00998.inc" language="PHP" xdebug:language_version="" protocol_version="1.0" appid="" idekey=""><engine version=""><![CDATA[Xdebug]]></engine><author><![CDATA[Derick Rethans]]></author><url><![CDATA[https://xdebug.org]]></url><copyright><![CDATA[Copyright (c) 2002-2099 by Derick Rethans]]></copyright></init>
@@ -8,8 +8,10 @@ check_reqs('dbgp');
--FILE--
<?php
require 'dbgp/dbgpclient.php';
dbgpRunFile("", array(), array("xdebug.remote_host" => "localhost"), XDEBUG_DBGP_IPV4);
$filename = dirname(__FILE__) . '/bug00998.inc';
dbgpRunFile( $filename, [], [ 'xdebug.remote_host' => 'localhost' ], XDEBUG_DBGP_IPV4 );
?>
--EXPECT--
<?xml version="1.0" encoding="iso-8859-1"?>
<init xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" fileuri="file://" language="PHP" xdebug:language_version="" protocol_version="1.0" appid="" idekey=""><engine version=""><![CDATA[Xdebug]]></engine><author><![CDATA[Derick Rethans]]></author><url><![CDATA[https://xdebug.org]]></url><copyright><![CDATA[Copyright (c) 2002-2099 by Derick Rethans]]></copyright></init>
<init xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" fileuri="file://bug00998.inc" language="PHP" xdebug:language_version="" protocol_version="1.0" appid="" idekey=""><engine version=""><![CDATA[Xdebug]]></engine><author><![CDATA[Derick Rethans]]></author><url><![CDATA[https://xdebug.org]]></url><copyright><![CDATA[Copyright (c) 2002-2099 by Derick Rethans]]></copyright></init>
No changes.

0 comments on commit 3928112

Please sign in to comment.
You can’t perform that action at this time.