This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Two unexpected test failures.


> From: Jim Blandy <jimb@red-bean.com>
> Date: 24 Mar 2000 17:06:01 -0500
> 
> > > > FAIL: ports.test: non-blocking-I/O
> > > > FAIL: time.test: strftime %Z doesn't return garbage
> > > 
> > > Are you running them on Solaris?
> > 
> > Yes, I should have said that.  uname -a gives:
> >   SunOS sallust 5.7 Generic_106541-04 sun4u sparc SUNW,UltraSPARC-IIi-Engine
> > 
> > I assume that these are expected to fail then?
> 
> We should probably expect the strftime test to fail on any system
> where the configure script doesn't define HAVE_TM_ZONE.  Whenever
> Guile provides functions that directly re-export the base system's
> facilities like this, we can expect that variations in that facility
> from one system to the next will show through in the Scheme world.

This test uses something like:

(strftime "%Z" #(47 27 21 29 2 100 3 88 1 -3600 "ZOW"))

What does that return on Solaris?

> As far as non-blocking I/O goes, I'm not sure what's going on there.
> Perhaps Gary has some insights.

What happens if you run these on Solaris?

(let* ((p (pipe))
       (r (car p)))
  (fcntl r F_GETFL))


(let* ((p (pipe))
       (r (car p)))
  (fcntl r F_SETFL O_NONBLOCK)
  (read-char r))


(let* ((p (pipe))
       (r (car p)))
  (fcntl r F_SETFL (logior (fcntl r F_GETFL) O_NONBLOCK))
  (read-char r))

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]