]> git.ipfire.org Git - thirdparty/util-linux.git/commit
tests: fix mount move test to work with shared mount
authorMilan Broz <mbroz@redhat.com>
Fri, 5 Oct 2012 16:37:40 +0000 (18:37 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 9 Oct 2012 10:12:49 +0000 (12:12 +0200)
commit5eec85708da68e9d2d32f51db6db30f2c0ffb438
tree7270d790af8db104f55c2228c9dfec99eab81092
parent53ebc440fc2c470e98d835f1e193e344bcc62c21
tests: fix mount move test to work with shared mount

If parent mount for test directory is mounted with shared flag,
move mount test fails because kernel rejects mount move operation.

Use another directory level and explicitly make parent mount private.

(All "modern" systems using system have mounts shared for some reason.)

Signed-off-by: Milan Broz <mbroz@redhat.com>
tests/ts/mount/move