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)
Sun, Dec 22, 6:13 AM
Unknown Object (File)
Sun, Dec 22, 6:12 AM
Unknown Object (File)
Sun, Dec 22, 6:12 AM
Unknown Object (File)
Thu, Dec 12, 3:18 AM
Unknown Object (File)
Tue, Dec 10, 4:36 AM
Unknown Object (File)
Sat, Nov 30, 7:12 PM
Unknown Object (File)
Nov 22 2024, 8:50 PM
Unknown Object (File)
Nov 1 2024, 7:50 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.