# _ _ _ _ _ _
# | (_) |__ | | _____ ___ _ __ __ _| (_)_ _____
# | | | '_ \| |/ / _ \/ _ \ '_ \ / _` | | \ \ / / _ \
# | | | |_) | < __/ __/ |_) | (_| | | |\ V / __/
# |_|_|_.__/|_|\_\___|\___| .__/ \__,_|_|_| \_/ \___|
# |_|
#
# (C) Fabio Busatto <fabio.busatto@gmail.com>
CC=gcc
default: test
TENV = LD_PRELOAD=../libkeepalive.so SELFTEST=on
runtest:
${TENV} KEEPALIVE=off ./test
${TENV} KEEPCNT=13 KEEPIDLE=23 KEEPINTVL=42 ./test
${TENV} KEEPCNT=42 KEEPIDLE=13 KEEPINTVL=23 ./test
clean:
rm -f test