aboutsummaryrefslogtreecommitdiff
path: root/tests/rep-info.testscript
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-12-22 22:42:13 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-01-15 13:22:50 +0300
commitcbd3cd125b574deaf1ad3c7001c5b6c9c40198ed (patch)
tree924cbe981a3e556dd1511a7397584ef03b53703d /tests/rep-info.testscript
parentd51aa769a5441ccb5279e2fc4f50b127db0dea84 (diff)
Add support for $ in package manifest dependency constraint
Diffstat (limited to 'tests/rep-info.testscript')
-rw-r--r--tests/rep-info.testscript25
1 files changed, 25 insertions, 0 deletions
diff --git a/tests/rep-info.testscript b/tests/rep-info.testscript
index 3ccbeb6..55a29da 100644
--- a/tests/rep-info.testscript
+++ b/tests/rep-info.testscript
@@ -251,4 +251,29 @@ else
: 1
email: user@example.com
EOO
+
+ : complete-dependency
+ :
+ $* -p --manifest "$rep/libbar.git#master" >>~%EOO%d
+ : 1
+ name: libbar
+ version: 1.0.0
+ summary: libbar
+ license: MIT
+ url: http://example.org/libbar
+ email: pkg@example.org
+ depends: style-basic >= 1.0.0
+ location: libbar
+ %fragment: \.+%
+ :
+ name: libmbar
+ version: 1.0.0
+ summary: libmbar
+ license: MIT
+ url: http://example.org/libmbar
+ email: pkg@example.org
+ depends: style-basic >= 1.0.0
+ location: libmbar
+ %fragment: \.+%
+ EOO
}