]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
Add testload
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sun, 5 Sep 2010 18:43:43 +0000 (20:43 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sun, 5 Sep 2010 18:43:43 +0000 (20:43 +0200)
grub-core/lib/legacy_parse.c

index f2d3dec0abe48ba339c3897a67f49873097349f5..f350aaf0980be5dc220e0db7f840c3e57ffd0b22 100644 (file)
@@ -205,7 +205,12 @@ struct legacy_command legacy_commands[] =
     /* setup unsupported.  */
     /* terminal unsupported.  */    /* NUL_TERMINATE */
     /* terminfo unsupported.  */    /* NUL_TERMINATE */
-    /* testload unsupported.  */
+    {"testload", "cat '%s'\n", 1, {TYPE_FILE}, 0, "FILE",
+     "Read the entire contents of FILE in several different ways and"
+     " compares them, to test the filesystem code. "
+     " If this test succeeds, then a good next"
+     " step is to try loading a kernel."},
+     "Print the contents of the file FILE."},
     /* testvbe unsupported.  */
     /* tftpserver unsupported.  */
     {"timeout", "set timeout=%s\n", 1, {TYPE_INT}, 0, "SEC",