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
F149488764: D8814.id.diff
Tue, Mar 24, 7:21 PM
Unknown Object (File)
Thu, Mar 19, 5:32 AM
Unknown Object (File)
Thu, Mar 19, 5:32 AM
Unknown Object (File)
Thu, Mar 19, 5:32 AM
Unknown Object (File)
Wed, Mar 18, 9:58 PM
Unknown Object (File)
Tue, Mar 10, 6:22 PM
Unknown Object (File)
Tue, Mar 10, 6:22 PM
Unknown Object (File)
Tue, Mar 10, 3:00 PM
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.