For now a single test is good enough to detect if this backend starts
refusing connections because of some future change.
#travis unbound is too old for this test (unbound 1.6.0 required)
run "touch tests/ent-asterisk/fail.nsec"
+ run "./timestamp ./start-test-stop 5300 lua-minimal nowait 0 apex-level-a-but-no-a"
+
run "./timestamp ./start-test-stop 5300 ldap-tree"
run "./timestamp ./start-test-stop 5300 ldap-simple"
run "./timestamp ./start-test-stop 5300 ldap-strict"
domain_id = 1 + #domains,
name = origin,
soa = {
- hostmaster = "ahu."..origin,
+ hostmaster = "ahu.example.com.",
nameserver = "ns1."..origin,
serial = 2005092501,
refresh = 28800,
source ./ext/bind-master
;;
+ lua*)
+ source ./backends/lua-master
+ ;;
+
*)
nocontext=yes
esac
--- /dev/null
+case $context in
+ lua-minimal)
+ $RUNWRAPPER $PDNS --daemon=no --local-port=$port --socket-dir=./ \
+ --no-config --no-shuffle --launch=lua --cache-ttl=$cachettl \
+ --lua-filename=../modules/luabackend/test/powerdns-luabackend.lua \
+ --module-dir=./modules &
+ #skipreasons="nodnssec noent nodyndns nometa noaxfr noalias"
+ skipreasons="dyndns ldap-strict narrow noalias noaxfr nodnssec nodyndns noent nometa nsec3 oracle-slave-nsec presigned"
+ ;;
+
+ *)
+ nocontext=yes
+ ;;
+esac