public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Cyril Hrubis <chrubis@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH 0/6] rewrite exec() family tests to newlib
Date: Wed, 8 Aug 2018 14:36:28 +0200	[thread overview]
Message-ID: <20180808123628.GB19147@rei> (raw)
In-Reply-To: <20180808055434.26293-1-liwang@redhat.com>

Hi!
> This patch set are base on Cyril's new patch(lib: Fix result
> propagation after exec() + tst_reinit()) to rewrite all exec[lvpe]
> testcase in new API. 

I was thinking about doing exactly this yesterday, it's nice to see it
done so fast :-).

The patches 1-5 are pushed with two changes:

* There is no need to set the .needs_root flag for exec*01 testcases

* It's wrong to do waitpid() for the child that reports the results
  (and it's even written in the test-writing-guidelines) that is because
  tst_brk() is propagated using the exit value, hence children that use
  the test library API has to be waited for in the test library (which
  happens automatically once the main test process exits the test
  function)

-- 
Cyril Hrubis
chrubis@suse.cz

  parent reply	other threads:[~2018-08-08 12:36 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-08  5:54 [LTP] [PATCH 0/6] rewrite exec() family tests to newlib Li Wang
2018-08-08  5:54 ` [LTP] [PATCH 1/6] execl: rewrite " Li Wang
2018-08-08  5:54 ` [LTP] [PATCH 2/6] execle: " Li Wang
2018-08-08  5:54 ` [LTP] [PATCH 3/6] execlp: " Li Wang
2018-08-08  5:54 ` [LTP] [PATCH 4/6] execv: " Li Wang
2018-08-08  5:54 ` [LTP] [PATCH 5/6] execvp: " Li Wang
2018-08-08  5:54 ` [LTP] [PATCH 6/6] execve: " Li Wang
2018-08-08 13:03   ` Cyril Hrubis
2018-08-08 12:36 ` Cyril Hrubis [this message]
2018-08-09  4:59   ` [LTP] [PATCH 0/6] rewrite exec() family tests " Li Wang

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=20180808123628.GB19147@rei \
    --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