OSDN Git Service

* tests/lha-test.in (lha-test14): added to test the symbolic link file.
[lha/lha.git] / tests / lha-test5
index 490cb30..e595522 100644 (file)
@@ -1,8 +1,15 @@
+# -*- shell-script -*-
+FILENAME=lha-test5
 message testing to treat stdin/stdout as archive file.
 
 $lha c - test-a test-b test-c > test-tmp.lzh
-                                                       check $?
+                                                       check $? $LINENO
 cat test-tmp.lzh | $lha xw=test-tmp -
-                                                       check $?
+                                                       check $? $LINENO
 diff -r test-1 test-tmp
-                                                       check $?
+                                                       check $? $LINENO
+# output to pipe
+$lha c - test-a test-b test-c | $lha xw=test-tmp2 -
+                                                       check $? $LINENO
+diff -r test-1 test-tmp2
+                                                       check $? $LINENO