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
..
2017-03-01 18:36:02 +08:00
2016-02-08 09:27:14 +11:00
2017-03-01 18:36:02 +08:00
2016-03-23 17:39:11 +11:00
2018-03-01 23:01:59 +08:00
2016-05-09 10:55:44 +10:00
2017-03-01 18:36:02 +08:00
2016-05-09 10:56:29 +10:00
2018-03-01 23:02:48 +08:00
2016-06-15 15:33:47 +08:00
2017-03-01 18:36:02 +08:00
2016-06-23 20:18:07 +08:00
2017-02-04 14:16:43 +08:00
2016-06-23 20:18:29 +08:00
2017-03-01 18:36:02 +08:00
2016-06-23 20:18:32 +08:00
2017-03-01 18:36:02 +08:00
2016-07-01 11:17:08 +08:00
2018-03-01 23:02:48 +08:00
2016-07-01 11:17:08 +08:00
2017-03-01 18:36:02 +08:00
2016-07-31 10:37:08 +08:00
2017-03-01 18:36:02 +08:00
2016-07-31 10:37:08 +08:00
2017-03-01 18:36:02 +08:00
2016-10-21 23:20:14 +08:00
2018-03-01 23:02:48 +08:00
2016-09-08 13:54:54 +08:00
2017-03-01 18:36:02 +08:00
2016-09-13 14:50:31 +08:00
2017-03-01 18:36:02 +08:00
2016-12-13 14:26:18 +08:00
2018-01-29 15:55:47 +08:00
2017-05-01 14:08:03 +08:00
2017-11-20 15:45:47 +08:00
2017-07-06 13:38:59 +08:00
2018-03-01 23:02:06 +08:00
2016-12-24 18:38:30 +08:00
2017-03-01 18:36:02 +08:00
2017-01-05 15:34:57 +08:00
2017-03-01 18:36:02 +08:00
2017-01-17 11:21:54 +08:00
2017-03-01 18:36:02 +08:00
2017-02-23 18:20:46 +08:00
2017-03-01 18:36:02 +08:00
2017-03-01 18:35:27 +08:00
2017-03-01 18:36:02 +08:00
2017-02-23 18:28:41 +08:00
2017-02-23 18:40:56 +08:00
2017-02-23 18:40:56 +08:00
2017-02-23 18:40:56 +08:00
2017-02-23 18:40:56 +08:00
2017-04-07 13:11:56 +08:00
2017-02-23 18:40:56 +08:00
2017-03-01 18:36:02 +08:00
2017-02-23 18:40:57 +08:00
2017-03-01 18:36:02 +08:00
2017-02-23 18:40:57 +08:00
2017-04-08 23:22:58 +08:00
2017-04-08 23:22:58 +08:00
2018-03-01 23:02:06 +08:00
2017-06-19 18:26:09 +08:00
2017-07-16 19:15:15 +08:00
2017-07-06 13:39:03 +08:00
2018-01-29 15:43:51 +08:00
2017-07-06 13:39:06 +08:00
2018-01-29 15:43:51 +08:00
2017-07-06 13:39:10 +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
2017-11-26 15:38:55 +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
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
2017-09-17 22:24:28 +08:00
2018-03-01 23:02:48 +08:00
2017-10-13 12:12:12 +08:00
2017-12-01 16:51:00 +08:00
2017-11-03 19:04:49 +08:00
2018-03-01 23:02:48 +08:00
2017-11-20 15:46:15 +08:00
2018-03-01 23:02:48 +08:00
2017-11-20 15:46:40 +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
2017-12-01 16:51:00 +08:00
2017-12-01 16:51:00 +08:00
2018-01-29 15:43:51 +08:00
2017-12-01 16:51:00 +08:00
2018-03-01 23:02:06 +08:00
2018-01-29 18:08:00 +08:00
2018-01-30 14:40:25 +08:00
2018-01-30 14:40:25 +08:00
2018-03-01 23:02:48 +08:00
2018-01-30 14:40:38 +08:00
2018-01-30 14:40:43 +08:00
2018-01-30 14:40:43 +08:00
2018-03-01 23:02:48 +08:00
2018-01-30 14:40:53 +08:00
2018-02-03 00:33:51 +08:00
2018-02-03 00:33:51 +08:00
2018-03-01 23:02:48 +08:00
2018-02-03 00:33:51 +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
2016-07-18 16:55:04 +08:00