mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
python-utils-r1.eclass: use 6 'X's for mktemp
As required by POSIX.1-2024 for mkstemp(3) (and future-POSIX for mktemp(1)) Although you'd need de-facto standard mkstemps(3) due to the .xml suffix, but same contrains of 6 'X's applies, at least with musl. Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me> Part-of: https://github.com/gentoo/gentoo/pull/43186 Closes: https://github.com/gentoo/gentoo/pull/43186 Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
committed by
Michał Górny
parent
74b839fa53
commit
be9e5a134f
@@ -1420,7 +1420,7 @@ epytest() {
|
||||
[[ ${NO_COLOR} ]] && color=no
|
||||
|
||||
mkdir -p "${T}/pytest-xml" || die
|
||||
local junit_xml=$(mktemp "${T}/pytest-xml/${EPYTHON}-XXX.xml" || die)
|
||||
local junit_xml=$(mktemp "${T}/pytest-xml/${EPYTHON}-XXXXXX.xml" || die)
|
||||
|
||||
local args=(
|
||||
# verbose progress reporting and tracebacks
|
||||
|
||||
Reference in New Issue
Block a user