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

Re: [Xen-devel] [OSSTEST PATCH] ts-depriv-audit-qemu: Leaked substeps are `blocked', and then script is fail



Anthony PERARD writes ("Re: [OSSTEST PATCH] ts-depriv-audit-qemu: Leaked 
substeps are `blocked', and then script is fail"):
> On Fri, Jul 06, 2018 at 12:13:54PM +0100, Ian Jackson wrote:
> >     # (if there are no fds of this class, maybe they were all closed)
> > +   $classes{$cl} = 'reported';
> 
> The case here is different than ...
> 
> >      }
> >      logm("audit complete...");
> >  }
> >  
> > +END {
> > +    foreach my $cl (sort keys %classes) {
> > +   my $st = $classes{$cl};
> > +   next if $st eq 'REPORTED';
> 
> .. here. Is there something I'm missing or should it be the same?

Indeed, you have spotted a mistake.  Thanks.  As I said, I hadn't
tested it.  I have now and with that fixed, it seems to work.  I'll
push this to osstest pretest when the previous batch gets a pass.

Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.