From 84e22115a55f82c84b43807a690ac5904c616317 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Mon, 17 Dec 2018 21:27:25 -0600 Subject: A couple more grep tests, and slightly use dlist_terminate() for the loops. --- tests/grep.test | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/grep.test') diff --git a/tests/grep.test b/tests/grep.test index 21cd8bbb..05288983 100644 --- a/tests/grep.test +++ b/tests/grep.test @@ -151,3 +151,6 @@ testing "explicit BRE |" "grep -e 'uno|dos'" "uno|dos\n" \ "" "uno\ndos\nuno|dos\n" testing "explicit ERE |" "grep -E 'uno|dos'" "uno\ndos\nuno|dos\n" \ "" "uno\ndos\nuno|dos\n" + +testing "" "grep -o -e iss -e ipp" "iss\niss\nipp\n" "" "mississippi" +testing "" "grep -o -e gum -e rgu" "rgu\n" "" "argument" -- cgit v1.2.3