mirror of https://gitee.com/bigwinds/arangodb
Output a real descritption of whats happening with the arangosh instead of dumping the start parameters
This commit is contained in:
parent
91fccfd7ea
commit
7a41ef1e00
|
@ -1550,16 +1550,16 @@ testFuncs.arangosh = function (options) {
|
|||
var args = makeTestingArgsClient(options);
|
||||
var arangosh = fs.join("bin","arangosh");
|
||||
|
||||
print("Starting arangosh with exception throwing script:");
|
||||
args["javascript.execute-string"] = "throw('foo')";
|
||||
print(toArgv(args));
|
||||
var rc = executeExternalAndWait(arangosh, toArgv(args));
|
||||
var failSuccess = (rc.hasOwnProperty('exit') && rc.exit === 1);
|
||||
if (!failSuccess) {
|
||||
failed += 1;
|
||||
}
|
||||
|
||||
print("Starting arangosh with regular terminating script:");
|
||||
args["javascript.execute-string"] = ";";
|
||||
print(toArgv(args));
|
||||
rc = executeExternalAndWait(arangosh, toArgv(args));
|
||||
var successSuccess = (rc.hasOwnProperty('exit') && rc.exit === 0);
|
||||
if (!successSuccess) {
|
||||
|
|
Loading…
Reference in New Issue