1
0
mirror of https://github.com/containers/ramalama.git synced 2026-02-05 15:47:26 +01:00
Files
ramalama/test/system/001-basic.bats
Michael Kesper 536efce9ea Remove --version flag
`version` is already a subcommand.

Signed-off-by: Michael Kesper <mkesper@web.de>
2025-02-18 00:33:23 +01:00

23 lines
561 B
Bash

#!/usr/bin/env bats
#
# Simplest set of ramalama tests. If any of these fail, we have serious problems.
#
load helpers
# Override standard setup! We don't yet trust ramalama-images or ramalama-rm
function setup() {
# Makes test logs easier to read
BATS_TEST_NAME_PREFIX="[001] "
}
#### DO NOT ADD ANY TESTS HERE! ADD NEW TESTS AT BOTTOM!
# bats test_tags=distro-integration
@test "ramalama version" {
run_ramalama version
is "$output" "ramalama version .*" "'Version line' in output with version command"
}
# vim: filetype=sh