account for restart_syscall


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3028 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/memcheck/tests/scalar.c b/memcheck/tests/scalar.c
index 0b07965..0f0b895 100644
--- a/memcheck/tests/scalar.c
+++ b/memcheck/tests/scalar.c
@@ -23,8 +23,9 @@
 
    // All __NR_xxx numbers are taken from x86
 
-   // __NR_restart_syscall 0  XXX ???
-   // (see below)
+   // __NR_restart_syscall 0  // XXX: not yet handled, perhaps should be...
+   GO(__NR_restart_syscall, "n/a");
+ //SY(__NR_restart_syscall); // (Not yet handled by Valgrind) FAIL;
 
    // __NR_exit 1 
    GO(__NR_exit, "below");
diff --git a/memcheck/tests/scalar.stderr.exp b/memcheck/tests/scalar.stderr.exp
index 9f69e2e..7f2adde 100644
--- a/memcheck/tests/scalar.stderr.exp
+++ b/memcheck/tests/scalar.stderr.exp
@@ -1,4 +1,7 @@
 -----------------------------------------------------
+  0:__NR_restart_syscall n/a
+-----------------------------------------------------
+-----------------------------------------------------
   1:           __NR_exit below
 -----------------------------------------------------
 -----------------------------------------------------
@@ -2685,14 +2688,14 @@
    by 0x........: __libc_start_main (...libc...)
    by 0x........: ...
  Address 0x........ is 0 bytes inside a block of size 12 client-defined
-   at 0x........: main (scalar.c:810)
+   at 0x........: main (scalar.c:811)
 
 Syscall param sigaltstack(oss) points to unaddressable byte(s)
    at 0x........: syscall (in /...libc...)
    by 0x........: __libc_start_main (...libc...)
    by 0x........: ...
  Address 0x........ is 0 bytes inside a block of size 12 client-defined
-   at 0x........: main (scalar.c:810)
+   at 0x........: main (scalar.c:811)
 -----------------------------------------------------
 187:       __NR_sendfile 4s 1m
 -----------------------------------------------------