[PATCH 01 of 14] tests: roll test-committer.t into test-commit.t

Adrian Buehlmann adrian at cadifra.com
Fri Jun 8 13:56:26 CDT 2012


On 2012-06-08 20:46, Adrian Buehlmann wrote:
> Thinking of it, we can easily append a "pwd" at the end of the generated
> script and append a last entry "$TESTTMP" to the expected dict in
> run-tests.py, thus making this totally automatic.

Yet another idea: the test script that's assembled has lines of the form

  echo <salt>

which causes the <salt> string to be in the output.

We could easily *additionally* output `pwd` on those lines there and
then check that it isn't higher than $TESTTMP. Nowhwere.



More information about the Mercurial-devel mailing list