Subject: bug#24233: [PATCH] tests: add a new test for SJIS locale

From: Norihiro Tanaka <[email-masked]>
Date: Mon, 15 Aug 2016 22:55:37 +0900

Hi,

The patch adds a new test to sjis-mb.  It fails in grep-2.25 or prior,
but succeeds in current master.

Thanks,
Norihiro
From 1552adc5d81cc70dc5fdc0bc32f994251127e0f3 Mon Sep 17 00:00:00 2001
From: Norihiro Tanaka <[email-masked]>
Date: Mon, 15 Aug 2016 22:39:52 +0900
Subject: [PATCH] tests: add a new test for SJIS locale

* tests/sjis-mb: Add a new test.  It fails in grep-2.25 or prior.
---
 tests/sjis-mb |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/tests/sjis-mb b/tests/sjis-mb
index 39459fe..db147fd 100755
--- a/tests/sjis-mb
+++ b/tests/sjis-mb
@@ -57,4 +57,6 @@ for i in $failure_tests; do
   test_grep_reject -E $i A || fail=1
 done
 
+test_grep_reject -E @A '^$|A' || fail=1
+
 Exit $fail
-- 
1.7.1