Lines Matching refs:match

140         atf_fail "not-signal:kill did not match kill -1"
233 atf_set "descr" "Tests for the -o option using the 'match:' argument"
237 h_pass "printf no-newline" -o "match:^no-newline"
238 h_pass "echo line1; echo foo bar" -o "match:^foo"
239 h_pass "echo foo bar" -o "match:o b"
240 h_fail "echo foo bar" -o "match:baz"
241 h_fail "echo foo bar" -o "match:^bar"
253 cmp -s out exp || atf_fail "Saved output does not match expected results"
263 h_pass "echo foo bar" -o match:foo -o match:bar
264 h_pass "echo foo; echo bar" -o match:foo -o match:bar
265 h_fail "echo foo baz" -o match:bar -o match:foo
266 h_fail "echo foo; echo baz" -o match:bar -o match:foo
279 h_pass "echo foo bar" -o match:foo
280 h_fail "echo foo bar" -o not-match:foo
359 cmp -s out exp || atf_fail "Saved output does not match expected results"
365 atf_set "descr" "Tests for the -e option using the 'match:' argument"
369 h_pass "printf no-newline 1>&2" -e "match:^no-newline"
370 h_pass "echo line1 1>&2; echo foo bar 1>&2" -e "match:^foo"
371 h_pass "echo foo bar 1>&2" -e "match:o b"
372 h_fail "echo foo bar 1>&2" -e "match:baz"
373 h_fail "echo foo bar 1>&2" -e "match:^bar"
383 h_pass "echo foo bar 1>&2" -e match:foo -e match:bar
384 h_pass "echo foo 1>&2; echo bar 1>&2" -e match:foo -e match:bar
385 h_fail "echo foo baz 1>&2" -e match:bar -e match:foo
386 h_fail "echo foo 1>&2; echo baz 1>&2" -e match:bar -e match:foo
399 h_pass "echo foo bar 1>&2" -e match:foo
400 h_fail "echo foo bar 1>&2" -e not-match:foo
410 echo "hello" | ${Atf_Check} -o match:"hello" cat || \