From: Rusty Russell Date: Thu, 28 Feb 2008 02:33:05 +0000 (+1100) Subject: Should use libtap's exit_status() for return from main. X-Git-Url: http://git.ozlabs.org/?p=ccan;a=commitdiff_plain;h=6cddf7bb99f4c191da43a7c52e9ce5ffd0cccf82 Should use libtap's exit_status() for return from main. --- diff --git a/check_type/test/run.c b/check_type/test/run.c index 1f5581e9..1bc037e3 100644 --- a/check_type/test/run.c +++ b/check_type/test/run.c @@ -18,5 +18,5 @@ int main(int argc, char *argv[]) ok1(check_types_match(x++, y++) == 0); ok(x == 0 && y == 0, "check_types_match does not evaluate expressions"); - return 0; + return exit_status(); }