summaryrefslogtreecommitdiff
path: root/tests/rng-fork.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rng-fork.c')
-rw-r--r--tests/rng-fork.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/tests/rng-fork.c b/tests/rng-fork.c
index 56ef086b01..dec5592be6 100644
--- a/tests/rng-fork.c
+++ b/tests/rng-fork.c
@@ -21,7 +21,7 @@
*/
#ifdef HAVE_CONFIG_H
-# include <config.h>
+#include <config.h>
#endif
#include <stdio.h>
@@ -30,7 +30,7 @@
#include <sys/types.h>
#include <assert.h>
#if !defined(_WIN32)
-# include <sys/wait.h>
+#include <sys/wait.h>
#endif
#include "utils.h"
@@ -47,7 +47,7 @@ static void dump(const char *name, unsigned char *buf, int buf_size)
printf("\n");
}
-# define FILENAME "./rng-test"
+#define FILENAME "./rng-test"
void doit(void)
{
@@ -92,12 +92,14 @@ void doit(void)
remove(FILENAME);
if (ret != sizeof(buf1)) {
- fail("error testing the random generator (%u).\n", i);
+ fail("error testing the random generator (%u).\n",
+ i);
return;
}
if (memcmp(buf1, buf2, sizeof(buf1)) == 0) {
- fail("error in the random generator (%u). Produces same valus after fork()\n", i);
+ fail("error in the random generator (%u). Produces same valus after fork()\n",
+ i);
return;
}
if (debug)