2 # description: Test creation and deletion of trace instances
4 if [ ! -d instances
] ; then
5 echo "no instance directory with this kernel"
10 rmdir x y z
2>/dev
/null
18 # we don't want to fail on error
25 if [ $result -ne 0 ]; then
26 echo "instance rmdir not supported"
70 echo "Wait for processes to finish"
71 wait $p1 $p2 $p3 $p4 $p5
72 echo "all processes finished, wait for cleanup"
79 fail
"instance $d still exists"