Lines Matching refs:testpath
46 testpath=$(cgroup_get_test_path "pids")
54 start_pids_tasks2_path $testpath $1
73 stop_pids_tasks_path $testpath
92 pids_task1 "$testpath/$task_list"
110 ROD echo $max \> $testpath/pids.max
115 pids_task1 "$testpath/$task_list"
133 ROD echo $lim \> $testpath/pids.max
137 pids_task1 "$testpath/$task_list"
154 ROD echo 0 \> $testpath/pids.max
166 echo -1 > $testpath/pids.max
181 ROD echo $lim \> $testpath/pids.max
183 pids_task1 "$testpath/$task_list"
207 ROD echo $max \> $testpath/pids.max
210 mkdir $testpath/child$i
211 start_pids_tasks2_path $testpath/child$i $lim
214 pids_task1 "$testpath/$task_list"
226 pids_task1 "$testpath/child$i/$task_list"
239 stop_pids_tasks_path $testpath/child$i
240 rmdir $testpath/child$i
249 ROD echo $max \> $testpath/pids.max
251 ROD echo +pids \> "$testpath"/cgroup.subtree_control
253 mkdir $testpath/child
256 ROD echo $lim \> $testpath/child/pids.max
258 start_pids_tasks2_path $testpath/child $tmp
260 pids_task1 "$testpath/child/$task_list"
271 stop_pids_tasks_path $testpath/child
272 rmdir $testpath/child
281 ROD echo +pids \> "$testpath"/cgroup.subtree_control
284 mkdir $testpath/child$i
285 ROD echo $max \> $testpath/child$i/pids.max
286 start_pids_tasks2_path $testpath/child$i $lim
289 pid=`head -n 1 "$testpath/child1/$task_list"`;
290 ROD echo $pid \> "$testpath/child2/$task_list"
292 if grep -q "$pid" "$testpath/child2/$task_list"; then
298 if [ $(cat "$testpath/child1/pids.current") -eq $((lim - 1)) ]; then
304 if [ $(cat "$testpath/child2/pids.current") -eq $((lim + 1)) ]; then
310 pids_task1 "$testpath/child1/$task_list"
321 pids_task1 "$testpath/child2/$task_list"
333 stop_pids_tasks_path $testpath/child$i
334 rmdir $testpath/child$i