]> sourceware.org Git - lvm2.git/commitdiff
test: Fix a precedence bug in the runner.
authorPetr Rockai <prockai@redhat.com>
Sat, 28 Jun 2014 09:15:28 +0000 (11:15 +0200)
committerPetr Rockai <prockai@redhat.com>
Thu, 5 Feb 2015 12:47:18 +0000 (13:47 +0100)
test/lib/runner.cpp

index 027f216e708138851e75b249aaad6a6ce7469420..303b66d230c953be7ad6d1601a330ba12b785efe 100644 (file)
@@ -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 );
This page took 0.038723 seconds and 5 git commands to generate.