mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 18:10:06 -05:00
EVERYTHING's node suites run under Meteor's Node.js, which has single executable applications, so singleFile.test.cjs built and ran a real single executable - and it failed twice: - The builder ad-hoc signed only a target named mac*/darwin*. Built from this Mac's Node.js under another label (the test builds 'amd64'), the file is still a Mach-O binary, the injected archive had invalidated its signature, and macOS killed it (SIGKILL) before it printed anything: status null. It signs every Mach-O output now, read from the file's magic number. - `start --background` and `backup` returned as soon as they had spawned WeKan, before it wrote its pid file - which it does only after reading its settings and extracting FerretDB. A `stop` right after them said "WeKan was not running" and left it running. Both wait now (status.waitUntilStarted) until the pid file names the process they started, give up at once if it ended, and say so if it did not start. singleFile.test.cjs: 24 of 24 under Meteor's Node.js, the real single executable included; a new test pins waitUntilStarted, and that both commands use it. Thanks to xet7 !