[PATCH 30/32] selftests/nolibc: add test for snprintf() truncation