Lines Matching refs:base

10 base=pkill_j_test
24 jail -c path=/ name=${base}_1_1 ip4.addr=127.0.0.1 \
25 command=daemon -p ${PWD}/${base}_1_1.pid $sleep $sleep_amount &
27 jail -c path=/ name=${base}_1_2 ip4.addr=127.0.0.1 \
28 command=daemon -p ${PWD}/${base}_1_2.pid $sleep $sleep_amount &
33 jid1=$(jail_name_to_jid ${base}_1_1)
34 jid2=$(jail_name_to_jid ${base}_1_2)
46 ! -f ${PWD}/${base}_1_1.pid &&
47 ! -f ${PWD}/${base}_1_2.pid ; then
52 [ -f ${PWD}/${base}_1_1.pid ] && kill $(cat ${PWD}/${base}_1_1.pid)
53 [ -f ${PWD}/${base}_1_2.pid ] && kill $(cat ${PWD}/${base}_1_2.pid)
58 jail -c path=/ name=${base}_2_1 ip4.addr=127.0.0.1 \
59 command=daemon -p ${PWD}/${base}_2_1.pid $sleep $sleep_amount &
61 jail -c path=/ name=${base}_2_2 ip4.addr=127.0.0.1 \
62 command=daemon -p ${PWD}/${base}_2_2.pid $sleep $sleep_amount &
68 [ ! -f ${PWD}/${base}_2_1.pid -a
69 ! -f ${PWD}/${base}_2_2.pid ] && kill $chpid3; then
74 [ -f ${PWD}/${base}_2_1.pid ] && kill $(cat ${PWD}/${base}_2_1.pid)
75 [ -f ${PWD}/${base}_2_2.pid ] && kill $(cat ${PWD}/${base}_2_2.pid)
80 daemon -p ${PWD}/${base}_3_1.pid $sleep $sleep_amount
81 jail -c path=/ name=${base}_3_2 ip4.addr=127.0.0.1 \
82 command=daemon -p ${PWD}/${base}_3_2.pid $sleep $sleep_amount &
85 [ ! -f ${PWD}/${base}_3_1.pid -a -f ${PWD}/${base}_3_2.pid ] ; then
91 [ -f ${PWD}/${base}_3_1.pid ] && kill $(cat ${base}_3_1.pid)
92 [ -f ${PWD}/${base}_3_2.pid ] && kill $(cat ${base}_3_2.pid)
98 jail -c path=/ name=${base}_4_1 ip4.addr=127.0.0.1 \
99 command=daemon -p ${PWD}/${base}_4_1.pid $sleep $sleep_amount &
101 jail -c path=/ name=${base}_4_2 ip4.addr=127.0.0.1 \
102 command=daemon -p ${PWD}/${base}_4_2.pid $sleep $sleep_amount &
108 jname="${base}_4_1,${base}_4_2"
110 ! -f ${PWD}/${base}_4_1.pid &&
111 ! -f ${PWD}/${base}_4_2.pid ; then
116 [ -f ${PWD}/${base}_4_1.pid ] && kill $(cat ${PWD}/${base}_4_1.pid)
117 [ -f ${PWD}/${base}_4_2.pid ] && kill $(cat ${PWD}/${base}_4_2.pid)