Index: subversion/tests/cmdline/svntest/main.py
===================================================================
--- subversion/tests/cmdline/svntest/main.py	(revision 1291067)
+++ subversion/tests/cmdline/svntest/main.py	(working copy)
@@ -1554,9 +1554,6 @@
     parser.error("test harness only supports server minor versions 3-7")
 
   if options.url:
-    if options.url[-1:] == '/': # Normalize url to have no trailing slash
-      options.test_area_url = options.url[:-1]
-    else:
       options.test_area_url = options.url
 
   return (parser, args)
@@ -1646,6 +1643,9 @@
   else:
     parser = _create_parser()
 
+  if options.test_area_url[-1:] == '/': # Normalize url to have no trailing slash
+    options.test_area_url = options.test_area_url[:-1]
+
   # parse the positional arguments (test nums, names)
   for arg in test_selection:
     appended = False
