aboutsummaryrefslogtreecommitdiff
path: root/tests/rep-add.test
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-04-13 23:38:12 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-04-19 19:39:55 +0300
commitf2f08e0758243a820fe47128ffabaa474c0e86e7 (patch)
tree45563c74dbbf7a0f546443b469a23541c9ac9b00 /tests/rep-add.test
parente958b63712f9a0ff4b523765d2fe12b58aa97fe0 (diff)
Implement git repository handling transition (phase 0)
Diffstat (limited to 'tests/rep-add.test')
-rw-r--r--tests/rep-add.test10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/rep-add.test b/tests/rep-add.test
index 8ee1b9d..9b52efd 100644
--- a/tests/rep-add.test
+++ b/tests/rep-add.test
@@ -45,13 +45,13 @@ rep_list += -d cfg
EOE
}
- : git-no-branch
+ : git-invalid-fragment
:
{
$clone_cfg;
- $* 'git://example.org/repo' 2>>EOE != 0
- error: invalid git repository location 'git://example.org/repo': missing branch/tag or commit id for git repository
+ $* 'git://example.org/repo#' 2>>EOE != 0
+ error: invalid git repository location 'git://example.org/repo#': missing reference name or commit id for git repository
EOE
}
@@ -108,8 +108,8 @@ rep_list += -d cfg
:
$clone_cfg && mkdir -p repo/.git;
- $* 'repo' 2>>~%EOE% != 0
- %error: invalid git repository location '.+repo': missing branch/tag or commit id for git repository%
+ $* 'repo' 2>>/~%EOE%
+ %added git:.+/repo%
EOE
: file-pkg