FS-11979 [test] Fix error message log in fst_xcheck()
This commit is contained in:
parent
bc5dad27fb
commit
c55b989220
|
@ -196,13 +196,13 @@ static switch_status_t fst_init_core_and_modload(const char *confdir, const char
|
|||
* Check a test /w error message
|
||||
*/
|
||||
#define fst_xcheck(expr, error_msg) \
|
||||
fct_xchk(expr, error_msg);
|
||||
fct_xchk(expr, "%s", error_msg);
|
||||
|
||||
/**
|
||||
* Fail a test
|
||||
*/
|
||||
#define fst_fail(error_msg) \
|
||||
fct_xchk(0, error_msg);
|
||||
fct_xchk(0, "%s", error_msg);
|
||||
|
||||
/**
|
||||
* Check duration relative to test start, last marked time, or last check.
|
||||
|
|
Loading…
Reference in New Issue