]> diplodocus.org Git - nmh/blobdiff - test/dist/test-dist
Remove sbr/peekc.c containing unused peekc().
[nmh] / test / dist / test-dist
index 5c10b17e2564139517ca7c9511642db6f9e3c8a3..fa00b4b38dd3a3a3034c7eec14500b694ce7e51e 100755 (executable)
@@ -71,7 +71,8 @@ Usage: dist [+folder] [msg] [switches]
   -[no]atfile
 EOF
 
-dist -help >"$actual" 2>&1
+#### Skip nmh intro text.
+dist -help | sed '/^$/,$d' >"$actual" 2>&1
 check "$expected" "$actual"
 
 # check -version
@@ -388,8 +389,7 @@ run_test 'scan +outbox -width 6 2' '   2  '
 # Check that dist encodes headers using RFC-2047 properly
 #
 
-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
 
 cat >"$expected" <<EOF
 From: Test1 <test1@example.com>