]> git.ozlabs.org Git - ccan/commitdiff
Should use libtap's exit_status() for return from main.
authorRusty Russell <rusty@vivaldi>
Thu, 28 Feb 2008 02:33:05 +0000 (13:33 +1100)
committerRusty Russell <rusty@vivaldi>
Thu, 28 Feb 2008 02:33:05 +0000 (13:33 +1100)
check_type/test/run.c

index 1f5581e9836d6d792e5568ea732ac48af8a908b3..1bc037e31ac03222ed84dc913b33469b02a16b5b 100644 (file)
@@ -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();
 }