Skip to content

Commit

Permalink
add crictl version printing
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Hannon <kehannon@redhat.com>
  • Loading branch information
kannon92 committed Apr 16, 2024
1 parent fe1a6d7 commit 40949ca
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/imagefsinfo.bats
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ function teardown() {
}

@test "image fs info with default settings should return matching container_filesystem and image_filesystem" {
version=$(crictl --version)
echo $version
output=$(crictl imagefsinfo)
[ "$output" != "" ]

Expand All @@ -23,6 +25,9 @@ function teardown() {
}

@test "image fs info with imagestore set should return different filesystems" {
version=$(crictl --version)
echo $version

stop_crio
CONTAINER_IMAGESTORE="$TESTDIR/imagestore" start_crio
output=$(crictl imagefsinfo)
Expand Down

0 comments on commit 40949ca

Please sign in to comment.