X-Git-Url: https://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-c-strstr.c;h=b5dbb55a26026f0ebdc1ee809ea70834ac9be6c2;hb=987e5651e8d1c5aa933c9ce88562806af4093702;hp=2b2ebf91cc0a7bba77800e7722ea3a8f6800e88d;hpb=effbadc5cdd5c424f97367d66297e0e2aa057d63;p=gnulib.git diff --git a/tests/test-c-strstr.c b/tests/test-c-strstr.c index 2b2ebf91c..b5dbb55a2 100644 --- a/tests/test-c-strstr.c +++ b/tests/test-c-strstr.c @@ -1,5 +1,5 @@ /* Test of searching in a string. - Copyright (C) 2007-2008 Free Software Foundation, Inc. + Copyright (C) 2007-2009 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,10 @@ #include "c-strstr.h" -#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" int main ()