stress2: Tune to get more slightly broken file systems

This commit is contained in:
Peter Holm 2023-05-27 10:31:44 +02:00
parent acfb06062a
commit 273a89bb14

View file

@ -131,7 +131,7 @@ main(int argc, char *argv[])
err(1, "lseek()");
if (read(fd, &c, 1) != 1)
err(1, "read()");
if (arc4random() % 100 < 80)
if (arc4random() % 100 < 98)
flip(&c, 1);
else
trash(&c);