Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sbin/ifconfig
On Sat, Mar 17, 2012 at 06:53:31PM +0200, Jukka Ruohonen wrote:
> On Fri, Mar 16, 2012 at 10:25:08PM -0400, Christos Zoulas wrote:
> > Module Name: src
> > Committed By: christos
> > Date: Sat Mar 17 02:25:08 UTC 2012
> >
> > Modified Files:
> > src/sbin/ifconfig: af_inetany.c
> >
> > Log Message:
> > PR/43141: Tobias Nygren: Print an error on unknown interfaces.
>
> Now this is trival and it is fixed. But I guess there is a bug here in ATF.
> The test only checks that the exit code is not zero:
>
> atf_check -s not-exit:0 ifconfig nonexistent0 1.2.3.4/24
>
> But why is stderr being involved?
atf_check defaults to '-s exit:0 -o empty -e empty'.
Adding '-e ignore' should do the trick.
--
Nicolas Joly
Projects and Developments in Bioinformatics
Institut Pasteur, Paris.
Home |
Main Index |
Thread Index |
Old Index