public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [kvm-unit-tests PATCH] ppc64: test rtc parameter
@ 2017-06-01 18:54 Laurent Vivier
  2017-06-02 15:39 ` Thomas Huth
  2017-06-07 14:32 ` Radim Krčmář
  0 siblings, 2 replies; 3+ 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] 3+ messages in thread

end of thread, other threads:[~2017-06-07 14:32 UTC | newest]

Thread overview: 3+ 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-02 15:39 ` Thomas Huth
2017-06-07 14:32 ` Radim Krčmář

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox