summaryrefslogtreecommitdiff
path: root/tests/tests/defdistro-dsd-clone-drs
blob: 1a1c138c3774f50c10fc24a5d8221a49939f47fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash
. tests/lib

t-restrict x-dgit-intree-only
t-restrict x-dgit-git-only

export DGIT_TEST_DSD_CLONE_DRS_HOOK='
	t-git-config dgit.default.distro test-dummy
	url=$(git config dgit-distro.test-dummy.git-url)
	t-git-config dgit-distro.test-dummy/push.git-url "$url"
	t-git-config dgit-distro.test-dummy.git-url nosuchprotocol://
'

t-alt-test