Skip to content

Commit

Permalink
Add /root/.local/bin:/root/bin: to UBI Bash Path
Browse files Browse the repository at this point in the history
  • Loading branch information
julienp committed Dec 16, 2024
1 parent 78759e9 commit 2317f26
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/containers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,10 @@ func TestEnvironment(t *testing.T) {
if imageVariant == "pulumi" {
expectedPath += ":/root/.pulumi/bin"
}
// When running in bash, the UBI images include /root/.local/bin:/root/bin:
if isUBI(t) {
expectedPath = "/root/.local/bin:/root/bin:" + expectedPath
}
requireOutputWithBash(t, expectedPath, "printenv", "PATH")
})

Expand Down

0 comments on commit 2317f26

Please sign in to comment.