]> diplodocus.org Git - nmh/commitdiff
Hm, maybe I can't put environment variable assignments in front of
authorKen Hornstein <kenh@pobox.com>
Thu, 23 Jan 2014 19:24:35 +0000 (14:24 -0500)
committerKen Hornstein <kenh@pobox.com>
Thu, 23 Jan 2014 19:24:35 +0000 (14:24 -0500)
functions?

test/mhbuild/test-attach

index 00fe1900e344957b4cfa8cf485807c19ae48fb4c..c18f8b3a240e1e8a0bee06961c22ffc022df2a30 100755 (executable)
@@ -14,6 +14,8 @@ fi
 
 setup_test
 
+export LC_ALL=en_US.UTF-8
+
 draft="$MH_TEST_DIR/$$.draft"
 expected="$MH_TEST_DIR/$$.expected"
 
@@ -187,7 +189,7 @@ Fcc: +outbox
 Subject: An empty dist test
 EOF
 
-LC_ALL=en_US.UTF-8 run_prog mhbuild -dist "$draft"
+run_prog mhbuild -dist "$draft"
 
 cat > "$expected" <<EOF
 To: =?UTF-8?Q?Se=C3=B1or_Test?= <mrtest@example.com>
@@ -222,7 +224,7 @@ This is some HTML tëxt.
 #end
 EOF
 
-LC_ALL=en_US.UTF-8 run_prog mhbuild "$draft"
+run_prog mhbuild "$draft"
 
 cat > "$expected" <<EOF
 To: Mr Test <mrtest@example.com>