chiark
/
gitweb
/
~ianmdlvl
/
dgit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
test suite: default dsc distro config setting: Move to lib.
[dgit.git]
/
tests
/
lib
diff --git
a/tests/lib
b/tests/lib
index 4ddd6d8ac7451d34a5728b759bac0c5a52ef0f64..7b9de175155708bf979ccf036453d1b0d6d3dbb3 100644
(file)
--- a/
tests/lib
+++ b/
tests/lib
@@
-53,6
+53,7
@@
tmp=`pwd`
t-set-using-tmp
t-set-using-tmp
+test -f $tmp/.save-env || \
env -0 >$tmp/.save-env
ln -f $troot/ssh ssh
env -0 >$tmp/.save-env
ln -f $troot/ssh ssh
@@
-1023,7
+1024,9
@@
t-dsd () {
}
t-policy-admin () {
}
t-policy-admin () {
+ : '(((((((((((((((((((((((((((((((((((((((('
${DGIT_INFRA_PFX}dgit-repos-admin-debian --repos $tmp/git "$@"
${DGIT_INFRA_PFX}dgit-repos-admin-debian --repos $tmp/git "$@"
+ : '))))))))))))))))))))))))))))))))))))))))'
}
t-policy-nonexist () {
}
t-policy-nonexist () {
@@
-1055,8
+1058,10
@@
t-debpolicy () {
}
t-policy-periodic () {
}
t-policy-periodic () {
+ : '(((((((((((((((((((((((((((((((((((((((('
${DGIT_REPOS_SERVER_TEST-dgit-repos-server} \
test-dummy $drs_dispatch '' --cron
${DGIT_REPOS_SERVER_TEST-dgit-repos-server} \
test-dummy $drs_dispatch '' --cron
+ : '))))))))))))))))))))))))))))))))))))))))'
}
t-restrict () {
}
t-restrict () {
@@
-1084,6
+1089,8
@@
t-alt-test () {
t-chain-test "${t#*-}"
}
t-chain-test "${t#*-}"
}
+t-git-config dgit.default.old-dsc-distro test-dummy
+
case "$0" in
*/gnupg) ;;
*) t-setup-import gnupg ;;
case "$0" in
*/gnupg) ;;
*) t-setup-import gnupg ;;