From: Anatol Belski Date: Sun, 4 Dec 2016 21:27:17 +0000 (+0100) Subject: fix test X-Git-Tag: php-7.1.1RC1~147^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1eb3f01c680c2b281d848d2f9c41e09092e952d9;p=php fix test On Windows, either doubled backslashes or forward slashes are supported on the server side. --- diff --git a/ext/mysqli/tests/bug68077.phpt b/ext/mysqli/tests/bug68077.phpt index 3b6fa92ae3..0652e68c9b 100644 --- a/ext/mysqli/tests/bug68077.phpt +++ b/ext/mysqli/tests/bug68077.phpt @@ -41,7 +41,7 @@ open_basedir= if (!$link->query("SELECT 1 FROM DUAL")) printf("[005] [%d] %s\n", $link->errno, $link->error); - if (!$link->query("LOAD DATA LOCAL INFILE '" . __DIR__ . "/bug53503.data' INTO TABLE test")) { + if (!$link->query("LOAD DATA LOCAL INFILE '" . str_replace("\\", "/", __DIR__) . "/bug53503.data' INTO TABLE test")) { printf("[006] [%d] %s\n", $link->errno, $link->error); echo "bug\n"; } else {