Skip to content

tests: Fix string test failure on BSDs

Philip Withnall requested to merge wip/pwithnall/fix-bsd-string-test into main

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

Helps: #3187 (closed)

Merge request reports