tcsh-org / tcsh

This is a read-only mirror of the tcsh code repository.
https://www.tcsh.org/
Other
232 stars 42 forks source link

6.24.01: test suite is failing in one unit #57

Closed kloczek closed 1 year ago

kloczek commented 1 year ago

Test suite is failing in one unit

+ cd tcsh-6.24.01
+ /usr/bin/make -O -j48 V=1 VERBOSE=1 check
{                                                                  \
  echo '# Signature of the current package.';                      \
  echo 'm4_define([AT_PACKAGE_NAME],      [tcsh])';        \
  echo 'm4_define([AT_PACKAGE_TARNAME],   [tcsh])';   \
  echo 'm4_define([AT_PACKAGE_VERSION],   [6.24.01])';   \
  echo 'm4_define([AT_PACKAGE_STRING],    [tcsh 6.24.01])';        \
  echo 'm4_define([AT_PACKAGE_BUGREPORT], [https://bugs.astron.com/])'; \
} >./tests/package.m4
autom4te --language=autotest -I ./tests \
        ./tests/testsuite.at -o tests/testsuite.tmp
mv tests/testsuite.tmp tests/testsuite
/usr/bin/env - \
        USER="tkloczko" \
        /bin/sh ./tests/testsuite
## ------------------------ ##
## tcsh 6.24.01 test suite. ##
## ------------------------ ##
  1: beepcmd                                         skipped (aliases.at:3)
  2: cwdcmd                                          ok
  3: jobcmd                                          skipped (aliases.at:19)
  4: helpcommand                                     skipped (aliases.at:20)
  5: periodic                                        skipped (aliases.at:21)
  6: precmd                                          skipped (aliases.at:22)
  7: postcmd                                         ok
  8: shell                                           ok
  9: -b                                              ok
 10: -c                                              ok
 11: -d                                              skipped (arguments.at:34)
 12: -e                                              ok
 13: -f                                              skipped (arguments.at:46)
 14: -i                                              ok
 15: -l                                              skipped (arguments.at:61)
 16: -m                                              skipped (arguments.at:65)
 17: -q                                              skipped (arguments.at:71)
 18: -s                                              ok
 19: -t                                              ok
 20: -v                                              ok
 21: -x                                              ok
 22: -V                                              skipped (arguments.at:126)
 23: -X                                              skipped (arguments.at:127)
 24: --help                                          skipped (arguments.at:130)
 25: --version                                       skipped (arguments.at:131)
 26: invalid option                                  ok
 27: non-option arguments                            ok
 28: %                                               skipped (commands.at:3)
 29: :                                               ok
 30: @                                               ok
 31: alias                                           ok
 32: alloc                                           skipped (commands.at:80)
 33: bg                                              skipped (commands.at:81)
 34: bindkey                                         skipped (commands.at:82)
 35: break                                           ok
 36: builtins                                        skipped (commands.at:133)
 37: bye                                             skipped (commands.at:134)
 38: cd                                              ok
 39: complete                                        ok
 40: continue                                        ok
 41: dirs                                            ok
 42: echo                                            ok
 43: echotc                                          skipped (commands.at:348)
 44: eval                                            ok
 45: exec                                            ok
 46: exit                                            ok
 47: fg                                              skipped (commands.at:378)
 48: filetest                                        ok
 49: foreach                                         ok
 50: getspath                                        skipped (commands.at:524)
 51: getxvers                                        skipped (commands.at:525)
 52: glob                                            ok
 53: goto                                            ok
 54: hashstat                                        skipped (commands.at:564)
 55: history                                         ok
 56: hup                                             ok
 57: if                                              ok
 58: inlib                                           skipped (commands.at:778)
 59: jobs                                            skipped (commands.at:779)
 60: kill                                            ok
 61: limit                                           skipped (commands.at:799)
 62: log                                             ok
 63: login                                           skipped (commands.at:813)
 64: logout                                          ok
 65: ls-F                                            ok
 66: migrate                                         skipped (commands.at:893)
 67: newgrp                                          skipped (commands.at:894)
 68: nice                                            ok
 69: nohup                                           ok
 70: notify                                          skipped (commands.at:925)
 71: onintr                                          ok
 72: popd                                            ok
 73: printenv                                        ok
 74: pushd                                           ok
 75: rehash                                          ok
 76: repeat                                          ok
 77: rootnode                                        skipped (commands.at:1095)
 78: sched                                           skipped (commands.at:1096)
 79: set                                             ok
 80: setenv                                          ok
 81: setpath                                         skipped (commands.at:1160)
 82: setspath                                        skipped (commands.at:1161)
 83: settc                                           skipped (commands.at:1162)
 84: setty                                           skipped (commands.at:1163)
 85: setxvers                                        skipped (commands.at:1164)
 86: shift                                           ok
 87: source                                          ok
 88: stop                                            skipped (commands.at:1246)
 89: suspend                                         skipped (commands.at:1247)
 90: switch                                          ok
 91: telltc                                          skipped (commands.at:1306)
 92: termname                                        skipped (commands.at:1307)
 93: time                                            skipped (commands.at:1308)
 94: umask                                           ok
 95: unalias                                         ok
 96: uncomplete                                      ok
 97: unhash                                          ok
 98: universe                                        skipped (commands.at:1366)
 99: unlimit                                         skipped (commands.at:1367)
