From 50b5aae26258313c56b5a63354e1435de89d6486 Mon Sep 17 00:00:00 2001 From: "j-h.choi" Date: Wed, 13 Jan 2021 13:49:01 +0900 Subject: [PATCH] [TC Fixed] Delete the .tpk file used for the test Change-Id: I9ff999bb3b21b702f7bfcb1179cab73074e3850c --- tests/TCs/Utils.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/TCs/Utils.py b/tests/TCs/Utils.py index 60eb979..6babbb6 100755 --- a/tests/TCs/Utils.py +++ b/tests/TCs/Utils.py @@ -82,7 +82,10 @@ def app_install(tpk_path): tpk_name = Path(tpk_path).name raw = cmd(f"shell pkgcmd -i -t tpk -p {OWNER_DIR}{tpk_name}") if "key[end] val[ok]" not in raw: + cmd(f"shell rm {OWNER_DIR}{tpk_name}") return "FAIL" + + cmd(f"shell rm {OWNER_DIR}{tpk_name}") return "OK" # Get the root path of the application -- 2.7.4