Skip to content

Commit 63c6fb6

Browse files
miri64wcawijngaards
andcommitted
testdata: add comments according to review
Co-authored-by: Wouter Wijngaards <wcawijngaards@users.noreply.github.com>
1 parent a9e6c5a commit 63c6fb6

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

testdata/doc_downstream.tdir/doc_downstream.test

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# #-- docclient.test --#
22
# source the master var file when it's there
3+
# For the most part, these tests are directly copied from ../doh_downstream.tdir.
4+
# Some comments are not accurate, as they were inaccurate in doh_downstream as well and are
5+
# annotated as such
36
[ -f ../.tpkg.var.master ] && source ../.tpkg.var.master
47
# use .tpkg.var.test for in test variable passing
58
[ -f .tpkg.var.test ] && source .tpkg.var.test
@@ -84,6 +87,8 @@ else
8487
fi
8588

8689
# out of order requests over CoAPS (PSK), the example.com elements take 2 seconds to wait.
90+
# (inaccuracy from doh_downstream: Only the "www.example.com" element takes 2 second,
91+
# "www2.element.com" is not set to wait)
8792
echo ""
8893
echo "> query www1.example.net. www.example.com. www2.example.net. www2.example.com. www3.example.net."
8994
$PRE/testcode/docclient.sh -C -P -k doc_downstream.dtls_client_creds -s 127.0.0.1 -p $UNBOUND_SECURE_PORT www1.example.net. A IN www.example.com. A IN www2.example.net A IN www2.example.com. A IN www3.example.net A IN >outfile 2>&1
@@ -155,6 +160,8 @@ fi
155160

156161
# out of order requests over CoAPS (PSK), the example.com elements take 2 seconds to wait.
157162
# www.example.com present twice, answered twice.
163+
# (inaccuracy from doh_downstream: The "www.example.com" element is now in cache due to the
164+
# previous lookup above. It will be answered from cache.)
158165
echo ""
159166
echo "> query www1.example.net. www.example.com. www2.example.net. www.example.com. www3.example.net."
160167
$PRE/testcode/docclient.sh -C -P -k doc_downstream.dtls_client_creds -s 127.0.0.1 -p $UNBOUND_SECURE_PORT www1.example.net. A IN www.example.com. A IN www2.example.net A IN www.example.com. A IN www3.example.net A IN >outfile 2>&1

0 commit comments

Comments
 (0)