view modules/sethostname-tests @ 40244:c39a0edd90d7

fts: minor simplification * lib/fts.c (fts_safe_changedir): Remove redundant assignment.
author Paul Eggert <eggert@cs.ucla.edu>
date Sun, 17 Mar 2019 12:39:50 -0700
parents 9009d83acea4
children
line wrap: on
line source

Files:
tests/test-sethostname1.c
tests/test-sethostname2.c
tests/signature.h
tests/macros.h

Depends-on:
gethostname
root-uid

configure.ac:
AC_CHECK_FUNCS_ONCE([geteuid])

Makefile.am:
TESTS += test-sethostname1 test-sethostname2
check_PROGRAMS += test-sethostname1 test-sethostname2
test_sethostname2_LDADD = $(LDADD) @GETHOSTNAME_LIB@