X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-sigaction.c;h=73579d960a23bf23b0b984a48e945e64f703bac8;hb=b187ff0528e2a081392a834e684d1d0c161708a7;hp=63dfd7ad4144d1b4fed5106279097e0cc2cea3d8;hpb=89ae4589dd58d12e7cbcf0e92c1d828c1e430f97;p=gnulib.git diff --git a/tests/test-sigaction.c b/tests/test-sigaction.c index 63dfd7ad4..73579d960 100644 --- a/tests/test-sigaction.c +++ b/tests/test-sigaction.c @@ -1,5 +1,5 @@ /* Test of sigaction() function. - Copyright (C) 2008, 2009 Free Software Foundation, Inc. + Copyright (C) 2008, 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 @@ -24,21 +24,9 @@ SIGNATURE_CHECK (sigaction, int, (int, struct sigaction const *, struct sigaction *)); -#include -#include - -#define ASSERT(expr) \ - do \ - { \ - if (!(expr)) \ - { \ - fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ - fflush (stderr); \ - signal (SIGABRT, SIG_DFL); \ - abort (); \ - } \ - } \ - while (0) +#include + +#include "macros.h" #ifndef SA_NOCLDSTOP # define SA_NOCLDSTOP 0