Repository navigation
test(watch): the no-eb-stack case ignores an eb-stack on the caller's PATH - #311
Merged
Merged
Conversation
… PATH The test removes the eb-stack stub and appended the caller's PATH, so a host eb-stack answered in its place; eb-stack 0.3.0 writes rebuild-set schema 4 and the test failed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
without_eb_stack_watch_says_what_to_rebuild_and_refuses_to_guess_the_restremoves the eb-stack stub, but the shared helper appends the caller's PATH after the stubs, so an eb-stack installed on the host answers instead. With eb-stack 0.3.0 on PATH the test fails withrebuild-set.json: schema_version Some(4); this eb-pipeline reads 5. The test now runs with the stubs and/usr/bin:/binonly.On one x86_64 host, in a login shell whose PATH has eb-stack 0.3.0: without the change the test fails with that line; with it the watch suite passes 3 of 3 runs, and
cargo fmt --checkis clean.