Skip to content

Commit

Permalink
Merge pull request #134 from tonistiigi/bats-test-fix
Browse files Browse the repository at this point in the history
bats: fix bats test update
  • Loading branch information
tonistiigi authored Jan 5, 2024
2 parents c4d7d31 + 9919227 commit 16d225b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion util/bats-assert/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RUN echo 'source "$(dirname "${BASH_SOURCE[0]}")/bats-support/load.bash"' > /out
FROM scratch AS release
COPY --from=build /out /

FROM alpine AS test-gen
FROM alpine:3.19 AS test-gen
RUN apk add --no-cache bats
WORKDIR /work
COPY --from=release . .
Expand Down
2 changes: 1 addition & 1 deletion util/bats-assert/test.bats.golden
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ not ok 5 run-fail

The following warnings were encountered during tests:
BW01: `run`'s command `./foobar` exited with code 127, indicating 'Command not found'. Use run's return code checks, e.g. `run -127`, to fix this message.
(from function `run' in file /usr/lib/bats-core/test_functions.bash, line 297,
(from function `run' in file /usr/lib/bats-core/test_functions.bash, line 421,
in test file test.bats, line 15)

0 comments on commit 16d225b

Please sign in to comment.