2 # SPDX-License-Identifier: GPL-2.0
3 # description: Test creation and deletion of trace instances
5 if [ ! -d instances
] ; then
6 echo "no instance directory with this kernel"
11 rmdir x y z
2>/dev
/null
19 # we don't want to fail on error
26 if [ $result -ne 0 ]; then
27 echo "instance rmdir not supported"
71 echo "Wait for processes to finish"
72 wait $p1 $p2 $p3 $p4 $p5
73 echo "all processes finished, wait for cleanup"
80 fail
"instance $d still exists"