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-fetch-git.test | 32 +++++++++++++++++++++++++------- 1 file changed, 25 insertions(+), 7 deletions(-) (limited to 'tests/rep-fetch-git.test') diff --git a/tests/rep-fetch-git.test b/tests/rep-fetch-git.test index 1dbea3f..4b2a597 100644 --- a/tests/rep-fetch-git.test +++ b/tests/rep-fetch-git.test @@ -6,6 +6,17 @@ # the final states. See tests/common/git/init script for more details. # +reason_dumb = ' (dumb HTTP)' +reason_unadv = ' (unadvertised commit)' + +warn_dumb=' +warning: fetching over dumb HTTP, no progress will be shown' + +warn_repo_hist = "warning: fetching whole repository history" +warn_ref_hist = "warning: fetching whole reference history" + +warn = '%.{0}' # None. + test.cleanups += &cfg/.bpkg/repos/*/*** +if ($git_protocol == 'local') @@ -33,25 +44,32 @@ else rep_git = "$rep" end -: branch +: none +: +{ + fragment = '' + .include rep-fetch-git-refname.test +} + +: refname : { - branch = 'master' - .include rep-fetch-git-branch.test + refname = '#master' + .include rep-fetch-git-refname.test } : ltag : { - branch = 'ltag' - .include rep-fetch-git-branch.test + fragment = '#ltag' + .include rep-fetch-git-refname.test } : atag : { - branch = 'atag' - .include rep-fetch-git-branch.test + fragment = '#atag' + .include rep-fetch-git-refname.test } : commit -- cgit v1.1