view modules/sethostname-tests @ 40218:e92cc6824b7f

getloadavg: Write NULL for the null pointer. Reported by Michal Privoznik <mprivozn@redhat.com>. * lib/getloadavg.c (getloadavg): Write NULL instead of 0.
author Bruno Haible <bruno@clisp.org>
date Sun, 03 Mar 2019 19:36:14 +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@