X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=test%2Fcommon.sh;h=b869d56dfed711f55fa77e1ddc7c68c3d14e44e0;hb=fcaf3752d024fd5ce98f5fbd5604c53444c0a4cf;hp=1a677335b586eca66a1f9bb2e4768144a0fb9700;hpb=17de69d5b6a8082a86d08f7617718e38c27205e0;p=mmh diff --git a/test/common.sh b/test/common.sh index 1a67733..b869d56 100644 --- a/test/common.sh +++ b/test/common.sh @@ -80,6 +80,12 @@ progress_done() } +#### Replace generated Content-ID headers with static value +replace_contentid() +{ + sed "/^Content-ID/s/:.*/: /" "$@" +} + #### Filter that squeezes blank lines, partially emulating GNU cat -s, #### but sufficient for our purpose.