From ba996acfcad1698adbf4a1834fe50e73b1c6cab9 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Sat, 19 Sep 2026 23:28:22 -0300 Subject: Rename programs: 9player -> 9ns, introspect -> 9proc, app -> web (9web) Directories, binaries, build options (-D9ns, -D9proc), step names, module name (9proc), thread and fs names, env var NINEPLAYER_MOUNT -> NINE_MOUNT, docs and test scripts. Browser assets move to web/static. Co-Authored-By: Claude Fable 5.1 --- test/web/e2e.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/web/e2e.mjs b/test/web/e2e.mjs index 2ff83ae..ad10295 100644 --- a/test/web/e2e.mjs +++ b/test/web/e2e.mjs @@ -41,7 +41,7 @@ async function launchBridge(upstream, origin, extra = []) { const child = start(bridgeBinary, ['--listen', '127.0.0.1:0', '--upstream', upstream, ...(origin ? ['--origin', origin] : []), ...extra]); // With a public origin the log does not include the bound address. Tests // requiring a proxy instead reserve a port and pass it explicitly below. - const match = await wait(() => child.errors.match(/cloud9-http (http:\/\/127\.0\.0\.1:\d+)/), 'bridge ready'); + const match = await wait(() => child.errors.match(/9web (http:\/\/127\.0\.0\.1:\d+)/), 'bridge ready'); return { child, url: match[1] }; } async function port() { const s = net.createServer(); s.listen(0, '127.0.0.1'); await once(s, 'listening'); const p = s.address().port; await new Promise(r => s.close(r)); return p; } @@ -213,7 +213,7 @@ try { const httpsPort = await port(), backendPort = await port(); const origin = `https://localhost:${httpsPort}`; const secureBridge = start(bridgeBinary, ['--listen', `127.0.0.1:${backendPort}`, '--upstream', `tcp:${upstream}`, '--origin', origin]); - await wait(() => secureBridge.errors.includes('cloud9-http'), 'TLS backend ready'); + await wait(() => secureBridge.errors.includes('9web'), 'TLS backend ready'); tlsServer = tls.createServer({ key: await fs.readFile(key), cert: await fs.readFile(cert), ALPNProtocols: ['http/1.1'] }, socket => { const upstreamSocket = net.connect(backendPort, '127.0.0.1'); sockets.add(socket); sockets.add(upstreamSocket); -- cgit v1.3