| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
* tests/run-threaded.c (random_data_close): Correct FD test.
--
An invalid DS is -1 and not 0; this fix is for correctness and does
not chnage anything in the real world.
Signed-off-by: Werner Koch <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tests/run-threaded.c (main): Handle allow-del.
(allow-del): New. Variable to allow deletion of keys.
(import): Delete key after import if allow-del is set.
(delete_impres): Delete keys from an import result.
(delete_fpr): Delete a key by fingerprint.
--
This is intended to test write access and locking of the
keyring by repeatedly importing and deleting pubkeys.
It is an option because it might cause keyring corruption
etc. so it should be explicitly enabled.
|
|
|
|
|
| |
* tests/run-threaded.c (import): New.
(do_data_op): Call it.
|
|
|
|
| |
* tests/run-threaded.c (do_data_op): Use synced out macro.
|
|
|
|
|
|
|
|
| |
* tests/run-threaded.c (decrypt, verify): Don't use a variable name
that is also a macro.
--
It just looks confusing and strange at first glance.
|
|
|
|
|
| |
* tests/run-threaded.c (create_thread): Check proper return
value and not return value of CloseHandle.
|
|
|
|
| |
* tests/run-threaded.c (verify): Free msg.
|
|
|
|
|
|
| |
--
Signed-off-by: Werner Koch <[email protected]>
|
|
* tests/Makefile.am (run-threaded): Add.
* tests/run-threaded.c: New.
--
This test is intended to help detect race conditions
or other multithread problems. It can also be used
to put the whole GnuPG system under extreme load.
|