diff --git a/bin/tests/system/tsiggss/prereq.sh b/bin/tests/system/tsiggss/prereq.sh new file mode 100644 index 0000000000..2c1a32a3d5 --- /dev/null +++ b/bin/tests/system/tsiggss/prereq.sh @@ -0,0 +1,11 @@ +#!/bin/sh + +TOP=${SYSTEMTESTTOP:=.}/../../../.. + +# enable the tsiggss test only if gssapi was enabled +$TOP/bin/named/named -V | grep with.gssapi | grep -v with-gssapi=no > /dev/null || { + echo "I:BIND9 was not built with --with-gssapi" + exit 1 +} + +exit 0