components/pcre/patches/03-test-driver.patch
changeset 4549 cef88d7826a6
equal deleted inserted replaced
4548:a77dcced6a2a 4549:cef88d7826a6
       
     1 Comment out the set -u (nounset) shell option in test-driver,
       
     2 which errors out when encountering unset variables.
       
     3 During "gmake test" the pcregrep binary is never called because it
       
     4 causes a problem in the pcregrep libtool wrapper for
       
     5 an unset variable $libtool_install_magic.
       
     6 Problem is not seen when running "gmake check" directly from
       
     7 command line.  Solaris-specific patch not appropriate for upstream.
       
     8 
       
     9 --- pcre-8.37-orig/test-driver	2015-04-28 04:17:22.000000000 -0700
       
    10 +++ pcre-8.37/test-driver	2015-06-19 11:43:59.905679371 -0700
       
    11 @@ -29,7 +29,7 @@ scriptversion=2013-07-13.22; # UTC
       
    12  
       
    13  # Make unconditional expansion of undefined variables an error.  This
       
    14  # helps a lot in preventing typo-related bugs.
       
    15 -set -u
       
    16 +# set -u
       
    17  
       
    18  usage_error ()
       
    19  {