summaryrefslogtreecommitdiff
path: root/subversion/tests/libsvn_subr/time-test.c
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2017-08-05 16:22:51 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2017-08-05 16:22:51 +0000
commitcf46733632c7279a9fd0fe6ce26f9185a4ae82a9 (patch)
treeda27775a2161723ef342e91af41a8b51fedef405 /subversion/tests/libsvn_subr/time-test.c
parentbb0ef45f7c46b0ae221b26265ef98a768c33f820 (diff)
downloadsubversion-tarball-master.tar.gz
Diffstat (limited to 'subversion/tests/libsvn_subr/time-test.c')
-rw-r--r--subversion/tests/libsvn_subr/time-test.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/subversion/tests/libsvn_subr/time-test.c b/subversion/tests/libsvn_subr/time-test.c
index 82e56b1..51fbe67 100644
--- a/subversion/tests/libsvn_subr/time-test.c
+++ b/subversion/tests/libsvn_subr/time-test.c
@@ -29,10 +29,10 @@
#include "../svn_test.h"
/* All these variables should refer to the same point in time. */
-apr_time_t test_timestamp = APR_TIME_C(1021316450966679);
-const char *test_timestring =
+static apr_time_t test_timestamp = APR_TIME_C(1021316450966679);
+static const char *test_timestring =
"2002-05-13T19:00:50.966679Z";
-const char *test_old_timestring =
+static const char *test_old_timestring =
"Mon 13 May 2002 22:00:50.966679 (day 133, dst 1, gmt_off 010800)";
@@ -339,7 +339,9 @@ test_parse_date(apr_pool_t *pool)
/* The test table. */
-struct svn_test_descriptor_t test_funcs[] =
+static int max_threads = 1;
+
+static struct svn_test_descriptor_t test_funcs[] =
{
SVN_TEST_NULL,
SVN_TEST_PASS2(test_time_to_cstring,
@@ -354,3 +356,5 @@ struct svn_test_descriptor_t test_funcs[] =
"test svn_parse_date"),
SVN_TEST_NULL
};
+
+SVN_TEST_MAIN