X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/4d6cfbb1c9b425cb693e5189a19e132c67f5494a..e1478073a486f07aa346772de0d48bec3a29536b:/test/common.sh.in diff --git a/test/common.sh.in b/test/common.sh.in index fb24d74a..1162566f 100644 --- a/test/common.sh.in +++ b/test/common.sh.in @@ -21,7 +21,11 @@ export MH_INST_DIR output_md5() { - @MD5SUM@ $* | @MD5FMT@ + #### Output just the checksum. If the filename needs to appear on + #### the same line, the caller needs to add it. This avoids + #### differences due to a leading '*' binary file indicator, for + #### text files, on some platforms (Cygwin). + @MD5SUM@ $* | @MD5FMT@ | cut -d ' ' -f 1 } test_skip () @@ -131,13 +135,16 @@ setup_test () cat > $MH <