overlay/065: adjust test to expect EBUSY only with index=on
authorAmir Goldstein <amir73il@gmail.com>
Sun, 28 Jul 2019 10:21:24 +0000 (13:21 +0300)
committerEryu Guan <guaneryu@gmail.com>
Sun, 28 Jul 2019 10:41:55 +0000 (18:41 +0800)
commit04d08996e9508e521c94bfca6dc36d74405d1c2c
tree4c78646dad04c09caa9e200cb91b83aa1439aca0
parent6a04d0f74eb2015a70d22bef6ff0cf35fcbb2e5b
overlay/065: adjust test to expect EBUSY only with index=on

This is needed to support the kernel regression fix commit 0be0bfd2de9d
("ovl: fix regression caused by overlapping layers detection").

Overlayfs mount is not supposed to fail due to upper/work dir in-use
by other mount unless option index=on is enabled.

Add test variants for index=on and index=off.

Fix some wrong comments and clean noise lines in golden output.

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