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

davcheck tests on release-0.28.0 branch

From: plasma <plasmaball_at_pchome.com.tw>
Date: 2003-08-27 09:17:10 CEST

Hi Paul,

  After struggling with libtool, I finally got it compiled. I did
'make check' without fails. 'make davcheck' has one fail on
switch_test.py:

  FAIL: switch_tests.py 8: switch --relocate with deleted and missing entries

I found the report is:

  UNEXPECTED EXCEPTION:
  Traceback (most recent call last):
    File "/home/plasma/tmp/subversion-0.28.0/subversion/tests/clients/cmdline/svnt
  est/testcase.py", line 98, in run
      rc = apply(self.pred.func, args)
    File "./switch_tests.py", line 546, in relocate_deleted_and_missing
      svntest.main.safe_rmtree(repo_dir)
    File "/home/plasma/tmp/subversion-0.28.0/subversion/tests/clients/cmdline/svntest/main.py", line 293, in safe_rmtree
      chmod_tree(dirname, 0666, 0666)
    File "/home/plasma/tmp/subversion-0.28.0/subversion/tests/clients/cmdline/svntest/main.py", line 286, in chmod_tree
      os.path.walk(path, visit, (mode, mask))
    File "/usr/local/lib/python2.3/posixpath.py", line 290, in walk
      walk(name, func, arg)
    File "/usr/local/lib/python2.3/posixpath.py", line 282, in walk
      func(arg, top, names)
    File "/home/plasma/tmp/subversion-0.28.0/subversion/tests/clients/cmdline/svntest/main.py", line 285, in visit
      os.chmod(fullname, new_mode)
  OSError: [Errno 1] Operation not permitted: 'repositories/switch_tests-8/dav/activities.dir'
  FAIL: switch_tests.py 8: switch --relocate with deleted and missing entries

But I didn't see the permission has any problem:

  -rw-rw-r-- 1 www plasma 0 Aug 27 15:02 activities.dir

Anyway, the test passed if I ran it as root. I think the
release-0.28.0 branch is ok.

BTW, you said 'subversion/tests/clients/cmdline/local_tmp' doesn't
exist in your tree. Yes, that's true. The test suite will create it,
just follow what README says.

plasma

==========================================================
 ½u¤Wªº²Ä¤@¦¸¥æµ¹¦o§a
 http://edm-prg.epaper.com.tw/click.php?ad_code=20424
==========================================================
 PChome½u¤WÁʪ«¶g¦~¼y¡G©â¨T¨®¡BDV¤Ñ¤Ñ°e
 http://shopping.pchome.com.tw/
==========================================================

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Aug 27 09:19:07 2003

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.