diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2014-01-20 03:41:48 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2014-01-20 03:41:48 +0100 |
commit | d9e0c438e10e2155513e5d26498af472c5137d65 (patch) | |
tree | 2c53de479f949ab21f9fa9227e31e01e1aba7b27 /testsuite | |
parent | a2dd4ee0e80f50e204f4755e725ae0b1cd07ebad (diff) | |
download | busybox-w32-1_22_1.tar.gz busybox-w32-1_22_1.tar.bz2 busybox-w32-1_22_1.zip |
Apply post-1.22.0 patches, bump version to 1.22.11_22_1
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite')
-rwxr-xr-x | testsuite/grep.tests | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/grep.tests b/testsuite/grep.tests index 64d99a905..412efffbb 100755 --- a/testsuite/grep.tests +++ b/testsuite/grep.tests | |||
@@ -147,6 +147,18 @@ testing "grep -w doesn't stop on 1st mismatch" \ | |||
147 | "foop foo\n" \ | 147 | "foop foo\n" \ |
148 | "" | 148 | "" |
149 | 149 | ||
150 | testing "grep -w ^str doesn't match str not at the beginning" \ | ||
151 | "grep -w ^str input" \ | ||
152 | "" \ | ||
153 | "strstr\n" \ | ||
154 | "" | ||
155 | |||
156 | testing "grep -w ^ doesn't hang" \ | ||
157 | "grep -w ^ input" \ | ||
158 | "" \ | ||
159 | "anything\n" \ | ||
160 | "" | ||
161 | |||
150 | # testing "test name" "commands" "expected result" "file input" "stdin" | 162 | # testing "test name" "commands" "expected result" "file input" "stdin" |
151 | # file input will be file called "input" | 163 | # file input will be file called "input" |
152 | # test can create a file "actual" instead of writing to stdout | 164 | # test can create a file "actual" instead of writing to stdout |