Skip to contentSkip to conversation

master - test: Fix a precedence bug in the runner.

PATCH Petr Rockai 1 participant 1 message Feb 5, 2015

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=10c992e861175498b9007067db493d5ba0a97727
Commit:        10c992e861175498b9007067db493d5ba0a97727
Parent:        b3caba849d28b7dd82a89f9cedbc0e9d0de273b7
Author:        Petr Rockai <[email protected]>
AuthorDate:    Sat Jun 28 11:15:28 2014 +0200
Committer:     Petr Rockai <[email protected]>
CommitterDate: Thu Feb 5 13:47:18 2015 +0100

test: Fix a precedence bug in the runner.

---
 test/lib/runner.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
test/lib/runner.cpp +1 -1
index 027f216..303b66d 100644
@@ -302,7 +302,7 @@ struct TestCase {
 			close(fd_debuglog);
 		} */
 
-		if ( iobuf && r == Journal::FAILED || r == Journal::TIMEOUT )
+		if ( iobuf && ( r == Journal::FAILED || r == Journal::TIMEOUT ) )
 			iobuf->dump( std::cout );
 
 		journal->done( id(), r );