Add alternate results for some tests that use mmap.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2755 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/corecheck/tests/Makefile.am b/corecheck/tests/Makefile.am
index dbfa7f5..f422e39 100644
--- a/corecheck/tests/Makefile.am
+++ b/corecheck/tests/Makefile.am
@@ -7,6 +7,7 @@
 noinst_SCRIPTS = filter_stderr filter_fdleak
 
 EXTRA_DIST = $(noinst_SCRIPTS) \
+	as_mmap.stderr.exp as_mmap.stderr.exp2 as_mmap.vgtest \
 	erringfds.stderr.exp erringfds.stdout.exp erringfds.vgtest \
 	fdleak_cmsg.stderr.exp fdleak_cmsg.vgtest \
 	fdleak_creat.stderr.exp fdleak_creat.vgtest \
diff --git a/corecheck/tests/as_mmap.stderr.exp2 b/corecheck/tests/as_mmap.stderr.exp2
new file mode 100644
index 0000000..d400151
--- /dev/null
+++ b/corecheck/tests/as_mmap.stderr.exp2
@@ -0,0 +1,9 @@
+
+Warning: client syscall mmap tried to modify addresses 0x0-0x10000
+mmap @ 0x00000000: Cannot allocate memory
+Warning: client syscall mmap tried to modify addresses 0xB0000000-0xB0010000
+mmap @ top: Cannot allocate memory
+Warning: client syscall mmap tried to modify addresses 0xB8000000-0xB8010000
+mmap @ top+.5G: Cannot allocate memory
+
+ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
diff --git a/memcheck/tests/Makefile.am b/memcheck/tests/Makefile.am
index 7c2727e..e620092 100644
--- a/memcheck/tests/Makefile.am
+++ b/memcheck/tests/Makefile.am
@@ -76,7 +76,7 @@
 	threadederrno.stderr.exp threadederrno.stdout.exp \
 	threadederrno.vgtest \
 	writev.stderr.exp writev.vgtest \
-	zeropage.stderr.exp zeropage.vgtest
+	zeropage.stderr.exp zeropage.stderr.exp2 zeropage.vgtest
 
 check_PROGRAMS = \
 	badaddrvalue badfree badjump badjump2 \
diff --git a/memcheck/tests/zeropage.stderr.exp2 b/memcheck/tests/zeropage.stderr.exp2
new file mode 100644
index 0000000..247d6a9
--- /dev/null
+++ b/memcheck/tests/zeropage.stderr.exp2
@@ -0,0 +1,3 @@
+Warning: client syscall mmap tried to modify addresses 0x........-0x........
+Warning: client syscall mmap tried to modify addresses 0x........-0x........
+Warning: client syscall mmap tried to modify addresses 0x........-0x........