summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2018-01-02 04:43:53 +0000
committerWilliam Pitcock <nenolod@dereferenced.org>2018-01-02 04:43:53 +0000
commit2a161588fbf133e5941e9f7203f1fe580946d570 (patch)
treec851d3e553bc1127f00d9b68357438eacd1eaea8
parent467ba0cee0d1508babcb8bf3d8d97c30ca350ea6 (diff)
downloadapk-tools-2a161588fbf133e5941e9f7203f1fe580946d570.tar.bz2
apk-tools-2a161588fbf133e5941e9f7203f1fe580946d570.tar.xz
test: add test to ensure a provider that is already satisfied doesn't get swapped
-rw-r--r--test/provides-swap2.test7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/provides-swap2.test b/test/provides-swap2.test
new file mode 100644
index 0000000..c6ff9b6
--- /dev/null
+++ b/test/provides-swap2.test
@@ -0,0 +1,7 @@
+@ARGS
+--test-repo provides.repo
+--test-instdb provides-swap.installed
+--test-world mail-reader
+add mailreadplus
+@EXPECT
+OK: 0 MiB in 1 packages