I tried to install the zeek/corelight/zeek-spicy-wireguard plugin, version 0.1.8 using “zkg install”.
This fails with the following error:
error: failed to run tests for “zeek/corelight/zeek-spicy-wireguard”: test_command failed with exit code 1
Diving into this, it seems that btest is looking for btest.cfg which doesn’t exist in this version (it did in v0.1.6 but not in v.0.1.7 nor v0.1.8). I can obviously use the option “–skiptests” to prevent any unit tests but I prefer not to.
Does anyone know if it is indeed missing or is there something else wrong?
Yes, that package seems broken since 658a68f1b3c which is part of tag v0.1.7 (in earlier versions tests were in tests/ which had the config file). Since the package sets a test command in its zkg.meta which invokes btest
it also has to provide a btest.cfg.
I suggest you open an issue in the package repo so the authors can fix it.