mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-08 12:44:23 +01:00
iobuf: Reduce verbosity of test.
* common/t-iobuf.c (main): Reduce verbosity. -- Signed-off-by: Neal H. Walfield <neal@g10code.com>.
This commit is contained in:
parent
f2d75ac7dc
commit
219de84df9
@ -335,11 +335,13 @@ main (int argc, char *argv[])
|
|||||||
assert (rc == 0);
|
assert (rc == 0);
|
||||||
|
|
||||||
n = iobuf_temp_to_buffer (iobuf, buffer, sizeof (buffer));
|
n = iobuf_temp_to_buffer (iobuf, buffer, sizeof (buffer));
|
||||||
|
#if 0
|
||||||
printf ("Got %d bytes\n", n);
|
printf ("Got %d bytes\n", n);
|
||||||
printf ("buffer: `");
|
printf ("buffer: `");
|
||||||
fwrite (buffer, n, 1, stdout);
|
fwrite (buffer, n, 1, stdout);
|
||||||
fputc ('\'', stdout);
|
fputc ('\'', stdout);
|
||||||
fputc ('\n', stdout);
|
fputc ('\n', stdout);
|
||||||
|
#endif
|
||||||
|
|
||||||
assert (n == strlen (content) + 2 * (strlen (content2) + 1));
|
assert (n == strlen (content) + 2 * (strlen (content2) + 1));
|
||||||
assert (strcmp (buffer, "0123456789aabbcc") == 0);
|
assert (strcmp (buffer, "0123456789aabbcc") == 0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user