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:
2024-02-17 15:33:08 +00:00
parent dca48fae36
commit 22bf046643
4 changed files with 14 additions and 7 deletions

View File

@ -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);