Lines Matching refs:logfile

81     logfile="${PWD}/basic.log"
82 printf "user.debug\t${logfile}\n" > "${SYSLOGD_CONFIG}"
88 tail -n 1 "${logfile}"
98 tail -n 1 "${logfile}"
105 tail -n 1 "${logfile}"
120 logfile="${PWD}/reload.log"
121 printf "user.debug\t/${logfile}\n" > "${SYSLOGD_CONFIG}"
126 atf_check -s exit:0 -o match:"reload: pre-reload" tail -n 1 "${logfile}"
129 truncate -s 0 "${logfile}"
130 printf "news.debug\t${logfile}\n" > "${SYSLOGD_CONFIG}"
137 atf_check -s exit:0 -o not-match:"reload: post-reload user" cat ${logfile}
138 atf_check -s exit:0 -o match:"reload: post-reload news" cat ${logfile}
152 logfile="${PWD}/prog_filter.log"
153 printf "!prog1,prog2\nuser.debug\t${logfile}\n" > "${SYSLOGD_CONFIG}"
160 atf_check -s exit:0 -o match:"prog1: hello this is prog1" cat "${logfile}"
161 atf_check -s exit:0 -o match:"prog2: hello this is prog2" cat "${logfile}"
162 atf_check -s exit:0 -o not-match:"prog3: hello this is prog3" cat "${logfile}"
165 truncate -s 0 ${logfile}
166 printf "!-prog1,prog2\nuser.debug\t${logfile}\n" > "${SYSLOGD_CONFIG}"
173 atf_check -s exit:0 -o not-match:"prog1: hello this is prog1" cat "${logfile}"
174 atf_check -s exit:0 -o not-match:"prog2: hello this is prog2" cat "${logfile}"
175 atf_check -s exit:0 -o match:"prog3: hello this is prog3" cat "${logfile}"
189 logfile="${PWD}/host_filter.log"
190 printf "+host1,host2\nuser.debug\t${logfile}\n" > "${SYSLOGD_CONFIG}"
197 atf_check -s exit:0 -o match:"host1: hello this is host1" cat "${logfile}"
198 atf_check -s exit:0 -o match:"host2: hello this is host2" cat "${logfile}"
199 atf_check -s exit:0 -o not-match:"host3: hello this is host3" cat "${logfile}"
202 truncate -s 0 ${logfile}
203 printf "\-host1,host2\nuser.debug\t${logfile}\n" > "${SYSLOGD_CONFIG}"
210 atf_check -s exit:0 -o not-match:"host1: hello this is host1" cat "${logfile}"
211 atf_check -s exit:0 -o not-match:"host2: hello this is host2" cat "${logfile}"
212 atf_check -s exit:0 -o match:"host3: hello this is host3" cat "${logfile}"
226 logfile="${PWD}/prop_filter.log"
227 printf ":msg,contains,\"FreeBSD\"\nuser.debug\t${logfile}\n" \
233 atf_check -s exit:0 -o match:"prop1: FreeBSD" cat "${logfile}"
234 atf_check -s exit:0 -o not-match:"prop2: freebsd" cat "${logfile}"
236 truncate -s 0 ${logfile}
237 printf ":msg,!contains,\"FreeBSD\"\nuser.debug\t${logfile}\n" \
243 atf_check -s exit:0 -o not-match:"prop1: FreeBSD" cat "${logfile}"
244 atf_check -s exit:0 -o match:"prop2: freebsd" cat "${logfile}"
246 truncate -s 0 ${logfile}
247 printf ":msg,icase_contains,\"FreeBSD\"\nuser.debug\t${logfile}\n" \
253 atf_check -s exit:0 -o match:"prop1: FreeBSD" cat "${logfile}"
254 atf_check -s exit:0 -o match:"prop2: freebsd" cat "${logfile}"
256 truncate -s 0 ${logfile}
257 printf ":msg,!icase_contains,\"FreeBSD\"\nuser.debug\t${logfile}\n" \
264 atf_check -s exit:0 -o not-match:"prop1: FreeBSD" cat "${logfile}"
265 atf_check -s exit:0 -o not-match:"prop2: freebsd" cat "${logfile}"
266 atf_check -s exit:0 -o match:"prop3: Solaris" cat "${logfile}"
280 logfile="${PWD}/pipe_action.log"
282 with solutions to my problem.\"\n-Saymore Crey" > ${logfile}
285 ${logfile}\n" > "${SYSLOGD_CONFIG}"
290 atf_check -s exit:0 -o match:"Seymour Cray" cat "${logfile}"
305 local logfile
309 logfile="${PWD}/jail_noinet.log"
310 printf "user.debug\t${logfile}\n" > "${SYSLOGD_CONFIG}"
315 atf_check -s exit:0 -o match:"test: hello, world" cat "${logfile}"