<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ngircd/src/testsuite, branch master</title>
<subtitle>ngircd with make
</subtitle>
<id>http://git.nakidai.ru/ngircd/atom?h=master</id>
<link rel='self' href='http://git.nakidai.ru/ngircd/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/'/>
<updated>2024-04-13T14:04:29+00:00</updated>
<entry>
<title>Test suite: Correctly test for LOGNAME and USER</title>
<updated>2024-04-13T14:04:29+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2024-04-13T14:04:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=b77b9432c45d6f38c0ad6d9021afb4dd91f163e4'/>
<id>urn:sha1:b77b9432c45d6f38c0ad6d9021afb4dd91f163e4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Test suite: Don't use "pgrep -u" when LOGNAME and USER are not set</title>
<updated>2024-04-13T13:54:06+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2024-04-13T13:52:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=a33d15751b3e3910bd06125efbeae6569844f313'/>
<id>urn:sha1:a33d15751b3e3910bd06125efbeae6569844f313</id>
<content type='text'>
Thanks for reporting this on IRC, luca!
</content>
</entry>
<entry>
<title>Test suite: Use $USER in getpid.sh when $LOGNAME is not set</title>
<updated>2024-04-13T10:22:35+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2024-04-13T10:00:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=e3f96d446dd88241a94de51b676fd118d47ab7d7'/>
<id>urn:sha1:e3f96d446dd88241a94de51b676fd118d47ab7d7</id>
<content type='text'>
The LOGNAME environment variable is not set in GitHub "actions", for
example ...
</content>
</entry>
<entry>
<title>Test suite: wait for ERROR message on QUIT</title>
<updated>2024-04-05T21:16:07+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2024-04-02T20:01:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=a8a37b681e54cb236f0547961d87bf271db8d536'/>
<id>urn:sha1:a8a37b681e54cb236f0547961d87bf271db8d536</id>
<content type='text'>
Wait for the "ERROR :Closing connection" message sent by ngIRCd when
handling the QUIT command, do not wait for "Connection closed" which is
actually output by the telnet(1) command and is implementation
dependant! For example, on Haiku OS, this is not always(!) echoed (the
command seems to hang sometimes?) which results in unpredictable
failures in the test suite ...
</content>
</entry>
<entry>
<title>Test suite: simplify and enhance getpid.sh</title>
<updated>2024-04-05T21:16:07+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2024-04-01T19:38:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=22a8744476dff7763cd94954bd8f96fbdfc0d251'/>
<id>urn:sha1:22a8744476dff7763cd94954bd8f96fbdfc0d251</id>
<content type='text'>
- Try to only search for processes of the current user.
- Prefer using pgrep (in addition to pidof) when available.
- Streamline system overrides.
- Get rid of HEAD_FLAGS: all systems so far support "-1".
- Use "ps -o pid,comm" as the default, which is POSIX.1.
- Use "sort -r" to hopefully get the newest (=highest) PID, which is the
  case on older systems not using randomized PIDs at least.
</content>
</entry>
<entry>
<title>Test suite: clean up scripts</title>
<updated>2024-04-05T21:16:07+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2024-03-31T17:53:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=7e78c293a97239f895b862836c65c4b755abdc52'/>
<id>urn:sha1:7e78c293a97239f895b862836c65c4b755abdc52</id>
<content type='text'>
- Reformat code.
- Cleanup some glitches, streamline scripts ...
- Enable "set -u": Error on unset variables.
- Detect "$srcdir" in prep-server3 script, too.
</content>
</entry>
<entry>
<title>Revert "testsuite: Pass -nameopt to openssl s_client."</title>
<updated>2024-04-02T20:06:38+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2024-04-01T18:54:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=8d6f2c2820567a350c57dd15cee06e13535471c2'/>
<id>urn:sha1:8d6f2c2820567a350c57dd15cee06e13535471c2</id>
<content type='text'>
Although this is a nice looking solution, it is not that portable: for
example, the "openssl s_client" command of LibreSSL 3.8.2 on OpenBSD 7.4
does not support it.

So let's revert back to the "uglier" but working variant ...

This reverts commit bdb55fb4b322b2c84530855a3b5148a0e387f5b4.
</content>
</entry>
<entry>
<title>S2S-TLS: Fix "make check" in separate build directory</title>
<updated>2024-03-23T19:23:32+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2024-02-09T23:14:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=b9d6a2f49c4b3607c69b298cc770c0c945f627f6'/>
<id>urn:sha1:b9d6a2f49c4b3607c69b298cc770c0c945f627f6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>testsuite: Pass -nameopt to openssl s_client.</title>
<updated>2024-02-05T12:39:15+00:00</updated>
<author>
<name>Sebastian Andrzej Siewior</name>
<email>sebastian@breakpoint.cc</email>
</author>
<published>2024-01-30T20:26:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=bdb55fb4b322b2c84530855a3b5148a0e387f5b4'/>
<id>urn:sha1:bdb55fb4b322b2c84530855a3b5148a0e387f5b4</id>
<content type='text'>
The default value for the -nameopt option changed in OpenSSL 3.2 from
`oneline' to `utf8'. The `oneline' option also included a space around
the fields which is not the case for `utf8'. This means that
	CN = my.first.domain.tld

changed to

	CN=my.first.domain.tld

and is now longer recognized, leading to test failure.
This can be fixed by either going back to `oneline' or keeping `utf8'
and adding additionally `space_eq'. Anoter way would be to teach the
expect that the space is optional.

Add explicit -nameopt option with `utf8,space_eq' which is understood by
by OpenSSL 3.2 and earlier to make explicit. Remove the wildcard.

Signed-off-by: Sebastian Andrzej Siewior &lt;sebastian@breakpoint.cc&gt;
</content>
</entry>
<entry>
<title>Testsuite: Test for the openssl command before using it</title>
<updated>2024-01-23T13:43:06+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2024-01-23T13:41:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=951c8b84ab926298bf2fb05a172cf75d80300289'/>
<id>urn:sha1:951c8b84ab926298bf2fb05a172cf75d80300289</id>
<content type='text'>
And skip the tests calling it instead of failing!
</content>
</entry>
</feed>
