summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-06-11 14:06:06 +0300
committerTimo Teräs <timo.teras@iki.fi>2013-06-13 18:22:00 +0300
commitb8c44536ca911418fee1c9ab4eecbb913a1ca852 (patch)
treea89e68b12f4d3daf089c475beeb71c53ffb8cc3a /test
parentf292a858677ae0e1af8910ffbd4b338f4b36c18b (diff)
downloadapk-tools-b8c44536ca911418fee1c9ab4eecbb913a1ca852.tar.gz
apk-tools-b8c44536ca911418fee1c9ab4eecbb913a1ca852.tar.bz2
apk-tools-b8c44536ca911418fee1c9ab4eecbb913a1ca852.tar.xz
apk-tools-b8c44536ca911418fee1c9ab4eecbb913a1ca852.zip
solver: rewrite as deductive solver -- core features
Implementing basic dependency handling, install_if and awareness of pinning.
Diffstat (limited to 'test')
-rw-r--r--test/conflict2.test2
-rw-r--r--test/error1.test2
-rw-r--r--test/error2.test2
-rw-r--r--test/error3.test2
-rw-r--r--test/error4.test2
-rw-r--r--test/error5.test2
-rw-r--r--test/provides2.test2
-rw-r--r--test/provides5.test2
8 files changed, 8 insertions, 8 deletions
diff --git a/test/conflict2.test b/test/conflict2.test
index 32e2b73..c9f59ec 100644
--- a/test/conflict2.test
+++ b/test/conflict2.test
@@ -2,5 +2,5 @@
--test-repo conflict.repo
add a b>1
@EXPECT
-ERROR: 1 unsatisfiable dependencies:
+ERROR: unsatisfiable dependencies:
world: b>1
diff --git a/test/error1.test b/test/error1.test
index 3a165f5..4b1662e 100644
--- a/test/error1.test
+++ b/test/error1.test
@@ -2,5 +2,5 @@
--test-repo complicated1.repo
add a d>1.5
@EXPECT
-ERROR: 1 unsatisfiable dependencies:
+ERROR: unsatisfiable dependencies:
b-1: d<2.0
diff --git a/test/error2.test b/test/error2.test
index 506bcf2..7f10fb1 100644
--- a/test/error2.test
+++ b/test/error2.test
@@ -2,5 +2,5 @@
--test-repo complicated1.repo
add a d<1.5
@EXPECT
-ERROR: 1 unsatisfiable dependencies:
+ERROR: unsatisfiable dependencies:
world: d<1.5
diff --git a/test/error3.test b/test/error3.test
index 74a8176..2665374 100644
--- a/test/error3.test
+++ b/test/error3.test
@@ -2,5 +2,5 @@
--test-repo complicated1.repo
add a !b
@EXPECT
-ERROR: 1 unsatisfiable dependencies:
+ERROR: unsatisfiable dependencies:
a-3: b
diff --git a/test/error4.test b/test/error4.test
index c05aa93..5b22921 100644
--- a/test/error4.test
+++ b/test/error4.test
@@ -2,5 +2,5 @@
--test-repo complicated1.repo
add a nonexistant
@EXPECT
-ERROR: 1 unsatisfiable dependencies:
+ERROR: unsatisfiable dependencies:
world: nonexistant
diff --git a/test/error5.test b/test/error5.test
index 3086b20..b424454 100644
--- a/test/error5.test
+++ b/test/error5.test
@@ -2,5 +2,5 @@
--test-repo complicated1.repo
add a>2
@EXPECT
-ERROR: 1 unsatisfiable dependencies:
+ERROR: unsatisfiable dependencies:
b-1: d<2.0
diff --git a/test/provides2.test b/test/provides2.test
index 36a0637..ff509f8 100644
--- a/test/provides2.test
+++ b/test/provides2.test
@@ -2,7 +2,7 @@
--test-repo provides.repo
add mail-reader
@EXPECT
-ERROR: 1 unsatisfiable dependencies:
+ERROR: unsatisfiable dependencies:
world: mail-reader
mail-reader is a virtual package provided by:
diff --git a/test/provides5.test b/test/provides5.test
index 9876b02..906eb76 100644
--- a/test/provides5.test
+++ b/test/provides5.test
@@ -2,5 +2,5 @@
--test-repo provides.repo
add server-a server-b
@EXPECT
-ERROR: 1 unsatisfiable dependencies:
+ERROR: unsatisfiable dependencies:
world: server-a