first byte on level 2 header. adjust header size.
* tests/lha-test10: added tests for level 2 header.
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@377
6a8cc165-1e22-0410-a132-
eb4e3f353aba
check $?
test -f test-tmp3-h2/test-tmp3/$file
check $?
+# the header size is 0x101 instead of 0x100 on level 2 header
+file=test-tmp9012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
+touch $file
+ check $?
+$lha c2 test-tmp4-h2.lzh $file
+ check $?
+$lha vv test-tmp4-h2.lzh
+ check $?
+$lha vv test-tmp4-h2.lzh | grep '\[2\]$'
+ check $?
+$lha xw=test-tmp4 test-tmp4-h2.lzh
+ check $?
+test x"`ls -l test-tmp4-h2.lzh | awk '{print $5}'`" = x258
+ check $?
+test -f test-tmp4/$file
+ check $?