Magellan Linux

Diff of /trunk/grubby/test.sh

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

revision 2994 by niro, Thu Jun 30 10:37:25 2016 UTC revision 3007 by niro, Tue Jun 27 14:28:28 2017 UTC
# Line 485  grubTest grub.8 add/g8.2 --add-kernel=/b Line 485  grubTest grub.8 add/g8.2 --add-kernel=/b
485  grubTest grub.11 add/g11.1 --add-kernel=/boot/new-kernel.img --title='title' \  grubTest grub.11 add/g11.1 --add-kernel=/boot/new-kernel.img --title='title' \
486      --initrd=/boot/new-initrd --boot-filesystem=/boot --copy-default \      --initrd=/boot/new-initrd --boot-filesystem=/boot --copy-default \
487      --args='console=tty0 console=ttyS1,9600n81 single'      --args='console=tty0 console=ttyS1,9600n81 single'
488    grubTest grub.1 add/g1.1 --add-kernel=/boot/new-kernel.img --title='title' \
489        --initrd=/boot/new-initrd --boot-filesystem=/ --set-index 0
490    grubTest grub.1 add/g1.17 --add-kernel=/boot/new-kernel.img --title='title' \
491        --initrd=/boot/new-initrd --boot-filesystem=/ --set-index 1
492    grubTest grub.1 add/g1.17 --add-kernel=/boot/new-kernel.img --title='title' \
493        --initrd=/boot/new-initrd --boot-filesystem=/ --set-index 2
494    grubTest grub.15 add/g1.10 --add-kernel=/boot/new-kernel.img --title='title' \
495        --initrd=/boot/new-initrd --boot-filesystem=/ --set-index 0
496    grubTest grub.15 add/g1.8 --add-kernel=/boot/new-kernel.img --title='title' \
497        --initrd=/boot/new-initrd --boot-filesystem=/ --set-index 1
498    grubTest grub.15 add/g1.9 --add-kernel=/boot/new-kernel.img --title='title' \
499        --initrd=/boot/new-initrd --boot-filesystem=/ --set-index 2
500    grubTest grub.15 add/g1.9 --add-kernel=/boot/new-kernel.img --title='title' \
501        --initrd=/boot/new-initrd --boot-filesystem=/ --set-index 5
502    
503  testgrub2=n  testgrub2=n
504  ARCH=$(uname -m | sed s,i[3456789]86,ia32,)  ARCH=$(uname -m | sed s,i[3456789]86,ia32,)
# Line 543  if [ "$testgrub2" == "y" ]; then Line 557  if [ "$testgrub2" == "y" ]; then
557          --copy-default --title "Fedora 21 Rescue" --args=root=/fooooo \          --copy-default --title "Fedora 21 Rescue" --args=root=/fooooo \
558          --remove-kernel=wtf --boot-filesystem=/boot/ --efi          --remove-kernel=wtf --boot-filesystem=/boot/ --efi
559    
560        # a grub2 add with a "set" of the form: set foo="bar=1,2".  bz#1152550
561        # has this being emitted as: set foo="bar=1,2"=1,2"
562        # which is wrong.
563        grub2Test grub2.16 add/g2-1.16 \
564            --add-kernel=/boot/vmlinuz-foo \
565            --copy-default --title 'Red Hat Enterprise Linux Server' \
566            --args=root=/dev/mapper/foo--
567    
568      testing="GRUB2 add initrd"      testing="GRUB2 add initrd"
569      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 \
570          --initrd=/boot/new-initrd --boot-filesystem=/boot/          --initrd=/boot/new-initrd --boot-filesystem=/boot/

Legend:
Removed from v.2994  
changed lines
  Added in v.3007