X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-getgroups.c;h=1cc726e813698c954a265bdbf8952d33d5418a52;hb=a4f38ec6be21630e9640cf8ead742c3a8d733fc2;hp=1d3ca98e3af0349626d0d9f3219ed4b434c6e852;hpb=89ae4589dd58d12e7cbcf0e92c1d828c1e430f97;p=gnulib.git diff --git a/tests/test-getgroups.c b/tests/test-getgroups.c index 1d3ca98e3..1cc726e81 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, 2010 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 @@ -28,17 +28,7 @@ SIGNATURE_CHECK (getgroups, int, (int, gid_t[])); #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)