public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] tests/gem_exec_capture: Compare instead of assign in an assert
@ 2019-01-28 12:37 Petri Latvala
  2019-01-28 12:40 ` Chris Wilson
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Petri Latvala @ 2019-01-28 12:37 UTC (permalink / raw)
  To: igt-dev; +Cc: Petri Latvala

Signed-off-by: Petri Latvala <petri.latvala@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
---
 tests/i915/gem_exec_capture.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/i915/gem_exec_capture.c b/tests/i915/gem_exec_capture.c
index 49394c31..eca73ab1 100644
--- a/tests/i915/gem_exec_capture.c
+++ b/tests/i915/gem_exec_capture.c
@@ -445,7 +445,7 @@ static void many(int fd, int dir, uint64_t size, unsigned int flags)
 		addr = strtoul(str, &str, 16);
 		addr <<= 32;
 		addr |= strtoul(str + 1, &str, 16);
-		igt_assert(*str++ = '\n');
+		igt_assert(*str++ == '\n');
 
 		if (!(*str == ':' || *str == '~'))
 			continue;
-- 
2.19.1

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

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

end of thread, other threads:[~2019-01-28 16:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-28 12:37 [igt-dev] [PATCH i-g-t] tests/gem_exec_capture: Compare instead of assign in an assert Petri Latvala
2019-01-28 12:40 ` Chris Wilson
2019-01-28 13:22 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2019-01-28 16:43 ` [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