From dfcbb65ed9b65f392fc250cb91124e4793b49c14 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 5 Jul 2018 13:54:08 +0300 Subject: Guess repository type for relative locations and consider git type for all locations with .git extension --- tests/manifest/testscript | 32 +++++++++++++++++++++++--------- 1 file changed, 23 insertions(+), 9 deletions(-) (limited to 'tests') 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 <>EOO + $* -dr <>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. -- cgit v1.1