PREV INDEX NEXT

Author: Unknown
Subject: Reliable way to test system calls
Date: Friday, 04 Dec 2020, 17:16:39

To reliably test system calls, you can checkout fail.c in the Tests/ directory. 

For example,

echo "echo "ls | wc; printenv ?;" | /c/cs323/Hwk5/Tests/fail -pipe=1 ./bashLT

Will output : 

(1)$ pipe: Bad address 
14                                                                   
(2)$
PREV INDEX NEXT