bind9/bin/tests/system/runtime
Michał Kępień 009df30f3a Fix logging long named command lines
The saved_command_line buffer in bin/named/main.c is 8192 bytes long.
The size of libisc's internal logging buffer (defined by the value of
the LOG_BUFFER_SIZE constant in lib/isc/log.c) is also 8192 bytes.
Since the buffer containing the ellipsis is passed as the last argument
to isc_log_write() and the buffer containing the potentially trimmed
named command line (saved_command_line) is passed as the second argument
in the same isc_log_write() call, it may happen that saved_command_line
will exhaust all available space in libisc's internal logging buffer, in
which case the ellipsis will be elided from the output.

Make saved_command_line 4096 bytes long as that value is arguably also
large enough for any reasonable use case and at the same time it ensures
ellipsis will always be printed for excessively long named command
lines.
2019-11-29 09:06:41 +01:00
..
ns2 runtime test: make the pidfiles match the names of configuration files 2019-11-27 11:50:29 +01:00
clean.sh Improve portability of the "runtime" system test 2019-11-29 08:47:33 +01:00
ctrl-chars Improve portability of the "runtime" system test 2019-11-29 08:47:33 +01:00
long-cmd-line Use pre-prepared long command line for better portability 2019-11-27 11:50:29 +01:00
README update file headers 2018-03-15 18:33:13 -07:00
setup.sh Improve portability of the "runtime" system test 2019-11-29 08:47:33 +01:00
tests.sh Fix logging long named command lines 2019-11-29 09:06:41 +01:00

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

See COPYRIGHT in the source root or http://isc.org/copyright.html for terms.

Tests of runtime checks, e.g., that named prevents duplicate processes
from running.