myserver-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[myserver-commit] [SCM] GNU MyServer branch, master, updated. 0_9_2-103-


From: Giuseppe Scrivano
Subject: [myserver-commit] [SCM] GNU MyServer branch, master, updated. 0_9_2-103-ga9728d2
Date: Wed, 07 Apr 2010 20:58:04 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU MyServer".

The branch, master has been updated
       via  a9728d229b5c46dd2b654325dd4dba011dd4e7cd (commit)
      from  c0ea46ae4789aa18dbe377489d5a5134f62f1cc3 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------


commit a9728d229b5c46dd2b654325dd4dba011dd4e7cd
Author: Giuseppe Scrivano <address@hidden>
Date:   Wed Apr 7 23:41:22 2010 +0200

    Ensure the tested local time is after the epoch everywhere.

diff --git a/myserver/tests/test_safetime.cpp b/myserver/tests/test_safetime.cpp
index a0ba88c..e6c8af7 100644
--- a/myserver/tests/test_safetime.cpp
+++ b/myserver/tests/test_safetime.cpp
@@ -50,7 +50,7 @@ public:
   void testLocalTime ()
   {
     tm res;
-    time_t timep = 10;
+    time_t timep = 60 * 60 *4 + 10;
     tm *outRes = myserver_localtime (&timep, &res);
 
     CPPUNIT_ASSERT (outRes);

-----------------------------------------------------------------------

Summary of changes:
 myserver/tests/test_safetime.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
GNU MyServer




reply via email to

[Prev in Thread] Current Thread [Next in Thread]