summary refs log tree commit diff stats
path: root/tests/rtc-test.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2019-03-08 16:31:34 +0000
committerPeter Maydell <peter.maydell@linaro.org>2019-03-08 16:31:34 +0000
commit234afe78281b10a798fb97c584e1b677844aaab8 (patch)
tree566eea97b956f3fe8766396999026092de4f231f /tests/rtc-test.c
parent62cfabb52210139843e26c95434356f73a0631b9 (diff)
parent4966c5bd8a6ab17214f54f8016426f95303f9760 (diff)
downloadfocaccia-qemu-234afe78281b10a798fb97c584e1b677844aaab8.tar.gz
focaccia-qemu-234afe78281b10a798fb97c584e1b677844aaab8.zip
Merge remote-tracking branch 'remotes/huth-gitlab/tags/pull-request-2019-03-08' into staging
- qtest fixes
- Some generic clean-ups by Philippe
- macOS CI testing via cirrus-ci.com

# gpg: Signature made Fri 08 Mar 2019 08:58:47 GMT
# gpg:                using RSA key 2ED9D774FE702DB5
# gpg: Good signature from "Thomas Huth <th.huth@gmx.de>" [full]
# gpg:                 aka "Thomas Huth <thuth@redhat.com>" [full]
# gpg:                 aka "Thomas Huth <huth@tuxfamily.org>" [full]
# gpg:                 aka "Thomas Huth <th.huth@posteo.de>" [unknown]
# Primary key fingerprint: 27B8 8847 EEE0 2501 18F3  EAB9 2ED9 D774 FE70 2DB5

* remotes/huth-gitlab/tags/pull-request-2019-03-08:
  cirrus.yml: Add macOS continuous integration task
  tests/bios-tables: Improve portability by searching bash in the $PATH
  vhost-user-test: fix leaks
  tests: Do not use "\n" in g_test_message() strings
  hw/devices: Remove unused TC6393XB_RAM definition
  hw: Remove unused 'hw/devices.h' include
  tests: Move qdict-test-data.txt to tests/data/qobject/

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>

# Conflicts:
#	tests/vhost-user-test.c
Diffstat (limited to 'tests/rtc-test.c')
-rw-r--r--tests/rtc-test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/rtc-test.c b/tests/rtc-test.c
index d7a96cbd79..509be707e3 100644
--- a/tests/rtc-test.c
+++ b/tests/rtc-test.c
@@ -165,9 +165,9 @@ static void check_time(int wiggle)
         t = (long)mktime(datep);
         s = (long)mktime(&start);
         if (t < s) {
-            g_test_message("RTC is %ld second(s) behind wall-clock\n", (s - t));
+            g_test_message("RTC is %ld second(s) behind wall-clock", (s - t));
         } else {
-            g_test_message("RTC is %ld second(s) ahead of wall-clock\n", (t - s));
+            g_test_message("RTC is %ld second(s) ahead of wall-clock", (t - s));
         }
 
         g_assert_cmpint(ABS(t - s), <=, wiggle);