Added size verification to check-attachments script.
Review Request #178 - Created Sept. 24, 2011 and submitted
Information | |
---|---|
Bogdan-Cristian Tătăroiu | |
infoarena | |
Reviewers | |
hackers | |
This was necessary because the grader checks that the downloaded test case size matches the size stored in the database. Because we once ran a script that added newlines to the end of some .ok files, this was broken.
I'd say we should also add some counters for each type of problem encountered/ fixed. It might help later on.
-
trunk/scripts/check-attachments (Diff revision 1) -
When can this happen? SQL down but disk ok? Should we not give a warning when we see something like this, it might be a sign of bigger problems?