修复uname无法显示的bug

Signed-off-by: deveco_xdevice <liguangjie1@huawei.com>
This commit is contained in:
deveco_xdevice 2024-04-28 11:53:19 +08:00
parent d58e683852
commit 1672d8376b

View File

@ -90,7 +90,7 @@ def check_read_test_end(result=None, input_command=None):
return False
elif input_command == "uname":
if "Linux" in result_output and "# " in result_output:
return False
return True
elif input_command.startswith("chmod +x") and input_command.find("query.bin"):
if PRODUCT_PARAMS_END in result_output:
return True