changeset 8212:44f4eff95921

Tests for module 'stdio'.
author Bruno Haible <bruno@clisp.org>
date Wed, 21 Feb 2007 02:25:35 +0000
parents a7182ec8249f
children 66f6fc4edebf
files ChangeLog modules/stdio-tests tests/test-stdio.c
diffstat 3 files changed, 44 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Wed Feb 21 02:21:08 2007 +0000
+++ b/ChangeLog	Wed Feb 21 02:25:35 2007 +0000
@@ -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.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/modules/stdio-tests	Wed Feb 21 02:25:35 2007 +0000
@@ -0,0 +1,13 @@
+Files:
+tests/test-stdio.c
+
+Depends-on:
+
+configure.ac:
+
+Makefile.am:
+TESTS += test-stdio
+check_PROGRAMS += test-stdio
+
+License:
+LGPL
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/test-stdio.c	Wed Feb 21 02:25:35 2007 +0000
@@ -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;
+}