]> diplodocus.org Git - nmh/blobdiff - test/mhical/test-mhical
netsec_set_tls(): Return a value in the !TLS_SUPPORT && !tls case.
[nmh] / test / mhical / test-mhical
index fb8025084d23d1ee5aa5b947cfa310e231d86909..c8b092078cfba4bc3a4d23c6bf6226f180ff594e 100755 (executable)
@@ -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"