overlay/065: Adapt test to relaxed rules
authorAmir Goldstein <amir73il@gmail.com>
Mon, 26 Apr 2021 16:01:43 +0000 (19:01 +0300)
committerEryu Guan <guaneryu@gmail.com>
Sun, 9 May 2021 13:50:22 +0000 (21:50 +0800)
commit6159ae7faf4cb293de400f81e2554ac35072faa1
tree4c4cbb28a81909c224c39086c6dd9a13b3538e6e
parent69db2233f3570ca64e78300bcc04fef183775ee3
overlay/065: Adapt test to relaxed rules

Kernel commit 708fa01597fa ("ovl: allow upperdir inside lowerdir")
changes the rules w.r.t allowed overlayfs configurations, so the
upperdir/lowerdir test that expects an error fails.

Adapt the test to check the configuration that is still not allowed
(lowerdir inside upperdir), which had no test coverage.

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