diff options
Diffstat (limited to 'keama/tests/dhcp3/run.sh')
-rw-r--r-- | keama/tests/dhcp3/run.sh | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/keama/tests/dhcp3/run.sh b/keama/tests/dhcp3/run.sh deleted file mode 100644 index 1d301b33..00000000 --- a/keama/tests/dhcp3/run.sh +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/sh - -#set -x - -if [ $# -ne 0 ]; then - echo "usage: $0" >&2 - exit 1 -fi - -cd "$(dirname "$0")" -cd .. - -file=dhcp3/master.dhcpd.conf -expected=dhcp3/kea.json -out=/tmp/pavlovs.out$$ - -../keama -4 -i $file -o $out >&2 -status=$? -if [ $status -eq 255 ]; then - echo "Pavlov's config raised an error" >&2 - exit 1 -fi - -diff --brief $out $expected -if [ $? -ne 0 ]; then - echo "Pavlov's config doesn't provide expected output" >&2 - exit 1 -fi - -exit $status |