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