projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
f5cd290
)
t/stest: shrink test size from 128MB
author
Jens Axboe
<axboe@fb.com>
Tue, 30 Jun 2015 02:27:37 +0000
(20:27 -0600)
committer
Jens Axboe
<axboe@fb.com>
Tue, 30 Jun 2015 02:27:37 +0000
(20:27 -0600)
We reduced the smalloc size, reduce it in the test cases too.
Signed-off-by: Jens Axboe <axboe@fb.com>
t/stest.c
patch
|
blob
|
blame
|
history
diff --git
a/t/stest.c
b/t/stest.c
index efb256efa92d106fe1902de36a5bcdfcf4e1adf7..fb51989521ec951c308a578c205c77597d145d59 100644
(file)
--- a/
t/stest.c
+++ b/
t/stest.c
@@
-30,7
+30,7
@@
static int do_rand_allocs(void)
srand(MAGIC1);
#endif
nr = total = 0;
- while (total < 12
8
*1024*1024UL) {
+ while (total < 12
0
*1024*1024UL) {
size = 8 * sizeof(struct elem) + (int) (999.0 * (rand() / (RAND_MAX + 1.0)));
e = smalloc(size);
if (!e) {