input: remove print from line_limit
This commit is contained in:
parent
75e721ccf9
commit
7e8cb24a90
|
@ -34,8 +34,10 @@ TEST line_limit(void) {
|
||||||
s[LIBSCOMM_MAXBUF - 1] = '\n';
|
s[LIBSCOMM_MAXBUF - 1] = '\n';
|
||||||
s[LIBSCOMM_MAXBUF] = 0;
|
s[LIBSCOMM_MAXBUF] = 0;
|
||||||
|
|
||||||
|
#if 0
|
||||||
if (GREATEST_IS_VERBOSE())
|
if (GREATEST_IS_VERBOSE())
|
||||||
fprintf(stderr, "%s", s);
|
fprintf(stderr, "%s", s);
|
||||||
|
#endif
|
||||||
|
|
||||||
libscomm_reset(&in);
|
libscomm_reset(&in);
|
||||||
ASSERT_EQ(libscomm_read(&in, &p, &l), LIBSCOMM_COMPLETE);
|
ASSERT_EQ(libscomm_read(&in, &p, &l), LIBSCOMM_COMPLETE);
|
||||||
|
@ -103,10 +105,12 @@ GREATEST_MAIN_DEFS();
|
||||||
|
|
||||||
int main(int argc, char *argv[]) {
|
int main(int argc, char *argv[]) {
|
||||||
GREATEST_MAIN_BEGIN();
|
GREATEST_MAIN_BEGIN();
|
||||||
|
|
||||||
RUN_TEST(one_pass);
|
RUN_TEST(one_pass);
|
||||||
RUN_TEST(line_limit);
|
RUN_TEST(line_limit);
|
||||||
RUN_TEST(single_arg_too_large);
|
RUN_TEST(single_arg_too_large);
|
||||||
RUN_TEST(arg_limit);
|
RUN_TEST(arg_limit);
|
||||||
RUN_TEST(too_many_arg);
|
RUN_TEST(too_many_arg);
|
||||||
|
|
||||||
GREATEST_MAIN_END();
|
GREATEST_MAIN_END();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue