diff options
author | Rob Landley <rob@landley.net> | 2019-07-16 23:16:57 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2019-07-16 23:16:57 -0500 |
commit | 25bfbb69be6cb5577285cb58d14b1b0c2a09e7d1 (patch) | |
tree | e851fec8775cb214e722e694d611c0f37a459b26 /tests | |
parent | fdd58dc338b5d1797bb7f44f2602ed60b1c7b911 (diff) | |
download | toybox-25bfbb69be6cb5577285cb58d14b1b0c2a09e7d1.tar.gz |
Fix unaligned access, tweak test suite.
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/grep.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/grep.test b/tests/grep.test index 76f406c8..69f8036e 100755 --- a/tests/grep.test +++ b/tests/grep.test @@ -69,7 +69,7 @@ testing "-o overlap" "grep -bo aaa" "1:aaa\n" "" "baaaa\n" testing "-co" "grep -co one input" "1\n" "one one one\n" "" testing "-nom" "grep -nom 2 one" "1:one\n1:one\n1:one\n2:one\n2:one\n" \ "" "one one one\none one\none" -testing "-vo" "grep -vo one input" "two\nthree\n" "onetwoonethreeone\n" "" +toyonly testing "-vo" "grep -vo one input" "two\nthree\n" "onetwoonethreeone\n" "" testing "no newline" "grep -h one input -" \ "hello one\nthere one\n" "hello one" "there one" @@ -181,7 +181,7 @@ mkdir dir echo "hello" > dir/f mkdir sub ln -s ../dir sub/link -testing "" "grep -rh hello sub" "" "" "" +testing "" "grep -rh hello sub 2>/dev/null || echo err" "err\n" "" "" testing "" "grep -Rh hello sub" "hello\n" "" "" rm -rf sub real |