+2013-04-26 Vladimir Serbinenko <phcoder@gmail.com>
+
+ Fix pseries test.
+
2013-04-26 Vladimir Serbinenko <phcoder@gmail.com>
Make 'make check' work on emu.
{
/* Not standardized. We try three known commands. */
- grub_ieee1275_interpret ("shut-down", 0);
grub_ieee1275_interpret ("power-off", 0);
+ grub_ieee1275_interpret ("shut-down", 0);
grub_ieee1275_interpret ("poweroff", 0);
while (1);
exit 0
fi
-if [ "$(echo hello | "${grubshell}" --pseries --timeout 180 --boot=cd)" != "Hello World" ]; then
+if [ "$(echo hello | "${grubshell}" --pseries --timeout=180 --boot=cd)" != "Hello World" ]; then
exit 1
fi
-if [ "$(echo hello | "${grubshell}" --pseries --timeout 180 --boot=hd)" != "Hello World" ]; then
+if [ "$(echo hello | "${grubshell}" --pseries --timeout=180 --boot=hd)" != "Hello World" ]; then
exit 1
fi
# FIXME: workaround SLOF bugs
-#if [ "$(echo hello | "${grubshell}" --pseries --timeout 180 --boot=net)" != "Hello World" ]; then
+#if [ "$(echo hello | "${grubshell}" --pseries --timeout=180 --boot=net)" != "Hello World" ]; then
# exit 1
#fi
qemu=qemu-system-ppc64
serial_port=ieee1275/hvterm
serial_null=
- qemuopts="$qemuopts -no-reboot"
+ qemuopts="$qemuopts -M pseries -no-reboot"
trim=1
;;
--qemu-opts=*)