]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
memcheck/tests/strchr: Add a regression test output variant
authorBart Van Assche <bvanassche@acm.org>
Mon, 25 Nov 2013 06:46:45 +0000 (06:46 +0000)
committerBart Van Assche <bvanassche@acm.org>
Mon, 25 Nov 2013 06:46:45 +0000 (06:46 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13720

memcheck/tests/Makefile.am
memcheck/tests/strchr.stderr.exp2 [new file with mode: 0644]

index b5157ff7b0aaedce5bca2a9bef726f9c55ab8202..355016924c8286419769edc9129135ebbfa25e9d 100644 (file)
@@ -214,7 +214,7 @@ EXTRA_DIST = \
        sigprocmask.stderr.exp sigprocmask.stderr.exp2 sigprocmask.vgtest \
        static_malloc.stderr.exp static_malloc.vgtest \
        stpncpy.vgtest stpncpy.stderr.exp stpncpy.stdout.exp \
-       strchr.stderr.exp strchr.stderr.exp3 strchr.vgtest \
+       strchr.stderr.exp strchr.stderr.exp2 strchr.stderr.exp3 strchr.vgtest \
        str_tester.stderr.exp str_tester.vgtest \
        supp-dir.vgtest supp-dir.stderr.exp \
        supp_unknown.stderr.exp supp_unknown.vgtest supp_unknown.supp \
diff --git a/memcheck/tests/strchr.stderr.exp2 b/memcheck/tests/strchr.stderr.exp2
new file mode 100644 (file)
index 0000000..2006ab6
--- /dev/null
@@ -0,0 +1,16 @@
+Conditional jump or move depends on uninitialised value(s)
+   at 0x........: index (vg_replace_strmem.c:...)
+   by 0x........: main (strchr.c:15)
+
+Conditional jump or move depends on uninitialised value(s)
+   at 0x........: index (vg_replace_strmem.c:...)
+   by 0x........: main (strchr.c:15)
+
+Conditional jump or move depends on uninitialised value(s)
+   at 0x........: rindex (vg_replace_strmem.c:...)
+   by 0x........: main (strchr.c:16)
+
+Conditional jump or move depends on uninitialised value(s)
+   at 0x........: rindex (vg_replace_strmem.c:...)
+   by 0x........: main (strchr.c:16)
+