You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Brandon Ehle <az...@yahoo.com> on 2002/12/03 19:27:38 UTC

Useless test in getopt_tests.py

This test in getopt_tests.py seems pretty useless unless someone 
rewrites it.

CMD: svn "--version"
Standard output does not match.
Expected standard output:
['svn, version X.Y.Z \n', '\n', 'Copyright (C) 2000-2002 CollabNet.\n', 
'Subversion is open source software, see 
http://subversion.tigris.org/\n', '\n', 'The
following repository access (RA) modules are available:\n', '\n', '* 
ra_dav : Module for accessing a repository via WebDAV (DeltaV) 
protocol.\n', "  - handles 'http' schema\n", '* ra_local : Module for 
accessing a repository on local disk.\n', '\n']

Actual standard output:
['svn, version X.Y.Z \n', '\n', 'Copyright (C) 2000-2002 CollabNet.\n', 
'Subversion is open source software, see 
http://subversion.tigris.org/\n', '\n', 'The
following repository access (RA) modules are available:\n', '\n', '* 
ra_dav : Module for accessing a repository via WebDAV (DeltaV) 
protocol.\n', "  - handles 'http' schema\n", '* ra_local : Module for 
accessing a repository on local disk.\n', '* ra_svn : Module for 
accessing a repository using the svn network protocol.\n', "  - handles 
'svn' schema\n", '\n']

FAIL:  getopt_tests.py 2: run svn --version



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Useless test in getopt_tests.py

Posted by Greg Hudson <gh...@MIT.EDU>.
On Tue, 2002-12-03 at 17:45, Karl Fogel wrote:
> Brandon Ehle <az...@yahoo.com> writes:
> > This test in getopt_tests.py seems pretty useless unless someone
> > rewrites it.
> 
> It's correct for the default build right now... But maybe it should be
> changed to accept either?  GregH?

It seems like in the future, this test is going to be untenable.  Even
now, you can build Subversion with or without ra_pipe (well, in theory,
anyway; I'm not sure if ra_pipe builds), and whether you do so will
change the svn --version output.

I don't know how feasible this is, but maybe the test suite could chop
off the output after the "following modules are available" line and just
compare the first part.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Useless test in getopt_tests.py

Posted by Karl Fogel <kf...@newton.ch.collab.net>.
Brandon Ehle <az...@yahoo.com> writes:
> This test in getopt_tests.py seems pretty useless unless someone
> rewrites it.

It's correct for the default build right now... But maybe it should be
changed to accept either?  GregH?

-K

> CMD: svn "--version"
> Standard output does not match.
> Expected standard output:
> ['svn, version X.Y.Z \n', '\n', 'Copyright (C) 2000-2002
> CollabNet.\n', 'Subversion is open source software, see
> http://subversion.tigris.org/\n', '\n', 'The
> following repository access (RA) modules are available:\n', '\n', '*
> ra_dav : Module for accessing a repository via WebDAV (DeltaV)
> protocol.\n', "  - handles 'http' schema\n", '* ra_local : Module for
> accessing a repository on local disk.\n', '\n']
> 
> Actual standard output:
> ['svn, version X.Y.Z \n', '\n', 'Copyright (C) 2000-2002
> CollabNet.\n', 'Subversion is open source software, see
> http://subversion.tigris.org/\n', '\n', 'The
> following repository access (RA) modules are available:\n', '\n', '*
> ra_dav : Module for accessing a repository via WebDAV (DeltaV)
> protocol.\n', "  - handles 'http' schema\n", '* ra_local : Module for
> accessing a repository on local disk.\n', '* ra_svn : Module for
> accessing a repository using the svn network protocol.\n', "  -
> handles 'svn' schema\n", '\n']
> 
> FAIL:  getopt_tests.py 2: run svn --version
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Useless test in getopt_tests.py

Posted by Branko Čibej <br...@xbc.nu>.
Brandon Ehle wrote:

> This test in getopt_tests.py seems pretty useless unless someone
> rewrites it. 

Well, care to post a patch?

> CMD: svn "--version"
> Standard output does not match.
> Expected standard output:
> ['svn, version X.Y.Z \n', '\n', 'Copyright (C) 2000-2002
> CollabNet.\n', 'Subversion is open source software, see
> http://subversion.tigris.org/\n', '\n', 'The
> following repository access (RA) modules are available:\n', '\n', '*
> ra_dav : Module for accessing a repository via WebDAV (DeltaV)
> protocol.\n', "  - handles 'http' schema\n", '* ra_local : Module for
> accessing a repository on local disk.\n', '\n']
>
> Actual standard output:
> ['svn, version X.Y.Z \n', '\n', 'Copyright (C) 2000-2002
> CollabNet.\n', 'Subversion is open source software, see
> http://subversion.tigris.org/\n', '\n', 'The
> following repository access (RA) modules are available:\n', '\n', '*
> ra_dav : Module for accessing a repository via WebDAV (DeltaV)
> protocol.\n', "  - handles 'http' schema\n", '* ra_local : Module for
> accessing a repository on local disk.\n', '* ra_svn : Module for
> accessing a repository using the svn network protocol.\n', "  -
> handles 'svn' schema\n", '\n']
>
> FAIL:  getopt_tests.py 2: run svn --version
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
>


-- 
Brane Čibej   <br...@xbc.nu>   http://www.xbc.nu/brane/


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org