<html lang='en'>
<head>
<meta content='text/html; charset=utf-8' http-equiv='Content-Type'>
<title>
GitLab
</title>
</meta>
</head>
<style>
  img {
    max-width: 100%;
    height: auto;
  }
  p.details {
    font-style:italic;
    color:#777
  }
  .footer p {
    font-size:small;
    color:#777
  }
  pre.commit-message {
    white-space: pre-wrap;
  }
  .file-stats a {
    text-decoration: none;
  }
  .file-stats .new-file {
    color: #090;
  }
  .file-stats .deleted-file {
    color: #B00;
  }
</style>
<body>
<div class='content'>
<h3>Amar Takhar pushed to branch master at <a href="https://gitlab.com/NTPsec/ntpsec">NTPsec / ntpsec</a></h3>
<h4>
Commits:
</h4>
<ul>
<li>
<strong><a href="https://gitlab.com/NTPsec/ntpsec/commit/929e670e91fa98624b17e0ce91c454dc7bce491a">929e670e</a></strong>
<div>
<span>by Amar Takhar</span>
<i>at 2015-11-24T20:16:18Z</i>
</div>
<pre class='commit-message'>Convert numtohost.c</pre>
</li>
<li>
<strong><a href="https://gitlab.com/NTPsec/ntpsec/commit/b5d09e5dc2c5b8b086a9f3560b316aaea412eadc">b5d09e5d</a></strong>
<div>
<span>by Amar Takhar</span>
<i>at 2015-11-24T20:17:54Z</i>
</div>
<pre class='commit-message'>Fix prettydate test.</pre>
</li>
<li>
<strong><a href="https://gitlab.com/NTPsec/ntpsec/commit/a4a649fa3ec630993f397f0cccd19eb77a2055e9">a4a649fa</a></strong>
<div>
<span>by Amar Takhar</span>
<i>at 2015-11-24T20:35:04Z</i>
</div>
<pre class='commit-message'>Convert modetoa.c</pre>
</li>
</ul>
<h4>6 changed files:</h4>
<ul>
<li class='file-stats'>
<a href='#diff-0'>
tests/common/tests_main.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-1'>
tests/libntp/modetoa.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-2'>
tests/libntp/numtohost.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-3'>
tests/libntp/prettydate.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-4'>
tests/wscript
</a>
</li>
<li class='file-stats'>
<a href='#diff-5'>
wscript
</a>
</li>
</ul>
<h4>Changes:</h4>
<li id='diff-0'>
<a href='https://gitlab.com/NTPsec/ntpsec/compare/8c989ef735e2e3a20b14ef39804ae0f91e1025db...a4a649fa3ec630993f397f0cccd19eb77a2055e9#diff-0'>
<strong>
tests/common/tests_main.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/tests/common/tests_main.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/tests/common/tests_main.c
</span><span style="color: #aaaaaa">@@ -49,11 +49,11 @@ static void RunAllTests(void)
</span> //        RUN_TEST_GROUP(humandate);
 //     RUN_TEST_GROUP(lfp);
 //     RUN_TEST_GROUP(lfptostr);
<span style="color: #000000;background-color: #ffdddd">-//      RUN_TEST_GROUP(modetoa);
</span><span style="color: #000000;background-color: #ddffdd">+   RUN_TEST_GROUP(modetoa);
</span> //        RUN_TEST_GROUP(msyslog);
 //     RUN_TEST_GROUP(netof);
        RUN_TEST_GROUP(numtoa);
<span style="color: #000000;background-color: #ffdddd">-//      RUN_TEST_GROUP(numtohost);
</span><span style="color: #000000;background-color: #ddffdd">+   RUN_TEST_GROUP(numtohost);
</span>   RUN_TEST_GROUP(prettydate);
 //     RUN_TEST_GROUP(recvbuff);
 //     RUN_TEST_GROUP(refnumtoa);
</code></pre>

<br>
</li>
<li id='diff-1'>
<a href='https://gitlab.com/NTPsec/ntpsec/compare/8c989ef735e2e3a20b14ef39804ae0f91e1025db...a4a649fa3ec630993f397f0cccd19eb77a2055e9#diff-1'>
<strong>
tests/libntp/modetoa.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/tests/libntp/modetoa.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/tests/libntp/modetoa.c
</span><span style="color: #aaaaaa">@@ -1,7 +1,5 @@
</span><span style="color: #000000;background-color: #ffdddd">-extern "C" {
</span> #include "unity.h"
 #include "unity_fixture.h"
<span style="color: #000000;background-color: #ffdddd">-}
</span> 
 TEST_GROUP(modetoa);
 
<span style="color: #aaaaaa">@@ -11,8 +9,6 @@ TEST_TEAR_DOWN(modetoa) {}
</span> 
 #include "libntptest.h"
 
