• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/bin/pkill/tests/

Lines Matching refs:base

10 base=pgrep_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 &
32 jid1=$(jail_name_to_jid ${base}_1_1)
33 jid2=$(jail_name_to_jid ${base}_1_2)
45 pid2=$(printf "%s\n%s" "$(cat ${PWD}/${base}_1_1.pid)" \
46 "$(cat ${PWD}/${base}_1_2.pid)" | sort)
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 &
66 pid2=$(printf "%s\n%s" "$(cat ${PWD}/${base}_2_1.pid)" \
67 "$(cat ${PWD}/${base}_2_2.pid)" | sort)
73 [ -f ${PWD}/${base}_2_1.pid ] && kill "$(cat ${PWD}/${base}_2_1.pid)"
74 [ -f ${PWD}/${base}_2_2.pid ] && kill "$(cat ${PWD}/${base}_2_2.pid)"
79 daemon -p ${PWD}/${base}_3_1.pid $sleep $sleep_amount &
80 jail -c path=/ name=${base}_3_2 ip4.addr=127.0.0.1 \
81 command=daemon -p ${PWD}/${base}_3_2.pid $sleep $sleep_amount &
84 if [ "$pid" = "$(cat ${PWD}/${base}_3_1.pid)" ]; then
89 [ -f ${PWD}/${base}_3_1.pid ] && kill "$(cat $PWD/${base}_3_1.pid)"
90 [ -f ${PWD}/${base}_3_2.pid ] && kill "$(cat $PWD/${base}_3_2.pid)"
96 jail -c path=/ name=${base}_4_1 ip4.addr=127.0.0.1 \
97 command=daemon -p ${PWD}/${base}_4_1.pid $sleep $sleep_amount &
99 jail -c path=/ name=${base}_4_2 ip4.addr=127.0.0.1 \
100 command=daemon -p ${PWD}/${base}_4_2.pid $sleep $sleep_amount &
104 jname="${base}_4_1,${base}_4_2"
106 pid2=$(printf "%s\n%s" "$(cat ${PWD}/${base}_4_1.pid)" \
107 "$(cat ${PWD}/${base}_4_2.pid)" | sort)
113 [ -f ${PWD}/${base}_4_1.pid ] && kill "$(cat ${PWD}/${base}_4_1.pid)"
114 [ -f ${PWD}/${base}_4_2.pid ] && kill "$(cat ${PWD}/${base}_4_2.pid)"