Test start standby cache with mutually exclusive parameters

Signed-off-by: Piotr Debski <piotr.debski@intel.com>
This commit is contained in:
Piotr Debski
2022-04-19 10:22:45 +02:00
parent 82e76e768d
commit 290a72054d
2 changed files with 65 additions and 0 deletions

View File

@@ -135,6 +135,16 @@ operation_forbiden_in_standby = [
r"The operation is not permited while the cache is in the standby mode"
]
mutually_exclusive_params_init = [
r"Can\'t use \'load\' and \'init\' options simultaneously\n"
r"Error during options handling"
]
mutually_exclusive_params_load = [
r"Use of \'load\' with \'force\', \'cache-id\' or \'cache-line-size\' simultaneously is "
r"forbidden."
]
def check_stderr_msg(output: Output, expected_messages):
return __check_string_msg(output.stderr, expected_messages)