Lines Matching refs:subcommand
31 def __run_tpmc_cmd(subcommand):
34 @param subcommand: String of the tpmc subcommand (getvf, getpf, getp, ...)
37 cmd = 'tpmc %s' % subcommand
41 def check_tpmc(subcommand, expected):
48 @param subcommand: String of the tpmc subcommand (getvf, getpf, getp, ...)
52 error_msg = 'invalid response to tpmc %s' % subcommand
54 out = __run_tpmc_cmd(subcommand)
58 result_set = utils.set_from_keyval_output(__run_tpmc_cmd(subcommand))
86 for subcommand in ['getvf', 'getpf']:
87 check_tpmc(subcommand, TPMC_EXPECTED[subcommand])