Searched refs:SM_TEST (Results 1 – 18 of 18) sorted by relevance
/titanic_50/usr/src/cmd/sendmail/libsm/ |
H A D | t-strl.c | 41 SM_TEST(sm_strlcpy(s3, s1, 4) == 3); 42 SM_TEST(strcmp(s1, s3) == 0); 44 SM_TEST(sm_strlcat(s3, s2, 8) == 6); 46 SM_TEST(strcmp(s3, r) == 0); 48 SM_TEST(sm_strlcpy(s3, s1, 2) == 3); 50 SM_TEST(strcmp(s3, r) == 0); 52 SM_TEST(sm_strlcat(s3, s2, 3) == 4); 54 SM_TEST(strcmp(s3, r) == 0); 56 SM_TEST(sm_strlcpy(s3, s1, 4) == 3); 58 SM_TEST(sm_strlcat2(s3, r, s2, MAXL) == 7); [all …]
|
H A D | t-event.c | 36 SM_TEST(arg == 3); 37 SM_TEST(check == 0); 45 SM_TEST(arg == 1); 62 SM_TEST(1 == 1); 66 SM_TEST(2 == 2); 75 SM_TEST(3 == 3); 85 SM_TEST(4 == 4); 86 SM_TEST(check == 1);
|
H A D | t-strrevcmp.c | 32 SM_TEST(sm_strrevcmp(s1, s2) == 0); 36 SM_TEST(sm_strrevcmp(s1, s2) > 0); 40 SM_TEST(sm_strrevcmp(s1, s2) < 0); 44 SM_TEST(sm_strrevcmp(s1, s2) < 0); 48 SM_TEST(sm_strrevcasecmp(s1, s2) == 0); 52 SM_TEST(sm_strrevcasecmp(s1, s2) == 0);
|
H A D | t-exc.c | 58 SM_TEST(x == 1); 70 SM_TEST(x == 2); 89 SM_TEST(x == 2 && exc->exc_argv[0].v_int == 17); 99 SM_TEST(strcmp(unknown, cant) == 0); 113 SM_TEST(strcmp(unknown, cant) == 0); 116 SM_TEST(x == 5 && exc->exc_argv[0].v_int == 94); 126 SM_TEST(strcmp(unknown, cant) == 0); 145 SM_TEST(strcmp(unknown, cant) == 0);
|
H A D | t-scanf.c | 41 if (!SM_TEST(strcmp(buf, r) == 0)) 46 SM_TEST(i == 1); 47 SM_TEST(h == 2); 52 if (!SM_TEST(strcmp(buf, r) == 0)) 57 SM_TEST(i == 1); 58 SM_TEST(h == 2);
|
H A D | t-smstdio.c | 34 SM_TEST(stream != NULL); 37 SM_TEST(fp != NULL); 53 SM_TEST(stream != NULL); 56 SM_TEST(fp != NULL); 59 if (SM_TEST(n == strlen(testmsg))) 62 SM_TEST(strcmp(buf, testmsg) == 0);
|
H A D | t-path.c | 28 SM_TEST(sm_path_isdevnull(SM_PATH_DEVNULL)); 30 SM_TEST(sm_path_isdevnull(r)); 32 SM_TEST(!sm_path_isdevnull(r)); 34 SM_TEST(!sm_path_isdevnull(r));
|
H A D | t-sem.c | 217 SM_TEST(r >= 0); 232 SM_TEST(r >= 0); 247 SM_TEST(r > 0); 262 SM_TEST(r >= 0); 276 SM_TEST(r >= 0); 293 SM_TEST(r >= 0); 308 SM_TEST(r >= 0); 386 SM_TEST(r == 0);
|
H A D | t-string.c | 35 SM_TEST(strcmp(s, r) == 0); 39 SM_TEST(strcmp(s, buf) == 0); 43 SM_TEST(n == 11); 45 SM_TEST(strcmp(foo, r) == 0);
|
H A D | t-shm.c | 175 SM_TEST(r == 0); 179 SM_TEST(cnt <= MAX_CNT); 183 SM_TEST(r == 0); 185 SM_TEST(shm != (int *) 0); 191 SM_TEST(cnt <= MAX_CNT); 262 SM_TEST(r == 0);
|
H A D | t-float.c | 41 if (!SM_TEST(strcmp(buf, r) == 0)) 48 if (!SM_TEST(strcmp(buf, r) == 0)) 62 if (!SM_TEST(d == d2)) 70 if (!SM_TEST(strcmp(buf, r) == 0))
|
H A D | t-fopen.c | 30 SM_TEST(out != NULL); 35 SM_TEST(r == 0); 36 SM_TEST(m == SM_IO_WRONLY);
|
H A D | t-qic.c | 68 SM_TEST(exp == cmp); 166 SM_TEST(inout[i].qic_exp == cmp); 189 SM_TEST(los + 1 < sizeof(line)); 193 SM_TEST(inout[i].qic_exp == cmp); 207 SM_TEST(!same); 220 SM_TEST(obp != NULL); 222 SM_TEST(inout[i].qic_exp == cmp);
|
H A D | t-heap.c | 40 SM_TEST(p != NULL); 42 SM_TEST(p != NULL); 44 SM_TEST(p != NULL);
|
H A D | t-rpool.c | 46 SM_TEST(rpool != NULL); 48 SM_TEST(att != NULL);
|
H A D | t-strio.c | 33 SM_TEST(strcmp(buf, r) == 0);
|
H A D | t-match.c | 21 if (!SM_TEST(got == want)) \
|
/titanic_50/usr/src/cmd/sendmail/include/sm/ |
H A D | test.h | 24 # define SM_TEST(cond) sm_test(cond, #cond, __FILE__, __LINE__) macro 26 # define SM_TEST(cond) sm_test(cond, "cond", __FILE__, __LINE__) macro
|