Magellan Linux

Diff of /trunk/grubby/README.rst

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

revision 2987 by niro, Thu Jun 30 10:31:09 2016 UTC revision 2988 by niro, Thu Jun 30 10:31:36 2016 UTC
# Line 42  The invocation syntax is:: Line 42  The invocation syntax is::
42  For example the line::  For example the line::
43    
44      grubTest grub.1 updargs/g1.1 --update-kernel=DEFAULT --args="root=/dev/hda1"      grubTest grub.1 updargs/g1.1 --update-kernel=DEFAULT --args="root=/dev/hda1"
45        
46  means execute the command::  means execute the command::
47    
48      ./grubby --grub --config-file tests/grub.1 --update-kernel=DEFAULT \      ./grubby --grub --config-file tests/grub.1 --update-kernel=DEFAULT \
# Line 66  Writing New Test Cases Line 66  Writing New Test Cases
66  ----------------------  ----------------------
67    
68  To write a new test case for grubby you need a config file which matches the  To write a new test case for grubby you need a config file which matches the
69  initial test conditions (either existing one or a new one), provide a  initial test conditions (either existing one or a new one), provide a
70  results file (likely a new one) which contains the expected configuration or  results file (likely a new one) which contains the expected configuration or
71  output and finally add a call to the test function(s) using the desired grubby  output and finally add a call to the test function(s) using the desired grubby
72  parameters in an appropriate section of `test.sh`.  parameters in an appropriate section of `test.sh`.

Legend:
Removed from v.2987  
changed lines
  Added in v.2988