Bug 717182 - Permanent orange on Windows | TEST-UNEXPECTED-FAIL | test_largeOfflineStore.js (NS_ERROR_FILE_NO_DEVICE_SPACE). r=bienvenu

This commit is contained in:
Mark Banner 2012-01-13 21:49:38 +00:00
Родитель 6e33da1427
Коммит d4cc39a83e
2 изменённых файлов: 4 добавлений и 2 удалений

Просмотреть файл

@ -98,7 +98,8 @@ function run_test()
let outputStream = Cc["@mozilla.org/network/file-output-stream;1"].
createInstance(Ci.nsIFileOutputStream)
.QueryInterface(Ci.nsISeekableStream);
outputStream.init(gIMAPInbox.filePath, -1, -1, 0);
// Open in write-only mode, no truncate.
outputStream.init(gIMAPInbox.filePath, 0x02, -1, 0);
// seek to 15 bytes past 4GB.
outputStream.seek(0, 0x10000000f);
outputStream.write("from\r\n", 6);

Просмотреть файл

@ -35,7 +35,8 @@ function run_test()
let outputStream = Cc["@mozilla.org/network/file-output-stream;1"].
createInstance(Ci.nsIFileOutputStream)
.QueryInterface(Ci.nsISeekableStream);
outputStream.init(inboxFile, -1, -1, 0);
// Open in write-only mode, no truncate.
outputStream.init(inboxFile, 0x02, -1, 0);
// seek past 2GB.
outputStream.seek(0, 0x80000010);
outputStream.write(" ", 1);