]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
pass in lc, report e-mail sending
authorWillem Toorop <willem@nlnetlabs.nl>
Tue, 18 Jun 2013 15:03:23 +0000 (17:03 +0200)
committerWillem Toorop <willem@nlnetlabs.nl>
Tue, 18 Jun 2013 15:03:23 +0000 (17:03 +0200)
test/test_ci.sh

index f6497140ad9ecbfd14f2acab680fe766956642d8..b1402b5e0802178cb8a810f040accadc9f6eb947 100755 (executable)
@@ -56,7 +56,7 @@ done
 # -----------------------------------------------------------------------------
 # ----  Reusable reporting part
 #
-if test "$?" -eq "0"; then STATUS="PASS"; else STATUS="FAIL"; fi
+if test "$?" -eq "0"; then STATUS="pass"; else STATUS="FAIL"; fi
 CI_ID=2
 
 REPOS=$(basename $(pwd))
@@ -64,6 +64,7 @@ REPOS=${REPOS%.git}
 CI_URI="https://gitlab-ci.nlnetlabs.nl/projects/$CI_ID/builds/%H"
 while [ $# -ge 1 ]
 do
+       echo "Sending mail to $1... ($# >= 1)"
        (
                git log -1 --format="From %H %ad%nFrom: %an <%ae>"
                BRANCH=$(
@@ -102,4 +103,4 @@ do
        ) | sendmail $1
        shift
 done
-test "$STATUS" = "PASS"
+test "$STATUS" = "pass"