subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stef...@apache.org
Subject svn commit: r1559869 - /subversion/trunk/subversion/tests/svn_test_main.c
Date Tue, 21 Jan 2014 00:59:51 GMT
Author: stefan2
Date: Tue Jan 21 00:59:51 2014
New Revision: 1559869

URL: http://svn.apache.org/r1559869
Log:
* subversion/tests/svn_test_main.c
  (main): Check the version number provided to the test against
          our current one instead of some fixed value that we
          need to adjust manually after each release.

Suggested by: breser

Modified:
    subversion/trunk/subversion/tests/svn_test_main.c

Modified: subversion/trunk/subversion/tests/svn_test_main.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/svn_test_main.c?rev=1559869&r1=1559868&r2=1559869&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/svn_test_main.c (original)
+++ subversion/trunk/subversion/tests/svn_test_main.c Tue Jan 21 00:59:51 2014
@@ -45,6 +45,7 @@
 #include "svn_path.h"
 #include "svn_ctype.h"
 #include "svn_utf.h"
+#include "svn_version.h"
 
 #include "private/svn_cmdline_private.h"
 #include "private/svn_atomic.h"
@@ -794,7 +795,7 @@ main(int argc, const char *argv[])
                 exit(1);
               }
             if ((opts.server_minor_version < 3)
-                || (opts.server_minor_version > 9))
+                || (opts.server_minor_version > SVN_VER_MINOR))
               {
                 fprintf(stderr, "FAIL: Invalid minor version given\n");
                 exit(1);



Mime
View raw message