From: Florian Krohm Date: Tue, 4 Oct 2011 03:15:38 +0000 (+0000) Subject: The testcases execve1 and fwrite actually fail on x86 in the sense that X-Git-Tag: svn/VALGRIND_3_7_0~145 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8d25c1a22880fde713ad3f0e48eaa3ae5cd482f;p=thirdparty%2Fvalgrind.git The testcases execve1 and fwrite actually fail on x86 in the sense that they produce an incomplete backtrace. Added exp-kfail files to capture the results with the incomplete backtraces. Updated the generic exp files. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12092 --- diff --git a/memcheck/tests/execve1.stderr.exp b/memcheck/tests/execve1.stderr.exp index 15d214f2e8..37a91b83a3 100644 --- a/memcheck/tests/execve1.stderr.exp +++ b/memcheck/tests/execve1.stderr.exp @@ -1,12 +1,15 @@ Syscall param execve(filename) points to unaddressable byte(s) ... + by 0x........: main (execve1.c:9) Address 0x........ is not stack'd, malloc'd or (recently) free'd Syscall param execve(argv[i]) points to unaddressable byte(s) ... + by 0x........: main (execve1.c:9) Address 0x........ is not stack'd, malloc'd or (recently) free'd Syscall param execve(envp[i]) points to unaddressable byte(s) ... + by 0x........: main (execve1.c:9) Address 0x........ is not stack'd, malloc'd or (recently) free'd diff --git a/memcheck/tests/execve1.stderr.exp-kfail b/memcheck/tests/execve1.stderr.exp-kfail new file mode 100644 index 0000000000..15d214f2e8 --- /dev/null +++ b/memcheck/tests/execve1.stderr.exp-kfail @@ -0,0 +1,12 @@ +Syscall param execve(filename) points to unaddressable byte(s) + ... + Address 0x........ is not stack'd, malloc'd or (recently) free'd + +Syscall param execve(argv[i]) points to unaddressable byte(s) + ... + Address 0x........ is not stack'd, malloc'd or (recently) free'd + +Syscall param execve(envp[i]) points to unaddressable byte(s) + ... + Address 0x........ is not stack'd, malloc'd or (recently) free'd + diff --git a/memcheck/tests/fwrite.stderr.exp b/memcheck/tests/fwrite.stderr.exp index 01cac98e6f..926330be8b 100644 --- a/memcheck/tests/fwrite.stderr.exp +++ b/memcheck/tests/fwrite.stderr.exp @@ -1,5 +1,6 @@ Syscall param write(buf) points to uninitialised byte(s) ... + by 0x........: main (fwrite.c:12) Address 0x........ is 0 bytes inside a block of size 10 alloc'd at 0x........: malloc (vg_replace_malloc.c:...) by 0x........: main (fwrite.c:7) diff --git a/memcheck/tests/fwrite.stderr.exp-kfail b/memcheck/tests/fwrite.stderr.exp-kfail new file mode 100644 index 0000000000..01cac98e6f --- /dev/null +++ b/memcheck/tests/fwrite.stderr.exp-kfail @@ -0,0 +1,6 @@ +Syscall param write(buf) points to uninitialised byte(s) + ... + Address 0x........ is 0 bytes inside a block of size 10 alloc'd + at 0x........: malloc (vg_replace_malloc.c:...) + by 0x........: main (fwrite.c:7) +