OSDN Git Service

* tests/lha-test13: use `tr' instead of `printf` for printing 8 bit
authorarai <arai@6a8cc165-1e22-0410-a132-eb4e3f353aba>
Sat, 26 Jul 2003 05:32:18 +0000 (05:32 +0000)
committerarai <arai@6a8cc165-1e22-0410-a132-eb4e3f353aba>
Sat, 26 Jul 2003 05:32:18 +0000 (05:32 +0000)
characters.

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@750 6a8cc165-1e22-0410-a132-eb4e3f353aba

tests/lha-test13

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