summaryrefslogtreecommitdiff
path: root/source3/tests
diff options
context:
space:
mode:
Diffstat (limited to 'source3/tests')
-rw-r--r--source3/tests/summary.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/tests/summary.c b/source3/tests/summary.c
index b89bac86ac..3db510495a 100644
--- a/source3/tests/summary.c
+++ b/source3/tests/summary.c
@@ -24,5 +24,10 @@ main()
exit(1);
#endif
+#if !((defined(HAVE_RANDOM) || defined(HAVE_RAND)) && (defined(HAVE_SRANDOM) || defined(HAVE_SRAND)))
+ printf("ERROR: No random or srandom routine!\n");
+ exit(1);
+#endif
+
exit(0);
}