Files
apfstests/tests/btrfs
Anand Jain 96459fb687 fstests: btrfs: Use compressible data
/dev/urandom is incompressible and, /dev/zero is highly compressible,
so both are less effective in testing the compress code logic in btrfs.

This patch introduces a text data generator
 cat /dev/urandom | od
to populate the files where /dev/urandom is currently being used in the
btrfs test cases.

And updates the _populate_fs() with a new option -c, so to instruct
to use the compressible data to populate the file(s).

[eguan: add comments, fix indention]

Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
2017-02-07 12:15:33 +08:00
..
2017-02-07 12:15:33 +08:00
2017-02-07 12:15:33 +08:00
2016-02-19 10:49:17 +11:00
2017-02-07 12:15:33 +08:00
2014-12-12 11:26:15 +11:00
2017-02-07 12:15:33 +08:00
2013-10-12 19:30:19 -05:00
2014-12-12 11:26:15 +11:00
2014-12-12 11:26:15 +11:00
2017-02-07 12:15:33 +08:00
2014-12-12 11:26:15 +11:00
2017-02-07 12:15:33 +08:00
2013-12-03 10:29:29 +11:00
2013-12-03 10:29:31 +11:00
2016-04-05 11:46:12 +10:00
2016-02-19 10:49:17 +11:00
2014-02-03 10:06:14 +11:00
2016-02-19 10:49:17 +11:00
2017-02-07 12:15:33 +08:00
2016-02-19 10:49:17 +11:00
2016-01-11 15:05:20 +11:00
2016-02-19 10:49:17 +11:00
2016-02-19 10:49:17 +11:00
2016-02-19 10:49:17 +11:00
2015-10-14 14:19:34 +11:00
2015-10-14 14:19:34 +11:00
2016-02-19 10:49:17 +11:00
2016-02-19 10:49:17 +11:00
2016-02-19 10:49:17 +11:00
2016-02-19 10:49:17 +11:00
2016-02-19 10:49:17 +11:00
2016-02-19 10:49:17 +11:00
2016-02-19 10:49:17 +11:00
2016-02-19 10:49:17 +11:00
2016-02-19 10:49:17 +11:00
2017-01-27 16:06:12 +08:00
2017-01-27 16:06:12 +08:00
2016-02-19 10:49:17 +11:00
2016-02-19 10:49:17 +11:00
2016-02-19 10:49:17 +11:00
2016-02-19 10:49:17 +11:00
2016-02-19 10:49:17 +11:00
2016-02-19 10:49:17 +11:00
2014-08-13 10:59:59 +10:00
2016-02-19 10:49:17 +11:00
2016-02-19 10:49:17 +11:00
2016-02-19 10:49:17 +11:00
2016-02-19 10:49:17 +11:00
2016-02-19 10:49:17 +11:00
2016-02-19 10:49:17 +11:00
2015-04-01 11:38:40 +11:00
2016-02-19 10:49:17 +11:00
2016-02-19 10:49:17 +11:00
2015-04-01 11:32:01 +11:00
2016-02-19 10:49:17 +11:00
2015-04-01 11:35:44 +11:00
2016-02-19 10:49:17 +11:00
2016-02-19 10:49:17 +11:00
2016-02-19 10:49:17 +11:00
2016-02-19 10:49:17 +11:00
2016-02-19 10:49:17 +11:00
2016-02-19 10:49:17 +11:00
2016-02-19 10:49:17 +11:00
2016-02-19 10:49:17 +11:00
2016-02-19 10:49:17 +11:00
2015-09-21 13:06:18 +10:00
2016-02-19 10:49:17 +11:00
2016-02-19 10:49:17 +11:00
2016-02-19 10:49:17 +11:00
2016-02-19 10:49:17 +11:00
2016-02-19 10:49:17 +11:00
2016-02-19 10:49:17 +11:00
2016-02-19 10:49:17 +11:00
2016-02-19 10:49:17 +11:00
2016-02-19 10:49:17 +11:00
2016-02-19 10:49:17 +11:00
2016-02-19 10:49:17 +11:00
2016-03-23 14:34:47 +11:00
2016-07-19 12:20:43 +08:00
2016-07-19 12:20:43 +08:00
2016-12-28 19:19:03 +08:00