]> diplodocus.org Git - nmh/commitdiff
Separate export from assignment in test-dist and test-attach.
authorDavid Levine <levinedl@acm.org>
Fri, 24 Jan 2014 01:58:41 +0000 (19:58 -0600)
committerDavid Levine <levinedl@acm.org>
Fri, 24 Jan 2014 01:58:41 +0000 (19:58 -0600)
test/dist/test-dist
test/mhbuild/test-attach

index 19ba6406f9ab5ade8404df5648eaf599b7fd9206..c082b5e349c16887c18720a0bac8163aef9a739b 100755 (executable)
@@ -388,7 +388,7 @@ run_test 'scan +outbox -width 6 2' '   2 '
 # Check that dist encodes headers using RFC-2047 properly
 #
 
-export LC_ALL=en_US.UTF-8
+LC_ALL=en_US.UTF-8; export LC_ALL
 
 cat >"$expected" <<EOF
 From: Test1 <test1@example.com>
index c18f8b3a240e1e8a0bee06961c22ffc022df2a30..9f6526981a13ab7d25d74a15dccd63f1d7dbb56f 100755 (executable)
@@ -14,7 +14,7 @@ fi
 
 setup_test
 
-export LC_ALL=en_US.UTF-8
+LC_ALL=en_US.UTF-8; export LC_ALL
 
 draft="$MH_TEST_DIR/$$.draft"
 expected="$MH_TEST_DIR/$$.expected"