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:
Haelwenn (lanodan) Monnier
2025-07-27 18:26:10 +02:00
committed by Michał Górny
parent 74b839fa53
commit be9e5a134f

View File

@@ -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