summaryrefslogtreecommitdiff
path: root/automated/linux/fio-test/fio-test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'automated/linux/fio-test/fio-test.sh')
-rwxr-xr-xautomated/linux/fio-test/fio-test.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/automated/linux/fio-test/fio-test.sh b/automated/linux/fio-test/fio-test.sh
index 4a70756..fa91af2 100755
--- a/automated/linux/fio-test/fio-test.sh
+++ b/automated/linux/fio-test/fio-test.sh
@@ -81,8 +81,7 @@ fio_test() {
# Config test.
! 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}"
# Enter test directory.
if [ -n "${PARTITION}" ]; then