Fix fix fix tests.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4852 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
@ -77,9 +77,8 @@ static void _test_sandbox(const tf_test_options_t* options)
|
||||
|
||||
_write_file("out/child.js",
|
||||
"print('Poking the sandbox. This should fail.');\n"
|
||||
"pokeSandbox();\n"
|
||||
"print('We poked the sandbox without failing.');\n"
|
||||
"exit(0);\n");
|
||||
"let r = pokeSandbox();\n"
|
||||
"exit(r);\n");
|
||||
|
||||
char command[256];
|
||||
snprintf(command, sizeof(command), "%s run --db-path=:memory: -s out/test.js" TEST_ARGS, options->exe_path);
|
||||
|
Reference in New Issue
Block a user