subprocess.run((f"rm ./{library}").split(), encoding="utf-8", stdout=subprocess.PIPE).stdout
return "OK"
+# Check if the file or directory exists
+def exist(path):
+ raw = cmd(f"shell find {path}")
+ if "No such file or directory" in raw:
+ return False
+ else:
+ return True
+
# Run the test array
def run_tc_array(module_name, tc_array):
p = 0