git://git.exim.org
/
users
/
jgh
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Testsuite: accept changed output from perl version difference
[users/jgh/exim.git]
/
test
/
src
/
client.c
diff --git
a/test/src/client.c
b/test/src/client.c
index a5e9e9da2c607deb39245ed5aa78f51ee195c122..4ac130df2d890ea29c6038e0ff0085ec135c412a 100644
(file)
--- a/
test/src/client.c
+++ b/
test/src/client.c
@@
-529,7
+529,7
@@
static void
do_file(srv_ctx * srv, FILE * f, int timeout,
unsigned char * inbuffer, unsigned bsiz, unsigned char * inptr)
{
do_file(srv_ctx * srv, FILE * f, int timeout,
unsigned char * inbuffer, unsigned bsiz, unsigned char * inptr)
{
-unsigned char outbuffer[10240];
+unsigned char outbuffer[1024
* 2
0];
while (fgets(CS outbuffer, sizeof(outbuffer), f) != NULL)
{
while (fgets(CS outbuffer, sizeof(outbuffer), f) != NULL)
{
@@
-712,7
+712,7
@@
int rc;
FILE * new_f;
if (!(new_f = fopen(outbuffer+4 , "r")))
{
FILE * new_f;
if (!(new_f = fopen(outbuffer+4 , "r")))
{
- printf("Unable to open '%s': %s", inptr, s
ys_errlist[errno]
);
+ printf("Unable to open '%s': %s", inptr, s
trerror(errno)
);
exit(74);
}
do_file(srv, new_f, timeout, inbuffer, bsiz, inptr);
exit(74);
}
do_file(srv, new_f, timeout, inbuffer, bsiz, inptr);