From f2f08e0758243a820fe47128ffabaa474c0e86e7 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 13 Apr 2018 23:38:12 +0300 Subject: Implement git repository handling transition (phase 0) --- tests/rep-add.test | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tests/rep-add.test') 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 -- cgit v1.1