[xdebug-dev] xdebug xdebug/tests/bug00184.phpt xdebug/tests/test20.phpt - Fix tests.

From: Jani Taskinen <sniper[@]php.net>
Date: Sat, 28 Apr 2007 02:04:46 +0200

Date: Sat Apr 28 02:04:45 CEST 2007
User: Jani Taskinen
Directory: xdebug

Log Message:
[0.01]
- Fix tests.

Modified files:
           xdebug/tests/bug00184.phpt (version: 1.4)
           xdebug/tests/test20.phpt (version: 1.11)

[FILE: /xdebug/tests/bug00184.phpt]

===================================================================
RCS file: cvstemp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- xdebug/tests/bug00184.phpt:1.3 Fri Dec 22 12:51:03 2006 GMT
+++ xdebug/tests/bug00184.phpt Fri Apr 27 22:04:45 2007 GMT
@@ -27,9 +27,9 @@
 %w%f %w%d -> {main}() %sbug00184.php:0
 %w%f %w%d -> xdebug_get_tracefile_name() %sbug00184.php:2
>=> '/tmp/trace.%d.xt'
-%w%f %w%d -> range('\000', ' ') /dat/dev/php/xdebug/tests/bug00184.php:3
+%w%f %w%d -> range('\000', ' ') %sbug00184.php:3
>=> array (0 => '\000', 1 => '\001', 2 => '\002', 3 => '\003', 4 => '\004', 5 => '\005', 6 => '\006', 7 => '\a', 8 => '\b', 9 => '\t', 10 => '\n', 11 => '\v', 12 => '\f', 13 => '\r', 14 => '\016', 15 => '\017', 16 => '\020', 17 => '\021', 18 => '\022', 19 => '\023', 20 => '\024', 21 => '\025', 22 => '\026', 23 => '\027', 24 => '\030', 25 => '\031', 26 => '\032', 27 => '\033', 28 => '\034', 29 => '\035', 30 => '\036', 31 => '\037', 32 => ' ')
-%w%f %w%d -> str_replace(array (0 => '\000', 1 => '\001', 2 => '\002', 3 => '\003', 4 => '\004', 5 => '\005', 6 => '\006', 7 => '\a', 8 => '\b', 9 => '\t', 10 => '\n', 11 => '\v', 12 => '\f', 13 => '\r', 14 => '\016', 15 => '\017', 16 => '\020', 17 => '\021', 18 => '\022', 19 => '\023', 20 => '\024', 21 => '\025', 22 => '\026', 23 => '\027', 24 => '\030', 25 => '\031', 26 => '\032', 27 => '\033', 28 => '\034', 29 => '\035', 30 => '\036', 31 => '\037', 32 => ' '), ' ', 'foobar') /dat/dev/php/xdebug/tests/bug00184.php:3
+%w%f %w%d -> str_replace(array (0 => '\000', 1 => '\001', 2 => '\002', 3 => '\003', 4 => '\004', 5 => '\005', 6 => '\006', 7 => '\a', 8 => '\b', 9 => '\t', 10 => '\n', 11 => '\v', 12 => '\f', 13 => '\r', 14 => '\016', 15 => '\017', 16 => '\020', 17 => '\021', 18 => '\022', 19 => '\023', 20 => '\024', 21 => '\025', 22 => '\026', 23 => '\027', 24 => '\030', 25 => '\031', 26 => '\032', 27 => '\033', 28 => '\034', 29 => '\035', 30 => '\036', 31 => '\037', 32 => ' '), ' ', 'foobar') %sbug00184.php:3
>=> 'foobar'
 %w%f %w%d -> file_get_contents('/tmp/trace.%d.xt') %sbug00184.php:4
 DONE

[FILE: /xdebug/tests/test20.phpt]

===================================================================
RCS file: cvstemp,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- xdebug/tests/test20.phpt:1.10 Sat Dec 23 19:04:22 2006 GMT
+++ xdebug/tests/test20.phpt Fri Apr 27 22:04:45 2007 GMT
@@ -28,5 +28,5 @@
 --EXPECTF--
 test
 TRACE START [%d-%d-%d %d:%d:%d]
-%w%f %w%d -> db::query('test') /dat/dev/php/xdebug/tests/test20.php:9
+%w%f %w%d -> db::query('test') /%s/test20.php:9
 %w%f %w%d -> file_get_contents('/tmp/%s') /%s/test20.php:11
Received on Sat Apr 28 2007 - 02:04:47 BST

This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST