Lines Matching full:sleep

33 	daemon -P daemon.pid -p sleep.pid sleep 300
35 atf_check -s exit:0 -o match:"daemon: sleep" ps -p `cat daemon.pid`
36 atf_check -s exit:0 test -f sleep.pid
37 atf_check -s exit:0 -o match:"[0-9] sleep 300$" ps -p `cat sleep.pid`
44 sleep_pid=`cat sleep.pid`
47 # NB: killing the sleep should kill the daemon too, so we musn't fail
57 # Executing sleep by relative path will only work from /
58 daemon -p ${PWD}/sleep.pid -c bin/sleep 300
59 atf_check -s exit:0 test -f sleep.pid
60 atf_check -s exit:0 -o match:"[0-9] bin/sleep 300$" \
61 ps -p `cat sleep.pid`
64 [ -f sleep.pid ] && kill `cat sleep.pid`
72 daemon -p sleep.pid sleep 300
73 atf_check -s exit:0 test -f sleep.pid
74 atf_check -s exit:0 -o match:"[0-9] sleep 300$" ps -p `cat sleep.pid`
77 [ -f sleep.pid ] && kill `cat sleep.pid`
85 daemon -p sleep.pid sleep 300
86 atf_check -s exit:0 test -f sleep.pid
88 daemon -p sleep.pid sleep 300
91 [ -f sleep.pid ] && kill `cat sleep.pid`
103 sleep 0.1
109 sleep 0.2
112 sleep 0.2
135 daemon -rP daemon.pid -p sleep.pid sleep 300
137 atf_check -s exit:0 test -f sleep.pid
138 orig_sleep_pid=`cat sleep.pid`
142 if [ -s "sleep.pid" ]; then
143 new_sleep_pid=`cat sleep.pid`
147 sleep 0.1
162 daemon -rP daemon.pid -R 10 -p sleep.pid sleep 300
164 atf_check -s exit:0 test -f sleep.pid
165 read sleep_pid < sleep.pid
171 [ ! -s "sleep.pid" ] && break
172 sleep 0.1
175 atf_check test ! -s "sleep.pid"
183 sleep 0.1
187 atf_check test ! -f "sleep.pid"
199 daemon -P daemon.pid sleep 300
201 atf_check -s exit:0 -o match:"daemon: sleep" ps -p `cat daemon.pid`
212 daemon -P daemon.pid sleep 300
215 daemon -p daemon.pid sleep 300
226 daemon -P daemon.pid -t "I'm a title!" sleep 300
241 daemon -p sleep.pid -u nobody sleep 300
242 atf_check -s exit:0 test -f sleep.pid
243 atf_check -s exit:0 -o match:"^nobody" ps -up `cat sleep.pid`
246 [ -f sleep.pid ] && kill `cat sleep.pid`