CS 3733 Operating Systems, Spring 2004 Recitation Session 4
Week of February 8.
In this session you test your valid_program_line function
from Assignments 0 and 1.
- Log on to your account in the Linux Lab.
- Create a rec04 directory.
- Copy your working program_utility.c and program_utility.h
into your rec04 directory.
- Get copies of the following files and put them in your rec04
directory:
    
makefile
    
test_valid.c
- Compile the program by executing:
    
make
- Run the program by executing:
    
make run
This will call your valid_program_line 18 times and show the
results.
- If you see:
    
All tests successful
show this to the TA and you are done.
- Otherwise, correct your valid_program_line function and try again.
- For each of the 18 tests, the program output lists whether your
valid_program_line indicated that the given line was
valid or invalid.
If that answer is correct, "OK" is printed. Otherwise "bad" is printed.