]> granicus.if.org Git - sudo/commitdiff
Add missing exit value.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 30 Jun 2015 18:19:24 +0000 (12:19 -0600)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 30 Jun 2015 18:19:24 +0000 (12:19 -0600)
lib/util/regress/parse_gids/parse_gids_test.c
lib/util/regress/strsplit/strsplit_test.c

index 13c4d544a00197bf4dcf043ccd2ad5bf9abde80e..3df23c48c79f0a77eb6a963ef7eca8b0af91d39b 100644 (file)
@@ -110,4 +110,5 @@ main(int argc, char *argv[])
        printf("%s: %d tests run, %d errors, %d%% success rate\n",
            getprogname(), ntests, errors, (ntests - errors) * 100 / ntests);
     }
+    exit(errors);
 }
index 4a2919eae407ac8c46eed7ce0ca65c71d890d6d5..5dacbf627c88bc991960de59ff1cf751dcdbcdbf 100644 (file)
@@ -107,4 +107,5 @@ main(int argc, char *argv[])
        printf("%s: %d tests run, %d errors, %d%% success rate\n",
            getprogname(), ntests, errors, (ntests - errors) * 100 / ntests);
     }
+    exit(errors);
 }