Re: Linux / Unix difference
| From: | Derick Rethans | Date: | Thu, 23 Jul 2009 11:36:15 +0000 |
| Subject: | Re: Linux / Unix difference | ||
| References: | 1 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-65241@lists.php.net to get a copy of this message | ||
On Thu, 23 Jul 2009, Patrick ALLAERT wrote:
> I just wanted to drop a note about an annoying difference between
> Linux and Unix (at least some Solaris and HP-UX) regarding pathname
> resolution:
<snip>
> As you see, Unix system calls let you access a file using a *trailing
> slash*. Linux (and apparently BSD's) not.
>
> Taking this into account, phpt tests files shouldn't test those edge
> case like it is currently the case with:
> ext/standard/tests/file/filegroup_variation3.phpt
> ext/standard/tests/file/fileinode_variation3.phpt
> ext/standard/tests/file/fileowner_variation3.phpt
> ext/standard/tests/file/fileperms_variation3.phpt
> ... and possibly others.
>
> I will fix them,
They should test this, and verify that the behavior (from a PHP user
point of view) is exactly the same.
regards,
Derick
--
http://derickrethans.nl | http://ezcomponents.org | http://xdebug.org
twitter: @derickr