<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gpgme/tests/run-threaded.c, branch wk/new-wait</title>
<subtitle>GnuPG Made Easy.</subtitle>
<id>http://git.bktus.com/gpgfrontend/gpgme/atom?h=wk%2Fnew-wait</id>
<link rel='self' href='http://git.bktus.com/gpgfrontend/gpgme/atom?h=wk%2Fnew-wait'/>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/'/>
<updated>2019-06-06T16:59:16Z</updated>
<entry>
<title>tests: Minor fix to run-threaded.c.</title>
<updated>2019-06-06T16:59:16Z</updated>
<author>
<name>Werner Koch</name>
<email>wk@gnupg.org</email>
</author>
<published>2019-06-06T16:59:16Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=f6fd90c99aea8b604d76ae49d29bc5269c236a98'/>
<id>urn:sha1:f6fd90c99aea8b604d76ae49d29bc5269c236a98</id>
<content type='text'>
* 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 &lt;wk@gnupg.org&gt;
</content>
</entry>
<entry>
<title>tests: Add option "allow-del" to run-threaded</title>
<updated>2019-06-06T07:19:02Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@gnupg.org</email>
</author>
<published>2019-06-06T07:19:02Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=e6f28273062ff26344163e219c1b784ae99de980'/>
<id>urn:sha1:e6f28273062ff26344163e219c1b784ae99de980</id>
<content type='text'>
* 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.
</content>
</entry>
<entry>
<title>tests: Implement import in run-threaded</title>
<updated>2019-06-05T15:23:59Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@gnupg.org</email>
</author>
<published>2019-06-05T15:23:59Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=024a7f75d4b8e017b92a13552b23e7fb1d22a5ce'/>
<id>urn:sha1:024a7f75d4b8e017b92a13552b23e7fb1d22a5ce</id>
<content type='text'>
* tests/run-threaded.c (import): New.
(do_data_op): Call it.
</content>
</entry>
<entry>
<title>tests: Use synced output for error in run-threaded</title>
<updated>2019-06-05T14:20:31Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@gnupg.org</email>
</author>
<published>2019-06-05T14:14:38Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=3a3648e3a56712261bda4fa866bd2419a740cec8'/>
<id>urn:sha1:3a3648e3a56712261bda4fa866bd2419a740cec8</id>
<content type='text'>
* tests/run-threaded.c (do_data_op): Use synced out macro.
</content>
</entry>
<entry>
<title>tests: Avoid variable named the same as a macro</title>
<updated>2019-06-05T14:20:31Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@gnupg.org</email>
</author>
<published>2019-06-05T14:08:54Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=3a11421d0f63b8cb5afa407cd65f763b11033241'/>
<id>urn:sha1:3a11421d0f63b8cb5afa407cd65f763b11033241</id>
<content type='text'>
* 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.
</content>
</entry>
<entry>
<title>tests,w32: Fix thread creation in run-threaded</title>
<updated>2019-06-05T14:20:31Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@gnupg.org</email>
</author>
<published>2019-06-05T14:07:43Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=9bbe15ebbc41533fa219d5b3017a26a75bc72731'/>
<id>urn:sha1:9bbe15ebbc41533fa219d5b3017a26a75bc72731</id>
<content type='text'>
* tests/run-threaded.c (create_thread): Check proper return
value and not return value of CloseHandle.
</content>
</entry>
<entry>
<title>tests: Fix memleak in run-threaded</title>
<updated>2019-02-11T14:33:34Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@gnupg.org</email>
</author>
<published>2019-02-11T14:32:49Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=f8312d7c333193582dcb5816198219b9564023f0'/>
<id>urn:sha1:f8312d7c333193582dcb5816198219b9564023f0</id>
<content type='text'>
* tests/run-threaded.c (verify): Free msg.
</content>
</entry>
<entry>
<title>Add SPDX identifiers to most source files</title>
<updated>2018-11-16T12:27:33Z</updated>
<author>
<name>Werner Koch</name>
<email>wk@gnupg.org</email>
</author>
<published>2018-11-16T12:27:33Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=8d91c0f4cdcc26679067ae681ae12600fb450200'/>
<id>urn:sha1:8d91c0f4cdcc26679067ae681ae12600fb450200</id>
<content type='text'>
--

Signed-off-by: Werner Koch &lt;wk@gnupg.org&gt;
</content>
</entry>
<entry>
<title>tests: Add run-threaded for multithread tests</title>
<updated>2018-11-15T10:57:27Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@intevation.de</email>
</author>
<published>2018-11-15T10:57:27Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=d0402f886b720d03369887c807581bd980ee70cf'/>
<id>urn:sha1:d0402f886b720d03369887c807581bd980ee70cf</id>
<content type='text'>
* 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.
</content>
</entry>
</feed>
