Skip to contentSkip to conversation

Fixed mon_fsstatd.sh

PATCH New Elif Aslan 2 participants 2 messages Mar 5, 2019

lore
Share & tools
lore

Elif Aslan

author
#0 lore raw

PATCH 1/1 Fixed mon_fsstatd.sh

---
 testcases/commands/cpuplugd/mon_fsstatd.sh | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)
testcases/commands/cpuplugd/mon_fsstatd.sh +12 -2
index 0a8d5b8c2..fdbd3ee3d 100644
@@ -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"
Signature · 1 line
2.17.2 (Apple Git-113)
#1 lore raw

PATCH 1/1 Fixed mon_fsstatd.sh

Hi!
I suppose that this should be applied over the cpuhotplug patch, right?

In that case, as that pach wasn't applied yet, you should have send v2 patchset for the original patch with this changes included.

Signature · 2 lines
Cyril Hrubis
[email protected]