2 message testing to self extracting archive
4 if test -c /dev/zero; then
5 # Usually, size of SFX code is less than 20K
6 dd if=/dev/zero of=test-tmp-hg.exe bs=1024 count=20 2>/dev/null
9 echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx > test-tmp-hg.exe
12 cp test-tmp-hg.exe test-tmp-h0.exe &&
13 cp test-tmp-hg.exe test-tmp-h1.exe &&
14 cp test-tmp-hg.exe test-tmp-h2.exe
17 $lha cg - test-[abc] >> test-tmp-hg.exe
19 $lha vv test-tmp-hg.exe
21 $lha xw=test-tmp-hg test-tmp-hg.exe
23 diff -r test-1 test-tmp-hg
27 $lha c0 - test-[abc] >> test-tmp-h0.exe
29 $lha vv test-tmp-h0.exe
31 $lha xw=test-tmp-h0 test-tmp-h0.exe
33 diff -r test-1 test-tmp-h0
37 $lha c1 - test-[abc] >> test-tmp-h1.exe
39 $lha vv test-tmp-h1.exe
41 $lha xw=test-tmp-h1 test-tmp-h1.exe
43 diff -r test-1 test-tmp-h1
47 $lha c2 - test-[abc] >> test-tmp-h2.exe
49 $lha vv test-tmp-h2.exe
51 $lha xw=test-tmp-h2 test-tmp-h2.exe
53 diff -r test-1 test-tmp-h2