|
From: Nicholas N. <nj...@ca...> - 2004-01-09 16:15:38
|
CVS commit by nethercote:
Remove address from output, which varies from machine to machine and causes
failure.
M +2 -2 as_shm.c 1.3 [POSSIBLY UNSAFE: printf]
M +1 -1 as_shm.stdout.exp 1.2
--- valgrind/corecheck/tests/as_shm.c #1.2:1.3
@@ -19,5 +19,5 @@ int main()
perror("shmat @ 0");
else
- printf("shmat 0: addr=%p\n", addr);
+ printf("shmat 0: addr=...\n");
addr = shmat(shmid, top, 0);
@@ -26,5 +26,5 @@ int main()
perror("shmat @ top");
else
- printf("shmat 2: addr=%p\n", addr);
+ printf("shmat 2: addr=...\n");
shmctl(shmid, IPC_RMID, NULL);
--- valgrind/corecheck/tests/as_shm.stdout.exp #1.1:1.2
@@ -1 +1 @@
-shmat 0: addr=0x81156000
+shmat 0: addr=...
|