unit-tests: Increase failure message buffer to hold larger hex dumps
authorMartin Willi <martin@revosec.ch>
Tue, 14 Apr 2015 08:21:06 +0000 (10:21 +0200)
committerMartin Willi <martin@revosec.ch>
Sun, 12 Jul 2015 11:25:50 +0000 (13:25 +0200)
src/libstrongswan/tests/test_runner.c
src/libstrongswan/tests/test_suite.c

index 0bae9c8..66d0e61 100644 (file)
@@ -265,7 +265,7 @@ static bool pre_test(test_runner_init_t init, char *cfg)
  */
 typedef struct {
        char *name;
-       char msg[512 - sizeof(char*) - 2 * sizeof(int)];
+       char msg[4096 - sizeof(char*) - 2 * sizeof(int)];
        const char *file;
        int line;
        int i;
index 00ac318..0af34c8 100644 (file)
@@ -27,7 +27,7 @@
 /**
  * Failure message buf
  */
-static char failure_buf[512];
+static char failure_buf[4096];
 
 /**
  * Source file failure occurred