100: unset                                           ok
101: unsetenv                                        ok
102: ver                                             skipped (commands.at:1399)
103: wait                                            ok
104: warp                                            skipped (commands.at:1410)
105: watchlog                                        skipped (commands.at:1411)
106: where                                           ok
107: which                                           ok
108: while                                           ok
109: jobs output                                     ok
110: time output                                     ok
111: Arithmetic operators                            ok
112: Primary expressions                             ok
113: history                                         ok
114: history performance                             ok
115: history hup                                     ok
116: Word splitting                                  ok
117: Comments                                        skipped (lexical.at:33)
118: Escaping special characters                     ok
119: Preventing substitution                         ok
120: History basics                                  ok
121: Event specification                             ok
122: Word selection                                  ok
123: History modifiers                               ok
124: Alias substitution                              ok
125: Variable substitution                           ok
126: Quoting of expansions in `...`                  ok
127: \echo for git_tcsh_completion                   ok
128: :gas work as described in the man pages         ok
129: avoid infinite loop in :gas                     ok
130: /a.b/c:r doesn't remove path elements           ok
131: $x:q:h does not cause out of memory crash and yields the full string ok
132: $x:q:t does not cause out of memory crash and yields the full string ok
133: $x:q:r yields the full string                   ok
134: $x:q:e yields nothing                           ok
135: EUC-JP multibyte test                           ok
136: UTF-8 multibyte test                            ok
137: Parenthesis no space                            ok
138: Parenthesis space                               ok
139: Parenthesis space escaped                       ok
140: Parenthesis escaped                             ok
141: Command substitution                            ok
142: Filename substitution                           ok
143: Directory stack substitution                    ok
144: Command combinations                            ok
145: Command execution                               ok
146: $ addsuffix                                     ok
147: $ afsuser                                       ok
148: $ ampm                                          ok
149: $ anyerror                                      ok
150: $ argv                                          ok
151: $ autocorrect                                   ok
152: $ autoexpand                                    ok
153: $ autolist                                      ok
154: $ autologout                                    skipped (variables.at:80)
155: $ backslash_quote                               ok
156: $ catalog                                       ok
157: $ cdpath                                        ok
158: $ color                                         ok
159: $ colorcat                                      ok
160: $ command                                       ok
161: $ complete                                      ok
162: $ continue                                      ok
163: $ continue_args                                 ok
164: $ correct                                       ok
165: $ csubstnonl                                    ok
166: $ cwd                                           ok
167: $ dextract                                      ok
168: $ dirsfile                                      ok
169: $ dirstack                                      ok
170: $ dspmbyte                                      skipped (variables.at:279)
171: $ dunique                                       ok
172: $ echo                                          ok
173: $ echo_style                                    ok
174: $ echo_hex                                      ok
175: $ edit                                          skipped (variables.at:379)
176: $ ellipsis                                      ok
177: $ fignore                                       ok
178: $ filec                                         ok
179: $ gid                                           ok
180: $ group                                         ok
181: $ histchars                                     ok
182: $ histdup                                       ok
183: $ histfile                                      ok
184: $ histlit                                       ok
185: $ history                                       ok
186: $ home                                          ok
187: $ ignoreeof                                     ok
188: $ implicitcd                                    ok
189: $ inputmode                                     ok
190: $ killdup                                       ok
191: $ killring                                      ok
192: $ listflags                                     ok
193: $ listjobs                                      ok
194: $ listlinks                                     ok
195: $ listmax                                       ok
196: $ listmaxrows                                   ok
197: $ loginsh                                       ok
198: $ logout                                        ok
199: $ mail                                          ok
200: $ cdtohome                                      ok
201: $ noimplicithome                                ok
202: $ matchbeep                                     ok
203: $ nobeep                                        ok
204: $ noclobber                                     ok
205: $ noding                                        ok
206: $ noglob                                        ok
207: $ nostat                                        ok
208: $ notify                                        ok
209: $ oid                                           skipped (variables.at:782)
210: $ owd                                           ok
211: $ path                                          ok
212: $ printexitvalue                                ok
213: $ prompt                                        ok
214: $ prompt2                                       ok
215: $ prompt3                                       ok
216: $ promptchars                                   ok
217: $ pushdtohome                                   ok
218: $ pushdsilent                                   ok
219: $ recexact                                      ok
220: $ recognize_only_executablers                   ok
221: $ rmstar                                        ok
222: $ rprompt                                       ok
223: $ savedirs                                      ok
224: $ savehist                                      ok
225: $ sched                                         ok
226: $ shell                                         ok
227: $ shlvl                                         FAILED (variables.at:967)
228: $ status                                        ok
229: $ symlinks                                      ok
230: $ tcsh                                          ok
231: $ term                                          ok
232: $ time                                          ok
233: $ tperiod                                       ok
234: $ tty                                           ok
235: $ uid                                           ok
236: $ user                                          ok
237: $ verbose                                       ok
238: $ version                                       ok
239: $ visiblebell                                   ok
240: $ watch                                         ok
241: $ who                                           ok
242: $ wordchars                                     ok
243: -n                                              ok
244: $<                                              ok

