summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/upgrade.repo5
-rw-r--r--test/upgrade3.installed18
-rw-r--r--test/upgrade3.test8
3 files changed, 31 insertions, 0 deletions
diff --git a/test/upgrade.repo b/test/upgrade.repo
index 032a29b..7f691c6 100644
--- a/test/upgrade.repo
+++ b/test/upgrade.repo
@@ -25,3 +25,8 @@ S:1
I:1
D:libnew
+C:Q1C4uoV7SdMdDhYg4OCVmI71D8HIE=
+P:b
+V:2
+S:1
+I:1
diff --git a/test/upgrade3.installed b/test/upgrade3.installed
new file mode 100644
index 0000000..7eabd8f
--- /dev/null
+++ b/test/upgrade3.installed
@@ -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
diff --git a/test/upgrade3.test b/test/upgrade3.test
new file mode 100644
index 0000000..ac7a674
--- /dev/null
+++ b/test/upgrade3.test
@@ -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