upgrades: add LFS assert

This commit is contained in:
Twenty Panda 2024-03-17 17:22:44 +01:00
parent 51f7263dee
commit 21920b10d9
4 changed files with 42 additions and 9 deletions

View file

@ -25,16 +25,24 @@ function cleanup_storage() {
}
function test_successful_upgrades() {
stop
for config in default ; do
log_info "using $config app.ini"
upgrade_reset $config
for version in 1.18 1.19 1.20.2-0 1.20.3-0 1.20 1.21 $RELEASE_NUMBERS_AND_DEV ; do
version=1.18
log_info "run $version"
cleanup_storage
start $version
fixture_create
fixture_assert
for version in 1.19 1.20 1.21 $RELEASE_NUMBERS_AND_DEV ; do
stop
log_info "run $version"
cleanup_storage
start $version
verify_storage
stop
fixture_assert
done
done
}