X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-uname.c;h=322b58b0231dd245f92bc510b35acb3d104bcac5;hb=3b905e0ad791b750d0a471c90ecaacf2345a39c3;hp=fa42a251a61c3f9e991285c1bcb0bbbb49003ccb;hpb=8e3dabe79abcfcc03fb86a6cbcb85b468dd34be8;p=gnulib.git diff --git a/tests/test-uname.c b/tests/test-uname.c index fa42a251a..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 @@ -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