kfogel@tigris.org writes:
> Date: 2003-02-21 13:32:54 -0600 (Fri, 21 Feb 2003)
> New Revision: 5007
>
> Modified:
> trunk/subversion/clients/cmdline/main.c
> trunk/subversion/include/svn_error_codes.h
> trunk/subversion/tests/clients/cmdline/commit_tests.py
> Log:
> Fix the remainder of issue #1025:
>
> Modified: trunk/subversion/tests/clients/cmdline/commit_tests.py
> ==============================================================================
> --- trunk/subversion/tests/clients/cmdline/commit_tests.py (original)
> +++ trunk/subversion/tests/clients/cmdline/commit_tests.py Fri Feb 21 13:33:06 2003
> @@ -1601,6 +1601,45 @@
> return 0
>
>
> +def commit_with_bad_log_message(sbox):
> + "commit with a log message containing bad data."
> +
> + if sbox.build():
> + return 1
> +
> + wc_dir = sbox.wc_dir
> +
> + # Make a random change, so there's something to commit.
> + svntest.main.file_append(os.path.join(wc_dir, 'iota'), 'fish')
> +
> + # Create a log message containing bad (but non-zero) data.
> + log_msg_path = os.path.join(wc_dir, 'log-message')
> + svntest.main.file_append(log_msg_path, '\x08')
> +
> + # Commit, expect an error.
> + if svntest.actions.run_and_verify_commit(wc_dir,
> + None, None,
> + "Non-ascii character",
> + None, None,
> + None, None,
> + '-F', log_msg_path):
> + return 1
CMD: svn "ci" "-m" "log msg" "-F" "working_copies/commit_tests-28/log-message" <TIME = 0.003052>
FAIL: commit_tests.py 28: commit with a log message containing bad data.
The test runs "svn commit" with both -m and -F but without an explict
target.
--
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Feb 22 00:09:45 2003