summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/basic.repo7
-rw-r--r--test/basic10.test8
-rw-r--r--test/basic11.test8
3 files changed, 23 insertions, 0 deletions
diff --git a/test/basic.repo b/test/basic.repo
index 4aace18..3ca23b3 100644
--- a/test/basic.repo
+++ b/test/basic.repo
@@ -24,3 +24,10 @@ V:2
S:1
I:1
+C:Q1hdUpqRv5mYgJEqW52UmVsvmeedd=
+P:broken
+V:1
+S:1
+I:1
+D:missing-dependency
+
diff --git a/test/basic10.test b/test/basic10.test
new file mode 100644
index 0000000..f463e8c
--- /dev/null
+++ b/test/basic10.test
@@ -0,0 +1,8 @@
+@ARGS
+--test-repo basic.repo
+--force
+add a not-in-repo
+@EXPECT
+(1/2) Installing b (2)
+(2/2) Installing a (2)
+OK: 0 MiB in 0 packages
diff --git a/test/basic11.test b/test/basic11.test
new file mode 100644
index 0000000..24f7e1e
--- /dev/null
+++ b/test/basic11.test
@@ -0,0 +1,8 @@
+@ARGS
+--test-repo basic.repo
+--force
+add a broken not-in-repo
+@EXPECT
+(1/2) Installing b (2)
+(2/2) Installing a (2)
+OK: 0 MiB in 0 packages