CVS update: php3/test/file
| From: | jaakko | Date: | Sun, 06 Sep 1998 10:56:58 +0000 |
| Subject: | CVS update: php3/test/file | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-829@lists.php.net to get a copy of this message | ||
Date: Sunday September 6, 1998 @ 6:56
Author: jaakko
Update of /repository/php3/test/file
In directory asf:/u2/tmp/cvs-serv19100
Modified Files:
001.php3t
Log Message:
Propably this test should be removed altogether. This at least
does not fail.
Index: php3/test/file/001.php3t
diff -c php3/test/file/001.php3t:1.1 php3/test/file/001.php3t:1.2
*** php3/test/file/001.php3t:1.1 Sun Sep 6 02:50:24 1998
--- php3/test/file/001.php3t Sun Sep 6 06:56:57 1998
***************
*** 42,57 ****
}
$s = stat ('test.file');
$ls = lstat ('test.file');
! while (list($key,$val) = each ($s)) {
! if ($ls[$key] != $val) {
! echo "test.file lstat and stat differ at element $key\n";
}
}
$s = stat ('test.link');
$ls = lstat ('test.link');
! while (list($key,$val) = each ($s)) {
! if ($ls[$key] != $val) {
! echo "test.link lstat and stat differ at element $key\n";
}
}
echo "test.file is " . filetype('test.file') . "\n";
--- 42,57 ----
}
$s = stat ('test.file');
$ls = lstat ('test.file');
! for ($i = 0; $i <= 12; $i++) {
! if ($ls[$i] != $s[$i]) {
! echo "test.file lstat and stat differ at element $i\n";
}
}
$s = stat ('test.link');
$ls = lstat ('test.link');
! for ($i = 0; $i <= 11; $i++) {
! if ($ls[$i] != $s[$i]) {
! echo "test.link lstat and stat differ at element $i\n";
}
}
echo "test.file is " . filetype('test.file') . "\n";
***************
*** 122,128 ****
test.file exists
test.link lstat and stat differ at element 1
test.link lstat and stat differ at element 2
- test.link lstat and stat differ at element 6
test.link lstat and stat differ at element 7
test.link lstat and stat differ at element 8
test.link lstat and stat differ at element 9
--- 122,127 ----
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net