Re: PSA: we lack TAP test coverage on NetBSD and OpenBSD

Mikael Kjellström <mikael.kjellstrom@mksoft.nu>

From: Mikael Kjellström <mikael.kjellstrom@mksoft.nu>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers@lists.postgresql.org
Date: 2019-01-17T23:00:49Z
Lists: pgsql-hackers

On 2019-01-17 23:54, Mikael Kjellström wrote:

> But it looks like in NetBSD the options are called:
> 
> netbsd7-pgbf# sysctl -a | grep semmn
> kern.ipc.semmni = 10
> kern.ipc.semmns = 60
> kern.ipc.semmnu = 30
> 
> so I will try and set that in /etc/sysctl.conf and reboot and see what 
> happens.

That seems to have done the trick:

netbsd7-pgbf# sysctl -a | grep semmn
kern.ipc.semmni = 100
kern.ipc.semmns = 2000
kern.ipc.semmnu = 30

I just started another run on sidewinder (NetBSD 7), let's see how that 
goes.

but the OpenBSD machine went further and now fails on:

pgbenchCheck instead.

Is that the failure you expected to get?

/Mikael


Commits

  1. Fix portability problem in pgbench.

  2. Avoid assuming that we know the spelling of getopt_long's error messages.