mirror of
https://gitee.com/openharmony/testfwk_xdevice
synced 2024-11-27 01:20:53 +00:00
修复uname无法显示的bug
Signed-off-by: deveco_xdevice <liguangjie1@huawei.com>
This commit is contained in:
parent
d58e683852
commit
1672d8376b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user