diff options
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/grep.test | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/grep.test b/tests/grep.test index be8bc85c..aa11c704 100755 --- a/tests/grep.test +++ b/tests/grep.test @@ -100,3 +100,8 @@ testing "grep backref" 'grep -e "a\(b\)" -e "b\(c\)\1"' "bcc\nab\n" \ testing "grep -A" "grep -A 2 yes" "yes\nno\nno\n--\nyes\nno\nno\nyes\nno\n" \ "" "yes\nno\nno\nno\nyes\nno\nno\nyes\nno" +testing "grep -B" "grep -B 1 yes" "no\nyes\n--\nno\nyes\nno\nyes\n" \ + "" "no\nno\nno\nyes\nno\nno\nyes\nno\nyes" +testing "grep -C" "grep -C 1 yes" \ + "yes\nno\n--\nno\nyes\nno\nno\nyes\nno\nyes\nno\n" \ + "" "yes\nno\nno\nno\nyes\nno\nno\nyes\nno\nyes\nno\nno" |