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