]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
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 c29ca7857e0d9fc6e31ce3a376a790ac33f48335..fb9509b8abe0646ffe8b4c53efbc20ba1002e19b 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) {