freebsd-dev/tests/sys/netipsec/tunnel/aesni_aes_gcm_256.sh
Alan Somers 85e089fe36 Clear expected failures for aesni_aes_gcm tests
These tests were fixed by r335584

PR:		228094
PR:		201447
MFC after:	2 weeks
X-MFC-With:	335584
2018-07-21 19:28:07 +00:00

50 lines
755 B
Bash
Executable File

# $FreeBSD$
. $(atf_get_srcdir)/utils.subr
atf_test_case "v4" "cleanup"
v4_head()
{
atf_set descr 'IPSec inet4 tunnel using aes-gcm-256 and AESNI'
atf_set require.user root
}
v4_body()
{
# load AESNI module if not already
kldstat -q -n aesni || kldload aesni
ist_test 4 aes-gcm-16 "123456789012345678901234567890123456"
}
v4_cleanup()
{
ist_cleanup
}
atf_test_case "v6" "cleanup"
v6_head()
{
atf_set descr 'IPSec inet6 tunnel using aes-gcm-256 and AESNI'
atf_set require.user root
}
v6_body()
{
# load AESNI module if not already
kldstat -q -n aesni || kldload aesni
ist_test 6 aes-gcm-16 "123456789012345678901234567890123456"
}
v6_cleanup()
{
ist_cleanup
}
atf_init_test_cases()
{
atf_add_test_case "v4"
atf_add_test_case "v6"
}