[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] Allow testing of svn client exit codes

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: Thu, 06 Mar 2008 22:30:09 +0000

jeremy hinds wrote:
> First of all, I must apologize for some of these formatting issues. I
> scripted the return-value-acceptance changes with intentions of
> manually fixing the formatting after I got everything working.

No problem!

> Everything else has been duly noted, and the issues are corrected (I
> hope) in this version.

Yes, it looks good and works for me on Linux, so I've committed it as r29753.
Thank you very much for doing this.

- Julian

>
>
> [[[
> Allow testing of application exit codes.
>
> This makes all of the lower-level process-running functions in
> cmdline/svntest/main.py and cmdline/svntest/actions.py return
> the exit code, all of the "run_and_verify_*()" functions guess the
> expected exit code based on whether or not output on stderr is
> expected, and new "run_and_verify_*2()" functions allow the
> expected exit code to be provided explicitly.
>
> On platforms without the Popen3 Python class (e.g. Windows), exit
> codes are returned as None, and therefore disregarded during
> validation.
[...]

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-03-06 23:30:34 CET

This is an archived mail posted to the Subversion Dev mailing list.