apk-tools/test/provides-swap.test
William Pitcock f18c708183 solver: implement support for choosing default virtuals
By introducing a new package metadata field, `provider_priority`
(index letter `k`), we can specify default packages to satisfy a
virtual.

If a user wishes to select an alternative provider for the virtual,
a changeset swapping the default provider for the selected provider
will be generated by the dependency resolver.
2017-11-02 03:08:24 +00:00

9 lines
209 B
Text

@ARGS
--test-repo provides.repo
--test-instdb provides-swap.installed
--test-world mail-reader
add mymailreader
@EXPECT
(1/2) Purging mailreadplus (1)
(2/2) Installing mymailreader (1)
OK: 0 MiB in 1 packages