[lvm-devel] master - test: Fix a precedence bug in the runner.
Petr Rockai
mornfall at fedoraproject.org
Thu Feb 5 13:41:42 UTC 2015
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=10c992e861175498b9007067db493d5ba0a97727
Commit: 10c992e861175498b9007067db493d5ba0a97727
Parent: b3caba849d28b7dd82a89f9cedbc0e9d0de273b7
Author: Petr Rockai <prockai at redhat.com>
AuthorDate: Sat Jun 28 11:15:28 2014 +0200
Committer: Petr Rockai <prockai at redhat.com>
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(-)
diff --git a/test/lib/runner.cpp b/test/lib/runner.cpp
index 027f216..303b66d 100644
--- a/test/lib/runner.cpp
+++ b/test/lib/runner.cpp
@@ -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 );
More information about the lvm-devel
mailing list