X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-fsync.c;h=84b3a7075868a4c81c23c79d9cc4916474d4469c;hb=7cd4c661c22c16e59371706998561c66fbabaa3a;hp=bf789a2aa63556647f79ec94ed7ac8ea093934cb;hpb=89ae4589dd58d12e7cbcf0e92c1d828c1e430f97;p=gnulib.git diff --git a/tests/test-fsync.c b/tests/test-fsync.c index bf789a2aa..84b3a7075 100644 --- a/tests/test-fsync.c +++ b/tests/test-fsync.c @@ -1,9 +1,9 @@ /* Test of fsync() 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 - the Free Software Foundation; either version 2 of the License, or + the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, @@ -22,20 +22,9 @@ SIGNATURE_CHECK (fsync, int, (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" int main (void)