修复Linux安装器停服查询失败放行并补齐22场景回归
This commit is contained in:
1 parent
f04f873232
commit
6b6fc12686
5 files changed
+115
-14
No files matched your search
@@ -45,8 +45,10 @@ func TestLinuxInstallerPolicy(t *testing.T) {
|
||||
`load_existing_certificate_dir`,
|
||||
`certificate_dir_explicit=true`,
|
||||
`file -b -- "$source_dir/$artifact"`,
|
||||
`systemctl is-active --quiet Scert.service`,
|
||||
`systemctl is-active --quiet Scert-admin.service`,
|
||||
`for unit in Scert.service Scert-admin.service`,
|
||||
`systemctl show "$unit" -p LoadState -p ActiveState -p SubState -p MainPID -p ControlPID -p Job`,
|
||||
`loaded:inactive:dead|loaded:failed:failed|not-found:inactive:dead`,
|
||||
`"$main_pid" == "0" && "$control_pid" == "0" && -z "$job"`,
|
||||
`pwd -P`,
|
||||
`10-certificate-path.conf`,
|
||||
`"$INSTALL_DIR/conf"`,
|
||||
|
||||
Reference in new issue
Block a user