summaryrefslogtreecommitdiff
path: root/include/mtd
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2011-04-22 18:32:23 +0300
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2011-04-24 19:12:30 +0300
commit1fa184a5be96d5c927b4c64d965afd417997e8fc (patch)
tree7e8d90b3b772439092330ab42d6faca8638ab6b1 /include/mtd
parent548a96fa716666d0bb6095f1f38aa167c47215cd (diff)
fs-tests: use independent random generators for ops and data
Currently integck uses the same global random generator for everything - for choosing the operation, generating the data, and for checking. This makes integck to become stuck sometimes. My guess this is because of we somehow re-set it back with srand() when checking files. This patch makes integck use different generators for data and for choosing operations by using rand_r() with own seed for operations. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'include/mtd')
0 files changed, 0 insertions, 0 deletions