summaryrefslogtreecommitdiff
path: root/automated/linux/optee/optee-xtest.sh
diff options
context:
space:
mode:
Diffstat (limited to 'automated/linux/optee/optee-xtest.sh')
-rwxr-xr-xautomated/linux/optee/optee-xtest.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/automated/linux/optee/optee-xtest.sh b/automated/linux/optee/optee-xtest.sh
index f84afe4..03ed02f 100755
--- a/automated/linux/optee/optee-xtest.sh
+++ b/automated/linux/optee/optee-xtest.sh
@@ -46,8 +46,7 @@ parser() {
}
# Test run.
-[ -d "${OUTPUT}" ] && mv "${OUTPUT}" "${OUTPUT}_$(date +%Y%m%d%H%M%S)"
-mkdir -p "${OUTPUT}"
+create_out_dir "${OUTPUT}"
command -v tee-supplicant && command -v xtest
exit_on_fail "xtest-existence-check"