mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Thomas Gummerer <>
Cc: Thomas Gummerer <>
Subject: [PATCH v1 2/2] t/README: document test_cmp_rev
Date: Sun, 26 Nov 2017 20:21:00 +0000	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

test_cmp_rev is a useful function that's used in quite a few test
scripts.  It is however not documented in t/README.  Document it.

Signed-off-by: Thomas Gummerer <>
 t/README | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/t/README b/t/README
index 448569b60e..e867d1f8bd 100644
--- a/t/README
+++ b/t/README
@@ -674,6 +674,11 @@ library for your script to use.
    <expected> file.  This behaves like "cmp" but produces more
    helpful output when the test is run with "-v" option.
+ - test_cmp_rev <expected> <actual>
+   Check whether the <expected> rev points to the same commit as the
+   <actual> rev.
  - test_line_count (= | -lt | -ge | ...) <length> <file>
    Check whether a file has the length it is expected to.

  reply	other threads:[~2017-11-26 20:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-26 20:20 [PATCH v1 1/2] t/README: remove mention of adding copyright notices Thomas Gummerer
2017-11-26 20:21 ` Thomas Gummerer [this message]
2017-12-05 19:46   ` [PATCH v1 2/2] t/README: document test_cmp_rev Jonathan Nieder
2017-12-05 19:49 ` [PATCH v1 1/2] t/README: remove mention of adding copyright notices Jonathan Nieder
2017-12-08 20:47   ` Thomas Gummerer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).