tests/inst-8
raw| 1 | #! /bin/sh |
| 2 | |
| 3 | # BUG: running install-mbr -I y2k.b /dev/hda fails. We should fail if |
| 4 | # the Y2K setting is explicitly requested. |
| 5 | |
| 6 | dd if=test-old of=test-mbr 2>/dev/null |
| 7 | |
| 8 | do_install -y- test-mbr |
| 9 | do_install -I y2k.b test-mbr |
| 10 | do_install --list test-mbr >test-y |
| 11 | cat <<EOF >test-x |
| 12 | Version: 2 |
| 13 | Compatible: 2 |
| 14 | Y2K-Fix: Enabled |
| 15 | Drive: 0x80 |
| 16 | Default: D |
| 17 | Timeout: 18/18 seconds |
| 18 | Enabled: F A |
| 19 | Interrupt: Shift Key |
| 20 | EOF |
| 21 | diff -u test-x test-y |
| 22 | |
| 23 | : Done |