diff --git a/t/README b/t/README index 599cd9808c..b3f7b449c3 100644 --- a/t/README +++ b/t/README @@ -332,13 +332,10 @@ Writing Tests ------------- The test script is written as a shell script. It should start -with the standard "#!/bin/sh" with copyright notices, and an +with the standard "#!/bin/sh", and an assignment to variable 'test_description', like this: #!/bin/sh - # - # Copyright (c) 2005 Junio C Hamano - # test_description='xxx test (option --frotz) @@ -677,6 +674,11 @@ library for your script to use. file. This behaves like "cmp" but produces more helpful output when the test is run with "-v" option. + - test_cmp_rev + + Check whether the rev points to the same commit as the + rev. + - test_line_count (= | -lt | -ge | ...) Check whether a file has the length it is expected to.