Skip to content

Commit f4ba04c

Browse files
committed
fix(tests): update xlings path assertions for registry/bin/ layout
Tests 10 and 27 checked for xlings at $MCPP_HOME/bin/xlings; the 0.0.4 layout moved it to $MCPP_HOME/registry/bin/xlings.
1 parent bc92cdf commit f4ba04c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

tests/e2e/10_env_command.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ out=$("$MCPP" self env 2>&1)
1717
[[ -d "$MCPP_HOME/cache" ]] || { echo "missing cache/"; exit 1; }
1818
[[ -f "$MCPP_HOME/config.toml" ]] || { echo "missing config.toml"; exit 1; }
1919
[[ -f "$MCPP_HOME/registry/.xlings.json" ]] || { echo "missing seeded .xlings.json"; exit 1; }
20-
[[ -x "$MCPP_HOME/bin/xlings" ]] || { echo "xlings binary not acquired"; exit 1; }
20+
[[ -x "$MCPP_HOME/registry/bin/xlings" ]] || { echo "xlings binary not acquired"; exit 1; }
2121

2222
# Verify seeded .xlings.json contains mcpp-index and NOT awesome
2323
grep -q '"name": "mcpp-index"' "$MCPP_HOME/registry/.xlings.json" || {

tests/e2e/27_self_contained_home.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ echo "$out" | grep -q "MCPP_HOME *= *$ROOT" || {
2626
# And it must have actually populated the layout there.
2727
[[ -d "$ROOT/registry" ]] || { echo "missing registry/"; exit 1; }
2828
[[ -f "$ROOT/config.toml" ]] || { echo "missing config.toml"; exit 1; }
29-
[[ -x "$ROOT/bin/xlings" ]] || { echo "xlings not acquired into $ROOT/bin"; exit 1; }
29+
[[ -x "$ROOT/registry/bin/xlings" ]] || { echo "xlings not acquired into $ROOT/registry/bin"; exit 1; }
3030

3131
# Explicit env var must still win when set.
3232
ALT="$TMP/explicit-home"

0 commit comments

Comments
 (0)