X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-getgroups.c;h=f197cd90f7e55edeebac39ad5ad71ef21776327f;hb=43fd1e7b5a01623bc59fcf68254ce5be8e0b8d42;hp=6d4a5140fddb8ccec89db63b83fdf2f4d7d37f49;hpb=169ab5dec0e562548959482e3ff63c96c340e0d1;p=gnulib.git diff --git a/tests/test-getgroups.c b/tests/test-getgroups.c index 6d4a5140f..f197cd90f 100644 --- a/tests/test-getgroups.c +++ b/tests/test-getgroups.c @@ -1,5 +1,5 @@ /* Tests of getgroups. - Copyright (C) 2009 Free Software Foundation, Inc. + Copyright (C) 2009-2013 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -20,22 +20,15 @@ #include +#include "signature.h" +SIGNATURE_CHECK (getgroups, int, (int, gid_t[])); + #include #include #include #include -#define ASSERT(expr) \ - do \ - { \ - if (!(expr)) \ - { \ - fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ - fflush (stderr); \ - abort (); \ - } \ - } \ - while (0) +#include "macros.h" int main (int argc, char **argv _GL_UNUSED)