Use /var/tmp instead of /tmp for unpacking SRPM in licence-check test
This commit is contained in:
parent
1f2e596891
commit
e5f6b0d154
@ -7,7 +7,7 @@ TCWD="$(pwd)"
|
||||
|
||||
rlJournalStart
|
||||
rlPhaseStartSetup
|
||||
rlRun "tmp=\$(mktemp -d)" 0 "Create tmp directory"
|
||||
rlRun "tmp=\$(mktemp -d /var/tmp/XXXXXXXXXXXXX)" 0 "Create tmp directory"
|
||||
rlRun "pushd $tmp"
|
||||
rlRun "set -o pipefail"
|
||||
|
||||
@ -60,7 +60,7 @@ done < <(sort -u <<< "${LICENSES}")
|
||||
|
||||
rlPhaseStartCleanup
|
||||
rlRun "popd"
|
||||
# rlRun "rm -r $tmp" 0 "Remove tmp directory"
|
||||
rlRun "rm -r $tmp" 0 "Remove tmp directory"
|
||||
rlRun "yum clean metadata"
|
||||
[[ -n "${EPELREPO}" ]] && rlRun "rm -f ${EPELREPO}"
|
||||
rlPhaseEnd
|
||||
|
Loading…
Reference in New Issue
Block a user