Revert "Merging in 1.0.2."

This reverts commit 50cf3276e7.
This commit is contained in:
Geoffrey Challen
2017-01-09 22:52:13 -05:00
parent 50cf3276e7
commit e318e3171e
118 changed files with 3158 additions and 1350 deletions

View File

@@ -30,6 +30,7 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <test161/test161.h>
#include "extern.h"
@@ -113,10 +114,10 @@ static
void
usage(void)
{
printf("Usage: randcall [-f] [-c count] [-r seed] 2|3|4|all\n");
printf(" -f suppress forking\n");
printf(" -c set iteration count (default 100)\n");
printf(" -r set pseudorandom seed (default 0)\n");
tprintf("Usage: randcall [-f] [-c count] [-r seed] 2|3|4|all\n");
tprintf(" -f suppress forking\n");
tprintf(" -c set iteration count (default 100)\n");
tprintf(" -r set pseudorandom seed (default 0)\n");
exit(1);
}
@@ -157,10 +158,11 @@ main(int argc, char *argv[])
}
}
printf("Seed: %d Count: %d\n", seed, count);
tprintf("Seed: %d Count: %d\n", seed, count);
srandom(seed);
trycalls(an, dofork, count);
success(TEST161_SUCCESS, SECRET, "/testbin/randcall");
return 0;
}