Tests for module 'stdio'.
authorBruno Haible <bruno@clisp.org>
Wed, 21 Feb 2007 02:25:35 +0000 (02:25 +0000)
committerBruno Haible <bruno@clisp.org>
Wed, 21 Feb 2007 02:25:35 +0000 (02:25 +0000)
ChangeLog
modules/stdio-tests [new file with mode: 0644]
tests/test-stdio.c [new file with mode: 0644]

index 0208eda..0262173 100644 (file)
--- 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 (file)
index 0000000..cc0f14e
--- /dev/null
@@ -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 (file)
index 0000000..3f97c9d
--- /dev/null
@@ -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;
+}