diff options
4 files changed, 16 insertions, 16 deletions
diff --git a/ext/standard/tests/file/windows_links/bug48746.phpt b/ext/standard/tests/file/windows_links/bug48746.phpt index 4f8f110a22..fd365113dc 100644 --- a/ext/standard/tests/file/windows_links/bug48746.phpt +++ b/ext/standard/tests/file/windows_links/bug48746.phpt @@ -6,14 +6,14 @@ Venkat Raman Don (don.raman@microsoft.com) --SKIPIF--
<?php
+if(substr(PHP_OS, 0, 3) != 'WIN' ) {
+ die('skip windows only test');
+}
$cmd = "mklink.exe /?";
$ret = @exec($cmd, $output, $return_val);
if (count($output) == 0) {
die("mklink.exe not found in PATH");
}
-if(substr(PHP_OS, 0, 3) != 'WIN' ) {
- die('skip windows only test');
-}
?>
--FILE--
<?php
@@ -51,4 +51,4 @@ bool(true) bool(true)
bool(true)
bool(true)
-bool(true)
\ No newline at end of file +bool(true) diff --git a/ext/standard/tests/file/windows_links/bug48746_1.phpt b/ext/standard/tests/file/windows_links/bug48746_1.phpt index 32cb192c98..ca8450a897 100644 --- a/ext/standard/tests/file/windows_links/bug48746_1.phpt +++ b/ext/standard/tests/file/windows_links/bug48746_1.phpt @@ -6,14 +6,14 @@ Venkat Raman Don (don.raman@microsoft.com) --SKIPIF--
<?php
+if(substr(PHP_OS, 0, 3) != 'WIN' ) {
+ die('skip windows only test');
+}
$cmd = "mklink.exe /?";
$ret = @exec($cmd, $output, $return_val);
if (count($output) == 0) {
die("mklink.exe not found in PATH");
}
-if(substr(PHP_OS, 0, 3) != 'WIN' ) {
- die('skip windows only test');
-}
?>
--FILE--
<?php
@@ -53,4 +53,4 @@ I am included. I am included.
bool(true)
bool(true)
-bool(true)
\ No newline at end of file +bool(true) diff --git a/ext/standard/tests/file/windows_links/bug48746_2.phpt b/ext/standard/tests/file/windows_links/bug48746_2.phpt index 6c5c4fc093..a8cf48d3a8 100644 --- a/ext/standard/tests/file/windows_links/bug48746_2.phpt +++ b/ext/standard/tests/file/windows_links/bug48746_2.phpt @@ -6,14 +6,14 @@ Venkat Raman Don (don.raman@microsoft.com) --SKIPIF--
<?php
+if(substr(PHP_OS, 0, 3) != 'WIN' ) {
+ die('skip windows only test');
+}
$cmd = "mklink.exe /?";
$ret = @exec($cmd, $output, $return_val);
if (count($output) == 0) {
die("mklink.exe not found in PATH");
}
-if(substr(PHP_OS, 0, 3) != 'WIN' ) {
- die('skip windows only test');
-}
?>
--FILE--
<?php
@@ -63,4 +63,4 @@ Array [1] => ..
[2] => a.php
[3] => b.php
-)
\ No newline at end of file +) diff --git a/ext/standard/tests/file/windows_links/bug48746_3.phpt b/ext/standard/tests/file/windows_links/bug48746_3.phpt index ee8caa6ecf..ebc31ea598 100644 --- a/ext/standard/tests/file/windows_links/bug48746_3.phpt +++ b/ext/standard/tests/file/windows_links/bug48746_3.phpt @@ -6,14 +6,14 @@ Venkat Raman Don (don.raman@microsoft.com) --SKIPIF--
<?php
+if(substr(PHP_OS, 0, 3) != 'WIN' ) {
+ die('skip windows only test');
+}
$cmd = "junction.exe /?";
$ret = @exec($cmd, $output, $return_val);
if (count($output) == 0) {
die("junction.exe not found in PATH");
}
-if(substr(PHP_OS, 0, 3) != 'WIN' ) {
- die('skip windows only test');
-}
?>
--FILE--
<?php
@@ -45,4 +45,4 @@ Array [1] => ..
[2] => a.php
[3] => b.php
-)
\ No newline at end of file +) |