git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@248
6a8cc165-1e22-0410-a132-
eb4e3f353aba
+# -*- shell-script -*-
message testing to lh0, lh1, lh5, lh6 and lh7 method archive.
$lha cz test-tmp-m0.lzh test-a test-b test-c
check $?
+# -*- shell-script -*-
message testing to generic format archive.
$lha czg test-tmp-m0g.lzh test-a test-b test-c
check $?
+# -*- shell-script -*-
message testing to delete files from archive.
cp test-1.lzh test-tmp.lzh
+# -*- shell-script -*-
message testing to treat stdin/stdout as archive file.
$lha c - test-a test-b test-c > test-tmp.lzh
+# -*- shell-script -*-
message testing to treat stdin/stdout as file list.
message Warning: On MinGW, these tests will fail for now.
cat <<EOF | $lha c test-tmp.lzh
+# -*- shell-script -*-
message testing to add/update files to archive.
$lha a test-tmp.lzh test-c
check $?
+# -*- shell-script -*-
message testing timestamp
$lha c test-tmp.lzh test-[abc]
check $?