]> git.ipfire.org Git - thirdparty/bind9.git/commit
Make the statschannel system test portable
authorAram Sargsyan <aram@isc.org>
Tue, 10 Oct 2023 10:41:07 +0000 (10:41 +0000)
committerArаm Sаrgsyаn <aram@isc.org>
Thu, 12 Oct 2023 08:37:15 +0000 (08:37 +0000)
commit39f46b8ca44ce7128e38cf33e0ddb2a9541aefd4
treeec7e268b0aab8f5f5b16afa785aefd14f818d45b
parentba20c4fbe14969cfa94cea7fbf5a8a704d19af95
Make the statschannel system test portable

The usage of the newline in the replacement part of the 'sed' call
works in GNU systems, but not in OpenBSD. Use 'awk' instead.

Also use the extended syntax of regular expressions for 'grep', which
is similarly more portable across the supported systems.
bin/tests/system/statschannel/tests.sh