<span style="color: #000000;background-color: #ffdddd">-class modetoaTest : public libntptest {
-};
</span> 
 TEST(modetoa, KnownMode) {
        const int MODE = 3; // Should be "client"
</code></pre>

<br>
</li>
<li id='diff-2'>
<a href='https://gitlab.com/NTPsec/ntpsec/compare/8c989ef735e2e3a20b14ef39804ae0f91e1025db...a4a649fa3ec630993f397f0cccd19eb77a2055e9#diff-2'>
<strong>
tests/libntp/numtohost.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/tests/libntp/numtohost.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/tests/libntp/numtohost.c
</span><span style="color: #aaaaaa">@@ -1,7 +1,6 @@
</span><span style="color: #000000;background-color: #ffdddd">-extern "C" {
</span> #include "unity.h"
 #include "unity_fixture.h"
<span style="color: #000000;background-color: #ffdddd">-}
</span><span style="color: #000000;background-color: #ddffdd">+
</span> 
 TEST_GROUP(numtohost);
 
<span style="color: #aaaaaa">@@ -11,8 +10,6 @@ TEST_TEAR_DOWN(numtohost) {}
</span> 
 #include "libntptest.h"
 
<span style="color: #000000;background-color: #ffdddd">-class numtohostTest : public libntptest {
-};
</span> 
 TEST(numtohost, LoopbackNetNonResolve) {
        /* A loopback address in 127.0.0.0/8 is chosen, and
<span style="color: #aaaaaa">@@ -20,7 +17,7 @@ TEST(numtohost, LoopbackNetNonResolve) {
</span>    * it is 127.0.0.1
         */
 
<span style="color: #000000;background-color: #ffdddd">-        u_int32 input = 127*256*256*256 + 1*256 + 1; // 127.0.1.1
</span><span style="color: #000000;background-color: #ddffdd">+   u_int32_t input = 127*256*256*256 + 1*256 + 1; // 127.0.1.1
</span> 
        TEST_ASSERT_EQUAL_STRING("127.0.1.1", numtohost(htonl(input)));
 }
</code></pre>

<br>
</li>
<li id='diff-3'>
<a href='https://gitlab.com/NTPsec/ntpsec/compare/8c989ef735e2e3a20b14ef39804ae0f91e1025db...a4a649fa3ec630993f397f0cccd19eb77a2055e9#diff-3'>
<strong>
tests/libntp/prettydate.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/tests/libntp/prettydate.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/tests/libntp/prettydate.c
</span><span style="color: #aaaaaa">@@ -16,7 +16,7 @@ static const u_int32_t HALF = 2147483648UL;
</span> TEST(prettydate, ConstantDate) {
        l_fp time = {{3485080800UL}, HALF}; // 2010-06-09 14:00:00.5
 
<span style="color: #000000;background-color: #ffdddd">-        TEST_ASSERT_EQUAL_STRING("cfba1ce0.80000000  2010-06-09T14:00:00.500", gmprettydate(&time));
</span><span style="color: #000000;background-color: #ddffdd">+   TEST_ASSERT_EQUAL_STRING("cfba1ce0.80000000 2010-06-09T14:00:00.500Z", gmprettydate(&time));
</span> }
 
 TEST_GROUP_RUNNER(prettydate) {
</code></pre>

<br>
</li>
<li id='diff-4'>
<a href='https://gitlab.com/NTPsec/ntpsec/compare/8c989ef735e2e3a20b14ef39804ae0f91e1025db...a4a649fa3ec630993f397f0cccd19eb77a2055e9#diff-4'>
<strong>
tests/wscript
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/tests/wscript
</span><span style="color: #000000;background-color: #ddffdd">+++ b/tests/wscript
</span><span style="color: #aaaaaa">@@ -62,11 +62,11 @@ def build(ctx):
</span> #         "libntp/humandate.c",
 #              "libntp/lfpfunc.c",
 #              "libntp/lfptostr.c",
<span style="color: #000000;background-color: #ffdddd">-#               "libntp/modetoa.c",
</span><span style="color: #000000;background-color: #ddffdd">+           "libntp/modetoa.c",
</span> #         "libntp/msyslog.c",
 #              "libntp/netof.c",
                "libntp/numtoa.c",
<span style="color: #000000;background-color: #ffdddd">-#               "libntp/numtohost.c",
</span><span style="color: #000000;background-color: #ddffdd">+           "libntp/numtohost.c",
</span>           "libntp/prettydate.c",
 #              "libntp/recvbuff.c",
 #              "libntp/refnumtoa.c",
</code></pre>

<br>
</li>
<li id='diff-5'>
<a href='https://gitlab.com/NTPsec/ntpsec/compare/8c989ef735e2e3a20b14ef39804ae0f91e1025db...a4a649fa3ec630993f397f0cccd19eb77a2055e9#diff-5'>
<strong>
wscript
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/wscript
</span><span style="color: #000000;background-color: #ddffdd">+++ b/wscript
</span><span style="color: #aaaaaa">@@ -107,12 +107,12 @@ def test_print_log(ctx):
</span>           print("")
 
                if retval or error:
<span style="color: #000000;background-color: #ffdddd">-                        pprint("RED", "****** ERROR ******")
</span><span style="color: #000000;background-color: #ddffdd">+                   pprint("RED", "****** ERROR ******\n")
</span> 
                        print error or lines
 
                if (not retval) and (not error):
<span style="color: #000000;background-color: #ffdddd">-                        pprint("GREEN", "****** LOG ******", lines)
</span><span style="color: #000000;background-color: #ddffdd">+                   pprint("GREEN", "****** LOG ******\n", lines)
</span> 
                print
 
</code></pre>

<br>
</li>

</div>
<div class='footer' style='margin-top: 10px;'>
<p>

<br>
<a href="https://gitlab.com/NTPsec/ntpsec/compare/8c989ef735e2e3a20b14ef39804ae0f91e1025db...a4a649fa3ec630993f397f0cccd19eb77a2055e9">View it on GitLab</a>.
<br>
You're receiving this email because of your account on gitlab.com.
If you'd like to receive fewer emails, you can adjust your notification settings.
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":["merge_requests","issues","commit"],"url":"https://gitlab.com/NTPsec/ntpsec/compare/8c989ef735e2e3a20b14ef39804ae0f91e1025db...a4a649fa3ec630993f397f0cccd19eb77a2055e9"}}</script>
</p>
</div>
</body>
</html>