X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-popen.h;h=f3df9f94b0d1039785d4caf45b6d60b5094c144e;hb=41d7de2bc881ddb3ce8a8a40552724ebb893108a;hp=b0d2e6fefa49c6f2134a0853704d7e4ef9a32cb2;hpb=2d4d7d9d00fe33b6f5291e00a30b6c1016775b74;p=gnulib.git diff --git a/tests/test-popen.h b/tests/test-popen.h index b0d2e6fef..f3df9f94b 100644 --- a/tests/test-popen.h +++ b/tests/test-popen.h @@ -1,5 +1,5 @@ /* Test of opening a subcommand stream. - 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,17 +24,7 @@ #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" int main (int argc, char **argv)