summaryrefslogtreecommitdiff
path: root/tests/encoding-error
diff options
context:
space:
mode:
Diffstat (limited to 'tests/encoding-error')
-rwxr-xr-xtests/encoding-error4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/encoding-error b/tests/encoding-error
index 4b5fcb5b..0cbeffcc 100755
--- a/tests/encoding-error
+++ b/tests/encoding-error
@@ -35,6 +35,10 @@ grep '^X' in >out
test $? = 1 || fail=1
compare /dev/null out || fail=1
+grep . in >out || fail=1
+(cat a j && printf 'Binary file in matches\n') >exp || framework_failure_
+compare exp out || fail=1
+
grep -a . in >out || fail=1
compare in out