#! /bin/sh
# Check floppy booting.
cat <<EOF >test-x
Version: 0
Compatible: 0
Drive: 0x80
Default: D
Timeout: 18/18 seconds
Enabled: F A
Interrupt: Shift
EOF
do_install -lis -r -I bigdisk.b bigdisk >test-y
diff -u test-x test-y
# Check interrupted booting.
cat <<EOF >test-x
Version: 1
Compatible: 0
Y2K-Fix: Disabled
Drive: 0x80
Default: 2
Timeout: 18/18 seconds
Enabled: F A
Interrupt: Key
EOF
do_install -l -r -d 0x80 -ik -o 128 -p 2 -eaf image.hda >test-y
diff -u test-x test-y
cat <<EOF >test-x
BEGIN
90
C7
82
26
SE
END
EOF
echo f | run_dos

: Done
