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
Daniele Lacamera 2026-09-17 00:10:32 +02:00
parent 80f109ea15
commit d0ec587c7a
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}