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