bind9/bin/tests/system/dnstap
Tom Krizek 5f809e50b6
Check for proper file size output in dnstap test
Previously, the first check silently failed, as 454 is apparently (in my
local setup) the minimum output size for the dnstap output, rather than
470 which the test was expecting. Effectively, the check served as a 5
second sleep rather than waiting for the proper file size.

Additionally, check the expected file sizes and fail if expectations
aren't met.
2023-06-22 19:19:08 +02:00
..
ns1 Use DEFAULT_HMAC for rndc 2022-07-07 10:11:42 +10:00
ns2 Use DEFAULT_HMAC for rndc 2022-07-07 10:11:42 +10:00
ns3 Use DEFAULT_HMAC for rndc 2022-07-07 10:11:42 +10:00
ns4 Use DEFAULT_HMAC for rndc 2022-07-07 10:11:42 +10:00
bad-fstrm-reopen-interval.conf Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
bad-fstrm-set-buffer-hint-max.conf Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
bad-fstrm-set-buffer-hint-min.conf Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
bad-fstrm-set-flush-timeout-max.conf Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
bad-fstrm-set-flush-timeout-min.conf Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
bad-fstrm-set-input-queue-size-max.conf Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
bad-fstrm-set-input-queue-size-min.conf Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
bad-fstrm-set-input-queue-size-po2.conf Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
bad-fstrm-set-output-notify-threshold.conf Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
bad-fstrm-set-output-queue-size-max.conf Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
bad-fstrm-set-output-queue-size-min.conf Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
bad-fstrm-set-reopen-interval-max.conf Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
bad-fstrm-set-reopen-interval-min.conf Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
bad-missing-dnstap-output-view.conf Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
bad-missing-dnstap-output.conf Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
bad-size-version.conf Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
clean.sh Check IPs in a dnstap capture of resolver traffic 2022-06-22 15:09:43 +02:00
good-dnstap-in-options.conf Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
good-dnstap-in-view.conf Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
good-fstrm-reopen-interval.conf Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
good-fstrm-set-buffer-hint.conf Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
good-fstrm-set-flush-timeout.conf Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
good-fstrm-set-input-queue-size.conf Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
good-fstrm-set-output-notify-threshold.conf Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
good-fstrm-set-output-queue-model-mpsc.conf Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
good-fstrm-set-output-queue-model-spsc.conf Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
good-fstrm-set-output-queue-size.conf Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
good-fstrm-set-reopen-interval.conf Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
good-size-unlimited.conf Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
good-size-version.conf Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
large-answer.fstrm dnstap-read: clear buffer before expanding it 2019-06-28 12:43:51 +02:00
prereq.sh Add dnstap prerequisite for dnstap system test 2022-12-02 10:23:52 +01:00
README Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
setup.sh Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
tests.sh Check for proper file size output in dnstap test 2023-06-22 19:19:08 +02:00
tests_dnstap.py Bump the requirement in dnstap test to dnspython 2.0.0 2023-04-04 17:21:07 +02:00
tests_sh_dnstap.py Add pytest functions for shell system tests 2023-05-22 14:11:39 +02:00
ydump.py Auto-format Python files with black 2022-06-08 10:28:08 +02:00

Copyright (C) Internet Systems Consortium, Inc. ("ISC")

SPDX-License-Identifier: MPL-2.0

This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0.  If a copy of the MPL was not distributed with this
file, you can obtain one at https://mozilla.org/MPL/2.0/.

See the COPYRIGHT file distributed with this work for additional
information regarding copyright ownership.

The "large-answer.fstrm" file was generated by configuring a named instance
compiled with --enable-dnstap and --enable-fixed-rrset with the following
directives:

    minimal-responses yes;
    rrset-order { order fixed; };
    dnstap { auth response; };
    dnstap-identity none;
    dnstap-output file "large-answer.fstrm";

The captured RRset from the "example." zone was created using:

    $GENERATE 1-48 @ IN A 127.0.0.$

A server instance set up this way was then queried non-recursively (RD=0) for
"example/A".