]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
The testcases execve1 and fwrite actually fail on x86 in the sense that
authorFlorian Krohm <florian@eich-krohm.de>
Tue, 4 Oct 2011 03:15:38 +0000 (03:15 +0000)
committerFlorian Krohm <florian@eich-krohm.de>
Tue, 4 Oct 2011 03:15:38 +0000 (03:15 +0000)
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

memcheck/tests/execve1.stderr.exp
memcheck/tests/execve1.stderr.exp-kfail [new file with mode: 0644]
memcheck/tests/fwrite.stderr.exp
memcheck/tests/fwrite.stderr.exp-kfail [new file with mode: 0644]

index 15d214f2e8abcf99abf229e81eaae12d38c50040..37a91b83a3c36a617763eb26d99bcc0bdd20cb19 100644 (file)
@@ -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 (file)
index 0000000..15d214f
--- /dev/null
@@ -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
+
index 01cac98e6f0e1c259584af2b3b4b68ed2acdd90c..926330be8b4b66214aa8b3b086a0a5d351fc43b3 100644 (file)
@@ -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 (file)
index 0000000..01cac98
--- /dev/null
@@ -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)
+