OSDN Git Service

* tests/lha-test.in: added some tests.
authorarai <arai@6a8cc165-1e22-0410-a132-eb4e3f353aba>
Sun, 26 May 2002 14:00:23 +0000 (14:00 +0000)
committerarai <arai@6a8cc165-1e22-0410-a132-eb4e3f353aba>
Sun, 26 May 2002 14:00:23 +0000 (14:00 +0000)
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@115 6a8cc165-1e22-0410-a132-eb4e3f353aba

tests/lha-test.in

index a1e4a10..aef0716 100644 (file)
@@ -144,4 +144,13 @@ test -s test-stderr
 test ! -f test-2.lzh
                                                        check $?
 
+
+message testing to stdin/stdout archive
+
+$lha c - test-a test-b test-c > test-3.lzh
+                                                       check $?
+cat test-3.lzh | $lha xw=test-3 -
+                                                       check $?
+diff -r test-m5 test-3
+                                                       check $?
 exit $result