Files
apfstests/tests/generic
David Oberhollenzer 1cc2487f50 fstests: Fix block device requirements and manual scratch mounts
Some tests require the scratch volume to be a block device,
although they don't do anything block device specific like
the device mapper tests. They actually only require a local
device and fail with network or overlay pseudo mount devices.

The same tests also try to mount the scratch device manually
after running _scratch_mkfs. For UBIFS, _scratch_mkfs simply
truncates the UBI volume and relies on the kernel to re-format
the volume on the next mount. This fails if the fs type is not
specified explicitly when mounting.

This patch replaces the block device requirement with a
generic check for a local device and adds a filesystem
specification to all manual mounts of the scratch device
to a mount point.

Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
2017-06-08 10:53:27 +08:00
..
2017-02-04 14:16:43 +08:00
2016-11-14 10:37:49 +08:00
2017-06-06 23:10:18 +08:00
2017-03-09 15:01:43 +08:00
2017-03-09 15:01:43 +08:00
2017-03-09 15:01:43 +08:00
2017-03-09 15:01:43 +08:00
2017-03-09 15:01:43 +08:00
2016-07-20 11:15:52 +08:00
2017-04-07 13:11:56 +08:00
2016-11-14 10:37:49 +08:00
2017-02-23 15:08:04 +08:00
2016-05-09 16:03:27 +10:00
2016-06-15 15:35:57 +08:00
2016-06-15 15:35:57 +08:00
2016-11-14 10:37:49 +08:00
2016-05-09 16:03:27 +10:00
2016-12-24 18:12:10 +08:00
2016-11-14 10:37:49 +08:00
2016-06-28 11:30:49 +08:00
2016-06-28 11:30:49 +08:00
2016-06-15 15:37:02 +08:00
2016-09-26 10:17:29 +08:00
2016-05-09 16:03:29 +10:00
2016-05-09 16:03:29 +10:00
2016-05-09 16:03:29 +10:00
2016-05-09 16:03:29 +10:00
2016-05-09 16:03:29 +10:00
2016-05-09 16:03:29 +10:00
2016-06-15 15:44:49 +08:00
2016-06-15 15:44:49 +08:00
2016-06-15 16:35:20 +08:00
2017-03-13 11:58:56 +08:00
2016-06-15 16:35:20 +08:00
2016-07-01 11:17:08 +08:00
2016-07-01 11:17:08 +08:00
2016-07-01 11:17:08 +08:00
2016-07-01 11:17:08 +08:00
2016-07-01 11:17:08 +08:00
2016-07-01 11:17:08 +08:00
2016-07-01 11:17:08 +08:00
2016-07-01 11:17:08 +08:00
2016-07-01 11:17:08 +08:00
2016-07-01 11:17:08 +08:00
2016-07-01 11:17:08 +08:00
2016-07-01 11:17:08 +08:00
2016-07-01 11:17:08 +08:00
2016-07-01 11:17:08 +08:00
2016-07-01 11:17:08 +08:00
2016-07-01 11:17:08 +08:00
2016-07-01 11:17:08 +08:00
2016-07-01 11:17:08 +08:00
2016-08-26 15:45:00 +08:00
2016-08-26 15:45:00 +08:00
2017-01-27 16:06:12 +08:00
2017-01-27 16:06:12 +08:00
2017-01-27 16:06:12 +08:00
2016-09-24 00:39:13 +08:00
2017-03-09 15:01:43 +08:00
2017-03-09 15:01:43 +08:00
2016-12-24 16:47:12 +08:00
2016-12-24 16:47:12 +08:00
2017-01-27 16:06:12 +08:00
2016-12-24 20:21:55 +08:00
2016-12-24 20:21:55 +08:00
2017-02-15 17:55:41 +08:00
2017-02-15 17:55:57 +08:00
2017-03-02 12:26:17 +08:00
2017-03-02 12:26:17 +08:00
2017-03-17 13:17:42 +08:00
2017-04-11 12:34:24 +08:00
2017-04-11 12:34:24 +08:00
2017-04-21 11:14:34 +08:00
2017-05-12 21:13:19 +08:00
2017-05-12 21:13:19 +08:00
2017-05-12 21:13:19 +08:00
2017-05-12 21:13:19 +08:00
2017-05-17 20:21:59 +08:00
2017-05-17 20:21:59 +08:00