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

RE: 1.7.0-rc1 up for testing / signing

From: Bert Huijben <bert_at_qqmail.nl>
Date: Mon, 22 Aug 2011 17:44:37 +0200

                Hi,

 

I can reproduce that our testsuite produces some commands with ‘//’ instead of ‘/’ when I pass ‘-u svn://localhost/’ instead of ‘–u svn://localhost’, but this doesn’t break the cat tests for me, as further commands seem to use the canonical url.

 

My normal test line for testing svnserve is:

win-tests.py -p -d -f fsfs -u svn://localhost -c R: \Svn-2010\tests

 

                Bert

 

From: Ivan Zhakov [mailto:ivan_at_visualsvn.com]
Sent: maandag 22 augustus 2011 17:34
To: Hyrum K Wright
Cc: Subversion Development
Subject: Re: 1.7.0-rc1 up for testing / signing

 

On Fri, Aug 19, 2011 at 22:24, Hyrum K Wright <hyrum.wright_at_wandisco.com> wrote:
> Here it is: the first Release Candidate for Subversion 1.7.0. You can
> fetch the proposed tarballs from here:
> http://people.apache.org/~hwright/svn/1.7.0-rc1/
>
> The magic rev is r1159696; please post signatures at the normal location:
> http://work.hyrumwright.org/pub/svn/collect_sigs.py
>
I was testing Subversion 1.7.0-rc1 and got a lot of test failures over svn://. Typical test failure message is:
[[[
CMD: svn.exe cat svn://localhost//svn-test-work/local_tmp/repos/A --config-dir C:\Ivan\server-trunk\Externals\svn-httpd\subversion\Release\subversion\tests\cmdline\svn-test-work\local_tmp\config --password rayjandom --no-auth-cache --username jrandom
CMD: C:\Ivan\server-trunk\Externals\svn-httpd\subversion\Release\subversion\svn\svn.exe cat svn://localhost//svn-test-work/local_tmp/repos/A --config-dir C:\Ivan\server-trunk\Externals\svn-httpd\subversion\Release\subversion\tests\cmdline\svn-test-work\local_tmp\config --password rayjandom --no-auth-cache --username jrandom exited with 1
<TIME = 0.022000>
svn: warning: W195007: URL 'svn://localhost/svn-test-work/local_tmp/repos/A' refers to a directory
svn: E200009: Could not cat all targets because some targets don't exist
EXPECTED STDERR (regexp):
svn: warning: W195007: URL 'svn://localhost//svn-test-work/local_tmp/repos/A' refers to a directory
.*
ACTUAL STDERR:
svn: warning: W195007: URL 'svn://localhost/svn-test-work/local_tmp/repos/A' refers to a directory
svn: E200009: Could not cat all targets because some targets don't exist
CWD: C:\Ivan\server-trunk\Externals\svn-httpd\subversion\Release\subversion\tests\cmdline
EXCEPTION: SVNUnmatchedError
Traceback (most recent call last):
  File "C:\Ivan\server-trunk\Externals\svn-httpd\subversion\subversion\tests\cmdline\svntest\main.py", line 1311, in run
    rc = self.pred.run(sandbox)
  File "C:\Ivan\server-trunk\Externals\svn-httpd\subversion\subversion\tests\cmdline\svntest\testcase.py", line 176, in run
    return self.func(sandbox)
  File "C:\Ivan\server-trunk\Externals\svn-httpd\subversion\subversion\tests\cmdline\cat_tests.py", line 74, in cat_remote_directory
    1, 'cat', A_url)
  File "C:\Ivan\server-trunk\Externals\svn-httpd\subversion\subversion\tests\cmdline\svntest\actions.py", line 307, in run_and_verify_svn2
    verify.verify_outputs(message, out, err, expected_stdout, expected_stderr)
  File "C:\Ivan\server-trunk\Externals\svn-httpd\subversion\subversion\tests\cmdline\svntest\verify.py", line 388, in verify_outputs
    compare_and_display_lines(message, label, expected, actual, raisable)
  File "C:\Ivan\server-trunk\Externals\svn-httpd\subversion\subversion\tests\cmdline\svntest\verify.py", line 361, in compare_and_display_lines
    raise raisable
SVNUnmatchedError
FAIL: cat_tests.py 2: cat a remote directory
]]]

Mention double '/' character in expected error message "svn://localhost//svn-test-work/local_tmp/repos/A". It seems to be some error in our test suite. I'm using Python 2.6.6 on Windows. Is it known problem?

-- 
Ivan Zhakov
Received on 2011-08-22 17:45:05 CEST

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.