mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-08-19 23:07:52 +00:00
The VolumeConfig table does not have an ID column, thus use the Name column to update it. Fixes #23052 Signed-off-by: Marius Hoch <mail@mariushoch.de>
23 lines
550 B
Bash
23 lines
550 B
Bash
#!/usr/bin/env bats -*- bats -*-
|
|
#
|
|
# tests for podman system renumber
|
|
#
|
|
|
|
load helpers
|
|
|
|
function setup() {
|
|
basic_setup
|
|
|
|
skip_if_remote "podman system renumber is not available remote"
|
|
}
|
|
|
|
@test "podman system renumber - Basic test with a volume" {
|
|
run_podman volume create test
|
|
assert "$output" == "test" "podman volume create output"
|
|
run_podman system renumber
|
|
assert "$output" == "" "podman system renumber output"
|
|
run_podman volume rm test
|
|
assert "$output" == "test" "podman volume rm output"
|
|
}
|
|
|
|
# vim: filetype=sh
|