Testsuite: accept changed output from perl version difference
[users/jgh/exim.git] / test / src / client.c
index a5e9e9da2c607deb39245ed5aa78f51ee195c122..4ac130df2d890ea29c6038e0ff0085ec135c412a 100644 (file)
@@ -529,7 +529,7 @@ static void
 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 * 20];
 
 while (fgets(CS outbuffer, sizeof(outbuffer), f) != NULL)
   {
@@ -712,7 +712,7 @@ int rc;
     FILE * new_f;
     if (!(new_f = fopen(outbuffer+4 , "r")))
       {
-      printf("Unable to open '%s': %s", inptr, sys_errlist[errno]);
+      printf("Unable to open '%s': %s", inptr, strerror(errno));
       exit(74);
       }
     do_file(srv, new_f, timeout, inbuffer, bsiz, inptr);