public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Jan Stancek <jstancek@redhat.com>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH] lib: Fix result propagation after exec() +	tst_reinit()
Date: Wed, 8 Aug 2018 03:27:49 -0400 (EDT)	[thread overview]
Message-ID: <1353623142.39451274.1533713269397.JavaMail.zimbra@redhat.com> (raw)
In-Reply-To: <20180807142549.13877-1-chrubis@suse.cz>



----- Original Message -----
> The result pointer wasn't initialized in tst_reinit(), which haven't
> allowed for test result propagation to the main test process and there
> is actually no reason not to do that. So this commit initializes the
> results pointer in tst_reinit() and also adds a child_needs_reinit flag
> to tst_test structure, which causes the library not to unlink the IPC
> file after it has been mapped and also inserts LTP_IPC_PATH to the
> environment.
> 
> This commit also adds a test that also shows the usage of the API and
> documentation.
> 
> Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
> CC: Eddie Horng <eddiehorng.tw@gmail.com>

ack

  reply	other threads:[~2018-08-08  7:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-07 14:25 [LTP] [PATCH] lib: Fix result propagation after exec() + tst_reinit() Cyril Hrubis
2018-08-08  7:27 ` Jan Stancek [this message]
2018-08-08  8:35   ` Cyril Hrubis

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=1353623142.39451274.1533713269397.JavaMail.zimbra@redhat.com \
    --to=jstancek@redhat.com \
    --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