[procps] Re: w and "make check"

  • From: g.esp@xxxxxxx
  • To: procps@xxxxxxxxxxxxx
  • Date: Fri, 29 Jun 2012 14:12:59 +0200 (CEST)


----- Mail original -----
> De: "Alfredo Esteban" <aedelatorre@xxxxxxxxx>
> À: procps@xxxxxxxxxxxxx
> Envoyé: Vendredi 29 Juin 2012 13:46:42
> Objet: [procps] w and "make check"
> 
> Hi,
> 
> I was learning about dejagnu and running "make check" into procps
> project.
> 
> I found this issue. Am I doing something wrong?
> 
> > git clone git:// gitorious.org/procps/procps.git
> [ ... ]
> 
> > ./autogen.sh
> [ ... ]
> 
> > ./configure
> [ ... ]
> 
> > make
> [ ... ]
> 
> > make check
> [ ... ]
> === w tests ===
> 
> Schedule of variations:
> unix
> 
> Running target unix
> Using /usr/share/dejagnu/baseboards/unix.exp as board description
> file for target.
> Using /usr/share/dejagnu/config/unix.exp as generic interface file
> for target.
> Using
> /home/alfredo/devel/procps/procps-ng/procps/testsuite/config/unix.exp
> as tool-and-target-specific interface file.
> Running
> /home/alfredo/devel/procps/procps-ng/procps/testsuite/w.test/w.exp
> ...
> FAIL: w with no arguments
> FAIL: w with -u flag
> FAIL: w with short output
> FAIL: w with from flag
> FAIL: w with from and short flags
> FAIL: w with short and from flags
> 
> === w Summary ===
> 
> # of expected passes 1
> # of unexpected failures 6
> /home/alfredo/devel/procps/procps-ng/procps/w version 3.3.3.23
> 

So w fail in all tests except 'w with no headers'

You could look at the test log, should be inside testsuite.
You may try to modify testsuite/w.test/w.exp to understand where the tests fail.

Gilles


Other related posts: