# HG changeset patch # User Bruno Haible # Date 1196682794 -3600 # Node ID 986c2d658c651e3b9ce75cfd2213d0ae44ae134b # Parent 7ddcc3879a1db64f180cbd6f6e3a5989544d69c2 Tests for module 'strings'. diff -r 7ddcc3879a1d -r 986c2d658c65 ChangeLog --- a/ChangeLog Mon Dec 03 12:50:59 2007 +0100 +++ b/ChangeLog Mon Dec 03 12:53:14 2007 +0100 @@ -1,5 +1,8 @@ 2007-12-02 Bruno Haible + * modules/strings-tests: New file. + * tests/test-strings.c: New file. + Move declarations of str{,n}casecmp from to . * lib/strings.in.h: New file. * lib/string.in.h (strcasecmp, strncasecmp): Remove declarations. diff -r 7ddcc3879a1d -r 986c2d658c65 modules/strings-tests --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/modules/strings-tests Mon Dec 03 12:53:14 2007 +0100 @@ -0,0 +1,13 @@ +Files: +tests/test-strings.c + +Depends-on: + +configure.ac: + +Makefile.am: +TESTS += test-strings +check_PROGRAMS += test-strings + +License: +LGPL diff -r 7ddcc3879a1d -r 986c2d658c65 tests/test-strings.c --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/test-strings.c Mon Dec 03 12:53:14 2007 +0100 @@ -0,0 +1,27 @@ +/* Test of substitute. + Copyright (C) 2007 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 + 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, see . */ + +/* Written by Bruno Haible , 2007. */ + +#include + +#include + +int +main () +{ + return 0; +}