summaryrefslogtreecommitdiffstats
path: root/testsuite
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/systemtap.syscall/ChangeLog12
-rw-r--r--testsuite/systemtap.syscall/forkwait.c2
-rwxr-xr-xtestsuite/systemtap.syscall/swap.c1
-rw-r--r--testsuite/systemtap.syscall/timer.c8
4 files changed, 17 insertions, 6 deletions
diff --git a/testsuite/systemtap.syscall/ChangeLog b/testsuite/systemtap.syscall/ChangeLog
index 0a3d51ae..772f980a 100644
--- a/testsuite/systemtap.syscall/ChangeLog
+++ b/testsuite/systemtap.syscall/ChangeLog
@@ -1,3 +1,15 @@
+2008-09-17 Mark Wielaard <mjw@redhat.com>
+
+ * forkwait.c: Low byte of flags is always set to SIGCHLD.
+
+2008-09-17 Mark Wielaard <mjw@redhat.com>
+
+ * timer.c: Timer id can be arbitrary number.
+
+2008-09-17 Mark Wielaard <mjw@redhat.com>
+
+ * swap.c: Don't try including unnecessary asm/page.h.
+
2008-02-22 Frank Ch. Eigler <fche@elastic.org>
* test.tcl: Support noexec /tmp by creating test directory
diff --git a/testsuite/systemtap.syscall/forkwait.c b/testsuite/systemtap.syscall/forkwait.c
index 10f8d6ac..ffc98708 100644
--- a/testsuite/systemtap.syscall/forkwait.c
+++ b/testsuite/systemtap.syscall/forkwait.c
@@ -12,7 +12,7 @@ int main ()
int status;
child = fork();
- // clone (CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID) = NNNN
+ // clone (CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD) = NNNN
if (!child) {
int i = 0xfffff;
while (i > 0) i--;
diff --git a/testsuite/systemtap.syscall/swap.c b/testsuite/systemtap.syscall/swap.c
index a2db301e..3708a477 100755
--- a/testsuite/systemtap.syscall/swap.c
+++ b/testsuite/systemtap.syscall/swap.c
@@ -1,6 +1,5 @@
/* COVERAGE: swapon swapoff */
#include <unistd.h>
-#include <asm/page.h>
#include <sys/swap.h>
diff --git a/testsuite/systemtap.syscall/timer.c b/testsuite/systemtap.syscall/timer.c
index f7b888ae..947f6a77 100644
--- a/testsuite/systemtap.syscall/timer.c
+++ b/testsuite/systemtap.syscall/timer.c
@@ -16,16 +16,16 @@ int main()
// timer_create (CLOCK_REALTIME, 0x[0]+, XXXX)
syscall(SYS_timer_gettime, tid, &val);
- // timer_gettime (0, XXXX)
+ // timer_gettime (NNNN, XXXX)
syscall(SYS_timer_settime, 0, tid, &val, &oval);
- // timer_settime (0, 0, \[0.000000,0.000000\], XXXX)
+ // timer_settime (0, NNNN, \[0.000000,0.000000\], XXXX)
syscall(SYS_timer_getoverrun, tid);
- // timer_getoverrun (0)
+ // timer_getoverrun (NNNN)
syscall(SYS_timer_delete, tid);
- // timer_delete (0)
+ // timer_delete (NNNN)
return 0;
}