summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2018-02-20 22:22:52 +0000
committerWilliam Pitcock <nenolod@dereferenced.org>2018-02-20 22:22:52 +0000
commitfa762cd47677a119eddd3bc0c075de9819739cd6 (patch)
treeb1154eb7752ebcbd45061598710b185762cc6369
parenta5d9e2eb0acadf6a04670f226a4246934b9997c6 (diff)
downloadapk-tools-fa762cd47677a119eddd3bc0c075de9819739cd6.tar.gz
apk-tools-fa762cd47677a119eddd3bc0c075de9819739cd6.tar.bz2
apk-tools-fa762cd47677a119eddd3bc0c075de9819739cd6.tar.xz
apk-tools-fa762cd47677a119eddd3bc0c075de9819739cd6.zip
tests: make sure adding a pinning to a child dependency fails
-rw-r--r--test/pinning14.test5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/pinning14.test b/test/pinning14.test
new file mode 100644
index 0000000..e6a9761
--- /dev/null
+++ b/test/pinning14.test
@@ -0,0 +1,5 @@
+@ARGS
+--test-repo testing:pinning-overlay1.repo
+add -t .foo samever@testing=10
+@EXPECT
+ERROR: 'samever@testing=10' is not a valid child dependency, format is name([<>~=]version)