diff options
Diffstat (limited to 'automated/linux/ltp/ltp.sh')
-rwxr-xr-x | automated/linux/ltp/ltp.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/automated/linux/ltp/ltp.sh b/automated/linux/ltp/ltp.sh index 7788d81..44ed94d 100755 --- a/automated/linux/ltp/ltp.sh +++ b/automated/linux/ltp/ltp.sh @@ -80,8 +80,7 @@ run_ltp() { # 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 ltp test..." info_msg "Output directory: ${OUTPUT}" |