Re: [PATCH] spec: Really skip tests that don't work in mock build root

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > diff --git a/libvirt.spec.in b/libvirt.spec.in
> > index fd99a54..3889f5d 100644
> > --- a/libvirt.spec.in
> > +++ b/libvirt.spec.in
> > @@ -700,8 +700,12 @@ cd tests
> >  for i in nodeinfotest daemon-conf seclabeltest
> >  do
> >    rm -f $i
> > -  printf "#!/bin/sh\nexit 0\n" > $i
> > -  chmod +x $i
> > +  if [ -f $i.c ]; then
> > +    echo 'int main(void) { return 0; }' > $i.c
> > +  else
> > +    printf "#!/bin/sh\nexit 0\n" > $i
> > +    chmod +x $i
> > +  fi
> 
> Do these tests still fail in the latest incarnation?  For example, I'm
> assuming that this upstream patch was enough to fix the nodeinfotest
> failure:
> https://www.redhat.com/archives/libvir-list/2010-December/msg00737.html

Hmm, looks like that patch helps with this. Perhaps we don't need to skip any
test. Self-NACK for the time being. I'll check current state of all tests and
send updated patch.

Jirka

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]