about summary refs log tree commit diff
path: root/t
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2017-03-30 16:44:00 +0200
committerLeah Neukirchen <leah@vuxu.org>2017-03-30 16:44:00 +0200
commit4088f9f70bce8ef8c67fcc05f6a63b1a8dff99bd (patch)
treea1580d22adc64ffdc65f84488f2ae9882b6237fb /t
parent2c1ecbe4a678963e6b1619e1703748ec116a8fcd (diff)
downloadmblaze-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-xt/1000-mmime.t2
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'