]> granicus.if.org Git - php/commitdiff
MFB: fix skip reasons
authorNuno Lopes <nlopess@php.net>
Thu, 13 Sep 2007 18:26:12 +0000 (18:26 +0000)
committerNuno Lopes <nlopess@php.net>
Thu, 13 Sep 2007 18:26:12 +0000 (18:26 +0000)
19 files changed:
ext/standard/tests/file/006_basic.phpt
ext/standard/tests/file/006_error.phpt
ext/standard/tests/file/006_variation1.phpt
ext/standard/tests/file/006_variation2.phpt
ext/standard/tests/file/copy_variation15.phpt
ext/standard/tests/file/copy_variation9.phpt
ext/standard/tests/file/is_executable_basic.phpt
ext/standard/tests/file/is_executable_variation1.phpt
ext/standard/tests/file/is_executable_variation2.phpt
ext/standard/tests/file/is_executable_variation3.phpt
ext/standard/tests/file/is_readable_basic.phpt
ext/standard/tests/file/is_readable_variation1.phpt
ext/standard/tests/file/is_readable_variation2.phpt
ext/standard/tests/file/is_readable_variation3.phpt
ext/standard/tests/file/is_writable_basic.phpt
ext/standard/tests/file/mkdir_rmdir_variation1.phpt
ext/standard/tests/file/mkdir_rmdir_variation2.phpt
ext/standard/tests/file/symlink_link_linkinfo_is_link_variation6.phpt
ext/standard/tests/file/unlink_variation1.phpt

index eeb07fbc01fc66451b33bb7470935140e1c05eb8..008a301713d398f3c154a0f12218b7b70ae15d39 100644 (file)
@@ -11,7 +11,7 @@ $fp = fopen($filename, 'w');
 fclose($fp);
 if(fileowner($filename) == 0) {
         unlink ($filename);
-        die('skip...cannot be run as root\n');
+        die('skip cannot be run as root');
 }
 
 unlink($filename);
index 73fd1395908e7797f106287098e6b11e8349d99a..150ca2c4231e1abbf235dc6eb7b61754359c6e9b 100644 (file)
@@ -11,7 +11,7 @@ $fp = fopen($filename, 'w');
 fclose($fp);
 if(fileowner($filename) == 0) {
         unlink ($filename);
-        die('skip...cannot be run as root\n');
+        die('skip cannot be run as root');
 }
 
 unlink($filename);
index c7c6c114e1611c8cf8a919167977b6189b7791cc..f1cf038c5a3ef9877932bdc9cb30cd65791fcef7 100644 (file)
@@ -11,7 +11,7 @@ $fp = fopen($filename, 'w');
 fclose($fp);
 if(fileowner($filename) == 0) {
         unlink ($filename);
-        die('skip...cannot be run as root\n');
+        die('skip cannot be run as root');
 }
 
 unlink($filename);
index 5e029b2cc806ef80b4ca40d705ef551c4431a5c3..dbd6435fbca82aca79a3bc69bc578e19df8ba306 100644 (file)
@@ -11,7 +11,7 @@ $fp = fopen($filename, 'w');
 fclose($fp);
 if(fileowner($filename) == 0) {
         unlink ($filename);
-        die('skip...cannot be run as root\n');
+        die('skip cannot be run as root');
 }
 
 unlink($filename);
index 481bee9fb985514f99a9df6f6897e80c60500980..f89099672a68694e428a4646b1c799a4a65d5f71 100644 (file)
@@ -10,7 +10,7 @@ $fp = fopen($filename, 'w');
 fclose($fp);
 if(fileowner($filename) == 0) {
         unlink ($filename);
-        die('skip...cannot be run as root\n');
+        die('skip cannot be run as root');
 }
 unlink($filename);
 ?>
index 5a2db1ee29ed32372375b62219b180f5e781104e..0a6711d2d6521ec53768102cf38b91f9b2fad248 100644 (file)
@@ -11,7 +11,7 @@ $fp = fopen($filename, 'w');
 fclose($fp);
 if(fileowner($filename) == 0) {
         unlink ($filename);
-        die('skip...cannot be run as root\n');
+        die('skip cannot be run as root');
 }
 unlink($filename);
 ?>
index 64f140edff74a30739bb330983f25dd6a8fc0893..17866a1a9d8f5b6405a8ad47314b01f4323994f3 100644 (file)
@@ -3,7 +3,7 @@ Test is_executable() function: basic functionality
 --SKIPIF--
 <?php
 if (substr(PHP_OS, 0, 3) == 'WIN') {
-    die('skip.. only for LINUX');
+    die('skip not for windows');
 }
 // Skip if being run by root (files are always readable, writeable and executable)
 $filename = dirname(__FILE__)."/is_readable_root_check.tmp";
@@ -11,7 +11,7 @@ $fp = fopen($filename, 'w');
 fclose($fp);
 if(fileowner($filename) == 0) {
        unlink ($filename);
-       die('skip...cannot be run as root\n');
+       die('skip cannot be run as root');
 }
 
 unlink($filename);
index 7126de6e62570ad5548eb706676c6d606e0b54e6..2798efc27e6287f676a454744075f44748be10f6 100644 (file)
@@ -3,7 +3,7 @@ Test is_executable() function: usage variations - diff. path notations
 --SKIPIF--
 <?php
 if (substr(PHP_OS, 0, 3) == 'WIN') {
-    die('skip.. only for LINUX');
+    die('skip not for windows');
 }
 ?>
 --FILE--
