|
From: <sv...@va...> - 2011-10-04 03:59:51
|
Author: florian
Date: 2011-10-04 04:55:04 +0100 (Tue, 04 Oct 2011)
New Revision: 12094
Log:
Fix execve2 testcase.
First, due to a typo in Makefile.am it was compiled with the wrong flags.
Secondly, the testcase gives an incorrect backtrace on x86 (missing the
line where the error occurs). Updated the generic exp to contain the
correct result and added exp-kfail for platforms where this test fails.
Added:
trunk/memcheck/tests/execve2.stderr.exp-kfail
Modified:
trunk/memcheck/tests/Makefile.am
trunk/memcheck/tests/execve2.stderr.exp
Modified: trunk/memcheck/tests/Makefile.am
===================================================================
--- trunk/memcheck/tests/Makefile.am 2011-10-04 03:33:59 UTC (rev 12093)
+++ trunk/memcheck/tests/Makefile.am 2011-10-04 03:55:04 UTC (rev 12094)
@@ -288,7 +288,7 @@
execve1_CFLAGS = $(AM_CFLAGS) @FLAG_W_NO_NONNULL@
-execve2_CFLAGS = $(AM_CFLASG) @FLAG_W_NO_NONNULL@
+execve2_CFLAGS = $(AM_CFLAGS) @FLAG_W_NO_NONNULL@
inits_CFLAGS = $(AM_CFLAGS) @FLAG_W_NO_UNINITIALIZED@
Modified: trunk/memcheck/tests/execve2.stderr.exp
===================================================================
--- trunk/memcheck/tests/execve2.stderr.exp 2011-10-04 03:33:59 UTC (rev 12093)
+++ trunk/memcheck/tests/execve2.stderr.exp 2011-10-04 03:55:04 UTC (rev 12094)
@@ -1,4 +1,5 @@
Syscall param execve(filename) points to unaddressable byte(s)
...
+ by 0x........: main (execve2.c:8)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
Added: trunk/memcheck/tests/execve2.stderr.exp-kfail
===================================================================
--- trunk/memcheck/tests/execve2.stderr.exp-kfail (rev 0)
+++ trunk/memcheck/tests/execve2.stderr.exp-kfail 2011-10-04 03:55:04 UTC (rev 12094)
@@ -0,0 +1,4 @@
+Syscall param execve(filename) points to unaddressable byte(s)
+ ...
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
|