From 0e965ecb16368be3a4b500ffb16fa605e773d7b7 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Wed, 9 Aug 2023 13:16:27 -0700 Subject: Used fixed seeds where random is used in tests. It was so stupid to use random numbers in tests, generators yes, but random? the test won't fail the same way twice in a row, defeating the entire point of the test! --- src/unit/queuebuf.unit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/unit/queuebuf.unit') diff --git a/src/unit/queuebuf.unit b/src/unit/queuebuf.unit index b628893..6942852 100644 --- a/src/unit/queuebuf.unit +++ b/src/unit/queuebuf.unit @@ -42,7 +42,7 @@ suite QueueBuf test testAmounts { - srandom(time(NULL)); + srandom(12345); Bu::QueueBuf qb; Bu::String sTmp; char buf[4096]; -- cgit v1.2.3