igt-dev.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] f1
@ 2018-07-25 21:58 Chris Wilson
  2018-07-26  0:30 ` [igt-dev] ✓ Fi.CI.BAT: success for f1 Patchwork
  2018-07-26  3:52 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
  0 siblings, 2 replies; 3+ messages in thread
From: Chris Wilson @ 2018-07-25 21:58 UTC (permalink / raw)
  To: igt-dev

---
 tests/drv_module_reload.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/drv_module_reload.c b/tests/drv_module_reload.c
index d717eb61e..a5199348f 100644
--- a/tests/drv_module_reload.c
+++ b/tests/drv_module_reload.c
@@ -251,6 +251,9 @@ inject_fault(const char *module_name, const char *opt, int fault)
 	igt_assert(fault > 0);
 	snprintf(buf, sizeof(buf), "%s=%d", opt, fault);
 
+	if (fault > 1)
+		return fault;
+
 	if (igt_kmod_load(module_name, buf)) {
 		igt_warn("Failed to load module '%s' with options '%s'\n",
 			 module_name, buf);
-- 
2.18.0

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

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

end of thread, other threads:[~2018-07-26  3:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-25 21:58 [igt-dev] [PATCH i-g-t] f1 Chris Wilson
2018-07-26  0:30 ` [igt-dev] ✓ Fi.CI.BAT: success for f1 Patchwork
2018-07-26  3:52 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).