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] mtest05/mmstress: Fix failure on read-only system
Date: Wed, 22 Mar 2017 17:47:54 +0100	[thread overview]
Message-ID: <20170322164754.GD4960@rei.lan> (raw)
In-Reply-To: <1489106886-4037-1-git-send-email-the_hoang0709@yahoo.com>

Hi!
This was broken for when the test was passed the -t option since in that
case the alarm called exit(). Well the -t option was broken anyway,
since it did exit(0) regardless of the result of the test functions.

So I've cleaned up the test a bit so that SIGALRM only sets a flag that
causes the main loop to exit and also to call tst_exit() properly and
then added the tst_tmpdir() and tst_rmdir() calls.

-- 
Cyril Hrubis
chrubis@suse.cz

  parent reply	other threads:[~2017-03-22 16:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-10  0:48 [LTP] [PATCH] mtest05/mmstress: Fix failure on read-only system the_hoang0709
2017-03-22  3:07 ` Hoang Nguyen
2017-03-22 16:47 ` Cyril Hrubis [this message]
2017-03-27  8:02   ` Hoang Nguyen

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=20170322164754.GD4960@rei.lan \
    --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