Skip to content

Commit

Permalink
test/system: Skip the test before doing any needless work
Browse files Browse the repository at this point in the history
  • Loading branch information
debarshiray committed Nov 12, 2024
1 parent 9b1f7aa commit 05202bb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/system/103-container.bats
Original file line number Diff line number Diff line change
Expand Up @@ -50,16 +50,16 @@ teardown() {
}

@test "container(Fedora Rawhide): Containers with supported versions start without issues" {
if ! is_fedora_rawhide; then
skip "This test is only for Fedora Rawhide"
fi

local system_id
system_id="$(get_system_id)"

local system_version
system_version="$(get_system_version)"

if ! is_fedora_rawhide; then
skip "This test is only for Fedora Rawhide"
fi

create_distro_container "$system_id" "$system_version" latest
run container_started latest
assert_success
Expand Down

0 comments on commit 05202bb

Please sign in to comment.