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)
Fri, Nov 1, 7:50 PM
Unknown Object (File)
Oct 2 2024, 3:05 AM
Unknown Object (File)
Oct 1 2024, 12:59 PM
Unknown Object (File)
Sep 30 2024, 12:58 AM
Unknown Object (File)
Sep 27 2024, 9:36 AM
Unknown Object (File)
Sep 24 2024, 8:35 PM
Unknown Object (File)
Sep 19 2024, 9:57 PM
Unknown Object (File)
Sep 18 2024, 8:54 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.