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:
Nuno Lopes 2007-09-13 18:24:26 +00:00
parent 4d34ae2946
commit 69fbaf7d10
22 changed files with 30 additions and 30 deletions

View 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);

View 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);

View 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);

View 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);

View 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);
?>

View 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);
?>

View 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)
@ -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);

View 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');
}
// 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);

View 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');
}
// 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);

View 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');
}
// 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);

View 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);

View 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');
}
// 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);

View 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');
}
// 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);

View 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');
}
// 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);

View 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);

View 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);

View 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);

View 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);

View 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);

View 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);

View file

@ -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);

View 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);