diff options
author | Leah Neukirchen <leah@vuxu.org> | 2017-03-30 16:44:00 +0200 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2017-03-30 16:44:00 +0200 |
commit | 4088f9f70bce8ef8c67fcc05f6a63b1a8dff99bd (patch) | |
tree | a1580d22adc64ffdc65f84488f2ae9882b6237fb /t | |
parent | 2c1ecbe4a678963e6b1619e1703748ec116a8fcd (diff) | |
download | mblaze-4088f9f70bce8ef8c67fcc05f6a63b1a8dff99bd.tar.gz mblaze-4088f9f70bce8ef8c67fcc05f6a63b1a8dff99bd.tar.xz mblaze-4088f9f70bce8ef8c67fcc05f6a63b1a8dff99bd.zip |
t/1000-mmime.t: wc -L is a gnuism
Diffstat (limited to 't')
-rwxr-xr-x | t/1000-mmime.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/1000-mmime.t b/t/1000-mmime.t index a8be968..448fa5e 100755 --- a/t/1000-mmime.t +++ b/t/1000-mmime.t @@ -12,6 +12,6 @@ EOF # https://github.com/chneukirchen/mblaze/issues/20 check 'mime -r runs' 'mmime -r <tmp >tmp2' -check 'no overlong lines' '[ $(wc -L <tmp2) -lt 80 ]' +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' |