AnubisLMS / AnubisLMS/xv6

Failing Usertests - Big Files

Open
#11 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
15
Forks
15
PR merge metrics
No merged PRs in 30d

Description

https://github.com/AnubisLMS/xv6/blob/87f39024838bd0fab018a09b1487cfe2df970c83/user/usertests.c#L188

There's a bug in this printf statement that causes a balloc crash if the test was going to fail (could not write the full 140 blocks)

Additionally, this test in general needs to change to account for current User space disk space usage vs. the current setting of the Filesystem size in param.h (if students have more than a few binaries in their root, and/or the sum total of their user + kernel binaries is greater than FSSIZE - 140 * BSIZE, the "large file" test will fail inherently)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.