summaryrefslogtreecommitdiff
path: root/modules/yesno-tests
diff options
context:
space:
mode:
authorEric Blake <ebb9@byu.net>2007-08-19 15:47:14 +0000
committerEric Blake <ebb9@byu.net>2007-08-19 15:47:14 +0000
commit1cf55d294e17922d56dc703d66fd699f67db7073 (patch)
treee66fe595460f3927e9d84d35d3b2d7a53957d631 /modules/yesno-tests
parent47e1cb35806d3b8aeca05fbd7043b21ca858b92d (diff)
downloadgnulib-1cf55d294e17922d56dc703d66fd699f67db7073.tar.gz
Test yesno in combination with closein.
* lib/yesno.c (yesno): Document use of stdin. * modules/yesno-tests (Files): New module. * tests/test-yesno.c (main): New file. * tests/test-yesno.sh: Likewise.
Diffstat (limited to 'modules/yesno-tests')
-rw-r--r--modules/yesno-tests15
1 files changed, 15 insertions, 0 deletions
diff --git a/modules/yesno-tests b/modules/yesno-tests
new file mode 100644
index 0000000000..ee50100fd9
--- /dev/null
+++ b/modules/yesno-tests
@@ -0,0 +1,15 @@
+Files:
+tests/test-yesno.c
+tests/test-yesno.sh
+
+Depends-on:
+closein
+
+configure.ac:
+
+Makefile.am:
+TESTS += test-yesno.sh
+TESTS_ENVIRONMENT += EXEEXT='@EXEEXT@'
+check_PROGRAMS += test-yesno
+EXTRA_DIST += test-yesno.sh
+test_yesno_LDADD = $(LDADD) @LIBINTL@