switch from ls to bash in tests that are expecting this to be a binary#4492
Merged
boegel merged 1 commit intoeasybuilders:5.0.xfrom Apr 2, 2024
Merged
switch from ls to bash in tests that are expecting this to be a binary#4492boegel merged 1 commit intoeasybuilders:5.0.xfrom
ls to bash in tests that are expecting this to be a binary#4492boegel merged 1 commit intoeasybuilders:5.0.xfrom
Conversation
bash in testsls to bash in tests that are expecting this to be a binary
boegel
approved these changes
Apr 2, 2024
Member
boegel
left a comment
There was a problem hiding this comment.
lgtm, also works fine on macOS
$ file /bin/bash
/bin/bash: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit executable x86_64] [arm64e:Mach-O 64-bit executable arm64e]
/bin/bash (for architecture x86_64): Mach-O 64-bit executable x86_64
/bin/bash (for architecture arm64e): Mach-O 64-bit executable arm64e
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.
I'm running in a Rocky 8.9 container (that is based off the one from https://github.com/easybuilders/easybuild-containers) and I hit two test failures that are caused by
lsnot being as expected, which causes the two tests I am changing to fail.In the container where I see the failure:
On Ubuntu: