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

[PATCH] fix svnadmin test on case insensitive filesystems

From: William Uther <will+_at_cs.cmu.edu>
Date: 2002-08-11 07:03:31 CEST

Hi all,

Looks like there are two bugs in the test system. One that someone else
mentioned recently (I think), but which I can't find in the archives:
namely a test can fail and still "PASS". The second is a failing test,
which this patch fixes. The problem is with the test, not svnadmin.


\x/ill :-}

    * svnadmin_tests.py
      (dump_move_dir_modify_child): Modify the test to not require a
                                    case-insensitive file system.

Index: ./subversion/tests/clients/cmdline/svnadmin_tests.py
--- ./subversion/tests/clients/cmdline/svnadmin_tests.py
+++ ./subversion/tests/clients/cmdline/svnadmin_tests.py Sun Aug
11 00:54:07 2002
@@ -321,9 +321,9 @@
    repo_dir = sbox.repo_dir

    B_path = os.path.join(wc_dir, 'A', 'B')
- b_path = os.path.join(wc_dir, 'A', 'b')
- svntest.main.run_svn(None, 'cp', B_path, b_path)
- svntest.main.file_append(os.path.join(b_path, 'lambda'), 'hello')
+ C_path = os.path.join(wc_dir, 'A', 'C')
+ svntest.main.run_svn(None, 'cp', B_path, C_path)
+ svntest.main.file_append(os.path.join(C_path, 'lambda'), 'hello')
    svntest.main.run_svn(None, 'ci', wc_dir, '--quiet', '-m', 'log msg')

    output_lines, errput_lines = svntest.main.run_svnadmin("dump",

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Aug 11 07:04:13 2002

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.