1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-21 11:16:16 +02:00

tests: avoid spurious misc/expr failure on AIX 6.1

* tests/misc/expr: Avoid spurious failure on AIX 6.1 due to
differing regexp diagnostic.  Reported by Michael Felt.
This commit is contained in:
Jim Meyering
2012-04-02 22:32:57 +02:00
parent ef44086db0
commit 0f35329876

View File

@@ -140,7 +140,11 @@ my @Tests =
['bre48', '_ : "a\\{1,x"',
{ERR => "$prog: Unmatched \\{\n"}, {EXIT => 2}],
['bre49', '_ : "a\\{32768\\}"',
{ERR => "$prog: Invalid content of \\{\\}\n"}, {EXIT => 2}],
{ERR => "$prog: Invalid content of \\{\\}\n"}, {EXIT => 2},
# Map AIX-6's different diagnostic to the one we expect:
{ERR_SUBST =>
's,Regular expression too big,Invalid content of \\\\{\\\\},'},
],
['bre50', '_ : "a\\{1,0\\}"',
{ERR => "$prog: Invalid content of \\{\\}\n"}, {EXIT => 2}],
['bre51', '"acabc" : ".*ab\\{0,0\\}c"', {OUT => '2'}],