X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-uname.c;h=322b58b0231dd245f92bc510b35acb3d104bcac5;hb=758fee15d9627556a3f0011973e83afb8d56d9be;hp=b37ae9b4d74293a1d84f41bf218bffbe6f90102c;hpb=89ae4589dd58d12e7cbcf0e92c1d828c1e430f97;p=gnulib.git diff --git a/tests/test-uname.c b/tests/test-uname.c index b37ae9b4d..322b58b02 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, 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 @@ -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