]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Load geom_gate(4) if necessary before running tests; skip if it can't be loaded
authorEnji Cooper <ngie@FreeBSD.org>
Sat, 29 Jul 2017 22:01:17 +0000 (22:01 +0000)
committerEnji Cooper <ngie@FreeBSD.org>
Sat, 29 Jul 2017 22:01:17 +0000 (22:01 +0000)
commitb8891d7c1037efba4e0e6dd94baf63f696cf96b0
tree7e26af43585fde048121082577eacff0c151f9cb
parent4261923e76c8c106ffb972b6524b0485d0fe8120
Load geom_gate(4) if necessary before running tests; skip if it can't be loaded

The test code prior to r311893 loaded geom_gate at test start if necessary and
skipped the tests if it couldn't be loaded.

The ATF-ifcation of this test done in r311893 unfortunately dropped this
functionality.

This change restores the geom_gate module load and skips the test(s) if unavailable
in an ATF-like way.

MFC after: 1 month
PR: 220164
Reported by: gjb
tests/sys/geom/class/gate/ggate_test.sh