[Ltrace-devel] Current dev. tree tes run

Petr Machata pmachata at redhat.com
Thu Feb 27 11:29:44 UTC 2014


"Thierry at vnet" <thierry at linux.vnet.ibm.com> writes:

> I worked this morning with the current dev. tree on ppc64 and i386 and
> both are failing the ./ltrace.main/system_calls.exp with the error :
> 	FAIL: ^(new|f)?stat(64)?$ was recorded 2 times, expected == 1
> Looking at the output we find 2 breakpoints
> 	__xstat
> 	fstat
> which could explain that the line 136 : { {^(new|f)?stat(64)?$} == 1 }
> would have to be changed to : { {^(new|f)?stat(64)?$} == 2 }

Yeah, that test is fragile.  Each arch has a different implementation of
same system call wrappers, so this ends up fairly noisy and not very
useful.  Please replace the == 1 with >= 1.

Thank you,
PM



More information about the Ltrace-devel mailing list