overlay: run unionmount tests with custom overlay mount options
authorAmir Goldstein <amir73il@gmail.com>
Sat, 19 Dec 2020 10:47:27 +0000 (12:47 +0200)
committerEryu Guan <guaneryu@gmail.com>
Sun, 20 Dec 2020 16:18:43 +0000 (00:18 +0800)
commit0ad1c034838d9c5fc0830a1d780d857c47305cec
tree1bb32cecbdd42dd699e669c82708393091597989
parenta633d252e3c4d33715504cf659f286077bdfd67f
overlay: run unionmount tests with custom overlay mount options

Assign $OVERLAY_MOUNT_OPTIONS to UNIONMOUNT_MNTOPTIONS and require
that unionmount supports UNIONMOUNT_MNTOPTIONS if OVERLAY_MOUNT_OPTIONS
was provided.

For example, when the mount option metacopy=on is set in
$OVERLAY_MOUNT_OPTIONS, it enables the --meta test option and affects
the test verifications after copy up.

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
common/overlay