Skip to content

Commit

Permalink
test: simplify tmpdir import in wasi tests
Browse files Browse the repository at this point in the history
PR-URL: #30770
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
  • Loading branch information
Trott authored and targos committed Dec 9, 2019
1 parent 67823e8 commit fb31ab5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/wasi/test-wasi-symlinks.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ if (process.argv[2] === 'wasi-child') {

const assert = require('assert');
const cp = require('child_process');
const tmpdir = require('../../test/common/tmpdir');
const tmpdir = require('../common/tmpdir');

// Setup the sandbox environment.
tmpdir.refresh();
Expand Down
2 changes: 1 addition & 1 deletion test/wasi/test-wasi.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const common = require('../common');

if (process.argv[2] === 'wasi-child') {
const fixtures = require('../common/fixtures');
const tmpdir = require('../../test/common/tmpdir');
const tmpdir = require('../common/tmpdir');
const fs = require('fs');
const path = require('path');

Expand Down

0 comments on commit fb31ab5

Please sign in to comment.