X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=src%2Fgenerator.ml;h=5cd704f461aa58e58415ea23f49156e76faaa9ef;hp=c6a12627199ea342ccfc56a88642e27993c69671;hb=8fca8549edb1581448fa45d08d90bad399c5dbfa;hpb=11eeb8885c7a8ffb59e12cd5fb2ae0fc324df383 diff --git a/src/generator.ml b/src/generator.ml index c6a1262..5cd704f 100755 --- a/src/generator.ml +++ b/src/generator.ml @@ -1543,7 +1543,9 @@ See also: C, C, C"); ("write_file", (RErr, [Pathname "path"; String "content"; Int "size"]), 44, [ProtocolLimitWarning; DeprecatedBy "write"], - [], + (* Regression test for RHBZ#597135. *) + [InitBasicFS, Always, TestLastFail + [["write_file"; "/new"; "abc"; "10000"]]], "create a file", "\ This call creates a file called C. The contents of the @@ -2222,7 +2224,7 @@ C to C