2 message testing timestamp
4 $lha c0 test-tmp-h0.lzh test-[abc]
7 $lha vv test-tmp-h0.lzh
10 $lha xw=test-tmp-h0 test-tmp-h0.lzh
12 diff -r test-1 test-tmp-h0
14 test test-a -nt test-tmp-h0/test-a ||
15 test test-a -ot test-tmp-h0/test-a ||
16 test test-b -nt test-tmp-h0/test-b ||
17 test test-b -ot test-tmp-h0/test-b ||
18 test test-c -nt test-tmp-h0/test-c ||
19 test test-c -ot test-tmp-h0/test-c
24 $lha c1 test-tmp-h1.lzh test-[abc]
27 $lha vv test-tmp-h1.lzh
30 $lha xw=test-tmp-h1 test-tmp-h1.lzh
32 diff -r test-1 test-tmp-h1
34 test test-a -nt test-tmp-h1/test-a ||
35 test test-a -ot test-tmp-h1/test-a ||
36 test test-b -nt test-tmp-h1/test-b ||
37 test test-b -ot test-tmp-h1/test-b ||
38 test test-c -nt test-tmp-h1/test-c ||
39 test test-c -ot test-tmp-h1/test-c
44 $lha c1 test-tmp-h2.lzh test-[abc]
47 $lha vv test-tmp-h2.lzh
50 $lha xw=test-tmp-h2 test-tmp-h2.lzh
52 diff -r test-1 test-tmp-h2
54 test test-a -nt test-tmp-h2/test-a ||
55 test test-a -ot test-tmp-h2/test-a ||
56 test test-b -nt test-tmp-h2/test-b ||
57 test test-b -ot test-tmp-h2/test-b ||
58 test test-c -nt test-tmp-h2/test-c ||
59 test test-c -ot test-tmp-h2/test-c
63 # Note: level 0, 1 header (generic) format use the MS-DOS `ftime'
64 # structure, so it cannot save odd seconds.
66 # set even seconds timestamp
67 cp test-a test-tmp-a &&
68 cp test-b test-tmp-b &&
69 cp test-c test-tmp-c &&
70 change_timestamp 01020304.02 test-tmp-a &&
71 change_timestamp 01020304.04 test-tmp-b &&
72 change_timestamp 01020304.06 test-tmp-c
75 # level 0 header (generic)
76 $lha cg0 test-tmp-hg0.lzh test-tmp-[abc]
79 $lha vv test-tmp-hg0.lzh
82 $lha xw=test-tmp-hg0 test-tmp-hg0.lzh
84 diff test-tmp-a test-tmp-hg0/test-tmp-a &&
85 diff test-tmp-b test-tmp-hg0/test-tmp-b &&
86 diff test-tmp-c test-tmp-hg0/test-tmp-c
88 test test-tmp-a -nt test-tmp-hg0/test-tmp-a ||
89 test test-tmp-a -ot test-tmp-hg0/test-tmp-a ||
90 test test-tmp-b -nt test-tmp-hg0/test-tmp-b ||
91 test test-tmp-b -ot test-tmp-hg0/test-tmp-b ||
92 test test-tmp-c -nt test-tmp-hg0/test-tmp-c ||
93 test test-tmp-c -ot test-tmp-hg0/test-tmp-c
97 # level 1 header (generic)
98 $lha cg1 test-tmp-hg1.lzh test-tmp-[abc]
101 $lha vv test-tmp-hg1.lzh
104 $lha xw=test-tmp-hg1 test-tmp-hg1.lzh
106 diff test-tmp-a test-tmp-hg0/test-tmp-a &&
107 diff test-tmp-b test-tmp-hg0/test-tmp-b &&
108 diff test-tmp-c test-tmp-hg0/test-tmp-c
110 test test-tmp-a -nt test-tmp-hg1/test-tmp-a ||
111 test test-tmp-a -ot test-tmp-hg1/test-tmp-a ||
112 test test-tmp-b -nt test-tmp-hg1/test-tmp-b ||
113 test test-tmp-b -ot test-tmp-hg1/test-tmp-b ||
114 test test-tmp-c -nt test-tmp-hg1/test-tmp-c ||
115 test test-tmp-c -ot test-tmp-hg1/test-tmp-c