diff options
author | Naresh Kamboju <naresh.kamboju@linaro.org> | 2017-07-06 12:22:26 +0530 |
---|---|---|
committer | Naresh Kamboju <naresh.kamboju@linaro.org> | 2017-07-06 12:22:26 +0530 |
commit | 58e8b0952ce44d94cb186ce9e912fc1ff6c42018 (patch) | |
tree | f615b75c63743324482ab222baf0559558cefde6 | |
parent | 253ceecd3d3832035116147d997cdce2be5d4882 (diff) |
LTP: LTP_TMPDIR fixup
Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
-rwxr-xr-x | automated/linux/ltp/ltp.sh | 4 |
1 files 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" |