Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tests] Substitute prefix path to lnav -nf sample in expected help text #1346

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

carnil
Copy link
Contributor

@carnil carnil commented Nov 24, 2024

Commit 697f256 ("[tests] sub some more variables in expected output") introduced new replacements for ${prefix} occurences. In case where prefix is /usr the TESTS_ENVIRONMENT will additionally replace the occurence of

#! /usr/bin/lnav -nf

with a

#! {prefix}/bin/lnav -nf

and causing the test_cmds.sh to fail.

Fixes: 697f256 ("[tests] sub some more variables in expected output")
Fixes: #1345

Commit 697f256 ("[tests] sub some more variables in expected
output") introduced new replacements for ${prefix} occurences. In case
where prefix is /usr the TESTS_ENVIRONMENT will additionally replace the
occurence of

	#! /usr/bin/lnav -nf

with a

	#! {prefix}/bin/lnav -nf

and causing the test_cmds.sh to fail.

Fixes: 697f256 ("[tests] sub some more variables in expected output")
Fixes: tstack#1345
Signed-off-by: Salvatore Bonaccorso <[email protected]>
@carnil
Copy link
Contributor Author

carnil commented Nov 24, 2024

Seems to fail for all checks, but the same pass with the Debian packaging https://salsa.debian.org/carnil/lnav/-/jobs/6643154

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Conflict with expected output and prefix replacment when --prefix is /usr
1 participant