From 067c17312418937b6fc81cbba78349ce2566f942 Mon Sep 17 00:00:00 2001 From: Timo Teräs Date: Sun, 25 Dec 2022 14:57:47 +0200 Subject: solver: prioritize user specified action on mentioned packages Force preference on the user specified action on commandline. This allows upgrading packages which would otherwise be kept back due to partial update preferring to keep top level dependency on the installed version. fixes #7531 --- test/basic17.test | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test/basic17.test (limited to 'test/basic17.test') diff --git a/test/basic17.test b/test/basic17.test new file mode 100644 index 0000000..3d0b7fc --- /dev/null +++ b/test/basic17.test @@ -0,0 +1,9 @@ +@ARGS +--test-repo basic17.repo +--test-instdb basic17.installed +--test-world b +add --upgrade a +@EXPECT +(1/2) Upgrading b (1 -> 2) +(2/2) Upgrading a (1 -> 2) +OK: 0 MiB in 2 packages -- cgit v1.2.3-60-g2f50