fix(bug): fix oe_test_systemd_SCEN_06.sh
This commit is contained in:
@@ -51,8 +51,8 @@ function run_test() {
|
|||||||
systemctl restart TestB
|
systemctl restart TestB
|
||||||
CHECK_RESULT $? 0 0 "TestB.service restart success"
|
CHECK_RESULT $? 0 0 "TestB.service restart success"
|
||||||
sleep 2
|
sleep 2
|
||||||
systemctl status TestB
|
LOG_INFO "Check TestB.service status after restart with invalid ExecStart"
|
||||||
CHECK_RESULT $? 0 0 "Failed to get TestB.service status"
|
systemctl status TestB || true
|
||||||
systemctl is-failed TestB
|
systemctl is-failed TestB
|
||||||
CHECK_RESULT $? 0 0 "TestB.service is not in failed state"
|
CHECK_RESULT $? 0 0 "TestB.service is not in failed state"
|
||||||
systemctl status TestA | grep running
|
systemctl status TestA | grep running
|
||||||
|
|||||||
Reference in New Issue
Block a user