|
From: <sv...@va...> - 2005-05-06 15:11:10
|
Author: njn
Date: 2005-05-06 16:11:04 +0100 (Fri, 06 May 2005)
New Revision: 3624
Modified:
trunk/memcheck/tests/x86/scalar.c
trunk/memcheck/tests/x86/scalar.stderr.exp
Log:
Try to fix this test case.
Modified: trunk/memcheck/tests/x86/scalar.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/memcheck/tests/x86/scalar.c 2005-05-05 08:26:14 UTC (rev 3623)
+++ trunk/memcheck/tests/x86/scalar.c 2005-05-06 15:11:04 UTC (rev 3624)
@@ -317,7 +317,7 @@
=20
// __NR_sigaction 67
GO(__NR_sigaction, "3s 2m");
- SY(__NR_sigaction, x0, x0, x0+1); FAIL;
+ SY(__NR_sigaction, x0, x0+&px[1], x0+&px[1]); FAIL;
=20
// __NR_sgetmask 68 sys_sgetmask()
GO(__NR_sgetmask, "n/a");
Modified: trunk/memcheck/tests/x86/scalar.stderr.exp
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/memcheck/tests/x86/scalar.stderr.exp 2005-05-05 08:26:14 UTC (r=
ev 3623)
+++ trunk/memcheck/tests/x86/scalar.stderr.exp 2005-05-06 15:11:04 UTC (r=
ev 3624)
@@ -711,7 +711,7 @@
=20
Syscall param fcntl(lock) contains uninitialised byte(s)
at 0x........: syscall (in /...libc...)
- by 0x........: __libc_start_main (...libc...)
+ by 0x........: __libc_start_main (in /...libc...)
by 0x........: ...
-----------------------------------------------------
56: __NR_mpx ni
@@ -805,13 +805,17 @@
at 0x........: syscall (in /...libc...)
by 0x........: __libc_start_main (in /...libc...)
by 0x........: ...
- Address 0x........ is not stack'd, malloc'd or (recently) free'd
+ Address 0x........ is 0 bytes after a block of size 4 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (scalar.c:24)
=20
Syscall param sigaction(oldact) points to unaddressable byte(s)
at 0x........: syscall (in /...libc...)
by 0x........: __libc_start_main (in /...libc...)
by 0x........: ...
- Address 0x........ is not stack'd, malloc'd or (recently) free'd
+ Address 0x........ is 0 bytes after a block of size 4 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (scalar.c:24)
-----------------------------------------------------
68: __NR_sgetmask n/a
-----------------------------------------------------
@@ -1668,7 +1672,7 @@
by 0x........: ...
Address 0x........ is 0 bytes after a block of size 4 alloc'd
at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (scalar.c:20)
+ by 0x........: main (scalar.c:24)
=20
Syscall param sigprocmask(oldset) points to unaddressable byte(s)
at 0x........: syscall (in /...libc...)
@@ -1676,7 +1680,7 @@
by 0x........: ...
Address 0x........ is 0 bytes after a block of size 4 alloc'd
at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (scalar.c:20)
+ by 0x........: main (scalar.c:24)
-----------------------------------------------------
127: __NR_create_module ni
-----------------------------------------------------
@@ -3340,7 +3344,7 @@
=20
Syscall param fcntl64(lock) contains uninitialised byte(s)
at 0x........: syscall (in /...libc...)
- by 0x........: __libc_start_main (...libc...)
+ by 0x........: __libc_start_main (in /...libc...)
by 0x........: ...
-----------------------------------------------------
222: 222 ni
|