Skip to content

Commit 980fa17

Browse files
committed
tests: Move common to separate module to avoid endless test file
... which is no longer basic after having 2000+ lines Signed-off-by: Jakub Jelen <jjelen@redhat.com>
1 parent 408e665 commit 980fa17

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cryptoki/tests/common.rs renamed to cryptoki/tests/common/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ fn get_pkcs11_path() -> String {
1616
.unwrap_or_else(|_| "/usr/local/lib/softhsm/libsofthsm2.so".to_string())
1717
}
1818

19+
#[allow(dead_code)]
1920
pub fn is_softhsm() -> bool {
2021
get_pkcs11_path().contains("softhsm")
2122
}

0 commit comments

Comments
 (0)