This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Systemtap .sum vs .log


Hi -

On Thu, Oct 11, 2007 at 08:15:32PM -0400, Kris Van Hees wrote:
> [...]
> > This should be a rare if any case.  The only time when this setuid
> > business is tested is for pass-5 tests run by "make installcheck".
> > There are not many (if any) xfail pass-5 tests.
> 
> Actually, a plain 'make check' resulted in exactly this case last night.
> One of the tests that triggered it was:
> 	parseko/cmdline09.stp

It is a buggy test case.  It is meant to evoke a "ERROR: Module name
... is too long." message, which it does if the testsuite is being run
as root.  Without that, you get instead the "ERROR: .... setuid"
message, which is absolutely a bug as we shouldn't get that far.

> [...]  This of course means the test case is faulty, but I would
> never have found it without access to the .log output.  [...]

That's true to an extent - but even with .log analysis, you'd have
gotten either one ERROR: or the other, one being a false positive.

- FChE


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]