Magellan Linux

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

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

revision 3009 by niro, Tue Jun 27 14:29:55 2017 UTC revision 3030 by niro, Tue Jun 27 14:47:23 2017 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"
322  ziplDisplayTest zipl.1 defaulttitle/z.1 --default-title  ziplDisplayTest zipl.1 defaulttitle/z.1 --default-title
323  testing="Z/IPL display default kernel"  testing="Z/IPL display default kernel"
324  ziplDisplayTest zipl.1 defaultkernel/z.1 --default-kernel  ziplDisplayTest zipl.1 defaultkernel/z.1 --default-kernel
325    testing="Z/IPL display entry information"
326    ziplDisplayTest zipl.2 info/z2.1 --info=1
327    
328  testing="GRUB fallback directive"  testing="GRUB fallback directive"
329  grubTest grub.5 fallback/g5.1 --remove-kernel=/boot/vmlinuz-2.4.7-ac3 \  grubTest grub.5 fallback/g5.1 --remove-kernel=/boot/vmlinuz-2.4.7-ac3 \
# Line 565  if [ "$testgrub2" == "y" ]; then Line 569  if [ "$testgrub2" == "y" ]; then
569          --copy-default --title 'Red Hat Enterprise Linux Server' \          --copy-default --title 'Red Hat Enterprise Linux Server' \
570          --args=root=/dev/mapper/foo--          --args=root=/dev/mapper/foo--
571    
572        grub2Test grub2.19 remove/g2.19 --env grubenv.4 \
573            --remove-kernel=/boot/vmlinuz-2.6.38.2-9.fc15.x86_64 \
574            --boot-filesystem=/boot/
575        commandTest "saved_default output" \
576            "grub2-editenv test/grub2-support_files/env_temp list" \
577            "saved_entry=Linux, with Fedora 2.6.38.8-32.fc15.x86_64"
578    
579      # copy a stanza and add arguments as well, while using --set-index=      # copy a stanza and add arguments as well, while using --set-index=
580      testing="GRUB2 add stanza and new args with --set-index="      testing="GRUB2 add stanza and new args with --set-index="
581      grub2Test grub2.18 add/g2-1.18  --env grubenv.3 \      grub2Test grub2.18 add/g2-1.18  --env grubenv.3 \

Legend:
Removed from v.3009  
changed lines
  Added in v.3030