X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-priv-set.c;h=49ad388f1f4f512e171352d197fa1a9dede8c6af;hb=fe9ecba865a2015187a862f25ada175a5d3d8aa8;hp=6d3b87ba06c17504274c0cf62a2a2079ce156521;hpb=2d4d7d9d00fe33b6f5291e00a30b6c1016775b74;p=gnulib.git diff --git a/tests/test-priv-set.c b/tests/test-priv-set.c index 6d3b87ba0..49ad388f1 100644 --- a/tests/test-priv-set.c +++ b/tests/test-priv-set.c @@ -1,5 +1,5 @@ /* Test the priv-set module. - 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 @@ -17,28 +17,17 @@ /* Written by David Bartley , 2007. */ #include + #include "priv-set.h" #if HAVE_GETPPRIV # include #endif #include -#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 (void)