[PATCH v10 5/5] Add tests for PID namespace translation

Dmitry V. Levin ldv at altlinux.org
Thu Aug 20 19:17:01 UTC 2020


On Wed, Aug 19, 2020 at 08:16:37PM +0200, Ákos Uzonyi wrote:
[...]
> new file mode 100755
> index 00000000..fa98ed8c
> --- /dev/null
> +++ b/tests/pidns-cache.test
> @@ -0,0 +1,16 @@
> +#!/bin/sh
> +#
> +# Test pidns translation cache.
> +#
> +# Copyright (c) 2020 The strace developers.
> +# All rights reserved.
> +#
> +# SPDX-License-Identifier: GPL-2.0-or-later
> +
> +. "${srcdir=.}/init.sh"
> +
> +require_min_kernel_version_or_skip 4.9
> +check_prog timeout
> +
> +run_prog > /dev/null
> +run_strace --pidns-translation -f -e trace=getpid $args

Do we really need this require_min_kernel_version_or_skip here?


-- 
ldv


More information about the Strace-devel mailing list