| 1 |
#! /bin/sh |
| 2 |
function check_version { |
| 3 |
md5sum mbr-$1.b >test-y |
| 4 |
echo "$2 mbr-$1.b" >test-x |
| 5 |
diff -u test-x test-y |
| 6 |
do_install -Imbr-$1.b -t 14 -is -e31 -d 0xd7 test-mbr |
| 7 |
do_install -l test-mbr >test-x |
| 8 |
cat >test-y |
| 9 |
diff -u test-x test-y |
| 10 |
} |
| 11 |
|
| 12 |
# Check that all the old versions are Ok. |
| 13 |
check_version 1.1.3 dab5cc77a49aa61138c0900f4d53cb7c <<EOF |
| 14 |
Version: 1 |
| 15 |
Compatible: 0 |
| 16 |
Y2K-Fix: Disabled |
| 17 |
Drive: 0xd7 |
| 18 |
Default: D |
| 19 |
Timeout: 14/18 seconds |
| 20 |
Enabled: 1 3 |
| 21 |
Interrupt: Shift |
| 22 |
EOF |
| 23 |
check_version 1.1.2 8c39ec3aff7220e6aafa70de68f65ebd <<EOF |
| 24 |
Version: 0 |
| 25 |
Compatible: 0 |
| 26 |
Drive: 0xd7 |
| 27 |
Default: D |
| 28 |
Timeout: 14/18 seconds |
| 29 |
Enabled: 1 3 |
| 30 |
Interrupt: Shift |
| 31 |
EOF |
| 32 |
check_version 1.1.1 d090f926c2fbd377d56126288cb7d740 <<EOF |
| 33 |
Version: 0 |
| 34 |
Compatible: 0 |
| 35 |
Drive: 0xd7 |
| 36 |
Default: D |
| 37 |
Timeout: 14/18 seconds |
| 38 |
Enabled: 1 3 |
| 39 |
Interrupt: Shift |
| 40 |
EOF |
| 41 |
check_version 1.1.0 114d66869b3962560c5019962e949aec <<EOF |
| 42 |
Version: 0 |
| 43 |
Compatible: 0 |
| 44 |
Drive: 0xd7 |
| 45 |
Default: D |
| 46 |
Timeout: 14/18 seconds |
| 47 |
Enabled: 1 3 |
| 48 |
Interrupt: Shift |
| 49 |
EOF |
| 50 |
check_version 1.0.1 ec3d993eddbe4c2aa0fef33f78c7fd92 <<EOF |
| 51 |
Version: 0 |
| 52 |
Compatible: 0 |
| 53 |
Drive: 0xd7 |
| 54 |
Default: D |
| 55 |
Timeout: 14/18 seconds |
| 56 |
Enabled: 1 3 |
| 57 |
Interrupt: Shift |
| 58 |
EOF |
| 59 |
check_version 1.0.0 b72624c2f89f146c5ed85d872e022c91 <<EOF |
| 60 |
Version: 0 |
| 61 |
Compatible: 0 |
| 62 |
Drive: 0xd7 |
| 63 |
Default: D |
| 64 |
Timeout: 14/18 seconds |
| 65 |
Enabled: 1 3 |
| 66 |
Interrupt: Shift |
| 67 |
EOF |
| 68 |
|
| 69 |
: Done |