[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] test-strftime: Test nanosecond display
From: |
Eric Blake |
Subject: |
Re: [PATCH] test-strftime: Test nanosecond display |
Date: |
Wed, 14 Dec 2011 09:10:35 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111115 Thunderbird/8.0 |
On 12/13/2011 07:52 PM, Alex Nelson wrote:
> The test-strftime program did not test the display of nanoseconds. This
> patch clarifies the expected output for a number of nanoseconds with
> trailing zeroes.
>
> Signed-off-by: Alex Nelson <address@hidden>
> ---
> tests/test-strftime.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/tests/test-strftime.c b/tests/test-strftime.c
> index 2578550..23c3952 100644
> --- a/tests/test-strftime.c
> +++ b/tests/test-strftime.c
> @@ -38,6 +38,7 @@ struct posixtm_test
> static struct posixtm_test const T[] =
> {
> { 1300000000, 0, "%F", "2011-03-13" },
> + { 0, 10, "%T.%N", "00:00:00.000000010" },
> { 0, 0, NULL, NULL }
Thanks. I added a ChangeLog entry and pushed this (the notation '(tiny
change)' in the ChangeLog merely implies that we did not need copyright
assignment, and in no way demeans your contribution).
--
Eric Blake address@hidden +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature