diff --git a/test/litest.c b/test/litest.c index 9f38ee16..c5c72dce 100644 --- a/test/litest.c +++ b/test/litest.c @@ -4100,6 +4100,6 @@ main(int argc, char **argv) #endif } - return failed_tests; + return min(failed_tests, 255); } #endif