aboutsummaryrefslogtreecommitdiff
path: root/tests/rep-fetch-git.test
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-09-04 14:02:11 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-09-04 14:02:11 +0300
commitf8fdb500cc705e2b8b4a74166ceb2c6d8cee3fd3 (patch)
tree3f94b0b79ebad275904b9dc4a4165326ff598492 /tests/rep-fetch-git.test
parentf727c2b8fe273a12d059826291523060dab4b512 (diff)
Rename .test/test{} to .testscript/testscript{}
Diffstat (limited to 'tests/rep-fetch-git.test')
-rw-r--r--tests/rep-fetch-git.test79
1 files changed, 0 insertions, 79 deletions
diff --git a/tests/rep-fetch-git.test b/tests/rep-fetch-git.test
deleted file mode 100644
index 804fefc..0000000
--- a/tests/rep-fetch-git.test
+++ /dev/null
@@ -1,79 +0,0 @@
-# file : tests/rep-fetch-git.test
-# copyright : Copyright (c) 2014-2018 Code Synthesis Ltd
-# license : MIT; see accompanying LICENSE file
-
-# All tests use the same repository infrastructure present in the initial and
-# the final states. See tests/common/git/init script for more details.
-#
-
-reason_dumb = ' (dumb HTTP)'
-reason_unadv = ' (unadvertised commit)'
-
-warn_dumb='
-warning: no progress will be shown (dumb HTTP)'
-
-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')
- rep = "$rep_git_local"
-elif ($git_protocol == 'https-dumb')
- rep = "$rep_git_https_dumb"
-elif ($git_protocol == 'https-smart')
- rep = "$rep_git_https_smart"
-elif ($git_protocol == 'https-smart-unadv')
- rep = "$rep_git_https_smart_unadv"
-elif ($git_protocol == 'git')
- rep = "$rep_git_git"
-else
- exit "unexpected git protocol '$git_protocol'"
-end
-
-# Repository URL prefix for use with git commands.
-#
-# Note that git supports none of the standard 'file:' URL notations on Windows,
-# so we produce one that is acceptable for git.
-#
-+if ($git_protocol == 'local' && $cxx.target.class == 'windows')
- rep_git = "$regex.replace($rep, '^file:/', 'file://')"
-else
- rep_git = "$rep"
-end
-
-: branch
-:
-{
- fragment = '#master'
- .include rep-fetch-git-refname.test
-}
-
-: ltag
-:
-{
- fragment = '#ltag'
- .include rep-fetch-git-refname.test
-}
-
-: atag
-:
-{
- fragment = '#atag'
- .include rep-fetch-git-refname.test
-}
-
-: list
-:
-{
- fragment = '#master,ltag,atag'
- .include rep-fetch-git-refname.test
-}
-
-: commit
-:
-{
- .include rep-fetch-git-commit.test
-}