com php-src: Fix test when it's run on another drive: ext/opcache/tests/blacklist-win32.phpt
| From: | Anatol Belski | Date: | Wed, 17 Oct 2018 22:43:24 +0000 |
| Subject: | com php-src: Fix test when it's run on another drive: ext/opcache/tests/blacklist-win32.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-103498@lists.php.net to get a copy of this message | ||
Commit: fda06127fa71637df7913e06fc8124448c934fdc
Author: Anatol Belski <ab@php.net> Thu, 18 Oct 2018 00:43:24 +0200
Parents: 8a9e0312ce90f6cdc55a8fb6f1e1af326306b97a
Branches: PHP-7.1 PHP-7.2 PHP-7.3 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=fda06127fa71637df7913e06fc8124448c934fdc
Log:
Fix test when it's run on another drive
Changed paths:
M ext/opcache/tests/blacklist-win32.phpt
Diff:
diff --git a/ext/opcache/tests/blacklist-win32.phpt b/ext/opcache/tests/blacklist-win32.phpt
index 7fbe5db..70c8733 100644
--- a/ext/opcache/tests/blacklist-win32.phpt
+++ b/ext/opcache/tests/blacklist-win32.phpt
@@ -23,9 +23,9 @@ print_r(count($status['scripts']) > 0);
--EXPECTF--
Array
(
- [0] => C:\path\to\foo
- [1] => C:\path\to\foo2
- [2] => C:\path\to\bar
+ [0] => %c:\path\to\foo
+ [1] => %c:\path\to\foo2
+ [2] => %c:\path\to\bar
[3] => __DIR__\blacklist.inc
[4] => __DIR__\current.php
[5] => %scurrent.php