testsuite: Add braces
authorLucas De Marchi <lucas.demarchi@intel.com>
Fri, 30 May 2014 13:20:19 +0000 (10:20 -0300)
committerLucas De Marchi <lucas.demarchi@intel.com>
Fri, 30 May 2014 13:20:19 +0000 (10:20 -0300)
testsuite/testsuite.c

index c29ca78..fb9509b 100644 (file)
@@ -774,10 +774,11 @@ static inline int test_run_parent(const struct test *t, int fdout[2],
                                        t->name);
                                err = EXIT_FAILURE;
                        }
-               } else
+               } else {
                        ERR("%sFAILED%s: %s\n",
                                        ANSI_HIGHLIGHT_RED_ON, ANSI_HIGHLIGHT_OFF,
                                        t->name);
+               }
        } else {
                if (err == 0) {
                        if (matchout) {