X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-filevercmp.c;h=3572d76dfb687b3a2f0d6c3e1d11c89c2674187f;hb=6815bc73969d38c2226cf6e3366c1e4f4f756ba0;hp=4c29d0c8d9dc6e5efeb3f43053936795f67d5a5e;hpb=441aa3044f43e5572f58c354f01e6bc070acd5c7;p=gnulib.git diff --git a/tests/test-filevercmp.c b/tests/test-filevercmp.c index 4c29d0c8d..3572d76df 100644 --- a/tests/test-filevercmp.c +++ b/tests/test-filevercmp.c @@ -1,5 +1,5 @@ /* Test of filevercmp() 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 @@ -19,20 +19,9 @@ #include "filevercmp.h" -#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" /* set of well sorted examples */ static const char *const examples[] =