[PATCH] add -Y test for waitid
Dmitry V. Levin
ldv at altlinux.org
Thu Mar 17 21:35:03 UTC 2022
On Wed, Mar 16, 2022 at 05:00:30PM +0800, SuHsueyu wrote:
[...]
> diff --git a/tests/waitid-Y.c b/tests/waitid-Y.c
> new file mode 100644
> index 000000000..74d7dcff8
> --- /dev/null
> +++ b/tests/waitid-Y.c
> @@ -0,0 +1,2 @@
> +#define MY_COMM "<waitid-Y>"
> +#include "waitid.c"
Since "strace -Y" requires /proc, please make sure the test is skipped
when /proc is not mounted.
See SKIP_IF_PROC_IS_UNAVAILABLE in tests/dup3*.c as an example how to
implement this.
--
ldv
More information about the Strace-devel
mailing list