506 |
"grub2-editenv test/grub2-support_files/env_temp list" \ |
"grub2-editenv test/grub2-support_files/env_temp list" \ |
507 |
"saved_entry=Linux, with Fedora 2.6.38.8-32.fc15.x86_64" |
"saved_entry=Linux, with Fedora 2.6.38.8-32.fc15.x86_64" |
508 |
|
|
509 |
|
testing="GRUB2 add kernel with default=saved_entry and a terrible title" |
510 |
|
grub2Test grub2.7 add/g2-1.9 --env grubenv.1 \ |
511 |
|
--add-kernel=/boot/new-kernel.img \ |
512 |
|
--title='Fedora (3.10.3-300.fc19.x86_64) 19 (Schrödinger’s Cat)' \ |
513 |
|
--initrd=/boot/new-initrd --boot-filesystem=/boot/ \ |
514 |
|
--copy-default |
515 |
|
|
516 |
|
testing="GRUB2 set default with default=saved_entry and a terrible name" |
517 |
|
grub2Test grub2.9 add/g2-1.9 --env grubenv.1 --set-default-index=0 |
518 |
|
commandTest "saved_default output" \ |
519 |
|
"grub2-editenv test/grub2-support_files/env_temp list" \ |
520 |
|
'saved_entry=Fedora (3.10.3-300.fc19.x86_64) 19 (Schrödinger’s Cat)' |
521 |
|
|
522 |
testing="GRUB2 set default with default=saved_entry" |
testing="GRUB2 set default with default=saved_entry" |
523 |
grub2Test grub2.8 add/g2-1.8 --env grubenv.1 --set-default-index=0 |
grub2Test grub2.8 add/g2-1.8 --env grubenv.1 --set-default-index=0 |
524 |
commandTest "saved_default output" \ |
commandTest "saved_default output" \ |
533 |
|
|
534 |
testing="GRUB2 --default-title with default=saved_entry" |
testing="GRUB2 --default-title with default=saved_entry" |
535 |
grub2DisplayTest grub2.8 defaulttitle/g2.1 --env grubenv.1 --default-title |
grub2DisplayTest grub2.8 defaulttitle/g2.1 --env grubenv.1 --default-title |
536 |
|
|
537 |
|
testing="GRUB2 --default-index with default=saved_entry and empty grubenv" |
538 |
|
grub2DisplayTest grub2.8 defaultindex/0 --env grubenv.0 --default-index |
539 |
|
|
540 |
|
testlinux16=n |
541 |
|
case $ARCH in |
542 |
|
ia32|x86_64) testlinux16=y ;; |
543 |
|
esac |
544 |
|
|
545 |
|
if [ "$testlinux16" == "y" ]; then |
546 |
|
testing="GRUB2 add kernel with linux16" |
547 |
|
grub2Test grub2.10 add/g2-1.10 --add-kernel=/boot/new-kernel.img \ |
548 |
|
--title='title' --initrd=/boot/new-initrd --boot-filesystem=/boot/ \ |
549 |
|
--copy-default |
550 |
|
|
551 |
|
testing="GRUB2 add initrd with linux16" |
552 |
|
grub2Test grub2.11 add/g2-1.11 --update-kernel=/boot/new-kernel.img \ |
553 |
|
--initrd=/boot/new-initrd --boot-filesystem=/boot/ |
554 |
|
fi |
555 |
fi |
fi |
556 |
|
|
557 |
testing="YABOOT add kernel" |
testing="YABOOT add kernel" |