X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=src%2Fgenerator.ml;h=571ea3a070d1b19d2bd6b5536192a35cda01ab48;hp=6db6aeb86a1c9d9cb2b3e05f9406ed474ae2bd2b;hb=f2b7a8e15c49ebc70c7ea56aefb340362aae5a99;hpb=c1e3cff523d72e8110cbc568a3c280e57c2aabca diff --git a/src/generator.ml b/src/generator.ml index 6db6aeb..571ea3a 100755 --- a/src/generator.ml +++ b/src/generator.ml @@ -807,9 +807,13 @@ used for distro-specific information. To construct the original version string: 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 ( @@ -1539,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 @@ -2218,7 +2224,7 @@ C to C