Skip to content

Commit

Permalink
Debugging server capability testing
Browse files Browse the repository at this point in the history
  • Loading branch information
wtoorop committed Dec 16, 2019
1 parent f1ea127 commit 0fbe0dc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Expand Up @@ -22,5 +22,5 @@ addons:
script:
- mkdir tests
- cd tests
- ../src/test/tpkg/run-all.sh
# - ../src/test/tpkg/run-one.sh 225-stub-only-valgrind-checks
# - ../src/test/tpkg/run-all.sh
- ../src/test/tpkg/run-one.sh 275-server-capabilities.tpkg -V
3 changes: 2 additions & 1 deletion src/stub.c
Expand Up @@ -455,7 +455,8 @@ tcp_connect(getdns_upstream *upstream, getdns_transport_list_t transport)
GETDNS_LOG_UPSTREAM_STATS, GETDNS_LOG_WARNING,
"%-40s : Upstream : Could not setup TCP TFO\n",
upstream->addr_str);

# else
(void)transport;
# endif/* HAVE_DECL_TCP_FASTOPEN*/
# endif /* HAVE_DECL_TCP_FASTOPEN_CONNECT */
#endif /* USE_OSX_TCP_FASTOPEN */
Expand Down
Expand Up @@ -15,9 +15,9 @@ cmake . && make && valgrind -v --log-file=valgrind.log --leak-check=full --error

${GETDNS_STUB_QUERY} -s -t 1000 @${LOCALHOST}:$PORT TXT cancel. +return_call_reporting 2>&1 > time_out

${GETDNS_STUB_QUERY} -s @${LOCALHOST}:$PORT TXT test +return_call_reporting 2>&1 > tcp_out
${GETDNS_STUB_QUERY} -s @${LOCALHOST}:$PORT TXT test. +return_call_reporting 2>&1 > tcp_out

${GETDNS_STUB_QUERY} -s -U @${LOCALHOST}:$PORT2 TXT test +return_call_reporting 2>&1 > udp_out
${GETDNS_STUB_QUERY} -s -U @${LOCALHOST}:$PORT2 TXT test. +return_call_reporting 2>&1 > udp_out

${GETDNS_STUB_QUERY} -s -q @${LOCALHOST}:$PORT TXT quit.
)
Expand Down

0 comments on commit 0fbe0dc

Please sign in to comment.