public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Laurent Vivier <lvivier@redhat.com>
To: kvm@vger.kernel.org
Cc: "Paolo Bonzini" <pbonzini@redhat.com>,
	"Thomas Huth" <thuth@redhat.com>,
	"Andrew Jones" <drjones@redhat.com>,
	kvm-ppc@vger.kernel.org, "Radim Krčmář" <rkrcmar@redhat.com>,
	"Laurent Vivier" <lvivier@redhat.com>
Subject: [kvm-unit-tests PATCH] ppc64: test rtc parameter
Date: Thu,  1 Jun 2017 20:54:28 +0200	[thread overview]
Message-ID: <20170601185428.7538-1-lvivier@redhat.com> (raw)

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

             reply	other threads:[~2017-06-01 18:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-01 18:54 Laurent Vivier [this message]
2017-06-02 15:39 ` [kvm-unit-tests PATCH] ppc64: test rtc parameter Thomas Huth
2017-06-07 14:32 ` Radim Krčmář

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170601185428.7538-1-lvivier@redhat.com \
    --to=lvivier@redhat.com \
    --cc=drjones@redhat.com \
    --cc=kvm-ppc@vger.kernel.org \
    --cc=kvm@vger.kernel.org \
    --cc=pbonzini@redhat.com \
    --cc=rkrcmar@redhat.com \
    --cc=thuth@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox