From: Nicholas Nethercote Date: Fri, 9 Jan 2004 16:15:06 +0000 (+0000) Subject: Remove address from output, which varies from machine to machine and causes X-Git-Tag: svn/VALGRIND_2_1_1~111 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2df352f28f053cffc945b9eaa4de299ebcd8903e;p=thirdparty%2Fvalgrind.git Remove address from output, which varies from machine to machine and causes failure. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2196 --- diff --git a/corecheck/tests/as_shm.c b/corecheck/tests/as_shm.c index 30abc661c7..005c725fa4 100644 --- a/corecheck/tests/as_shm.c +++ b/corecheck/tests/as_shm.c @@ -18,14 +18,14 @@ int main() 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 d2dcf73b34..5c3a150d20 100644 --- a/corecheck/tests/as_shm.stdout.exp +++ b/corecheck/tests/as_shm.stdout.exp @@ -1 +1 @@ -shmat 0: addr=0x81156000 +shmat 0: addr=...