X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/754302080786fe46c3ce431b6f96b796043e4f62..b3bf9b9df95137a3a43248be9599d919b04877af:/wildtest.c diff --git a/wildtest.c b/wildtest.c index 2c25c77f..07351a15 100644 --- a/wildtest.c +++ b/wildtest.c @@ -1,13 +1,28 @@ /* -** wildmatch test suite. -*/ + * Test suite for the wildmatch code. + * + * Copyright (C) 2003-2009 Wayne Davison + * + * 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 + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, visit the http://fsf.org website. + */ /*#define COMPARE_WITH_FNMATCH*/ #define WILD_TEST_ITERATIONS #include "lib/wildmatch.c" -#include "popt.h" +#include #ifdef COMPARE_WITH_FNMATCH #include @@ -16,6 +31,7 @@ int fnmatch_errors = 0; #endif int wildmatch_errors = 0; +char number_separator = ','; typedef char bool;