Linux Test Project
 help / color / mirror / Atom feed
From: Cyril Hrubis <chrubis@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH v2] syscalls/wait02.c: Convert to new API
Date: Tue, 20 Apr 2021 16:48:51 +0200	[thread overview]
Message-ID: <YH7p00c276VxJPYg@yuki> (raw)
In-Reply-To: <20210419094431.2418-1-gaozh.jy@fujitsu.com>

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

      reply	other threads:[~2021-04-20 14:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-19  9:44 [LTP] [PATCH v2] syscalls/wait02.c: Convert to new API Zenghui Gao
2021-04-20 14:48 ` Cyril Hrubis [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YH7p00c276VxJPYg@yuki \
    --to=chrubis@suse.cz \
    --cc=ltp@lists.linux.it \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox