aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2018-12-17 21:27:25 -0600
committerRob Landley <rob@landley.net>2018-12-17 21:27:25 -0600
commit84e22115a55f82c84b43807a690ac5904c616317 (patch)
treef70f589915616cbc913483365eecd8291d2d0a36 /tests
parentc1a22bbca751bc6ae7ffb8d7cfaf5100306e897b (diff)
downloadtoybox-84e22115a55f82c84b43807a690ac5904c616317.tar.gz
A couple more grep tests, and slightly use dlist_terminate() for the loops.
Diffstat (limited to 'tests')
-rw-r--r--tests/grep.test3
1 files changed, 3 insertions, 0 deletions
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"