From 083723080c9cd57883b7e629e702b5fb2e259e4d Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Mon, 25 Nov 2013 06:46:45 +0000 Subject: [PATCH] memcheck/tests/strchr: Add a regression test output variant git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13720 --- memcheck/tests/Makefile.am | 2 +- memcheck/tests/strchr.stderr.exp2 | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 memcheck/tests/strchr.stderr.exp2 diff --git a/memcheck/tests/Makefile.am b/memcheck/tests/Makefile.am index b5157ff7b..355016924 100644 --- a/memcheck/tests/Makefile.am +++ b/memcheck/tests/Makefile.am @@ -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 index 000000000..2006ab688 --- /dev/null +++ b/memcheck/tests/strchr.stderr.exp2 @@ -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) +