Wednesday, May 01, 2024

Re: [NEW] net/crawley-v1.7.5

On Wed, May 01, 2024 at 01:07:07AM -0400, Russ Sharek wrote:
> Here's a diff that adds both the NO_TEST and README.md to the port.

I know nothing about go, but I had a quick look into getting the tests working.

According to the interwebs, adding a do-test target this should run all tests
in the source dir:

```
do-test:
cd ${WRKSRC} && ${MODGO_CMD} test ./...
```

But if you run `go test cmd` much more tests are run, which leads me to believe
that the above isn't running all of the tests as advertised.

I'm not really sure why the default `do-test` isn't sufficient either.

Right, that's it. I'm invoking abieber@ :)

Any ideas abieber@?

--
Best Regards
Edd Barrett

https://www.theunixzoo.co.uk

Re: fw_update

> How does fw_update install the drivers?
> How does it know which driver is missing on the system?

Just list the following sequence (outputs inserted too):
$ which fw_update
/usr/sbin/fw_update
$ cat /usr/sbin/fw_update
#!/bin/ksh
#       $OpenBSD: fw_update.sh,v 1.56 2024/03/21 01:02:29 afresh1 Exp $
[ ... ]

You can see the file for many "utilities", i.e. pkg_* suite too. Some are shell scripts, some are perl scrips or maybe other interpreted languages. Some are binary. fw_update is done as a shell script.