[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
grep branch, master, updated. v2.8-13-gb5cd478
From: |
Paolo Bonzini |
Subject: |
grep branch, master, updated. v2.8-13-gb5cd478 |
Date: |
Tue, 07 Jun 2011 11:16:15 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "grep".
The branch, master has been updated
via b5cd4788533da574c202219de76f82c5cda9cb20 (commit)
from de5f7000d12747b4729dd1cfc3b0c06e97b0b932 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/grep.git/commit/?id=b5cd4788533da574c202219de76f82c5cda9cb20
commit b5cd4788533da574c202219de76f82c5cda9cb20
Author: Paolo Bonzini <address@hidden>
Date: Tue Jun 7 12:31:42 2011 +0200
tests: exercise latent bug in character ranges
* tests/bogus-wctob: New.
* Makefile.am (TESTS): Add it.
diff --git a/tests/Makefile.am b/tests/Makefile.am
index f354e4a..8d51727 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -38,6 +38,7 @@ TESTS = \
backref \
backref-multibyte-slow \
backref-word \
+ bogus-wctob \
bre \
case-fold-backref \
case-fold-backslash-w \
diff --git a/tests/bogus-wctob b/tests/bogus-wctob
new file mode 100644
index 0000000..6be6c39
--- /dev/null
+++ b/tests/bogus-wctob
@@ -0,0 +1,17 @@
+#!/bin/sh
+# This was latent in grep-2.8 and earlier because we punted interpretation
+# of MBCSETs to glibc. However, it becomes apparent as soon as "[Ã ]" is
+# simplified to "Ã ".
+. "${srcdir=.}/init.sh"; path_prepend_ ../src
+
+printf '\340' > in || framework_failure_
+fail=0
+
+LC_ALL=en_US.UTF-8 grep '[Ã ]' in
+case $? in
+ 0) fail=1 ;;
+ 1) ;;
+ 2) framework_failure_ unexpected error from grep ;;
+esac
+
+Exit $fail
-----------------------------------------------------------------------
Summary of changes:
tests/Makefile.am | 1 +
tests/bogus-wctob | 17 +++++++++++++++++
2 files changed, 18 insertions(+), 0 deletions(-)
create mode 100644 tests/bogus-wctob
hooks/post-receive
--
grep
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- grep branch, master, updated. v2.8-13-gb5cd478,
Paolo Bonzini <=