Magellan Linux

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

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

revision 3007 by niro, Tue Jun 27 14:28:28 2017 UTC revision 3023 by niro, Tue Jun 27 14:40:47 2017 UTC
# Line 565  if [ "$testgrub2" == "y" ]; then Line 565  if [ "$testgrub2" == "y" ]; then
565          --copy-default --title 'Red Hat Enterprise Linux Server' \          --copy-default --title 'Red Hat Enterprise Linux Server' \
566          --args=root=/dev/mapper/foo--          --args=root=/dev/mapper/foo--
567    
568        grub2Test grub2.19 remove/g2.19 --env grubenv.4 \
569            --remove-kernel=/boot/vmlinuz-2.6.38.2-9.fc15.x86_64 \
570            --boot-filesystem=/boot/
571        commandTest "saved_default output" \
572            "grub2-editenv test/grub2-support_files/env_temp list" \
573            "saved_entry=Linux, with Fedora 2.6.38.8-32.fc15.x86_64"
574    
575        # copy a stanza and add arguments as well, while using --set-index=
576        testing="GRUB2 add stanza and new args with --set-index="
577        grub2Test grub2.18 add/g2-1.18  --env grubenv.3 \
578            --add-kernel=/boot/vmlinuz-3.10.0-327.22.2.el7.x86_64.debug \
579            --boot-filesystem=/boot --copy-default \
580            --title "Red Hat Enterprise Linux Server (3.10.0-327.22.2.el7.x86_64.debug) 7.2 (Maipo) with debugging" \
581            --args="root=/dev/mapper/rhel_team--area--222-root systemd.log_level=debug systemd.log_target=kmsg" \
582            --set-index=1
583    
584      testing="GRUB2 add initrd"      testing="GRUB2 add initrd"
585      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 \
586          --initrd=/boot/new-initrd --boot-filesystem=/boot/          --initrd=/boot/new-initrd --boot-filesystem=/boot/

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