Magellan Linux

Diff of /tags/grubby-8_40/test.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2693 by niro, Wed Jul 16 10:47:33 2014 UTC revision 2980 by niro, Thu Jun 30 10:26:25 2016 UTC
# Line 269  grubTest grub.13 setdefaultindex/g.13.0 Line 269  grubTest grub.13 setdefaultindex/g.13.0
269  grubTest grub.13 setdefaultindex/g.13.1 --set-default-index=1  grubTest grub.13 setdefaultindex/g.13.1 --set-default-index=1
270  grubTest grub.13 setdefaultindex/g.13.9 --set-default-index=9  grubTest grub.13 setdefaultindex/g.13.9 --set-default-index=9
271    
272    testing="GRUB add initrd"
273    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)'
274    
275  testing="GRUB display default index"  testing="GRUB display default index"
276  grubDisplayTest grub.1 defaultindex/0 --default-index  grubDisplayTest grub.1 defaultindex/0 --default-index
277  grubDisplayTest grub.2 defaultindex/0 --default-index  grubDisplayTest grub.2 defaultindex/0 --default-index
# Line 373  grubTest grub.3 updargs/g3.7 --update-ke Line 376  grubTest grub.3 updargs/g3.7 --update-ke
376      --remove-args="hdd root ro"      --remove-args="hdd root ro"
377  grubTest grub.7 updargs/g7.2 --boot-filesystem=/    \  grubTest grub.7 updargs/g7.2 --boot-filesystem=/    \
378      --update-kernel=ALL --args "hde=ide-scsi"      --update-kernel=ALL --args "hde=ide-scsi"
 grubTest grub.7 updargs/g7.2 --boot-filesystem=/    \  
     --update-kernel=ALL --args "hde=ide-scsi"  
