Mercurial > hg > octave-shane > gnulib-hg
diff tests/test-symlink.c @ 12496:a48d3d749ca5
Refactor common macros used in tests.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Thu, 24 Dec 2009 21:01:42 +0100 |
parents | 33ab12a7cea2 |
children | 013b270a78b9 |
line wrap: on
line diff
--- a/tests/test-symlink.c +++ b/tests/test-symlink.c @@ -30,17 +30,7 @@ #include <stdlib.h> #include <sys/stat.h> -#define ASSERT(expr) \ - do \ - { \ - if (!(expr)) \ - { \ - fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ - fflush (stderr); \ - abort (); \ - } \ - } \ - while (0) +#include "macros.h" #define BASE "test-symlink.t"