diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2011-06-03 16:20:03 +0300 |
---|---|---|
committer | Artem Bityutskiy <dedekind1@gmail.com> | 2011-07-04 10:54:34 +0300 |
commit | a7fa94a9fe26a4925914083a31b5387bca530eb1 (patch) | |
tree | e745f630a78b473379e9d0866a9b1be25b528677 /kernel/sysctl_binary.c | |
parent | d27462a518c31a4b1093ad866229f85b2b765e7e (diff) |
UBIFS: improve power cut emulation testing
This patch cleans-up and improves the power cut testing:
1. Kill custom 'simple_random()' function and use 'random32()' instead.
2. Make timeout larger
3. When cutting the buffer - fill the end with random data sometimes, not
only with 0xFFs.
4. Some times cut in the middle of the buffer, not always at the end.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'kernel/sysctl_binary.c')
0 files changed, 0 insertions, 0 deletions