commit - 50ccbcd9a6e4786d4eb726ac8bc3e8565fd7aa48
commit + 5a4304006707470fa37d4bf797a46adc0a0216ea
blob - 0f044fa5e9f2d09e6ac1d9c134d217185fe3fb57
blob + 87b2d0ee33cba60718822df7626b15b93e0b09ba
--- regress/gotd/email_notification.sh
+++ regress/gotd/email_notification.sh
(printf "220\r\n250\r\n250\r\n250\r\n354\r\n250\r\n221\r\n" \
| timeout 5 nc -l "$GOTD_TEST_SMTP_PORT" > $testroot/stdout) &
+ sleep 1 # server starts up
+
got send -b main -q -r $testroot/repo-clone
ret=$?
if [ $ret -ne 0 ]; then
(printf "220\r\n250\r\n250\r\n250\r\n354\r\n250\r\n221\r\n" \
| timeout 5 nc -l "$GOTD_TEST_SMTP_PORT" > $testroot/stdout) &
+ sleep 1 # server starts up
+
got send -b main -q -r $testroot/repo-clone
ret=$?
if [ $ret -ne 0 ]; then
(printf "220\r\n250\r\n250\r\n250\r\n354\r\n250\r\n221\r\n" \
| timeout 5 nc -l "$GOTD_TEST_SMTP_PORT" > $testroot/stdout) &
+ sleep 1 # server starts up
+
got send -b main -q -r $testroot/repo-clone
ret=$?
if [ $ret -ne 0 ]; then
(printf "220\r\n250\r\n250\r\n250\r\n354\r\n250\r\n221\r\n" \
| timeout 5 nc -l "$GOTD_TEST_SMTP_PORT" > $testroot/stdout) &
+
+ sleep 1 # server starts up
got send -b newbranch -q -r $testroot/repo-clone
ret=$?
(printf "220\r\n250\r\n250\r\n250\r\n354\r\n250\r\n221\r\n" \
| timeout 5 nc -l "$GOTD_TEST_SMTP_PORT" > $testroot/stdout) &
+ sleep 1 # server starts up
+
local commit_id=`git_show_branch_head $testroot/repo-clone newbranch`
local short_commit_id=`trim_obj_id 28 $commit_id`
(printf "220\r\n250\r\n250\r\n250\r\n354\r\n250\r\n221\r\n" \
| timeout 5 nc -l "$GOTD_TEST_SMTP_PORT" > $testroot/stdout) &
+
+ sleep 1 # server starts up
got send -t 1.0 -q -r $testroot/repo-clone
ret=$?
(printf "220\r\n250\r\n250\r\n250\r\n354\r\n250\r\n221\r\n" \
| timeout 5 nc -l "$GOTD_TEST_SMTP_PORT" > $testroot/stdout) &
+ sleep 1 # server starts up
+
got send -f -t 1.0 -q -r $testroot/repo-clone
ret=$?
if [ $ret -ne 0 ]; then
blob - 4e84724b805fce88a8e881e5700e1c71b5b4fd5b
blob + d3b27ff7a41130bee6fe4caab834d5f8a3f31319
--- regress/gotd/http_notification.sh
+++ regress/gotd/http_notification.sh
timeout 5 ./http-server -a $AUTH -p $GOTD_TEST_HTTP_PORT \
> $testroot/stdout &
+ sleep 1 # server starts up
+
got send -b main -q -r $testroot/repo-clone
ret=$?
if [ $ret -ne 0 ]; then
timeout 5 ./http-server -a $AUTH -p $GOTD_TEST_HTTP_PORT \
> $testroot/stdout &
+ sleep 1 # server starts up
+
git -C $testroot/repo-clone push -q origin main
ret=$?
if [ $ret -ne 0 ]; then
timeout 5 ./http-server -a $AUTH -p $GOTD_TEST_HTTP_PORT \
> $testroot/stdout &
+ sleep 1 # server starts up
+
got send -b main -q -r $testroot/repo-clone
ret=$?
if [ $ret -ne 0 ]; then
timeout 5 ./http-server -a $AUTH -p "$GOTD_TEST_HTTP_PORT" \
> $testroot/stdout &
+ sleep 1 # server starts up
+
got send -b main -q -r $testroot/repo-clone
ret=$?
if [ $ret -ne 0 ]; then
timeout 5 ./http-server -a $AUTH -p "$GOTD_TEST_HTTP_PORT" \
> $testroot/stdout &
+
+ sleep 1 # server starts up
got send -b main -q -r $testroot/repo-clone
ret=$?
timeout 5 ./http-server -a $AUTH -p "$GOTD_TEST_HTTP_PORT" \
> $testroot/stdout &
+ sleep 1 # server starts up
+
got send -b newbranch -q -r $testroot/repo-clone
ret=$?
if [ $ret -ne 0 ]; then
timeout 5 ./http-server -a $AUTH -p "$GOTD_TEST_HTTP_PORT" \
> $testroot/stdout &
+
+ sleep 1 # server starts up
local commit_id=`git_show_branch_head $testroot/repo-clone newbranch`
timeout 5 ./http-server -a $AUTH -p "$GOTD_TEST_HTTP_PORT" \
>$testroot/stdout &
+ sleep 1 # server starts up
+
got send -t 1.0 -q -r $testroot/repo-clone
ret=$?
if [ $ret -ne 0 ]; then
timeout 5 ./http-server -a $AUTH -p "$GOTD_TEST_HTTP_PORT" \
> $testroot/stdout &
+ sleep 1 # server starts up
+
got send -f -t 1.0 -q -r $testroot/repo-clone
ret=$?
if [ $ret -ne 0 ]; then