kresd_run.sh 510 Bytes
Newer Older
1
#!/bin/bash
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 17

export TESTS DAEMON TEMPLATE CONFIG

18
MAKEDIR="$(dirname "$(readlink -f "$0")")"
19
echo '=== Testing WITH query minimization ==='
20
export QMIN="true"
21
make -C "${MAKEDIR}"
22 23 24
echo '=== Testing WITHOUT query minimization ==='
export QMIN="false"
make -C "${MAKEDIR}"