aboutsummaryrefslogtreecommitdiff
path: root/elf/loadtest.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/loadtest.c')
-rw-r--r--elf/loadtest.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/elf/loadtest.c b/elf/loadtest.c
index 4a3c4c08be..25b27005f1 100644
--- a/elf/loadtest.c
+++ b/elf/loadtest.c
@@ -83,17 +83,23 @@ main (int argc, char *argv[])
int debug = argc > 1 && argv[1][0] != '\0';
int count = TEST_ROUNDS;
int result = 0;
+ struct link_map *map;
mtrace ();
/* Just a seed. */
srandom (TEST_ROUNDS);
+ if (debug)
+ {
+ puts ("in the beginning");
+ OUT;
+ }
+
while (count--)
{
int nr = random () % NTESTS;
int index = tests[nr].index;
- struct link_map *map;
printf ("%4d: %4d: ", count + 1, nr);
fflush (stdout);