apk-tools/test
Timo Teräs d315c9019c upgrade: new option: --latest (-l)
Select latest version of package (if it is not pinned), and print
error if it cannot be installed due to other dependencies.

Together with --available, it selects the latest package which is
present at least in some repository.

This also fixes few solver issues with ordering of package selection
that got quite apparent with this flag. Namely, we cannot "lock"
a package until it's reverse dependencies are locked or not all of
the solver flags are propagated properly.
2013-06-19 08:33:51 +03:00
..
repo1 test: initial testsuite 2010-06-15 13:31:20 +00:00
repo2 test: initial testsuite 2010-06-15 13:31:20 +00:00
.gitignore test: dont run sh manually but respect #!/bin/sh in each test 2010-06-15 15:53:32 +00:00
Makefile solver: new package selection logic (which is not yet used) 2011-07-26 17:08:43 +03:00
basic.installed solver: new package selection logic (which is not yet used) 2011-07-26 17:08:43 +03:00
basic.installed2 solver: permutate each preferred solution first 2011-07-27 20:45:38 +03:00
basic.repo solver: prune broken world dependencies with --force 2013-06-13 18:22:00 +03:00
basic1.test test: rewrite the testing framework to use the real applets 2012-02-23 22:05:02 +02:00
basic2.test test: rewrite the testing framework to use the real applets 2012-02-23 22:05:02 +02:00
basic3.test test: rewrite the testing framework to use the real applets 2012-02-23 22:05:02 +02:00
basic4.test test: rewrite the testing framework to use the real applets 2012-02-23 22:05:02 +02:00
basic5.test test: rewrite the testing framework to use the real applets 2012-02-23 22:05:02 +02:00
basic6.test test: rewrite the testing framework to use the real applets 2012-02-23 22:05:02 +02:00
basic7.test test: rewrite the testing framework to use the real applets 2012-02-23 22:05:02 +02:00
basic8.test db: unify handling of special packages 2013-05-30 08:48:32 +03:00
basic9.test db: unify handling of special packages 2013-05-30 08:48:32 +03:00
basic10.test solver: prune broken world dependencies with --force 2013-06-13 18:22:00 +03:00
basic11.test solver: prune broken world dependencies with --force 2013-06-13 18:22:00 +03:00
basic12.test upgrade: new option: --latest (-l) 2013-06-19 08:33:51 +03:00
basic13.test upgrade: new option: --latest (-l) 2013-06-19 08:33:51 +03:00
complicated1.installed solver: new package selection logic (which is not yet used) 2011-07-26 17:08:43 +03:00
complicated1.repo solver: new package selection logic (which is not yet used) 2011-07-26 17:08:43 +03:00
complicated1.test test: rewrite the testing framework to use the real applets 2012-02-23 22:05:02 +02:00
complicated2.test test: rewrite the testing framework to use the real applets 2012-02-23 22:05:02 +02:00
complicated3.test test: rewrite the testing framework to use the real applets 2012-02-23 22:05:02 +02:00
complicated4.test test: rewrite the testing framework to use the real applets 2012-02-23 22:05:02 +02:00
conflict.repo test: rewrite the testing framework to use the real applets 2012-02-23 22:05:02 +02:00
conflict1.test test: rewrite the testing framework to use the real applets 2012-02-23 22:05:02 +02:00
conflict2.test errors: rewrite the logic how errors are reported 2013-06-13 18:22:00 +03:00
error1.test solver, errors: fix few additional test cases and clean ups 2013-06-13 21:59:08 +03:00
error2.test errors: rewrite the logic how errors are reported 2013-06-13 18:22:00 +03:00
error3.test solver, errors: fix few additional test cases and clean ups 2013-06-13 21:59:08 +03:00
error4.test errors: rewrite the logic how errors are reported 2013-06-13 18:22:00 +03:00
error5.test upgrade: new option: --latest (-l) 2013-06-19 08:33:51 +03:00
fix1.test solver: rewrite as deductive solver -- per name flags 2013-06-13 18:22:00 +03:00
fix2.test solver: rewrite as deductive solver -- per name flags 2013-06-13 18:22:00 +03:00
fix3.test solver: rewrite as deductive solver -- per name flags 2013-06-13 18:22:00 +03:00
fix4.test solver: rewrite as deductive solver -- per name flags 2013-06-13 18:22:00 +03:00
fix5.test solver: rewrite as deductive solver -- per name flags 2013-06-13 18:22:00 +03:00
fix6.test solver: rewrite as deductive solver -- per name flags 2013-06-13 18:22:00 +03:00
installif1.repo solver: reintroduce install_if support 2011-08-18 13:08:27 +03:00
installif1.test test: rewrite the testing framework to use the real applets 2012-02-23 22:05:02 +02:00
installif2.test test: rewrite the testing framework to use the real applets 2012-02-23 22:05:02 +02:00
installif3.test test: rewrite the testing framework to use the real applets 2012-02-23 22:05:02 +02:00
pinning-basic.repo solver: rewrite as deductive solver -- pinning support 2013-06-13 18:22:00 +03:00
pinning-overlay1.repo solver: rewrite as deductive solver -- pinning support 2013-06-13 18:22:00 +03:00
pinning-overlay2.repo solver: rewrite as deductive solver -- pinning support 2013-06-13 18:22:00 +03:00
pinning-overlay3.repo solver: rewrite as deductive solver -- pinning support 2013-06-13 18:22:00 +03:00
pinning.installed pkg, db: use 's' for source repository tags instead of 'p' 2012-02-24 09:22:42 +02:00
pinning.installed2 solver: non preferred actions are worse then non preferred pinning 2012-02-24 11:13:31 +02:00
pinning1.test solver: rewrite as deductive solver -- pinning support 2013-06-13 18:22:00 +03:00
pinning2.test solver: rewrite as deductive solver -- pinning support 2013-06-13 18:22:00 +03:00
pinning3.test solver: rewrite as deductive solver -- pinning support 2013-06-13 18:22:00 +03:00
pinning4.test solver: rewrite as deductive solver -- pinning support 2013-06-13 18:22:00 +03:00
pinning5.test solver: rewrite as deductive solver -- pinning support 2013-06-13 18:22:00 +03:00
pinning6.test solver: rewrite as deductive solver -- pinning support 2013-06-13 18:22:00 +03:00
pinning7.test solver: rewrite as deductive solver -- pinning support 2013-06-13 18:22:00 +03:00
pinning8.test solver: rewrite as deductive solver -- pinning support 2013-06-13 18:22:00 +03:00
pinning9.test solver: rewrite as deductive solver -- pinning support 2013-06-13 18:22:00 +03:00
pinning10.test solver: rewrite as deductive solver -- pinning support 2013-06-13 18:22:00 +03:00
pinning11.test errors: fix a test case, and misanalysis of certain names 2013-06-18 16:23:14 +03:00
pinning12.test solver: rewrite as deductive solver -- pinning support 2013-06-13 18:22:00 +03:00
provides.repo errors: improve analysis for virtual packages 2013-06-18 08:03:40 +03:00
provides1.test solver, test: implements more provides things, add tests 2012-02-27 16:35:04 +02:00
provides2.test errors: improve analysis for virtual packages 2013-06-18 08:03:40 +03:00
provides3.test solver, test: implements more provides things, add tests 2012-02-27 16:35:04 +02:00
provides4.test solver: allow multiple packages with same virtual provides 2012-02-28 09:39:35 +02:00
provides5.test errors: detect self-conflicts properly 2013-06-14 21:37:38 +03:00
provides6.test errors: rewrite the logic how errors are reported 2013-06-13 18:22:00 +03:00
provides7.test errors: detect self-conflicts properly 2013-06-14 21:37:38 +03:00
solver.sh test: clean up solver.sh 2012-02-24 11:33:26 +02:00
test1.sh test: dont run sh manually but respect #!/bin/sh in each test 2010-06-15 15:53:32 +00:00
test2.sh test: dont run sh manually but respect #!/bin/sh in each test 2010-06-15 15:53:32 +00:00
test3.sh test: dont run sh manually but respect #!/bin/sh in each test 2010-06-15 15:53:32 +00:00
test4.sh test: dont run sh manually but respect #!/bin/sh in each test 2010-06-15 15:53:32 +00:00
test5.sh test: dont run sh manually but respect #!/bin/sh in each test 2010-06-15 15:53:32 +00:00
test6.sh test: dont run sh manually but respect #!/bin/sh in each test 2010-06-15 15:53:32 +00:00
test7.sh test: dont run sh manually but respect #!/bin/sh in each test 2010-06-15 15:53:32 +00:00
test8.sh test: check if upgrade works when package is missing in repo 2010-06-15 19:18:36 +00:00
version.data test: add test cases for version comparing 2009-11-06 13:20:30 +02:00
version.sh solver: new package selection logic (which is not yet used) 2011-07-26 17:08:43 +03:00