X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-freadable.c;h=0582ffd245a8e50521791c46ce8f6b741a8e2626;hb=52d1d6a50dbe687f788b93ccc4a754bbf6ee0d46;hp=becad342ca29d7c672dfd029b6658cae7249c901;hpb=441aa3044f43e5572f58c354f01e6bc070acd5c7;p=gnulib.git diff --git a/tests/test-freadable.c b/tests/test-freadable.c index becad342c..0582ffd24 100644 --- a/tests/test-freadable.c +++ b/tests/test-freadable.c @@ -21,7 +21,8 @@ #include "freadable.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-freadable.tmp" int