public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Petr Vorel <pvorel@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH v1] syscalls/acct02: Fix wrongfully failing sometimes
Date: Thu, 20 Jun 2019 09:47:03 +0200	[thread overview]
Message-ID: <20190620074703.GC13879@dell5510> (raw)
In-Reply-To: <20190607141622.20316-1-camann@suse.com>

Hi Christian,

> On some systems the process calling acct() has to end before
> process accounting is started. This caused the original test
> to fail on those systems.
> This fix forks a child process to call acct() in order to
> activate process accounting before running the test program.

> Signed-off-by: Christian Amann <camann@suse.com>

Reviewed-by: Petr Vorel <pvorel@suse.cz>

Thanks for you patch. Could you be please more specific?
(which kernel version / glibc)

I'm testing it on various distros, all have struct acct_v3 and all fail
(regardless this patch):
FAIL: acct() wrote incorrect file contents!

Kind regards,
Petr

      reply	other threads:[~2019-06-20  7:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-07 14:16 [LTP] [PATCH v1] syscalls/acct02: Fix wrongfully failing sometimes Christian Amann
2019-06-20  7:47 ` Petr Vorel [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=20190620074703.GC13879@dell5510 \
    --to=pvorel@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