X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-uname.c;h=5e86e8b19cdead920fd941632675603865eca907;hb=b8c5e24996c9626f03890cd986fc1fb7b17fa610;hp=a458698a61263b20ba89d67851d474d3fc2f4e8f;hpb=441aa3044f43e5572f58c354f01e6bc070acd5c7;p=gnulib.git diff --git a/tests/test-uname.c b/tests/test-uname.c index a458698a6..5e86e8b19 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-2012 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