Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/static-check/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ if buildah inspect "cfengine-static-checker-f$STATIC_CHECKS_FEDORA_VERSION" >/de

# Recreate the image if the checksum of this file has changed or if the
# checksum file is missing from the container
if [[ $(buildah run "$c" ls "$SUM_FILE") == "$SUM_FILE" ]]; then
if [[ $(buildah run "$c" ls "$SUM_FILE" 2>/dev/null) == "$SUM_FILE" ]]; then
SUM_A=$(sha256sum "$0")
SUM_B=$(buildah run "$c" cat "$SUM_FILE")
if [[ "$SUM_A" != "$SUM_B" ]]; then
Expand Down
Loading