mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
Bug 898819 - test_punycodeURIs.js should not use a shared dir for output. r=mbanner
This commit is contained in:
parent
5ca18055eb
commit
da104a616c
@ -11,9 +11,11 @@ const kOutputFile = "result.txt";
|
||||
const kMaxCheckExistAttempts = 30; // seconds
|
||||
var gCheckExistsAttempts = 0;
|
||||
|
||||
const tempDir = do_get_tempdir();
|
||||
|
||||
function checkFile() {
|
||||
// This is where we expect the output
|
||||
var tempFile = do_get_cwd();
|
||||
var tempFile = tempDir.clone();
|
||||
tempFile.append(kOutputFile);
|
||||
|
||||
if (!tempFile.exists()) {
|
||||
@ -90,7 +92,7 @@ function run_test() {
|
||||
do_throw("Could not locate the WriteArgument tests executable\n");
|
||||
}
|
||||
|
||||
var outFile = processDir.clone();
|
||||
var outFile = tempDir.clone();
|
||||
outFile.append(kOutputFile);
|
||||
|
||||
// Set an environment variable for WriteArgument to pick up
|
||||
|
Loading…
Reference in New Issue
Block a user