On 1/12/2016 8:28 PM, Andy Bradford wrote:
Thus said Ross Berteig on Tue, 12 Jan 2016 15:53:08 -0800:
* amend-comment-5.1
* amend-comment-5.2
* amend-comment-5.3
* amend-comment-5.4
These are due to "ed" missing in your environment. Is there a
similar tool that exists for Windows that could be used to automate
``interactive'' edits to a file? This exercises Fossil's ability to fork
a process defined in the EDITOR variable that edits a file, and then
save the result as a comment on a commit.
Aha. That makes sense, while I've got lots of random classic Unix tools
laying around on my Windows PC (usually via builds from GnuWin32) it
looks like I have sed but not ed. One easy answer for me is likely to
just go get a ported ed and try that, which will probably just work.
Possibly a better answer would be to replace the use of ed with
something private to the test suite and eliminate a dependency on an
external tool. If EDITOR can contain a complex command line, which it
should since "ed -s" is allowed, perhaps a portable way out is to set
EDITOR to "tclsh edlike.tcl" and provide just enough functionality there
for the tests, which could be tweaked to suit.
--
Ross Berteig [email protected]
Cheshire Engineering Corp. http://www.CheshireEng.com/
+1 626 303 1602
_______________________________________________
fossil-dev mailing list
[email protected]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/fossil-dev