OSDN Git Service

* tests/lha-test5: added tests using pipe.
[lha/lha.git] / tests / lha-test5
1 # -*- shell-script -*-
2 message testing to treat stdin/stdout as archive file.
3
4 $lha c - test-a test-b test-c > test-tmp.lzh
5                                                         check $? $LINENO
6 cat test-tmp.lzh | $lha xw=test-tmp -
7                                                         check $? $LINENO
8 diff -r test-1 test-tmp
9                                                         check $? $LINENO
10 # output to pipe
11 $lha c - test-a test-b test-c | $lha xw=test-tmp2 -
12                                                         check $? $LINENO
13 diff -r test-1 test-tmp2
14                                                         check $? $LINENO