summaryrefslogtreecommitdiff
path: root/test/fix1.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/fix1.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/fix1.test')
-rw-r--r--test/fix1.test9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/fix1.test b/test/fix1.test
new file mode 100644
index 0000000..fcc0a98
--- /dev/null
+++ b/test/fix1.test
@@ -0,0 +1,9 @@
+@ARGS
+--test-repo basic.repo
+--test-instdb basic.installed
+--test-world a
+--upgrade
+fix b
+@EXPECT
+(1/1) Upgrading b (1 -> 2)
+OK: 0 MiB in 2 packages