X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=src%2Fgenerator.ml;h=939f1f60e8202ace0aa91eeedef90ecf6874f659;hp=85a867e04989e397b50080050b5fc828ba4054bc;hb=cbe80b2bcfdee437d195f25aaf6f5d96329ab360;hpb=27b730a6820b80a49a4da1af9f4c8e8a952f735e diff --git a/src/generator.ml b/src/generator.ml index 85a867e..939f1f6 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