## ------------- ##
## Test results. ##
## ------------- ##

ERROR: 190 tests were run,
1 failed unexpectedly.
54 tests were skipped.
## -------------------------- ##
## testsuite.log was created. ##
## -------------------------- ##

Please send `./testsuite.log' and all information you think might help:

   To: <https://bugs.astron.com/>
   Subject: [tcsh 6.24.01] testsuite: 227 failed

You may investigate any problem if you feel able to do so, in which
case the test suite provides a good starting point.  Its output may
be found below `./testsuite.dir'.

make: *** [Makefile:734: check] Error 1
[tkloczko@devel-g2v tcsh-6.24.01]$ cat testsuite.dir/227/testsuite.log
#                             -*- compilation -*-
227. variables.at:954: testing $ shlvl ...
./variables.at:967: SHLVL=5 tcsh -f shlvl.csh
--- -   2022-11-19 20:14:42.867400120 +0000
+++ /home/tkloczko/rpmbuild/BUILD/tcsh-6.24.01/testsuite.dir/at-groups/227/stdout       2022-11-19 20:14:42.863979675 +0000
@@ -1,4 +1,4 @@
-6
+5
 8
 2
 3
227. variables.at:954: 227. $ shlvl (variables.at:954): FAILED (variables.at:967)
zoulasc commented 1 year ago

I believe this has been fixed on HEAD.

kloczek commented 1 year ago

Looks liek 391b04ec fixes the issue. Closing.