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

Re: Recent binding test failures

From: Kouhei Sutou <kou_at_cozmixng.org>
Date: 2006-02-08 16:34:58 CET

Hi Peter,

In <Pine.LNX.4.55.0602070923570.1900@localhost.localdomain>
  "Recent binding test failures (was: Re: swig-rb trunk r18363: FAIL (x86_64-unknown-linux-gnu shared))" on Tue, 7 Feb 2006 09:27:31 +0100 (CET),
  "Peter N. Lundblad" <peter@famlundblad.se> wrote:

> failure reports for all bindings tests on trunk from Jani. The Ruby tests
> seem to fail in some move_force test, which makes me suspicious about a
> recent commit of mine. But I know too little about the bindings to start
> digging and the other failure mails seem more serious.

The revision is r18320, isn't it?

I don't know the problem, but I can explain what the test
do with pseudo code:

  path1 = "sample1.txt";
  path2 = "sample2.txt";

  ctx = svn_client_create_context();
  file1 = open(path1);
  write(file1, "source1\n");
  svn_client_add(ctx, path1);

  file1 = open(path1);
  write(file1, "source2\n");

  assert(svn_client_move(ctx, path1, path2) == SVN_ERR_CLIENT_MODIFIED);

  assert(svn_client_move_force(ctx, path1, path2) == 0);
  ctx->notify_func = collect_notify_path_function;

  assert(collected_notify_paths == [path1, path2]);
  # but
  # collected_notify_paths == [path1, path2, full_path_of_path2]

Is this helps you?


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Feb 8 16:37:29 2006

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.