summaryrefslogtreecommitdiff
path: root/automated/linux/mmc/mmc-test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'automated/linux/mmc/mmc-test.sh')
-rwxr-xr-xautomated/linux/mmc/mmc-test.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/automated/linux/mmc/mmc-test.sh b/automated/linux/mmc/mmc-test.sh
index 2461e20..6736056 100755
--- a/automated/linux/mmc/mmc-test.sh
+++ b/automated/linux/mmc/mmc-test.sh
@@ -36,8 +36,7 @@ list_all_mmc_devices() {
# Test run.
! check_root && error_msg "This script must be run as root"
-[ -d "${OUTPUT}" ] && mv "${OUTPUT}" "${OUTPUT}_$(date +%Y%m%d%H%M%S)"
-mkdir -p "${OUTPUT}"
+create_out_dir "${OUTPUT}"
info_msg "About to run MMC test..."
info_msg "Output directory: ${OUTPUT}"