From cf46733632c7279a9fd0fe6ce26f9185a4ae82a9 Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Sat, 5 Aug 2017 16:22:51 +0000 Subject: subversion-1.9.7 --- subversion/tests/libsvn_subr/revision-test.c | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'subversion/tests/libsvn_subr/revision-test.c') 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 -- cgit v1.2.1