[comp.lang.perl] Test failed with Perl3.0p27

aks@hub.ucsb.edu (Alan Stebbens) (08/16/90)

On my DECstation 3100 running Ultrix 2.2, the "make test" failed in
"io.dup" (the output is below).  It appears that the cause is a failure
of ``fopen(dupout,">&STDOUT");'' or ``open(STDOUT,">&dupout");'' to
correctly dup the file descriptor.  Here's the output from "make test":

% 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
base.cond.......ok
base.if.........ok
base.lex........ok
base.pat........ok
base.term.......ok
comp.cmdopt.....ok
comp.cpp........ok
comp.decl.......ok
comp.multiline..ok
comp.package....ok
comp.script.....ok
comp.term.......ok
cmd.elsif.......ok
cmd.for.........ok
cmd.mod.........ok
cmd.subval......ok
cmd.switch......ok
cmd.while.......ok
io.argv.........ok
io.dup..........FAILED on test 2
io.fs...........ok
io.inplace......ok
io.pipe.........ok
io.print........ok
io.tell.........ok
op.append.......ok
op.array........ok
op.auto.........ok
op.chop.........ok
op.cond.........ok
op.dbm..........ok
op.delete.......ok
op.do...........ok
op.each.........ok
op.eval.........ok
op.exec.........ok
op.exp..........ok
op.flip.........ok
op.fork.........ok
op.glob.........ok
op.goto.........ok
op.index........ok
op.int..........ok
op.join.........ok
op.list.........ok
op.local........ok
op.magic........ok
op.mkdir........ok
op.oct..........ok
op.ord..........ok
op.pack.........ok
op.pat..........ok
op.push.........ok
op.range........ok
op.read.........ok
op.regexp.......ok
op.repeat.......ok
op.s............ok
op.sleep........ok
op.sort.........ok
op.split........ok
op.sprintf......ok
op.stat.........ok
op.study........ok
op.substr.......ok
op.time.........ok
op.undef........ok
op.unshift......ok
op.vec..........ok
op.write........ok
Failed 1 test.
*** Error code 9 (ignored)

If the problem is not obvious to the author, I can debug it further, of
course.

Alan Stebbens        <aks@hub.ucsb.edu>             (805) 893-3221
     Center for Computational Sciences and Engineering (CCSE)
          University of California, Santa Barbara (UCSB)
           3111 Engineering I, Santa Barbara, CA 93106

merlyn@iwarp.intel.com (Randal Schwartz) (08/16/90)

In article <1990Aug15.191906.22648@uvaarpa.Virginia.EDU>, aks@hub (Alan Stebbens) writes:
| On my DECstation 3100 running Ultrix 2.2, the "make test" failed in
| "io.dup" (the output is below).  It appears that the cause is a failure
| of ``fopen(dupout,">&STDOUT");'' or ``open(STDOUT,">&dupout");'' to
| correctly dup the file descriptor.  Here's the output from "make test":

Also reported by me.

This is fixed in pl28, just tested under Ultrix 2.3 (mine) this morning.

Fast work, Larry.  (Now if we could only *write* that fast. :-)
-- 
/=Randal L. Schwartz, Stonehenge Consulting Services (503)777-0095 ==========\
| on contract to Intel's iWarp project, Beaverton, Oregon, USA, Sol III      |
| merlyn@iwarp.intel.com ...!any-MX-mailer-like-uunet!iwarp.intel.com!merlyn |
\=Cute Quote: "Welcome to Portland, Oregon, home of the California Raisins!"=/