knotd_slave_run.sh 504 Bytes
Newer Older
1 2 3 4 5 6 7
#!/bin/bash

# Path to scenario files
TESTS=sets/knotd/slave

# Path to daemon
DAEMON=knotd
8

9
# Template file name
10
TEMPLATE=template/knotd_slave.j2
11 12 13 14 15 16 17 18 19 20

# Config file name
CONFIG=knotd.conf

# Additional parameter for knotd
# it means configuration file can be found in working directory
ADDITIONAL="-c ./knotd.conf"

export TESTS DAEMON TEMPLATE CONFIG ADDITIONAL

21
echo 'INFO: Tests require Knot compiled with ./configure --enable-recvmmsg=no'
22 23
MAKEDIR="$(dirname "$(readlink -f "$0")")"
make -C "${MAKEDIR}"