X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fgenerator.ml;h=efc8bfd85d242f55cd0285afb23996a2c4b10420;hb=fbe0802f9d237837d10026471186b1ef973c0877;hp=58eaee45264cf70e2c41b7d4dbef4913bd8370eb;hpb=0f6c6239fe0d1b4624e4e9776559c21486a9c7cf;p=libguestfs.git diff --git a/src/generator.ml b/src/generator.ml index 58eaee4..efc8bfd 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