10 : ---- "basic test" ----
12 t-tstunt-parsechangelog
13 t-prep-newpackage example 1.0
24 : ---- "stunt ssh test" ----
26 sentinel=$tmp/stunt-ssh-sentinel
28 cat <<END >$tmp/stunt-ssh
34 export SSH_ORIGINAL_COMMAND="\$*"
35 exec \${DGIT_MIRROR_SSH_WRAP_TEST-dgit-mirror-ssh-wrap} \
36 '$tmp/git-mirror/' .git --
38 chmod +x $tmp/stunt-ssh
40 t-mirror-set rsyncssh=$tmp/stunt-ssh
41 t-mirror-set remoterepos=HOST:$reposmirror
43 # mirror should fail due to lack of stunt-ssh-sentinel
45 t-commit-build-push-expect-log "stunt ssh test" \
46 E:'mirror hook failed: .*exited'
56 : ----- "stall timeout test" -----
61 t-mirror-set hooktimeout=5
63 t-commit-build-push-expect-log "stall timeout test" \
64 E:'mirror hook failed: .*timeout'
72 while [ -f $queuedir/$p.lock ]; do
73 if [ $attempts = 0 ]; then \
74 fail "timed out waiting for lock to go away"
76 attempts=$(( $attempts - 1 ))