]> git.ipfire.org Git - thirdparty/util-linux.git/commit
tests: don't use mount.<type> helpers in mount-by-pattern tests
authorKarel Zak <kzak@redhat.com>
Tue, 19 Dec 2017 12:46:35 +0000 (13:46 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 19 Dec 2017 12:51:12 +0000 (13:51 +0100)
commit03700127a7254e61e34ecc24e0bca8c23de4bc02
tree9c4e52924db6f052b42be973889701fd242d2aa8
parentcf9b16f1d408faa63009667329431f7969303220
tests: don't use mount.<type> helpers in mount-by-pattern tests

The test behavior is fragile if depends on external helpers. Let's
keep it based on mount(2) only. The test will be faster too.

Note that "mount -t <pattern>" does not behaviour as expected with
helpers. We need to try another helper if the current one ends with
status=1 (waitpid()). Now it returns status from the first helper.

Reported-by: Ruediger Meier <sweet_f_a@gmx.de>
Signed-off-by: Karel Zak <kzak@redhat.com>
tests/ts/mount/fslists