379  grubTest grub.7 updargs/g7.3 --boot-filesystem=/    \  grubTest grub.7 updargs/g7.3 --boot-filesystem=/    \
380      --update-kernel=DEFAULT --args "hde=ide-scsi"      --update-kernel=DEFAULT --args "hde=ide-scsi"
381  grubTest grub.7 updargs/g7.4 --boot-filesystem=/    \  grubTest grub.7 updargs/g7.4 --boot-filesystem=/    \
# Line 525  if [ "$testgrub2" == "y" ]; then Line 526  if [ "$testgrub2" == "y" ]; then
526          --devtree='/boot/dtb-2.6.38.8-32.fc15.x86_64/foobarbaz.dtb' \          --devtree='/boot/dtb-2.6.38.8-32.fc15.x86_64/foobarbaz.dtb' \
527          --initrd=/boot/initramfs-2.6.38.8-32.fc15.x86_64.img \          --initrd=/boot/initramfs-2.6.38.8-32.fc15.x86_64.img \
528          --boot-filesystem=/boot/ --copy-default --efi          --boot-filesystem=/boot/ --copy-default --efi
529        grub2Test grub2.15 add/g2-1.15 \
530            --add-kernel=/boot/vmlinuz-0-rescue-5a94251776a14678911d4ae0949500f5 \
531            --initrd /boot/initramfs-0-rescue-5a94251776a14678911d4ae0949500f5.img \
532            --copy-default --title "Fedora 21 Rescue" --args=root=/fooooo \
533            --remove-kernel=wtf --boot-filesystem=/boot/ --efi
534    
535      testing="GRUB2 add initrd"      testing="GRUB2 add initrd"
536      grub2Test grub2.2 add/g2-1.4 --update-kernel=/boot/new-kernel.img \      grub2Test grub2.2 add/g2-1.4 --update-kernel=/boot/new-kernel.img \
# Line 616  if [ "$testgrub2" == "y" ]; then Line 622  if [ "$testgrub2" == "y" ]; then
622          testing="GRUB2 add initrd with linux16"          testing="GRUB2 add initrd with linux16"
623          grub2Test grub2.11 add/g2-1.11 --update-kernel=/boot/new-kernel.img \          grub2Test grub2.11 add/g2-1.11 --update-kernel=/boot/new-kernel.img \
624              --initrd=/boot/new-initrd --boot-filesystem=/boot/              --initrd=/boot/new-initrd --boot-filesystem=/boot/
625    
626            testing="GRUB2 add rescue with linux16"
627            grub2Test grub2.14 add/g2-1.14 \
628                --add-kernel=/boot/vmlinuz-0-rescue-5a94251776a14678911d4ae0949500f5 \
629                --initrd /boot/initramfs-0-rescue-5a94251776a14678911d4ae0949500f5.img \
630                --copy-default --title "Fedora 21 Rescue" --args=root=/fooooo \
631                --remove-kernel=wtf --boot-filesystem=/boot/
632      fi      fi
633  fi  fi
634    
# Line 632  ziplTest zipl.1 add/z1.1 --add-kernel=/b Line 645  ziplTest zipl.1 add/z1.1 --add-kernel=/b
645  ziplTest zipl.1 add/z1.2 --add-kernel=/boot/new-kernel.img --title test --copy-default  ziplTest zipl.1 add/z1.2 --add-kernel=/boot/new-kernel.img --title test --copy-default
646    
647  testing="Extlinux add kernel"  testing="Extlinux add kernel"
648  extlinuxTest extlinux.1 add/extlinux1.1 --add-kernel=/boot/new-kernel.img --title='title' \  extlinuxTest extlinux.1 add/extlinux1.1 --add-kernel=/boot/new-kernel.img \
649      --initrd=/boot/new-initrd --boot-filesystem=/      --title='title' --initrd=/boot/new-initrd --boot-filesystem=/
650  extlinuxTest extlinux.1 add/extlinux1.2 --add-kernel=/boot/new-kernel.img --title='title' \  extlinuxTest extlinux.1 add/extlinux1.2 --add-kernel=/boot/new-kernel.img \
651      --initrd=/boot/new-initrd --boot-filesystem=/boot      --title='title' --initrd=/boot/new-initrd --boot-filesystem=/boot
652  extlinuxTest extlinux.1 add/extlinux1.3 --add-kernel=/boot/new-kernel.img --title='title' \  extlinuxTest extlinux.1 add/extlinux1.3 --add-kernel=/boot/new-kernel.img \
653      --initrd=/boot/new-initrd --boot-filesystem=/ --copy-default      --title='title' --initrd=/boot/new-initrd --boot-filesystem=/ \
654  extlinuxTest extlinux.1 add/extlinux1.4 --add-kernel=/boot/new-kernel.img --title='title' \      --copy-default
655      --initrd=/boot/new-initrd --boot-filesystem=/boot --copy-default  extlinuxTest extlinux.1 add/extlinux1.4 --add-kernel=/boot/new-kernel.img \
656  extlinuxTest extlinux.2 add/extlinux2.1 --add-kernel=/boot/vmlinuz-3.12.0-2.fc21.i686    \      --title='title' --initrd=/boot/new-initrd --boot-filesystem=/boot \
657      --initrd=/boot/initrd-3.12.0-2.fc21.i686-new.img --boot-filesystem=/boot --copy-default \      --copy-default
658      --title="Fedora (3.12.0-2.fc21.i686) 20 (Heisenbug)"    \  extlinuxTest extlinux.2 add/extlinux2.1 \
659        --add-kernel=/boot/vmlinuz-3.12.0-2.fc21.i686 \
660        --initrd=/boot/initrd-3.12.0-2.fc21.i686-new.img \
661        --boot-filesystem=/boot --copy-default \
662        --title="Fedora (3.12.0-2.fc21.i686) 20 (Heisenbug)" \
663      --remove-kernel="TITLE=Fedora (3.12.0-2.fc21.i686) 20 (Heisenbug)"      --remove-kernel="TITLE=Fedora (3.12.0-2.fc21.i686) 20 (Heisenbug)"
664    extlinuxTest extlinux.5 add/extlinux5.1 \
665        --add-kernel=/boot/vmlinuz-3.15.0-0.rc1.git4.1.fc21.armv7hl \
666        --devtree='/boot/dtb-3.15.0-0.rc1.git4.1.fc21.armv7hl/imx6q-cubox-i.dtb' \
667        --initrd=/boot/initramfs-3.15.0-0.rc1.git4.1.fc21.armv7hl.img \
668        --boot-filesystem=/boot --copy-default \
669        --title="Fedora (3.15.0-0.rc1.git4.1.fc21.armv7hl) 21 (Rawhide)" \
670        --remove-kernel="TITLE=Fedora (3.12.0-0.fc21.armv7hl) 21 (Rawhide)"
671    extlinuxTest extlinux.6 add/extlinux6.1 \
672        --add-kernel=/boot/vmlinuz-3.15.0-0.rc1.git4.1.fc21.armv7hl \
673        --devtreedir='/boot/dtb-3.15.0-0.rc1.git4.1.fc21.armv7hl/' \
674        --initrd=/boot/initramfs-3.15.0-0.rc1.git4.1.fc21.armv7hl.img \
675        --boot-filesystem=/boot --copy-default \
676        --title="Fedora (3.15.0-0.rc1.git4.1.fc21.armv7hl) 21 (Rawhide)" \
677        --remove-kernel="TITLE=Fedora (3.12.0-0.fc21.armv7hl) 21 (Rawhide)"
678    
679  testing="LILO long titles"  testing="LILO long titles"
680  liloTest lilo.1 longtitle/l1.1 --add-kernel=/boot/new-kernel.img \  liloTest lilo.1 longtitle/l1.1 --add-kernel=/boot/new-kernel.img \

Legend:
Removed from v.2693  
changed lines
  Added in v.2980