mirror of
https://github.com/leahneukirchen/mblaze
synced 2024-11-11 13:10:32 +00:00
18 lines
463 B
Bash
Executable File
18 lines
463 B
Bash
Executable File
#!/bin/sh -e
|
|
cd ${0%/*}
|
|
. ./lib.sh
|
|
plan 4
|
|
|
|
cat <<EOF >tmp
|
|
References: <aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa@a> <bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb@b> <ccccccccccccccccccccccccccccccc@c>
|
|
|
|
Body
|
|
EOF
|
|
|
|
# https://github.com/chneukirchen/mblaze/issues/20
|
|
|
|
check 'mime -r runs' 'mmime -r <tmp >tmp2'
|
|
check 'no overlong lines' 'awk "{if(length(\$0)>=80)exit 1}" <tmp2'
|
|
check 'no QP when unecessary' ! grep -qF "=?" tmp2
|
|
check 'no further mime necessary' 'mmime -c <tmp2'
|