summaryrefslogtreecommitdiff
path: root/test/fix6.test
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-06-12 08:45:29 +0300
committerTimo Teräs <timo.teras@iki.fi>2013-06-13 18:22:00 +0300
commit426a12686e6e6dcce11616c774176c01ad0985f9 (patch)
tree0fcad980e90c3d679b883c7840af91d5ffb0962e /test/fix6.test
parentb8c44536ca911418fee1c9ab4eecbb913a1ca852 (diff)
downloadapk-tools-426a12686e6e6dcce11616c774176c01ad0985f9.tar.gz
apk-tools-426a12686e6e6dcce11616c774176c01ad0985f9.tar.bz2
apk-tools-426a12686e6e6dcce11616c774176c01ad0985f9.tar.xz
apk-tools-426a12686e6e6dcce11616c774176c01ad0985f9.zip
solver: rewrite as deductive solver -- per name flags
Handle properly per-name preference flags, and add test cases for testing those via fix applet.
Diffstat (limited to 'test/fix6.test')
-rw-r--r--test/fix6.test10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/fix6.test b/test/fix6.test
new file mode 100644
index 0000000..c6dc6bd
--- /dev/null
+++ b/test/fix6.test
@@ -0,0 +1,10 @@
+@ARGS
+--test-repo basic.repo
+--test-instdb basic.installed
+--test-world a
+--depends
+fix a
+@EXPECT
+(1/2) Re-installing b (1)
+(2/2) Re-installing a (1)
+OK: 0 MiB in 2 packages