--- trunk/grubby/test.sh 2014/07/16 10:47:33 2693 +++ trunk/grubby/test.sh 2016/06/30 10:26:25 2980 @@ -269,6 +269,9 @@ grubTest grub.13 setdefaultindex/g.13.1 --set-default-index=1 grubTest grub.13 setdefaultindex/g.13.9 --set-default-index=9 +testing="GRUB add initrd" +grubTest grub.14 add/g1.7 --boot-filesystem=/ --update-kernel=/vmlinuz-4.0.0-0.rc4.git1.4.fc23.x86_64 --initrd /initramfs-4.0.0-0.rc4.git1.4.fc23.x86_64.img '--args= LANG=en_US.UTF-8' '--title=Fedora (4.0.0-0.rc4.git1.4.fc23.x86_64) 23 (Rawhide)' + testing="GRUB display default index" grubDisplayTest grub.1 defaultindex/0 --default-index grubDisplayTest grub.2 defaultindex/0 --default-index @@ -373,8 +376,6 @@ --remove-args="hdd root ro" grubTest grub.7 updargs/g7.2 --boot-filesystem=/ \ --update-kernel=ALL --args "hde=ide-scsi" -grubTest grub.7 updargs/g7.2 --boot-filesystem=/ \ - --update-kernel=ALL --args "hde=ide-scsi" grubTest grub.7 updargs/g7.3 --boot-filesystem=/ \ --update-kernel=DEFAULT --args "hde=ide-scsi" grubTest grub.7 updargs/g7.4 --boot-filesystem=/ \ @@ -525,6 +526,11 @@ --devtree='/boot/dtb-2.6.38.8-32.fc15.x86_64/foobarbaz.dtb' \ --initrd=/boot/initramfs-2.6.38.8-32.fc15.x86_64.img \ --boot-filesystem=/boot/ --copy-default --efi + grub2Test grub2.15 add/g2-1.15 \ + --add-kernel=/boot/vmlinuz-0-rescue-5a94251776a14678911d4ae0949500f5 \ + --initrd /boot/initramfs-0-rescue-5a94251776a14678911d4ae0949500f5.img \ + --copy-default --title "Fedora 21 Rescue" --args=root=/fooooo \ + --remove-kernel=wtf --boot-filesystem=/boot/ --efi testing="GRUB2 add initrd" grub2Test grub2.2 add/g2-1.4 --update-kernel=/boot/new-kernel.img \ @@ -616,6 +622,13 @@ testing="GRUB2 add initrd with linux16" grub2Test grub2.11 add/g2-1.11 --update-kernel=/boot/new-kernel.img \ --initrd=/boot/new-initrd --boot-filesystem=/boot/ + + testing="GRUB2 add rescue with linux16" + grub2Test grub2.14 add/g2-1.14 \ + --add-kernel=/boot/vmlinuz-0-rescue-5a94251776a14678911d4ae0949500f5 \ + --initrd /boot/initramfs-0-rescue-5a94251776a14678911d4ae0949500f5.img \ + --copy-default --title "Fedora 21 Rescue" --args=root=/fooooo \ + --remove-kernel=wtf --boot-filesystem=/boot/ fi fi @@ -632,18 +645,36 @@ ziplTest zipl.1 add/z1.2 --add-kernel=/boot/new-kernel.img --title test --copy-default testing="Extlinux add kernel" -extlinuxTest extlinux.1 add/extlinux1.1 --add-kernel=/boot/new-kernel.img --title='title' \ - --initrd=/boot/new-initrd --boot-filesystem=/ -extlinuxTest extlinux.1 add/extlinux1.2 --add-kernel=/boot/new-kernel.img --title='title' \ - --initrd=/boot/new-initrd --boot-filesystem=/boot -extlinuxTest extlinux.1 add/extlinux1.3 --add-kernel=/boot/new-kernel.img --title='title' \ - --initrd=/boot/new-initrd --boot-filesystem=/ --copy-default -extlinuxTest extlinux.1 add/extlinux1.4 --add-kernel=/boot/new-kernel.img --title='title' \ - --initrd=/boot/new-initrd --boot-filesystem=/boot --copy-default -extlinuxTest extlinux.2 add/extlinux2.1 --add-kernel=/boot/vmlinuz-3.12.0-2.fc21.i686 \ - --initrd=/boot/initrd-3.12.0-2.fc21.i686-new.img --boot-filesystem=/boot --copy-default \ - --title="Fedora (3.12.0-2.fc21.i686) 20 (Heisenbug)" \ +extlinuxTest extlinux.1 add/extlinux1.1 --add-kernel=/boot/new-kernel.img \ + --title='title' --initrd=/boot/new-initrd --boot-filesystem=/ +extlinuxTest extlinux.1 add/extlinux1.2 --add-kernel=/boot/new-kernel.img \ + --title='title' --initrd=/boot/new-initrd --boot-filesystem=/boot +extlinuxTest extlinux.1 add/extlinux1.3 --add-kernel=/boot/new-kernel.img \ + --title='title' --initrd=/boot/new-initrd --boot-filesystem=/ \ + --copy-default +extlinuxTest extlinux.1 add/extlinux1.4 --add-kernel=/boot/new-kernel.img \ + --title='title' --initrd=/boot/new-initrd --boot-filesystem=/boot \ + --copy-default +extlinuxTest extlinux.2 add/extlinux2.1 \ + --add-kernel=/boot/vmlinuz-3.12.0-2.fc21.i686 \ + --initrd=/boot/initrd-3.12.0-2.fc21.i686-new.img \ + --boot-filesystem=/boot --copy-default \ + --title="Fedora (3.12.0-2.fc21.i686) 20 (Heisenbug)" \ --remove-kernel="TITLE=Fedora (3.12.0-2.fc21.i686) 20 (Heisenbug)" +extlinuxTest extlinux.5 add/extlinux5.1 \ + --add-kernel=/boot/vmlinuz-3.15.0-0.rc1.git4.1.fc21.armv7hl \ + --devtree='/boot/dtb-3.15.0-0.rc1.git4.1.fc21.armv7hl/imx6q-cubox-i.dtb' \ + --initrd=/boot/initramfs-3.15.0-0.rc1.git4.1.fc21.armv7hl.img \ + --boot-filesystem=/boot --copy-default \ + --title="Fedora (3.15.0-0.rc1.git4.1.fc21.armv7hl) 21 (Rawhide)" \ + --remove-kernel="TITLE=Fedora (3.12.0-0.fc21.armv7hl) 21 (Rawhide)" +extlinuxTest extlinux.6 add/extlinux6.1 \ + --add-kernel=/boot/vmlinuz-3.15.0-0.rc1.git4.1.fc21.armv7hl \ + --devtreedir='/boot/dtb-3.15.0-0.rc1.git4.1.fc21.armv7hl/' \ + --initrd=/boot/initramfs-3.15.0-0.rc1.git4.1.fc21.armv7hl.img \ + --boot-filesystem=/boot --copy-default \ + --title="Fedora (3.15.0-0.rc1.git4.1.fc21.armv7hl) 21 (Rawhide)" \ + --remove-kernel="TITLE=Fedora (3.12.0-0.fc21.armv7hl) 21 (Rawhide)" testing="LILO long titles" liloTest lilo.1 longtitle/l1.1 --add-kernel=/boot/new-kernel.img \