Lines Matching refs:SM_TEST
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);
60 SM_TEST(strcmp(s3, r) == 0);
62 SM_TEST(sm_strlcpy(s3, s1, 4) == 3);
64 SM_TEST(sm_strlcat2(s3, r, s2, 6) == 7);
66 SM_TEST(strcmp(s3, r) == 0);
68 SM_TEST(sm_strlcpy(s3, s1, 4) == 3);
70 SM_TEST(sm_strlcat2(s3, r, s2, 2) == 7);
72 SM_TEST(strcmp(s3, r) == 0);
74 SM_TEST(sm_strlcpy(s3, s1, 4) == 3);
76 SM_TEST(sm_strlcat2(s3, r, s2, 4) == 7);
78 SM_TEST(strcmp(s3, r) == 0);
80 SM_TEST(sm_strlcpy(s3, s1, 4) == 3);
82 SM_TEST(sm_strlcat2(s3, r, s2, 5) == 7);
84 SM_TEST(strcmp(s3, r) == 0);
86 SM_TEST(sm_strlcpy(s3, s1, 4) == 3);
88 SM_TEST(sm_strlcat2(s3, r, s2, 6) == 7);
90 SM_TEST(strcmp(s3, r) == 0);
99 SM_TEST(one == two);
100 SM_TEST(strcmp(dst1, dst2) == 0);
103 SM_TEST(one == two);
104 SM_TEST(strcmp(dst1, dst2) == 0);
107 SM_TEST(one == two);
108 SM_TEST(strcmp(dst1, dst2) == 0);
111 SM_TEST(one == two);
112 SM_TEST(strcmp(dst1, dst2) == 0);
115 SM_TEST(one == two);
116 SM_TEST(strcmp(dst1, dst2) == 0);
119 SM_TEST(one == two);
120 SM_TEST(strcmp(dst1, dst2) == 0);
123 SM_TEST(one == two);
124 SM_TEST(strcmp(dst1, dst2) == 0);
127 SM_TEST(one == 0);
129 SM_TEST(strcmp(dst1, r) == 0);
132 SM_TEST(one == two);
135 SM_TEST(one == two);