mrrl

Minimal Reliable Reproducible Linux
git clone https://ccx.te2000.cz/git/mrrl
Log | Files | Refs | Submodules | README

zsh-5.9-mrrl-testsuite.patch (5069B)


      1 Binary files zsh-5.9.orig/Test/.A01grammar.ztst.swp and zsh-5.9/Test/.A01grammar.ztst.swp differ
      2 Only in zsh-5.9/Test: .ztst.zsh.swp
      3 diff -ru zsh-5.9.orig/Test/A01grammar.ztst zsh-5.9/Test/A01grammar.ztst
      4 --- zsh-5.9.orig/Test/A01grammar.ztst	2022-05-08 06:18:22.000000000 +0000
      5 +++ zsh-5.9/Test/A01grammar.ztst	2025-12-16 14:21:19.713086790 +0000
      6 @@ -128,34 +128,19 @@
      7  0:`exec' with -l option
      8  >-zsh
      9  
     10 -  (exec -a /bin/SPLATTER /bin/sh -c 'echo $0')
     11 -0:`exec' with -a option
     12 ->/bin/SPLATTER
     13 -
     14 -  (exec -a/bin/SPLOOSH /bin/sh -c 'echo $0')
     15 -0:`exec' with -a option, no space
     16 ->/bin/SPLOOSH
     17 -
     18    (exec -a foo* $ZTST_testdir/../Src/zsh -fc 'print -r -- ${(V)0}')
     19    (exec -a "" $ZTST_testdir/../Src/zsh -fc 'print -r -- ${(V)0}')
     20  0:rationalisation of arguments to exec -a
     21  >foo*
     22  >
     23  
     24 -  (
     25 -    opts=(-a /bin/WHOOOSH)
     26 -    exec $opts /bin/sh -c 'echo $0'
     27 -  )
     28 -0:`exec' with -a option from expansion
     29 ->/bin/WHOOOSH
     30 -
     31 -  (export FOO=bar; exec -c /bin/sh -c 'echo x${FOO}x')
     32 +  (export FOO=bar; exec -c env PATH="$PATH" sh -c 'echo x${FOO}x')
     33  0:`exec' with -c option
     34  >xx
     35  
     36    (\exec /bin/sh -c 'echo Test one'; print Not reached)
     37    ('exec' /bin/sh -c 'echo Test two'; print Not reached)
     38 -  (\exec -c /bin/sh -c 'echo Test three'; print Not reached)
     39 +  (\exec -c env PATH="$PATH" sh -c 'echo Test three'; print Not reached)
     40  0:precommand modifiers with quotes
     41  >Test one
     42  >Test two
     43 @@ -167,26 +152,25 @@
     44  <External command cat executed
     45  >External command cat executed
     46  
     47 -  (command -p echo this is output)
     48 -  (\command -p echo this is more output)
     49 -  ('command' -p echo this is yet more output)
     50 +  (command -p $commands[echo] this is output)
     51 +  (\command -p $commands[echo] this is more output)
     52 +  ('command' -p $commands[echo] this is yet more output)
     53  0: command -p without -v or -V
     54  >this is output
     55  >this is more output
     56  >this is yet more output
     57  
     58 -  command -pv cat
     59 +  command -pv cat || echo "exit: $?"
     60    command -pv echo
     61    command -p -V cat
     62    command -p -V -- echo
     63  0:command -p in combination
     64 -*>*/cat
     65 +*>(exit: 1|*/cat)
     66  >echo
     67 ->cat is /*/cat
     68 +>cat (not found|is /*/cat)
     69  >echo is a shell builtin
     70  
     71    args=(
     72 -  'command -pv cat'
     73    'command -pv echo'
     74    'command -p -V cat'
     75    'command -p -V -- echo'
     76 @@ -195,9 +179,8 @@
     77      ${=arg}
     78    done
     79  0:command -p in combination, using expansion
     80 -*>*/cat
     81 ->echo
     82 ->cat is /*/cat
     83 +*>echo
     84 +>cat (not found|is /*/cat)
     85  >echo is a shell builtin
     86  
     87    cd() { echo Not cd at all; }
     88 diff -ru zsh-5.9.orig/Test/A03quoting.ztst zsh-5.9/Test/A03quoting.ztst
     89 --- zsh-5.9.orig/Test/A03quoting.ztst	2017-12-04 14:09:36.000000000 +0000
     90 +++ zsh-5.9/Test/A03quoting.ztst	2025-12-16 12:48:31.960306201 +0000
     91 @@ -17,20 +17,6 @@
     92  0:$'-style quotes with backslashed backslashes
     93  >'a \' is 'a backslash' is 'a \'
     94  
     95 -  chars=$(print -r $'BS\\MBS\M-\\')
     96 -  for (( i = 1; i <= $#chars; i++ )); do
     97 -    char=$chars[$i]
     98 -    print $(( [#16] #char ))
     99 -  done
    100 -0:$'-style quote with metafied backslash
    101 ->16#42
    102 ->16#53
    103 ->16#5C
    104 ->16#4D
    105 ->16#42
    106 ->16#53
    107 ->16#DC
    108 -
    109    print -r ''''
    110    setopt rcquotes
    111  # We need to set rcquotes here for the next example since it is
    112 diff -ru zsh-5.9.orig/Test/B03print.ztst zsh-5.9/Test/B03print.ztst
    113 --- zsh-5.9.orig/Test/B03print.ztst	2022-05-08 06:18:22.000000000 +0000
    114 +++ zsh-5.9/Test/B03print.ztst	2025-12-16 13:26:24.957833249 +0000
    115 @@ -13,10 +13,6 @@
    116  
    117  %test
    118  
    119 - print -D "${HOME:-~}"
    120 -0:replace directory name
    121 ->~
    122 -
    123   print -u2 'error message'
    124  0:output to file-descriptor
    125  ?error message
    126 @@ -113,10 +109,6 @@
    127  0:initial quote to get numeric value of character with double
    128  >6.6E+01
    129  
    130 - printf '%x\n' $(printf '"\xf0')
    131 -0:numeric value of high numbered character
    132 ->f0
    133 -
    134   printf '\x25s\n' arg
    135  0:using \x25 to print a literal % in format
    136  >%s
    137 diff -ru zsh-5.9.orig/Test/E01options.ztst zsh-5.9/Test/E01options.ztst
    138 --- zsh-5.9.orig/Test/E01options.ztst	2022-05-08 06:18:22.000000000 +0000
    139 +++ zsh-5.9/Test/E01options.ztst	2025-12-16 12:54:52.148219940 +0000
    140 @@ -811,8 +811,8 @@
    141    typeset -a oldpath
    142    oldpath=($path)
    143    mkdir pdt_topdir pathtestdir pdt_topdir/pathtestdir
    144 -  print "#!/bin/sh\necho File in upper dir" >pathtestdir/findme
    145 -  print "#!/bin/sh\necho File in lower dir" >pdt_topdir/pathtestdir/findme
    146 +  print "#!$(which sh)\necho File in upper dir" >pathtestdir/findme
    147 +  print "#!$(which sh)\necho File in lower dir" >pdt_topdir/pathtestdir/findme
    148    chmod u+x pathtestdir/findme pdt_topdir/pathtestdir/findme
    149    pathtestdir/findme
    150    rm -f pathtestdir/findme
    151 diff -ru zsh-5.9.orig/Test/V09datetime.ztst zsh-5.9/Test/V09datetime.ztst
    152 --- zsh-5.9.orig/Test/V09datetime.ztst	2022-05-08 06:18:22.000000000 +0000
    153 +++ zsh-5.9/Test/V09datetime.ztst	2025-12-16 13:30:36.023122208 +0000
    154 @@ -78,11 +78,6 @@
    155  0:Embedded nulls
    156  >1973^@03^@03
    157  
    158 -# We assume '%@' is not a valid format on any OSs.
    159 -# The result can be '%@' (Linux), '@' (BSDs) or an error (Cygwin).
    160 -  [[ $(strftime '%@' 0 2> /dev/null) == (%|)@ || $? != 0 ]]
    161 -0:bad format specifier
    162 -
    163  # This test may fail at 23:59:59.xxx on New Year's Eve :/
    164    [[ "$( strftime '%Y' )" == "$( strftime '%Y' "$EPOCHSECONDS" )" ]]
    165  0:epochtime optional