test: add test for granular upgrade

cute-signatures
Ariadne Conill 2020-07-14 18:29:16 -06:00 committed by Timo Teräs
parent bef1faf1cb
commit 82de29cf7b
3 changed files with 31 additions and 0 deletions

View File

@ -25,3 +25,8 @@ S:1
I:1
D:libnew
C:Q1C4uoV7SdMdDhYg4OCVmI71D8HIE=
P:b
V:2
S:1
I:1

18
test/upgrade3.installed Normal file
View File

@ -0,0 +1,18 @@
C:Q1EyN5AdpAOBJWKMR89pp/C66o+OE=
P:libold
V:1
S:1
I:1
C:Q1eVpkasfqZAukAXFYbgwt4xAEEEe=
P:app
V:1
S:1
I:1
D:libold
C:Q1C4uoV7SdMdDhYg4OCVmI71D8HIA=
P:b
V:1
S:1
I:1

8
test/upgrade3.test Normal file
View File

@ -0,0 +1,8 @@
@ARGS
--test-repo upgrade.repo
--test-instdb upgrade3.installed
--test-world "app b"
upgrade b
@EXPECT
(1/1) Upgrading b (1 -> 2)
OK: 0 MiB in 3 packages