Blob


1 #!/bin/sh
2 #
3 # Copyright (c) 2024 Stefan Sperling <stsp@openbsd.org>
4 #
5 # Permission to use, copy, modify, and distribute this software for any
6 # purpose with or without fee is hereby granted, provided that the above
7 # copyright notice and this permission notice appear in all copies.
8 #
9 # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10 # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11 # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12 # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13 # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14 # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15 # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17 . ../cmdline/common.sh
18 . ./common.sh
20 test_file_changed() {
21 local testroot=`test_init file_changed 1`
23 got clone -a -q ${GOTD_TEST_REPO_URL} $testroot/repo-clone
24 ret=$?
25 if [ $ret -ne 0 ]; then
26 echo "got clone failed unexpectedly" >&2
27 test_done "$testroot" 1
28 return 1
29 fi
31 got checkout -q $testroot/repo-clone $testroot/wt >/dev/null
32 ret=$?
33 if [ $ret -ne 0 ]; then
34 echo "got checkout failed unexpectedly" >&2
35 test_done "$testroot" 1
36 return 1
37 fi
39 echo "change alpha" > $testroot/wt/alpha
40 (cd $testroot/wt && got commit -m 'make changes' > /dev/null)
41 local commit_id=`git_show_head $testroot/repo-clone`
42 local author_time=`git_show_author_time $testroot/repo-clone`
44 (printf "220\r\n250\r\n250\r\n250\r\n354\r\n250\r\n221\r\n" \
45 | timeout 5 nc -l "$GOTD_TEST_SMTP_PORT" > $testroot/stdout) &
47 got send -b main -q -r $testroot/repo-clone
48 ret=$?
49 if [ $ret -ne 0 ]; then
50 echo "got send failed unexpectedly" >&2
51 test_done "$testroot" "1"
52 return 1
53 fi
55 wait %1 # wait for nc -l
57 HOSTNAME=`hostname`
58 printf "HELO localhost\r\n" > $testroot/stdout.expected
59 printf "MAIL FROM:<${GOTD_USER}@${HOSTNAME}>\r\n" \
60 >> $testroot/stdout.expected
61 printf "RCPT TO:<${GOTD_DEVUSER}>\r\n" >> $testroot/stdout.expected
62 printf "DATA\r\n" >> $testroot/stdout.expected
63 printf "From: ${GOTD_USER}@${HOSTNAME}\r\n" >> $testroot/stdout.expected
64 printf "To: ${GOTD_DEVUSER}\r\n" >> $testroot/stdout.expected
65 printf "Subject: $GOTD_TEST_REPO_NAME: " >> $testroot/stdout.expected
66 printf "${GOTD_DEVUSER} changed refs/heads/main\r\n" \
67 >> $testroot/stdout.expected
68 printf "\r\n" >> $testroot/stdout.expected
69 printf "commit $commit_id\n" >> $testroot/stdout.expected
70 printf "from: $GOT_AUTHOR\n" >> $testroot/stdout.expected
71 d=`date -u -r $author_time +"%a %b %e %X %Y UTC"`
72 printf "date: $d\n" >> $testroot/stdout.expected
73 printf " \n" >> $testroot/stdout.expected
74 printf " make changes\n \n" >> $testroot/stdout.expected
75 printf " M alpha | 1+ 1-\n\n" >> $testroot/stdout.expected
76 printf "1 file changed, 1 insertion(+), 1 deletion(-)\n\n" \
77 >> $testroot/stdout.expected
78 printf "\r\n" >> $testroot/stdout.expected
79 printf ".\r\n" >> $testroot/stdout.expected
80 printf "QUIT\r\n" >> $testroot/stdout.expected
82 grep -v ^Date $testroot/stdout > $testroot/stdout.filtered
83 cmp -s $testroot/stdout.expected $testroot/stdout.filtered
84 ret=$?
85 if [ $ret -ne 0 ]; then
86 diff -u $testroot/stdout.expected $testroot/stdout.filtered
87 test_done "$testroot" "$ret"
88 return 1
89 fi
91 test_done "$testroot" "$ret"
92 }
94 test_many_commits_not_summarized() {
95 local testroot=`test_init many_commits_not_summarized 1`
97 got clone -a -q ${GOTD_TEST_REPO_URL} $testroot/repo-clone
98 ret=$?
99 if [ $ret -ne 0 ]; then
100 echo "got clone failed unexpectedly" >&2
101 test_done "$testroot" 1
102 return 1
103 fi
105 got checkout -q $testroot/repo-clone $testroot/wt >/dev/null
106 ret=$?
107 if [ $ret -ne 0 ]; then
108 echo "got checkout failed unexpectedly" >&2
109 test_done "$testroot" 1
110 return 1
111 fi
113 for i in `seq 1 24`; do
114 echo "alpha $i" > $testroot/wt/alpha
115 (cd $testroot/wt && got commit -m 'make changes' > /dev/null)
116 local commit_id=`git_show_head $testroot/repo-clone`
117 local author_time=`git_show_author_time $testroot/repo-clone`
118 d=`date -u -r $author_time +"%a %b %e %X %Y UTC"`
119 set -- "$@" "$commit_id $d"
120 done
122 (printf "220\r\n250\r\n250\r\n250\r\n354\r\n250\r\n221\r\n" \
123 | timeout 5 nc -l "$GOTD_TEST_SMTP_PORT" > $testroot/stdout) &
125 got send -b main -q -r $testroot/repo-clone
126 ret=$?
127 if [ $ret -ne 0 ]; then
128 echo "got send failed unexpectedly" >&2
129 test_done "$testroot" "1"
130 return 1
131 fi
133 wait %1 # wait for nc -l
135 HOSTNAME=`hostname`
136 printf "HELO localhost\r\n" > $testroot/stdout.expected
137 printf "MAIL FROM:<${GOTD_USER}@${HOSTNAME}>\r\n" \
138 >> $testroot/stdout.expected
139 printf "RCPT TO:<${GOTD_DEVUSER}>\r\n" >> $testroot/stdout.expected
140 printf "DATA\r\n" >> $testroot/stdout.expected
141 printf "From: ${GOTD_USER}@${HOSTNAME}\r\n" \
142 >> $testroot/stdout.expected
143 printf "To: ${GOTD_DEVUSER}\r\n" >> $testroot/stdout.expected
144 printf "Subject: $GOTD_TEST_REPO_NAME: " >> $testroot/stdout.expected
145 printf "${GOTD_DEVUSER} changed refs/heads/main\r\n" \
146 >> $testroot/stdout.expected
147 printf "\r\n" >> $testroot/stdout.expected
148 for i in `seq 1 24`; do
149 s=`pop_idx $i "$@"`
150 commit_id=$(echo $s | cut -d' ' -f1)
151 commit_time=$(echo $s | sed -e "s/^$commit_id //g")
152 printf "commit $commit_id\n" >> $testroot/stdout.expected
153 printf "from: $GOT_AUTHOR\n" >> $testroot/stdout.expected
154 printf "date: $commit_time\n" >> $testroot/stdout.expected
155 printf " \n" >> $testroot/stdout.expected
156 printf " make changes\n \n" >> $testroot/stdout.expected
157 printf " M alpha | 1+ 1-\n\n" \
158 >> $testroot/stdout.expected
159 printf "1 file changed, 1 insertion(+), 1 deletion(-)\n\n" \
160 >> $testroot/stdout.expected
161 done
162 printf "\r\n" >> $testroot/stdout.expected
163 printf ".\r\n" >> $testroot/stdout.expected
164 printf "QUIT\r\n" >> $testroot/stdout.expected
166 grep -v ^Date $testroot/stdout > $testroot/stdout.filtered
167 cmp -s $testroot/stdout.expected $testroot/stdout.filtered
168 ret=$?
169 if [ $ret -ne 0 ]; then
170 diff -u $testroot/stdout.expected $testroot/stdout.filtered
171 test_done "$testroot" "$ret"
172 return 1
173 fi
175 test_done "$testroot" "$ret"
178 test_many_commits_summarized() {
179 local testroot=`test_init many_commits_summarized 1`
181 got clone -a -q ${GOTD_TEST_REPO_URL} $testroot/repo-clone
182 ret=$?
183 if [ $ret -ne 0 ]; then
184 echo "got clone failed unexpectedly" >&2
185 test_done "$testroot" 1
186 return 1
187 fi
189 got checkout -q $testroot/repo-clone $testroot/wt >/dev/null
190 ret=$?
191 if [ $ret -ne 0 ]; then
192 echo "got checkout failed unexpectedly" >&2
193 test_done "$testroot" 1
194 return 1
195 fi
197 for i in `seq 1 51`; do
198 echo "alpha $i" > $testroot/wt/alpha
199 (cd $testroot/wt && got commit -m 'make changes' > /dev/null)
200 local commit_id=`git_show_head $testroot/repo-clone`
201 local short_commit_id=`trim_obj_id 33 $commit_id`
202 local author_time=`git_show_author_time $testroot/repo-clone`
203 d=`date -u -r $author_time +"%G-%m-%d"`
204 set -- "$@" "$short_commit_id $d"
205 done
207 (printf "220\r\n250\r\n250\r\n250\r\n354\r\n250\r\n221\r\n" \
208 | timeout 5 nc -l "$GOTD_TEST_SMTP_PORT" > $testroot/stdout) &
210 got send -b main -q -r $testroot/repo-clone
211 ret=$?
212 if [ $ret -ne 0 ]; then
213 echo "got send failed unexpectedly" >&2
214 test_done "$testroot" "1"
215 return 1
216 fi
218 wait %1 # wait for nc -l
220 HOSTNAME=`hostname`
221 printf "HELO localhost\r\n" > $testroot/stdout.expected
222 printf "MAIL FROM:<${GOTD_USER}@${HOSTNAME}>\r\n" \
223 >> $testroot/stdout.expected
224 printf "RCPT TO:<${GOTD_DEVUSER}>\r\n" >> $testroot/stdout.expected
225 printf "DATA\r\n" >> $testroot/stdout.expected
226 printf "From: ${GOTD_USER}@${HOSTNAME}\r\n" \
227 >> $testroot/stdout.expected
228 printf "To: ${GOTD_DEVUSER}\r\n" >> $testroot/stdout.expected
229 printf "Subject: $GOTD_TEST_REPO_NAME: " >> $testroot/stdout.expected
230 printf "${GOTD_DEVUSER} changed refs/heads/main\r\n" \
231 >> $testroot/stdout.expected
232 printf "\r\n" >> $testroot/stdout.expected
233 for i in `seq 1 51`; do
234 s=`pop_idx $i "$@"`
235 commit_id=$(echo $s | cut -d' ' -f1)
236 commit_time=$(echo $s | sed -e "s/^$commit_id //g")
237 printf "$commit_time $commit_id $GOT_AUTHOR_8 make changes\n" \
238 >> $testroot/stdout.expected
239 done
240 printf "\r\n" >> $testroot/stdout.expected
241 printf ".\r\n" >> $testroot/stdout.expected
242 printf "QUIT\r\n" >> $testroot/stdout.expected
244 grep -v ^Date $testroot/stdout > $testroot/stdout.filtered
245 cmp -s $testroot/stdout.expected $testroot/stdout.filtered
246 ret=$?
247 if [ $ret -ne 0 ]; then
248 diff -u $testroot/stdout.expected $testroot/stdout.filtered
249 test_done "$testroot" "$ret"
250 return 1
251 fi
253 test_done "$testroot" "$ret"
256 test_branch_created() {
257 local testroot=`test_init branch_created 1`
259 got clone -a -q ${GOTD_TEST_REPO_URL} $testroot/repo-clone
260 ret=$?
261 if [ $ret -ne 0 ]; then
262 echo "got clone failed unexpectedly" >&2
263 test_done "$testroot" 1
264 return 1
265 fi
267 got checkout -q $testroot/repo-clone $testroot/wt >/dev/null
268 ret=$?
269 if [ $ret -ne 0 ]; then
270 echo "got checkout failed unexpectedly" >&2
271 test_done "$testroot" 1
272 return 1
273 fi
275 (cd $testroot/wt && got branch newbranch > /dev/null)
277 echo "change alpha on branch" > $testroot/wt/alpha
278 (cd $testroot/wt && got commit -m 'newbranch' > /dev/null)
279 local commit_id=`git_show_branch_head $testroot/repo-clone newbranch`
280 local author_time=`git_show_author_time $testroot/repo-clone $commit_id`
282 (printf "220\r\n250\r\n250\r\n250\r\n354\r\n250\r\n221\r\n" \
283 | timeout 5 nc -l "$GOTD_TEST_SMTP_PORT" > $testroot/stdout) &
285 got send -b newbranch -q -r $testroot/repo-clone
286 ret=$?
287 if [ $ret -ne 0 ]; then
288 echo "got send failed unexpectedly" >&2
289 test_done "$testroot" "1"
290 return 1
291 fi
293 wait %1 # wait for nc -l
295 HOSTNAME=`hostname`
296 printf "HELO localhost\r\n" > $testroot/stdout.expected
297 printf "MAIL FROM:<${GOTD_USER}@${HOSTNAME}>\r\n" \
298 >> $testroot/stdout.expected
299 printf "RCPT TO:<${GOTD_DEVUSER}>\r\n" >> $testroot/stdout.expected
300 printf "DATA\r\n" >> $testroot/stdout.expected
301 printf "From: ${GOTD_USER}@${HOSTNAME}\r\n" >> $testroot/stdout.expected
302 printf "To: ${GOTD_DEVUSER}\r\n" >> $testroot/stdout.expected
303 printf "Subject: $GOTD_TEST_REPO_NAME: " >> $testroot/stdout.expected
304 printf "${GOTD_DEVUSER} created refs/heads/newbranch\r\n" \
305 >> $testroot/stdout.expected
306 printf "\r\n" >> $testroot/stdout.expected
307 printf "commit $commit_id\n" >> $testroot/stdout.expected
308 printf "from: $GOT_AUTHOR\n" >> $testroot/stdout.expected
309 d=`date -u -r $author_time +"%a %b %e %X %Y UTC"`
310 printf "date: $d\n" >> $testroot/stdout.expected
311 printf " \n" >> $testroot/stdout.expected
312 printf " newbranch\n \n" >> $testroot/stdout.expected
313 printf " M alpha | 1+ 1-\n\n" >> $testroot/stdout.expected
314 printf "1 file changed, 1 insertion(+), 1 deletion(-)\n\n" \
315 >> $testroot/stdout.expected
316 printf "\r\n" >> $testroot/stdout.expected
317 printf ".\r\n" >> $testroot/stdout.expected
318 printf "QUIT\r\n" >> $testroot/stdout.expected
320 grep -v ^Date $testroot/stdout > $testroot/stdout.filtered
321 cmp -s $testroot/stdout.expected $testroot/stdout.filtered
322 ret=$?
323 if [ $ret -ne 0 ]; then
324 diff -u $testroot/stdout.expected $testroot/stdout.filtered
325 test_done "$testroot" "$ret"
326 return 1
327 fi
329 test_done "$testroot" "$ret"
332 test_branch_removed() {
333 local testroot=`test_init branch_removed 1`
335 got clone -a -q ${GOTD_TEST_REPO_URL} $testroot/repo-clone
336 ret=$?
337 if [ $ret -ne 0 ]; then
338 echo "got clone failed unexpectedly" >&2
339 test_done "$testroot" 1
340 return 1
341 fi
343 (printf "220\r\n250\r\n250\r\n250\r\n354\r\n250\r\n221\r\n" \
344 | timeout 5 nc -l "$GOTD_TEST_SMTP_PORT" > $testroot/stdout) &
346 local commit_id=`git_show_branch_head $testroot/repo-clone newbranch`
348 got send -d newbranch -q -r $testroot/repo-clone
349 ret=$?
350 if [ $ret -ne 0 ]; then
351 echo "got send failed unexpectedly" >&2
352 test_done "$testroot" "1"
353 return 1
354 fi
356 wait %1 # wait for nc -l
358 HOSTNAME=`hostname`
359 printf "HELO localhost\r\n" > $testroot/stdout.expected
360 printf "MAIL FROM:<${GOTD_USER}@${HOSTNAME}>\r\n" \
361 >> $testroot/stdout.expected
362 printf "RCPT TO:<${GOTD_DEVUSER}>\r\n" >> $testroot/stdout.expected
363 printf "DATA\r\n" >> $testroot/stdout.expected
364 printf "From: ${GOTD_USER}@${HOSTNAME}\r\n" >> $testroot/stdout.expected
365 printf "To: ${GOTD_DEVUSER}\r\n" >> $testroot/stdout.expected
366 printf "Subject: $GOTD_TEST_REPO_NAME: " >> $testroot/stdout.expected
367 printf "${GOTD_DEVUSER} removed refs/heads/newbranch\r\n" \
368 >> $testroot/stdout.expected
369 printf "\r\n" >> $testroot/stdout.expected
370 printf "Removed refs/heads/newbranch: $commit_id\n" \
371 >> $testroot/stdout.expected
372 printf "\r\n" >> $testroot/stdout.expected
373 printf ".\r\n" >> $testroot/stdout.expected
374 printf "QUIT\r\n" >> $testroot/stdout.expected
376 grep -v ^Date $testroot/stdout > $testroot/stdout.filtered
377 cmp -s $testroot/stdout.expected $testroot/stdout.filtered
378 ret=$?
379 if [ $ret -ne 0 ]; then
380 diff -u $testroot/stdout.expected $testroot/stdout.filtered
381 test_done "$testroot" "$ret"
382 return 1
383 fi
385 test_done "$testroot" "$ret"
388 test_tag_created() {
389 local testroot=`test_init tag_created 1`
391 got clone -a -q ${GOTD_TEST_REPO_URL} $testroot/repo-clone
392 ret=$?
393 if [ $ret -ne 0 ]; then
394 echo "got clone failed unexpectedly" >&2
395 test_done "$testroot" 1
396 return 1
397 fi
399 got tag -r $testroot/repo-clone -m "new tag" 1.0 > /dev/null
400 local commit_id=`git_show_head $testroot/repo-clone`
401 local tagger_time=`git_show_tagger_time $testroot/repo-clone 1.0`
403 (printf "220\r\n250\r\n250\r\n250\r\n354\r\n250\r\n221\r\n" \
404 | timeout 5 nc -l "$GOTD_TEST_SMTP_PORT" > $testroot/stdout) &
406 got send -t 1.0 -q -r $testroot/repo-clone
407 ret=$?
408 if [ $ret -ne 0 ]; then
409 echo "got send failed unexpectedly" >&2
410 test_done "$testroot" "1"
411 return 1
412 fi
414 wait %1 # wait for nc -l
416 HOSTNAME=`hostname`
417 printf "HELO localhost\r\n" > $testroot/stdout.expected
418 printf "MAIL FROM:<${GOTD_USER}@${HOSTNAME}>\r\n" \
419 >> $testroot/stdout.expected
420 printf "RCPT TO:<${GOTD_DEVUSER}>\r\n" >> $testroot/stdout.expected
421 printf "DATA\r\n" >> $testroot/stdout.expected
422 printf "From: ${GOTD_USER}@${HOSTNAME}\r\n" >> $testroot/stdout.expected
423 printf "To: ${GOTD_DEVUSER}\r\n" >> $testroot/stdout.expected
424 printf "Subject: $GOTD_TEST_REPO_NAME: " >> $testroot/stdout.expected
425 printf "${GOTD_DEVUSER} created refs/tags/1.0\r\n" \
426 >> $testroot/stdout.expected
427 printf "\r\n" >> $testroot/stdout.expected
428 printf "tag refs/tags/1.0\n" >> $testroot/stdout.expected
429 printf "from: $GOT_AUTHOR\n" >> $testroot/stdout.expected
430 d=`date -u -r $tagger_time +"%a %b %e %X %Y UTC"`
431 printf "date: $d\n" >> $testroot/stdout.expected
432 printf "object: commit $commit_id\n" >> $testroot/stdout.expected
433 printf " \n" >> $testroot/stdout.expected
434 printf " new tag\n \n" >> $testroot/stdout.expected
435 printf "\r\n" >> $testroot/stdout.expected
436 printf ".\r\n" >> $testroot/stdout.expected
437 printf "QUIT\r\n" >> $testroot/stdout.expected
439 grep -v ^Date $testroot/stdout > $testroot/stdout.filtered
440 cmp -s $testroot/stdout.expected $testroot/stdout.filtered
441 ret=$?
442 if [ $ret -ne 0 ]; then
443 diff -u $testroot/stdout.expected $testroot/stdout.filtered
444 test_done "$testroot" "$ret"
445 return 1
446 fi
448 test_done "$testroot" "$ret"
451 test_tag_changed() {
452 local testroot=`test_init tag_changed 1`
454 got clone -a -q ${GOTD_TEST_REPO_URL} $testroot/repo-clone
455 ret=$?
456 if [ $ret -ne 0 ]; then
457 echo "got clone failed unexpectedly" >&2
458 test_done "$testroot" 1
459 return 1
460 fi
462 got checkout -q $testroot/repo-clone $testroot/wt >/dev/null
463 ret=$?
464 if [ $ret -ne 0 ]; then
465 echo "got checkout failed unexpectedly" >&2
466 test_done "$testroot" 1
467 return 1
468 fi
470 echo "change alpha" > $testroot/wt/alpha
471 (cd $testroot/wt && got commit -m 'make changes' > /dev/null)
472 local commit_id=`git_show_head $testroot/repo-clone`
474 got ref -r $testroot/repo-clone -d refs/tags/1.0 >/dev/null
475 got tag -r $testroot/repo-clone -m "new tag" 1.0 > /dev/null
476 local tagger_time=`git_show_tagger_time $testroot/repo-clone 1.0`
478 (printf "220\r\n250\r\n250\r\n250\r\n354\r\n250\r\n221\r\n" \
479 | timeout 5 nc -l "$GOTD_TEST_SMTP_PORT" > $testroot/stdout) &
481 got send -f -t 1.0 -q -r $testroot/repo-clone
482 ret=$?
483 if [ $ret -ne 0 ]; then
484 echo "got send failed unexpectedly" >&2
485 test_done "$testroot" "1"
486 return 1
487 fi
489 wait %1 # wait for nc -l
491 HOSTNAME=`hostname`
492 printf "HELO localhost\r\n" > $testroot/stdout.expected
493 printf "MAIL FROM:<${GOTD_USER}@${HOSTNAME}>\r\n" \
494 >> $testroot/stdout.expected
495 printf "RCPT TO:<${GOTD_DEVUSER}>\r\n" >> $testroot/stdout.expected
496 printf "DATA\r\n" >> $testroot/stdout.expected
497 printf "From: ${GOTD_USER}@${HOSTNAME}\r\n" >> $testroot/stdout.expected
498 printf "To: ${GOTD_DEVUSER}\r\n" >> $testroot/stdout.expected
499 printf "Subject: $GOTD_TEST_REPO_NAME: " >> $testroot/stdout.expected
500 printf "${GOTD_DEVUSER} changed refs/tags/1.0\r\n" \
501 >> $testroot/stdout.expected
502 printf "\r\n" >> $testroot/stdout.expected
503 printf "tag refs/tags/1.0\n" >> $testroot/stdout.expected
504 printf "from: $GOT_AUTHOR\n" >> $testroot/stdout.expected
505 d=`date -u -r $tagger_time +"%a %b %e %X %Y UTC"`
506 printf "date: $d\n" >> $testroot/stdout.expected
507 printf "object: commit $commit_id\n" >> $testroot/stdout.expected
508 printf " \n" >> $testroot/stdout.expected
509 printf " new tag\n \n" >> $testroot/stdout.expected
510 printf "\r\n" >> $testroot/stdout.expected
511 printf ".\r\n" >> $testroot/stdout.expected
512 printf "QUIT\r\n" >> $testroot/stdout.expected
514 grep -v ^Date $testroot/stdout > $testroot/stdout.filtered
515 cmp -s $testroot/stdout.expected $testroot/stdout.filtered
516 ret=$?
517 if [ $ret -ne 0 ]; then
518 diff -u $testroot/stdout.expected $testroot/stdout.filtered
519 test_done "$testroot" "$ret"
520 return 1
521 fi
523 test_done "$testroot" "$ret"
526 test_parseargs "$@"
527 run_test test_file_changed
528 run_test test_many_commits_not_summarized
529 run_test test_many_commits_summarized
530 run_test test_branch_created
531 run_test test_branch_removed
532 run_test test_tag_created
533 run_test test_tag_changed