mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-22 07:41:16 -05:00
stream reuse, rename ssl_reuse test to tls_reuse test.
This commit is contained in:
parent
6ded710013
commit
fd94b0bc9b
4 changed files with 10 additions and 10 deletions
10
testdata/tls_reuse.tdir/tls_reuse.dsc
vendored
10
testdata/tls_reuse.tdir/tls_reuse.dsc
vendored
|
|
@ -1,6 +1,6 @@
|
||||||
BaseName: ssl_reuse
|
BaseName: tls_reuse
|
||||||
Version: 1.0
|
Version: 1.0
|
||||||
Description: Test ssl stream reuse.
|
Description: Test tls stream reuse.
|
||||||
CreationDate: Wed Jun 30 16:37:00 CET 2020
|
CreationDate: Wed Jun 30 16:37:00 CET 2020
|
||||||
Maintainer: Wouter Wijngaards
|
Maintainer: Wouter Wijngaards
|
||||||
Category:
|
Category:
|
||||||
|
|
@ -8,9 +8,9 @@ Component:
|
||||||
CmdDepends:
|
CmdDepends:
|
||||||
Depends:
|
Depends:
|
||||||
Help:
|
Help:
|
||||||
Pre: ssl_reuse.pre
|
Pre: tls_reuse.pre
|
||||||
Post: ssl_reuse.post
|
Post: tls_reuse.post
|
||||||
Test: ssl_reuse.test
|
Test: tls_reuse.test
|
||||||
AuxFiles:
|
AuxFiles:
|
||||||
Passed:
|
Passed:
|
||||||
Failure:
|
Failure:
|
||||||
|
|
|
||||||
2
testdata/tls_reuse.tdir/tls_reuse.post
vendored
2
testdata/tls_reuse.tdir/tls_reuse.post
vendored
|
|
@ -1,4 +1,4 @@
|
||||||
# #-- ssl_reuse.post --#
|
# #-- tls_reuse.post --#
|
||||||
# source the master var file when it's there
|
# source the master var file when it's there
|
||||||
[ -f ../.tpkg.var.master ] && source ../.tpkg.var.master
|
[ -f ../.tpkg.var.master ] && source ../.tpkg.var.master
|
||||||
# source the test var file when it's there
|
# source the test var file when it's there
|
||||||
|
|
|
||||||
6
testdata/tls_reuse.tdir/tls_reuse.pre
vendored
6
testdata/tls_reuse.tdir/tls_reuse.pre
vendored
|
|
@ -1,4 +1,4 @@
|
||||||
# #-- ssl_reuse.pre--#
|
# #-- tls_reuse.pre--#
|
||||||
# source the master var file when it's there
|
# source the master var file when it's there
|
||||||
[ -f ../.tpkg.var.master ] && source ../.tpkg.var.master
|
[ -f ../.tpkg.var.master ] && source ../.tpkg.var.master
|
||||||
# use .tpkg.var.test for in test variable passing
|
# use .tpkg.var.test for in test variable passing
|
||||||
|
|
@ -13,7 +13,7 @@ echo "UNBOUND_PORT=$UNBOUND_PORT" >> .tpkg.var.test
|
||||||
echo "UPSTREAM_PORT=$UPSTREAM_PORT" >> .tpkg.var.test
|
echo "UPSTREAM_PORT=$UPSTREAM_PORT" >> .tpkg.var.test
|
||||||
|
|
||||||
# make config file
|
# make config file
|
||||||
sed -e 's/@PORT\@/'$UNBOUND_PORT'/' -e 's/@TOPORT\@/'$UPSTREAM_PORT'/' < ssl_reuse.conf > ub.conf
|
sed -e 's/@PORT\@/'$UNBOUND_PORT'/' -e 's/@TOPORT\@/'$UPSTREAM_PORT'/' < tls_reuse.conf > ub.conf
|
||||||
# start unbound in the background
|
# start unbound in the background
|
||||||
#$PRE/unbound -d -c ub.conf >unbound.log 2>&1 &
|
#$PRE/unbound -d -c ub.conf >unbound.log 2>&1 &
|
||||||
valgrind $PRE/unbound -d -c ub.conf 2>&1 | tee unbound.log &
|
valgrind $PRE/unbound -d -c ub.conf 2>&1 | tee unbound.log &
|
||||||
|
|
@ -22,7 +22,7 @@ echo "UNBOUND_PID=$UNBOUND_PID" >> .tpkg.var.test
|
||||||
wait_unbound_up unbound.log
|
wait_unbound_up unbound.log
|
||||||
|
|
||||||
# make upstream config file
|
# make upstream config file
|
||||||
sed -e 's/@PORT\@/'$UPSTREAM_PORT'/' -e 's/@TOPORT\@/'$UPSTREAM_PORT'/' < ssl_reuse.conf2 > ub2.conf
|
sed -e 's/@PORT\@/'$UPSTREAM_PORT'/' -e 's/@TOPORT\@/'$UPSTREAM_PORT'/' < tls_reuse.conf2 > ub2.conf
|
||||||
# start upstream unbound in the background
|
# start upstream unbound in the background
|
||||||
#$PRE/unbound -d -c ub2.conf >unbound2.log 2>&1 &
|
#$PRE/unbound -d -c ub2.conf >unbound2.log 2>&1 &
|
||||||
$PRE/unbound -d -c ub2.conf 2>&1 | tee unbound2.log &
|
$PRE/unbound -d -c ub2.conf 2>&1 | tee unbound2.log &
|
||||||
|
|
|
||||||
2
testdata/tls_reuse.tdir/tls_reuse.test
vendored
2
testdata/tls_reuse.tdir/tls_reuse.test
vendored
|
|
@ -1,4 +1,4 @@
|
||||||
# #-- ssl_reuse.test --#
|
# #-- tls_reuse.test --#
|
||||||
# source the master var file when it's there
|
# source the master var file when it's there
|
||||||
[ -f ../.tpkg.var.master ] && source ../.tpkg.var.master
|
[ -f ../.tpkg.var.master ] && source ../.tpkg.var.master
|
||||||
# use .tpkg.var.test for in test variable passing
|
# use .tpkg.var.test for in test variable passing
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue