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

Re: svn commit: r26896 - in trunk/subversion: svn tests/cmdline tests/cmdline/log_tests_data

From: Lieven Govaerts <svnlgo_at_mobsol.be>
Date: 2007-10-03 19:10:57 CEST

Karl,

this commit breaks the testsuite on Mac. It's difficult to see through
all other Mac buildbot failures, but in the output of build 3070 you can
see that log_tests.py 25 is failing:

http://www.mobsol.be/buildbot/x86-macosx-gnu%20shared/builds/3070/step-Test%20fsfs%2Bra_neon/0

This is the extract of the test failure:

EXCEPTION: Failure:
  {'svn:date': '',
- 'svn:log': 'After the colon are a space, 3 bad chars, 3 good chars, and a period: ?\\021?\\022?\\017\t\n\r.'}
? ^

+ 'svn:log': u'After the colon are a space, 3 bad chars, 3 good chars, and a period: ?\\021?\\022?\\017\t\n\n.'}
? + ^

Traceback (most recent call last):
  File "/Users/lgo/slavedir/osx10.4-gcc4.0.1-ia32/build/subversion/tests/cmdline/svntest/main.py", line 924, in run
    rc = apply(self.pred.run, (), kw)
  File "/Users/lgo/slavedir/osx10.4-gcc4.0.1-ia32/build/subversion/tests/cmdline/svntest/testcase.py", line 121, in run
    return self.func(sandbox)
  File "/Users/lgo/slavedir/osx10.4-gcc4.0.1-ia32/build/subversion/tests/cmdline/log_tests.py", line 1302, in log_xml_with_bad_data
    svntest.actions.run_and_verify_log_xml(
  File "/Users/lgo/slavedir/osx10.4-gcc4.0.1-ia32/build/subversion/tests/cmdline/svntest/actions.py", line 451, in run_and_verify_log_xml
    entry.assert_revprops(expected_revprops[index])
  File "/Users/lgo/slavedir/osx10.4-gcc4.0.1-ia32/build/subversion/tests/cmdline/svntest/actions.py", line 336, in assert_revprops
    pprint.pformat(self.revprops).splitlines())))
Failure:
  {'svn:date': '',
- 'svn:log': 'After the colon are a space, 3 bad chars, 3 good chars, and a period: ?\\021?\\022?\\017\t\n\r.'}
? ^

+ 'svn:log': u'After the colon are a space, 3 bad chars, 3 good chars, and a period: ?\\021?\\022?\\017\t\n\n.'}
? + ^

FAIL: log_tests.py 25: log --xml escapes non-utf8 data (issue #2866)
END: log_tests.py

Lieven

kfogel@tigris.org wrote:
> Author: kfogel
> Date: Tue Oct 2 13:30:06 2007
> New Revision: 26896
>
> Log:
> Fix issue #2866: log --xml should escape characters that are invalid in XML.
>
> * subversion/svn/log-cmd.c
> (log_entry_receiver_xml): Do the needful.
>
> * subversion/tests/cmdline/log_tests.py
> (log_xml_with_bad_data): New test. Thanks to epg for help writing it.
> (test_list): Run it.
>
> * subversion/tests/cmdline/log_tests_data/xml-invalid-chars.dump:
> New directory, new file.
>
>
..

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Oct 3 19:09:01 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.