summaryrefslogtreecommitdiff
path: root/tests/ubi-tests/io_paral.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2010-06-15 14:01:31 +0300
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2010-06-15 14:02:48 +0300
commite4867287195421ed3c41e15ce292b00b1c0e3649 (patch)
tree65eb1b5b75aae14831647c8af122730dd1b8165b /tests/ubi-tests/io_paral.c
parenta6a67a71a26d6906c1c1fd12ea7eef9a9c9b4e2d (diff)
ubi-test: seed the random genrator in tests
Add a common seed_random_generator() and make tests use it for seeding the random generator. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'tests/ubi-tests/io_paral.c')
-rw-r--r--tests/ubi-tests/io_paral.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ubi-tests/io_paral.c b/tests/ubi-tests/io_paral.c
index 3ceda95..9754a0d 100644
--- a/tests/ubi-tests/io_paral.c
+++ b/tests/ubi-tests/io_paral.c
@@ -233,6 +233,7 @@ int main(int argc, char * const argv[])
int i, ret;
pthread_t threads[THREADS_NUM];
+ seed_random_generator();
if (initial_check(argc, argv))
return 1;