All of lore.kernel.org
 help / color / mirror / Atom feed
From: Li Wang <liwang@redhat.com>
To: Cyril Hrubis <chrubis@suse.cz>
Cc: LTP List <ltp@lists.linux.it>
Subject: Re: [LTP] [PATCH v3] lib: shell: Fix timeout process races
Date: Wed, 22 Sep 2021 18:10:59 +0800	[thread overview]
Message-ID: <CAEemH2dNy2FiuDtxVKZYpnj4LeZ485fHXJBqzpPAwQ8=RGO8hA@mail.gmail.com> (raw)
In-Reply-To: <20210922094838.21366-1-chrubis@suse.cz>


[-- Attachment #1.1: Type: text/plain, Size: 846 bytes --]

Reviewed-by: Li Wang <liwang@redhat.com>

Patch tested well from my side, that'd be great if you
can help update code comments in timeout03.sh.

Or, do that separately is also fine, it's not a big deal.

# bash timeout03.sh
timeout03 1 TINFO: timeout per run is 0h 0m 1s
timeout03 1 TINFO: testing killing test after TST_TIMEOUT
Test timed out, sending SIGTERM!
If you are running on slow machine, try exporting LTP_TIMEOUT_MUL > 1
Terminated
timeout03 1 TBROK: test terminated
timeout03 1 TPASS: test run cleanup after timeout
Test is still running...
Test is still running...
Test is still running...
Test is still running...
Test is still running...
Test is still running...
Test is still running...
Test is still running...
Test is still running...
Test is still running...
Test is still running, sending SIGKILL
Killed

-- 
Regards,
Li Wang

[-- Attachment #1.2: Type: text/html, Size: 1719 bytes --]

[-- Attachment #2: Type: text/plain, Size: 60 bytes --]


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

  parent reply	other threads:[~2021-09-22 10:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-22  9:48 [LTP] [PATCH v3] lib: shell: Fix timeout process races Cyril Hrubis
2021-09-22 10:06 ` Petr Vorel
2021-09-22 10:10 ` Li Wang [this message]
2021-09-22 14:13   ` 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='CAEemH2dNy2FiuDtxVKZYpnj4LeZ485fHXJBqzpPAwQ8=RGO8hA@mail.gmail.com' \
    --to=liwang@redhat.com \
    --cc=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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.