X-Git-Url: https://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-uname.c;h=0aa02f0312efd4ed1e95068d9948556e5704c050;hb=fb884a0dca91500cb944b0ecc2e5388fa2c7bcd5;hp=b37ae9b4d74293a1d84f41bf218bffbe6f90102c;hpb=89ae4589dd58d12e7cbcf0e92c1d828c1e430f97;p=gnulib.git diff --git a/tests/test-uname.c b/tests/test-uname.c index b37ae9b4d..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 @@ -24,20 +24,9 @@ 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