Test scripts for A3

(REMEMBER TO HIT THE RELOAD BUTTON IN YOUR BROWSER TO SEE THE LATEST VERSION)

The goal of these scripts is to make testing easier for you and also give you an idea of what tests we will be running on your kernel. Make sure to read the Testing section of A3 hints and the README file of this tar package.

Installing

These instructions are for using the student.cs environment. If you are working on another system you'll need to copy and transfer the a3-test-scripts.tar.gz file to your system and adjust the tar command below as appropriate.
# We assuming your directory structure is as follows
# $HOME/cs350-os161
# $HOME/cs350-os161/os161-1.11
# $HOME/cs350-os161/root
#
# And that kernel-ASST2 is compiled and installed in
# $HOME/cs350-os161/root

cd $HOME/cs350-os161/os161-1.11

# This creates the directory a3-test-script and its contents.
~cs350/bin/tar -xzf ~cs350/pub/os161_repository/a3-test-scripts.tar.gz

cd $HOME/cs350-os161
ln -s os161-1.11/a3-test-scripts .


cd a3-test-scripts

# This will build and install some new programs into
# the directory newtests and create some symbolic links
# to the kernel-ASST3 in the root directory and to
# testbin and bin in that directory.
# Note: that compilation of some of the new test programs
# can take a bit of time.

make

Using the test scripts

See the README file in a3-test-scripts.