* [kvm-unit-tests PATCH] ppc64: test rtc parameter
@ 2017-06-01 18:54 ` Laurent Vivier
0 siblings, 0 replies; 6+ messages in thread
From: Laurent Vivier @ 2017-06-01 18:54 UTC (permalink / raw)
To: kvm
Cc: Paolo Bonzini, Thomas Huth, Andrew Jones, kvm-ppc,
Radim Krčmář,
Laurent Vivier
Add a test using get-time-of-day to check "-rtc base=XXXX-XX-XX"
is correct.
Signed-off-by: Laurent Vivier <lvivier@redhat.com>
---
powerpc/unittests.cfg | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/powerpc/unittests.cfg b/powerpc/unittests.cfg
index fb6b70e..4eda258 100644
--- a/powerpc/unittests.cfg
+++ b/powerpc/unittests.cfg
@@ -45,6 +45,12 @@ timeout = 5
extra_params = -append "get-time-of-day date=$(date +%s)"
groups = rtas
+[rtas-get-time-of-day-base]
+file = rtas.elf
+timeout = 5
+extra_params = -rtc base="2006-06-17" -append "get-time-of-day date=$(date --date="2006-06-17 UTC" +%s)"
+groups = rtas
+
[rtas-set-time-of-day]
file = rtas.elf
extra_params = -append "set-time-of-day"
--
2.9.4
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [kvm-unit-tests PATCH] ppc64: test rtc parameter
@ 2017-06-01 18:54 ` Laurent Vivier
0 siblings, 0 replies; 6+ messages in thread
From: Laurent Vivier @ 2017-06-01 18:54 UTC (permalink / raw)
To: kvm
Cc: Paolo Bonzini, Thomas Huth, Andrew Jones, kvm-ppc,
Radim Krčmář,
Laurent Vivier
Add a test using get-time-of-day to check "-rtc base=XXXX-XX-XX"
is correct.
Signed-off-by: Laurent Vivier <lvivier@redhat.com>
---
powerpc/unittests.cfg | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/powerpc/unittests.cfg b/powerpc/unittests.cfg
index fb6b70e..4eda258 100644
--- a/powerpc/unittests.cfg
+++ b/powerpc/unittests.cfg
@@ -45,6 +45,12 @@ timeout = 5
extra_params = -append "get-time-of-day date=$(date +%s)"
groups = rtas
+[rtas-get-time-of-day-base]
+file = rtas.elf
+timeout = 5
+extra_params = -rtc base="2006-06-17" -append "get-time-of-day date=$(date --date="2006-06-17 UTC" +%s)"
+groups = rtas
+
[rtas-set-time-of-day]
file = rtas.elf
extra_params = -append "set-time-of-day"
--
2.9.4
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [kvm-unit-tests PATCH] ppc64: test rtc parameter
2017-06-01 18:54 ` Laurent Vivier
@ 2017-06-02 15:39 ` Thomas Huth
-1 siblings, 0 replies; 6+ messages in thread
From: Thomas Huth @ 2017-06-02 15:39 UTC (permalink / raw)
To: Laurent Vivier, kvm
Cc: Paolo Bonzini, Andrew Jones, kvm-ppc, Radim Krčmář
On 01.06.2017 20:54, Laurent Vivier wrote:
> Add a test using get-time-of-day to check "-rtc base=XXXX-XX-XX"
> is correct.
>
> Signed-off-by: Laurent Vivier <lvivier@redhat.com>
> ---
> powerpc/unittests.cfg | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/powerpc/unittests.cfg b/powerpc/unittests.cfg
> index fb6b70e..4eda258 100644
> --- a/powerpc/unittests.cfg
> +++ b/powerpc/unittests.cfg
> @@ -45,6 +45,12 @@ timeout = 5
> extra_params = -append "get-time-of-day date=$(date +%s)"
> groups = rtas
>
> +[rtas-get-time-of-day-base]
> +file = rtas.elf
> +timeout = 5
> +extra_params = -rtc base="2006-06-17" -append "get-time-of-day date=$(date --date="2006-06-17 UTC" +%s)"
> +groups = rtas
> +
> [rtas-set-time-of-day]
> file = rtas.elf
> extra_params = -append "set-time-of-day"
>
Reviewed-by: Thomas Huth <thuth@redhat.com>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [kvm-unit-tests PATCH] ppc64: test rtc parameter
@ 2017-06-02 15:39 ` Thomas Huth
0 siblings, 0 replies; 6+ messages in thread
From: Thomas Huth @ 2017-06-02 15:39 UTC (permalink / raw)
To: Laurent Vivier, kvm
Cc: Paolo Bonzini, Andrew Jones, kvm-ppc, Radim Krčmář
On 01.06.2017 20:54, Laurent Vivier wrote:
> Add a test using get-time-of-day to check "-rtc base=XXXX-XX-XX"
> is correct.
>
> Signed-off-by: Laurent Vivier <lvivier@redhat.com>
> ---
> powerpc/unittests.cfg | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/powerpc/unittests.cfg b/powerpc/unittests.cfg
> index fb6b70e..4eda258 100644
> --- a/powerpc/unittests.cfg
> +++ b/powerpc/unittests.cfg
> @@ -45,6 +45,12 @@ timeout = 5
> extra_params = -append "get-time-of-day date=$(date +%s)"
> groups = rtas
>
> +[rtas-get-time-of-day-base]
> +file = rtas.elf
> +timeout = 5
> +extra_params = -rtc base="2006-06-17" -append "get-time-of-day date=$(date --date="2006-06-17 UTC" +%s)"
> +groups = rtas
> +
> [rtas-set-time-of-day]
> file = rtas.elf
> extra_params = -append "set-time-of-day"
>
Reviewed-by: Thomas Huth <thuth@redhat.com>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [kvm-unit-tests PATCH] ppc64: test rtc parameter
2017-06-01 18:54 ` Laurent Vivier
@ 2017-06-07 14:32 ` Radim Krčmář
-1 siblings, 0 replies; 6+ messages in thread
From: Radim Krčmář @ 2017-06-07 14:32 UTC (permalink / raw)
To: Laurent Vivier; +Cc: kvm, Paolo Bonzini, Thomas Huth, Andrew Jones, kvm-ppc
2017-06-01 20:54+0200, Laurent Vivier:
> Add a test using get-time-of-day to check "-rtc base=XXXX-XX-XX"
> is correct.
>
> Signed-off-by: Laurent Vivier <lvivier@redhat.com>
> ---
Applied, thanks.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [kvm-unit-tests PATCH] ppc64: test rtc parameter
@ 2017-06-07 14:32 ` Radim Krčmář
0 siblings, 0 replies; 6+ messages in thread
From: Radim Krčmář @ 2017-06-07 14:32 UTC (permalink / raw)
To: Laurent Vivier; +Cc: kvm, Paolo Bonzini, Thomas Huth, Andrew Jones, kvm-ppc
2017-06-01 20:54+0200, Laurent Vivier:
> Add a test using get-time-of-day to check "-rtc base=XXXX-XX-XX"
> is correct.
>
> Signed-off-by: Laurent Vivier <lvivier@redhat.com>
> ---
Applied, thanks.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2017-06-07 14:32 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-01 18:54 [kvm-unit-tests PATCH] ppc64: test rtc parameter Laurent Vivier
2017-06-01 18:54 ` Laurent Vivier
2017-06-02 15:39 ` Thomas Huth
2017-06-02 15:39 ` Thomas Huth
2017-06-07 14:32 ` Radim Krčmář
2017-06-07 14:32 ` Radim Krčmář
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.