X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-pipe-filter-ii1.c;h=58cc1926c5b6f2be609b49253630f30450a7e4c0;hb=fe9ecba865a2015187a862f25ada175a5d3d8aa8;hp=310a7bba7d59c27d029a0aef830471609a762ce1;hpb=441aa3044f43e5572f58c354f01e6bc070acd5c7;p=gnulib.git diff --git a/tests/test-pipe-filter-ii1.c b/tests/test-pipe-filter-ii1.c index 310a7bba7..58cc1926c 100644 --- a/tests/test-pipe-filter-ii1.c +++ b/tests/test-pipe-filter-ii1.c @@ -1,5 +1,5 @@ /* Test of filtering of data through a subprocess. - Copyright (C) 2009 Free Software Foundation, Inc. + Copyright (C) 2009, 2010 Free Software Foundation, Inc. Written by Bruno Haible , 2009. This program is free software: you can redistribute it and/or modify @@ -19,25 +19,11 @@ #include "pipe-filter.h" -#include -#include - #include "binary-io.h" #include "c-ctype.h" #include "read-file.h" #include "progname.h" - -#define ASSERT(expr) \ - do \ - { \ - if (!(expr)) \ - { \ - fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ - fflush (stderr); \ - abort (); \ - } \ - } \ - while (0) +#include "macros.h" /* Pipe a text file through 'tr a-z A-Z', which converts ASCII characters from