Ross Berteig wrote:
>
> At this point I have ask whether the test cases in test/file1.test or 
> the code in src/file.c are correct?
> 

The tests assumed they were running from the Fossil source checkout.  The
"file1" and "th1" test files have now been fixed to no longer assume that;
however, certain tests in the "th1" test file need to still assume (rightly)
that the Fossil source checkout is available (via the directory containing
the "tester.tcl" file).

Those tests (and only those tests), save the current directory, change the
current directory to be within the Fossil source checkout, run the Fossil
command being tested, and then restore the current directory.  The new test
code that does this can be seen on trunk.

Thanks for helping us improve this stuff.

--
Joe Mistachkin

_______________________________________________
fossil-dev mailing list
fossil-dev@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/fossil-dev

Reply via email to