OSDN Git Service

* tests/lha-test.in, tests/lha-test2, tests/lha-test3, tests/lha-test4, tests/lha...
[lha/lha.git] / tests / lha-test6
1 # -*- shell-script -*-
2 FILENAME=lha-test6
3 message testing to treat stdin/stdout as file list.
4 message Warning: On MinGW, these tests will fail for now.
5 cat <<EOF | $lha c test-tmp.lzh
6 test-a
7 test-b
8 test-c
9 EOF
10                                                         check $? $LINENO
11 echo test-b | $lha xw=test-tmp test-tmp.lzh
12                                                         check $? $LINENO
13 test ! -f test-tmp/test-a &&
14 test ! -f test-tmp/test-c &&
15 diff test-b test-tmp/test-b
16                                                         check $? $LINENO