]> git.pld-linux.org Git - packages/autoconf.git/blob - autoconf-tests.patch
- enhanced tests patch to fix failures with mksh
[packages/autoconf.git] / autoconf-tests.patch
1 --- autoconf-2.69/tests/foreign.at.orig 2012-03-07 18:35:26.000000000 +0100
2 +++ autoconf-2.69/tests/foreign.at      2017-01-31 16:34:36.105261591 +0100
3 @@ -57,7 +57,7 @@
4  # Make sure at-path contains something valid, and let the test suite
5  # display it when verbose.  And fail, skipping would too easily hide
6  # problems.
7 -AT_CHECK([sed -n ["s,^.*\`\\(/[^']*\\)'.*,\\1,p"] stdout], [0], [stdout])
8 +AT_CHECK([sed -n ["s,^.*[\`']\\(/[^']*\\)'.*,\\1,p"] stdout], [0], [stdout])
9  AT_CHECK([test -f "`sed -n 1p stdout`"])
10  
11  # Older libtoolize installed everything but install-sh...
12 --- autoconf-2.69/tests/local.at.orig   2017-01-31 19:18:28.760150997 +0100
13 +++ autoconf-2.69/tests/local.at        2017-01-31 19:35:48.663569282 +0100
14 @@ -324,7 +324,7 @@
15        [AWK|LEX|LEXLIB|LEX_OUTPUT_ROOT|LN_S|M4|MKDIR_P|RANLIB|SET_MAKE|YACC],
16        [GREP|[EF]GREP|SED],
17        [[_@]|.[*#?$].],
18 -      [argv|ARGC|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS|BASHPID|EPOCHREALTIME]))=' \
19 +      [argv|ARGC|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS|BASHPID|EPOCHREALTIME|KSH_MATCH]))=' \
20       $act_file ||
21         test $? -eq 1 || echo failed >&2
22      ) 2>stderr-$act_file |
23 @@ -381,6 +381,7 @@
24         /^RANDOM=/ d
25         /^SECONDS=/ d
26         /^BASHPID=/ d
27 +       /^KSH_MATCH=/ d
28         /^EPOCHREALTIME=/ d
29         /'\'\\\$\''=/ d
30         /^argv=/ d
31 --- autoconf-2.69/tests/m4sh.at.orig    2012-03-07 18:35:26.000000000 +0100
32 +++ autoconf-2.69/tests/m4sh.at 2017-01-31 21:50:56.350739217 +0100
33 @@ -237,7 +237,7 @@
34  [[AS@&t@_INIT
35  m4@&t@_divert_text([], [
36  if $2; then
37 -  AS@&t@_UNSET([LINENO])
38 +  { LINENO=0; unset LINENO;}
39  fi
40  ])
41  AS@&t@_LINENO_PREPARE
This page took 0.555899 seconds and 4 git commands to generate.