X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=generator%2Fgenerator_types.ml;h=94592991f59b9296c250eae1f5427ccf016767c7;hb=e18058a5a56236cbac23f10dc8a91420a3525562;hp=50e960405000a16005d3b9cf3b68c1f3494a2cf6;hpb=8037da06feea097716ce700f38c0eac0d5411a7c;p=libguestfs.git diff --git a/generator/generator_types.ml b/generator/generator_types.ml index 50e9604..9459299 100644 --- a/generator/generator_types.ml +++ b/generator/generator_types.ml @@ -207,7 +207,6 @@ type errcode = [ `CannotReturnError | `ErrorIsMinusOne | `ErrorIsNULL ] type flags = | ProtocolLimitWarning (* display warning about protocol size limits *) - | DangerWillRobinson (* flags particularly dangerous commands *) | FishAlias of string (* provide an alias for this cmd in guestfish *) | FishOutput of fish_output_t (* how to display output in guestfish *) | NotInFish (* do not export via guestfish *) @@ -291,6 +290,12 @@ and test = *) | TestOutputDevice of seq * string + (* Run the command sequence and expect a hashtable. Check + * one of more fields in the hashtable against known good + * strings. + *) + | TestOutputHashtable of seq * (string * string) list + (* Run the command sequence and expect the final command (only) * to fail. *)