On 3/3/2016 11:45 AM, Ross Berteig wrote:
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.

Ok, so "sudo apg-get install tcllib" seems to have done the trick and
given me a json package that has the API I expected for json.test to
use. With that in place, my build with all the bells and whistles
configured has an unexpected failture in json.test: json-ROrepo-2-1.

This is happening because apparently on Ubuntu accessing
/json/timeline/checkin does not write anything to the repo, even though
it does on Windows. (My notes indicate that should write a temporary
table, and using fossil --sqltrace I can see that CREATE TEMP TABLE IF
NOT EXISTS json_timeline along with INSERT OR IGNORE INTO json_timeline
is done in both platforms.)

Apparently the platforms differ as to whether that required that the
repository itself be writable when the command is run. I tried also
making [pwd] be read only. The fossil command still succeeds.

I think that the whole read-only repository test case needs some
reflection as it appears to not work as I thought it would.

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

Reply via email to