X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=src%2Fgenerator.ml;h=efc8bfd85d242f55cd0285afb23996a2c4b10420;hp=620395b7fdc1833bd70cf39a3802399caaf8d03c;hb=1020b212b189968ead013436cac79019fbd8fdad;hpb=8355d3245623c106439ca5ef66f24972c8e09019 diff --git a/src/generator.ml b/src/generator.ml index 620395b..efc8bfd 100755 --- a/src/generator.ml +++ b/src/generator.ml @@ -810,8 +810,10 @@ C<$major.$minor.$release$extra> See also: L. I Don't use this call to test for availability -of features. Distro backports makes this unreliable. Use -C instead."); +of features. In enterprise distributions we backport +features from later versions into earlier versions, +making this an unreliable way to test for features. +Use C instead."); ("set_selinux", (RErr, [Bool "selinux"]), -1, [FishAlias "selinux"], [InitNone, Always, TestOutputTrue ( @@ -1541,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 @@ -2220,7 +2224,7 @@ C to C