There was an error while loading. Please reload this page.
1 parent 4e39a8e commit 0cc6a2aCopy full SHA for 0cc6a2a
1 file changed
tests/e2e/156_nested_ld_library_path.sh
@@ -7,7 +7,11 @@
7
# dynamic linker (trace signature: bare `__vdso_time` line).
8
set -e
9
10
-GLIBC_LIB=$(ls -d "$HOME"/.mcpp/registry/data/xpkgs/xim-x-glibc/*/lib64 2>/dev/null | head -1)
+# The selected mcpp state may be intentionally isolated from HOME. Poison with
11
+# a libc from that same state so mcpp itself can start; the regression begins
12
+# when the nested host tools inherit the private loader path.
13
+MCPP_STATE_HOME=${MCPP_HOME:-"$HOME/.mcpp"}
14
+GLIBC_LIB=$(ls -d "$MCPP_STATE_HOME"/registry/data/xpkgs/xim-x-glibc/*/lib64 2>/dev/null | head -1)
15
if [[ -z "$GLIBC_LIB" ]]; then
16
echo "SKIP: no private glibc payload installed"
17
exit 0
0 commit comments