Skip to content

Commit d22512e

Browse files
committed
Merge branch 'tg/t-readme-updates'
Developer doc updates. * tg/t-readme-updates: t/README: document test_cmp_rev t/README: remove mention of adding copyright notices
2 parents 41a05ee + 5a05262 commit d22512e

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

t/README

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -332,13 +332,10 @@ Writing Tests
332332
-------------
333333

334334
The 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
336336
assignment 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.

0 commit comments

Comments
 (0)