X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-fwritable.c;h=f4c40824b3b2fc5fd63978ea72c60fca460d24fb;hb=9a3454362bbd242121df2ba63aef92fc96a1e390;hp=a0659edc0c4870f460f832d23910ae21b7500b9e;hpb=7becd9d708425924f3a402fdd3c6e18ba2a7e4e3;p=gnulib.git diff --git a/tests/test-fwritable.c b/tests/test-fwritable.c index a0659edc0..f4c40824b 100644 --- a/tests/test-fwritable.c +++ b/tests/test-fwritable.c @@ -21,7 +21,8 @@ #include "fwritable.h" #include -#include + +#include "macros.h" /* None of the files accessed by this test are large, so disable the fseek link warning if we are not using the gnulib fseek module. */ @@ -29,18 +30,6 @@ # undef fseek #endif -#define ASSERT(expr) \ - do \ - { \ - if (!(expr)) \ - { \ - fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ - fflush (stderr); \ - abort (); \ - } \ - } \ - while (0) - #define TESTFILE "t-fwritable.tmp" int