# HG changeset patch # User Bruno Haible # Date 1196682794 -3600 # Node ID e5ba9ffae77984379e1cd98d5c6b6004697c696e # Parent d7da1f24144818dc25d8d6b7c8f594e89eb248c6 Tests for module 'strings'. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -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 --git a/modules/strings-tests b/modules/strings-tests new file mode 100644 --- /dev/null +++ b/modules/strings-tests @@ -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 --git a/tests/test-strings.c b/tests/test-strings.c new file mode 100644 --- /dev/null +++ b/tests/test-strings.c @@ -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; +}