]> 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:46:35 +0000 (13:46 +0100)
commit58688816c4dfc0b522f3fbf551b82af7900ddab9
treefae82aa55a0148d46d20fc8b0715b26822e4225a
parent928ff98abb255c3cee93a40c79587a835f2c0cf1
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