--- trunk/grubby/test.sh 2016/06/30 09:56:56 2968 +++ 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 @@ -527,7 +530,7 @@ --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/ + --remove-kernel=wtf --boot-filesystem=/boot/ --efi testing="GRUB2 add initrd" grub2Test grub2.2 add/g2-1.4 --update-kernel=/boot/new-kernel.img \ @@ -642,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 \