Test scripts for A3

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

Note: The test scripts described and provided here may be revised. The goal is to make available to you some idea of what the tests will be like that we will be running on your kernel. Our goal will be to run the scripts as provided here (if possible).

Installing

WARNING: Before following these instructions you must configure and then build all of the source in os161-1.11.

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. These instruction and the build will not work if your directory structure is different from that described below.

# We assuming your directory structure is as follows
# $HOME/cs350-os161
# $HOME/cs350-os161/os161-1.11
# $HOME/cs350-os161/root
#
# And that kernel-ASST3 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.
tar -xzf ~cs350/pub/os161_repository/a3-test-scripts.tar.gz
cd a3-test-scripts

# This will create some symbolic links that
# makes it easier to run the test scripts from
# the current directory.

make

# To run all of the tests 
make runtests

# But see the README, the Makefile source, and the
# test scripts being run (from uw-testbin) to see
# how to run them individually.

Using the test scripts

See the README file in a3-test-scripts.