summaryrefslogtreecommitdiff
path: root/eclass/python-utils-r1.eclass
diff options
context:
space:
mode:
authorHaelwenn (lanodan) Monnier <contact@hacktivis.me>2025-07-27 18:26:10 +0200
committerMichał Górny <mgorny@gentoo.org>2025-10-03 21:11:24 +0200
commitbe9e5a134fc0aba4f561723769a75807756a177a (patch)
tree0ecddc971382b95bebc543f9ddca8d9620052635 /eclass/python-utils-r1.eclass
parent74b839fa53c6ebb386df6ec85e185020978d0b6c (diff)
downloadgentoo-be9e5a134fc0aba4f561723769a75807756a177a.tar.gz
gentoo-be9e5a134fc0aba4f561723769a75807756a177a.tar.bz2
gentoo-be9e5a134fc0aba4f561723769a75807756a177a.zip
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>
Diffstat (limited to 'eclass/python-utils-r1.eclass')
-rw-r--r--eclass/python-utils-r1.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass
index f454a066a352..e213273a3a78 100644
--- a/eclass/python-utils-r1.eclass
+++ b/eclass/python-utils-r1.eclass
@@ -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