[tests] remove test_buffer output, except on error
parent
1cef8dfc05
commit
132c1b6019
|
@ -21,12 +21,14 @@ static void run_buffer_path_simplify(buffer *psrc, buffer *pdest, const char *in
|
|||
fflush(stderr);
|
||||
abort();
|
||||
} else {
|
||||
#if 0
|
||||
fprintf(stdout,
|
||||
"%s.%d: buffer_path_simplify('%s') succeeded: got '%s'\n",
|
||||
__FILE__,
|
||||
__LINE__,
|
||||
in,
|
||||
out);
|
||||
#endif
|
||||
|
||||
if (psrc != pdest) buffer_copy_buffer(psrc, pdest);
|
||||
buffer_path_simplify(pdest, psrc);
|
||||
|
@ -69,7 +71,7 @@ static void test_buffer_path_simplify_with(buffer *psrc, buffer *pdest) {
|
|||
run_buffer_path_simplify(psrc, pdest, CONST_STR_LEN("/.././xyz/.."), CONST_STR_LEN("/"));
|
||||
}
|
||||
|
||||
static void test_buffer_path_simplify() {
|
||||
static void test_buffer_path_simplify(void) {
|
||||
buffer *psrc = buffer_init();
|
||||
buffer *pdest = buffer_init();
|
||||
|
||||
|
|
Loading…
Reference in New Issue