]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Remove address from output, which varies from machine to machine and causes
authorNicholas Nethercote <n.nethercote@gmail.com>
Fri, 9 Jan 2004 16:15:06 +0000 (16:15 +0000)
committerNicholas Nethercote <n.nethercote@gmail.com>
Fri, 9 Jan 2004 16:15:06 +0000 (16:15 +0000)
failure.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2196

corecheck/tests/as_shm.c
corecheck/tests/as_shm.stdout.exp

index 30abc661c7b5adaabee389224d40b640331291df..005c725fa4a7cfe11fc8fcf9c74a3f6a8d6332ad 100644 (file)
@@ -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);
 
index d2dcf73b347c97a575247298006e8f8ec9366f98..5c3a150d2037b34f8263af56b62b990a630e439e 100644 (file)
@@ -1 +1 @@
-shmat 0: addr=0x81156000
+shmat 0: addr=...