Assignment 2: Grading Sheet

Please fill the fields marked “filled by student”. For each system call, specify which test program exercises it and whether the program checks an error condition associated with the system call.

 

Test Problem  

To be filled by Student

calls tested

Works (on non-error input)

To be filled by instructor

 

alloc_port()

 

 

free_port()

 

 

req_port()

 

 

ssend()

 

 

asend()

 

 

mrecv()

 

 

guarded mrecv()

 

 

wait()

 

 

signal()

 

Error cases

Describe each kind of error demonstrated by the test cases.

 

Test Problem Description(s)

 

Briefly describe each test problem does (e.g. multiplication of two matrices). Give the sample output you will demonstrate.  Explain how the output tests the system calls used in it. Attach the full code of the program(s) implementing the problems.