From 58e8b0952ce44d94cb186ce9e912fc1ff6c42018 Mon Sep 17 00:00:00 2001 From: Naresh Kamboju Date: Thu, 6 Jul 2017 12:22:26 +0530 Subject: LTP: LTP_TMPDIR fixup Signed-off-by: Naresh Kamboju --- automated/linux/ltp/ltp.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/automated/linux/ltp/ltp.sh b/automated/linux/ltp/ltp.sh index c765293..49f4a36 100755 --- a/automated/linux/ltp/ltp.sh +++ b/automated/linux/ltp/ltp.sh @@ -49,7 +49,7 @@ while getopts "M:T:S:s:v:d:" arg; do v) LTP_VERSION="${OPTARG}";; # Slow machines need more timeout Default is 5min and multiply * MINUTES M) export LTP_TIMEOUT_MUL="${OPTARG}";; - d) + d) mkdir -p "${OPTARG}" LTP_TMPDIR="-d ${OPTARG}" ;; @@ -80,7 +80,7 @@ run_ltp() { # shellcheck disable=SC2164 cd "${LTP_PATH}" - pipe0_status "./runltp -p -q -f ${TST_CMDFILES} -l ${OUTPUT}/LTP_${LOG_FILE}.log -C ${OUTPUT}/LTP_${LOG_FILE}.failed ${SKIPFILE}" "tee ${OUTPUT}/LTP_${LOG_FILE}.out ${LTP_TMPDIR}" + pipe0_status "./runltp -p -q -f ${TST_CMDFILES} -l ${OUTPUT}/LTP_${LOG_FILE}.log -C ${OUTPUT}/LTP_${LOG_FILE}.failed ${SKIPFILE} ${LTP_TMPDIR}" "tee ${OUTPUT}/LTP_${LOG_FILE}.out" check_return "runltp_${LOG_FILE}" parse_ltp_output "${OUTPUT}/LTP_${LOG_FILE}.log" -- cgit v1.2.3