X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-strverscmp.c;h=9a9da1025ea71d3ba73455ecc5d330f7615f834e;hb=d59013190eb71a562203341f13c108365bfd8e74;hp=72b574d0fcef380a73786d7561e1c889e2dde8dd;hpb=89ae4589dd58d12e7cbcf0e92c1d828c1e430f97;p=gnulib.git diff --git a/tests/test-strverscmp.c b/tests/test-strverscmp.c index 72b574d0f..9a9da1025 100644 --- a/tests/test-strverscmp.c +++ b/tests/test-strverscmp.c @@ -1,5 +1,5 @@ /* Test of strverscmp() function. - Copyright (C) 2008, 2009 Free Software Foundation, Inc. + Copyright (C) 2008-2011 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,20 +24,7 @@ #include "signature.h" SIGNATURE_CHECK (strverscmp, int, (const char *, const char *)); -#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)