mirror of
https://github.com/yarrick/iodine.git
synced 2024-11-22 22:51:27 +00:00
Removed debug printf
This commit is contained in:
parent
72f8326077
commit
432974300f
5
test.c
5
test.c
|
@ -126,17 +126,12 @@ test_readname()
|
||||||
rv = readname(emptyloop, &data, buf, 1023);
|
rv = readname(emptyloop, &data, buf, 1023);
|
||||||
assert(buf[1023] == 'A');
|
assert(buf[1023] == 'A');
|
||||||
|
|
||||||
|
|
||||||
bzero(buf, sizeof(buf));
|
bzero(buf, sizeof(buf));
|
||||||
data = infloop + sizeof(HEADER);
|
data = infloop + sizeof(HEADER);
|
||||||
|
|
||||||
buf[4] = '\a';
|
buf[4] = '\a';
|
||||||
rv = readname(infloop, &data, buf, 4);
|
rv = readname(infloop, &data, buf, 4);
|
||||||
printf("%s\n", buf);
|
|
||||||
assert(buf[4] == '\a');
|
assert(buf[4] == '\a');
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
printf("OK\n");
|
printf("OK\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue