]> git.ipfire.org Git - thirdparty/pdns.git/commit
test-dnsrecords: refactor handling (binary) strings 6144/head
authorStefan Bühler <stbuehler@web.de>
Sat, 30 Dec 2017 15:34:50 +0000 (16:34 +0100)
committerStefan Bühler <stbuehler@web.de>
Thu, 4 Jan 2018 17:35:06 +0000 (18:35 +0100)
commitd0b06f3c50f7ed9ac3363a05748eb2a716fd0bba
treea3f85ab7e6fe6c2649b2bcfce3eb8d6a59bae6ff
parent7771fe086d778dd17c436fcc1d3fefd2e355cf03
test-dnsrecords: refactor handling (binary) strings

- also treat normal strings as "binary" (i.e. could contain '\0' bytes)
- assume all test inputs are given as string literals (char arrays with
  trailing '\0')
pdns/test-dnsrecords_cc.cc