summaryrefslogtreecommitdiff
path: root/modules/sethostname-tests
diff options
context:
space:
mode:
authorBen Walton <bwalton@artsci.utoronto.ca>2011-12-02 23:04:19 -0500
committerBruno Haible <bruno@clisp.org>2011-12-03 14:28:31 +0100
commit146ac55d8a5825569c84a1be5561cf8a624bfe1f (patch)
tree0052ad9918b41c93826982bb924db27df90dbbef /modules/sethostname-tests
parentcea318a913148d825c03a4e45f4553e4cb4e2880 (diff)
downloadgnulib-146ac55d8a5825569c84a1be5561cf8a624bfe1f.tar.gz
Add a test suite for the sethostname module.
Provide a module that tests the functionality of sethostname(). * modules/sethostname-tests: New file. A test program for the sethostname module. * tests/test-sethostname.c: Likewise. Signed-off-by: Ben Walton <bwalton@artsci.utoronto.ca>
Diffstat (limited to 'modules/sethostname-tests')
-rw-r--r--modules/sethostname-tests13
1 files changed, 13 insertions, 0 deletions
diff --git a/modules/sethostname-tests b/modules/sethostname-tests
new file mode 100644
index 0000000000..040b380bf5
--- /dev/null
+++ b/modules/sethostname-tests
@@ -0,0 +1,13 @@
+Files:
+tests/signature.h
+tests/test-sethostname.c
+tests/macros.h
+
+Depends-on:
+sys_types
+
+configure.ac:
+
+Makefile.am:
+TESTS += test-sethostname
+check_PROGRAMS += test-sethostname