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

Question about comment added to trans_test.py by dlr in r18242

From: Stefan Sperling <stsp_at_elego.de>
Date: Sat, 27 Dec 2008 18:00:53 +0100

Hi folks,

I got a report of a test failure in 1.5.5, trans_test.py, test 1:

 CMD: svnadmin dump "svn-test-work/local_tmp/repos" | svnadmin load
 "svn-test-work/repositories/trans_tests-1" --ignore-uuid <TIME = 0.061667>
 Traceback (most recent call last):
 svntest/main.py", line 1081, in run
     rc = apply(self.pred.run, (), kw)
 svntest/testcase.py", line 121, in run
     return self.func(sandbox)
 trans_tests.py", line 198, in keywords_from_birth
 svntest/main.py", line 936, in build
     if actions.make_repo_and_wc(self, create_wc, read_only):
 svntest/actions.py", line 1230, in make_repo_and_wc
 svntest/actions.py", line 112, in guarantee_greek_repository
     if main.copy_repos(main.pristine_dir, path, 1):
 svntest/main.py", line 655, in copy_repos
     load_in.close() # Tell load we are done
 IOError: [Errno 32] Broken pipe
 FAIL: trans_tests.py 1: commit new files with keywords active from birth
Apparently, the test fails this way on OpenBSD/amd64.
It works for me on OpenBSD/i386.

There's an interesting comment above that test, which was
added in r18242:

 $ svn diff -c18242 subversion/tests/cmdline/trans_tests.py
 Index: subversion/tests/cmdline/trans_tests.py
 --- subversion/tests/cmdline/trans_tests.py (revision 18241)
 +++ subversion/tests/cmdline/trans_tests.py (revision 18242)
 @@ -185,6 +185,9 @@
 +### This test is know to fail when Subversion is built in very deep
 +### directory structures, caused by SVN_KEYWORD_MAX_LEN being defined
 +### as 255.
  def keywords_from_birth(sbox):
    "commit new files with keywords active from birth"

Unfortunately, the comment does not explain what kind of
failure is to be expected. Is the reported error related
to this comment or not?

Does anyone have more information?
The log message does not help, either:

 $ svn log -r18242 subversion/tests/cmdline/trans_tests.py
 r18242 | dlr | 2006-01-26 01:44:05 +0100 (Thu, 26 Jan 2006) | 4 lines
 * subversion/tests/cmdline/trans_tests.py
   (trans_tests.py): Add a note about a known failure case for this
    test, triggered by SVN_KEYWORD_MAX_LEN being defined as 255.


Received on 2008-12-27 18:01:28 CET

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.