[libvirt] [PATCH] test: adding tests to virStrToDouble() inside virstringtest.

Peter Krempa pkrempa at redhat.com
Mon Jul 10 07:12:31 UTC 2017


On Sun, Jul 09, 2017 at 20:04:37 -0300, Julio Faracco wrote:
> There are no occurrences of tests related to Strings and Double numbers
> inside virstringtest.c. This commit introduces some tests to validate the
> conversion. The test does not include locale changes yet.

Testing with changed locale will require some code that will make sure
that it's not invoked if the given locale is not installed on the
system.

> 
> Signed-off-by: Julio Faracco <jcfaracco at gmail.com>
> ---
>  tests/virstringtest.c | 80 +++++++++++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 80 insertions(+)

ACK to the patch I'll push it in a while.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20170710/6e98f21f/attachment-0001.sig>


More information about the libvir-list mailing list