components/coreutils/patches/tests-misc-expr.patch
changeset 1833 0edb05d72e6b
parent 987 810b92005f34
equal deleted inserted replaced
1832:30ac428a2aaf 1833:0edb05d72e6b
       
     1 The tests/misc/expr test is broken by default in version 8.16.
       
     2 
       
     3 Looking at the ChangeLog for GNU coreutils 8.19, I found:
       
     4 
       
     5 2012-04-03  Jim Meyering  <[email protected]>
       
     6 ...
       
     7         tests: avoid spurious misc/expr failure on AIX 6.1
       
     8         * tests/misc/expr: Avoid spurious failure on AIX 6.1 due to
       
     9         differing regexp diagnostic.  Reported by Michael Felt.
       
    10 
       
    11 If I use the .../tests/misc/expr test script from 8.19, it works fine.
       
    12 So I've added the 'tests-misc-expr.patch' file to do just that.
       
    13 
     1 ---  coreutils-8.16/tests/misc/expr.orig	2012-09-03 07:18:28.214998564 -0700
    14 ---  coreutils-8.16/tests/misc/expr.orig	2012-09-03 07:18:28.214998564 -0700
     2 +++  coreutils-8.16/tests/misc/expr	2012-09-03 07:22:12.547808280 -0700
    15 +++  coreutils-8.16/tests/misc/expr	2012-09-03 07:22:12.547808280 -0700
     3 @@ -140,7 +140,11 @@
    16 @@ -140,7 +140,11 @@
     4       ['bre48', '_ : "a\\{1,x"',
    17       ['bre48', '_ : "a\\{1,x"',
     5        {ERR => "$prog: Unmatched \\{\n"}, {EXIT => 2}],
    18        {ERR => "$prog: Unmatched \\{\n"}, {EXIT => 2}],