update
This commit is contained in:
@@ -60,4 +60,16 @@ test_default_storage_selection() {
|
||||
|
||||
assert_success "default storage menu selection" test_default_storage_selection
|
||||
|
||||
pveam() {
|
||||
[[ "${1:-}" == list && "${2:-}" == local ]] || return 1
|
||||
printf '%s\n' \
|
||||
'NAME VOLID FORMAT TYPE SIZE VMID' \
|
||||
'local:vztmpl/debian-12-standard_12.7-1_amd64.tar.zst 0 0 0 0 0' \
|
||||
'local:vztmpl/debian-13-standard_13.1-2_amd64.tar.zst 0 0 0 0 0'
|
||||
}
|
||||
assert_equal \
|
||||
'local:vztmpl/debian-13-standard_13.1-2_amd64.tar.zst' \
|
||||
"$(TAPM_ISO_NFS_LOCAL_TEMPLATE local)" \
|
||||
"newest local Debian template avoids catalog refresh"
|
||||
|
||||
finish_tests
|
||||
|
||||
Reference in New Issue
Block a user