At Fri, 05 Jul 2002 22:21:14 +0800,
Stas Bekman wrote:

> > # testing : Apache::Util::parsedate
> > # expected: 1025779533
> > # received: '0'
> > not ok 46
> 
> this one is weird, can you run this one in debug mode? This precooked
> gdb script should make it really easy to debug the internals on your side.

Sorry, I mean this one is also due to my weird locale setting of my
linux box. with locae set to Japanese, date is also returned as
japanese format.

> 
> > # write to a file:
> > # This is a test: 15197
> > # testing : expected failure
> > # expected: 'No such file or directory'
> > # received: 'そのようなファイルやディレクトリはありません'
> > not ok 2
> > ok 3
> > 
> > Well, it seems to be due to locale (japanese) stuff in my linux box.
> 
> That's a tough on. We are definitely not going to supply a set of error
> messages in all possible errors.
> 
> Is C "errno" variable's numerical value the same everywhere? If that's
> the case we could compare the numerical value

Or, first get the error message by trying to open non-exsitent file,
and afterword compare error message with it.

--
Tatsuhiko Miyagawa <[EMAIL PROTECTED]>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to