* On 2002-01-21 at 21:41,
Stas Bekman <[EMAIL PROTECTED]> excited the electrons to say:
>
> OK, be it 0xC8 . Try this patch then:
>
> Index: Apache-Test/lib/Apache/TestRun.pm
> ===================================================================
:
> + # logically OR 0xff to the status, so we can distinguish
> + # harness failure from tests failure. it's possible that the
> + # failing test won't set a proper $?
> + exit_shell ($?||1) | TEST_FAILED_MASK;
Er, unless I'm missing something (entirely possible), this will
never return 0xc8.. If $? == 0..1, it'll return 0xc9. I didn't mean
use 0xc8 as a *mask* (since that makes shell manipulation of the
bits a pain), but as a value:
if failed(harness) {
exit(0xc8)
}
else {
exit(whatever test status was)
}
If the harness fails to run properly, I doubt any test
results are going to be meaningful, so an OR mask doesn't
seem useful. I proposed 0xc8 (200d) because it didn't look
as though anything else could return it.
--
#ken P-)}
Ken Coar, Sanagendamgagwedweinini http://Golux.Com/coar/
Author, developer, opinionist http://Apache-Server.Com/
"Millenium hand and shrimp!"