view modules/sethostname-tests @ 40215:88b18d82fa61

crypto/des: Fix undefined behaviour. * lib/des.c (READ_64BIT_DATA): Cast bytes to 'unsigned int', to avoid shift operations on 'int'.
author Bruno Haible <bruno@clisp.org>
date Sat, 09 Mar 2019 22:21:25 +0100
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@