apk-tools/test/upgrade1.test
Timo Teräs e0f9b0897b solver: enforce conflicts during upgrades and new pkg installs
This makes sure any conflicted packages will be removed first.
Useful if we know there are conflicting files, and want to avoid
adding potentially harmful replaces line. Add a test case for
this too.
2014-10-06 16:30:09 +03:00

10 lines
202 B
Text

@ARGS
--test-repo upgrade.repo
--test-instdb upgrade.installed
--test-world app
upgrade
@EXPECT
(1/3) Purging libold (1)
(2/3) Installing libnew (1)
(3/3) Upgrading app (1 -> 2)
OK: 0 MiB in 2 packages