aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-07-05 13:54:08 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-07-05 13:54:08 +0300
commitdfcbb65ed9b65f392fc250cb91124e4793b49c14 (patch)
treeb1babbf49d386b85a07e7743e973a2d9c63c6913 /tests
parentac884344b24112b11cd6cad0a7cf41f036159a22 (diff)
Guess repository type for relative locations and consider git type for all locations with .git extension
Diffstat (limited to 'tests')
-rw-r--r--tests/manifest/testscript32
1 files changed, 23 insertions, 9 deletions
diff --git a/tests/manifest/testscript b/tests/manifest/testscript
index 9d80bd6..77a27ea 100644
--- a/tests/manifest/testscript
+++ b/tests/manifest/testscript
@@ -293,7 +293,10 @@
location: http://example.org/math.git#master
role: prerequisite
:
- location: ../stable.git
+ location: ../stable
+ role: complement
+ :
+ location: ../unstable.git
role: complement
:
location: git://example.org/foo#master
@@ -311,10 +314,14 @@
type: git
role: prerequisite
:
- location: ../stable.git
+ location: ../stable
type: pkg
role: complement
:
+ location: ../unstable.git
+ type: git
+ role: complement
+ :
location: git://example.org/foo#master
type: git
role: prerequisite
@@ -344,6 +351,10 @@
type: git
role: complement
:
+ location: ../unstable.git
+ type: git
+ role: complement
+ :
url: http://cppget.org
email: repoman@cppget.org; General mailing list.
summary: General C++ package repository
@@ -365,6 +376,11 @@
role: complement
fragment: ca602c2d46b0dca7a9ebc856871767b0ba6b74f3
:
+ location: ../unstable.git
+ type: git
+ role: complement
+ fragment: ca602c2d46b0dca7a9ebc856871767b0ba6b74f3
+ :
location: http://example.org/math.git#master
type: git
role: prerequisite
@@ -439,21 +455,19 @@
: prerequisite-with-fragment
:
- $* -dr <<EOI >>EOO
+ $* -dr <<EOI 2>>EOE != 0
: 1
location: ../stable.git#stable
- role: complement
- :
- EOI
- : 1
- location: ../stable.git
type: dir
role: complement
:
- EOO
+ EOI
+ stdin:2:11: error: unexpected fragment for dir repository
+ EOE
}
}
+
: signature
:
: Roundtrip the signature manifest.