mirror of
https://https.git.savannah.gnu.org/git/gnulib.git
synced 2026-06-15 15:25:49 +00:00
69297aa373
Done through sed -e 's/strcmp \([(][^()]*[)]\) != 0/!streq \1/' * tests/**/*.[hc]: Use !streq instead of strcmp ... != 0. * modules/*-tests (Dependencies): Add streq.
19 lines
344 B
Plaintext
19 lines
344 B
Plaintext
Files:
|
|
tests/test-sethostname1.c
|
|
tests/test-sethostname2.c
|
|
tests/signature.h
|
|
tests/macros.h
|
|
|
|
Depends-on:
|
|
gethostname
|
|
root-uid
|
|
streq
|
|
|
|
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@
|