overlay: create helper _overlay_scratch_mount_dirs()
authorAmir Goldstein <amir73il@gmail.com>
Wed, 27 Sep 2017 07:04:11 +0000 (10:04 +0300)
committerEryu Guan <eguan@redhat.com>
Tue, 10 Oct 2017 07:44:18 +0000 (15:44 +0800)
commit371f7f52f295450a2c7030f825a9a2677826cc97
treeaf52768cbf15884a8ff2a0dc522d8efefecf52d5
parent510ea2920102872287159273c34b4d9d6cbd6103
overlay: create helper _overlay_scratch_mount_dirs()

A helper to mount with same options/mnt/dev of scratch mount, but
optionally with different lower/upper/work dirs.
use instead of _overlay_mount_dirs() in all tests where applicable.

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
common/rc
tests/overlay/005
tests/overlay/010
tests/overlay/014
tests/overlay/031
tests/overlay/035
tests/overlay/037
tests/overlay/038