mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2026-12-02 04:49:46 -06:00
fix
This commit is contained in:
+1
-1
@@ -252,7 +252,7 @@ export function getCeWrapperOptions(
|
||||
options: ExecutionOptions
|
||||
): NsJailOptions {
|
||||
options = {...options};
|
||||
const jailingOptions = ['-v',`--config=${getCeWrapperCfgFilePath(configName)}`];
|
||||
const jailingOptions = ['-v', `--config=${getCeWrapperCfgFilePath(configName)}`];
|
||||
|
||||
if (options.customCwd) {
|
||||
jailingOptions.push(`--home=${options.customCwd}`);
|
||||
|
||||
@@ -265,6 +265,7 @@ describe('Execution tests', () => {
|
||||
});
|
||||
|
||||
options.args.should.deep.equals([
|
||||
'-v',
|
||||
'--config=' + path.resolve('etc/cewrapper/user-execution.json'),
|
||||
'--time_limit=1',
|
||||
'/path/to/something',
|
||||
|
||||
Reference in New Issue
Block a user