Remove address from output, which varies from machine to machine and causes
failure.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2196 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/corecheck/tests/as_shm.c b/corecheck/tests/as_shm.c
index 30abc66..005c725 100644
--- a/corecheck/tests/as_shm.c
+++ b/corecheck/tests/as_shm.c
@@ -18,14 +18,14 @@
if (addr == (void *)-1)
perror("shmat @ 0");
else
- printf("shmat 0: addr=%p\n", addr);
+ printf("shmat 0: addr=...\n");
addr = shmat(shmid, top, 0);
if (addr == (void *)-1)
perror("shmat @ top");
else
- printf("shmat 2: addr=%p\n", addr);
+ printf("shmat 2: addr=...\n");
shmctl(shmid, IPC_RMID, NULL);
diff --git a/corecheck/tests/as_shm.stdout.exp b/corecheck/tests/as_shm.stdout.exp
index d2dcf73..5c3a150 100644
--- a/corecheck/tests/as_shm.stdout.exp
+++ b/corecheck/tests/as_shm.stdout.exp
@@ -1 +1 @@
-shmat 0: addr=0x81156000
+shmat 0: addr=...