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: Remove a bad FROM line #5291

Merged
merged 1 commit into from
Jan 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 3 additions & 2 deletions tests/bud.bats
Original file line number Diff line number Diff line change
Expand Up @@ -358,8 +358,9 @@ _EOF
skip_if_in_container
_prefetch busybox
run_buildah build -t heredoc $WITH_POLICY_JSON -f $BUDFILES/heredoc/Containerfile.she_bang .
expect_output --substring "this is the output of test11"
expect_output --substring "this is the output of test12"
expect_output --substring "#
this is the output of test11
this is the output of test12"
}

@test "bud build with heredoc verify mount leak" {
Expand Down
9 changes: 5 additions & 4 deletions tests/bud/heredoc/Containerfile.she_bang
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
FROM python:3.11-slim-bullseye
FROM alpine
RUN <<EOF
#!/usr/bin/env python
print('this is the output of test11')
print('this is the output of test12')
#!/usr/bin/env rev
11tset fo tuptuo eht si siht
21tset fo tuptuo eht si siht

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For a brief dyslexic moment, I thought you had dropped a naughty word at the end of these lines....

EOF