Lines Matching refs:atf_check

35 	atf_check -o file:"$(atf_get_srcdir)/d_basic.out" -x \
48 atf_check -o file:"$(atf_get_srcdir)/d_binary.out" grep foobar test.file
62 atf_check -o file:"$(atf_get_srcdir)/d_recurse.out" -x "grep -r haddock recurse | sort"
82 atf_check -o file:"$(atf_get_srcdir)/d_recurse_symlink.out" \
94 atf_check -o file:"$(atf_get_srcdir)/d_word_regexps.out" \
100 atf_check -o inline:"pmatch\n" grep -Eow "(match )?pmatch" test1
111 atf_check -o file:"$(atf_get_srcdir)/d_begin_end_a.out" \
114 atf_check -o file:"$(atf_get_srcdir)/d_begin_end_b.out" \
125 atf_check -o file:"$(atf_get_srcdir)/d_ignore_case.out" \
136 atf_check -o file:"$(atf_get_srcdir)/d_invert.out" \
147 atf_check -o file:"$(atf_get_srcdir)/d_whole_line.out" \
158 atf_check -s ne:0 grep "not a hope in hell" "$(atf_get_srcdir)/d_input"
170 atf_check -o file:d_context_a.out grep -C2 bamboo d_context_a.in
171 atf_check -o file:d_context_b.out grep -A3 tilt d_context_a.in
172 atf_check -o file:d_context_c.out grep -B4 Whig d_context_a.in
173 atf_check -o file:d_context_d.out grep -C1 pig d_context_a.in d_context_b.in
174 atf_check -o file:d_context_e.out \
176 atf_check -o file:d_context_f.out \
178 atf_check -o file:d_context_g.out \
189 atf_check -o file:"$(atf_get_srcdir)/d_file_exp.out" -x \
200 atf_check -o file:"$(atf_get_srcdir)/d_egrep.out" \
214 atf_check -o file:"$(atf_get_srcdir)/d_zgrep.out" zgrep -h line d_input.gz
228 atf_check -o inline:"foo bar\n" zgrep -we foo test
230 atf_check -o inline:"foo bar\n" zgrep -wefoo test < /dev/null
243 atf_check -o inline:"foo bar\n" zgrep -e 'foo bar' test < /dev/null
244 atf_check -o inline:"foo bar\n" zgrep --regexp='foo bar' test < /dev/null
258 atf_check -o inline:"foobar\n" zgrep -f pattern test </dev/null
259 atf_check -o inline:"foobar\n" zgrep --file=pattern test </dev/null
271 atf_check -o inline:"foobar\n" zgrep -e foo --ignore-case < test
285 atf_check -o inline:"foobar\n" zgrep -e foo -e xxx test
297 atf_check -o inline:"foobar\n" zgrep -e '' test
308 atf_check -s ne:0 grep -s foobar nonexistent
321 atf_check -o file:"$(atf_get_srcdir)/d_context2_a.out" \
324 atf_check -o file:"$(atf_get_srcdir)/d_context2_b.out" \
327 atf_check -o file:"$(atf_get_srcdir)/d_context2_c.out" \
375 atf_check -o file:"$(atf_get_srcdir)/d_oflag_zerolen_a.out" \
378 atf_check -o file:"$(atf_get_srcdir)/d_oflag_zerolen_b.out" \
381 atf_check -o file:"$(atf_get_srcdir)/d_oflag_zerolen_c.out" \
384 atf_check -o empty grep -Eo '' "$(atf_get_srcdir)/d_oflag_zerolen_d.in"
386 atf_check -o file:"$(atf_get_srcdir)/d_oflag_zerolen_e.out" \
389 atf_check -o file:"$(atf_get_srcdir)/d_oflag_zerolen_e.out" \
421 atf_check -o file:"$(atf_get_srcdir)/d_color_a.out" \
424 atf_check -o file:"$(atf_get_srcdir)/d_color_b.out" \
427 atf_check -o file:"$(atf_get_srcdir)/d_color_c.out" \
440 atf_check -s exit:1 grep -f nulpat "$(atf_get_srcdir)/d_f_file_empty.in"
450 atf_check -s exit:1 grep -o 'f.o\.' "$(atf_get_srcdir)/d_escmap.in"
451 atf_check -o not-empty grep -o 'f.o.' "$(atf_get_srcdir)/d_escmap.in"
461 atf_check -e ignore -s not-exit:0 egrep '{' /dev/null
473 atf_check -o inline:"\n" grep -e "^$" test1
475 atf_check -o inline:"Eggs\nCheese\n" grep -v -e "^$" test1
490 atf_check -s exit:1 -o empty grep -w -e "" test1
492 atf_check -o file:test2 grep -vw -e "" test2
494 atf_check -s exit:1 -o empty grep -w -e "" test3
496 atf_check -o file:test4 grep -vw -e "" test4
507 atf_check -s exit:1 -o empty grep -x -e "" test1
509 atf_check -o file:test2 grep -x -e "" test2
511 atf_check -s exit:1 -o empty grep -x -e "" test3
513 atf_check -s exit:1 -o empty grep -x -e "" test4
520 atf_check -o save:xpositive.count grep -Fxc '' /COPYRIGHT
521 atf_check -o save:xnegative.count grep -Fvxc '' /COPYRIGHT
523 atf_check -o not-inline:"${total}" cat xpositive.count
524 atf_check -o not-inline:"${total}" cat xnegative.count
526 atf_check -o not-file:xnegative.count cat xpositive.count
543 atf_check -o file:target grep -Fxf patlist1 target
544 atf_check -o file:matches grep -Fxf patlist1 target_spacelines
545 atf_check -o file:matches_not2 grep -Fxf patlist2 target
548 atf_check -s exit:1 -o empty grep -Fvxf patlist1 target
549 atf_check -o file:spacelines grep -Fxvf patlist1 target_spacelines
564 atf_check -s exit:1 -o empty fgrep -f epatfile subj
565 atf_check -o file:subj fgrep -vf epatfile subj
584 atf_check -s exit:0 -x '[ $(grep -o x test.in | wc -l) -eq 4096 ]'
585 atf_check -s exit:1 -x 'grep -on x test.in | grep -v "1:x"'
597 atf_check -o inline:"Foo\n" fgrep -e "Foo" test1
599 atf_check -s exit:1 -o empty fgrep -e "Fo." test1
612 atf_check -o inline:"Foo\n" egrep -o -e "F.." test1
614 atf_check -o inline:"Foobar\n" egrep -o -e "F[a-z]*" test1
616 atf_check -o inline:"Fo\n" egrep -o -e "F(o|p)" test1
618 atf_check -o inline:"(ed)\n" egrep -o -e "\(ed\)" test1
620 atf_check -o inline:"M\n" egrep -o -e "M{1}" test2
622 atf_check -o inline:"M{1}\n" egrep -o -e "M\{1\}" test2
635 atf_check -o inline:"Foo\n" grep -o -e "F.." test1
637 atf_check -o inline:"Foobar\n" grep -o -e "F[a-z]*" test1
639 atf_check -o inline:"Fo\n" grep -o -e "F\(o\)" test1
641 atf_check -o inline:"(ed)\n" grep -o -e "(ed)" test1
643 atf_check -o inline:"M{1}\n" grep -o -e "M{1}" test2
645 atf_check -o inline:"M\n" grep -o -e "M\{1\}" test2
658 atf_check -o file:test1 grep -w "x" test1
659 atf_check -o file:test2 grep -w "x" test2
661 atf_check -s exit:1 grep -v -w "x" test1
662 atf_check -s exit:1 grep -v -w "x" test2
680 atf_check -o inline:"1:1:xx\n" grep -bon "xx$" test1
682 atf_check -o inline:"2:4:yyyy\n" grep -bn "yy" test1
684 atf_check -o inline:"2:6:yy\n" grep -bon "yy$" test1
688 atf_check -s exit:1 -x \
691 atf_check -s exit:1 -x \
694 atf_check -s exit:1 -x \
714 atf_check -o inline:"1\n" grep -c -C 1 -e "B" test1
715 atf_check -o inline:"1\n" grep -c -B 1 -e "B" test1
716 atf_check -o inline:"1\n" grep -c -A 1 -e "B" test1
717 atf_check -o inline:"1\n" grep -c -C 1 -e "B" test1
719 atf_check -o inline:"test1\n" grep -l -e "B" test1
720 atf_check -o inline:"test1\n" grep -l -B 1 -e "B" test1
721 atf_check -o inline:"test1\n" grep -l -A 1 -e "B" test1
722 atf_check -o inline:"test1\n" grep -l -C 1 -e "B" test1
724 atf_check -o inline:"test1\n" grep -L -e "D" test1
726 atf_check -o empty grep -q -e "B" test1
727 atf_check -o empty grep -q -B 1 -e "B" test1
728 atf_check -o empty grep -q -A 1 -e "B" test1
729 atf_check -o empty grep -q -C 1 -e "B" test1
741 atf_check -s not-exit:0 -e ignore grep -A "-1" "B" test1
743 atf_check -s not-exit:0 -e ignore grep -B "-1" "B" test1
745 atf_check -s not-exit:0 -e ignore grep -C "-1" "B" test1
747 atf_check -s not-exit:0 -e ignore grep -A "B" "B" test1
749 atf_check -s not-exit:0 -e ignore grep -B "B" "B" test1
751 atf_check -s not-exit:0 -e ignore grep -C "B" "B" test1
766 atf_check -o inline:"${binmatchtext}" grep 'B' test1
767 atf_check -o inline:"${binmatchtext}" grep 'B' -C 1 test1
769 atf_check -o inline:"${binmatchtext}" grep -U 'B' test1
770 atf_check -o inline:"${binmatchtext}" grep -U 'B' -C 1 test1
773 atf_check -o inline:"A\000B\000C\n" grep -a 'B' test1
774 atf_check -o inline:"A\000B\000C\n" grep -a 'B' -C 1 test1
777 atf_check -o inline:"\000B\n" grep -a 'B' test2
778 atf_check -o inline:"A\n\000B\n\000C\n" grep -a 'B' -C 1 test2
781 atf_check -s exit:1 grep -I 'B' test2
784 atf_check -o inline:"${binmatchtext}" grep --binary-files=binary 'B' test1
785 atf_check -o inline:"A\000B\000C\n" grep --binary-files=text 'B' test1
786 atf_check -s exit:1 grep --binary-files=without-match 'B' test2
803 atf_check -s exit:0 -o inline:"B\n" grep --mmap -oe "B" test1
804 atf_check -s exit:1 grep --mmap -e "Z" test1
818 atf_check -o inline:"test2:A\ntest3:A\ntest3:B\n" grep "" test1 test2 test3
819 atf_check -o inline:"test3:A\ntest3:B\ntest2:A\n" grep "" test3 test1 test2
820 atf_check -o inline:"test2:A\ntest3:A\ntest3:B\n" grep "" test2 test3 test1
822 atf_check -s exit:1 grep "" test1
834 atf_check -o inline:"Foo\nBaz\n" grep -F -e "Foo" -e "Baz" test1
835 atf_check -o inline:"Foo\nBaz\n" grep -F -e "Baz" -e "Foo" test1
836 atf_check -o inline:"Bar\nBaz\n" grep -F -e "Bar" -e "Baz" test1
848 atf_check -o inline:"Foo\nBaz\n" grep -Fi -e "foo" -e "baz" test1
849 atf_check -o inline:"Foo\nBaz\n" grep -Fi -e "baz" -e "foo" test1
850 atf_check -o inline:"Bar\nBaz\n" grep -Fi -e "bar" -e "baz" test1
851 atf_check -o inline:"Bar\nBaz\n" grep -Fi -e "BAR" -e "bAz" test1
863 atf_check -o inline:"a\n" grep -Fo "a" test1
864 atf_check -o inline:"i\n" grep -Fo "i" test1
865 atf_check -o inline:"abc\n" grep -Fo "abc" test1
866 atf_check -o inline:"fgh\n" grep -Fo "fgh" test1
867 atf_check -o inline:"cde\n" grep -Fo "cde" test1
868 atf_check -o inline:"bcd\n" grep -Fo -e "bcd" -e "cde" test1
869 atf_check -o inline:"bcd\nefg\n" grep -Fo -e "bcd" -e "efg" test1
871 atf_check -s exit:1 grep -Fo "xabc" test1
872 atf_check -s exit:1 grep -Fo "abcx" test1
873 atf_check -s exit:1 grep -Fo "xghi" test1
874 atf_check -s exit:1 grep -Fo "ghix" test1
875 atf_check -s exit:1 grep -Fo "abcdefghiklmnopqrstuvwxyz" test1
887 atf_check -o inline:"1\n" grep -Ec "a" test1
888 atf_check -o inline:"2\n" grep -Ec "a|b" test1
889 atf_check -o inline:"3\n" grep -Ec "a|b|c" test1
891 atf_check -o inline:"test1:2\n" grep -EHc "a|b" test1
903 atf_check -o inline:"1\n" grep -m 1 -Ec "a" test1
904 atf_check -o inline:"2\n" grep -m 2 -Ec "a|b" test1
905 atf_check -o inline:"3\n" grep -m 3 -Ec "a|b|c|f" test1
907 atf_check -o inline:"test1:2\n" grep -m 2 -EHc "a|b|e|f" test1
920 atf_check -o inline:"foo\nfoo\n" grep -A1 -m1 foo test1
923 atf_check -o inline:"1:foo\n2-foo\n" grep -A1 -nm1 foo test1
935 atf_check -o inline:"test1:foo\ntest2:foo\n" zgrep foo test1 test2
938 atf_check -o inline:"test2:foo\n" zgrep foo test1 test2
941 atf_check -s exit:1 zgrep foo test1 test2