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

Re: Windows tests: FAIL: update_tests.py 38: update --accept automatic conflict resolution

From: Eric Gillespie <epg_at_pretzelnet.org>
Date: 2007-10-05 03:38:31 CEST

"Mark Phippard" <markphip@gmail.com> writes:

> EXPECTED STDERR:
> ACTUAL STDERR:
> Traceback (most recent call last):
> File "C:\svn\src-trunk\subversion\tests\cmdline\svneditor.py", line
> 55, in <module>
> main()
> File "C:\svn\src-trunk\subversion\tests\cmdline\svneditor.py", line
> 31, in main
> f = open(filename)
> IOError: [Errno 2] No such file or directory: "'tempfile.tmp'"
> system('C:\svn\src-trunk\subversion\tests\cmdline\svneditor.py
> 'tempfile.tmp'') returned 1

This is a legitimate failure; svn is passing a bogus file name to
the editor command. Whether this is because it failed to chdir
first or failed to pass an absolute path, I am not sure. My
Windows box is still down, and I have no time besides. Maybe Ben
has an idea?

I can suggest an approach, though. Put 'import pdb;
pdb.set_trace()' at the top of svneditor.py:main and poke around;
find out what the current directory is, and where tempfile.tmp
really is. Or dispense with the debugger and just add some
sys.stderr.write calls to tell you.

> EXCEPTION: SVNLineUnequal
> Traceback (most recent call last):
> File "C:\svn\src-trunk\subversion\tests\cmdline\svntest\main.py",
> line 925, in run
> rc = apply(self.pred.run, (), kw)
> File "C:\svn\src-trunk\subversion\tests\cmdline\svntest\testcase.py",
> line 121, in run
> return self.func(sandbox)
> File "C:\svn\src-trunk\subversion/tests/cmdline/update_tests.py",
> line 3385, in update_accept_conflicts
> pi_path_backup)
> File "C:\svn\src-trunk\subversion\tests\cmdline\svntest\actions.py",
> line 159, in run_and_verify_svn
> verify.verify_outputs(message, out, err, expected_stdout, expected_stderr)
> File "C:\svn\src-trunk\subversion\tests\cmdline\svntest\verify.py",
> line 294, in verify_outputs
> compare_and_display_lines(message, label, expected, actual, raisable)
> File "C:\svn\src-trunk\subversion\tests\cmdline\svntest\verify.py",
> line 273, in compare_and_display_lines
> raise raisable
> SVNLineUnequal
> FAIL: update_tests.py 38: update --accept automatic conflict resolution
> END: update_tests.py
>
>
> --
> Thanks
>
> Mark Phippard
> http://markphip.blogspot.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
>

-- 
Eric Gillespie <*> epg@pretzelnet.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Oct 5 03:38:45 2007

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