X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-strsignal.c;h=4194c3db5dad563b432d58571e967b28626310f1;hb=cd56634a4a8179fd5a4419fbb3e27211b042ab1c;hp=bf97dc683c681bdfffd29c2c084a9652279ef601;hpb=89ae4589dd58d12e7cbcf0e92c1d828c1e430f97;p=gnulib.git
diff --git a/tests/test-strsignal.c b/tests/test-strsignal.c
index bf97dc683..4194c3db5 100644
--- a/tests/test-strsignal.c
+++ b/tests/test-strsignal.c
@@ -1,5 +1,5 @@
/* Test of strsignal() function.
- Copyright (C) 2008, 2009 Free Software Foundation, Inc.
+ Copyright (C) 2008-2014 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
@@ -12,8 +12,7 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
+ along with this program; if not, see . */
/* Written by Colin Watson , 2008. */
@@ -25,20 +24,8 @@
SIGNATURE_CHECK (strsignal, char *, (int));
#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"
#if HAVE_DECL_SYS_SIGLIST
# define ASSERT_DESCRIPTION(got, expect)