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