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

[PATCH] start-commit and pre-commit hook tests

From: Martin Furter <mf_at_rola.ch>
Date: 2007-03-28 03:04:47 CEST

Hello

Here are another two tests to complete the (commit) hook tests.

Unfortunately svn outputs lines like the following one:
'subversion/libsvn_client/commit.c:871: (apr_err=165001)\n'

They contain line numbers which can change. I solved that problem by just
cutting them away since only the last two lines of stderr are relevant.

- Martin

[[[
Add tests for failing start-commit and pre-commit hooks.

* subversion/tests/cmdline/commit_tests.py
   (start_commit_hook_test, pre_commit_hook_test): New functions.
   (test_list): Add the new functions.
]]]

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

Received on Wed Mar 28 03:05:11 2007

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.