Rob Landley
|
4209607a72
Add test for last char of -f bug.
|
1 year ago |
Rob Landley
|
51f687c5fb
Not sure if this test should be toyonly or not?
|
1 year ago |
Rob Landley
|
fd8ef8cac0
Fix grep to pass recently added test, and add a couple more tests.
|
1 year ago |
Rob Landley
|
d1093d670f
Test that -z doesn't apply to the \n in input patterns.
|
1 year ago |
Rob Landley
|
b26689f950
Fix bucket sort with -F
|
1 year ago |
Rob Landley
|
1930098552
Fix grep fast path logic to handle initial \ and '^$' pattern.
|
1 year ago |
Rob Landley
|
96ad49e30e
Convert testing -> testcmd
|
1 year ago |
Rob Landley
|
a7e49c3c78
Speed up grep with large numbers of patterns.
|
1 year ago |
Rob Landley
|
2611693169
Teach grep to autodetect fixed patterns and run fixed and regex tests together.
|
1 year ago |
Rob Landley
|
3062fc9e9a
Fix grep --color to highlight all matches, based on Peter Collingbourne's
|
2 years ago |
Peter Collingbourne
|
fb3c380d07
grep: Implement -L.
|
2 years ago |
Rob Landley
|
6817e114bb
Teach -o to print ranges that produce zero length matches.
|
3 years ago |
Rob Landley
|
76d3160cfa
Fix grep bug where -f /dev/null added "" regex matching everything,
|
3 years ago |
Rob Landley
|
78a4be9e68
Only create test file "input" when input argument isn't empty.
|
4 years ago |
Rob Landley
|
25bfbb69be
Fix unaligned access, tweak test suite.
|
5 years ago |
Elliott Hughes
|
fdd58dc338
grep: fix two bugs found by hwasan.
|
5 years ago |
Elliott Hughes
|
5194d4ad66
grep: add -R as well as -r.
|
5 years ago |
Elliott Hughes
|
2f9d9096aa
grep: add --exclude-dir.
|
5 years ago |
Rob Landley
|
a39eab3fc7
Fix a missing else, and an inverted test hidden by the missing else.
|
5 years ago |
Rob Landley
|
bf174d69cc
I had some pending grep tests I hadn't checked in too.
|
5 years ago |
Elliott Hughes
|
caa5a3b131
grep: use TOYFLAG_ARGFAIL for grep too.
|
5 years ago |
Rob Landley
|
b6c12d25bc
Add grep tests to "make tests".
|
5 years ago |
Rob Landley
|
84e22115a5
A couple more grep tests, and slightly use dlist_terminate() for the loops.
|
5 years ago |
Rob Landley
|
7a46d1db95
Chmod +x tests that pass with VERBOSE=fail and -x on tests needing work.
|
5 years ago |
Elliott Hughes
|
e9dfdd76d5
Add tests for grep with implicit/explicit BREs and explicit EREs.
|
6 years ago |
Rob Landley
|
12adb4113d
Many failing tests I need to fix grep to pass while adding --color.
|
8 years ago |
Rob Landley
|
336c44adca
Factor out command name at the start of test name, have runtest.sh print it.
|
8 years ago |
Rob Landley
|
c02619bbc0
Fix -H and -n with -ABC, and add tests.
|
8 years ago |
Rob Landley
|
36aed25f3f
Add grep -B -C
|
8 years ago |
Rob Landley
|
b97d8211fa
Add grep -A
|
8 years ago |