Re: Linux / Unix difference
| From: | Patrick ALLAERT | Date: | Fri, 24 Jul 2009 09:48:08 +0000 |
| Subject: | Re: Linux / Unix difference | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-65249@lists.php.net to get a copy of this message | ||
2009/7/24 zoe <zoe.slattery@googlemail.com>:
<snip>
> These are the options I can think of:
>
> 1. Remove the edge case tests to a set of separate tests and have specific
> tests for edge cases for Linux and Unix (assuming that it is possible to
> distinguish them in a SKIPIF?). This implies that the difference in
> behaviour of PHP on different platforms is accepted and agreed.
If a clean test could be made in SKIPIF (does someone has a tip for this?):
+2
> 2. Fix PHP to behave the same way for both - and as you suggest that is
> possibly a can of worms.
-1
> 3. As Patrick suggests remove edge case tests. That again implies acceptance
> of a difference in behaviour but I think it is less satisfactory than (1)
> because the agreed difference is not documented (through tests) and the edge
> case behaviour on both platforms is untested.
+1
Patrick