1 /* SPDX-License-Identifier: GPL-2.0-only */
5 #include <tests/test.h>
7 void die(const char *msg
, ...)
9 /* die() can be called in middle a function, so we should not allow for it to return */
10 static char msg_buf
[256];
13 vsnprintf(msg_buf
, ARRAY_SIZE(msg_buf
), msg
, v
);
15 fail_msg("%s", msg_buf
);