Skip to content
Snippets Groups Projects
Commit 7b8c353e authored by Frederic Danis's avatar Frederic Danis
Browse files

Fix tmp dirs removal

parent 77261179
No related branches found
No related tags found
3 merge requests!17Backports v2023dev1 → v2021,!16Backports from v2023dev1,!15Fix tmp dirs removal and add architecture specific library name
......@@ -71,6 +71,7 @@ fi
# Create a temporary directory for files
TMP_DIR=$(mktemp -d)
trap "rm -rf $TMP_DIR; exit" EXIT
# Log start time
START_TIME=$(date +"%F %T")
......
......@@ -300,7 +300,7 @@ ${systemctl} stop ${service} || :
debug "waiting for end-of-file on command output..."
wait "$cat_fifo_pid" || result=fail
rm -fr "${user_log_dir}" || result=fail
${as_target_user} rm -fr "${user_log_dir}" || result=fail
if [ -n "${lava_runes}" ]; then
"lava-test-case" "${name}" --result "${result}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment