The following instructions describe how to perform code reviews for homework assignment #3. They will also apply (with minor changes) to future assignments.
The reviews are due at 7 PM on Monday, December 3rd. NO EXTENSIONS!
hw3
directory and run svn
update
. If I've done things right, that should pull a
number of files into your handin
directory and
your root
directory. If you've already blown
your hw3
tree away, no worries; just do this:
svn co https://svn.cs.hmc.edu/cs134/fall12/ours/
group-name/hw3
and you'll get a fresh checkout (which, not incidentally, is how you should do sanity checks after every submission).
root
directory, you'll find a bunch of
code-named kernels, things like
diner-kernel-SYSCALLS
. You can run them with
sys161
to apply tests. The following programs in
testbin ought to pass tests on any submitted kernel (you may
have to read the test source to learn how to use them):
badcall
(only for system calls that were
implemented)
bigfile
conman
(exits when you type "q")
crash
farm
(you must create catfile
first)
faulter
forkbomb
forktest
hog
hw3test
(of course)
kitchen
(type random characters; it should exit
after seeing the fourth "q")
palin
(it has nothing to do with Sarah!)
sort
sty
tail
tictac
add
argtest
f_test
(pass either 1 or 3 as an argument)
filetest
hash
Note that some of these tests are more useful than others
(e.g., tictac
doesn't tell you much, and
faulter
is a subset of crash
). We
don't recommend that you try every test program on every
kernel you review; instead, you should select a few that seem
especially appropriate.
ranking.txt
. This lists the code names of the
groups you reviewed, in a random order. You should reorder
this list to reflect your ordered preference for which
patch you would like to have applied to the "master" kernel
from this point forward. Your favorite patch should be listed
FIRST, after the colon.
Your code review should be performed in the handin directory by
modifying the *-review.txt
and ranking.txt
files I provided. When you are done, check the results into
Subversion with svn commit
.