This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository enlightenment.
View the commit online.
commit 55dd28915cc7e7726942f5982c619086d4746801
Author: Cedric BAIL <[email protected]>
AuthorDate: Thu Nov 19 18:48:37 2026 -0600
tests - do not leave the X11 runner's temp dir behind
Every run of run-x11.sh left its temp dir in /tmp, holding .cache/efreet:
the efreetd started by E or by the client, with HOME in that dir, outlives
them and builds its icon cache there after the dir has been removed. The
runner now stops whatever still runs with that HOME before removing it.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
---
src/tests/x11/run-x11.sh | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/src/tests/x11/run-x11.sh b/src/tests/x11/run-x11.sh
index 43d1a1a2c..e2bfbe91b 100755
--- a/src/tests/x11/run-x11.sh
+++ b/src/tests/x11/run-x11.sh
@@ -57,6 +57,14 @@ cleanup() {
wait "$E_PID" 2>/dev/null || :
fi
[ -n "$X_PID" ] && { kill "$X_PID" 2>/dev/null || :; }
+ # E and the client start helpers of their own, efreet's cache builders
+ # among them, which outlive them and would write into the temp dir
+ # after it is gone, putting it back.
+ for p in /proc/[0-9]*; do
+ if tr '\0' '\n' <"$p/environ" 2>/dev/null | grep -qx "HOME=$RUNDIR"; then
+ kill "${p#/proc/}" 2>/dev/null || :
+ fi
+ done
if [ "${E_TEST_KEEP:-0}" = "1" ]; then
echo "run-x11.sh: kept $RUNDIR (compositor log: $E_LOG)" >&2
else
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.