OSDN Git Service

* tests/lha-test13: should set LANG=C for `tr'.
authorarai <arai@6a8cc165-1e22-0410-a132-eb4e3f353aba>
Tue, 29 Jul 2003 12:15:43 +0000 (12:15 +0000)
committerarai <arai@6a8cc165-1e22-0410-a132-eb4e3f353aba>
Tue, 29 Jul 2003 12:15:43 +0000 (12:15 +0000)
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@764 6a8cc165-1e22-0410-a132-eb4e3f353aba

tests/lha-test13

index 9bfea59..a3cf4a4 100644 (file)
@@ -2,10 +2,10 @@
 message testing the kanji code conversion.
 
 # printf '\xb4\xc1\xbb\xfa\n' > test-tmp-euc
-echo abcd | tr abcd '\264\301\273\372'  > test-tmp-euc
+echo abcd | LANG=C tr abcd '\264\301\273\372'  > test-tmp-euc
                                                        check $? $LINENO
 # printf '\x8a\xbf\x8e\x9a\n' > test-tmp-sjis
-echo abcd | tr abcd '\212\277\216\232'  > test-tmp-sjis
+echo abcd | LANG=C tr abcd '\212\277\216\232'  > test-tmp-sjis
                                                        check $? $LINENO
 # no convert
 $lha c test-tmp-euc.lzh test-tmp-euc