File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -332,13 +332,10 @@ Writing Tests
332332-------------
333333
334334The test script is written as a shell script. It should start
335- with the standard "#!/bin/sh" with copyright notices , and an
335+ with the standard "#!/bin/sh", and an
336336assignment to variable 'test_description', like this:
337337
338338 #!/bin/sh
339- #
340- # Copyright (c) 2005 Junio C Hamano
341- #
342339
343340 test_description='xxx test (option --frotz)
344341
@@ -677,6 +674,11 @@ library for your script to use.
677674 <expected> file. This behaves like "cmp" but produces more
678675 helpful output when the test is run with "-v" option.
679676
677+ - test_cmp_rev <expected> <actual>
678+
679+ Check whether the <expected> rev points to the same commit as the
680+ <actual> rev.
681+
680682 - test_line_count (= | -lt | -ge | ...) <length> <file>
681683
682684 Check whether a file has the length it is expected to.
You can’t perform that action at this time.
0 commit comments