Add simple test to run stubby

This commit is contained in:
Sara Dickinson 2019-11-15 16:35:56 +00:00
parent 2925c7e80b
commit fa72271221
3 changed files with 26 additions and 1 deletions

View File

@ -5,4 +5,6 @@
[ -f .tpkg.var.test ] && source .tpkg.var.test
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

View File

@ -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:

View File

@ -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