X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=test%2Fcommon.sh;h=b869d56dfed711f55fa77e1ddc7c68c3d14e44e0;hp=1a677335b586eca66a1f9bb2e4768144a0fb9700;hb=9deab9cb456aa52ea9857663304f322b5c6be72d;hpb=410e6cccd38f176e9df34e5565d04f6f96c7e815 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.