X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=generator%2Fgenerator_types.ml;h=0ed6f7483e8d14917d32fdab48c86d8ed8885a60;hb=a50cdb512c31efd75fe09ff6646b02a9a23faa02;hp=647d66f30db257209e819087411be499cb7798c3;hpb=04d8209077d2227eb1d42695ba71147f78987050;p=libguestfs.git diff --git a/generator/generator_types.ml b/generator/generator_types.ml index 647d66f..0ed6f74 100644 --- a/generator/generator_types.ml +++ b/generator/generator_types.ml @@ -260,9 +260,21 @@ and test = *) | TestOutputStruct of seq * test_field_compare list - (* Run the command sequence and expect the final command (only) - * to fail. + (* Run the command sequence and expect the output of the final + * command to be a string which is the hex MD5 of the content of + * the named file. *) + | TestOutputFileMD5 of seq * string + + (* Run the command sequence and expect the output of the final + * command to be a string which is a block device name (we don't + * check the 5th character of the string, so "/dev/sda" == "/dev/vda"). + *) + | TestOutputDevice of seq * string + + (* Run the command sequence and expect the final command (only) + * to fail. + *) | TestLastFail of seq and test_field_compare =