All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-trivial] [PATCH] qtest: Add assertion that required environment variable is set
@ 2015-04-01 18:00 ` Ed Maste
  0 siblings, 0 replies; 14+ messages in thread
From: Ed Maste @ 2015-04-01 18:00 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-trivial

Signed-off-by: Ed Maste <emaste@freebsd.org>
---
 tests/libqtest.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/libqtest.c b/tests/libqtest.c
index 12d65bd..54550a8 100644
--- a/tests/libqtest.c
+++ b/tests/libqtest.c
@@ -453,6 +453,7 @@ void qtest_qmp_discard_response(QTestState *s, const char *fmt, ...)
 const char *qtest_get_arch(void)
 {
     const char *qemu = getenv("QTEST_QEMU_BINARY");
+    g_assert(qemu != NULL);
     const char *end = strrchr(qemu, '/');
 
     return end + strlen("/qemu-system-");
-- 
2.2.2



^ permalink raw reply related	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2015-04-06 17:46 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-01 18:00 [Qemu-trivial] [PATCH] qtest: Add assertion that required environment variable is set Ed Maste
2015-04-01 18:00 ` [Qemu-devel] " Ed Maste
2015-04-01 21:06 ` [Qemu-trivial] " John Snow
2015-04-01 21:06   ` John Snow
2015-04-01 21:14   ` [Qemu-trivial] " Paolo Bonzini
2015-04-01 21:14     ` [Qemu-devel] " Paolo Bonzini
2015-04-01 22:45     ` [Qemu-trivial] " Peter Maydell
2015-04-01 22:45       ` Peter Maydell
2015-04-02 19:31       ` [Qemu-trivial] " Ed Maste
2015-04-02 19:31         ` Ed Maste
2015-04-03 11:18         ` [Qemu-trivial] " Peter Maydell
2015-04-03 11:18           ` Peter Maydell
2015-04-06 17:46           ` [Qemu-trivial] " John Snow
2015-04-06 17:46             ` John Snow

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.