Page MenuHomeFreeBSD

Reduce the runtime of the GELI tests without reducing the coverage.
ClosedPublic

Authored by asomers on Dec 16 2016, 12:51 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mar 8 2024, 5:29 AM
Unknown Object (File)
Feb 23 2024, 12:08 AM
Unknown Object (File)
Feb 13 2024, 5:58 AM
Unknown Object (File)
Jan 28 2024, 6:36 PM
Unknown Object (File)
Jan 17 2024, 12:17 AM
Unknown Object (File)
Jan 9 2024, 5:13 AM
Unknown Object (File)
Jan 9 2024, 5:13 AM
Unknown Object (File)
Jan 9 2024, 5:13 AM
Subscribers

Details

Summary

Reduce the runtime of the GELI tests without reducing the coverage.

On my system runtime is reduced from 38m32s to 6m24s.

tests/sys/geom/class/eli/conf.sh
tests/sys/geom/class/eli/init_a_test.sh
tests/sys/geom/class/eli/init_test.sh
tests/sys/geom/class/eli/integrity_copy_test.sh
tests/sys/geom/class/eli/integrity_data_test.sh
tests/sys/geom/class/eli/integrity_hmac_test.sh
tests/sys/geom/class/eli/onetime_a_test.sh
tests/sys/geom/class/eli/onetime_test.sh
Move the looping code into common functions in conf.sh, and
remove alias ciphers from the list.

tests/sys/geom/class/eli/init_a_test.sh
tests/sys/geom/class/eli/init_test.sh
tests/sys/geom/class/eli/integrity_copy_test.sh
tests/sys/geom/class/eli/integrity_data_test.sh
tests/sys/geom/class/eli/integrity_hmac_test.sh
tests/sys/geom/class/eli/onetime_a_test.sh
Move a few commands that don't need to be in the inner loop out.

tests/sys/geom/class/eli/init_test.sh
tests/sys/geom/class/eli/onetime_a_test.sh
Reduce the sector count

tests/sys/geom/class/eli/Makefile
tests/sys/geom/class/eli/init_alias_test.sh
Add a test for initializing a GELI device using one of the
cipher aliases, and check that the alias is correctly
interpreted.

Test Plan

kyua

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

asomers retitled this revision from to Reduce the runtime of the GELI tests without reducing the coverage..
asomers updated this object.
asomers edited the test plan for this revision. (Show Details)
asomers added a reviewer: ngie.
This revision was automatically updated to reflect the committed changes.