]> git.ipfire.org Git - thirdparty/bind9.git/commit
Implement a "read-only" version of nextpart()
authorMichał Kępień <michal@isc.org>
Thu, 28 Jun 2018 11:38:39 +0000 (13:38 +0200)
committerMichał Kępień <michal@isc.org>
Wed, 8 Jan 2020 14:19:17 +0000 (15:19 +0100)
commit609c7dc79e8df61e486e974bd506067de5e72b29
treec774bc378ca6e6665eb8989612cab718d36e2f8b
parent9ada12e72ff4be0c53b94b6b8b4189be5311e4e9
Implement a "read-only" version of nextpart()

The system test helper function nextpart() always updates the "lines
read so far" marker ("<file>.prev") when it is called, which somewhat
limits its flexibility.  Add two new helper functions, nextpartpeek()
and nextpartreset(), so that certain parts of log files can be easily
examined more than once.  Add some documentation to help understand the
purpose of each function in the nextpart*() family.

(cherry picked from commit facb68b22e36b2959ccbc1c3b1680c1814988927)
bin/tests/system/conf.sh.in
bin/tests/system/conf.sh.win32