2
0
mirror of https://github.com/xcat2/xcat-dep.git synced 2026-12-01 23:02:16 +00:00
Files
xcat-dep/ksh
Daniel Hilst c4342afed3 fix(xcat-dep): racy ksh %check timing tests fail the openEuler ppc64le cell
The openEuler 24.03 ppc64le dep cell fails at random in the ksh native
prerequisite with "Bad exit status from ... (%check)". Four timing
checks in the ksh test suite race on a loaded ppc64le build host:
signal.sh "parent does not wait" and "parent completes early", the
subshell.sh 4 s kill timer, and the sigchld.sh JOBMAX check.

The native input catalog rebuilt ksh with its full %check, and xcat-dep
publishes that ksh, so %check must stay on.

Add a ksh spec patch, pinned in the ppc64le catalog. In %prep it turns
those four err_exit calls into no-ops, and fails the build if any edit
does not match exactly once. The rest of %check runs.
t/openeuler_native_ksh_racy_checks.t passes.

Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
(cherry picked from commit fdf12caac493900b3b8d242f1140b79e798b9f0f)
2026-11-11 15:08:24 -03:00
..