X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-uname.c;h=0aa02f0312efd4ed1e95068d9948556e5704c050;hb=a77413333408e54b8d6c4e19918098794cef4b4b;hp=a458698a61263b20ba89d67851d474d3fc2f4e8f;hpb=2d4d7d9d00fe33b6f5291e00a30b6c1016775b74;p=gnulib.git diff --git a/tests/test-uname.c b/tests/test-uname.c index a458698a6..0aa02f031 100644 --- a/tests/test-uname.c +++ b/tests/test-uname.c @@ -1,5 +1,5 @@ /* Test of system information. - Copyright (C) 2009 Free Software Foundation, Inc. + Copyright (C) 2009-2013 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,21 +20,13 @@ #include +#include "signature.h" +SIGNATURE_CHECK (uname, int, (struct utsname *)); + #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" /* This program can be called with no arguments, then it performs a unit