mirror of https://github.com/wolfSSL/wolfBoot.git
Use literal exit codes in unit-custom-trailer-nopart
Replace EXIT_SUCCESS/EXIT_FAILURE with 0/1; the test does not include <stdlib.h> and does not need the named macros. Verification: make -C tools/unit-tests unit-custom-trailer-nopart exits 0; suite runs 1 check, 0 failures.pull/892/head
parent
80f109ea15
commit
d0ec587c7a
|
|
@ -125,5 +125,5 @@ int main(int argc, char *argv[])
|
|||
srunner_free(sr);
|
||||
(void)argc;
|
||||
(void)argv;
|
||||
return (failed == 0) ? EXIT_SUCCESS : EXIT_FAILURE;
|
||||
return (failed == 0) ? 0 : 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue