-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix tests/README (adapt to meson), use MD format
Resolves: #381 Signed-off-by: Sergio Arroutbi <[email protected]>
- Loading branch information
Showing
2 changed files
with
19 additions
and
11 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
README.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
Tests are currently available for two different software token implementations, | ||
NSS's softokn and softhsm (with some limitations). | ||
|
||
The easiest way to configure things to run manual tests is to simply execute next command from project's root directory: | ||
```bash | ||
meson test -C build | ||
``` | ||
Be aware that previous command might change if a different build directory has been selected. Previous command will create two temporary directories with each token's configurations. | ||
|
||
After `meson test` command has run, set up the environment with: | ||
```bash | ||
$ source tests/tmp.<softokn|softhsm>/testvars | ||
``` | ||
|
||
Then code can be executed like: | ||
```bash | ||
$ openssl pkey -in $ECPUBURI -pubin -pubout -out ecout.pub | ||
``` |