X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/012d05c2b62332eb400d66b806e48216d39358c6..ef1ba39e8dae81091b6c3e73e72825ef6edea3c6:/test/mhical/test-mhical diff --git a/test/mhical/test-mhical b/test/mhical/test-mhical index fb802508..c8b09207 100755 --- a/test/mhical/test-mhical +++ b/test/mhical/test-mhical @@ -17,8 +17,7 @@ fi setup_test #### Make sure that html-to-text conversion is what we expect. -require_locale en_US.utf-8 en_US.utf8 -LC_ALL=en_US.UTF-8; export LC_ALL +require_locale en_US.UTF-8 en_US.UTF8 en_US.utf-8 en_US.utf8 #### Disable colorized output. TERM=dumb; export TERM @@ -46,7 +45,8 @@ Usage: mhical [switches] -help EOF -run_prog mhical -help >"$actual" 2>&1 +#### Skip nmh intro text. +run_prog mhical -help | sed '/^$/,$d' >"$actual" 2>&1 check "$expected" "$actual"