]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
tests: ipsec: Don't load/unload aesni.ko in the test header
authorkp <kp@FreeBSD.org>
Sun, 3 Dec 2017 18:35:07 +0000 (18:35 +0000)
committerkp <kp@FreeBSD.org>
Sun, 3 Dec 2017 18:35:07 +0000 (18:35 +0000)
commitb5095f7a505cc6e897bec45e865426d6576ec48d
tree26233d967ffa2de354402d3ce0fd495b3f74cb68
parent707df4a09be97b3ed5e97e85f48423ef30ea1c07
tests: ipsec: Don't load/unload aesni.ko in the test header

We can't kldunload in the test head as Kyua interprets any output from
them. This would lead to syntax errors and skipping the entire file.

Move the kld commands into the test case bodies.

Pointed out by: asomers@
tests/sys/netipsec/tunnel/aes_cbc_128_hmac_sha1.sh
tests/sys/netipsec/tunnel/aes_cbc_256_hmac_sha2_256.sh
tests/sys/netipsec/tunnel/aes_gcm_128.sh
tests/sys/netipsec/tunnel/aes_gcm_256.sh
tests/sys/netipsec/tunnel/aesni_aes_cbc_128_hmac_sha1.sh
tests/sys/netipsec/tunnel/aesni_aes_cbc_256_hmac_sha2_256.sh
tests/sys/netipsec/tunnel/aesni_aes_gcm_128.sh
tests/sys/netipsec/tunnel/aesni_aes_gcm_256.sh