X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2FREADME;h=f208cf1db972d580d977c356bb589cf6147247a7;hb=74b11bc3beca489502d0840e4c558a5fcc44e145;hp=8f12d48fe8b4ffe4a4b37dcd16ce58e50837433f;hpb=1500f7bc1366e71edb7e8a31f3cf5614e9591cc2;p=git.git diff --git a/t/README b/t/README index 8f12d48fe..f208cf1db 100644 --- a/t/README +++ b/t/README @@ -212,6 +212,24 @@ library for your script to use. is to summarize successes and failures in the test script and exit with an appropriate error code. + - test_tick + + Make commit and tag names consistent by setting the author and + committer times to defined stated. Subsequent calls will + advance the times by a fixed amount. + + - test_commit [ []] + + Creates a commit with the given message, committing the given + file with the given contents (default for both is to reuse the + message string), and adds a tag (again reusing the message + string as name). Calls test_tick to make the SHA-1s + reproducible. + + - test_merge + + Merges the given rev using the given message. Like test_commit, + creates a tag and calls test_tick before committing. Tips for Writing Tests ----------------------