On 3/3/2016 10:53 AM, Joe Mistachkin wrote:

Ross Berteig wrote:

My Ubuntu VM saw this exact message. I was running tester.tcl in a
testing folder that is neither the build nor source tree.


My guess is that you had a pre-existing checkout recorded for that
directory.  Please "fossil all ignore" on that checkout manually
and then try again.

$ fossil all ls
/home/ross/fossiltest/f.fossil
$ fossil all ls -c
/home/ross/fossiltest/work
$ pwd
/tmp/ftst
$ tclsh ~/fossiltest/work/test/tester.tcl ~/fossiltest/build/fossil
...
already within an open tree rooted at /home/ross/fossiltest/work/
...

I looked more closely at test_setup, and especially near its line 17 as hinted in the stack backtrace. That is where the new repo is opened. I printed [pwd] just before that line, and found that it was /home/fossiltest/work/test/repo_11880/1457033017_1/amend.test which clearly *is* inside the open checkout. Why is $tempRepoPath in the wrong place?

The problem is that I don't have TEMP set at all on Ubuntu. Setting TEMP before running the test harness makes a difference, and tester.tcl runs.

Running against a vanilla build of fossil, it completes and finds only known bugs.

Running against a build configured with all the bells and whistles, especially --json, it blew up. Looks like it couldn't "package require json" which likely means that I last ran tests on this VM before I built the JSON tests and I need to figure out how to get the json package into its installed Tcl.

I imagine that defining TEMP is the same issue Andy has.

--
Ross Berteig                               r...@cheshireeng.com
Cheshire Engineering Corp.           http://www.CheshireEng.com/
+1 626 303 1602
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to