summaryrefslogtreecommitdiff
path: root/subversion/tests/libsvn_subr/revision-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'subversion/tests/libsvn_subr/revision-test.c')
-rw-r--r--subversion/tests/libsvn_subr/revision-test.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/subversion/tests/libsvn_subr/revision-test.c b/subversion/tests/libsvn_subr/revision-test.c
index 7e5d752..53ca8da 100644
--- a/subversion/tests/libsvn_subr/revision-test.c
+++ b/subversion/tests/libsvn_subr/revision-test.c
@@ -34,6 +34,12 @@ test_revnum_parse(apr_pool_t *pool)
"",
"abc",
"-456",
+ "2147483648",
+ "4294967295",
+ "4300000000",
+ "00000000001",
+ "21474836470",
+ "999999999999999999999999",
NULL
};
@@ -41,6 +47,8 @@ test_revnum_parse(apr_pool_t *pool)
"0",
"12345",
"12345ABC",
+ "0000000001",
+ "2147483647x",
NULL
};
@@ -115,10 +123,14 @@ test_revnum_parse(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_revnum_parse,
"test svn_revnum_parse"),
SVN_TEST_NULL
};
+
+SVN_TEST_MAIN