Skip to content

Commit daae129

Browse files
committed
test(e2e): 687 plans in a home with its own configuration
The macOS runner's inherited configuration names its ~/.xlings shim as the xlings binary, so nothing was vendored and the precondition failed before either criterion ran. The home now uses its own configuration, whose binary is the vendored one. Refs #636
1 parent 5867295 commit daae129

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎tests/e2e/687_the_vendored_xlings_probe_is_an_argument_vector.sh‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,10 @@ export MCPP_HOME="$TMP/mcpp-home"
3333
# Offline: configuration loading still acquires the vendored xlings (it copies
3434
# a local binary), and no bootstrap step reaches the network.
3535
export MCPP_OFFLINE=1
36-
source "$(dirname "$0")/_inherit_toolchain.sh"
36+
# The home's own configuration, whose xlings binary is the vendored one. An
37+
# inherited configuration may name another (the macOS runner's names its
38+
# `~/.xlings` shim), and then nothing is vendored and nothing is probed.
39+
MCPP_INHERIT_CONFIG=0 source "$(dirname "$0")/_inherit_toolchain.sh"
3740
cd "$TMP"
3841

3942
VENDORED="$MCPP_HOME/registry/bin/xlings$EXE"

0 commit comments

Comments
 (0)