From f894506efba5f32315abc75a9f0bfa87d957b75b Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Mon, 3 Dec 2007 12:53:14 +0100 Subject: [PATCH] Tests for module 'strings'. --- ChangeLog | 3 +++ modules/strings-tests | 13 +++++++++++++ tests/test-strings.c | 27 +++++++++++++++++++++++++++ 3 files changed, 43 insertions(+) create mode 100644 modules/strings-tests create mode 100644 tests/test-strings.c diff --git a/ChangeLog b/ChangeLog index b6747ee51..42cb96996 100644 --- 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 index 000000000..9fffe8495 --- /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 index 000000000..81e7362fb --- /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; +} -- 2.11.0