# command: env SINGLINK_REQUIRE_CABI_TEST=1 CGO_ENABLED=1 CC=clang go test -count=1 -v -run CABI|StartLocal|TunStart ./ffi # working directory: repository root at 71156e1fc640102fdbced928d9993a3660f82d6c # toolchain: go version go1.27.4 darwin/arm64 # host: Darwin 27.2.0 arm64; macOS 27.2.1 # started: 2026-11-19T03:53:35Z # ---- combined stdout and stderr ---- === RUN TestStartLocalRequiresCredentialsWhenAuthRequested --- PASS: TestStartLocalRequiresCredentialsWhenAuthRequested (2.45s) === RUN TestStartLocalReturnsTheSessionsOwnCredentials --- PASS: TestStartLocalReturnsTheSessionsOwnCredentials (2.76s) === RUN TestStartLocalDefaultsToAuthentication --- PASS: TestStartLocalDefaultsToAuthentication (1.70s) === RUN TestStartLocalExplicitNoAuthForSystemProxy --- PASS: TestStartLocalExplicitNoAuthForSystemProxy (2.15s) === RUN TestStartLocalRejectsBadConfig --- PASS: TestStartLocalRejectsBadConfig (1.13s) === RUN TestCABITunDescriptorOwnershipAndProxyAuth cabi_test.go:89: C harness output: ok - SingLinkTunStart: malformed config ok - SingLinkTunStart: invalid link ok - SingLinkTunStart: node unreachable ok - SingLinkTunStart: negative descriptor ok - SingLinkTunStart rejects a descriptor number that is not open ok - SingLinkTunStart + SingLinkTunStop: duplicate closed on stop ok - SingLinkTunStart + SingLinkStop: duplicate closed on stop ok - SingLinkTunStart + TUN failure: watcher closes the duplicate ok - busy engine: the refused start consumes only its own duplicate ok - SingLinkTunStop during the handshake: the cancelled start closes its duplicate ok - SingLinkStart without an auth field requires credentials ok - SingLinkStart auth:true refuses clients without credentials ok - SingLinkStart auth:false (system proxy) stays open PASS: 0 failure(s) --- PASS: TestCABITunDescriptorOwnershipAndProxyAuth (22.69s) === RUN TestTunStartRealFDCancelAfterAcquisition --- PASS: TestTunStartRealFDCancelAfterAcquisition (1.71s) === RUN TestTunStartRealFDPreAcquisitionFailure --- PASS: TestTunStartRealFDPreAcquisitionFailure (0.00s) === RUN TestTunStartRealFDStopAfterSuccess --- PASS: TestTunStartRealFDStopAfterSuccess (1.65s) === RUN TestTunStartFDTableCancelAfterAcquisition --- PASS: TestTunStartFDTableCancelAfterAcquisition (1.97s) PASS ok github.com/SingLinkLabs/singlink-vpn-app/core/ffi 38.772s # ---- end of output ---- # exit status: 0 # finished: 2026-11-19T03:54:20Z