chiark / gitweb /
dgit-user(7): Fix some more typos
[dgit.git] / tests / lib
index ae3bb7f8429610c95ddb91e52569dbb8ddc878bc..2607ca2face2f67b9c04c6b232ca1b6413be37ee 100644 (file)
--- a/tests/lib
+++ b/tests/lib
@@ -53,6 +53,7 @@ tmp=`pwd`
 
 t-set-using-tmp
 
+test -f $tmp/.save-env || \
 env -0 >$tmp/.save-env
 
 ln -f $troot/ssh ssh
@@ -782,7 +783,6 @@ t-822-field () {
 
 t-defdistro () {
        export DGIT_TEST_DISTRO=''
-       t-git-config dgit-suite.sid.distro test-dummy
        t-git-config dgit-suite.unstable.distro test-dummy
 }
 
@@ -1024,7 +1024,9 @@ t-dsd () {
 }
 
 t-policy-admin () {
+       : '(((((((((((((((((((((((((((((((((((((((('
        ${DGIT_INFRA_PFX}dgit-repos-admin-debian --repos $tmp/git "$@"
+       : '))))))))))))))))))))))))))))))))))))))))'
 }
 
 t-policy-nonexist () {
@@ -1056,8 +1058,10 @@ t-debpolicy () {
 }
 
 t-policy-periodic () {
+       : '(((((((((((((((((((((((((((((((((((((((('
        ${DGIT_REPOS_SERVER_TEST-dgit-repos-server} \
                test-dummy $drs_dispatch '' --cron
+       : '))))))))))))))))))))))))))))))))))))))))'
 }
 
 t-restrict () {