index fd619a75ca7235633dce766eb404544176aafd38..bc64f5ef38632645125d47e15a22f6c37ff99e24 100644 (file)
@@ -3,7 +3,7 @@ Test is_executable() function: usage variations - file/dir with diff. perms
 --SKIPIF--
 <?php
 if (substr(PHP_OS, 0, 3) == 'WIN') {
-    die('skip.. only for LINUX');
+    die('skip not for windows');
 }
 ?>
 --FILE--
index 6d98f19f4221436e152a39d0ad43612ef1488d60..cb6c21f0a0b45453494521bc9c0b71d0c8e58597 100644 (file)
@@ -3,7 +3,7 @@ Test is_executable() function: usage variations - invalid file names
 --SKIPIF--
 <?php
 if (substr(PHP_OS, 0, 3) == 'WIN') {
-    die('skip.. only for LINUX');
+    die('skip not for windows');
 }
 ?>
 --FILE--
index 3b4068715aff0d477dcfa770e7b8dd36cc8e89e7..435448e2db0a19440253b02179b6473f94d9dffc 100644 (file)
@@ -3,7 +3,7 @@ Test is_readable() function: basic functionality
 --SKIPIF--
 <?php
 if (substr(PHP_OS, 0, 3) == 'WIN') {
-    die('skip.. only for LINUX');
+    die('skip not for windows');
 }
 // Skip if being run by root (files are always readable, writeable and executable)
 $filename = dirname(__FILE__)."/is_readable_root_check.tmp";
@@ -11,7 +11,7 @@ $fp = fopen($filename, 'w');
 fclose($fp);
 if(fileowner($filename) == 0) {
        unlink ($filename);
-       die('skip...cannot be run as root\n');
+       die('skip cannot be run as root');
 }
 
 unlink($filename);
index a22651c746e868ac99d79a0c1a6c7932b851f823..569531437181465d3882233f517f9413c2c93193 100644 (file)
@@ -3,7 +3,7 @@ Test is_readable() function: usage variations - diff. file notations
 --SKIPIF--
 <?php
 if (substr(PHP_OS, 0, 3) == 'WIN') {
-    die('skip.. only for LINUX');
+    die('skip not for windows');
 }
 ?>
 --FILE--
index 5de18e35a6b402f5a90af10207f2ae0acc6afc31..11e6e7ff4320b86fc377650ffd1d298e9bccfa8f 100644 (file)
@@ -3,7 +3,7 @@ Test is_readable() function: usage variations - file/dir with diff. perms
 --SKIPIF--
 <?php
 if (substr(PHP_OS, 0, 3) == 'WIN') {
-    die('skip.. only for LINUX');
+    die('skip not for windows');
 }
 ?>
 --FILE--
index acb9bfc43c091fd1d2710bd5c4f9482eaf606076..520e7097e1ec98c268817043e4b52e87315bb9ad 100644 (file)
@@ -3,7 +3,7 @@ Test is_readable() function: usage variations - invalid file names
 --SKIPIF--
 <?php
 if (substr(PHP_OS, 0, 3) == 'WIN') {
-    die('skip.. only for LINUX');
+    die('skip not for windows');
 }
 ?>
 --FILE--
index 26a3eb979396415a67c3761c13ce6e7ff34e9810..d6e4f249ccfbb9871b3b4ad0db120675f76c464f 100644 (file)
@@ -8,7 +8,7 @@ $fp = fopen($filename, 'w');
 fclose($fp);
 if(fileowner($filename) == 0) {
        unlink ($filename);
-       die('skip...cannot be run as root\n');
+       die('skip cannot be run as root');
 }
 
 unlink($filename);
index ea6ee1e53bb362f5614147bad495c894d1e9dceb..ff928c9b12ead8cc1289815fa603dab0a767b115 100644 (file)
@@ -11,7 +11,7 @@ $fp = fopen($filename, 'w');
 fclose($fp);
 if(fileowner($filename) == 0) {
        unlink ($filename);
-       die('skip...cannot be run as root\n');
+       die('skip cannot be run as root');
 }
 
 unlink($filename);
index 417b5781b6814d5084ec9b2a7b9098e07e025fe1..1bd25b198db95f0b34d716c41fc8096e421bba05 100644 (file)
@@ -11,7 +11,7 @@ $fp = fopen($filename, 'w');
 fclose($fp);
 if(fileowner($filename) == 0) {
        unlink ($filename);
-       die('skip...cannot be run as root\n');
+       die('skip cannot be run as root');
 }
 
 unlink($filename);
index b0a003a9769f9e8ead22360423f36fbe65570f82..cf2a29e2430cd55398469949e81da1413ad80123 100644 (file)
@@ -14,7 +14,7 @@ $fp = fopen($filename, 'w');
 fclose($fp);
 if(fileowner($filename) == 0) {
         unlink ($filename);
-        die('skip...cannot be run as root\n');
+        die('skip cannot be run as root');
 }
 
 unlink($filename);
index cc9904ad30a197bae32cc4c47c0eeb6fa932de08..c27c13dfc420e399534d0d626a3dd1960400f87d 100644 (file)
@@ -11,7 +11,7 @@ $fp = fopen($filename, 'w');
 fclose($fp);
 if(fileowner($filename) == 0) {
         unlink ($filename);
-        die('skip...cannot be run as root\n');
+        die('skip cannot be run as root');
 }
 
 unlink($filename);