--- al_test.c 2003/01/06 13:49:24 1.8
+++ al_test.c 2003/01/22 16:37:48 1.9
@@ -54,14 +54,14 @@
block \
if (rc != rc0) \
ts_test_fail(TS_CTX, "%s -> %d[%s] (expected %d[%s])\n", \
- rc, al_error(rc), rc0, al_error(rc0))
+ name, rc, al_error(rc), rc0, al_error(rc0))
#define CHECKLEN(name, al) \
do { \
size_t good, bad; \
if (checklen(al, &good, &bad)) \
ts_test_fail(TS_CTX, "%s -> corrupted length %d (expected %d)\n", \
- good, bad); \
+ name, good, bad); \
} while (0)
#define EVAL0(name,block) EVAL(name,rc,AL_OK,block)
|