--- embedaddon/php/ext/standard/tests/file/windows_links/bug48746_1.phpt 2012/02/21 23:48:04 1.1.1.1 +++ embedaddon/php/ext/standard/tests/file/windows_links/bug48746_1.phpt 2013/07/22 01:32:08 1.1.1.2 @@ -1,7 +1,7 @@ --TEST-- Bug#48746 - Junction not working properly ---CREDIT-- +--CREDITS-- Venkat Raman Don (don.raman@microsoft.com) --SKIPIF-- @@ -9,7 +9,8 @@ Venkat Raman Don (don.raman@microsoft.com) if(substr(PHP_OS, 0, 3) != 'WIN' ) { die('skip windows only test'); } -$cmd = "mklink.exe /?"; +include_once __DIR__ . '/common.inc'; +$cmd = "mklink /?"; $ret = @exec($cmd, $output, $return_val); if (count($output) == 0) { die("mklink.exe not found in PATH"); @@ -17,13 +18,15 @@ if (count($output) == 0) { ?> --FILE--