tests: Fix string test failure on BSDs
As with test-printf
, the vasprintf()
placeholder checks on BSDs
(including macOS) are less strict than on Linux (glibc), so the expected
critical message is not seen.
Change the test to not expect it on BSDs.
Signed-off-by: Philip Withnall pwithnall@gnome.org
Helps: #3187 (closed)