summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2007-02-21 02:25:35 +0000
committerBruno Haible <bruno@clisp.org>2007-02-21 02:25:35 +0000
commit70005641bea8d83a93a98dd3a23ddd3a6b2b7aa1 (patch)
treebeab97e66b3a0888a017d80dd386c0f2091e6c5f
parent0b24be3e4181cd46822f4646172c48deff81d9a2 (diff)
downloadgnulib-70005641bea8d83a93a98dd3a23ddd3a6b2b7aa1.tar.gz
Tests for module 'stdio'.
-rw-r--r--ChangeLog3
-rw-r--r--modules/stdio-tests13
-rw-r--r--tests/test-stdio.c28
3 files changed, 44 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 0208eda533..0262173318 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2007-02-20 Bruno Haible <bruno@clisp.org>
+ * modules/stdio-tests: New file.
+ * tests/test-stdio.c: New file.
+
* modules/vsnprintf (Files): Remove lib/vsnprintf.h.
(Depends-on): Add stdio.
(configure.ac): Invoke gl_STDIO_MODULE_INDICATOR.
diff --git a/modules/stdio-tests b/modules/stdio-tests
new file mode 100644
index 0000000000..cc0f14ec24
--- /dev/null
+++ b/modules/stdio-tests
@@ -0,0 +1,13 @@
+Files:
+tests/test-stdio.c
+
+Depends-on:
+
+configure.ac:
+
+Makefile.am:
+TESTS += test-stdio
+check_PROGRAMS += test-stdio
+
+License:
+LGPL
diff --git a/tests/test-stdio.c b/tests/test-stdio.c
new file mode 100644
index 0000000000..3f97c9d8f4
--- /dev/null
+++ b/tests/test-stdio.c
@@ -0,0 +1,28 @@
+/* Test of <stdio.h> 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 2, 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, write to the Free Software Foundation,
+ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
+
+/* Written by Bruno Haible <bruno@clisp.org>, 2007. */
+
+#include <config.h>
+
+#include <stdio.h>
+
+int
+main ()
+{
+ return 0;
+}