Test scripts for A3
(REMEMBER TO HIT THE RELOAD BUTTON IN YOUR BROWSER TO SEE THE LATEST VERSION)
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
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
cd $HOME/cs350-os161/os161-1.11
# This creates the directory a3-test-script and its contents.
~cs350/bin/tar -xzf /u/cs350/pub/os161_repository/a3-test-scripts.tar.gz
# TWO NEW STEPS:
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.