X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-openat.c;h=a79081eb8e2d9fb2b6c3e244db103f83282edb87;hb=c886605fb18a77672345c3a171e0f76818d409b8;hp=77185cc45a42e4821f4e178b3b963976518ccfdd;hpb=7f013da1190d9a4483dafd50a865aad9c651817c;p=gnulib.git diff --git a/tests/test-openat.c b/tests/test-openat.c index 77185cc45..a79081eb8 100644 --- a/tests/test-openat.c +++ b/tests/test-openat.c @@ -1,5 +1,5 @@ /* Test that openat works. - Copyright (C) 2009 Free Software Foundation, Inc. + Copyright (C) 2009, 2010 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 @@ -20,24 +20,16 @@ #include +#include "signature.h" +SIGNATURE_CHECK (openat, int, (int, char const *, int, ...)); + #include #include #include #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" #define BASE "test-openat.t"