<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/regress/lib/libcrypto/test, branch OPENBSD_7_8</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=OPENBSD_7_8</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=OPENBSD_7_8'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2025-05-31T11:37:18+00:00</updated>
<entry>
<title>test.h: include stddef.h for NULL and size_t</title>
<updated>2025-05-31T11:37:18+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2025-05-31T11:37:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=4ee8a8e39e8365288d5443fbafe555a40051c042'/>
<id>urn:sha1:4ee8a8e39e8365288d5443fbafe555a40051c042</id>
<content type='text'>
</content>
</entry>
<entry>
<title>test.c: drop include of libgen.h</title>
<updated>2025-05-31T11:36:48+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2025-05-31T11:36:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=f6ebd40f367860354dc6ceb68ff744fe8f52906c'/>
<id>urn:sha1:f6ebd40f367860354dc6ceb68ff744fe8f52906c</id>
<content type='text'>
This no longer uses basenam, so we can drop this header which isn't
available on Windows.
</content>
</entry>
<entry>
<title>test.c: plug leak of tmp_file</title>
<updated>2025-05-31T11:29:59+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2025-05-31T11:29:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=dd971c06a4c48aa08406cb752009ab11e3965548'/>
<id>urn:sha1:dd971c06a4c48aa08406cb752009ab11e3965548</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix attributes in test.h</title>
<updated>2025-05-31T08:25:04+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2025-05-31T08:25:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=0f53fc6f455a6f22e1f49f8bcbd060f4ded56d49'/>
<id>urn:sha1:0f53fc6f455a6f22e1f49f8bcbd060f4ded56d49</id>
<content type='text'>
The __attribute__ is part of the function declaration, hence drop the
incorrect early semicolons. Fixes the build of the md test on sparc64.

In file included from /usr/src/regress/lib/libcrypto/md/md_test.c:25:
/usr/src/regress/lib/libcrypto/md/../test/test.h:61: warning: empty declaration
/usr/src/regress/lib/libcrypto/md/../test/test.h:77: warning: empty declaration
/usr/src/regress/lib/libcrypto/md/../test/test.h:114: warning: empty declaration
</content>
</entry>
<entry>
<title>test.c: avoid NULL-dereference</title>
<updated>2025-05-31T08:23:46+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2025-05-31T08:23:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=c6ac12da697e802f9ded4347fc8dcfc0760f0330'/>
<id>urn:sha1:c6ac12da697e802f9ded4347fc8dcfc0760f0330</id>
<content type='text'>
test_init() calls test_new(NULL, NULL), which leads to a segfault.
llvm 16 optimizes this away with -O2, however gcc 4.2.1 on sparc64
doesn't. Fix this by only inheriting the out FILE from the parent
if the latter is non-NULL.
</content>
</entry>
<entry>
<title>Fix test_errorf macro expanding to two lines</title>
<updated>2025-05-22T02:23:41+00:00</updated>
<author>
<name>joshua</name>
<email></email>
</author>
<published>2025-05-22T02:23:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=1a5ad1f4d29f292ddf22f5f97f4743ee3622d6c3'/>
<id>urn:sha1:1a5ad1f4d29f292ddf22f5f97f4743ee3622d6c3</id>
<content type='text'>
This caused test_fail to always be called when used in certain conditions,
and wrapping with do {} while (0) fixes this.
</content>
</entry>
<entry>
<title>Add initial regress test framework</title>
<updated>2025-05-21T08:57:13+00:00</updated>
<author>
<name>joshua</name>
<email></email>
</author>
<published>2025-05-21T08:57:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=c149f5ceaf380116e82c4ff7b1292c52e6bf5b07'/>
<id>urn:sha1:c149f5ceaf380116e82c4ff7b1292c52e6bf5b07</id>
<content type='text'>
Add a test framework for use in LibreSSL regression tests. This test
framework aims to be as lightweight and as simple to use as possible.

The design is mostly inspired by Go's test system, and aims to be a
drop-in utility in most existing regress tests.

ok jsing tb beck
</content>
</entry>
</feed>
