mirror of
https://github.com/php/php-src.git
synced 2025-08-18 06:58:55 +02:00
fix skip reasons. the word 'skip' should be followed by a single space and doesnt need any \n at the end
This commit is contained in:
parent
4d34ae2946
commit
69fbaf7d10
22 changed files with 30 additions and 30 deletions
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
?>
|
||||
|
|
|
@ -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);
|
||||
?>
|
||||
|
|
|
@ -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)
|
||||
|
@ -12,7 +12,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);
|
||||
|
|
|
@ -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');
|
||||
}
|
||||
// Skip if being run by root (files are always readable, writeable and executable)
|
||||
$filename = dirname(__FILE__)."/is_executable_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);
|
||||
|
|
|
@ -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');
|
||||
}
|
||||
// Skip if being run by root (files are always readable, writeable and executable)
|
||||
$filename = dirname(__FILE__)."/is_executable_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);
|
||||
|
|
|
@ -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');
|
||||
}
|
||||
// Skip if being run by root (files are always readable, writeable and executable)
|
||||
$filename = dirname(__FILE__)."/is_executable_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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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');
|
||||
}
|
||||
// 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);
|
||||
|
|
|
@ -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');
|
||||
}
|
||||
// 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);
|
||||
|
|
|
@ -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');
|
||||
}
|
||||
// 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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -18,7 +18,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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue