Commit Briefs

Thomas Adam

consistently use ten Xs in mkstemp(3) templates

patch from Josiah Frentsos, thanks!


Thomas Adam

tog regress: zap needless defines and use "vt220" TERM

Also, overwrite - and | unconditionally when capturing screen dumps, and unset TOG_COLORS and TOG_DIFF_ALGORITHM in regress setup. All tweaks suggested by naddy@ ok stsp@


Thomas Adam

tog: rename regress test script envvar

As per stsp's idea: use a more descriptive name, and use the TOG_TEST_SCRIPT envvar both in tog.c and the test scripts. ok stsp@


Thomas Adam

tog: basic diff view test and fix hardcoded script path

ok stsp@


Thomas Adam

tog: implement automated test harness

Add framework for scripting tog tests by capturing screen dumps to compare with expected output. Includes some preliminary log view tests but lots more tests are needed to cover diff, blame, tree, ref, and help views. ok stsp@