kresd_run.sh 438 Bytes
Newer Older
1
#!/bin/bash
Petr Špaček's avatar
Petr Špaček committed
2
set -o errexit -o nounset
3 4

# Path to scenario files
5
TESTS=${TESTS:-"sets/resolver"}
6 7

# Path to daemon
8
DAEMON=${DAEMON:-"kresd"}
9

10
# Template file name
11
TEMPLATE=${TEMPLATE:-"template/kresd.j2"}
12 13

# Config file name
14
CONFIG=${CONFIG:-"config"}
15

16
# Additional parameters for kresd - non-interactive mode
17
ADDITIONAL=${ADDITIONAL:-"-f 1"}
18 19

export TESTS DAEMON TEMPLATE CONFIG ADDITIONAL
20

Petr Špaček's avatar
Petr Špaček committed
21
MAKEDIR="$(dirname "$0")"
22
make -C "${MAKEDIR}"