PHP  
 PHP_HEAD
downloads | QA | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
 

Skip Report for ext/standard/tests/file/symlink_link_linkinfo_is_link_variation6.phpt

Script

<?php
if ( substr(PHP_OS03) == 'WIN' ) {
    die(
'skip no symlinks on Windows');
}
if ( 
substr(PHP_OS03) == 'MAC' ) {
    die(
'skip Not valid for MacOS');
}
if (
PHP_INT_SIZE != 4) {
  die(
"skip this test is for 32bit platform only");
}

// Skip if being run by root (files are always readable, writeable and executable)
$filename dirname(__FILE__)."/symlink_link_linkinfo_is_link6_check_root.tmp";
$fp fopen($filename'w');
fclose($fp);
if(
fileowner($filename) == 0) {
        
unlink ($filename);
        die(
'skip cannot be run as root');
}

unlink($filename);
?>

Reason

this test is for 32bit platform only

 

Generated at Wed, 22 Oct 2014 07:25:05 +0000 (25 hours ago)

Copyright © 2005-2014 The PHP Group
All rights reserved.