Files
apfstests/tests/overlay
zhangyi (F) 697e465ca3 overlay: correct scratch dirs check
Tests that use _overlay_scratch_mount_dirs instead of _scratch_mount
should use _require_scratch_nocheck instead of _require_scratch
because these tests are either mounting with multiple lower dirs or
mounting with non-default lower/upper/work dir, so
_check_overlay_scratch_fs won't handle these cases correctly. So we
introduce _overlay_check_scratch_dirs helper and should call this
helper with the correct dir arguments for these non-default cases.

This patch modify these tests to optionally call
_overlay_check_scratch_dirs at the end of the test or after
_scratch_umount to mount base filesystem only and run the checker.

Signed-off-by: zhangyi (F) <yi.zhang@huawei.com>
Reviewed-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
2018-03-01 23:02:48 +08:00
..
2018-03-01 23:01:59 +08:00
2016-05-09 10:55:44 +10:00
2018-03-01 23:02:48 +08:00
2017-02-04 14:16:43 +08:00
2016-06-23 20:18:29 +08:00
2016-06-23 20:18:32 +08:00
2018-03-01 23:02:48 +08:00
2016-07-31 10:37:08 +08:00
2018-03-01 23:02:48 +08:00
2017-05-01 14:08:03 +08:00
2017-11-20 15:45:47 +08:00
2017-01-17 11:21:54 +08:00
2017-02-23 18:40:57 +08:00
2018-03-01 23:02:48 +08:00
2018-03-01 23:02:48 +08:00
2017-11-26 15:38:55 +08:00
2018-03-01 23:02:48 +08:00
2018-03-01 23:02:48 +08:00
2017-09-04 15:40:52 +08:00
2017-09-17 22:24:28 +08:00
2017-09-17 22:24:28 +08:00
2017-09-17 22:24:28 +08:00
2018-03-01 23:02:48 +08:00
2018-03-01 23:02:48 +08:00
2018-03-01 23:02:48 +08:00
2018-02-08 20:20:22 +08:00
2018-02-08 20:20:22 +08:00
2018-02-08 20:20:22 +08:00
2018-02-08 20:20:22 +08:00
2018-03-01 23:02:48 +08:00
2018-03-01 23:02:48 +08:00
2018-03-01 23:02:48 +08:00
2018-02-08 20:20:22 +08:00
2018-02-08 20:20:22 +08:00
2018-02-08 20:20:22 +08:00