chiark
/
gitweb
/
~ianmdlvl
/
dgit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dgit clone: No longer create an "origin" remote
[dgit.git]
/
tests
/
lib-mirror
diff --git
a/tests/lib-mirror
b/tests/lib-mirror
index c84c30c33edc3d3e81f0f1ac287c92733f0ebcde..25f0f90cf9513755e74bbcd5234168a17d0efe03 100644
(file)
--- a/
tests/lib-mirror
+++ b/
tests/lib-mirror
@@
-9,7
+9,7
@@
t-mirror-setup () {
mkdir $reposmirror
mirror_hook=$drs_dispatch/mirror-hook
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"
>$drs_dispatch/mirror-settings
t-mirror-set remoterepos="$reposmirror"
@@
-22,14
+22,16
@@
t-mirror-set () {
}
t-mirror-hook () {
}
t-mirror-hook () {
+ : '(((((((((((((((((((((((((((((((((((((((('
"$mirror_hook" "$drs_dispatch" "$@"
"$mirror_hook" "$drs_dispatch" "$@"
+ : '))))))))))))))))))))))))))))))))))))))))'
}
t-check-mirrored () {
t-reporefs master
t-reporefs mirror $pmirror
diff $tmp/show-refs.{master,mirror}
}
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}
}
t-files-notexist $queuedir/$p.{n,a,lock,err}
}