mirror of https://github.com/getdnsapi/getdns.git
Add simple test to run stubby
This commit is contained in:
parent
2925c7e80b
commit
fa72271221
|
@ -5,4 +5,6 @@
|
||||||
[ -f .tpkg.var.test ] && source .tpkg.var.test
|
[ -f .tpkg.var.test ] && source .tpkg.var.test
|
||||||
|
|
||||||
cd "${BUILDDIR}/build-event-loops"
|
cd "${BUILDDIR}/build-event-loops"
|
||||||
make XTRA_CFLAGS="-g -Werror" -j 4 install
|
make XTRA_CFLAGS="-g -Werror" -j 4 install \
|
||||||
|
&& echo "export STUBBY=\"${BUILDDIR}/build-event-loops/stubby/stubby\"" \
|
||||||
|
>> ../.tpkg.var.master
|
||||||
|
|
|
@ -0,0 +1,16 @@
|
||||||
|
BaseName: 340-run-stubby
|
||||||
|
Version: 1.0
|
||||||
|
Description: Run the getdns_query program
|
||||||
|
CreationDate: nov 15 11:09:59 CET 2015
|
||||||
|
Maintainer: Sara Dickinson
|
||||||
|
Category:
|
||||||
|
Component:
|
||||||
|
CmdDepends:
|
||||||
|
Depends: 320-event-loops-compile.tpkg
|
||||||
|
Help:
|
||||||
|
Pre:
|
||||||
|
Post:
|
||||||
|
Test: 340-run-stubby.test
|
||||||
|
AuxFiles:
|
||||||
|
Passed:
|
||||||
|
Failure:
|
|
@ -0,0 +1,7 @@
|
||||||
|
# #-- 120-run-getdns_query.test --#
|
||||||
|
# source the master var file when it's there
|
||||||
|
[ -f ../.tpkg.var.master ] && source ../.tpkg.var.master
|
||||||
|
# use .tpkg.var.test for in test variable passing
|
||||||
|
[ -f .tpkg.var.test ] && source .tpkg.var.test
|
||||||
|
|
||||||
|
"${STUBBY}" -i
|
Loading…
Reference in New Issue