Debian Codegraph @

modules/stratall/tests/testsuite

raw
1 #! /bin/sh
2 # Generated from testsuite.at by GNU Autoconf 2.71.
3 #
4 # Copyright (C) 2009-2017, 2020-2021 Free Software Foundation, Inc.
5 #
6 # This test suite is free software; the Free Software Foundation gives
7 # unlimited permission to copy, distribute and modify it.
8 ## -------------------- ##
9 ## M4sh Initialization. ##
10 ## -------------------- ##
11
12 # Be more Bourne compatible
13 DUALCASE=1; export DUALCASE # for MKS sh
14 as_nop=:
15 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
16 then :
17 emulate sh
18 NULLCMD=:
19 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 setopt NO_GLOB_SUBST
23 else $as_nop
24 case `(set -o) 2>/dev/null` in #(
25 *posix*) :
26 set -o posix ;; #(
27 *) :
28 ;;
29 esac
30 fi
31
32
33
34 # Reset variables that may have inherited troublesome values from
35 # the environment.
36
37 # IFS needs to be set, to space, tab, and newline, in precisely that order.
38 # (If _AS_PATH_WALK were called with IFS unset, it would have the
39 # side effect of setting IFS to empty, thus disabling word splitting.)
40 # Quoting is to prevent editors from complaining about space-tab.
41 as_nl='
42 '
43 export as_nl
44 IFS=" "" $as_nl"
45
46 PS1='$ '
47 PS2='> '
48 PS4='+ '
49
50 # Ensure predictable behavior from utilities with locale-dependent output.
51 LC_ALL=C
52 export LC_ALL
53 LANGUAGE=C
54 export LANGUAGE
55
56 # We cannot yet rely on "unset" to work, but we need these variables
57 # to be unset--not just set to an empty or harmless value--now, to
58 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
59 # also avoids known problems related to "unset" and subshell syntax
60 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
61 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
62 do eval test \${$as_var+y} \
63 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
64 done
65
66 # Ensure that fds 0, 1, and 2 are open.
67 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
68 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
69 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
70
71 # The user is always right.
72 if ${PATH_SEPARATOR+false} :; then
73 PATH_SEPARATOR=:
74 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
75 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
76 PATH_SEPARATOR=';'
77 }
78 fi
79
80
81 # Find who we are. Look in the path if we contain no directory separator.
82 as_myself=
83 case $0 in #((
84 *[\\/]* ) as_myself=$0 ;;
85 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
86 for as_dir in $PATH
87 do
88 IFS=$as_save_IFS
89 case $as_dir in #(((
90 '') as_dir=./ ;;
91 */) ;;
92 *) as_dir=$as_dir/ ;;
93 esac
94 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
95 done
96 IFS=$as_save_IFS
97
98 ;;
99 esac
100 # We did not find ourselves, most probably we were run as `sh COMMAND'
101 # in which case we are not to be found in the path.
102 if test "x$as_myself" = x; then
103 as_myself=$0
104 fi
105 if test ! -f "$as_myself"; then
106 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
107 exit 1
108 fi
109
110
111 if test "x$CONFIG_SHELL" = x; then
112 as_bourne_compatible="as_nop=:
113 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
114 then :
115 emulate sh
116 NULLCMD=:
117 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
118 # is contrary to our usage. Disable this feature.
119 alias -g '\${1+\"\$@\"}'='\"\$@\"'
120 setopt NO_GLOB_SUBST
121 else \$as_nop
122 case \`(set -o) 2>/dev/null\` in #(
123 *posix*) :
124 set -o posix ;; #(
125 *) :
126 ;;
127 esac
128 fi
129 "
130 as_required="as_fn_return () { (exit \$1); }
131 as_fn_success () { as_fn_return 0; }
132 as_fn_failure () { as_fn_return 1; }
133 as_fn_ret_success () { return 0; }
134 as_fn_ret_failure () { return 1; }
135
136 exitcode=0
137 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
138 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
139 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
140 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
141 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
142 then :
143
144 else \$as_nop
145 exitcode=1; echo positional parameters were not saved.
146 fi
147 test x\$exitcode = x0 || exit 1
148 blah=\$(echo \$(echo blah))
149 test x\"\$blah\" = xblah || exit 1
150 test -x / || exit 1"
151 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
152 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
153 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
154 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
155 test \$(( 1 + 1 )) = 2 || exit 1"
156 if (eval "$as_required") 2>/dev/null
157 then :
158 as_have_required=yes
159 else $as_nop
160 as_have_required=no
161 fi
162 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
163 then :
164
165 else $as_nop
166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
167 as_found=false
168 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
169 do
170 IFS=$as_save_IFS
171 case $as_dir in #(((
172 '') as_dir=./ ;;
173 */) ;;
174 *) as_dir=$as_dir/ ;;
175 esac
176 as_found=:
177 case $as_dir in #(
178 /*)
179 for as_base in sh bash ksh sh5; do
180 # Try only shells that exist, to save several forks.
181 as_shell=$as_dir$as_base
182 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
183 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
184 then :
185 CONFIG_SHELL=$as_shell as_have_required=yes
186 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
187 then :
188 break 2
189 fi
190 fi
191 done;;
192 esac
193 as_found=false
194 done
195 IFS=$as_save_IFS
196 if $as_found
197 then :
198
199 else $as_nop
200 if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
201 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
202 then :
203 CONFIG_SHELL=$SHELL as_have_required=yes
204 fi
205 fi
206
207
208 if test "x$CONFIG_SHELL" != x
209 then :
210 export CONFIG_SHELL
211 # We cannot yet assume a decent shell, so we have to provide a
212 # neutralization value for shells without unset; and this also
213 # works around shells that cannot unset nonexistent variables.
214 # Preserve -v and -x to the replacement shell.
215 BASH_ENV=/dev/null
216 ENV=/dev/null
217 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
218 case $- in # ((((
219 *v*x* | *x*v* ) as_opts=-vx ;;
220 *v* ) as_opts=-v ;;
221 *x* ) as_opts=-x ;;
222 * ) as_opts= ;;
223 esac
224 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
225 # Admittedly, this is quite paranoid, since all the known shells bail
226 # out after a failed `exec'.
227 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
228 exit 255
229 fi
230
231 if test x$as_have_required = xno
232 then :
233 printf "%s\n" "$0: This script requires a shell more modern than all"
234 printf "%s\n" "$0: the shells that I found on your system."
235 if test ${ZSH_VERSION+y} ; then
236 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
237 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
238 else
239 printf "%s\n" "$0: Please tell [email protected] about your system,
240 $0: including any error possibly output before this
241 $0: message. Then install a modern shell, or manually run
242 $0: the script under such a shell if you do have one."
243 fi
244 exit 1
245 fi
246 fi
247 fi
248 SHELL=${CONFIG_SHELL-/bin/sh}
249 export SHELL
250 # Unset more variables known to interfere with behavior of common tools.
251 CLICOLOR_FORCE= GREP_OPTIONS=
252 unset CLICOLOR_FORCE GREP_OPTIONS
253
254 ## --------------------- ##
255 ## M4sh Shell Functions. ##
256 ## --------------------- ##
257 # as_fn_unset VAR
258 # ---------------
259 # Portably unset VAR.
260 as_fn_unset ()
261 {
262 { eval $1=; unset $1;}
263 }
264 as_unset=as_fn_unset
265
266
267 # as_fn_set_status STATUS
268 # -----------------------
269 # Set $? to STATUS, without forking.
270 as_fn_set_status ()
271 {
272 return $1
273 } # as_fn_set_status
274
275 # as_fn_exit STATUS
276 # -----------------
277 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
278 as_fn_exit ()
279 {
280 set +e
281 as_fn_set_status $1
282 exit $1
283 } # as_fn_exit
284 # as_fn_nop
285 # ---------
286 # Do nothing but, unlike ":", preserve the value of $?.
287 as_fn_nop ()
288 {
289 return $?
290 }
291 as_nop=as_fn_nop
292
293 # as_fn_mkdir_p
294 # -------------
295 # Create "$as_dir" as a directory, including parents if necessary.
296 as_fn_mkdir_p ()
297 {
298
299 case $as_dir in #(
300 -*) as_dir=./$as_dir;;
301 esac
302 test -d "$as_dir" || eval $as_mkdir_p || {
303 as_dirs=
304 while :; do
305 case $as_dir in #(
306 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
307 *) as_qdir=$as_dir;;
308 esac
309 as_dirs="'$as_qdir' $as_dirs"
310 as_dir=`$as_dirname -- "$as_dir" ||
311 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
312 X"$as_dir" : 'X\(//\)[^/]' \| \
313 X"$as_dir" : 'X\(//\)$' \| \
314 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
315 printf "%s\n" X"$as_dir" |
316 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
317 s//\1/
318 q
319 }
320 /^X\(\/\/\)[^/].*/{
321 s//\1/
322 q
323 }
324 /^X\(\/\/\)$/{
325 s//\1/
326 q
327 }
328 /^X\(\/\).*/{
329 s//\1/
330 q
331 }
332 s/.*/./; q'`
333 test -d "$as_dir" && break
334 done
335 test -z "$as_dirs" || eval "mkdir $as_dirs"
336 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
337
338
339 } # as_fn_mkdir_p
340
341 # as_fn_executable_p FILE
342 # -----------------------
343 # Test if FILE is an executable regular file.
344 as_fn_executable_p ()
345 {
346 test -f "$1" && test -x "$1"
347 } # as_fn_executable_p
348 # as_fn_append VAR VALUE
349 # ----------------------
350 # Append the text in VALUE to the end of the definition contained in VAR. Take
351 # advantage of any shell optimizations that allow amortized linear growth over
352 # repeated appends, instead of the typical quadratic growth present in naive
353 # implementations.
354 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
355 then :
356 eval 'as_fn_append ()
357 {
358 eval $1+=\$2
359 }'
360 else $as_nop
361 as_fn_append ()
362 {
363 eval $1=\$$1\$2
364 }
365 fi # as_fn_append
366
367 # as_fn_arith ARG...
368 # ------------------
369 # Perform arithmetic evaluation on the ARGs, and store the result in the
370 # global $as_val. Take advantage of shells that can avoid forks. The arguments
371 # must be portable across $(()) and expr.
372 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
373 then :
374 eval 'as_fn_arith ()
375 {
376 as_val=$(( $* ))
377 }'
378 else $as_nop
379 as_fn_arith ()
380 {
381 as_val=`expr "$@" || test $? -eq 1`
382 }
383 fi # as_fn_arith
384
385
386 # as_fn_error STATUS ERROR [LINENO LOG_FD]
387 # ----------------------------------------
388 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
389 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
390 # script with STATUS, using 1 if that was 0.
391 as_fn_error ()
392 {
393 as_status=$1; test $as_status -eq 0 && as_status=1
394 if test "$4"; then
395 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
396 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
397 fi
398 printf "%s\n" "$as_me: error: $2" >&2
399 as_fn_exit $as_status
400 } # as_fn_error
401
402 if expr a : '\(a\)' >/dev/null 2>&1 &&
403 test "X`expr 00001 : '.*\(...\)'`" = X001; then
404 as_expr=expr
405 else
406 as_expr=false
407 fi
408
409 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
410 as_basename=basename
411 else
412 as_basename=false
413 fi
414
415 as_me=`$as_basename -- "$0" ||
416 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
417 X"$0" : 'X\(//\)$' \| \
418 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
419 printf "%s\n" X/"$0" |
420 sed '/^.*\/\([^/][^/]*\)\/*$/{
421 s//\1/
422 q
423 }
424 /^X\/\(\/\/\)$/{
425 s//\1/
426 q
427 }
428 /^X\/\(\/\).*/{
429 s//\1/
430 q
431 }
432 s/.*/./; q'`
433
434 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
435 as_dirname=dirname
436 else
437 as_dirname=false
438 fi
439
440 # Avoid depending upon Character Ranges.
441 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
442 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
443 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
444 as_cr_digits='0123456789'
445 as_cr_alnum=$as_cr_Letters$as_cr_digits
446
447
448 as_lineno_1=$LINENO as_lineno_1a=$LINENO
449 as_lineno_2=$LINENO as_lineno_2a=$LINENO
450 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
451 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
452 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
453 sed -n '
454 p
455 /[$]LINENO/=
456 ' <$as_myself |
457 sed '
458 s/[$]LINENO.*/&-/
459 t lineno
460 b
461 :lineno
462 N
463 :loop
464 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
465 t loop
466 s/-\n.*//
467 ' >$as_me.lineno &&
468 chmod +x "$as_me.lineno" ||
469 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
470
471 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
472 # already done that, so ensure we don't try to do so again and fall
473 # in an infinite loop. This has already happened in practice.
474 _as_can_reexec=no; export _as_can_reexec
475 # Don't try to exec as it changes $[0], causing all sort of problems
476 # (the dirname of $[0] is not the place where we might find the
477 # original and so on. Autoconf is especially sensitive to this).
478 . "./$as_me.lineno"
479 # Exit status is that of the last command.
480 exit
481 }
482
483
484 # Determine whether it's possible to make 'echo' print without a newline.
485 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
486 # for compatibility with existing Makefiles.
487 ECHO_C= ECHO_N= ECHO_T=
488 case `echo -n x` in #(((((
489 -n*)
490 case `echo 'xy\c'` in
491 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
492 xy) ECHO_C='\c';;
493 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
494 ECHO_T=' ';;
495 esac;;
496 *)
497 ECHO_N='-n';;
498 esac
499
500 # For backward compatibility with old third-party macros, we provide
501 # the shell variables $as_echo and $as_echo_n. New code should use
502 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
503 as_echo='printf %s\n'
504 as_echo_n='printf %s'
505
506
507 rm -f conf$$ conf$$.exe conf$$.file
508 if test -d conf$$.dir; then
509 rm -f conf$$.dir/conf$$.file
510 else
511 rm -f conf$$.dir
512 mkdir conf$$.dir 2>/dev/null
513 fi
514 if (echo >conf$$.file) 2>/dev/null; then
515 if ln -s conf$$.file conf$$ 2>/dev/null; then
516 as_ln_s='ln -s'
517 # ... but there are two gotchas:
518 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
519 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
520 # In both cases, we have to default to `cp -pR'.
521 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
522 as_ln_s='cp -pR'
523 elif ln conf$$.file conf$$ 2>/dev/null; then
524 as_ln_s=ln
525 else
526 as_ln_s='cp -pR'
527 fi
528 else
529 as_ln_s='cp -pR'
530 fi
531 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
532 rmdir conf$$.dir 2>/dev/null
533
534 if mkdir -p . 2>/dev/null; then
535 as_mkdir_p='mkdir -p "$as_dir"'
536 else
537 test -d ./-p && rmdir ./-p
538 as_mkdir_p=false
539 fi
540
541 as_test_x='test -x'
542 as_executable_p=as_fn_executable_p
543
544 # Sed expression to map a string onto a valid CPP name.
545 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
546
547 # Sed expression to map a string onto a valid variable name.
548 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
549
550
551
552
553
554 SHELL=${CONFIG_SHELL-/bin/sh}
555
556 # How were we run?
557 at_cli_args="$@"
558
559
560 # Not all shells have the 'times' builtin; the subshell is needed to make
561 # sure we discard the 'times: not found' message from the shell.
562 at_times_p=false
563 (times) >/dev/null 2>&1 && at_times_p=:
564
565 # CLI Arguments to pass to the debugging scripts.
566 at_debug_args=
567 # -e sets to true
568 at_errexit_p=false
569 # Shall we be verbose? ':' means no, empty means yes.
570 at_verbose=:
571 at_quiet=
572 # Running several jobs in parallel, 0 means as many as test groups.
573 at_jobs=1
574 at_traceon=:
575 at_trace_echo=:
576 at_check_filter_trace=:
577
578 # Shall we keep the debug scripts? Must be `:' when the suite is
579 # run by a debug script, so that the script doesn't remove itself.
580 at_debug_p=false
581 # Display help message?
582 at_help_p=false
583 # Display the version message?
584 at_version_p=false
585 # List test groups?
586 at_list_p=false
587 # --clean
588 at_clean=false
589 # Test groups to run
590 at_groups=
591 # Whether to rerun failed tests.
592 at_recheck=
593 # Whether a write failure occurred
594 at_write_fail=0
595
596 # The directory we run the suite in. Default to . if no -C option.
597 at_dir=`pwd`
598 # An absolute reference to this testsuite script.
599 case $as_myself in
600 [\\/]* | ?:[\\/]* ) at_myself=$as_myself ;;
601 * ) at_myself=$at_dir/$as_myself ;;
602 esac
603 # Whether -C is in effect.
604 at_change_dir=false
605
606 # Whether to enable colored test results.
607 at_color=no
608 # As many question marks as there are digits in the last test group number.
609 # Used to normalize the test group numbers so that `ls' lists them in
610 # numerical order.
611 at_format='?'
612 # Description of all the test groups.
613 at_help_all="1;testsuite.at:23;stratall;match stratall;
614 "
615 # List of the all the test groups.
616 at_groups_all=`printf "%s\n" "$at_help_all" | sed 's/;.*//'`
617
618 # at_fn_validate_ranges NAME...
619 # -----------------------------
620 # Validate and normalize the test group number contained in each variable
621 # NAME. Leading zeroes are treated as decimal.
622 at_fn_validate_ranges ()
623 {
624 for at_grp
625 do
626 eval at_value=\$$at_grp
627 if test $at_value -lt 1 || test $at_value -gt 1; then
628 printf "%s\n" "invalid test group: $at_value" >&2
629 exit 1
630 fi
631 case $at_value in
632 0*) # We want to treat leading 0 as decimal, like expr and test, but
633 # AS_VAR_ARITH treats it as octal if it uses $(( )).
634 # With XSI shells, ${at_value#${at_value%%[1-9]*}} avoids the
635 # expr fork, but it is not worth the effort to determine if the
636 # shell supports XSI when the user can just avoid leading 0.
637 eval $at_grp='`expr $at_value + 0`' ;;
638 esac
639 done
640 }
641
642 at_prev=
643 for at_option
644 do
645 # If the previous option needs an argument, assign it.
646 if test -n "$at_prev"; then
647 at_option=$at_prev=$at_option
648 at_prev=
649 fi
650
651 case $at_option in
652 *=?*) at_optarg=`expr "X$at_option" : '[^=]*=\(.*\)'` ;;
653 *) at_optarg= ;;
654 esac
655
656 case $at_option in
657 --help | -h )
658 at_help_p=:
659 ;;
660
661 --list | -l )
662 at_list_p=:
663 ;;
664
665 --version | -V )
666 at_version_p=:
667 ;;
668
669 --clean | -c )
670 at_clean=:
671 ;;
672
673 --color )
674 at_color=always
675 ;;
676 --color=* )
677 case $at_optarg in
678 no | never | none) at_color=never ;;
679 auto | tty | if-tty) at_color=auto ;;
680 always | yes | force) at_color=always ;;
681 *) at_optname=`echo " $at_option" | sed 's/^ //; s/=.*//'`
682 as_fn_error $? "unrecognized argument to $at_optname: $at_optarg" ;;
683 esac
684 ;;
685
686 --debug | -d )
687 at_debug_p=:
688 ;;
689
690 --errexit | -e )
691 at_debug_p=:
692 at_errexit_p=:
693 ;;
694
695 --verbose | -v )
696 at_verbose=; at_quiet=:
697 ;;
698
699 --trace | -x )
700 at_traceon='set -x'
701 at_trace_echo=echo
702 at_check_filter_trace=at_fn_filter_trace
703 ;;
704
705 [0-9] | [0-9][0-9] | [0-9][0-9][0-9] | [0-9][0-9][0-9][0-9])
706 at_fn_validate_ranges at_option
707 as_fn_append at_groups "$at_option$as_nl"
708 ;;
709
710 # Ranges
711 [0-9]- | [0-9][0-9]- | [0-9][0-9][0-9]- | [0-9][0-9][0-9][0-9]-)
712 at_range_start=`echo $at_option |tr -d X-`
713 at_fn_validate_ranges at_range_start
714 at_range=`printf "%s\n" "$at_groups_all" | \
715 sed -ne '/^'$at_range_start'$/,$p'`
716 as_fn_append at_groups "$at_range$as_nl"
717 ;;
718
719 -[0-9] | -[0-9][0-9] | -[0-9][0-9][0-9] | -[0-9][0-9][0-9][0-9])
720 at_range_end=`echo $at_option |tr -d X-`
721 at_fn_validate_ranges at_range_end
722 at_range=`printf "%s\n" "$at_groups_all" | \
723 sed -ne '1,/^'$at_range_end'$/p'`
724 as_fn_append at_groups "$at_range$as_nl"
725 ;;
726
727 [0-9]-[0-9] | [0-9]-[0-9][0-9] | [0-9]-[0-9][0-9][0-9] | \
728 [0-9]-[0-9][0-9][0-9][0-9] | [0-9][0-9]-[0-9][0-9] | \
729 [0-9][0-9]-[0-9][0-9][0-9] | [0-9][0-9]-[0-9][0-9][0-9][0-9] | \
730 [0-9][0-9][0-9]-[0-9][0-9][0-9] | \
731 [0-9][0-9][0-9]-[0-9][0-9][0-9][0-9] | \
732 [0-9][0-9][0-9][0-9]-[0-9][0-9][0-9][0-9] )
733 at_range_start=`expr $at_option : '\(.*\)-'`
734 at_range_end=`expr $at_option : '.*-\(.*\)'`
735 if test $at_range_start -gt $at_range_end; then
736 at_tmp=$at_range_end
737 at_range_end=$at_range_start
738 at_range_start=$at_tmp
739 fi
740 at_fn_validate_ranges at_range_start at_range_end
741 at_range=`printf "%s\n" "$at_groups_all" | \
742 sed -ne '/^'$at_range_start'$/,/^'$at_range_end'$/p'`
743 as_fn_append at_groups "$at_range$as_nl"
744 ;;
745
746 # Directory selection.
747 --directory | -C )
748 at_prev=--directory
749 ;;
750 --directory=* )
751 at_change_dir=:
752 at_dir=$at_optarg
753 if test x- = "x$at_dir" ; then
754 at_dir=./-
755 fi
756 ;;
757
758 # Parallel execution.
759 --jobs | -j )
760 at_jobs=0
761 ;;
762 --jobs=* | -j[0-9]* )
763 if test -n "$at_optarg"; then
764 at_jobs=$at_optarg
765 else
766 at_jobs=`expr X$at_option : 'X-j\(.*\)'`
767 fi
768 case $at_jobs in *[!0-9]*)
769 at_optname=`echo " $at_option" | sed 's/^ //; s/[0-9=].*//'`
770 as_fn_error $? "non-numeric argument to $at_optname: $at_jobs" ;;
771 esac
772 ;;
773
774 # Keywords.
775 --keywords | -k )
776 at_prev=--keywords
777 ;;
778 --keywords=* )
779 at_groups_selected=$at_help_all
780 at_save_IFS=$IFS
781 IFS=,
782 set X $at_optarg
783 shift
784 IFS=$at_save_IFS
785 for at_keyword
786 do
787 at_invert=
788 case $at_keyword in
789 '!'*)
790 at_invert="-v"
791 at_keyword=`expr "X$at_keyword" : 'X!\(.*\)'`
792 ;;
793 esac
794 # It is on purpose that we match the test group titles too.
795 at_groups_selected=`printf "%s\n" "$at_groups_selected" |
796 grep -i $at_invert "^[1-9][^;]*;.*[; ]$at_keyword[ ;]"`
797 done
798 # Smash the keywords.
799 at_groups_selected=`printf "%s\n" "$at_groups_selected" | sed 's/;.*//'`
800 as_fn_append at_groups "$at_groups_selected$as_nl"
801 ;;
802 --recheck)
803 at_recheck=:
804 ;;
805
806 *=*)
807 at_envvar=`expr "x$at_option" : 'x\([^=]*\)='`
808 # Reject names that are not valid shell variable names.
809 case $at_envvar in
810 '' | [0-9]* | *[!_$as_cr_alnum]* )
811 as_fn_error $? "invalid variable name: \`$at_envvar'" ;;
812 esac
813 at_value=`printf "%s\n" "$at_optarg" | sed "s/'/'\\\\\\\\''/g"`
814 # Export now, but save eval for later and for debug scripts.
815 export $at_envvar
816 as_fn_append at_debug_args " $at_envvar='$at_value'"
817 ;;
818
819 *) printf "%s\n" "$as_me: invalid option: $at_option" >&2
820 printf "%s\n" "Try \`$0 --help' for more information." >&2
821 exit 1
822 ;;
823 esac
824 done
825
826 # Verify our last option didn't require an argument
827 if test -n "$at_prev"
828 then :
829 as_fn_error $? "\`$at_prev' requires an argument"
830 fi
831
832 # The file containing the suite.
833 at_suite_log=$at_dir/$as_me.log
834
835 # Selected test groups.
836 if test -z "$at_groups$at_recheck"; then
837 at_groups=$at_groups_all
838 else
839 if test -n "$at_recheck" && test -r "$at_suite_log"; then
840 at_oldfails=`sed -n '
841 /^Failed tests:$/,/^Skipped tests:$/{
842 s/^[ ]*\([1-9][0-9]*\):.*/\1/p
843 }
844 /^Unexpected passes:$/,/^## Detailed failed tests/{
845 s/^[ ]*\([1-9][0-9]*\):.*/\1/p
846 }
847 /^## Detailed failed tests/q
848 ' "$at_suite_log"`
849 as_fn_append at_groups "$at_oldfails$as_nl"
850 fi
851 # Sort the tests, removing duplicates.
852 at_groups=`printf "%s\n" "$at_groups" | sort -nu | sed '/^$/d'`
853 fi
854
855 if test x"$at_color" = xalways \
856 || { test x"$at_color" = xauto && test -t 1; }; then
857 at_red=`printf '\033[0;31m'`
858 at_grn=`printf '\033[0;32m'`
859 at_lgn=`printf '\033[1;32m'`
860 at_blu=`printf '\033[1;34m'`
861 at_std=`printf '\033[m'`
862 else
863 at_red= at_grn= at_lgn= at_blu= at_std=
864 fi
865
866 # Help message.
867 if $at_help_p; then
868 cat <<_ATEOF || at_write_fail=1
869 Usage: $0 [OPTION]... [VARIABLE=VALUE]... [TESTS]
870
871 Run all the tests, or the selected TESTS, given by numeric ranges, and
872 save a detailed log file. Upon failure, create debugging scripts.
873
874 Do not change environment variables directly. Instead, set them via
875 command line arguments. Set \`AUTOTEST_PATH' to select the executables
876 to exercise. Each relative directory is expanded as build and source
877 directories relative to the top level of this distribution.
878 E.g., from within the build directory /tmp/foo-1.0, invoking this:
879
880 $ $0 AUTOTEST_PATH=bin
881
882 is equivalent to the following, assuming the source directory is /src/foo-1.0:
883
884 PATH=/tmp/foo-1.0/bin:/src/foo-1.0/bin:\$PATH $0
885 _ATEOF
886 cat <<_ATEOF || at_write_fail=1
887
888 Operation modes:
889 -h, --help print the help message, then exit
890 -V, --version print version number, then exit
891 -c, --clean remove all the files this test suite might create and exit
892 -l, --list describes all the tests, or the selected TESTS
893 _ATEOF
894 cat <<_ATEOF || at_write_fail=1
895
896 Execution tuning:
897 -C, --directory=DIR
898 change to directory DIR before starting
899 --color[=never|auto|always]
900 enable colored test results on terminal, or always
901 -j, --jobs[=N]
902 Allow N jobs at once; infinite jobs with no arg (default 1)
903 -k, --keywords=KEYWORDS
904 select the tests matching all the comma-separated KEYWORDS
905 multiple \`-k' accumulate; prefixed \`!' negates a KEYWORD
906 --recheck select all tests that failed or passed unexpectedly last time
907 -e, --errexit abort as soon as a test fails; implies --debug
908 -v, --verbose force more detailed output
909 default for debugging scripts
910 -d, --debug inhibit clean up and top-level logging
911 default for debugging scripts
912 -x, --trace enable tests shell tracing
913 _ATEOF
914 cat <<_ATEOF || at_write_fail=1
915
916 Report bugs to <[email protected]>.
917 General help using GNU software: <https://www.gnu.org/gethelp/>.
918 _ATEOF
919 exit $at_write_fail
920 fi
921
922 # List of tests.
923 if $at_list_p; then
924 cat <<_ATEOF || at_write_fail=1
925 GNU dico 2.12 test suite test groups:
926
927 NUM: FILE-NAME:LINE TEST-GROUP-NAME
928 KEYWORDS
929
930 _ATEOF
931 # Pass an empty line as separator between selected groups and help.
932 printf "%s\n" "$at_groups$as_nl$as_nl$at_help_all" |
933 awk 'NF == 1 && FS != ";" {
934 selected[$ 1] = 1
935 next
936 }
937 /^$/ { FS = ";" }
938 NF > 0 {
939 if (selected[$ 1]) {
940 printf " %3d: %-18s %s\n", $ 1, $ 2, $ 3
941 if ($ 4) {
942 lmax = 79
943 indent = " "
944 line = indent
945 len = length (line)
946 n = split ($ 4, a, " ")
947 for (i = 1; i <= n; i++) {
948 l = length (a[i]) + 1
949 if (i > 1 && len + l > lmax) {
950 print line
951 line = indent " " a[i]
952 len = length (line)
953 } else {
954 line = line " " a[i]
955 len += l
956 }
957 }
958 if (n)
959 print line
960 }
961 }
962 }' || at_write_fail=1
963 exit $at_write_fail
964 fi
965 if $at_version_p; then
966 printf "%s\n" "$as_me (GNU dico 2.12)" &&
967 cat <<\_ATEOF || at_write_fail=1
968
969 Copyright (C) 2021 Free Software Foundation, Inc.
970 This test suite is free software; the Free Software Foundation gives
971 unlimited permission to copy, distribute and modify it.
972 _ATEOF
973 exit $at_write_fail
974 fi
975
976 # Should we print banners? Yes if more than one test is run.
977 case $at_groups in #(
978 *$as_nl* )
979 at_print_banners=: ;; #(
980 * ) at_print_banners=false ;;
981 esac
982 # Text for banner N, set to a single space once printed.
983
984 # Take any -C into account.
985 if $at_change_dir ; then
986 test x != "x$at_dir" && cd "$at_dir" \
987 || as_fn_error $? "unable to change directory"
988 at_dir=`pwd`
989 fi
990
991 # Load the config files for any default variable assignments.
992 for at_file in atconfig atlocal
993 do
994 test -r $at_file || continue
995 . ./$at_file || as_fn_error $? "invalid content: $at_file"
996 done
997
998 # Autoconf <=2.59b set at_top_builddir instead of at_top_build_prefix:
999 : "${at_top_build_prefix=$at_top_builddir}"
1000
1001 # Perform any assignments requested during argument parsing.
1002 eval "$at_debug_args"
1003
1004 # atconfig delivers names relative to the directory the test suite is
1005 # in, but the groups themselves are run in testsuite-dir/group-dir.
1006 if test -n "$at_top_srcdir"; then
1007 builddir=../..
1008 for at_dir_var in srcdir top_srcdir top_build_prefix
1009 do
1010 eval at_val=\$at_$at_dir_var
1011 case $at_val in
1012 [\\/$]* | ?:[\\/]* ) at_prefix= ;;
1013 *) at_prefix=../../ ;;
1014 esac
1015 eval "$at_dir_var=\$at_prefix\$at_val"
1016 done
1017 fi
1018
1019 ## -------------------- ##
1020 ## Directory structure. ##
1021 ## -------------------- ##
1022
1023 # This is the set of directories and files used by this script
1024 # (non-literals are capitalized):
1025 #
1026 # TESTSUITE - the testsuite
1027 # TESTSUITE.log - summarizes the complete testsuite run
1028 # TESTSUITE.dir/ - created during a run, remains after -d or failed test
1029 # + at-groups/ - during a run: status of all groups in run
1030 # | + NNN/ - during a run: meta-data about test group NNN
1031 # | | + check-line - location (source file and line) of current AT_CHECK
1032 # | | + status - exit status of current AT_CHECK
1033 # | | + stdout - stdout of current AT_CHECK
1034 # | | + stder1 - stderr, including trace
1035 # | | + stderr - stderr, with trace filtered out
1036 # | | + test-source - portion of testsuite that defines group
1037 # | | + times - timestamps for computing duration
1038 # | | + pass - created if group passed
1039 # | | + xpass - created if group xpassed
1040 # | | + fail - created if group failed
1041 # | | + xfail - created if group xfailed
1042 # | | + skip - created if group skipped
1043 # + at-stop - during a run: end the run if this file exists
1044 # + at-source-lines - during a run: cache of TESTSUITE line numbers for extraction
1045 # + 0..NNN/ - created for each group NNN, remains after -d or failed test
1046 # | + TESTSUITE.log - summarizes the group results
1047 # | + ... - files created during the group
1048
1049 # The directory the whole suite works in.
1050 # Should be absolute to let the user `cd' at will.
1051 at_suite_dir=$at_dir/$as_me.dir
1052 # The file containing the suite ($at_dir might have changed since earlier).
1053 at_suite_log=$at_dir/$as_me.log
1054 # The directory containing helper files per test group.
1055 at_helper_dir=$at_suite_dir/at-groups
1056 # Stop file: if it exists, do not start new jobs.
1057 at_stop_file=$at_suite_dir/at-stop
1058 # The fifo used for the job dispatcher.
1059 at_job_fifo=$at_suite_dir/at-job-fifo
1060
1061 if $at_clean; then
1062 test -d "$at_suite_dir" &&
1063 find "$at_suite_dir" -type d ! -perm -700 -exec chmod u+rwx \{\} \;
1064 rm -f -r "$at_suite_dir" "$at_suite_log"
1065 exit $?
1066 fi
1067
1068 # Don't take risks: use only absolute directories in PATH.
1069 #
1070 # For stand-alone test suites (ie. atconfig was not found),
1071 # AUTOTEST_PATH is relative to `.'.
1072 #
1073 # For embedded test suites, AUTOTEST_PATH is relative to the top level
1074 # of the package. Then expand it into build/src parts, since users
1075 # may create executables in both places.
1076 AUTOTEST_PATH=`printf "%s\n" "$AUTOTEST_PATH" | sed "s|:|$PATH_SEPARATOR|g"`
1077 at_path=
1078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1079 for as_dir in $AUTOTEST_PATH $PATH
1080 do
1081 IFS=$as_save_IFS
1082 case $as_dir in #(((
1083 '') as_dir=./ ;;
1084 */) ;;
1085 *) as_dir=$as_dir/ ;;
1086 esac
1087 test -n "$at_path" && as_fn_append at_path $PATH_SEPARATOR
1088 case $as_dir in
1089 [\\/]* | ?:[\\/]* )
1090 as_fn_append at_path "$as_dir"
1091 ;;
1092 * )
1093 if test -z "$at_top_build_prefix"; then
1094 # Stand-alone test suite.
1095 as_fn_append at_path "$as_dir"
1096 else
1097 # Embedded test suite.
1098 as_fn_append at_path "$at_top_build_prefix$as_dir$PATH_SEPARATOR"
1099 as_fn_append at_path "$at_top_srcdir/$as_dir"
1100 fi
1101 ;;
1102 esac
1103 done
1104 IFS=$as_save_IFS
1105
1106
1107 # Now build and simplify PATH.
1108 #
1109 # There might be directories that don't exist, but don't redirect
1110 # builtins' (eg., cd) stderr directly: Ultrix's sh hates that.
1111 at_new_path=
1112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1113 for as_dir in $at_path
1114 do
1115 IFS=$as_save_IFS
1116 case $as_dir in #(((
1117 '') as_dir=./ ;;
1118 */) ;;
1119 *) as_dir=$as_dir/ ;;
1120 esac
1121 test -d "$as_dir" || continue
1122 case $as_dir in
1123 [\\/]* | ?:[\\/]* ) ;;
1124 * ) as_dir=`(cd "$as_dir" && pwd) 2>/dev/null` ;;
1125 esac
1126 case $PATH_SEPARATOR$at_new_path$PATH_SEPARATOR in
1127 *$PATH_SEPARATOR$as_dir$PATH_SEPARATOR*) ;;
1128 $PATH_SEPARATOR$PATH_SEPARATOR) at_new_path=$as_dir ;;
1129 *) as_fn_append at_new_path "$PATH_SEPARATOR$as_dir" ;;
1130 esac
1131 done
1132 IFS=$as_save_IFS
1133
1134 PATH=$at_new_path
1135 export PATH
1136
1137 # Setting up the FDs.
1138
1139
1140
1141 # 5 is the log file. Not to be overwritten if `-d'.
1142 if $at_debug_p; then
1143 at_suite_log=/dev/null
1144 else
1145 : >"$at_suite_log"
1146 fi
1147 exec 5>>"$at_suite_log"
1148
1149 # Banners and logs.
1150 printf "%s\n" "## ------------------------- ##
1151 ## GNU dico 2.12 test suite. ##
1152 ## ------------------------- ##"
1153 {
1154 printf "%s\n" "## ------------------------- ##
1155 ## GNU dico 2.12 test suite. ##
1156 ## ------------------------- ##"
1157 echo
1158
1159 printf "%s\n" "$as_me: command line was:"
1160 printf "%s\n" " \$ $0 $at_cli_args"
1161 echo
1162
1163 # If ChangeLog exists, list a few lines in case it might help determining
1164 # the exact version.
1165 if test -n "$at_top_srcdir" && test -f "$at_top_srcdir/ChangeLog"; then
1166 printf "%s\n" "## ---------- ##
1167 ## ChangeLog. ##
1168 ## ---------- ##"
1169 echo
1170 sed 's/^/| /;10q' "$at_top_srcdir/ChangeLog"
1171 echo
1172 fi
1173
1174 {
1175 cat <<_ASUNAME
1176 ## --------- ##
1177 ## Platform. ##
1178 ## --------- ##
1179
1180 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1181 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1182 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1183 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1184 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1185
1186 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1187 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1188
1189 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1190 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1191 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1192 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1193 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1194 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1195 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1196
1197 _ASUNAME
1198
1199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1200 for as_dir in $PATH
1201 do
1202 IFS=$as_save_IFS
1203 case $as_dir in #(((
1204 '') as_dir=./ ;;
1205 */) ;;
1206 *) as_dir=$as_dir/ ;;
1207 esac
1208 printf "%s\n" "PATH: $as_dir"
1209 done
1210 IFS=$as_save_IFS
1211
1212 }
1213 echo
1214
1215 # Contents of the config files.
1216 for at_file in atconfig atlocal
1217 do
1218 test -r $at_file || continue
1219 printf "%s\n" "$as_me: $at_file:"
1220 sed 's/^/| /' $at_file
1221 echo
1222 done
1223 } >&5
1224
1225
1226 ## ------------------------- ##
1227 ## Autotest shell functions. ##
1228 ## ------------------------- ##
1229
1230 # at_fn_banner NUMBER
1231 # -------------------
1232 # Output banner NUMBER, provided the testsuite is running multiple groups and
1233 # this particular banner has not yet been printed.
1234 at_fn_banner ()
1235 {
1236 $at_print_banners || return 0
1237 eval at_banner_text=\$at_banner_text_$1
1238 test "x$at_banner_text" = "x " && return 0
1239 eval "at_banner_text_$1=\" \""
1240 if test -z "$at_banner_text"; then
1241 $at_first || echo
1242 else
1243 printf "%s\n" "$as_nl$at_banner_text$as_nl"
1244 fi
1245 } # at_fn_banner
1246
1247 # at_fn_check_prepare_notrace REASON LINE
1248 # ---------------------------------------
1249 # Perform AT_CHECK preparations for the command at LINE for an untraceable
1250 # command; REASON is the reason for disabling tracing.
1251 at_fn_check_prepare_notrace ()
1252 {
1253 $at_trace_echo "Not enabling shell tracing (command contains $1)"
1254 printf "%s\n" "$2" >"$at_check_line_file"
1255 at_check_trace=: at_check_filter=:
1256 : >"$at_stdout"; : >"$at_stderr"
1257 }
1258
1259 # at_fn_check_prepare_trace LINE
1260 # ------------------------------
1261 # Perform AT_CHECK preparations for the command at LINE for a traceable
1262 # command.
1263 at_fn_check_prepare_trace ()
1264 {
1265 printf "%s\n" "$1" >"$at_check_line_file"
1266 at_check_trace=$at_traceon at_check_filter=$at_check_filter_trace
1267 : >"$at_stdout"; : >"$at_stderr"
1268 }
1269
1270 # at_fn_check_prepare_dynamic COMMAND LINE
1271 # ----------------------------------------
1272 # Decide if COMMAND at LINE is traceable at runtime, and call the appropriate
1273 # preparation function.
1274 at_fn_check_prepare_dynamic ()
1275 {
1276 case $1 in
1277 *$as_nl*)
1278 at_fn_check_prepare_notrace 'an embedded newline' "$2" ;;
1279 *)
1280 at_fn_check_prepare_trace "$2" ;;
1281 esac
1282 }
1283
1284 # at_fn_filter_trace
1285 # ------------------
1286 # Remove the lines in the file "$at_stderr" generated by "set -x" and print
1287 # them to stderr.
1288 at_fn_filter_trace ()
1289 {
1290 mv "$at_stderr" "$at_stder1"
1291 grep '^ *+' "$at_stder1" >&2
1292 grep -v '^ *+' "$at_stder1" >"$at_stderr"
1293 }
1294
1295 # at_fn_log_failure FILE-LIST
1296 # ---------------------------
1297 # Copy the files in the list on stdout with a "> " prefix, and exit the shell
1298 # with a failure exit code.
1299 at_fn_log_failure ()
1300 {
1301 for file
1302 do printf "%s\n" "$file:"; sed 's/^/> /' "$file"; done
1303 echo 1 > "$at_status_file"
1304 exit 1
1305 }
1306
1307 # at_fn_check_skip EXIT-CODE LINE
1308 # -------------------------------
1309 # Check whether EXIT-CODE is a special exit code (77 or 99), and if so exit
1310 # the test group subshell with that same exit code. Use LINE in any report
1311 # about test failure.
1312 at_fn_check_skip ()
1313 {
1314 case $1 in
1315 99) echo 99 > "$at_status_file"; at_failed=:
1316 printf "%s\n" "$2: hard failure"; exit 99;;
1317 77) echo 77 > "$at_status_file"; exit 77;;
1318 esac
1319 }
1320
1321 # at_fn_check_status EXPECTED EXIT-CODE LINE
1322 # ------------------------------------------
1323 # Check whether EXIT-CODE is the EXPECTED exit code, and if so do nothing.
1324 # Otherwise, if it is 77 or 99, exit the test group subshell with that same
1325 # exit code; if it is anything else print an error message referring to LINE,
1326 # and fail the test.
1327 at_fn_check_status ()
1328 {
1329 case $2 in
1330 $1 ) ;;
1331 77) echo 77 > "$at_status_file"; exit 77;;
1332 99) echo 99 > "$at_status_file"; at_failed=:
1333 printf "%s\n" "$3: hard failure"; exit 99;;
1334 *) printf "%s\n" "$3: exit code was $2, expected $1"
1335 at_failed=:;;
1336 esac
1337 }
1338
1339 # at_fn_diff_devnull FILE
1340 # -----------------------
1341 # Emit a diff between /dev/null and FILE. Uses "test -s" to avoid useless diff
1342 # invocations.
1343 at_fn_diff_devnull ()
1344 {
1345 test -s "$1" || return 0
1346 $at_diff "$at_devnull" "$1"
1347 }
1348
1349 # at_fn_test NUMBER
1350 # -----------------
1351 # Parse out test NUMBER from the tail of this file.
1352 at_fn_test ()
1353 {
1354 eval at_sed=\$at_sed$1
1355 sed "$at_sed" "$at_myself" > "$at_test_source"
1356 }
1357
1358 # at_fn_create_debugging_script
1359 # -----------------------------
1360 # Create the debugging script $at_group_dir/run which will reproduce the
1361 # current test group.
1362 at_fn_create_debugging_script ()
1363 {
1364 {
1365 echo "#! /bin/sh" &&
1366 echo 'test ${ZSH_VERSION+y} && alias -g '\''${1+"$@"}'\''='\''"$@"'\''' &&
1367 printf "%s\n" "cd '$at_dir'" &&
1368 printf "%s\n" "exec \${CONFIG_SHELL-$SHELL} \"$at_myself\" -v -d $at_debug_args $at_group \${1+\"\$@\"}" &&
1369 echo 'exit 1'
1370 } >"$at_group_dir/run" &&
1371 chmod +x "$at_group_dir/run"
1372 }
1373
1374 ## -------------------------------- ##
1375 ## End of autotest shell functions. ##
1376 ## -------------------------------- ##
1377 {
1378 printf "%s\n" "## ------------------ ##
1379 ## Running the tests. ##
1380 ## ------------------ ##"
1381 } >&5
1382
1383 at_start_date=`date`
1384 at_start_time=`date +%s 2>/dev/null`
1385 printf "%s\n" "$as_me: starting at: $at_start_date" >&5
1386
1387 # Create the master directory if it doesn't already exist.
1388 as_dir="$at_suite_dir"; as_fn_mkdir_p ||
1389 as_fn_error $? "cannot create \`$at_suite_dir'" "$LINENO" 5
1390
1391 # Can we diff with `/dev/null'? DU 5.0 refuses.
1392 if diff /dev/null /dev/null >/dev/null 2>&1; then
1393 at_devnull=/dev/null
1394 else
1395 at_devnull=$at_suite_dir/devnull
1396 >"$at_devnull"
1397 fi
1398
1399 # Use `diff -u' when possible.
1400 if at_diff=`diff -u "$at_devnull" "$at_devnull" 2>&1` && test -z "$at_diff"
1401 then
1402 at_diff='diff -u'
1403 else
1404 at_diff=diff
1405 fi
1406
1407 # Get the last needed group.
1408 for at_group in : $at_groups; do :; done
1409
1410 # Extract the start and end lines of each test group at the tail
1411 # of this file
1412 awk '
1413 BEGIN { FS="" }
1414 /^#AT_START_/ {
1415 start = NR
1416 }
1417 /^#AT_STOP_/ {
1418 test = substr ($ 0, 10)
1419 print "at_sed" test "=\"1," start "d;" (NR-1) "q\""
1420 if (test == "'"$at_group"'") exit
1421 }' "$at_myself" > "$at_suite_dir/at-source-lines" &&
1422 . "$at_suite_dir/at-source-lines" ||
1423 as_fn_error $? "cannot create test line number cache" "$LINENO" 5
1424 rm -f "$at_suite_dir/at-source-lines"
1425
1426 # Set number of jobs for `-j'; avoid more jobs than test groups.
1427 set X $at_groups; shift; at_max_jobs=$#
1428 if test $at_max_jobs -eq 0; then
1429 at_jobs=1
1430 fi
1431 if test $at_jobs -ne 1 &&
1432 { test $at_jobs -eq 0 || test $at_jobs -gt $at_max_jobs; }; then
1433 at_jobs=$at_max_jobs
1434 fi
1435
1436 # If parallel mode, don't output banners, don't split summary lines.
1437 if test $at_jobs -ne 1; then
1438 at_print_banners=false
1439 at_quiet=:
1440 fi
1441
1442 # Set up helper dirs.
1443 rm -rf "$at_helper_dir" &&
1444 mkdir "$at_helper_dir" &&
1445 cd "$at_helper_dir" &&
1446 { test -z "$at_groups" || mkdir $at_groups; } ||
1447 as_fn_error $? "testsuite directory setup failed" "$LINENO" 5
1448
1449 # Functions for running a test group. We leave the actual
1450 # test group execution outside of a shell function in order
1451 # to avoid hitting zsh 4.x exit status bugs.
1452
1453 # at_fn_group_prepare
1454 # -------------------
1455 # Prepare for running a test group.
1456 at_fn_group_prepare ()
1457 {
1458 # The directory for additional per-group helper files.
1459 at_job_dir=$at_helper_dir/$at_group
1460 # The file containing the location of the last AT_CHECK.
1461 at_check_line_file=$at_job_dir/check-line
1462 # The file containing the exit status of the last command.
1463 at_status_file=$at_job_dir/status
1464 # The files containing the output of the tested commands.
1465 at_stdout=$at_job_dir/stdout
1466 at_stder1=$at_job_dir/stder1
1467 at_stderr=$at_job_dir/stderr
1468 # The file containing the code for a test group.
1469 at_test_source=$at_job_dir/test-source
1470 # The file containing dates.
1471 at_times_file=$at_job_dir/times
1472
1473 # Be sure to come back to the top test directory.
1474 cd "$at_suite_dir"
1475
1476 # Clearly separate the test groups when verbose.
1477 $at_first || $at_verbose echo
1478
1479 at_group_normalized=$at_group
1480
1481 eval 'while :; do
1482 case $at_group_normalized in #(
1483 '"$at_format"'*) break;;
1484 esac
1485 at_group_normalized=0$at_group_normalized
1486 done'
1487
1488
1489 # Create a fresh directory for the next test group, and enter.
1490 # If one already exists, the user may have invoked ./run from
1491 # within that directory; we remove the contents, but not the
1492 # directory itself, so that we aren't pulling the rug out from
1493 # under the shell's notion of the current directory.
1494 at_group_dir=$at_suite_dir/$at_group_normalized
1495 at_group_log=$at_group_dir/$as_me.log
1496 if test -d "$at_group_dir"
1497 then
1498 find "$at_group_dir" -type d ! -perm -700 -exec chmod u+rwx {} \;
1499 rm -fr "$at_group_dir"/* "$at_group_dir"/.[!.] "$at_group_dir"/.??*
1500 fi ||
1501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: test directory for $at_group_normalized could not be cleaned" >&5
1502 printf "%s\n" "$as_me: WARNING: test directory for $at_group_normalized could not be cleaned" >&2;}
1503 # Be tolerant if the above `rm' was not able to remove the directory.
1504 as_dir="$at_group_dir"; as_fn_mkdir_p
1505
1506 echo 0 > "$at_status_file"
1507
1508 # In verbose mode, append to the log file *and* show on
1509 # the standard output; in quiet mode only write to the log.
1510 if test -z "$at_verbose"; then
1511 at_tee_pipe='tee -a "$at_group_log"'
1512 else
1513 at_tee_pipe='cat >> "$at_group_log"'
1514 fi
1515 }
1516
1517 # at_fn_group_banner ORDINAL LINE DESC PAD [BANNER]
1518 # -------------------------------------------------
1519 # Declare the test group ORDINAL, located at LINE with group description DESC,
1520 # and residing under BANNER. Use PAD to align the status column.
1521 at_fn_group_banner ()
1522 {
1523 at_setup_line="$2"
1524 test -n "$5" && at_fn_banner $5
1525 at_desc="$3"
1526 case $1 in
1527 [0-9]) at_desc_line=" $1: ";;
1528 [0-9][0-9]) at_desc_line=" $1: " ;;
1529 *) at_desc_line="$1: " ;;
1530 esac
1531 as_fn_append at_desc_line "$3$4"
1532 $at_quiet printf %s "$at_desc_line"
1533 echo "# -*- compilation -*-" >> "$at_group_log"
1534 }
1535
1536 # at_fn_group_postprocess
1537 # -----------------------
1538 # Perform cleanup after running a test group.
1539 at_fn_group_postprocess ()
1540 {
1541 # Be sure to come back to the suite directory, in particular
1542 # since below we might `rm' the group directory we are in currently.
1543 cd "$at_suite_dir"
1544
1545 if test ! -f "$at_check_line_file"; then
1546 sed "s/^ */$as_me: WARNING: /" <<_ATEOF
1547 A failure happened in a test group before any test could be
1548 run. This means that test suite is improperly designed. Please
1549 report this failure to <[email protected]>.
1550 _ATEOF
1551 printf "%s\n" "$at_setup_line" >"$at_check_line_file"
1552 at_status=99
1553 fi
1554 $at_verbose printf %s "$at_group. $at_setup_line: "
1555 printf %s "$at_group. $at_setup_line: " >> "$at_group_log"
1556 case $at_xfail:$at_status in
1557 yes:0)
1558 at_msg="UNEXPECTED PASS"
1559 at_res=xpass
1560 at_errexit=$at_errexit_p
1561 at_color=$at_red
1562 ;;
1563 no:0)
1564 at_msg="ok"
1565 at_res=pass
1566 at_errexit=false
1567 at_color=$at_grn
1568 ;;
1569 *:77)
1570 at_msg='skipped ('`cat "$at_check_line_file"`')'
1571 at_res=skip
1572 at_errexit=false
1573 at_color=$at_blu
1574 ;;
1575 no:* | *:99)
1576 at_msg='FAILED ('`cat "$at_check_line_file"`')'
1577 at_res=fail
1578 at_errexit=$at_errexit_p
1579 at_color=$at_red
1580 ;;
1581 yes:*)
1582 at_msg='expected failure ('`cat "$at_check_line_file"`')'
1583 at_res=xfail
1584 at_errexit=false
1585 at_color=$at_lgn
1586 ;;
1587 esac
1588 echo "$at_res" > "$at_job_dir/$at_res"
1589 # In parallel mode, output the summary line only afterwards.
1590 if test $at_jobs -ne 1 && test -n "$at_verbose"; then
1591 printf "%s\n" "$at_desc_line $at_color$at_msg$at_std"
1592 else
1593 # Make sure there is a separator even with long titles.
1594 printf "%s\n" " $at_color$at_msg$at_std"
1595 fi
1596 at_log_msg="$at_group. $at_desc ($at_setup_line): $at_msg"
1597 case $at_status in
1598 0|77)
1599 # $at_times_file is only available if the group succeeded.
1600 # We're not including the group log, so the success message
1601 # is written in the global log separately. But we also
1602 # write to the group log in case they're using -d.
1603 if test -f "$at_times_file"; then
1604 at_log_msg="$at_log_msg ("`sed 1d "$at_times_file"`')'
1605 rm -f "$at_times_file"
1606 fi
1607 printf "%s\n" "$at_log_msg" >> "$at_group_log"
1608 printf "%s\n" "$at_log_msg" >&5
1609
1610 # Cleanup the group directory, unless the user wants the files
1611 # or the success was unexpected.
1612 if $at_debug_p || test $at_res = xpass; then
1613 at_fn_create_debugging_script
1614 if test $at_res = xpass && $at_errexit; then
1615 echo stop > "$at_stop_file"
1616 fi
1617 else
1618 if test -d "$at_group_dir"; then
1619 find "$at_group_dir" -type d ! -perm -700 -exec chmod u+rwx \{\} \;
1620 rm -fr "$at_group_dir"
1621 fi
1622 rm -f "$at_test_source"
1623 fi
1624 ;;
1625 *)
1626 # Upon failure, include the log into the testsuite's global
1627 # log. The failure message is written in the group log. It
1628 # is later included in the global log.
1629 printf "%s\n" "$at_log_msg" >> "$at_group_log"
1630
1631 # Upon failure, keep the group directory for autopsy, and create
1632 # the debugging script. With -e, do not start any further tests.
1633 at_fn_create_debugging_script
1634 if $at_errexit; then
1635 echo stop > "$at_stop_file"
1636 fi
1637 ;;
1638 esac
1639 }
1640
1641
1642 ## ------------ ##
1643 ## Driver loop. ##
1644 ## ------------ ##
1645
1646
1647 if (set -m && set +m && set +b) >/dev/null 2>&1; then
1648 set +b
1649 at_job_control_on='set -m' at_job_control_off='set +m' at_job_group=-
1650 else
1651 at_job_control_on=: at_job_control_off=: at_job_group=
1652 fi
1653
1654 for at_signal in 1 2 15; do
1655 trap 'set +x; set +e
1656 $at_job_control_off
1657 at_signal='"$at_signal"'
1658 echo stop > "$at_stop_file"
1659 trap "" $at_signal
1660 at_pgids=
1661 for at_pgid in `jobs -p 2>/dev/null`; do
1662 at_pgids="$at_pgids $at_job_group$at_pgid"
1663 done
1664 test -z "$at_pgids" || kill -$at_signal $at_pgids 2>/dev/null
1665 wait
1666 if test "$at_jobs" -eq 1 || test -z "$at_verbose"; then
1667 echo >&2
1668 fi
1669 at_signame=`kill -l $at_signal 2>&1 || echo $at_signal`
1670 set x $at_signame
1671 test 0 -gt 2 && at_signame=$at_signal
1672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: caught signal $at_signame, bailing out" >&5
1673 printf "%s\n" "$as_me: WARNING: caught signal $at_signame, bailing out" >&2;}
1674 as_fn_arith 128 + $at_signal && exit_status=$as_val
1675 as_fn_exit $exit_status' $at_signal
1676 done
1677
1678 rm -f "$at_stop_file"
1679 at_first=:
1680
1681 if test $at_jobs -ne 1 &&
1682 rm -f "$at_job_fifo" &&
1683 test -n "$at_job_group" &&
1684 ( mkfifo "$at_job_fifo" && trap 'exit 1' PIPE STOP TSTP ) 2>/dev/null
1685 then
1686 # FIFO job dispatcher.
1687
1688 trap 'at_pids=
1689 for at_pid in `jobs -p`; do
1690 at_pids="$at_pids $at_job_group$at_pid"
1691 done
1692 if test -n "$at_pids"; then
1693 at_sig=TSTP
1694 test ${TMOUT+y} && at_sig=STOP
1695 kill -$at_sig $at_pids 2>/dev/null
1696 fi
1697 kill -STOP $$
1698 test -z "$at_pids" || kill -CONT $at_pids 2>/dev/null' TSTP
1699
1700 echo
1701 # Turn jobs into a list of numbers, starting from 1.
1702 at_joblist=`printf "%s\n" "$at_groups" | sed -n 1,${at_jobs}p`
1703
1704 set X $at_joblist
1705 shift
1706 for at_group in $at_groups; do
1707 $at_job_control_on 2>/dev/null
1708 (
1709 # Start one test group.
1710 $at_job_control_off
1711 if $at_first; then
1712 exec 7>"$at_job_fifo"
1713 else
1714 exec 6<&-
1715 fi
1716 trap 'set +x; set +e
1717 trap "" PIPE
1718 echo stop > "$at_stop_file"
1719 echo >&7
1720 as_fn_exit 141' PIPE
1721 at_fn_group_prepare
1722 if cd "$at_group_dir" &&
1723 at_fn_test $at_group &&
1724 . "$at_test_source"
1725 then :; else
1726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unable to parse test group: $at_group" >&5
1727 printf "%s\n" "$as_me: WARNING: unable to parse test group: $at_group" >&2;}
1728 at_failed=:
1729 fi
1730 at_fn_group_postprocess
1731 echo >&7
1732 ) &
1733 $at_job_control_off
1734 if $at_first; then
1735 at_first=false
1736 exec 6<"$at_job_fifo" 7>"$at_job_fifo"
1737 fi
1738 shift # Consume one token.
1739 if test $# -gt 0; then :; else
1740 read at_token <&6 || break
1741 set x $*
1742 fi
1743 test -f "$at_stop_file" && break
1744 done
1745 exec 7>&-
1746 # Read back the remaining ($at_jobs - 1) tokens.
1747 set X $at_joblist
1748 shift
1749 if test $# -gt 0; then
1750 shift
1751 for at_job
1752 do
1753 read at_token
1754 done <&6
1755 fi
1756 exec 6<&-
1757 wait
1758 else
1759 # Run serially, avoid forks and other potential surprises.
1760 for at_group in $at_groups; do
1761 at_fn_group_prepare
1762 if cd "$at_group_dir" &&
1763 at_fn_test $at_group &&
1764 . "$at_test_source"; then :; else
1765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unable to parse test group: $at_group" >&5
1766 printf "%s\n" "$as_me: WARNING: unable to parse test group: $at_group" >&2;}
1767 at_failed=:
1768 fi
1769 at_fn_group_postprocess
1770 test -f "$at_stop_file" && break
1771 at_first=false
1772 done
1773 fi
1774
1775 # Wrap up the test suite with summary statistics.
1776 cd "$at_helper_dir"
1777
1778 # Use ?..???? when the list must remain sorted, the faster * otherwise.
1779 at_pass_list=`for f in */pass; do echo $f; done | sed '/\*/d; s,/pass,,'`
1780 at_skip_list=`for f in */skip; do echo $f; done | sed '/\*/d; s,/skip,,'`
1781 at_xfail_list=`for f in */xfail; do echo $f; done | sed '/\*/d; s,/xfail,,'`
1782 at_xpass_list=`for f in ?/xpass ??/xpass ???/xpass ????/xpass; do
1783 echo $f; done | sed '/?/d; s,/xpass,,'`
1784 at_fail_list=`for f in ?/fail ??/fail ???/fail ????/fail; do
1785 echo $f; done | sed '/?/d; s,/fail,,'`
1786
1787 set X $at_pass_list $at_xpass_list $at_xfail_list $at_fail_list $at_skip_list
1788 shift; at_group_count=$#
1789 set X $at_xpass_list; shift; at_xpass_count=$#; at_xpass_list=$*
1790 set X $at_xfail_list; shift; at_xfail_count=$#
1791 set X $at_fail_list; shift; at_fail_count=$#; at_fail_list=$*
1792 set X $at_skip_list; shift; at_skip_count=$#
1793
1794 as_fn_arith $at_group_count - $at_skip_count && at_run_count=$as_val
1795 as_fn_arith $at_xpass_count + $at_fail_count && at_unexpected_count=$as_val
1796 as_fn_arith $at_xfail_count + $at_fail_count && at_total_fail_count=$as_val
1797
1798 # Back to the top directory.
1799 cd "$at_dir"
1800 rm -rf "$at_helper_dir"
1801
1802 # Compute the duration of the suite.
1803 at_stop_date=`date`
1804 at_stop_time=`date +%s 2>/dev/null`
1805 printf "%s\n" "$as_me: ending at: $at_stop_date" >&5
1806 case $at_start_time,$at_stop_time in
1807 [0-9]*,[0-9]*)
1808 as_fn_arith $at_stop_time - $at_start_time && at_duration_s=$as_val
1809 as_fn_arith $at_duration_s / 60 && at_duration_m=$as_val
1810 as_fn_arith $at_duration_m / 60 && at_duration_h=$as_val
1811 as_fn_arith $at_duration_s % 60 && at_duration_s=$as_val
1812 as_fn_arith $at_duration_m % 60 && at_duration_m=$as_val
1813 at_duration="${at_duration_h}h ${at_duration_m}m ${at_duration_s}s"
1814 printf "%s\n" "$as_me: test suite duration: $at_duration" >&5
1815 ;;
1816 esac
1817
1818 echo
1819 printf "%s\n" "## ------------- ##
1820 ## Test results. ##
1821 ## ------------- ##"
1822 echo
1823 {
1824 echo
1825 printf "%s\n" "## ------------- ##
1826 ## Test results. ##
1827 ## ------------- ##"
1828 echo
1829 } >&5
1830
1831 if test $at_run_count = 1; then
1832 at_result="1 test"
1833 at_were=was
1834 else
1835 at_result="$at_run_count tests"
1836 at_were=were
1837 fi
1838 if $at_errexit_p && test $at_unexpected_count != 0; then
1839 if test $at_xpass_count = 1; then
1840 at_result="$at_result $at_were run, one passed"
1841 else
1842 at_result="$at_result $at_were run, one failed"
1843 fi
1844 at_result="$at_result unexpectedly and inhibited subsequent tests."
1845 at_color=$at_red
1846 else
1847 # Don't you just love exponential explosion of the number of cases?
1848 at_color=$at_red
1849 case $at_xpass_count:$at_fail_count:$at_xfail_count in
1850 # So far, so good.
1851 0:0:0) at_result="$at_result $at_were successful." at_color=$at_grn ;;
1852 0:0:*) at_result="$at_result behaved as expected." at_color=$at_lgn ;;
1853
1854 # Some unexpected failures
1855 0:*:0) at_result="$at_result $at_were run,
1856 $at_fail_count failed unexpectedly." ;;
1857
1858 # Some failures, both expected and unexpected
1859 0:*:1) at_result="$at_result $at_were run,
1860 $at_total_fail_count failed ($at_xfail_count expected failure)." ;;
1861 0:*:*) at_result="$at_result $at_were run,
1862 $at_total_fail_count failed ($at_xfail_count expected failures)." ;;
1863
1864 # No unexpected failures, but some xpasses
1865 *:0:*) at_result="$at_result $at_were run,
1866 $at_xpass_count passed unexpectedly." ;;
1867
1868 # No expected failures, but failures and xpasses
1869 *:1:0) at_result="$at_result $at_were run,
1870 $at_unexpected_count did not behave as expected ($at_fail_count unexpected failure)." ;;
1871 *:*:0) at_result="$at_result $at_were run,
1872 $at_unexpected_count did not behave as expected ($at_fail_count unexpected failures)." ;;
1873
1874 # All of them.
1875 *:*:1) at_result="$at_result $at_were run,
1876 $at_xpass_count passed unexpectedly,
1877 $at_total_fail_count failed ($at_xfail_count expected failure)." ;;
1878 *:*:*) at_result="$at_result $at_were run,
1879 $at_xpass_count passed unexpectedly,
1880 $at_total_fail_count failed ($at_xfail_count expected failures)." ;;
1881 esac
1882
1883 if test $at_skip_count = 0 && test $at_run_count -gt 1; then
1884 at_result="All $at_result"
1885 fi
1886 fi
1887
1888 # Now put skips in the mix.
1889 case $at_skip_count in
1890 0) ;;
1891 1) at_result="$at_result
1892 1 test was skipped." ;;
1893 *) at_result="$at_result
1894 $at_skip_count tests were skipped." ;;
1895 esac
1896
1897 if test $at_unexpected_count = 0; then
1898 echo "$at_color$at_result$at_std"
1899 echo "$at_result" >&5
1900 else
1901 echo "${at_color}ERROR: $at_result$at_std" >&2
1902 echo "ERROR: $at_result" >&5
1903 {
1904 echo
1905 printf "%s\n" "## ------------------------ ##
1906 ## Summary of the failures. ##
1907 ## ------------------------ ##"
1908
1909 # Summary of failed and skipped tests.
1910 if test $at_fail_count != 0; then
1911 echo "Failed tests:"
1912 $SHELL "$at_myself" $at_fail_list --list
1913 echo
1914 fi
1915 if test $at_skip_count != 0; then
1916 echo "Skipped tests:"
1917 $SHELL "$at_myself" $at_skip_list --list
1918 echo
1919 fi
1920 if test $at_xpass_count != 0; then
1921 echo "Unexpected passes:"
1922 $SHELL "$at_myself" $at_xpass_list --list
1923 echo
1924 fi
1925 if test $at_fail_count != 0; then
1926 printf "%s\n" "## ---------------------- ##
1927 ## Detailed failed tests. ##
1928 ## ---------------------- ##"
1929 echo
1930 for at_group in $at_fail_list
1931 do
1932 at_group_normalized=$at_group
1933
1934 eval 'while :; do
1935 case $at_group_normalized in #(
1936 '"$at_format"'*) break;;
1937 esac
1938 at_group_normalized=0$at_group_normalized
1939 done'
1940
1941 cat "$at_suite_dir/$at_group_normalized/$as_me.log"
1942 echo
1943 done
1944 echo
1945 fi
1946 if test -n "$at_top_srcdir"; then
1947 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
1948 ## ${at_top_build_prefix}config.log ##
1949 _ASBOX
1950 sed 's/^/| /' ${at_top_build_prefix}config.log
1951 echo
1952 fi
1953 } >&5
1954
1955 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
1956 ## $as_me.log was created. ##
1957 _ASBOX
1958
1959 echo
1960 if $at_debug_p; then
1961 at_msg='per-test log files'
1962 else
1963 at_msg="\`${at_testdir+${at_testdir}/}$as_me.log'"
1964 fi
1965 at_msg1a=${at_xpass_list:+', '}
1966 at_msg1=$at_fail_list${at_fail_list:+" failed$at_msg1a"}
1967 at_msg2=$at_xpass_list${at_xpass_list:+" passed unexpectedly"}
1968
1969 printf "%s\n" "Please send $at_msg and all information you think might help:
1970
1971 To: <[email protected]>
1972 Subject: [GNU dico 2.12] $as_me: $at_msg1$at_msg2
1973
1974 You may investigate any problem if you feel able to do so, in which
1975 case the test suite provides a good starting point. Its output may
1976 be found below \`${at_testdir+${at_testdir}/}$as_me.dir'.
1977 "
1978 exit 1
1979 fi
1980
1981 exit 0
1982
1983 ## ------------- ##
1984 ## Actual tests. ##
1985 ## ------------- ##
1986 #AT_START_1
1987 at_fn_group_banner 1 'testsuite.at:23' \
1988 "stratall" " "
1989 at_xfail=no
1990 (
1991 printf "%s\n" "1. $at_setup_line: testing $at_desc ..."
1992 $at_traceon
1993
1994
1995
1996 cat >input <<'_ATEOF'
1997 match dev all ""
1998 quit
1999 _ATEOF
2000
2001 { set +x
2002 printf "%s\n" "$at_srcdir/testsuite.at:25: dicod --no-preprocessor --config \$abs_builddir/dicod.conf --stderr -i < input | tr -d '\\r' | sed 's/^\\(2[25][0-9]\\) .*/\\1/;s/ *\$//' "
2003 at_fn_check_prepare_notrace 'a shell pipeline' "testsuite.at:25"
2004 ( $at_check_trace; dicod --no-preprocessor --config $abs_builddir/dicod.conf --stderr -i < input | tr -d '\r' | sed 's/^\(2[25][0-9]\) .*/\1/;s/ *$//'
2005 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
2006 at_status=$? at_failed=false
2007 $at_check_filter
2008 at_fn_diff_devnull "$at_stderr" || at_failed=:
2009 echo >>"$at_stdout"; printf "%s\n" "220
2010 152 995 matches found: list follows
2011 dev \"ABASEMENT\"
2012 dev \"ABATIS\"
2013 dev \"ABDICATION\"
2014 dev \"ABDOMEN\"
2015 dev \"ABILITY\"
2016 dev \"ABNORMAL\"
2017 dev \"ABORIGINIES\"
2018 dev \"ABRIDGE\"
2019 dev \"ABRUPT\"
2020 dev \"ABSCOND\"
2021 dev \"ABSENT\"
2022 dev \"ABSENTEE\"
2023 dev \"ABSOLUTE\"
2024 dev \"ABSTAINER\"
2025 dev \"ABSURDITY\"
2026 dev \"ACADEME\"
2027 dev \"ACADEMY\"
2028 dev \"ACCIDENT\"
2029 dev \"ACCOMPLICE\"
2030 dev \"ACCORD\"
2031 dev \"ACCORDION\"
2032 dev \"ACCOUNTABILITY\"
2033 dev \"ACCUSE\"
2034 dev \"ACEPHALOUS\"
2035 dev \"ACHIEVEMENT\"
2036 dev \"ACKNOWLEDGE\"
2037 dev \"ACQUAINTANCE\"
2038 dev \"ACTUALLY\"
2039 dev \"ADAGE\"
2040 dev \"ADAMANT\"
2041 dev \"ADDER\"
2042 dev \"ADHERENT\"
2043 dev \"ADMINISTRATION\"
2044 dev \"ADMIRAL\"
2045 dev \"ADMIRATION\"
2046 dev \"ADMONITION\"
2047 dev \"ADORE\"
2048 dev \"ADVICE\"
2049 dev \"AFFIANCED\"
2050 dev \"AFFLICTION\"
2051 dev \"AFRICAN\"
2052 dev \"AGE\"
2053 dev \"AGITATOR\"
2054 dev \"AIM\"
2055 dev \"AIR\"
2056 dev \"ALDERMAN\"
2057 dev \"ALIEN\"
2058 dev \"ALLAH\"
2059 dev \"ALLEGIANCE\"
2060 dev \"ALLIANCE\"
2061 dev \"ALLIGATOR\"
2062 dev \"ALONE\"
2063 dev \"ALTAR\"
2064 dev \"AMBIDEXTROUS\"
2065 dev \"AMBITION\"
2066 dev \"AMNESTY\"
2067 dev \"ANOINT\"
2068 dev \"ANTIPATHY\"
2069 dev \"APHORISM\"
2070 dev \"APOLOGIZE\"
2071 dev \"APOSTATE\"
2072 dev \"APOTHECARY\"
2073 dev \"APPEAL\"
2074 dev \"APPETITE\"
2075 dev \"APPLAUSE\"
2076 dev \"APRIL FOOL\"
2077 dev \"ARCHBISHOP\"
2078 dev \"ARCHITECT\"
2079 dev \"ARDOR\"
2080 dev \"ARENA\"
2081 dev \"ARISTOCRACY\"
2082 dev \"ARMOR\"
2083 dev \"ARRAYED\"
2084 dev \"ARREST\"
2085 dev \"ARSENIC\"
2086 dev \"ART\"
2087 dev \"ARTLESSNESS\"
2088 dev \"ASPERSE\"
2089 dev \"ASS\"
2090 dev \"AUCTIONEER\"
2091 dev \"AUSTRALIA\"
2092 dev \"AVERNUS\"
2093 dev \"BAAL\"
2094 dev \"BABE\"
2095 dev \"BACCHUS\"
2096 dev \"BACK\"
2097 dev \"BACKBITE\"
2098 dev \"BAIT\"
2099 dev \"BAPTISM\"
2100 dev \"BAROMETER\"
2101 dev \"BARRACK\"
2102 dev \"BASILISK\"
2103 dev \"BASTINADO\"
2104 dev \"BATH\"
2105 dev \"BATTLE\"
2106 dev \"BEARD\"
2107 dev \"BEAUTY\"
2108 dev \"BEFRIEND\"
2109 dev \"BEG\"
2110 dev \"BEGGAR\"
2111 dev \"BEHAVIOR\"
2112 dev \"BELLADONNA\"
2113 dev \"BENEDICTINES\"
2114 dev \"BENEFACTOR\"
2115 dev \"BERENICE'S HAIR\"
2116 dev \"BIGAMY\"
2117 dev \"BIGOT\"
2118 dev \"BILLINGSGATE\"
2119 dev \"BIRTH\"
2120 dev \"BLACKGUARD\"
2121 dev \"BLANK-VERSE\"
2122 dev \"BODY-SNATCHER\"
2123 dev \"BONDSMAN\"
2124 dev \"BORE\"
2125 dev \"BOTANY\"
2126 dev \"BOTTLE-NOSED\"
2127 dev \"BOUNDARY\"
2128 dev \"BOUNTY\"
2129 dev \"BRAHMA\"
2130 dev \"BRAIN\"
2131 dev \"BRANDY\"
2132 dev \"BRIDE\"
2133 dev \"BRUTE\"
2134 dev \"CAABA\"
2135 dev \"CABBAGE\"
2136 dev \"CALAMITY\"
2137 dev \"CALLOUS\"
2138 dev \"CALUMNUS\"
2139 dev \"CAMEL\"
2140 dev \"CANNIBAL\"
2141 dev \"CANNON\"
2142 dev \"CANONICALS\"
2143 dev \"CAPITAL\"
2144 dev \"CARMELITE\"
2145 dev \"CARNIVOROUS\"
2146 dev \"CARTESIAN\"
2147 dev \"CAT\"
2148 dev \"CAVILER\"
2149 dev \"CEMETERY\"
2150 dev \"CENTAUR\"
2151 dev \"CERBERUS\"
2152 dev \"CHILDHOOD\"
2153 dev \"CHRISTIAN\"
2154 dev \"CIRCUS\"
2155 dev \"CLAIRVOYANT\"
2156 dev \"CLARIONET\"
2157 dev \"CLERGYMAN\"
2158 dev \"CLIO\"
2159 dev \"CLOCK\"
2160 dev \"CLOSE-FISTED\"
2161 dev \"COENOBITE\"
2162 dev \"COMFORT\"
2163 dev \"COMMENDATION\"
2164 dev \"COMMERCE\"
2165 dev \"COMMONWEALTH\"
2166 dev \"COMPROMISE\"
2167 dev \"COMPULSION\"
2168 dev \"CONDOLE\"
2169 dev \"CONFIDANT\"
2170 dev \"CONGRATULATION\"
2171 dev \"CONGRESS\"
2172 dev \"CONNOISSEUR\"
2173 dev \"CONSERVATIVE\"
2174 dev \"CONSOLATION\"
2175 dev \"CONSUL\"
2176 dev \"CONSULT\"
2177 dev \"CONTEMPT\"
2178 dev \"CONTROVERSY\"
2179 dev \"CONVENT\"
2180 dev \"CONVERSATION\"
2181 dev \"CORONATION\"
2182 dev \"CORPORAL\"
2183 dev \"CORPORATION\"
2184 dev \"CORSAIR\"
2185 dev \"COURT FOOL\"
2186 dev \"COWARD\"
2187 dev \"CRAYFISH\"
2188 dev \"CREDITOR\"
2189 dev \"CREMONA\"
2190 dev \"CRITIC\"
2191 dev \"CROSS\"
2192 dev \"CUI\"
2193 dev \"CUNNING\"
2194 dev \"CUPID\"
2195 dev \"CURIOSITY\"
2196 dev \"CURSE\"
2197 dev \"CYNIC\"
2198 dev \"DAMN\"
2199 dev \"DANCE\"
2200 dev \"DANGER\"
2201 dev \"DARING\"
2202 dev \"DATARY\"
2203 dev \"DAWN\"
2204 dev \"DAY\"
2205 dev \"DEAD\"
2206 dev \"DEBAUCHEE\"
2207 dev \"DEBT\"
2208 dev \"DECALOGUE\"
2209 dev \"DECIDE\"
2210 dev \"DEFAME\"
2211 dev \"DEFENCELESS\"
2212 dev \"DEGENERATE\"
2213 dev \"DEGRADATION\"
2214 dev \"DEINOTHERIUM\"
2215 dev \"DEJEUNER\"
2216 dev \"DELEGATION\"
2217 dev \"DELIBERATION\"
2218 dev \"DELUGE\"
2219 dev \"DELUSION\"
2220 dev \"DENTIST\"
2221 dev \"DEPENDENT\"
2222 dev \"DEPUTY\"
2223 dev \"DESTINY\"
2224 dev \"DIAGNOSIS\"
2225 dev \"DIAPHRAGM\"
2226 dev \"DIARY\"
2227 dev \"DICTATOR\"
2228 dev \"DICTIONARY\"
2229 dev \"DIE\"
2230 dev \"DIGESTION\"
2231 dev \"DIPLOMACY\"
2232 dev \"DISABUSE\"
2233 dev \"DISCRIMINATE\"
2234 dev \"DISCUSSION\"
2235 dev \"DISOBEDIENCE\"
2236 dev \"DISOBEY\"
2237 dev \"DISSEMBLE\"
2238 dev \"DISTANCE\"
2239 dev \"DISTRESS\"
2240 dev \"DIVINATION\"
2241 dev \"DOG\"
2242 dev \"DRAGOON\"
2243 dev \"DRAMATIST\"
2244 dev \"DRUIDS\"
2245 dev \"DUCK-BILL\"
2246 dev \"DUEL\"
2247 dev \"DULLARD\"
2248 dev \"DUTY\"
2249 dev \"EAT\"
2250 dev \"EAVESDROP\"
2251 dev \"ECCENTRICITY\"
2252 dev \"ECONOMY\"
2253 dev \"EDIBLE\"
2254 dev \"EDITOR\"
2255 dev \"EDUCATION\"
2256 dev \"EFFECT\"
2257 dev \"EGOTIST\"
2258 dev \"EJECTION\"
2259 dev \"ELECTOR\"
2260 dev \"ELECTRICITY\"
2261 dev \"ELEGY\"
2262 dev \"ELOQUENCE\"
2263 dev \"ELYSIUM\"
2264 dev \"EMANCIPATION\"
2265 dev \"EMBALM\"
2266 dev \"EMOTION\"
2267 dev \"ENCOMIAST\"
2268 dev \"END\"
2269 dev \"ENOUGH\"
2270 dev \"ENTERTAINMENT\"
2271 dev \"ENTHUSIASM\"
2272 dev \"ENVELOPE\"
2273 dev \"ENVY\"
2274 dev \"EPAULET\"
2275 dev \"EPICURE\"
2276 dev \"EPIGRAM\"
2277 dev \"EPITAPH\"
2278 dev \"ERUDITION\"
2279 dev \"ESOTERIC\"
2280 dev \"ETHNOLOGY\"
2281 dev \"EUCHARIST\"
2282 dev \"EULOGY\"
2283 dev \"EVANGELIST\"
2284 dev \"EVERLASTING\"
2285 dev \"EXCEPTION\"
2286 dev \"EXCESS\"
2287 dev \"EXCOMMUNICATION\"
2288 dev \"EXECUTIVE\"
2289 dev \"EXHORT\"
2290 dev \"EXILE\"
2291 dev \"EXISTENCE\"
2292 dev \"EXPERIENCE\"
2293 dev \"EXPOSTULATION\"
2294 dev \"EXTINCTION\"
2295 dev \"FAIRY\"
2296 dev \"FAITH\"
2297 dev \"FAMOUS\"
2298 dev \"FASHION\"
2299 dev \"FEAST\"
2300 dev \"FELON\"
2301 dev \"FEMALE\"
2302 dev \"FIB\"
2303 dev \"FICKLENESS\"
2304 dev \"FIDDLE\"
2305 dev \"FIDELITY\"
2306 dev \"FINANCE\"
2307 dev \"FLAG\"
2308 dev \"FLESH\"
2309 dev \"FLOP\"
2310 dev \"FLY-SPECK\"
2311 dev \"FOLLY\"
2312 dev \"FOOL\"
2313 dev \"FORCE\"
2314 dev \"FOREFINGER\"
2315 dev \"FOREORDINATION\"
2316 dev \"FORGETFULNESS\"
2317 dev \"FORK\"
2318 dev \"FORMA\"
2319 dev \"FRANKALMOIGNE\"
2320 dev \"FREEBOOTER\"
2321 dev \"FREEDOM\"
2322 dev \"FREEMASONS\"
2323 dev \"FRIENDLESS\"
2324 dev \"FRIENDSHIP\"
2325 dev \"FROG\"
2326 dev \"FRYING-PAN\"
2327 dev \"FUNERAL\"
2328 dev \"FUTURE\"
2329 dev \"GALLOWS\"
2330 dev \"GARGOYLE\"
2331 dev \"GARTHER\"
2332 dev \"GENEALOGY\"
2333 dev \"GENEROUS\"
2334 dev \"GENTEEL\"
2335 dev \"GEOGRAPHER\"
2336 dev \"GEOLOGY\"
2337 dev \"GHOST\"
2338 dev \"GHOUL\"
2339 dev \"GLUTTON\"
2340 dev \"GNOME\"
2341 dev \"GNOSTICS\"
2342 dev \"GNU\"
2343 dev \"GOOD\"
2344 dev \"GOOSE\"
2345 dev \"GORGON\"
2346 dev \"GOUT\"
2347 dev \"GRACES\"
2348 dev \"GRAMMAR\"
2349 dev \"GRAPE\"
2350 dev \"GRAPESHOT\"
2351 dev \"GRAVE\"
2352 dev \"GRAVITATION\"
2353 dev \"GREAT\"
2354 dev \"GUILLOTINE\"
2355 dev \"GUNPOWDER\"
2356 dev \"HABEAS\"
2357 dev \"HABIT\"
2358 dev \"HADES\"
2359 dev \"HAG\"
2360 dev \"HALF\"
2361 dev \"HALO\"
2362 dev \"HAND\"
2363 dev \"HANDKERCHIEF\"
2364 dev \"HANGMAN\"
2365 dev \"HAPPINESS\"
2366 dev \"HARANGUE\"
2367 dev \"HARBOR\"
2368 dev \"HARMONISTS\"
2369 dev \"HASH\"
2370 dev \"HATCHET\"
2371 dev \"HATRED\"
2372 dev \"HEAD-MONEY\"
2373 dev \"HEARSE\"
2374 dev \"HEART\"
2375 dev \"HEAT\"
2376 dev \"HEATHEN\"
2377 dev \"HEAVEN\"
2378 dev \"HEBREW\"
2379 dev \"HELPMATE\"
2380 dev \"HEMP\"
2381 dev \"HERMIT\"
2382 dev \"HERS\"
2383 dev \"HIBERNATE\"
2384 dev \"HIPPOGRIFF\"
2385 dev \"HISTORIAN\"
2386 dev \"HISTORY\"
2387 dev \"HOG\"
2388 dev \"HOMICIDE\"
2389 dev \"HOMILETICS\"
2390 dev \"HOMOEOPATHIST\"
2391 dev \"HOMOEOPATHY\"
2392 dev \"HONORABLE\"
2393 dev \"HOPE\"
2394 dev \"HOSPITALITY\"
2395 dev \"HOSTILITY\"
2396 dev \"HOURI\"
2397 dev \"HOUSE\"
2398 dev \"HOUSELESS\"
2399 dev \"HOVEL\"
2400 dev \"HUMANITY\"
2401 dev \"HUMORIST\"
2402 dev \"HURRICANE\"
2403 dev \"HURRY\"
2404 dev \"HUSBAND\"
2405 dev \"HYBRID\"
2406 dev \"HYDRA\"
2407 dev \"HYENA\"
2408 dev \"HYPOCHONDRIASIS\"
2409 dev \"HYPOCRITE\"
2410 dev \"I\"
2411 dev \"ICHOR\"
2412 dev \"ICONOCLAST\"
2413 dev \"IDIOT\"
2414 dev \"IDLENESS\"
2415 dev \"IGNORAMUS\"
2416 dev \"ILLUMINATI\"
2417 dev \"ILLUSTRIOUS\"
2418 dev \"IMAGINATION\"
2419 dev \"IMBECILITY\"
2420 dev \"IMMIGRANT\"
2421 dev \"IMMODEST\"
2422 dev \"IMMORAL\"
2423 dev \"IMMORTALITY\"
2424 dev \"IMPALE\"
2425 dev \"IMPARTIAL\"
2426 dev \"IMPENITENCE\"
2427 dev \"IMPIETY\"
2428 dev \"IMPOSITION\"
2429 dev \"IMPOSTOR\"
2430 dev \"IMPROBABILITY\"
2431 dev \"IMPROVIDENCE\"
2432 dev \"IMPUNITY\"
2433 dev \"IN'ARDS\"
2434 dev \"INADMISSIBLE\"
2435 dev \"INAUSPICIOUSLY\"
2436 dev \"INCOME\"
2437 dev \"INCOMPATIBILITY\"
2438 dev \"INCOMPOSSIBLE\"
2439 dev \"INCUBUS\"
2440 dev \"INCUMBENT\"
2441 dev \"INDECISION\"
2442 dev \"INDIFFERENT\"
2443 dev \"INDIGESTION\"
2444 dev \"INDISCRETION\"
2445 dev \"INEXPEDIENT\"
2446 dev \"INFALAPSARIAN\"
2447 dev \"INFANCY\"
2448 dev \"INFERIAE\"
2449 dev \"INFIDEL\"
2450 dev \"INFLUENCE\"
2451 dev \"INGRATE\"
2452 dev \"INJURY\"
2453 dev \"INJUSTICE\"
2454 dev \"INK\"
2455 dev \"INNATE\"
2456 dev \"INSCRIPTION\"
2457 dev \"INSECTIVORA\"
2458 dev \"INSURANCE\"
2459 dev \"INSURRECTION\"
2460 dev \"INTENTION\"
2461 dev \"INTERPRETER\"
2462 dev \"INTERREGNUM\"
2463 dev \"INTIMACY\"
2464 dev \"INTRODUCTION\"
2465 dev \"INVENTOR\"
2466 dev \"IRRELIGION\"
2467 dev \"ITCH\"
2468 dev \"J\"
2469 dev \"JEALOUS\"
2470 dev \"JESTER\"
2471 dev \"JEWS-HARP\"
2472 dev \"JOSS-STICKS\"
2473 dev \"JUSTICE\"
2474 dev \"K\"
2475 dev \"KEEP\"
2476 dev \"KILL\"
2477 dev \"KILT\"
2478 dev \"KINDNESS\"
2479 dev \"KING\"
2480 dev \"KING'S EVIL\"
2481 dev \"KISS\"
2482 dev \"KLEPTOMANIAC\"
2483 dev \"KNIGHT\"
2484 dev \"KORAN\"
2485 dev \"LABOR\"
2486 dev \"LAND\"
2487 dev \"LANGUAGE\"
2488 dev \"LAOCOON\"
2489 dev \"LAP\"
2490 dev \"LAST\"
2491 dev \"LAUGHTER\"
2492 dev \"LAUREATE\"
2493 dev \"LAUREL\"
2494 dev \"LAW\"
2495 dev \"LAWFUL\"
2496 dev \"LAWYER\"
2497 dev \"LAZINESS\"
2498 dev \"LEAD\"
2499 dev \"LEARNING\"
2500 dev \"LECTURER\"
2501 dev \"LEGACY\"
2502 dev \"LEONINE\"
2503 dev \"LETTUCE\"
2504 dev \"LEVIATHAN\"
2505 dev \"LEXICOGRAPHER\"
2506 dev \"LIAR\"
2507 dev \"LIBERTY\"
2508 dev \"LICKSPITTLE\"
2509 dev \"LIFE\"
2510 dev \"LIGHTHOUSE\"
2511 dev \"LIMB\"
2512 dev \"LINEN\"
2513 dev \"LITIGANT\"
2514 dev \"LITIGATION\"
2515 dev \"LIVER\"
2516 dev \"LOCK-AND-KEY\"
2517 dev \"LODGER\"
2518 dev \"LOGANIMITY\"
2519 dev \"LOGIC\"
2520 dev \"LOGOMACHY\"
2521 dev \"LONGEVITY\"
2522 dev \"LOOKING-GLASS\"
2523 dev \"LOQUACITY\"
2524 dev \"LORD\"
2525 dev \"LORE\"
2526 dev \"LOSS\"
2527 dev \"LOVE\"
2528 dev \"LOW-BRED\"
2529 dev \"LUMINARY\"
2530 dev \"LUNARIAN\"
2531 dev \"LYRE\"
2532 dev \"MACE\"
2533 dev \"MACHINATION\"
2534 dev \"MACROBIAN\"
2535 dev \"MAD\"
2536 dev \"MAGDALENE\"
2537 dev \"MAGIC\"
2538 dev \"MAGNET\"
2539 dev \"MAGNETISM\"
2540 dev \"MAGNIFICENT\"
2541 dev \"MAGNITUDE\"
2542 dev \"MAGPIE\"
2543 dev \"MAIDEN\"
2544 dev \"MAJESTY\"
2545 dev \"MALE\"
2546 dev \"MALEFACTOR\"
2547 dev \"MALTHUSIAN\"
2548 dev \"MAMMALIA\"
2549 dev \"MAMMON\"
2550 dev \"MAN\"
2551 dev \"MANES\"
2552 dev \"MANICHEISM\"
2553 dev \"MANNA\"
2554 dev \"MARRIAGE\"
2555 dev \"MARTYR\"
2556 dev \"MATERIAL\"
2557 dev \"MAUSOLEUM\"
2558 dev \"MAYONNAISE\"
2559 dev \"ME\"
2560 dev \"MEANDER\"
2561 dev \"MEDAL\"
2562 dev \"MEDICINE\"
2563 dev \"MEEKNESS\"
2564 dev \"MEERSCHAUM\"
2565 dev \"MENDACIOUS\"
2566 dev \"MERCHANT\"
2567 dev \"MERCY\"
2568 dev \"MESMERISM\"
2569 dev \"METROPOLIS\"
2570 dev \"MILLENNIUM\"
2571 dev \"MIND\"
2572 dev \"MINE\"
2573 dev \"MINISTER\"
2574 dev \"MINOR\"
2575 dev \"MINSTREL\"
2576 dev \"MIRACLE\"
2577 dev \"MISCREANT\"
2578 dev \"MISDEMEANOR\"
2579 dev \"MISERICORDE\"
2580 dev \"MISFORTUNE\"
2581 dev \"MISS\"
2582 dev \"MOLECULE\"
2583 dev \"MONAD\"
2584 dev \"MONARCH\"
2585 dev \"MONARCHICAL GOVERNMENT\"
2586 dev \"MONDAY\"
2587 dev \"MONEY\"
2588 dev \"MONKEY\"
2589 dev \"MONOSYLLABIC\"
2590 dev \"MONSIGNOR\"
2591 dev \"MONUMENT\"
2592 dev \"MORAL\"
2593 dev \"MORE\"
2594 dev \"MOUSE\"
2595 dev \"MOUSQUETAIRE\"
2596 dev \"MOUTH\"
2597 dev \"MUGWUMP\"
2598 dev \"MULATTO\"
2599 dev \"MULTITUDE\"
2600 dev \"MUMMY\"
2601 dev \"MUSTANG\"
2602 dev \"MYRMIDON\"
2603 dev \"MYTHOLOGY\"
2604 dev \"NECTAR\"
2605 dev \"NEGRO\"
2606 dev \"NEIGHBOR\"
2607 dev \"NEPOTISM\"
2608 dev \"NEWTONIAN\"
2609 dev \"NIHILIST\"
2610 dev \"NIRVANA\"
2611 dev \"NOBLEMAN\"
2612 dev \"NOISE\"
2613 dev \"NOMINATE\"
2614 dev \"NOMINEE\"
2615 dev \"NON-COMBATANT\"
2616 dev \"NONSENSE\"
2617 dev \"NOSE\"
2618 dev \"NOTORIETY\"
2619 dev \"NOUMENON\"
2620 dev \"NOVEL\"
2621 dev \"NOVEMBER\"
2622 dev \"OATH\"
2623 dev \"OBLIVION\"
2624 dev \"OBSERVATORY\"
2625 dev \"OBSESSED\"
2626 dev \"OBSOLETE\"
2627 dev \"OBSTINATE\"
2628 dev \"OCCASIONAL\"
2629 dev \"OCCIDENT\"
2630 dev \"OCEAN\"
2631 dev \"OFFENSIVE\"
2632 dev \"OLD\"
2633 dev \"OLEAGINOUS\"
2634 dev \"OLYMPIAN\"
2635 dev \"OMEN\"
2636 dev \"ONCE\"
2637 dev \"OPERA\"
2638 dev \"OPIATE\"
2639 dev \"OPPORTUNITY\"
2640 dev \"OPPOSE\"
2641 dev \"OPPOSITION\"
2642 dev \"OPTIMISM\"
2643 dev \"OPTIMIST\"
2644 dev \"ORATORY\"
2645 dev \"ORPHAN\"
2646 dev \"ORTHODOX\"
2647 dev \"ORTHOGRAPHY\"
2648 dev \"OSTRICH\"
2649 dev \"OTHERWISE\"
2650 dev \"OUT-OF-DOORS\"
2651 dev \"OUTCOME\"
2652 dev \"OUTDO\"
2653 dev \"OVATION\"
2654 dev \"OVEREAT\"
2655 dev \"OVERWORK\"
2656 dev \"OWE\"
2657 dev \"OYSTER\"
2658 dev \"PAIN\"
2659 dev \"PAINTING\"
2660 dev \"PALACE\"
2661 dev \"PALM\"
2662 dev \"PALMISTRY\"
2663 dev \"PANDEMONIUM\"
2664 dev \"PANTALOONS\"
2665 dev \"PANTHEISM\"
2666 dev \"PANTOMIME\"
2667 dev \"PARDON\"
2668 dev \"PASSPORT\"
2669 dev \"PAST\"
2670 dev \"PASTIME\"
2671 dev \"PATIENCE\"
2672 dev \"PATRIOT\"
2673 dev \"PATRIOTISM\"
2674 dev \"PEACE\"
2675 dev \"PEDESTRIAN\"
2676 dev \"PEDIGREE\"
2677 dev \"PENITENT\"
2678 dev \"PERFECTION\"
2679 dev \"PERIPATETIC\"
2680 dev \"PERORATION\"
2681 dev \"PERSEVERANCE\"
2682 dev \"PESSIMISM\"
2683 dev \"PHILANTHROPIST\"
2684 dev \"PHILISTINE\"
2685 dev \"PHILOSOPHY\"
2686 dev \"PHOENIX\"
2687 dev \"PHONOGRAPH\"
2688 dev \"PHOTOGRAPH\"
2689 dev \"PHRENOLOGY\"
2690 dev \"PHYSICIAN\"
2691 dev \"PHYSIOGNOMY\"
2692 dev \"PIANO\"
2693 dev \"PICKANINNY\"
2694 dev \"PICTURE\"
2695 dev \"PIE\"
2696 dev \"PIETY\"
2697 dev \"PIG\"
2698 dev \"PIGMY\"
2699 dev \"PILGRIM\"
2700 dev \"PILLORY\"
2701 dev \"PIRACY\"
2702 dev \"PITIFUL\"
2703 dev \"PITY\"
2704 dev \"PLAGIARISM\"
2705 dev \"PLAGIARIZE\"
2706 dev \"PLAGUE\"
2707 dev \"PLAN\"
2708 dev \"PLATITUDE\"
2709 dev \"PLATONIC\"
2710 dev \"PLAUDITS\"
2711 dev \"PLEASE\"
2712 dev \"PLEASURE\"
2713 dev \"PLEBEIAN\"
2714 dev \"PLEBISCITE\"
2715 dev \"PLENIPOTENTIARY\"
2716 dev \"PLEONASM\"
2717 dev \"PLOW\"
2718 dev \"PLUNDER\"
2719 dev \"POCKET\"
2720 dev \"POETRY\"
2721 dev \"POKER\"
2722 dev \"POLICE\"
2723 dev \"POLITENESS\"
2724 dev \"POLITICIAN\"
2725 dev \"POLITICS\"
2726 dev \"POLYGAMY\"
2727 dev \"POPULIST\"
2728 dev \"PORTABLE\"
2729 dev \"PORTUGUESE\"
2730 dev \"POSITIVE\"
2731 dev \"POSITIVISM\"
2732 dev \"POSTERITY\"
2733 dev \"POTABLE\"
2734 dev \"POVERTY\"
2735 dev \"PRAY\"
2736 dev \"PRE-ADAMITE\"
2737 dev \"PRE-EXISTENCE\"
2738 dev \"PRECEDENT\"
2739 dev \"PRECEDENT\"
2740 dev \"PRECIPITATE\"
2741 dev \"PREDESTINATION\"
2742 dev \"PREDICAMENT\"
2743 dev \"PREDILECTION\"
2744 dev \"PREFERENCE\"
2745 dev \"PREHISTORIC\"
2746 dev \"PREJUDICE\"
2747 dev \"PRELATE\"
2748 dev \"PREROGATIVE\"
2749 dev \"PRESBYTERIAN\"
2750 dev \"PRESCRIPTION\"
2751 dev \"PRESENT\"
2752 dev \"PRESENTABLE\"
2753 dev \"PRESIDE\"
2754 dev \"PRESIDENCY\"
2755 dev \"PRESIDENT\"
2756 dev \"PREVARICATOR\"
2757 dev \"PRICE\"
2758 dev \"PRIMATE\"
2759 dev \"PRISON\"
2760 dev \"PRIVATE\"
2761 dev \"PROBOSCIS\"
2762 dev \"PROJECTILE\"
2763 dev \"PROOF\"
2764 dev \"PROOF-READER\"
2765 dev \"PROPERTY\"
2766 dev \"PROPHECY\"
2767 dev \"PROSPECT\"
2768 dev \"PROVIDENTIAL\"
2769 dev \"PRUDE\"
2770 dev \"PUBLISH\"
2771 dev \"PUSH\"
2772 dev \"PYRRHONISM\"
2773 dev \"QUEEN\"
2774 dev \"QUILL\"
2775 dev \"QUIVER\"
2776 dev \"QUIXOTIC\"
2777 dev \"QUORUM\"
2778 dev \"QUOTATION\"
2779 dev \"QUOTIENT\"
2780 dev \"RABBLE\"
2781 dev \"RACK\"
2782 dev \"RADICALISM\"
2783 dev \"RADIUM\"
2784 dev \"RAILROAD\"
2785 dev \"RAMSHACKLE\"
2786 dev \"RANK\"
2787 dev \"RANSOM\"
2788 dev \"RAPACITY\"
2789 dev \"RAREBIT\"
2790 dev \"RASCAL\"
2791 dev \"RASCALITY\"
2792 dev \"RASH\"
2793 dev \"RATIONAL\"
2794 dev \"RATTLESNAKE\"
2795 dev \"RAZOR\"
2796 dev \"REACH\"
2797 dev \"READING\"
2798 dev \"REALISM\"
2799 dev \"REALITY\"
2800 dev \"REALLY\"
2801 dev \"REAR\"
2802 dev \"REASON\"
2803 dev \"REASON\"
2804 dev \"REASONABLE\"
2805 dev \"REBEL\"
2806 dev \"RECOLLECT\"
2807 dev \"RECONCILIATION\"
2808 dev \"RECONSIDER\"
2809 dev \"RECOUNT\"
2810 dev \"RECREATION\"
2811 dev \"RECRUIT\"
2812 dev \"RECTOR\"
2813 dev \"RED-SKIN\"
2814 dev \"REDEMPTION\"
2815 dev \"REDRESS\"
2816 dev \"REDUNDANT\"
2817 dev \"REFERENDUM\"
2818 dev \"REFLECTION\"
2819 dev \"REFORM\"
2820 dev \"REFUGE\"
2821 dev \"REFUSAL\"
2822 dev \"REGALIA\"
2823 dev \"RELIGION\"
2824 dev \"RELIQUARY\"
2825 dev \"RENOWN\"
2826 dev \"REPARATION\"
2827 dev \"REPARTEE\"
2828 dev \"REPENTANCE\"
2829 dev \"REPLICA\"
2830 dev \"REPORTER\"
2831 dev \"REPOSE\"
2832 dev \"REPRESENTATIVE\"
2833 dev \"REPROBATION\"
2834 dev \"REPUBLIC\"
2835 dev \"REQUIEM\"
2836 dev \"RESIDENT\"
2837 dev \"RESIGN\"
2838 dev \"RESOLUTE\"
2839 dev \"RESPECTABILITY\"
2840 dev \"RESPIRATOR\"
2841 dev \"RESPITE\"
2842 dev \"RESPLENDENT\"
2843 dev \"RESPOND\"
2844 dev \"RESPONSIBILITY\"
2845 dev \"RESTITUTIONS\"
2846 dev \"RESTITUTOR\"
2847 dev \"RETALIATION\"
2848 dev \"RETRIBUTION\"
2849 dev \"REVEILLE\"
2850 dev \"REVELATION\"
2851 dev \"REVERENCE\"
2852 dev \"REVIEW\"
2853 dev \"REVOLUTION\"
2854 dev \"RHADOMANCER\"
2855 dev \"RIBALDRY\"
2856 dev \"RIBROASTER\"
2857 dev \"RICE-WATER\"
2858 dev \"RICH\"
2859 dev \"RICHES\"
2860 dev \"RIDICULE\"
2861 dev \"RIGHT\"
2862 dev \"RIGHTEOUSNESS\"
2863 dev \"RIME\"
2864 dev \"RIMER\"
2865 dev \"RIOT\"
2866 dev \"RITE\"
2867 dev \"RITUALISM\"
2868 dev \"ROAD\"
2869 dev \"ROBBER\"
2870 dev \"ROMANCE\"
2871 dev \"ROPE\"
2872 dev \"ROSTRUM\"
2873 dev \"ROUNDHEAD\"
2874 dev \"RUBBISH\"
2875 dev \"RUIN\"
2876 dev \"RUM\"
2877 dev \"RUMOR\"
2878 dev \"RUSSIAN\"
2879 dev \"SABBATH\"
2880 dev \"SACERDOTALIST\"
2881 dev \"SACRAMENT\"
2882 dev \"SACRED\"
2883 dev \"SAFETY-CLUTCH\"
2884 dev \"SAINT\"
2885 dev \"SALACITY\"
2886 dev \"SALAMANDER\"
2887 dev \"SANDLOTTER\"
2888 dev \"SARCOPHAGUS\"
2889 dev \"SATAN\"
2890 dev \"SATIETY\"
2891 dev \"SATIRE\"
2892 dev \"SATYR\"
2893 dev \"SAUCE\"
2894 dev \"SAW\"
2895 dev \"SCARABAEUS\"
2896 dev \"SCARABEE\"
2897 dev \"SCARIFICATION\"
2898 dev \"SCEPTER\"
2899 dev \"SCIMETAR\"
2900 dev \"SCRAP-BOOK\"
2901 dev \"SCRIBBLER\"
2902 dev \"SCRIPTURES\"
2903 dev \"SEAL\"
2904 dev \"SEINE\"
2905 dev \"SELF-ESTEEM\"
2906 dev \"SELF-EVIDENT\"
2907 dev \"SELFISH\"
2908 dev \"SENATE\"
2909 dev \"SERIAL\"
2910 dev \"SEVERALTY\"
2911 dev \"SHERIFF\"
2912 dev \"SIREN\"
2913 dev \"SLANG\"
2914 dev \"SMITHAREEN\"
2915 dev \"SOPHISTRY\"
2916 dev \"SORCERY\"
2917 dev \"SOUL\"
2918 dev \"SPOOKER\"
2919 dev \"STORY\"
2920 dev \"SUCCESS\"
2921 dev \"SUFFRAGE\"
2922 dev \"SYCOPHANT\"
2923 dev \"SYLLOGISM\"
2924 dev \"SYLPH\"
2925 dev \"SYMBOL\"
2926 dev \"SYMBOLIC\"
2927 dev \"T\"
2928 dev \"TABLE D'HOTE\"
2929 dev \"TAIL\"
2930 dev \"TAKE\"
2931 dev \"TALK\"
2932 dev \"TARIFF\"
2933 dev \"TECHNICALITY\"
2934 dev \"TEDIUM\"
2935 dev \"TEETOTALER\"
2936 dev \"TELEPHONE\"
2937 dev \"TELESCOPE\"
2938 dev \"TENACITY\"
2939 dev \"THEOSOPHY\"
2940 dev \"TIGHTS\"
2941 dev \"TOMB\"
2942 dev \"TOPE\"
2943 dev \"TORTOISE\"
2944 dev \"TREE\"
2945 dev \"TRIAL\"
2946 dev \"TRICHINOSIS\"
2947 dev \"TRINITY\"
2948 dev \"TROGLODYTE\"
2949 dev \"TRUCE\"
2950 dev \"TRUST\"
2951 dev \"TRUTH\"
2952 dev \"TRUTHFUL\"
2953 dev \"TURKEY\"
2954 dev \"TWICE\"
2955 dev \"TYPE\"
2956 dev \"TZETZE\"
2957 dev \"UBIQUITY\"
2958 dev \"UGLINESS\"
2959 dev \"ULTIMATUM\"
2960 dev \"UN-AMERICAN\"
2961 dev \"UNCTION\"
2962 dev \"UNDERSTANDING\"
2963 dev \"UNITARIAN\"
2964 dev \"UNIVERSALIST\"
2965 dev \"URBANITY\"
2966 dev \"USAGE\"
2967 dev \"UXORIOUSNESS\"
2968 dev \"VALOR\"
2969 dev \"VANITY\"
2970 dev \"VIRTUES\"
2971 dev \"VITUPERATION\"
2972 dev \"VOTE\"
2973 dev \"W\"
2974 dev \"WALL STREET\"
2975 dev \"WAR\"
2976 dev \"WASHINGTONIAN\"
2977 dev \"WEAKNESSES\"
2978 dev \"WEATHER\"
2979 dev \"WEDDING\"
2980 dev \"WEREWOLF\"
2981 dev \"WHANGDEPOOTENAWAH\"
2982 dev \"WHEAT\"
2983 dev \"WHITE\"
2984 dev \"WIDOW\"
2985 dev \"WINE\"
2986 dev \"WIT\"
2987 dev \"WITCH\"
2988 dev \"WITTICISM\"
2989 dev \"WOMAN\"
2990 dev \"WORMS'-MEAT\"
2991 dev \"WORSHIP\"
2992 dev \"WRATH\"
2993 dev \"X\"
2994 dev \"YANKEE\"
2995 dev \"YEAR\"
2996 dev \"YESTERDAY\"
2997 dev \"YOKE\"
2998 dev \"YOUTH\"
2999 dev \"ZANY\"
3000 dev \"ZANZIBARI\"
3001 dev \"ZEAL\"
3002 dev \"ZENITH\"
3003 dev \"ZEUS\"
3004 dev \"ZIGZAG\"
3005 dev \"ZOOLOGY\"
3006 .
3007 250
3008 221
3009 " | \
3010 $at_diff - "$at_stdout" || at_failed=:
3011 at_fn_check_status 0 $at_status "$at_srcdir/testsuite.at:25"
3012 $at_failed && at_fn_log_failure
3013 $at_traceon; }
3014
3015 set +x
3016 $at_times_p && times >"$at_times_file"
3017 ) 5>&1 2>&1 7>&- | eval $at_tee_pipe
3018 read at_status <"$at_status_file"
3019 #AT_STOP_1