chiark / gitweb /
dgit-user(7): Suggest avoiding ,-security for sid
[dgit.git] / tests / lib-mirror
index c84c30c..8aa751a 100644 (file)
@@ -9,7 +9,7 @@ t-mirror-setup () {
        mkdir $reposmirror
 
        mirror_hook=$drs_dispatch/mirror-hook
-       ln -sf ${DGIT_INFRA_PFX}dgit-mirror-rsync $mirror_hook
+       t-make-hook-link dgit-mirror-rsync $mirror_hook
 
        >$drs_dispatch/mirror-settings
        t-mirror-set remoterepos="$reposmirror"
@@ -29,7 +29,7 @@ t-check-mirrored () {
        t-reporefs master
        t-reporefs mirror $pmirror
        diff $tmp/show-refs.{master,mirror}
-       cat $queuedir/$p.log
+       cat $queuedir/$p.log ||:
        t-files-notexist $queuedir/$p.{n,a,lock,err}
 }