Magellan Linux

Diff of /trunk/grubby/test.sh

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

revision 3028 by niro, Tue Jun 27 14:46:21 2017 UTC revision 3140 by niro, Tue Jul 7 11:13:24 2020 UTC
# Line 314  liloDisplayTest lilo.1 defaultkernel/l1. Line 314  liloDisplayTest lilo.1 defaultkernel/l1.
314  testing="Z/IPL default directive"  testing="Z/IPL default directive"
315  ziplTest zipl.1 default/z1.1 --add-kernel /boot/new-kernel --title test  ziplTest zipl.1 default/z1.1 --add-kernel /boot/new-kernel --title test
316  ziplTest zipl.1 default/z1.2 --add-kernel /boot/new-kernel --title test --make-default  ziplTest zipl.1 default/z1.2 --add-kernel /boot/new-kernel --title test --make-default
317    testing="Z/IPL default index directive"
318    ziplTest zipl.2 default/z2.1 --set-default-index=0
319  testing="Z/IPL display default index"  testing="Z/IPL display default index"
320  ziplDisplayTest zipl.1 defaultindex/0 --default-index  ziplDisplayTest zipl.1 defaultindex/0 --default-index
321  testing="Z/IPL display default title"  testing="Z/IPL display default title"
# Line 384  grubTest grub.3 updargs/g3.2 --update-ke Line 386  grubTest grub.3 updargs/g3.2 --update-ke
386      --args "root=/dev/hdd1 hdd=notide-scsi"      --args "root=/dev/hdd1 hdd=notide-scsi"
387  grubTest grub.3 updargs/g3.4 --update-kernel=ALL --remove-args="hdd"  grubTest grub.3 updargs/g3.4 --update-kernel=ALL --remove-args="hdd"
388  grubTest grub.3 updargs/g3.4 --update-kernel=ALL --remove-args="hdd=ide-scsi"  grubTest grub.3 updargs/g3.4 --update-kernel=ALL --remove-args="hdd=ide-scsi"
389  grubTest grub.3 updargs/g3.4 --update-kernel=ALL --remove-args="hdd=foobar"  grubTest grub.3 updargs/g3.5 --update-kernel=ALL --remove-args="hdd=foobar"
390  grubTest grub.3 updargs/g3.7 --update-kernel=ALL \  grubTest grub.3 updargs/g3.7 --update-kernel=ALL \
391      --remove-args="hdd root ro"      --remove-args="hdd root ro"
392  grubTest grub.7 updargs/g7.2 --boot-filesystem=/    \  grubTest grub.7 updargs/g7.2 --boot-filesystem=/    \
# Line 680  if [ "$testgrub2" == "y" ]; then Line 682  if [ "$testgrub2" == "y" ]; then
682              --initrd /boot/initramfs-0-rescue-5a94251776a14678911d4ae0949500f5.img \              --initrd /boot/initramfs-0-rescue-5a94251776a14678911d4ae0949500f5.img \
683              --copy-default --title "Fedora 21 Rescue" --args=root=/fooooo \              --copy-default --title "Fedora 21 Rescue" --args=root=/fooooo \
684              --remove-kernel=wtf --boot-filesystem=/boot/              --remove-kernel=wtf --boot-filesystem=/boot/
685    
686            testing="GRUB2 add kernel with boot on btrfs subvol"
687            grub2Test grub2.20 add/g2-1.20 --add-kernel=/boot/new-kernel.img \
688                --title='title' \
689                --boot-filesystem=/boot/ \
690                --copy-default \
691                --mounts='test/grub2-support_files/g2.20-mounts'
692    
693            testing="GRUB2 add initrd with boot on btrfs subvol"
694            grub2Test grub2.21 add/g2-1.21 --update-kernel=/boot/new-kernel.img \
695                --initrd=/boot/new-initrd --boot-filesystem=/boot/ \
696                --mounts='test/grub2-support_files/g2.21-mounts'
697    
698            testing="GRUB2 add kernel with rootfs on btrfs subvol and boot directory"
699            grub2Test grub2.22 add/g2-1.22 --add-kernel=/boot/new-kernel.img \
700                --title='title' \
701                --boot-filesystem= \
702                --copy-default \
703                --mounts='test/grub2-support_files/g2.22-mounts'
704    
705            testing="GRUB2 add initrd with rootfs on btrfs subvol and boot directory"
706            grub2Test grub2.23 add/g2-1.23 --update-kernel=/boot/new-kernel.img \
707                --initrd=/boot/new-initrd --boot-filesystem= \
708                --mounts='test/grub2-support_files/g2.23-mounts'
709    
710            testing="GRUB2 add kernel and initrd with boot on btrfs subvol"
711            grub2Test grub2.24 add/g2-1.24 --add-kernel=/boot/new-kernel.img \
712                --title='title' \
713                --initrd=/boot/new-initrd \
714                --boot-filesystem=/boot/ \
715                --copy-default \
716                --mounts='test/grub2-support_files/g2.24-mounts'
717    
718            testing="GRUB2 add kernel and initrd with rootfs on btrfs subvol and boot directory"
719            grub2Test grub2.25 add/g2-1.25 --add-kernel=/boot/new-kernel.img \
720                --title='title' \
721                --initrd=/boot/new-initrd \
722                --boot-filesystem= \
723                --copy-default \
724                --mounts='test/grub2-support_files/g2.25-mounts'
725      fi      fi
726  fi  fi
727    

Legend:
Removed from v.3028  
changed lines
  Added in v.3140