doc: use ASCII in .texi files where UTF-8 isn't needed
[gnulib.git] / modules / sethostname-tests
index 040b380..ea4a81e 100644 (file)
@@ -1,13 +1,17 @@
 Files:
+tests/test-sethostname1.c
+tests/test-sethostname2.c
 tests/signature.h
-tests/test-sethostname.c
 tests/macros.h
 
 Depends-on:
-sys_types
+gethostname
+root-uid
 
 configure.ac:
+AC_CHECK_FUNCS_ONCE([geteuid])
 
 Makefile.am:
-TESTS += test-sethostname
-check_PROGRAMS += test-sethostname
+TESTS += test-sethostname1 test-sethostname2
+check_PROGRAMS += test-sethostname1 test-sethostname2
+test_sethostname2_LDADD = $(LDADD) @GETHOSTNAME_LIB@