com php-src: Prevent potential test conflict: ext/standard/test s/file/windows_links/bug73962.phpt

From: Date: Thu, 23 May 2019 09:40:39 +0000
Subject: com php-src: Prevent potential test conflict: ext/standard/test s/file/windows_links/bug73962.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-106311@lists.php.net to get a copy of this message
Commit: ced8760ca8533339ba8336b9ee32cbea3c873683 Author: Christoph M. Becker <cmbecker69@gmx.de> Thu, 23 May 2019 11:40:39 +0200 Parents: fc8fb772625c4664edd292c5c622e4f608c48076 Branches: PHP-7.4 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=ced8760ca8533339ba8336b9ee32cbea3c873683 Log: Prevent potential test conflict bug48746_tmp.lnk is also created by bug48746_2.phpt which might clash, if both are run simultaneouly. Bugs: https://bugs.php.net/48746 Changed paths: M ext/standard/tests/file/windows_links/bug73962.phpt Diff: diff --git a/ext/standard/tests/file/windows_links/bug73962.phpt b/ext/standard/tests/file/windows_links/bug73962.phpt index 36dd122..4f74454 100644 --- a/ext/standard/tests/file/windows_links/bug73962.phpt +++ b/ext/standard/tests/file/windows_links/bug73962.phpt @@ -6,11 +6,11 @@ if(substr(PHP_OS, 0, 3) != 'WIN' ) { die('skip windows only test'); } include_once __DIR__ . '/common.inc'; -$ret = exec('mklink bug48746_tmp.lnk ' . __FILE__ .' 2>&1', $out); +$ret = exec('mklink bug73962_tmp.lnk ' . __FILE__ .' 2>&1', $out); if (strpos($ret, 'privilege')) { die('skip. SeCreateSymbolicLinkPrivilege not enable for this user.'); } -unlink('bug48746_tmp.lnk'); +unlink('bug73962_tmp.lnk'); ?> --FILE-- <?php

« previous php.cvs (#106311) next »