Lines Matching refs:testpath

63 	rmdir $testpath
85 testpath=$mount_point/ltp_pids_$caseno
91 ROD mkdir -p $testpath
96 start_pids_tasks2_path $testpath $1
115 stop_pids_tasks_path $testpath
134 pids_task1 "$testpath/tasks"
152 ROD echo $max \> $testpath/pids.max
157 pids_task1 "$testpath/tasks"
175 ROD echo $lim \> $testpath/pids.max
179 pids_task1 "$testpath/tasks"
196 ROD echo 0 \> $testpath/pids.max
208 echo -1 > $testpath/pids.max
223 ROD echo $lim \> $testpath/pids.max
225 pids_task1 "$testpath/tasks"
249 ROD echo $max \> $testpath/pids.max
252 mkdir $testpath/child$i
253 start_pids_tasks2_path $testpath/child$i $lim
256 pids_task1 "$testpath/tasks"
268 pids_task1 "$testpath/child$i/tasks"
281 stop_pids_tasks_path $testpath/child$i
282 rmdir $testpath/child$i
291 ROD echo $max \> $testpath/pids.max
292 mkdir $testpath/child
295 ROD echo $lim \> $testpath/child/pids.max
297 start_pids_tasks2_path $testpath/child $tmp
299 pids_task1 "$testpath/child/tasks"
310 stop_pids_tasks_path $testpath/child
311 rmdir $testpath/child
320 mkdir $testpath/child$i
321 ROD echo $max \> $testpath/child$i/pids.max
322 start_pids_tasks2_path $testpath/child$i $lim
325 pid=`head -n 1 $testpath/child1/tasks`;
326 ROD echo $pid \> $testpath/child2/tasks
328 if grep -q "$pid" "$testpath/child2/tasks"; then
334 if [ $(cat "$testpath/child1/pids.current") -eq $((lim - 1)) ]; then
340 if [ $(cat "$testpath/child2/pids.current") -eq $((lim + 1)) ]; then
346 pids_task1 "$testpath/child1/tasks"
357 pids_task1 "$testpath/child2/tasks"
369 stop_pids_tasks_path $testpath/child$i
370 rmdir $testpath/child$i