[LTP] [PATCH v2] syscalls/wait02.c: Convert to new API

Cyril Hrubis chrubis@suse.cz
Tue Apr 20 16:48:51 CEST 2021


Hi!
Pushed with a minor changes to the tst_res() messages, thanks.

...
> +	tst_res(TFAIL, "wait(&status) got wrong exit status 0x%x", status);

We do have a tst_strstatus() that formats the wait status into a
readable string, so I've changed this meessage to make use of it.

I've also removed the &status part for the messages, since it does not
add any useful information.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list