Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/tests/kernel



Module Name:    src
Committed By:   kamil
Date:           Thu Nov  3 08:48:54 UTC 2016

Modified Files:
        src/tests/kernel: t_ptrace.c

Log Message:
Add new test traceme3 in t_ptrace

This test is modeled after traceme1 and traceme2 with the goal to test if
the child was terminated with a received signal passed with PT_CONTINUE.

Currently the three traceme tests verifies three possible status values from
waitpid(2) called by the parent:
 - WIFEXITED(status),
 - WIFSIGNALED(status),
 - WIFSTOPPED(status)
with associated macros:
 - WEXITSTATUS(status),
 - WTERMSIG(status),
 - WCOREDUMP(status),
 - WSTOPSIG(status).

In traceme3 has been assumed that Ctrl-C (SIGINT) does not emit core(5).

Sponsored by <The NetBSD Foundation>.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/kernel/t_ptrace.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index