[comp.lang.perl] io.dup test also fails on Encore Multimax, UMAX 4.2

composer@bucsf.bu.edu (Jeff Kellem) (08/12/90)

In article <NOZOE.90Aug11184739@sh8810.telcom.oki.CO.JP>
	nozoe@telcom.oki.CO.JP (Katsumi Nozoe) writes: 

|  Subject: Re: perl-3.0 pl#27 "make test" NG on VAX Ultirx V3.0
|
|  Machine : VAX 8810
|  OS      : Ultirx-32 V3.0 (Rev 64)
|  Compiler: "gcc-1.37.9" and "cc"
|
|  nozoe@sh8810% make test
|  chmod +x t/TEST t/base.* t/comp.* t/cmd.* t/io.* t/op.*; \
|  cd t && (rm -f perl; ln -s ../perl .) && ./perl TEST
[ ...text deleted... ]
|  io.argv.........ok
|  io.dup..........FAILED on test 2
|  io.fs...........ok
[ ...text deleted... ]

The `io.dup' test also fails on an Encore Multimax running UMAX 4.2
Release 3.3.  I've tried compiling with gcc 1.37.1 and cc; and, tried
both bison 1.11 and yacc.  None have been able to produce a perl binary
that could execute `io.dup' properly.

The output from `io.dup' is:

1..6
ok 1
ok 6

It seems that STDOUT and STDERR aren't being reset properly, or some such
thing, right before trying to cat the file "Io.dup".  The "Io.dup" file
has the correct data in it.  Any clues, Larry?

Note that things do work properly on a Sun 3 running SunOS 4.0.3, using
gcc 1.37.1 or cc, and bison 1.11.  The `io.dup' test also works properly
on the Multimax with perl at version 3.0 patchlevel 18.

Good luck!

				-jeff

Jeff Kellem
INTERNET: composer@cs.bu.edu  (or composer@bu.edu)
UUCP: ...!harvard!bu-cs!composer

che_wgp@jhunix.HCF.JHU.EDU (Geoffrey A Prentice) (08/12/90)

In article <COMPOSER.90Aug11164651@bucsf.bu.edu> composer@cs.bu.edu writes:
>
>The `io.dup' test also fails on an Encore Multimax running UMAX 4.2

 It also fails on a DECsystem 3100 running Ultrix3.0.

>(lines deleted)
>It seems that STDOUT and STDERR aren't being reset properly, or some such
>thing, right before trying to cat the file "Io.dup".  The "Io.dup" file
>has the correct data in it.  Any clues, Larry?

system('cat Io.dup') doens't work. But if you "open(TMP,"<Io.dup")",
then print it out. It is ok. So the STDOUT and STDERR were
reset but something is wrong when forking "cat Io.dup".

X. Shan
shan@sphunix.sph.jhu.edu