]> git.ozlabs.org Git - ccan/blobdiff - check_type/test/run.c
Should use libtap's exit_status() for return from main.
[ccan] / 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();
 }