tests: do not truncate pid to 16 bits
authorMike Gilbert <floppym@gentoo.org>
Fri, 8 May 2020 03:28:50 +0000 (23:28 -0400)
committerAndreas Schneider <asn@samba.org>
Thu, 14 May 2020 10:46:13 +0000 (12:46 +0200)
commitbbc1d654cae9197fa3782e8ea8e1aaa9fdf0cfb0
tree6eac344a0ef4ccd11fd2244f112c1158958952e1
parentf6a10e2a4a34662b11430aecf3eea7b6b3bf844f
tests: do not truncate pid to 16 bits

On Linux, pid_t is a 32-bit type, and the kernel permits pids up to 22
bits in length.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14373

Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
tests/torture.c