summaryrefslogtreecommitdiff
path: root/tests/rtas-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rtas-test.c')
-rw-r--r--tests/rtas-test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/rtas-test.c b/tests/rtas-test.c
index 34a692163f..009bda6d23 100644
--- a/tests/rtas-test.c
+++ b/tests/rtas-test.c
@@ -14,6 +14,7 @@ static void test_rtas_get_time_of_day(void)
time_t t1, t2;
qs = qtest_spapr_boot("-machine pseries");
+ global_qtest = qs->qts;
t1 = time(NULL);
ret = qrtas_get_time_of_day(qs->qts, qs->alloc, &tm, &ns);