On Fri, Feb 27, 2004 at 11:16:54AM -0800, Stas Bekman wrote: > What happens is that the client needs to read the output from the server > and then flush it out to Test::Harness. But if you server side dies it > won't send to the client the magic 'Bail out!' string. So what you could do > is instead of die'ing, use warn, to log things into error_log and then send > 'Bail out' as a response and return as if the handler was successful.
OK, that solution worked. However, I'm beginning to prefer the skip method in this particular case since the output is seen by the user running the script without having any addt'l effort. > I suppose most people don't use the the bailout feature, therefore it's > still remaining a simple print and has no wrapper to do the job. So I was > suggesting for us to provide that wrapper and then hoping that Test.pm (not > Test::Harness as I've incorrectly suggested earlier) to adopt that wrapper > for everybody to use. Gotcha. William -- Knowmad Services Inc. http://www.knowmad.com