Closed Bug 616559 Opened 14 years ago Closed 9 years ago

Fix file system free space checks in test_over4GBMailboxes.js

Categories

(MailNews Core :: Testing Infrastructure, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: rain1, Unassigned)

References

Details

In bug 608449 in test_over4GBMailboxes.js, a couple of changes to the free space checks were made. <https://mxr.mozilla.org/comm-central/source/mailnews/local/test/unit/test_over4GBMailboxes.js#86> These changes seem to be a little problematic: 1. 0x1100000000 == 73,014,444,032. Seems like there's either an extra 1 or an extra 0 there. 2. If we mark most of a file as sparse I can't imagine we'll actually need 4 gigs of hard drive space.
Assignee: nobody → bienvenu
I take the liberty to take this bug as it seems David is not working on this. And I rework this test in bug 640371. Point 1 is no longer valid today, the constant is currently at 0x110000000 which is 4,25GB, which is correct. For point 2, maybe the check is there for cases where sparse will not work for some reason (e.g. filesystem not supporting it). Also in bug 640371 the test is changed so that the sparse marking is lost and the files really take 4GB. I keep this bug open until that bug is decided if the test can be changed in that way.
Assignee: mozilla → acelists
Status: NEW → ASSIGNED
Depends on: 640371
Version: unspecified → Trunk
I meant the bug losing sparse markings is bug 794303.
Depends on: 794303
I think this is done now. The test will again be reworked soon to test 4GB+ folders.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
Assignee: acelists → nobody
You need to log in before you can comment on or make changes to this bug.