fix(ff01): Windows Cloudcmd root compatibility + accepted CI [skip ci]
PR #12 approved six-file scope. Tested non-note blobs at 36a1c5bf01, CI #113 7/7 + #119 and #120 SUCCESS. Follow-up only 3 evidence notes. Runtime 20 Moderate unresolved, production NO-GO.
This commit was merged in pull request #12.
This commit is contained in:
1 parent
1e2cd31aef
commit
8da1f6a852
6 files changed
+57
-1
No files matched your search
@@ -86,6 +86,8 @@ test('FM-REQ-01..06: live CloudCmd mount enforces auth, DB revocation, RBAC, CSR
|
||||
try {
|
||||
assert.equal(handle.engineReady, true, `CloudCmd failed to init: ${handle.initErrorMessage}`);
|
||||
assert.equal(handle.socketPath, '/vcon/files-engine/socket.io');
|
||||
// Cloudcmd's Windows-specific representation must still resolve to the jailed root.
|
||||
assert.equal(path.resolve(handle.configOptions.root), tmpRoot);
|
||||
|
||||
await new Promise<void>((resolve) => server.listen(0, '127.0.0.1', () => resolve()));
|
||||
const address = server.address() as { port: number };
|
||||
@@ -151,7 +153,9 @@ test('FM-REQ-01..06: live CloudCmd mount enforces auth, DB revocation, RBAC, CSR
|
||||
headers: ownerHeaders,
|
||||
body: 'k,v\n1,ok\n',
|
||||
});
|
||||
assert.equal(createRes.status, 200);
|
||||
if (createRes.status !== 200) {
|
||||
assert.fail(`Cloudcmd PUT failed with ${createRes.status}: ${(await createRes.text()).slice(0, 240)}`);
|
||||
}
|
||||
assert.equal(fs.readFileSync(path.join(tmpRoot, 'client-alpha', 'note.csv'), 'utf8'), 'k,v\n1,ok\n');
|
||||
|
||||
const renameRes = await fetch(`${baseUrl}/vcon/files-engine/api/v1/rename`, {
|
||||
|
||||
Reference in new issue
Block a user