Andre Heinecke
3a3648e3a5
tests: Use synced output for error in run-threaded
...
* tests/run-threaded.c (do_data_op): Use synced out macro.
2019-06-05 16:20:31 +02:00
Andre Heinecke
3a11421d0f
tests: Avoid variable named the same as a 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.
2019-06-05 16:20:31 +02:00
Andre Heinecke
9bbe15ebbc
tests,w32: Fix thread creation in run-threaded
...
* tests/run-threaded.c (create_thread): Check proper return
value and not return value of CloseHandle.
2019-06-05 16:20:31 +02:00
Andre Heinecke
f8312d7c33
tests: Fix memleak in run-threaded
...
* tests/run-threaded.c (verify): Free msg.
2019-02-11 15:33:34 +01:00
Werner Koch
8d91c0f4cd
Add SPDX identifiers to most source files
...
--
Signed-off-by: Werner Koch <wk@gnupg.org>
2018-11-16 13:27:33 +01:00
Andre Heinecke
d0402f886b
tests: Add run-threaded for multithread tests
...
* 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.
2018-11-15 11:57:27 +01:00