fix: support GitPeji tags and interactive helper auth
APT build checks / build-checks (push) Has been cancelled
APT build checks / build-checks (push) Has been cancelled
This commit is contained in:
@@ -65,7 +65,7 @@ test('exports the proxy manager module', () => {
|
||||
assert.doesNotThrow(() => loadModule());
|
||||
});
|
||||
|
||||
test('launches the approved helper directly with exact argv and shell disabled', () => {
|
||||
test('launches the approved helper directly in a visible interactive console', () => {
|
||||
const { manager, calls } = createHarness();
|
||||
|
||||
const result = manager.launchProxy(validRequest());
|
||||
@@ -76,7 +76,7 @@ test('launches the approved helper directly with exact argv and shell disabled',
|
||||
{
|
||||
shell: false,
|
||||
detached: true,
|
||||
stdio: 'ignore',
|
||||
stdio: 'inherit',
|
||||
windowsHide: false
|
||||
}
|
||||
]]);
|
||||
@@ -97,6 +97,8 @@ test('passes username punctuation literally in argv without invoking a shell', (
|
||||
|
||||
assert.equal(calls[0][1][3], username);
|
||||
assert.equal(calls[0][2].shell, false);
|
||||
assert.equal(calls[0][2].stdio, 'inherit');
|
||||
assert.notEqual(calls[0][2].stdio, 'ignore');
|
||||
});
|
||||
|
||||
test('rejects the CRLF calc.exe reproducer in every structured input', () => {
|
||||
|
||||
Reference in New Issue
Block a user