tests: check decoding of gettid syscall.

Dmitry V. Levin ldv at altlinux.org
Wed Nov 16 19:11:49 UTC 2016


On Thu, Oct 27, 2016 at 01:03:36PM +0800, ChenJingPiao wrote:
> From d8b52c3ac997dff046e1536d692f55cd470f72d8 Mon Sep 17 00:00:00 2001
> From: ChenJingPiao <chenjingpiao at foxmail.com>
> Date: Thu, 27 Oct 2016 12:25:33 +0800
> Subject: [PATCH] tests: check decoding of gettid syscall.

As one of many zero argument syscalls, gettid has no specific parser
and relies on a generic one, which is already covered by tests.

The only thing that's not covered is the number of syscall arguments,
so a test for this might be OK.

Please note this is a test of strace, not of the kernel, and there is no
need to test whether the kernel follows the expected semantics of gettid
syscall.  Despite the fact that strace testsuite has spotted several
kernel bugs, it's not our priority.  Please keep the test as simple as
necessary to test strace.  For example, there is no need to create any
threads to check the parser of gettid syscall.


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20161116/59965f74/attachment.bin>


More information about the Strace-devel mailing list