From: Elif Aslan <elas@linux.vnet.ibm.com>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH] Fixed mon_fsstatd.sh
Date: Tue, 5 Mar 2019 14:30:15 +0100 [thread overview]
Message-ID: <20190305133015.3859-1-elas@linux.vnet.ibm.com> (raw)
---
testcases/commands/cpuplugd/mon_fsstatd.sh | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/testcases/commands/cpuplugd/mon_fsstatd.sh b/testcases/commands/cpuplugd/mon_fsstatd.sh
index 0a8d5b8c2..fdbd3ee3d 100644
--- a/testcases/commands/cpuplugd/mon_fsstatd.sh
+++ b/testcases/commands/cpuplugd/mon_fsstatd.sh
@@ -135,13 +135,23 @@ mon_fsstatd_test1()
mon_fsstatd_run 0 "mon_procd -i 30"
sleep 2
- mon_fsstatd_run 0 "mon_procd -a &"
+ mon_procd -a &
+ if [ "$?" -eq "0" ]; then
+ tst_res TPASS "'mon_procd -a' returned 0"
+ else
+ tst_res TFAIL "'mon_procd -a' did not return 0"
+ fi
sleep 2
mon_fsstatd_run 0 "killall mon_procd"
sleep 2
- mon_fsstatd_run 0 "mon_fsstatd -a &"
+ mon_fsstatd -a &
+ if [ "$?" -eq "0" ]; then
+ tst_res TPASS "'mon_fsstatd -a' returned 0"
+ else
+ tst_res TFAIL "'mon_fsstatd -a' did not return 0"
+ fi
sleep 2
mon_fsstatd_run 0 "killall mon_fsstatd"
--
2.17.2 (Apple Git-113)
next reply other threads:[~2019-03-05 13:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-05 13:30 Elif Aslan [this message]
2019-03-05 13:43 ` [LTP] [PATCH] Fixed mon_fsstatd.sh 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=20190305133015.3859-1-elas@linux.vnet.ibm.com \
--to=elas@linux.vnet.ibm.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