httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rodent of Unusual Size <Ken.C...@Golux.Com>
Subject Re: perl-framework server startup
Date Tue, 22 Jan 2002 18:33:43 GMT
Stas Bekman wrote:
> Of course, I thought that's what you want, so you can do a binary and
> and figure out what has failed.

Okey, how do a bitwise AND in the shell in a portable way?

> OK, but harness may fail for different reasons, why do you want to
> scratch the status code of the failure? Currently you don't care, but
> someone may want to know the failure status and program the launching
> program to act accordingly.

Fine.  That's an excellent point.  Now, if only I can figure out
a better way to test this than

if perl -e "exit (($STATUS & 0xc8) == 0xc8);" ; then
elif test "x$STATUS" != "x0" ; then

#ken	P-)}

Ken Coar, Sanagendamgagwedweinini  http://Golux.Com/coar/
Author, developer, opinionist      http://Apache-Server.Com/

"Millenium hand and shrimp!"

View raw message