X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=test%2Fcommon.sh.in;h=1162566ffb27a136361106f926fad4b13f80b1e5;hb=b2fb9dfa039340fb4776e36cb381d02fffacd608;hp=fb24d74a8b5e906540246e942edb7d1510f39c23;hpb=4d6cfbb1c9b425cb693e5189a19e132c67f5494a;p=mmh diff --git a/test/common.sh.in b/test/common.sh.in index fb24d74..1162566 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 <