mirror of
https://gitee.com/openharmony/testfwk_xdevice
synced 2024-11-27 01:20:53 +00:00
修改dmlib_lite.py代码
Signed-off-by: guoxudong <guoxudong12@huawei.com>
This commit is contained in:
parent
cebb985b26
commit
e3bdf6431a
@ -89,7 +89,8 @@ def check_read_test_end(result=None, input_command=None):
|
||||
elif input_command.startswith("zcat"):
|
||||
return False
|
||||
elif input_command == "uname":
|
||||
if "Linux" in result_output and "# " in result_output:
|
||||
if ("Linux" in result_output and "# " in result_output) \
|
||||
or ("OHOS #" in result_output or "#" in result_output):
|
||||
return True
|
||||
elif input_command.startswith("chmod +x") and input_command.find("query.bin"):
|
||||
if PRODUCT_PARAMS_END in result_output:
|
||||
|
Loading…
Reference in New Issue
Block a user