summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2022-09-16 18:02:22 -0400
committerEdward Thomson <ethomson@edwardthomson.com>2022-09-19 05:07:16 -0400
commitcf326948b13e066db18f86d3ea8a68916f972a2d (patch)
tree86c9a5e6464ffaf77c1838544cd54b9a40546814 /ci
parent9d9a90ad3d64d54948b736f6866a82c6670b61c1 (diff)
downloadlibgit2-cf326948b13e066db18f86d3ea8a68916f972a2d.tar.gz
clone: test for cloning a repo with namespace scope
Test that we can successfully clone a repository that is namespace scoped on the remote and does not advertise a HEAD. To do this, we must specify the branch to checkout.
Diffstat (limited to 'ci')
-rwxr-xr-xci/test.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/ci/test.sh b/ci/test.sh
index c1e514911..0e1d39e8d 100755
--- a/ci/test.sh
+++ b/ci/test.sh
@@ -252,8 +252,10 @@ if [ -z "$SKIP_GITDAEMON_TESTS" ]; then
echo ""
export GITTEST_REMOTE_URL="git://localhost:9419/namespace.git"
+ export GITTEST_REMOTE_BRANCH="four"
run_test gitdaemon_namespace
unset GITTEST_REMOTE_URL
+ unset GITTEST_REMOTE_BRANCH
fi
if [ -z "$SKIP_PROXY_TESTS" ]; then