Remove building with NOCRYPTO option
[minix.git] / external / bsd / bind / dist / unit / atf-src / bootstrap / testsuite
blob2c1aa3f38a524c8dc24725604f28b80f5a1549cf
1 #! /bin/sh
2 # Generated from bootstrap/testsuite.at by GNU Autoconf 2.69.
4 # Copyright (C) 2009-2012 Free Software Foundation, Inc.
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 ## -------------------- ##
12 # Be more Bourne compatible
13 DUALCASE=1; export DUALCASE # for MKS sh
14 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15 emulate sh
16 NULLCMD=:
17 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
20 setopt NO_GLOB_SUBST
21 else
22 case `(set -o) 2>/dev/null` in #(
23 *posix*) :
24 set -o posix ;; #(
25 *) :
27 esac
31 as_nl='
33 export as_nl
34 # Printing a long string crashes Solaris 7 /usr/bin/printf.
35 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
36 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
37 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
38 # Prefer a ksh shell builtin over an external printf program on Solaris,
39 # but without wasting forks for bash or zsh.
40 if test -z "$BASH_VERSION$ZSH_VERSION" \
41 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
42 as_echo='print -r --'
43 as_echo_n='print -rn --'
44 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='printf %s\n'
46 as_echo_n='printf %s'
47 else
48 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
49 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
50 as_echo_n='/usr/ucb/echo -n'
51 else
52 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
53 as_echo_n_body='eval
54 arg=$1;
55 case $arg in #(
56 *"$as_nl"*)
57 expr "X$arg" : "X\\(.*\\)$as_nl";
58 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
59 esac;
60 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
62 export as_echo_n_body
63 as_echo_n='sh -c $as_echo_n_body as_echo'
65 export as_echo_body
66 as_echo='sh -c $as_echo_body as_echo'
69 # The user is always right.
70 if test "${PATH_SEPARATOR+set}" != set; then
71 PATH_SEPARATOR=:
72 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
73 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
74 PATH_SEPARATOR=';'
79 # IFS
80 # We need space, tab and new line, in precisely that order. Quoting is
81 # there to prevent editors from complaining about space-tab.
82 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
83 # splitting by setting IFS to empty value.)
84 IFS=" "" $as_nl"
86 # Find who we are. Look in the path if we contain no directory separator.
87 as_myself=
88 case $0 in #((
89 *[\\/]* ) as_myself=$0 ;;
90 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
91 for as_dir in $PATH
93 IFS=$as_save_IFS
94 test -z "$as_dir" && as_dir=.
95 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
96 done
97 IFS=$as_save_IFS
100 esac
101 # We did not find ourselves, most probably we were run as `sh COMMAND'
102 # in which case we are not to be found in the path.
103 if test "x$as_myself" = x; then
104 as_myself=$0
106 if test ! -f "$as_myself"; then
107 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
108 exit 1
111 # Unset variables that we do not need and which cause bugs (e.g. in
112 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
113 # suppresses any "Segmentation fault" message there. '((' could
114 # trigger a bug in pdksh 5.2.14.
115 for as_var in BASH_ENV ENV MAIL MAILPATH
116 do eval test x\${$as_var+set} = xset \
117 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
118 done
119 PS1='$ '
120 PS2='> '
121 PS4='+ '
123 # NLS nuisances.
124 LC_ALL=C
125 export LC_ALL
126 LANGUAGE=C
127 export LANGUAGE
129 # CDPATH.
130 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
132 if test "x$CONFIG_SHELL" = x; then
133 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
134 emulate sh
135 NULLCMD=:
136 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
137 # is contrary to our usage. Disable this feature.
138 alias -g '\${1+\"\$@\"}'='\"\$@\"'
139 setopt NO_GLOB_SUBST
140 else
141 case \`(set -o) 2>/dev/null\` in #(
142 *posix*) :
143 set -o posix ;; #(
144 *) :
146 esac
149 as_required="as_fn_return () { (exit \$1); }
150 as_fn_success () { as_fn_return 0; }
151 as_fn_failure () { as_fn_return 1; }
152 as_fn_ret_success () { return 0; }
153 as_fn_ret_failure () { return 1; }
155 exitcode=0
156 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
157 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
158 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
159 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
160 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
162 else
163 exitcode=1; echo positional parameters were not saved.
165 test x\$exitcode = x0 || exit 1
166 test -x / || exit 1"
167 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
168 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
169 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
170 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
171 test \$(( 1 + 1 )) = 2 || exit 1"
172 if (eval "$as_required") 2>/dev/null; then :
173 as_have_required=yes
174 else
175 as_have_required=no
177 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
179 else
180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
181 as_found=false
182 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
184 IFS=$as_save_IFS
185 test -z "$as_dir" && as_dir=.
186 as_found=:
187 case $as_dir in #(
189 for as_base in sh bash ksh sh5; do
190 # Try only shells that exist, to save several forks.
191 as_shell=$as_dir/$as_base
192 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
193 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
194 CONFIG_SHELL=$as_shell as_have_required=yes
195 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
196 break 2
199 done;;
200 esac
201 as_found=false
202 done
203 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
204 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
205 CONFIG_SHELL=$SHELL as_have_required=yes
206 fi; }
207 IFS=$as_save_IFS
210 if test "x$CONFIG_SHELL" != x; then :
211 export CONFIG_SHELL
212 # We cannot yet assume a decent shell, so we have to provide a
213 # neutralization value for shells without unset; and this also
214 # works around shells that cannot unset nonexistent variables.
215 # Preserve -v and -x to the replacement shell.
216 BASH_ENV=/dev/null
217 ENV=/dev/null
218 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
219 case $- in # ((((
220 *v*x* | *x*v* ) as_opts=-vx ;;
221 *v* ) as_opts=-v ;;
222 *x* ) as_opts=-x ;;
223 * ) as_opts= ;;
224 esac
225 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
226 # Admittedly, this is quite paranoid, since all the known shells bail
227 # out after a failed `exec'.
228 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
229 exit 255
232 if test x$as_have_required = xno; then :
233 $as_echo "$0: This script requires a shell more modern than all"
234 $as_echo "$0: the shells that I found on your system."
235 if test x${ZSH_VERSION+set} = xset ; then
236 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
237 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
238 else
239 $as_echo "$0: Please tell bug-autoconf@gnu.org 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."
244 exit 1
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
254 ## --------------------- ##
255 ## M4sh Shell Functions. ##
256 ## --------------------- ##
257 # as_fn_unset VAR
258 # ---------------
259 # Portably unset VAR.
260 as_fn_unset ()
262 { eval $1=; unset $1;}
264 as_unset=as_fn_unset
266 # as_fn_set_status STATUS
267 # -----------------------
268 # Set $? to STATUS, without forking.
269 as_fn_set_status ()
271 return $1
272 } # as_fn_set_status
274 # as_fn_exit STATUS
275 # -----------------
276 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
277 as_fn_exit ()
279 set +e
280 as_fn_set_status $1
281 exit $1
282 } # as_fn_exit
284 # as_fn_mkdir_p
285 # -------------
286 # Create "$as_dir" as a directory, including parents if necessary.
287 as_fn_mkdir_p ()
290 case $as_dir in #(
291 -*) as_dir=./$as_dir;;
292 esac
293 test -d "$as_dir" || eval $as_mkdir_p || {
294 as_dirs=
295 while :; do
296 case $as_dir in #(
297 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
298 *) as_qdir=$as_dir;;
299 esac
300 as_dirs="'$as_qdir' $as_dirs"
301 as_dir=`$as_dirname -- "$as_dir" ||
302 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
303 X"$as_dir" : 'X\(//\)[^/]' \| \
304 X"$as_dir" : 'X\(//\)$' \| \
305 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
306 $as_echo X"$as_dir" |
307 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
308 s//\1/
311 /^X\(\/\/\)[^/].*/{
312 s//\1/
315 /^X\(\/\/\)$/{
316 s//\1/
319 /^X\(\/\).*/{
320 s//\1/
323 s/.*/./; q'`
324 test -d "$as_dir" && break
325 done
326 test -z "$as_dirs" || eval "mkdir $as_dirs"
327 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
330 } # as_fn_mkdir_p
332 # as_fn_executable_p FILE
333 # -----------------------
334 # Test if FILE is an executable regular file.
335 as_fn_executable_p ()
337 test -f "$1" && test -x "$1"
338 } # as_fn_executable_p
339 # as_fn_append VAR VALUE
340 # ----------------------
341 # Append the text in VALUE to the end of the definition contained in VAR. Take
342 # advantage of any shell optimizations that allow amortized linear growth over
343 # repeated appends, instead of the typical quadratic growth present in naive
344 # implementations.
345 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
346 eval 'as_fn_append ()
348 eval $1+=\$2
350 else
351 as_fn_append ()
353 eval $1=\$$1\$2
355 fi # as_fn_append
357 # as_fn_arith ARG...
358 # ------------------
359 # Perform arithmetic evaluation on the ARGs, and store the result in the
360 # global $as_val. Take advantage of shells that can avoid forks. The arguments
361 # must be portable across $(()) and expr.
362 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
363 eval 'as_fn_arith ()
365 as_val=$(( $* ))
367 else
368 as_fn_arith ()
370 as_val=`expr "$@" || test $? -eq 1`
372 fi # as_fn_arith
375 # as_fn_error STATUS ERROR [LINENO LOG_FD]
376 # ----------------------------------------
377 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
378 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
379 # script with STATUS, using 1 if that was 0.
380 as_fn_error ()
382 as_status=$1; test $as_status -eq 0 && as_status=1
383 if test "$4"; then
384 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
385 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
387 $as_echo "$as_me: error: $2" >&2
388 as_fn_exit $as_status
389 } # as_fn_error
391 if expr a : '\(a\)' >/dev/null 2>&1 &&
392 test "X`expr 00001 : '.*\(...\)'`" = X001; then
393 as_expr=expr
394 else
395 as_expr=false
398 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
399 as_basename=basename
400 else
401 as_basename=false
404 as_me=`$as_basename -- "$0" ||
405 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
406 X"$0" : 'X\(//\)$' \| \
407 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
408 $as_echo X/"$0" |
409 sed '/^.*\/\([^/][^/]*\)\/*$/{
410 s//\1/
413 /^X\/\(\/\/\)$/{
414 s//\1/
417 /^X\/\(\/\).*/{
418 s//\1/
421 s/.*/./; q'`
423 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
424 as_dirname=dirname
425 else
426 as_dirname=false
429 # Avoid depending upon Character Ranges.
430 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
431 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
432 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
433 as_cr_digits='0123456789'
434 as_cr_alnum=$as_cr_Letters$as_cr_digits
437 as_lineno_1=$LINENO as_lineno_1a=$LINENO
438 as_lineno_2=$LINENO as_lineno_2a=$LINENO
439 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
440 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
441 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
442 sed -n '
444 /[$]LINENO/=
445 ' <$as_myself |
446 sed '
447 s/[$]LINENO.*/&-/
448 t lineno
450 :lineno
452 :loop
453 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
454 t loop
455 s/-\n.*//
456 ' >$as_me.lineno &&
457 chmod +x "$as_me.lineno" ||
458 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
460 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
461 # already done that, so ensure we don't try to do so again and fall
462 # in an infinite loop. This has already happened in practice.
463 _as_can_reexec=no; export _as_can_reexec
464 # Don't try to exec as it changes $[0], causing all sort of problems
465 # (the dirname of $[0] is not the place where we might find the
466 # original and so on. Autoconf is especially sensitive to this).
467 . "./$as_me.lineno"
468 # Exit status is that of the last command.
469 exit
472 ECHO_C= ECHO_N= ECHO_T=
473 case `echo -n x` in #(((((
474 -n*)
475 case `echo 'xy\c'` in
476 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
477 xy) ECHO_C='\c';;
478 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
479 ECHO_T=' ';;
480 esac;;
482 ECHO_N='-n';;
483 esac
485 rm -f conf$$ conf$$.exe conf$$.file
486 if test -d conf$$.dir; then
487 rm -f conf$$.dir/conf$$.file
488 else
489 rm -f conf$$.dir
490 mkdir conf$$.dir 2>/dev/null
492 if (echo >conf$$.file) 2>/dev/null; then
493 if ln -s conf$$.file conf$$ 2>/dev/null; then
494 as_ln_s='ln -s'
495 # ... but there are two gotchas:
496 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
497 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
498 # In both cases, we have to default to `cp -pR'.
499 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
500 as_ln_s='cp -pR'
501 elif ln conf$$.file conf$$ 2>/dev/null; then
502 as_ln_s=ln
503 else
504 as_ln_s='cp -pR'
506 else
507 as_ln_s='cp -pR'
509 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
510 rmdir conf$$.dir 2>/dev/null
512 if mkdir -p . 2>/dev/null; then
513 as_mkdir_p='mkdir -p "$as_dir"'
514 else
515 test -d ./-p && rmdir ./-p
516 as_mkdir_p=false
519 as_test_x='test -x'
520 as_executable_p=as_fn_executable_p
522 # Sed expression to map a string onto a valid CPP name.
523 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
525 # Sed expression to map a string onto a valid variable name.
526 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
532 SHELL=${CONFIG_SHELL-/bin/sh}
534 # How were we run?
535 at_cli_args="$@"
538 # Not all shells have the 'times' builtin; the subshell is needed to make
539 # sure we discard the 'times: not found' message from the shell.
540 at_times_p=false
541 (times) >/dev/null 2>&1 && at_times_p=:
543 # CLI Arguments to pass to the debugging scripts.
544 at_debug_args=
545 # -e sets to true
546 at_errexit_p=false
547 # Shall we be verbose? ':' means no, empty means yes.
548 at_verbose=:
549 at_quiet=
550 # Running several jobs in parallel, 0 means as many as test groups.
551 at_jobs=1
552 at_traceon=:
553 at_trace_echo=:
554 at_check_filter_trace=:
556 # Shall we keep the debug scripts? Must be `:' when the suite is
557 # run by a debug script, so that the script doesn't remove itself.
558 at_debug_p=false
559 # Display help message?
560 at_help_p=false
561 # Display the version message?
562 at_version_p=false
563 # List test groups?
564 at_list_p=false
565 # --clean
566 at_clean=false
567 # Test groups to run
568 at_groups=
569 # Whether to rerun failed tests.
570 at_recheck=
571 # Whether a write failure occurred
572 at_write_fail=0
574 # The directory we run the suite in. Default to . if no -C option.
575 at_dir=`pwd`
576 # An absolute reference to this testsuite script.
577 case $as_myself in
578 [\\/]* | ?:[\\/]* ) at_myself=$as_myself ;;
579 * ) at_myself=$at_dir/$as_myself ;;
580 esac
581 # Whether -C is in effect.
582 at_change_dir=false
584 # Whether to enable colored test results.
585 at_color=no
586 # List of the tested programs.
587 at_tested=''
588 # As many question marks as there are digits in the last test group number.
589 # Used to normalize the test group numbers so that `ls' lists them in
590 # numerical order.
591 at_format='?'
592 # Description of all the test groups.
593 at_help_all="1;t_test_program_filter.at:30;test_program: filter test cases by name;;
594 2;t_test_program_run.at:30;test_program: output format and exit codes;;
595 3;t_test_program_list.at:30;test_program: list test cases;;
596 4;t_test_program_compare.at:30;test_program: compare the user-visible interfaces;;
597 5;t_subr_atf_check.at:30;subr: atf_check function;;
599 # List of the all the test groups.
600 at_groups_all=`$as_echo "$at_help_all" | sed 's/;.*//'`
602 # at_fn_validate_ranges NAME...
603 # -----------------------------
604 # Validate and normalize the test group number contained in each variable
605 # NAME. Leading zeroes are treated as decimal.
606 at_fn_validate_ranges ()
608 for at_grp
610 eval at_value=\$$at_grp
611 if test $at_value -lt 1 || test $at_value -gt 5; then
612 $as_echo "invalid test group: $at_value" >&2
613 exit 1
615 case $at_value in
616 0*) # We want to treat leading 0 as decimal, like expr and test, but
617 # AS_VAR_ARITH treats it as octal if it uses $(( )).
618 # With XSI shells, ${at_value#${at_value%%[1-9]*}} avoids the
619 # expr fork, but it is not worth the effort to determine if the
620 # shell supports XSI when the user can just avoid leading 0.
621 eval $at_grp='`expr $at_value + 0`' ;;
622 esac
623 done
626 at_prev=
627 for at_option
629 # If the previous option needs an argument, assign it.
630 if test -n "$at_prev"; then
631 at_option=$at_prev=$at_option
632 at_prev=
635 case $at_option in
636 *=?*) at_optarg=`expr "X$at_option" : '[^=]*=\(.*\)'` ;;
637 *) at_optarg= ;;
638 esac
640 # Accept the important Cygnus configure options, so we can diagnose typos.
642 case $at_option in
643 --help | -h )
644 at_help_p=:
647 --list | -l )
648 at_list_p=:
651 --version | -V )
652 at_version_p=:
655 --clean | -c )
656 at_clean=:
659 --color )
660 at_color=always
662 --color=* )
663 case $at_optarg in
664 no | never | none) at_color=never ;;
665 auto | tty | if-tty) at_color=auto ;;
666 always | yes | force) at_color=always ;;
667 *) at_optname=`echo " $at_option" | sed 's/^ //; s/=.*//'`
668 as_fn_error $? "unrecognized argument to $at_optname: $at_optarg" ;;
669 esac
672 --debug | -d )
673 at_debug_p=:
676 --errexit | -e )
677 at_debug_p=:
678 at_errexit_p=:
681 --verbose | -v )
682 at_verbose=; at_quiet=:
685 --trace | -x )
686 at_traceon='set -x'
687 at_trace_echo=echo
688 at_check_filter_trace=at_fn_filter_trace
691 [0-9] | [0-9][0-9] | [0-9][0-9][0-9] | [0-9][0-9][0-9][0-9])
692 at_fn_validate_ranges at_option
693 as_fn_append at_groups "$at_option$as_nl"
696 # Ranges
697 [0-9]- | [0-9][0-9]- | [0-9][0-9][0-9]- | [0-9][0-9][0-9][0-9]-)
698 at_range_start=`echo $at_option |tr -d X-`
699 at_fn_validate_ranges at_range_start
700 at_range=`$as_echo "$at_groups_all" | \
701 sed -ne '/^'$at_range_start'$/,$p'`
702 as_fn_append at_groups "$at_range$as_nl"
705 -[0-9] | -[0-9][0-9] | -[0-9][0-9][0-9] | -[0-9][0-9][0-9][0-9])
706 at_range_end=`echo $at_option |tr -d X-`
707 at_fn_validate_ranges at_range_end
708 at_range=`$as_echo "$at_groups_all" | \
709 sed -ne '1,/^'$at_range_end'$/p'`
710 as_fn_append at_groups "$at_range$as_nl"
713 [0-9]-[0-9] | [0-9]-[0-9][0-9] | [0-9]-[0-9][0-9][0-9] | \
714 [0-9]-[0-9][0-9][0-9][0-9] | [0-9][0-9]-[0-9][0-9] | \
715 [0-9][0-9]-[0-9][0-9][0-9] | [0-9][0-9]-[0-9][0-9][0-9][0-9] | \
716 [0-9][0-9][0-9]-[0-9][0-9][0-9] | \
717 [0-9][0-9][0-9]-[0-9][0-9][0-9][0-9] | \
718 [0-9][0-9][0-9][0-9]-[0-9][0-9][0-9][0-9] )
719 at_range_start=`expr $at_option : '\(.*\)-'`
720 at_range_end=`expr $at_option : '.*-\(.*\)'`
721 if test $at_range_start -gt $at_range_end; then
722 at_tmp=$at_range_end
723 at_range_end=$at_range_start
724 at_range_start=$at_tmp
726 at_fn_validate_ranges at_range_start at_range_end
727 at_range=`$as_echo "$at_groups_all" | \
728 sed -ne '/^'$at_range_start'$/,/^'$at_range_end'$/p'`
729 as_fn_append at_groups "$at_range$as_nl"
732 # Directory selection.
733 --directory | -C )
734 at_prev=--directory
736 --directory=* )
737 at_change_dir=:
738 at_dir=$at_optarg
739 if test x- = "x$at_dir" ; then
740 at_dir=./-
744 # Parallel execution.
745 --jobs | -j )
746 at_jobs=0
748 --jobs=* | -j[0-9]* )
749 if test -n "$at_optarg"; then
750 at_jobs=$at_optarg
751 else
752 at_jobs=`expr X$at_option : 'X-j\(.*\)'`
754 case $at_jobs in *[!0-9]*)
755 at_optname=`echo " $at_option" | sed 's/^ //; s/[0-9=].*//'`
756 as_fn_error $? "non-numeric argument to $at_optname: $at_jobs" ;;
757 esac
760 # Keywords.
761 --keywords | -k )
762 at_prev=--keywords
764 --keywords=* )
765 at_groups_selected=$at_help_all
766 at_save_IFS=$IFS
767 IFS=,
768 set X $at_optarg
769 shift
770 IFS=$at_save_IFS
771 for at_keyword
773 at_invert=
774 case $at_keyword in
775 '!'*)
776 at_invert="-v"
777 at_keyword=`expr "X$at_keyword" : 'X!\(.*\)'`
779 esac
780 # It is on purpose that we match the test group titles too.
781 at_groups_selected=`$as_echo "$at_groups_selected" |
782 grep -i $at_invert "^[1-9][^;]*;.*[; ]$at_keyword[ ;]"`
783 done
784 # Smash the keywords.
785 at_groups_selected=`$as_echo "$at_groups_selected" | sed 's/;.*//'`
786 as_fn_append at_groups "$at_groups_selected$as_nl"
788 --recheck)
789 at_recheck=:
792 *=*)
793 at_envvar=`expr "x$at_option" : 'x\([^=]*\)='`
794 # Reject names that are not valid shell variable names.
795 case $at_envvar in
796 '' | [0-9]* | *[!_$as_cr_alnum]* )
797 as_fn_error $? "invalid variable name: \`$at_envvar'" ;;
798 esac
799 at_value=`$as_echo "$at_optarg" | sed "s/'/'\\\\\\\\''/g"`
800 # Export now, but save eval for later and for debug scripts.
801 export $at_envvar
802 as_fn_append at_debug_args " $at_envvar='$at_value'"
805 *) $as_echo "$as_me: invalid option: $at_option" >&2
806 $as_echo "Try \`$0 --help' for more information." >&2
807 exit 1
809 esac
810 done
812 # Verify our last option didn't require an argument
813 if test -n "$at_prev"; then :
814 as_fn_error $? "\`$at_prev' requires an argument"
817 # The file containing the suite.
818 at_suite_log=$at_dir/$as_me.log
820 # Selected test groups.
821 if test -z "$at_groups$at_recheck"; then
822 at_groups=$at_groups_all
823 else
824 if test -n "$at_recheck" && test -r "$at_suite_log"; then
825 at_oldfails=`sed -n '
826 /^Failed tests:$/,/^Skipped tests:$/{
827 s/^[ ]*\([1-9][0-9]*\):.*/\1/p
829 /^Unexpected passes:$/,/^## Detailed failed tests/{
830 s/^[ ]*\([1-9][0-9]*\):.*/\1/p
832 /^## Detailed failed tests/q
833 ' "$at_suite_log"`
834 as_fn_append at_groups "$at_oldfails$as_nl"
836 # Sort the tests, removing duplicates.
837 at_groups=`$as_echo "$at_groups" | sort -nu | sed '/^$/d'`
840 if test x"$at_color" = xalways \
841 || { test x"$at_color" = xauto && test -t 1; }; then
842 at_red=`printf '\033[0;31m'`
843 at_grn=`printf '\033[0;32m'`
844 at_lgn=`printf '\033[1;32m'`
845 at_blu=`printf '\033[1;34m'`
846 at_std=`printf '\033[m'`
847 else
848 at_red= at_grn= at_lgn= at_blu= at_std=
851 # Help message.
852 if $at_help_p; then
853 cat <<_ATEOF || at_write_fail=1
854 Usage: $0 [OPTION]... [VARIABLE=VALUE]... [TESTS]
856 Run all the tests, or the selected TESTS, given by numeric ranges, and
857 save a detailed log file. Upon failure, create debugging scripts.
859 Do not change environment variables directly. Instead, set them via
860 command line arguments. Set \`AUTOTEST_PATH' to select the executables
861 to exercise. Each relative directory is expanded as build and source
862 directories relative to the top level of this distribution.
863 E.g., from within the build directory /tmp/foo-1.0, invoking this:
865 $ $0 AUTOTEST_PATH=bin
867 is equivalent to the following, assuming the source directory is /src/foo-1.0:
869 PATH=/tmp/foo-1.0/bin:/src/foo-1.0/bin:\$PATH $0
870 _ATEOF
871 cat <<_ATEOF || at_write_fail=1
873 Operation modes:
874 -h, --help print the help message, then exit
875 -V, --version print version number, then exit
876 -c, --clean remove all the files this test suite might create and exit
877 -l, --list describes all the tests, or the selected TESTS
878 _ATEOF
879 cat <<_ATEOF || at_write_fail=1
881 Execution tuning:
882 -C, --directory=DIR
883 change to directory DIR before starting
884 --color[=never|auto|always]
885 enable colored test results on terminal, or always
886 -j, --jobs[=N]
887 Allow N jobs at once; infinite jobs with no arg (default 1)
888 -k, --keywords=KEYWORDS
889 select the tests matching all the comma-separated KEYWORDS
890 multiple \`-k' accumulate; prefixed \`!' negates a KEYWORD
891 --recheck select all tests that failed or passed unexpectedly last time
892 -e, --errexit abort as soon as a test fails; implies --debug
893 -v, --verbose force more detailed output
894 default for debugging scripts
895 -d, --debug inhibit clean up and top-level logging
896 default for debugging scripts
897 -x, --trace enable tests shell tracing
898 _ATEOF
899 cat <<_ATEOF || at_write_fail=1
901 Report bugs to <atf-devel@NetBSD.org>.
902 _ATEOF
903 exit $at_write_fail
906 # List of tests.
907 if $at_list_p; then
908 cat <<_ATEOF || at_write_fail=1
909 Automated Testing Framework 0.17 test suite: bootstrap tests test groups:
911 NUM: FILE-NAME:LINE TEST-GROUP-NAME
912 KEYWORDS
914 _ATEOF
915 # Pass an empty line as separator between selected groups and help.
916 $as_echo "$at_groups$as_nl$as_nl$at_help_all" |
917 awk 'NF == 1 && FS != ";" {
918 selected[$ 1] = 1
919 next
921 /^$/ { FS = ";" }
922 NF > 0 {
923 if (selected[$ 1]) {
924 printf " %3d: %-18s %s\n", $ 1, $ 2, $ 3
925 if ($ 4) {
926 lmax = 79
927 indent = " "
928 line = indent
929 len = length (line)
930 n = split ($ 4, a, " ")
931 for (i = 1; i <= n; i++) {
932 l = length (a[i]) + 1
933 if (i > 1 && len + l > lmax) {
934 print line
935 line = indent " " a[i]
936 len = length (line)
937 } else {
938 line = line " " a[i]
939 len += l
942 if (n)
943 print line
946 }' || at_write_fail=1
947 exit $at_write_fail
949 if $at_version_p; then
950 $as_echo "$as_me (Automated Testing Framework 0.17)" &&
951 cat <<\_ATEOF || at_write_fail=1
953 Copyright (C) 2012 Free Software Foundation, Inc.
954 This test suite is free software; the Free Software Foundation gives
955 unlimited permission to copy, distribute and modify it.
956 _ATEOF
957 exit $at_write_fail
960 # Should we print banners? Yes if more than one test is run.
961 case $at_groups in #(
962 *$as_nl* )
963 at_print_banners=: ;; #(
964 * ) at_print_banners=false ;;
965 esac
966 # Text for banner N, set to a single space once printed.
968 # Take any -C into account.
969 if $at_change_dir ; then
970 test x != "x$at_dir" && cd "$at_dir" \
971 || as_fn_error $? "unable to change directory"
972 at_dir=`pwd`
975 # Load the config files for any default variable assignments.
976 for at_file in atconfig atlocal
978 test -r $at_file || continue
979 . ./$at_file || as_fn_error $? "invalid content: $at_file"
980 done
982 # Autoconf <=2.59b set at_top_builddir instead of at_top_build_prefix:
983 : "${at_top_build_prefix=$at_top_builddir}"
985 # Perform any assignments requested during argument parsing.
986 eval "$at_debug_args"
988 # atconfig delivers names relative to the directory the test suite is
989 # in, but the groups themselves are run in testsuite-dir/group-dir.
990 if test -n "$at_top_srcdir"; then
991 builddir=../..
992 for at_dir_var in srcdir top_srcdir top_build_prefix
994 eval at_val=\$at_$at_dir_var
995 case $at_val in
996 [\\/$]* | ?:[\\/]* ) at_prefix= ;;
997 *) at_prefix=../../ ;;
998 esac
999 eval "$at_dir_var=\$at_prefix\$at_val"
1000 done
1003 ## -------------------- ##
1004 ## Directory structure. ##
1005 ## -------------------- ##
1007 # This is the set of directories and files used by this script
1008 # (non-literals are capitalized):
1010 # TESTSUITE - the testsuite
1011 # TESTSUITE.log - summarizes the complete testsuite run
1012 # TESTSUITE.dir/ - created during a run, remains after -d or failed test
1013 # + at-groups/ - during a run: status of all groups in run
1014 # | + NNN/ - during a run: meta-data about test group NNN
1015 # | | + check-line - location (source file and line) of current AT_CHECK
1016 # | | + status - exit status of current AT_CHECK
1017 # | | + stdout - stdout of current AT_CHECK
1018 # | | + stder1 - stderr, including trace
1019 # | | + stderr - stderr, with trace filtered out
1020 # | | + test-source - portion of testsuite that defines group
1021 # | | + times - timestamps for computing duration
1022 # | | + pass - created if group passed
1023 # | | + xpass - created if group xpassed
1024 # | | + fail - created if group failed
1025 # | | + xfail - created if group xfailed
1026 # | | + skip - created if group skipped
1027 # + at-stop - during a run: end the run if this file exists
1028 # + at-source-lines - during a run: cache of TESTSUITE line numbers for extraction
1029 # + 0..NNN/ - created for each group NNN, remains after -d or failed test
1030 # | + TESTSUITE.log - summarizes the group results
1031 # | + ... - files created during the group
1033 # The directory the whole suite works in.
1034 # Should be absolute to let the user `cd' at will.
1035 at_suite_dir=$at_dir/$as_me.dir
1036 # The file containing the suite ($at_dir might have changed since earlier).
1037 at_suite_log=$at_dir/$as_me.log
1038 # The directory containing helper files per test group.
1039 at_helper_dir=$at_suite_dir/at-groups
1040 # Stop file: if it exists, do not start new jobs.
1041 at_stop_file=$at_suite_dir/at-stop
1042 # The fifo used for the job dispatcher.
1043 at_job_fifo=$at_suite_dir/at-job-fifo
1045 if $at_clean; then
1046 test -d "$at_suite_dir" &&
1047 find "$at_suite_dir" -type d ! -perm -700 -exec chmod u+rwx \{\} \;
1048 rm -f -r "$at_suite_dir" "$at_suite_log"
1049 exit $?
1052 # Don't take risks: use only absolute directories in PATH.
1054 # For stand-alone test suites (ie. atconfig was not found),
1055 # AUTOTEST_PATH is relative to `.'.
1057 # For embedded test suites, AUTOTEST_PATH is relative to the top level
1058 # of the package. Then expand it into build/src parts, since users
1059 # may create executables in both places.
1060 AUTOTEST_PATH=`$as_echo "$AUTOTEST_PATH" | sed "s|:|$PATH_SEPARATOR|g"`
1061 at_path=
1062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1063 for as_dir in $AUTOTEST_PATH $PATH
1065 IFS=$as_save_IFS
1066 test -z "$as_dir" && as_dir=.
1067 test -n "$at_path" && as_fn_append at_path $PATH_SEPARATOR
1068 case $as_dir in
1069 [\\/]* | ?:[\\/]* )
1070 as_fn_append at_path "$as_dir"
1073 if test -z "$at_top_build_prefix"; then
1074 # Stand-alone test suite.
1075 as_fn_append at_path "$as_dir"
1076 else
1077 # Embedded test suite.
1078 as_fn_append at_path "$at_top_build_prefix$as_dir$PATH_SEPARATOR"
1079 as_fn_append at_path "$at_top_srcdir/$as_dir"
1082 esac
1083 done
1084 IFS=$as_save_IFS
1087 # Now build and simplify PATH.
1089 # There might be directories that don't exist, but don't redirect
1090 # builtins' (eg., cd) stderr directly: Ultrix's sh hates that.
1091 at_new_path=
1092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1093 for as_dir in $at_path
1095 IFS=$as_save_IFS
1096 test -z "$as_dir" && as_dir=.
1097 test -d "$as_dir" || continue
1098 case $as_dir in
1099 [\\/]* | ?:[\\/]* ) ;;
1100 * ) as_dir=`(cd "$as_dir" && pwd) 2>/dev/null` ;;
1101 esac
1102 case $PATH_SEPARATOR$at_new_path$PATH_SEPARATOR in
1103 *$PATH_SEPARATOR$as_dir$PATH_SEPARATOR*) ;;
1104 $PATH_SEPARATOR$PATH_SEPARATOR) at_new_path=$as_dir ;;
1105 *) as_fn_append at_new_path "$PATH_SEPARATOR$as_dir" ;;
1106 esac
1107 done
1108 IFS=$as_save_IFS
1110 PATH=$at_new_path
1111 export PATH
1113 # Setting up the FDs.
1117 # 5 is the log file. Not to be overwritten if `-d'.
1118 if $at_debug_p; then
1119 at_suite_log=/dev/null
1120 else
1121 : >"$at_suite_log"
1123 exec 5>>"$at_suite_log"
1125 # Banners and logs.
1126 $as_echo "## ------------------------------------------------------------- ##
1127 ## Automated Testing Framework 0.17 test suite: bootstrap tests. ##
1128 ## ------------------------------------------------------------- ##"
1130 $as_echo "## ------------------------------------------------------------- ##
1131 ## Automated Testing Framework 0.17 test suite: bootstrap tests. ##
1132 ## ------------------------------------------------------------- ##"
1133 echo
1135 $as_echo "$as_me: command line was:"
1136 $as_echo " \$ $0 $at_cli_args"
1137 echo
1139 # If ChangeLog exists, list a few lines in case it might help determining
1140 # the exact version.
1141 if test -n "$at_top_srcdir" && test -f "$at_top_srcdir/ChangeLog"; then
1142 $as_echo "## ---------- ##
1143 ## ChangeLog. ##
1144 ## ---------- ##"
1145 echo
1146 sed 's/^/| /;10q' "$at_top_srcdir/ChangeLog"
1147 echo
1151 cat <<_ASUNAME
1152 ## --------- ##
1153 ## Platform. ##
1154 ## --------- ##
1156 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1157 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1158 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1159 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1160 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1162 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1163 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1165 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1166 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1167 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1168 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1169 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1170 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1171 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1173 _ASUNAME
1175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1176 for as_dir in $PATH
1178 IFS=$as_save_IFS
1179 test -z "$as_dir" && as_dir=.
1180 $as_echo "PATH: $as_dir"
1181 done
1182 IFS=$as_save_IFS
1185 echo
1187 # Contents of the config files.
1188 for at_file in atconfig atlocal
1190 test -r $at_file || continue
1191 $as_echo "$as_me: $at_file:"
1192 sed 's/^/| /' $at_file
1193 echo
1194 done
1195 } >&5
1198 ## ------------------------- ##
1199 ## Autotest shell functions. ##
1200 ## ------------------------- ##
1202 # at_fn_banner NUMBER
1203 # -------------------
1204 # Output banner NUMBER, provided the testsuite is running multiple groups and
1205 # this particular banner has not yet been printed.
1206 at_fn_banner ()
1208 $at_print_banners || return 0
1209 eval at_banner_text=\$at_banner_text_$1
1210 test "x$at_banner_text" = "x " && return 0
1211 eval "at_banner_text_$1=\" \""
1212 if test -z "$at_banner_text"; then
1213 $at_first || echo
1214 else
1215 $as_echo "$as_nl$at_banner_text$as_nl"
1217 } # at_fn_banner
1219 # at_fn_check_prepare_notrace REASON LINE
1220 # ---------------------------------------
1221 # Perform AT_CHECK preparations for the command at LINE for an untraceable
1222 # command; REASON is the reason for disabling tracing.
1223 at_fn_check_prepare_notrace ()
1225 $at_trace_echo "Not enabling shell tracing (command contains $1)"
1226 $as_echo "$2" >"$at_check_line_file"
1227 at_check_trace=: at_check_filter=:
1228 : >"$at_stdout"; : >"$at_stderr"
1231 # at_fn_check_prepare_trace LINE
1232 # ------------------------------
1233 # Perform AT_CHECK preparations for the command at LINE for a traceable
1234 # command.
1235 at_fn_check_prepare_trace ()
1237 $as_echo "$1" >"$at_check_line_file"
1238 at_check_trace=$at_traceon at_check_filter=$at_check_filter_trace
1239 : >"$at_stdout"; : >"$at_stderr"
1242 # at_fn_check_prepare_dynamic COMMAND LINE
1243 # ----------------------------------------
1244 # Decide if COMMAND at LINE is traceable at runtime, and call the appropriate
1245 # preparation function.
1246 at_fn_check_prepare_dynamic ()
1248 case $1 in
1249 *$as_nl*)
1250 at_fn_check_prepare_notrace 'an embedded newline' "$2" ;;
1252 at_fn_check_prepare_trace "$2" ;;
1253 esac
1256 # at_fn_filter_trace
1257 # ------------------
1258 # Remove the lines in the file "$at_stderr" generated by "set -x" and print
1259 # them to stderr.
1260 at_fn_filter_trace ()
1262 mv "$at_stderr" "$at_stder1"
1263 grep '^ *+' "$at_stder1" >&2
1264 grep -v '^ *+' "$at_stder1" >"$at_stderr"
1267 # at_fn_log_failure FILE-LIST
1268 # ---------------------------
1269 # Copy the files in the list on stdout with a "> " prefix, and exit the shell
1270 # with a failure exit code.
1271 at_fn_log_failure ()
1273 for file
1274 do $as_echo "$file:"; sed 's/^/> /' "$file"; done
1275 echo 1 > "$at_status_file"
1276 exit 1
1279 # at_fn_check_skip EXIT-CODE LINE
1280 # -------------------------------
1281 # Check whether EXIT-CODE is a special exit code (77 or 99), and if so exit
1282 # the test group subshell with that same exit code. Use LINE in any report
1283 # about test failure.
1284 at_fn_check_skip ()
1286 case $1 in
1287 99) echo 99 > "$at_status_file"; at_failed=:
1288 $as_echo "$2: hard failure"; exit 99;;
1289 77) echo 77 > "$at_status_file"; exit 77;;
1290 esac
1293 # at_fn_check_status EXPECTED EXIT-CODE LINE
1294 # ------------------------------------------
1295 # Check whether EXIT-CODE is the EXPECTED exit code, and if so do nothing.
1296 # Otherwise, if it is 77 or 99, exit the test group subshell with that same
1297 # exit code; if it is anything else print an error message referring to LINE,
1298 # and fail the test.
1299 at_fn_check_status ()
1301 case $2 in
1302 $1 ) ;;
1303 77) echo 77 > "$at_status_file"; exit 77;;
1304 99) echo 99 > "$at_status_file"; at_failed=:
1305 $as_echo "$3: hard failure"; exit 99;;
1306 *) $as_echo "$3: exit code was $2, expected $1"
1307 at_failed=:;;
1308 esac
1311 # at_fn_diff_devnull FILE
1312 # -----------------------
1313 # Emit a diff between /dev/null and FILE. Uses "test -s" to avoid useless diff
1314 # invocations.
1315 at_fn_diff_devnull ()
1317 test -s "$1" || return 0
1318 $at_diff "$at_devnull" "$1"
1321 # at_fn_test NUMBER
1322 # -----------------
1323 # Parse out test NUMBER from the tail of this file.
1324 at_fn_test ()
1326 eval at_sed=\$at_sed$1
1327 sed "$at_sed" "$at_myself" > "$at_test_source"
1330 # at_fn_create_debugging_script
1331 # -----------------------------
1332 # Create the debugging script $at_group_dir/run which will reproduce the
1333 # current test group.
1334 at_fn_create_debugging_script ()
1337 echo "#! /bin/sh" &&
1338 echo 'test "${ZSH_VERSION+set}" = set && alias -g '\''${1+"$@"}'\''='\''"$@"'\''' &&
1339 $as_echo "cd '$at_dir'" &&
1340 $as_echo "exec \${CONFIG_SHELL-$SHELL} \"$at_myself\" -v -d $at_debug_args $at_group \${1+\"\$@\"}" &&
1341 echo 'exit 1'
1342 } >"$at_group_dir/run" &&
1343 chmod +x "$at_group_dir/run"
1346 ## -------------------------------- ##
1347 ## End of autotest shell functions. ##
1348 ## -------------------------------- ##
1350 $as_echo "## ---------------- ##
1351 ## Tested programs. ##
1352 ## ---------------- ##"
1353 echo
1354 } >&5
1356 # Report what programs are being tested.
1357 for at_program in : $at_tested
1359 test "$at_program" = : && continue
1360 case $at_program in
1361 [\\/]* | ?:[\\/]* ) $at_program_=$at_program ;;
1363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1364 for as_dir in $PATH
1366 IFS=$as_save_IFS
1367 test -z "$as_dir" && as_dir=.
1368 test -f "$as_dir/$at_program" && break
1369 done
1370 IFS=$as_save_IFS
1372 at_program_=$as_dir/$at_program ;;
1373 esac
1374 if test -f "$at_program_"; then
1376 $as_echo "$at_srcdir/testsuite.at:30: $at_program_ --version"
1377 "$at_program_" --version </dev/null
1378 echo
1379 } >&5 2>&1
1380 else
1381 as_fn_error $? "cannot find $at_program" "$LINENO" 5
1383 done
1386 $as_echo "## ------------------ ##
1387 ## Running the tests. ##
1388 ## ------------------ ##"
1389 } >&5
1391 at_start_date=`date`
1392 at_start_time=`date +%s 2>/dev/null`
1393 $as_echo "$as_me: starting at: $at_start_date" >&5
1395 # Create the master directory if it doesn't already exist.
1396 as_dir="$at_suite_dir"; as_fn_mkdir_p ||
1397 as_fn_error $? "cannot create \`$at_suite_dir'" "$LINENO" 5
1399 # Can we diff with `/dev/null'? DU 5.0 refuses.
1400 if diff /dev/null /dev/null >/dev/null 2>&1; then
1401 at_devnull=/dev/null
1402 else
1403 at_devnull=$at_suite_dir/devnull
1404 >"$at_devnull"
1407 # Use `diff -u' when possible.
1408 if at_diff=`diff -u "$at_devnull" "$at_devnull" 2>&1` && test -z "$at_diff"
1409 then
1410 at_diff='diff -u'
1411 else
1412 at_diff=diff
1415 # Get the last needed group.
1416 for at_group in : $at_groups; do :; done
1418 # Extract the start and end lines of each test group at the tail
1419 # of this file
1420 awk '
1421 BEGIN { FS="\a" }
1422 /^#AT_START_/ {
1423 start = NR
1425 /^#AT_STOP_/ {
1426 test = substr ($ 0, 10)
1427 print "at_sed" test "=\"1," start "d;" (NR-1) "q\""
1428 if (test == "'"$at_group"'") exit
1429 }' "$at_myself" > "$at_suite_dir/at-source-lines" &&
1430 . "$at_suite_dir/at-source-lines" ||
1431 as_fn_error $? "cannot create test line number cache" "$LINENO" 5
1432 rm -f "$at_suite_dir/at-source-lines"
1434 # Set number of jobs for `-j'; avoid more jobs than test groups.
1435 set X $at_groups; shift; at_max_jobs=$#
1436 if test $at_max_jobs -eq 0; then
1437 at_jobs=1
1439 if test $at_jobs -ne 1 &&
1440 { test $at_jobs -eq 0 || test $at_jobs -gt $at_max_jobs; }; then
1441 at_jobs=$at_max_jobs
1444 # If parallel mode, don't output banners, don't split summary lines.
1445 if test $at_jobs -ne 1; then
1446 at_print_banners=false
1447 at_quiet=:
1450 # Set up helper dirs.
1451 rm -rf "$at_helper_dir" &&
1452 mkdir "$at_helper_dir" &&
1453 cd "$at_helper_dir" &&
1454 { test -z "$at_groups" || mkdir $at_groups; } ||
1455 as_fn_error $? "testsuite directory setup failed" "$LINENO" 5
1457 # Functions for running a test group. We leave the actual
1458 # test group execution outside of a shell function in order
1459 # to avoid hitting zsh 4.x exit status bugs.
1461 # at_fn_group_prepare
1462 # -------------------
1463 # Prepare for running a test group.
1464 at_fn_group_prepare ()
1466 # The directory for additional per-group helper files.
1467 at_job_dir=$at_helper_dir/$at_group
1468 # The file containing the location of the last AT_CHECK.
1469 at_check_line_file=$at_job_dir/check-line
1470 # The file containing the exit status of the last command.
1471 at_status_file=$at_job_dir/status
1472 # The files containing the output of the tested commands.
1473 at_stdout=$at_job_dir/stdout
1474 at_stder1=$at_job_dir/stder1
1475 at_stderr=$at_job_dir/stderr
1476 # The file containing the code for a test group.
1477 at_test_source=$at_job_dir/test-source
1478 # The file containing dates.
1479 at_times_file=$at_job_dir/times
1481 # Be sure to come back to the top test directory.
1482 cd "$at_suite_dir"
1484 # Clearly separate the test groups when verbose.
1485 $at_first || $at_verbose echo
1487 at_group_normalized=$at_group
1489 eval 'while :; do
1490 case $at_group_normalized in #(
1491 '"$at_format"'*) break;;
1492 esac
1493 at_group_normalized=0$at_group_normalized
1494 done'
1497 # Create a fresh directory for the next test group, and enter.
1498 # If one already exists, the user may have invoked ./run from
1499 # within that directory; we remove the contents, but not the
1500 # directory itself, so that we aren't pulling the rug out from
1501 # under the shell's notion of the current directory.
1502 at_group_dir=$at_suite_dir/$at_group_normalized
1503 at_group_log=$at_group_dir/$as_me.log
1504 if test -d "$at_group_dir"; then
1505 find "$at_group_dir" -type d ! -perm -700 -exec chmod u+rwx {} \;
1506 rm -fr "$at_group_dir"/* "$at_group_dir"/.[!.] "$at_group_dir"/.??*
1507 fi ||
1508 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: test directory for $at_group_normalized could not be cleaned" >&5
1509 $as_echo "$as_me: WARNING: test directory for $at_group_normalized could not be cleaned" >&2;}
1510 # Be tolerant if the above `rm' was not able to remove the directory.
1511 as_dir="$at_group_dir"; as_fn_mkdir_p
1513 echo 0 > "$at_status_file"
1515 # In verbose mode, append to the log file *and* show on
1516 # the standard output; in quiet mode only write to the log.
1517 if test -z "$at_verbose"; then
1518 at_tee_pipe='tee -a "$at_group_log"'
1519 else
1520 at_tee_pipe='cat >> "$at_group_log"'
1524 # at_fn_group_banner ORDINAL LINE DESC PAD [BANNER]
1525 # -------------------------------------------------
1526 # Declare the test group ORDINAL, located at LINE with group description DESC,
1527 # and residing under BANNER. Use PAD to align the status column.
1528 at_fn_group_banner ()
1530 at_setup_line="$2"
1531 test -n "$5" && at_fn_banner $5
1532 at_desc="$3"
1533 case $1 in
1534 [0-9]) at_desc_line=" $1: ";;
1535 [0-9][0-9]) at_desc_line=" $1: " ;;
1536 *) at_desc_line="$1: " ;;
1537 esac
1538 as_fn_append at_desc_line "$3$4"
1539 $at_quiet $as_echo_n "$at_desc_line"
1540 echo "# -*- compilation -*-" >> "$at_group_log"
1543 # at_fn_group_postprocess
1544 # -----------------------
1545 # Perform cleanup after running a test group.
1546 at_fn_group_postprocess ()
1548 # Be sure to come back to the suite directory, in particular
1549 # since below we might `rm' the group directory we are in currently.
1550 cd "$at_suite_dir"
1552 if test ! -f "$at_check_line_file"; then
1553 sed "s/^ */$as_me: WARNING: /" <<_ATEOF
1554 A failure happened in a test group before any test could be
1555 run. This means that test suite is improperly designed. Please
1556 report this failure to <atf-devel@NetBSD.org>.
1557 _ATEOF
1558 $as_echo "$at_setup_line" >"$at_check_line_file"
1559 at_status=99
1561 $at_verbose $as_echo_n "$at_group. $at_setup_line: "
1562 $as_echo_n "$at_group. $at_setup_line: " >> "$at_group_log"
1563 case $at_xfail:$at_status in
1564 yes:0)
1565 at_msg="UNEXPECTED PASS"
1566 at_res=xpass
1567 at_errexit=$at_errexit_p
1568 at_color=$at_red
1570 no:0)
1571 at_msg="ok"
1572 at_res=pass
1573 at_errexit=false
1574 at_color=$at_grn
1576 *:77)
1577 at_msg='skipped ('`cat "$at_check_line_file"`')'
1578 at_res=skip
1579 at_errexit=false
1580 at_color=$at_blu
1582 no:* | *:99)
1583 at_msg='FAILED ('`cat "$at_check_line_file"`')'
1584 at_res=fail
1585 at_errexit=$at_errexit_p
1586 at_color=$at_red
1588 yes:*)
1589 at_msg='expected failure ('`cat "$at_check_line_file"`')'
1590 at_res=xfail
1591 at_errexit=false
1592 at_color=$at_lgn
1594 esac
1595 echo "$at_res" > "$at_job_dir/$at_res"
1596 # In parallel mode, output the summary line only afterwards.
1597 if test $at_jobs -ne 1 && test -n "$at_verbose"; then
1598 $as_echo "$at_desc_line $at_color$at_msg$at_std"
1599 else
1600 # Make sure there is a separator even with long titles.
1601 $as_echo " $at_color$at_msg$at_std"
1603 at_log_msg="$at_group. $at_desc ($at_setup_line): $at_msg"
1604 case $at_status in
1605 0|77)
1606 # $at_times_file is only available if the group succeeded.
1607 # We're not including the group log, so the success message
1608 # is written in the global log separately. But we also
1609 # write to the group log in case they're using -d.
1610 if test -f "$at_times_file"; then
1611 at_log_msg="$at_log_msg ("`sed 1d "$at_times_file"`')'
1612 rm -f "$at_times_file"
1614 $as_echo "$at_log_msg" >> "$at_group_log"
1615 $as_echo "$at_log_msg" >&5
1617 # Cleanup the group directory, unless the user wants the files
1618 # or the success was unexpected.
1619 if $at_debug_p || test $at_res = xpass; then
1620 at_fn_create_debugging_script
1621 if test $at_res = xpass && $at_errexit; then
1622 echo stop > "$at_stop_file"
1624 else
1625 if test -d "$at_group_dir"; then
1626 find "$at_group_dir" -type d ! -perm -700 -exec chmod u+rwx \{\} \;
1627 rm -fr "$at_group_dir"
1629 rm -f "$at_test_source"
1633 # Upon failure, include the log into the testsuite's global
1634 # log. The failure message is written in the group log. It
1635 # is later included in the global log.
1636 $as_echo "$at_log_msg" >> "$at_group_log"
1638 # Upon failure, keep the group directory for autopsy, and create
1639 # the debugging script. With -e, do not start any further tests.
1640 at_fn_create_debugging_script
1641 if $at_errexit; then
1642 echo stop > "$at_stop_file"
1645 esac
1649 ## ------------ ##
1650 ## Driver loop. ##
1651 ## ------------ ##
1654 if (set -m && set +m && set +b) >/dev/null 2>&1; then
1655 set +b
1656 at_job_control_on='set -m' at_job_control_off='set +m' at_job_group=-
1657 else
1658 at_job_control_on=: at_job_control_off=: at_job_group=
1661 for at_signal in 1 2 15; do
1662 trap 'set +x; set +e
1663 $at_job_control_off
1664 at_signal='"$at_signal"'
1665 echo stop > "$at_stop_file"
1666 trap "" $at_signal
1667 at_pgids=
1668 for at_pgid in `jobs -p 2>/dev/null`; do
1669 at_pgids="$at_pgids $at_job_group$at_pgid"
1670 done
1671 test -z "$at_pgids" || kill -$at_signal $at_pgids 2>/dev/null
1672 wait
1673 if test "$at_jobs" -eq 1 || test -z "$at_verbose"; then
1674 echo >&2
1676 at_signame=`kill -l $at_signal 2>&1 || echo $at_signal`
1677 set x $at_signame
1678 test 1 -gt 2 && at_signame=$at_signal
1679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: caught signal $at_signame, bailing out" >&5
1680 $as_echo "$as_me: WARNING: caught signal $at_signame, bailing out" >&2;}
1681 as_fn_arith 128 + $at_signal && exit_status=$as_val
1682 as_fn_exit $exit_status' $at_signal
1683 done
1685 rm -f "$at_stop_file"
1686 at_first=:
1688 if test $at_jobs -ne 1 &&
1689 rm -f "$at_job_fifo" &&
1690 test -n "$at_job_group" &&
1691 ( mkfifo "$at_job_fifo" && trap 'exit 1' PIPE STOP TSTP ) 2>/dev/null
1692 then
1693 # FIFO job dispatcher.
1695 trap 'at_pids=
1696 for at_pid in `jobs -p`; do
1697 at_pids="$at_pids $at_job_group$at_pid"
1698 done
1699 if test -n "$at_pids"; then
1700 at_sig=TSTP
1701 test "${TMOUT+set}" = set && at_sig=STOP
1702 kill -$at_sig $at_pids 2>/dev/null
1704 kill -STOP $$
1705 test -z "$at_pids" || kill -CONT $at_pids 2>/dev/null' TSTP
1707 echo
1708 # Turn jobs into a list of numbers, starting from 1.
1709 at_joblist=`$as_echo "$at_groups" | sed -n 1,${at_jobs}p`
1711 set X $at_joblist
1712 shift
1713 for at_group in $at_groups; do
1714 $at_job_control_on 2>/dev/null
1716 # Start one test group.
1717 $at_job_control_off
1718 if $at_first; then
1719 exec 7>"$at_job_fifo"
1720 else
1721 exec 6<&-
1723 trap 'set +x; set +e
1724 trap "" PIPE
1725 echo stop > "$at_stop_file"
1726 echo >&7
1727 as_fn_exit 141' PIPE
1728 at_fn_group_prepare
1729 if cd "$at_group_dir" &&
1730 at_fn_test $at_group &&
1731 . "$at_test_source"
1732 then :; else
1733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unable to parse test group: $at_group" >&5
1734 $as_echo "$as_me: WARNING: unable to parse test group: $at_group" >&2;}
1735 at_failed=:
1737 at_fn_group_postprocess
1738 echo >&7
1740 $at_job_control_off
1741 if $at_first; then
1742 at_first=false
1743 exec 6<"$at_job_fifo" 7>"$at_job_fifo"
1745 shift # Consume one token.
1746 if test $# -gt 0; then :; else
1747 read at_token <&6 || break
1748 set x $*
1750 test -f "$at_stop_file" && break
1751 done
1752 exec 7>&-
1753 # Read back the remaining ($at_jobs - 1) tokens.
1754 set X $at_joblist
1755 shift
1756 if test $# -gt 0; then
1757 shift
1758 for at_job
1760 read at_token
1761 done <&6
1763 exec 6<&-
1764 wait
1765 else
1766 # Run serially, avoid forks and other potential surprises.
1767 for at_group in $at_groups; do
1768 at_fn_group_prepare
1769 if cd "$at_group_dir" &&
1770 at_fn_test $at_group &&
1771 . "$at_test_source"; then :; else
1772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unable to parse test group: $at_group" >&5
1773 $as_echo "$as_me: WARNING: unable to parse test group: $at_group" >&2;}
1774 at_failed=:
1776 at_fn_group_postprocess
1777 test -f "$at_stop_file" && break
1778 at_first=false
1779 done
1782 # Wrap up the test suite with summary statistics.
1783 cd "$at_helper_dir"
1785 # Use ?..???? when the list must remain sorted, the faster * otherwise.
1786 at_pass_list=`for f in */pass; do echo $f; done | sed '/\*/d; s,/pass,,'`
1787 at_skip_list=`for f in */skip; do echo $f; done | sed '/\*/d; s,/skip,,'`
1788 at_xfail_list=`for f in */xfail; do echo $f; done | sed '/\*/d; s,/xfail,,'`
1789 at_xpass_list=`for f in ?/xpass ??/xpass ???/xpass ????/xpass; do
1790 echo $f; done | sed '/?/d; s,/xpass,,'`
1791 at_fail_list=`for f in ?/fail ??/fail ???/fail ????/fail; do
1792 echo $f; done | sed '/?/d; s,/fail,,'`
1794 set X $at_pass_list $at_xpass_list $at_xfail_list $at_fail_list $at_skip_list
1795 shift; at_group_count=$#
1796 set X $at_xpass_list; shift; at_xpass_count=$#; at_xpass_list=$*
1797 set X $at_xfail_list; shift; at_xfail_count=$#
1798 set X $at_fail_list; shift; at_fail_count=$#; at_fail_list=$*
1799 set X $at_skip_list; shift; at_skip_count=$#
1801 as_fn_arith $at_group_count - $at_skip_count && at_run_count=$as_val
1802 as_fn_arith $at_xpass_count + $at_fail_count && at_unexpected_count=$as_val
1803 as_fn_arith $at_xfail_count + $at_fail_count && at_total_fail_count=$as_val
1805 # Back to the top directory.
1806 cd "$at_dir"
1807 rm -rf "$at_helper_dir"
1809 # Compute the duration of the suite.
1810 at_stop_date=`date`
1811 at_stop_time=`date +%s 2>/dev/null`
1812 $as_echo "$as_me: ending at: $at_stop_date" >&5
1813 case $at_start_time,$at_stop_time in
1814 [0-9]*,[0-9]*)
1815 as_fn_arith $at_stop_time - $at_start_time && at_duration_s=$as_val
1816 as_fn_arith $at_duration_s / 60 && at_duration_m=$as_val
1817 as_fn_arith $at_duration_m / 60 && at_duration_h=$as_val
1818 as_fn_arith $at_duration_s % 60 && at_duration_s=$as_val
1819 as_fn_arith $at_duration_m % 60 && at_duration_m=$as_val
1820 at_duration="${at_duration_h}h ${at_duration_m}m ${at_duration_s}s"
1821 $as_echo "$as_me: test suite duration: $at_duration" >&5
1823 esac
1825 echo
1826 $as_echo "## ------------- ##
1827 ## Test results. ##
1828 ## ------------- ##"
1829 echo
1831 echo
1832 $as_echo "## ------------- ##
1833 ## Test results. ##
1834 ## ------------- ##"
1835 echo
1836 } >&5
1838 if test $at_run_count = 1; then
1839 at_result="1 test"
1840 at_were=was
1841 else
1842 at_result="$at_run_count tests"
1843 at_were=were
1845 if $at_errexit_p && test $at_unexpected_count != 0; then
1846 if test $at_xpass_count = 1; then
1847 at_result="$at_result $at_were run, one passed"
1848 else
1849 at_result="$at_result $at_were run, one failed"
1851 at_result="$at_result unexpectedly and inhibited subsequent tests."
1852 at_color=$at_red
1853 else
1854 # Don't you just love exponential explosion of the number of cases?
1855 at_color=$at_red
1856 case $at_xpass_count:$at_fail_count:$at_xfail_count in
1857 # So far, so good.
1858 0:0:0) at_result="$at_result $at_were successful." at_color=$at_grn ;;
1859 0:0:*) at_result="$at_result behaved as expected." at_color=$at_lgn ;;
1861 # Some unexpected failures
1862 0:*:0) at_result="$at_result $at_were run,
1863 $at_fail_count failed unexpectedly." ;;
1865 # Some failures, both expected and unexpected
1866 0:*:1) at_result="$at_result $at_were run,
1867 $at_total_fail_count failed ($at_xfail_count expected failure)." ;;
1868 0:*:*) at_result="$at_result $at_were run,
1869 $at_total_fail_count failed ($at_xfail_count expected failures)." ;;
1871 # No unexpected failures, but some xpasses
1872 *:0:*) at_result="$at_result $at_were run,
1873 $at_xpass_count passed unexpectedly." ;;
1875 # No expected failures, but failures and xpasses
1876 *:1:0) at_result="$at_result $at_were run,
1877 $at_unexpected_count did not behave as expected ($at_fail_count unexpected failure)." ;;
1878 *:*:0) at_result="$at_result $at_were run,
1879 $at_unexpected_count did not behave as expected ($at_fail_count unexpected failures)." ;;
1881 # All of them.
1882 *:*:1) at_result="$at_result $at_were run,
1883 $at_xpass_count passed unexpectedly,
1884 $at_total_fail_count failed ($at_xfail_count expected failure)." ;;
1885 *:*:*) at_result="$at_result $at_were run,
1886 $at_xpass_count passed unexpectedly,
1887 $at_total_fail_count failed ($at_xfail_count expected failures)." ;;
1888 esac
1890 if test $at_skip_count = 0 && test $at_run_count -gt 1; then
1891 at_result="All $at_result"
1895 # Now put skips in the mix.
1896 case $at_skip_count in
1897 0) ;;
1898 1) at_result="$at_result
1899 1 test was skipped." ;;
1900 *) at_result="$at_result
1901 $at_skip_count tests were skipped." ;;
1902 esac
1904 if test $at_unexpected_count = 0; then
1905 echo "$at_color$at_result$at_std"
1906 echo "$at_result" >&5
1907 else
1908 echo "${at_color}ERROR: $at_result$at_std" >&2
1909 echo "ERROR: $at_result" >&5
1911 echo
1912 $as_echo "## ------------------------ ##
1913 ## Summary of the failures. ##
1914 ## ------------------------ ##"
1916 # Summary of failed and skipped tests.
1917 if test $at_fail_count != 0; then
1918 echo "Failed tests:"
1919 $SHELL "$at_myself" $at_fail_list --list
1920 echo
1922 if test $at_skip_count != 0; then
1923 echo "Skipped tests:"
1924 $SHELL "$at_myself" $at_skip_list --list
1925 echo
1927 if test $at_xpass_count != 0; then
1928 echo "Unexpected passes:"
1929 $SHELL "$at_myself" $at_xpass_list --list
1930 echo
1932 if test $at_fail_count != 0; then
1933 $as_echo "## ---------------------- ##
1934 ## Detailed failed tests. ##
1935 ## ---------------------- ##"
1936 echo
1937 for at_group in $at_fail_list
1939 at_group_normalized=$at_group
1941 eval 'while :; do
1942 case $at_group_normalized in #(
1943 '"$at_format"'*) break;;
1944 esac
1945 at_group_normalized=0$at_group_normalized
1946 done'
1948 cat "$at_suite_dir/$at_group_normalized/$as_me.log"
1949 echo
1950 done
1951 echo
1953 if test -n "$at_top_srcdir"; then
1954 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
1955 ## ${at_top_build_prefix}config.log ##
1956 _ASBOX
1957 sed 's/^/| /' ${at_top_build_prefix}config.log
1958 echo
1960 } >&5
1962 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
1963 ## $as_me.log was created. ##
1964 _ASBOX
1966 echo
1967 if $at_debug_p; then
1968 at_msg='per-test log files'
1969 else
1970 at_msg="\`${at_testdir+${at_testdir}/}$as_me.log'"
1972 $as_echo "Please send $at_msg and all information you think might help:
1974 To: <atf-devel@NetBSD.org>
1975 Subject: [Automated Testing Framework 0.17] $as_me: $at_fail_list${at_fail_list:+ failed${at_xpass_list:+, }}$at_xpass_list${at_xpass_list:+ passed unexpectedly}
1977 You may investigate any problem if you feel able to do so, in which
1978 case the test suite provides a good starting point. Its output may
1979 be found below \`${at_testdir+${at_testdir}/}$as_me.dir'.
1981 exit 1
1984 exit 0
1986 ## ------------- ##
1987 ## Actual tests. ##
1988 ## ------------- ##
1989 #AT_START_1
1990 at_fn_group_banner 1 't_test_program_filter.at:30' \
1991 "test_program: filter test cases by name" " "
1992 at_xfail=no
1994 $as_echo "1. $at_setup_line: testing $at_desc ..."
1995 $at_traceon
1998 for h in tp_basic_c tp_basic_cpp tp_basic_sh; do
2000 { set +x
2001 $as_echo "$at_srcdir/t_test_program_filter.at:35: \$({
2002 old=\$(pwd)
2003 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2004 cd ..
2005 done
2006 topdir=\$(pwd)
2007 cd \${old}
2008 echo \${topdir}
2009 })/bootstrap/h_\${h} \\
2010 -s \$({
2011 old=\$(pwd)
2012 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2013 cd ..
2014 done
2015 topdir=\$(pwd)
2016 cd \${old}
2017 echo \${topdir}
2018 })/bootstrap invalid"
2019 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_test_program_filter.at:35"
2020 ( $at_check_trace; $({
2021 old=$(pwd)
2022 while test $(pwd) != '/' -a ! -e ./Makefile; do
2023 cd ..
2024 done
2025 topdir=$(pwd)
2026 cd ${old}
2027 echo ${topdir}
2028 })/bootstrap/h_${h} \
2029 -s $({
2030 old=$(pwd)
2031 while test $(pwd) != '/' -a ! -e ./Makefile; do
2032 cd ..
2033 done
2034 topdir=$(pwd)
2035 cd ${old}
2036 echo ${topdir}
2037 })/bootstrap invalid
2038 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
2039 at_status=$? at_failed=false
2040 $at_check_filter
2041 echo stderr:; tee stderr <"$at_stderr"
2042 at_fn_diff_devnull "$at_stdout" || at_failed=:
2043 at_fn_check_status 1 $at_status "$at_srcdir/t_test_program_filter.at:35"
2044 $at_failed && at_fn_log_failure
2045 $at_traceon; }
2047 { set +x
2048 $as_echo "$at_srcdir/t_test_program_filter.at:36: grep \"Unknown test case .invalid'\" stderr"
2049 at_fn_check_prepare_trace "t_test_program_filter.at:36"
2050 ( $at_check_trace; grep "Unknown test case .invalid'" stderr
2051 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
2052 at_status=$? at_failed=false
2053 $at_check_filter
2054 at_fn_diff_devnull "$at_stderr" || at_failed=:
2055 echo stdout:; cat "$at_stdout"
2056 at_fn_check_status 0 $at_status "$at_srcdir/t_test_program_filter.at:36"
2057 $at_failed && at_fn_log_failure
2058 $at_traceon; }
2061 { set +x
2062 $as_echo "$at_srcdir/t_test_program_filter.at:40: \$({
2063 old=\$(pwd)
2064 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2065 cd ..
2066 done
2067 topdir=\$(pwd)
2068 cd \${old}
2069 echo \${topdir}
2070 })/bootstrap/h_\${h} \\
2071 -s \$({
2072 old=\$(pwd)
2073 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2074 cd ..
2075 done
2076 topdir=\$(pwd)
2077 cd \${old}
2078 echo \${topdir}
2079 })/bootstrap \"*p*\""
2080 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_test_program_filter.at:40"
2081 ( $at_check_trace; $({
2082 old=$(pwd)
2083 while test $(pwd) != '/' -a ! -e ./Makefile; do
2084 cd ..
2085 done
2086 topdir=$(pwd)
2087 cd ${old}
2088 echo ${topdir}
2089 })/bootstrap/h_${h} \
2090 -s $({
2091 old=$(pwd)
2092 while test $(pwd) != '/' -a ! -e ./Makefile; do
2093 cd ..
2094 done
2095 topdir=$(pwd)
2096 cd ${old}
2097 echo ${topdir}
2098 })/bootstrap "*p*"
2099 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
2100 at_status=$? at_failed=false
2101 $at_check_filter
2102 echo stderr:; tee stderr <"$at_stderr"
2103 at_fn_diff_devnull "$at_stdout" || at_failed=:
2104 at_fn_check_status 1 $at_status "$at_srcdir/t_test_program_filter.at:40"
2105 $at_failed && at_fn_log_failure
2106 $at_traceon; }
2108 { set +x
2109 $as_echo "$at_srcdir/t_test_program_filter.at:41: grep \"Unknown test case .\\\\*p\\\\*'\" stderr"
2110 at_fn_check_prepare_trace "t_test_program_filter.at:41"
2111 ( $at_check_trace; grep "Unknown test case .\\*p\\*'" stderr
2112 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
2113 at_status=$? at_failed=false
2114 $at_check_filter
2115 at_fn_diff_devnull "$at_stderr" || at_failed=:
2116 echo stdout:; cat "$at_stdout"
2117 at_fn_check_status 0 $at_status "$at_srcdir/t_test_program_filter.at:41"
2118 $at_failed && at_fn_log_failure
2119 $at_traceon; }
2122 cat >expres <<'_ATEOF'
2123 passed
2124 _ATEOF
2126 { set +x
2127 $as_echo "$at_srcdir/t_test_program_filter.at:46: \$({
2128 old=\$(pwd)
2129 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2130 cd ..
2131 done
2132 topdir=\$(pwd)
2133 cd \${old}
2134 echo \${topdir}
2135 })/bootstrap/h_\${h} \\
2136 -s \$({
2137 old=\$(pwd)
2138 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2139 cd ..
2140 done
2141 topdir=\$(pwd)
2142 cd \${old}
2143 echo \${topdir}
2144 })/bootstrap -r resout pass"
2145 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_test_program_filter.at:46"
2146 ( $at_check_trace; $({
2147 old=$(pwd)
2148 while test $(pwd) != '/' -a ! -e ./Makefile; do
2149 cd ..
2150 done
2151 topdir=$(pwd)
2152 cd ${old}
2153 echo ${topdir}
2154 })/bootstrap/h_${h} \
2155 -s $({
2156 old=$(pwd)
2157 while test $(pwd) != '/' -a ! -e ./Makefile; do
2158 cd ..
2159 done
2160 topdir=$(pwd)
2161 cd ${old}
2162 echo ${topdir}
2163 })/bootstrap -r resout pass
2164 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
2165 at_status=$? at_failed=false
2166 $at_check_filter
2167 echo stderr:; cat "$at_stderr"
2168 echo stdout:; cat "$at_stdout"
2169 at_fn_check_status 0 $at_status "$at_srcdir/t_test_program_filter.at:46"
2170 $at_failed && at_fn_log_failure
2171 $at_traceon; }
2173 { set +x
2174 $as_echo "$at_srcdir/t_test_program_filter.at:47: cmp -s resout expres"
2175 at_fn_check_prepare_trace "t_test_program_filter.at:47"
2176 ( $at_check_trace; cmp -s resout expres
2177 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
2178 at_status=$? at_failed=false
2179 $at_check_filter
2180 at_fn_diff_devnull "$at_stderr" || at_failed=:
2181 at_fn_diff_devnull "$at_stdout" || at_failed=:
2182 at_fn_check_status 0 $at_status "$at_srcdir/t_test_program_filter.at:47"
2183 $at_failed && at_fn_log_failure
2184 $at_traceon; }
2187 cat >expres <<'_ATEOF'
2188 skipped: By design
2189 _ATEOF
2191 { set +x
2192 $as_echo "$at_srcdir/t_test_program_filter.at:51: \$({
2193 old=\$(pwd)
2194 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2195 cd ..
2196 done
2197 topdir=\$(pwd)
2198 cd \${old}
2199 echo \${topdir}
2200 })/bootstrap/h_\${h} \\
2201 -s \$({
2202 old=\$(pwd)
2203 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2204 cd ..
2205 done
2206 topdir=\$(pwd)
2207 cd \${old}
2208 echo \${topdir}
2209 })/bootstrap -r resout skip"
2210 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_test_program_filter.at:51"
2211 ( $at_check_trace; $({
2212 old=$(pwd)
2213 while test $(pwd) != '/' -a ! -e ./Makefile; do
2214 cd ..
2215 done
2216 topdir=$(pwd)
2217 cd ${old}
2218 echo ${topdir}
2219 })/bootstrap/h_${h} \
2220 -s $({
2221 old=$(pwd)
2222 while test $(pwd) != '/' -a ! -e ./Makefile; do
2223 cd ..
2224 done
2225 topdir=$(pwd)
2226 cd ${old}
2227 echo ${topdir}
2228 })/bootstrap -r resout skip
2229 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
2230 at_status=$? at_failed=false
2231 $at_check_filter
2232 echo stderr:; cat "$at_stderr"
2233 echo stdout:; cat "$at_stdout"
2234 at_fn_check_status 0 $at_status "$at_srcdir/t_test_program_filter.at:51"
2235 $at_failed && at_fn_log_failure
2236 $at_traceon; }
2238 { set +x
2239 $as_echo "$at_srcdir/t_test_program_filter.at:52: cmp -s resout expres"
2240 at_fn_check_prepare_trace "t_test_program_filter.at:52"
2241 ( $at_check_trace; cmp -s resout expres
2242 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
2243 at_status=$? at_failed=false
2244 $at_check_filter
2245 at_fn_diff_devnull "$at_stderr" || at_failed=:
2246 at_fn_diff_devnull "$at_stdout" || at_failed=:
2247 at_fn_check_status 0 $at_status "$at_srcdir/t_test_program_filter.at:52"
2248 $at_failed && at_fn_log_failure
2249 $at_traceon; }
2252 cat >expres <<'_ATEOF'
2253 failed: On purpose
2254 _ATEOF
2256 { set +x
2257 $as_echo "$at_srcdir/t_test_program_filter.at:56: \$({
2258 old=\$(pwd)
2259 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2260 cd ..
2261 done
2262 topdir=\$(pwd)
2263 cd \${old}
2264 echo \${topdir}
2265 })/bootstrap/h_\${h} \\
2266 -s \$({
2267 old=\$(pwd)
2268 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2269 cd ..
2270 done
2271 topdir=\$(pwd)
2272 cd \${old}
2273 echo \${topdir}
2274 })/bootstrap -r resout fail"
2275 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_test_program_filter.at:56"
2276 ( $at_check_trace; $({
2277 old=$(pwd)
2278 while test $(pwd) != '/' -a ! -e ./Makefile; do
2279 cd ..
2280 done
2281 topdir=$(pwd)
2282 cd ${old}
2283 echo ${topdir}
2284 })/bootstrap/h_${h} \
2285 -s $({
2286 old=$(pwd)
2287 while test $(pwd) != '/' -a ! -e ./Makefile; do
2288 cd ..
2289 done
2290 topdir=$(pwd)
2291 cd ${old}
2292 echo ${topdir}
2293 })/bootstrap -r resout fail
2294 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
2295 at_status=$? at_failed=false
2296 $at_check_filter
2297 echo stderr:; cat "$at_stderr"
2298 echo stdout:; cat "$at_stdout"
2299 at_fn_check_status 1 $at_status "$at_srcdir/t_test_program_filter.at:56"
2300 $at_failed && at_fn_log_failure
2301 $at_traceon; }
2303 { set +x
2304 $as_echo "$at_srcdir/t_test_program_filter.at:57: cmp -s resout expres"
2305 at_fn_check_prepare_trace "t_test_program_filter.at:57"
2306 ( $at_check_trace; cmp -s resout expres
2307 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
2308 at_status=$? at_failed=false
2309 $at_check_filter
2310 at_fn_diff_devnull "$at_stderr" || at_failed=:
2311 at_fn_diff_devnull "$at_stdout" || at_failed=:
2312 at_fn_check_status 0 $at_status "$at_srcdir/t_test_program_filter.at:57"
2313 $at_failed && at_fn_log_failure
2314 $at_traceon; }
2317 done
2319 set +x
2320 $at_times_p && times >"$at_times_file"
2321 ) 5>&1 2>&1 7>&- | eval $at_tee_pipe
2322 read at_status <"$at_status_file"
2323 #AT_STOP_1
2324 #AT_START_2
2325 at_fn_group_banner 2 't_test_program_run.at:30' \
2326 "test_program: output format and exit codes" " "
2327 at_xfail=no
2329 $as_echo "2. $at_setup_line: testing $at_desc ..."
2330 $at_traceon
2333 for h in tp_basic_c tp_basic_cpp tp_basic_sh; do
2335 { set +x
2336 $as_echo "$at_srcdir/t_test_program_run.at:35: \$({
2337 old=\$(pwd)
2338 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2339 cd ..
2340 done
2341 topdir=\$(pwd)
2342 cd \${old}
2343 echo \${topdir}
2344 })/bootstrap/h_\${h} \\
2345 -s \$({
2346 old=\$(pwd)
2347 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2348 cd ..
2349 done
2350 topdir=\$(pwd)
2351 cd \${old}
2352 echo \${topdir}
2353 })/bootstrap -r resout pass"
2354 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_test_program_run.at:35"
2355 ( $at_check_trace; $({
2356 old=$(pwd)
2357 while test $(pwd) != '/' -a ! -e ./Makefile; do
2358 cd ..
2359 done
2360 topdir=$(pwd)
2361 cd ${old}
2362 echo ${topdir}
2363 })/bootstrap/h_${h} \
2364 -s $({
2365 old=$(pwd)
2366 while test $(pwd) != '/' -a ! -e ./Makefile; do
2367 cd ..
2368 done
2369 topdir=$(pwd)
2370 cd ${old}
2371 echo ${topdir}
2372 })/bootstrap -r resout pass
2373 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
2374 at_status=$? at_failed=false
2375 $at_check_filter
2376 echo stderr:; tee stderr <"$at_stderr"
2377 echo stdout:; tee stdout <"$at_stdout"
2378 at_fn_check_status 0 $at_status "$at_srcdir/t_test_program_run.at:35"
2379 $at_failed && at_fn_log_failure
2380 $at_traceon; }
2382 echo 'passed' >expres <<EOF
2383 passed
2386 { set +x
2387 $as_echo "$at_srcdir/t_test_program_run.at:36: diff -u expres resout"
2388 at_fn_check_prepare_trace "t_test_program_run.at:36"
2389 ( $at_check_trace; diff -u expres resout
2390 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
2391 at_status=$? at_failed=false
2392 $at_check_filter
2393 at_fn_diff_devnull "$at_stderr" || at_failed=:
2394 at_fn_diff_devnull "$at_stdout" || at_failed=:
2395 at_fn_check_status 0 $at_status "$at_srcdir/t_test_program_run.at:36"
2396 $at_failed && at_fn_log_failure
2397 $at_traceon; }
2400 { set +x
2401 $as_echo "$at_srcdir/t_test_program_run.at:38: \$({
2402 old=\$(pwd)
2403 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2404 cd ..
2405 done
2406 topdir=\$(pwd)
2407 cd \${old}
2408 echo \${topdir}
2409 })/bootstrap/h_\${h} \\
2410 -s \$({
2411 old=\$(pwd)
2412 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2413 cd ..
2414 done
2415 topdir=\$(pwd)
2416 cd \${old}
2417 echo \${topdir}
2418 })/bootstrap -r resout fail"
2419 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_test_program_run.at:38"
2420 ( $at_check_trace; $({
2421 old=$(pwd)
2422 while test $(pwd) != '/' -a ! -e ./Makefile; do
2423 cd ..
2424 done
2425 topdir=$(pwd)
2426 cd ${old}
2427 echo ${topdir}
2428 })/bootstrap/h_${h} \
2429 -s $({
2430 old=$(pwd)
2431 while test $(pwd) != '/' -a ! -e ./Makefile; do
2432 cd ..
2433 done
2434 topdir=$(pwd)
2435 cd ${old}
2436 echo ${topdir}
2437 })/bootstrap -r resout fail
2438 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
2439 at_status=$? at_failed=false
2440 $at_check_filter
2441 echo stderr:; tee stderr <"$at_stderr"
2442 echo stdout:; tee stdout <"$at_stdout"
2443 at_fn_check_status 1 $at_status "$at_srcdir/t_test_program_run.at:38"
2444 $at_failed && at_fn_log_failure
2445 $at_traceon; }
2447 echo 'failed' >expres <<EOF
2448 failed
2450 echo "failed: On purpose" >expres
2451 { set +x
2452 $as_echo "$at_srcdir/t_test_program_run.at:39: diff -u expres resout"
2453 at_fn_check_prepare_trace "t_test_program_run.at:39"
2454 ( $at_check_trace; diff -u expres resout
2455 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
2456 at_status=$? at_failed=false
2457 $at_check_filter
2458 at_fn_diff_devnull "$at_stderr" || at_failed=:
2459 at_fn_diff_devnull "$at_stdout" || at_failed=:
2460 at_fn_check_status 0 $at_status "$at_srcdir/t_test_program_run.at:39"
2461 $at_failed && at_fn_log_failure
2462 $at_traceon; }
2465 { set +x
2466 $as_echo "$at_srcdir/t_test_program_run.at:41: \$({
2467 old=\$(pwd)
2468 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2469 cd ..
2470 done
2471 topdir=\$(pwd)
2472 cd \${old}
2473 echo \${topdir}
2474 })/bootstrap/h_\${h} \\
2475 -s \$({
2476 old=\$(pwd)
2477 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2478 cd ..
2479 done
2480 topdir=\$(pwd)
2481 cd \${old}
2482 echo \${topdir}
2483 })/bootstrap -r resout skip"
2484 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_test_program_run.at:41"
2485 ( $at_check_trace; $({
2486 old=$(pwd)
2487 while test $(pwd) != '/' -a ! -e ./Makefile; do
2488 cd ..
2489 done
2490 topdir=$(pwd)
2491 cd ${old}
2492 echo ${topdir}
2493 })/bootstrap/h_${h} \
2494 -s $({
2495 old=$(pwd)
2496 while test $(pwd) != '/' -a ! -e ./Makefile; do
2497 cd ..
2498 done
2499 topdir=$(pwd)
2500 cd ${old}
2501 echo ${topdir}
2502 })/bootstrap -r resout skip
2503 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
2504 at_status=$? at_failed=false
2505 $at_check_filter
2506 echo stderr:; tee stderr <"$at_stderr"
2507 echo stdout:; tee stdout <"$at_stdout"
2508 at_fn_check_status 0 $at_status "$at_srcdir/t_test_program_run.at:41"
2509 $at_failed && at_fn_log_failure
2510 $at_traceon; }
2512 echo 'skipped' >expres <<EOF
2513 skipped
2515 echo "skipped: By design" >expres
2516 { set +x
2517 $as_echo "$at_srcdir/t_test_program_run.at:42: diff -u expres resout"
2518 at_fn_check_prepare_trace "t_test_program_run.at:42"
2519 ( $at_check_trace; diff -u expres resout
2520 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
2521 at_status=$? at_failed=false
2522 $at_check_filter
2523 at_fn_diff_devnull "$at_stderr" || at_failed=:
2524 at_fn_diff_devnull "$at_stdout" || at_failed=:
2525 at_fn_check_status 0 $at_status "$at_srcdir/t_test_program_run.at:42"
2526 $at_failed && at_fn_log_failure
2527 $at_traceon; }
2530 { set +x
2531 $as_echo "$at_srcdir/t_test_program_run.at:44: \$({
2532 old=\$(pwd)
2533 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2534 cd ..
2535 done
2536 topdir=\$(pwd)
2537 cd \${old}
2538 echo \${topdir}
2539 })/bootstrap/h_\${h} \\
2540 -s \$({
2541 old=\$(pwd)
2542 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2543 cd ..
2544 done
2545 topdir=\$(pwd)
2546 cd \${old}
2547 echo \${topdir}
2548 })/bootstrap -r resout default"
2549 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_test_program_run.at:44"
2550 ( $at_check_trace; $({
2551 old=$(pwd)
2552 while test $(pwd) != '/' -a ! -e ./Makefile; do
2553 cd ..
2554 done
2555 topdir=$(pwd)
2556 cd ${old}
2557 echo ${topdir}
2558 })/bootstrap/h_${h} \
2559 -s $({
2560 old=$(pwd)
2561 while test $(pwd) != '/' -a ! -e ./Makefile; do
2562 cd ..
2563 done
2564 topdir=$(pwd)
2565 cd ${old}
2566 echo ${topdir}
2567 })/bootstrap -r resout default
2568 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
2569 at_status=$? at_failed=false
2570 $at_check_filter
2571 echo stderr:; tee stderr <"$at_stderr"
2572 echo stdout:; tee stdout <"$at_stdout"
2573 at_fn_check_status 0 $at_status "$at_srcdir/t_test_program_run.at:44"
2574 $at_failed && at_fn_log_failure
2575 $at_traceon; }
2577 echo 'passed' >expres <<EOF
2578 passed
2581 { set +x
2582 $as_echo "$at_srcdir/t_test_program_run.at:45: diff -u expres resout"
2583 at_fn_check_prepare_trace "t_test_program_run.at:45"
2584 ( $at_check_trace; diff -u expres resout
2585 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
2586 at_status=$? at_failed=false
2587 $at_check_filter
2588 at_fn_diff_devnull "$at_stderr" || at_failed=:
2589 at_fn_diff_devnull "$at_stdout" || at_failed=:
2590 at_fn_check_status 0 $at_status "$at_srcdir/t_test_program_run.at:45"
2591 $at_failed && at_fn_log_failure
2592 $at_traceon; }
2595 done
2597 set +x
2598 $at_times_p && times >"$at_times_file"
2599 ) 5>&1 2>&1 7>&- | eval $at_tee_pipe
2600 read at_status <"$at_status_file"
2601 #AT_STOP_2
2602 #AT_START_3
2603 at_fn_group_banner 3 't_test_program_list.at:30' \
2604 "test_program: list test cases" " "
2605 at_xfail=no
2607 $as_echo "3. $at_setup_line: testing $at_desc ..."
2608 $at_traceon
2611 for h in tp_basic_c tp_basic_cpp tp_basic_sh; do
2613 cat >expout <<'_ATEOF'
2614 Content-Type: application/X-atf-tp; version="1"
2616 ident: pass
2617 descr: An empty test case that always passes
2619 ident: fail
2620 descr: An empty test case that always fails
2622 ident: skip
2623 descr: An empty test case that is always skipped
2625 ident: default
2626 descr: A test case that passes without explicitly stating it
2627 _ATEOF
2630 { set +x
2631 $as_echo "$at_srcdir/t_test_program_list.at:49: \$({
2632 old=\$(pwd)
2633 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2634 cd ..
2635 done
2636 topdir=\$(pwd)
2637 cd \${old}
2638 echo \${topdir}
2639 })/bootstrap/h_\${h} \\
2640 -s \$({
2641 old=\$(pwd)
2642 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2643 cd ..
2644 done
2645 topdir=\$(pwd)
2646 cd \${old}
2647 echo \${topdir}
2648 })/bootstrap -l"
2649 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_test_program_list.at:49"
2650 ( $at_check_trace; $({
2651 old=$(pwd)
2652 while test $(pwd) != '/' -a ! -e ./Makefile; do
2653 cd ..
2654 done
2655 topdir=$(pwd)
2656 cd ${old}
2657 echo ${topdir}
2658 })/bootstrap/h_${h} \
2659 -s $({
2660 old=$(pwd)
2661 while test $(pwd) != '/' -a ! -e ./Makefile; do
2662 cd ..
2663 done
2664 topdir=$(pwd)
2665 cd ${old}
2666 echo ${topdir}
2667 })/bootstrap -l
2668 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
2669 at_status=$? at_failed=false
2670 $at_check_filter
2671 at_fn_diff_devnull "$at_stderr" || at_failed=:
2672 $at_diff expout "$at_stdout" || at_failed=:
2673 at_fn_check_status 0 $at_status "$at_srcdir/t_test_program_list.at:49"
2674 $at_failed && at_fn_log_failure
2675 $at_traceon; }
2678 { set +x
2679 $as_echo "$at_srcdir/t_test_program_list.at:51: \$({
2680 old=\$(pwd)
2681 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2682 cd ..
2683 done
2684 topdir=\$(pwd)
2685 cd \${old}
2686 echo \${topdir}
2687 })/bootstrap/h_\${h} \\
2688 -s \$({
2689 old=\$(pwd)
2690 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2691 cd ..
2692 done
2693 topdir=\$(pwd)
2694 cd \${old}
2695 echo \${topdir}
2696 })/bootstrap -l pass"
2697 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_test_program_list.at:51"
2698 ( $at_check_trace; $({
2699 old=$(pwd)
2700 while test $(pwd) != '/' -a ! -e ./Makefile; do
2701 cd ..
2702 done
2703 topdir=$(pwd)
2704 cd ${old}
2705 echo ${topdir}
2706 })/bootstrap/h_${h} \
2707 -s $({
2708 old=$(pwd)
2709 while test $(pwd) != '/' -a ! -e ./Makefile; do
2710 cd ..
2711 done
2712 topdir=$(pwd)
2713 cd ${old}
2714 echo ${topdir}
2715 })/bootstrap -l pass
2716 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
2717 at_status=$? at_failed=false
2718 $at_check_filter
2719 echo stderr:; tee stderr <"$at_stderr"
2720 at_fn_diff_devnull "$at_stdout" || at_failed=:
2721 at_fn_check_status 1 $at_status "$at_srcdir/t_test_program_list.at:51"
2722 $at_failed && at_fn_log_failure
2723 $at_traceon; }
2725 { set +x
2726 $as_echo "$at_srcdir/t_test_program_list.at:52: grep 'Cannot provide test case names with -l' stderr"
2727 at_fn_check_prepare_trace "t_test_program_list.at:52"
2728 ( $at_check_trace; grep 'Cannot provide test case names with -l' stderr
2729 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
2730 at_status=$? at_failed=false
2731 $at_check_filter
2732 at_fn_diff_devnull "$at_stderr" || at_failed=:
2733 echo stdout:; cat "$at_stdout"
2734 at_fn_check_status 0 $at_status "$at_srcdir/t_test_program_list.at:52"
2735 $at_failed && at_fn_log_failure
2736 $at_traceon; }
2739 { set +x
2740 $as_echo "$at_srcdir/t_test_program_list.at:55: \$({
2741 old=\$(pwd)
2742 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2743 cd ..
2744 done
2745 topdir=\$(pwd)
2746 cd \${old}
2747 echo \${topdir}
2748 })/bootstrap/h_\${h} \\
2749 -s \$({
2750 old=\$(pwd)
2751 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2752 cd ..
2753 done
2754 topdir=\$(pwd)
2755 cd \${old}
2756 echo \${topdir}
2757 })/bootstrap -l pass fail"
2758 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_test_program_list.at:55"
2759 ( $at_check_trace; $({
2760 old=$(pwd)
2761 while test $(pwd) != '/' -a ! -e ./Makefile; do
2762 cd ..
2763 done
2764 topdir=$(pwd)
2765 cd ${old}
2766 echo ${topdir}
2767 })/bootstrap/h_${h} \
2768 -s $({
2769 old=$(pwd)
2770 while test $(pwd) != '/' -a ! -e ./Makefile; do
2771 cd ..
2772 done
2773 topdir=$(pwd)
2774 cd ${old}
2775 echo ${topdir}
2776 })/bootstrap -l pass fail
2777 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
2778 at_status=$? at_failed=false
2779 $at_check_filter
2780 echo stderr:; tee stderr <"$at_stderr"
2781 at_fn_diff_devnull "$at_stdout" || at_failed=:
2782 at_fn_check_status 1 $at_status "$at_srcdir/t_test_program_list.at:55"
2783 $at_failed && at_fn_log_failure
2784 $at_traceon; }
2786 { set +x
2787 $as_echo "$at_srcdir/t_test_program_list.at:56: grep 'Cannot provide test case names with -l' stderr"
2788 at_fn_check_prepare_trace "t_test_program_list.at:56"
2789 ( $at_check_trace; grep 'Cannot provide test case names with -l' stderr
2790 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
2791 at_status=$? at_failed=false
2792 $at_check_filter
2793 at_fn_diff_devnull "$at_stderr" || at_failed=:
2794 echo stdout:; cat "$at_stdout"
2795 at_fn_check_status 0 $at_status "$at_srcdir/t_test_program_list.at:56"
2796 $at_failed && at_fn_log_failure
2797 $at_traceon; }
2800 done
2802 set +x
2803 $at_times_p && times >"$at_times_file"
2804 ) 5>&1 2>&1 7>&- | eval $at_tee_pipe
2805 read at_status <"$at_status_file"
2806 #AT_STOP_3
2807 #AT_START_4
2808 at_fn_group_banner 4 't_test_program_compare.at:30' \
2809 "test_program: compare the user-visible interfaces" ""
2810 at_xfail=no
2812 $as_echo "4. $at_setup_line: testing $at_desc ..."
2813 $at_traceon
2816 { set +x
2817 $as_echo "$at_srcdir/t_test_program_compare.at:33: \$({
2818 old=\$(pwd)
2819 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2820 cd ..
2821 done
2822 topdir=\$(pwd)
2823 cd \${old}
2824 echo \${topdir}
2825 })/bootstrap/h_tp_basic_c \\
2826 -s \$({
2827 old=\$(pwd)
2828 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2829 cd ..
2830 done
2831 topdir=\$(pwd)
2832 cd \${old}
2833 echo \${topdir}
2834 })/bootstrap"
2835 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_test_program_compare.at:33"
2836 ( $at_check_trace; $({
2837 old=$(pwd)
2838 while test $(pwd) != '/' -a ! -e ./Makefile; do
2839 cd ..
2840 done
2841 topdir=$(pwd)
2842 cd ${old}
2843 echo ${topdir}
2844 })/bootstrap/h_tp_basic_c \
2845 -s $({
2846 old=$(pwd)
2847 while test $(pwd) != '/' -a ! -e ./Makefile; do
2848 cd ..
2849 done
2850 topdir=$(pwd)
2851 cd ${old}
2852 echo ${topdir}
2853 })/bootstrap
2854 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
2855 at_status=$? at_failed=false
2856 $at_check_filter
2857 echo stderr:; tee stderr <"$at_stderr"
2858 at_fn_diff_devnull "$at_stdout" || at_failed=:
2859 at_fn_check_status 1 $at_status "$at_srcdir/t_test_program_compare.at:33"
2860 $at_failed && at_fn_log_failure
2861 $at_traceon; }
2863 sed 's,tp_basic_c,tp_basic_cpp,g' <stderr >experr
2864 { set +x
2865 $as_echo "$at_srcdir/t_test_program_compare.at:35: \$({
2866 old=\$(pwd)
2867 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2868 cd ..
2869 done
2870 topdir=\$(pwd)
2871 cd \${old}
2872 echo \${topdir}
2873 })/bootstrap/h_tp_basic_cpp \\
2874 -s \$({
2875 old=\$(pwd)
2876 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2877 cd ..
2878 done
2879 topdir=\$(pwd)
2880 cd \${old}
2881 echo \${topdir}
2882 })/bootstrap"
2883 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_test_program_compare.at:35"
2884 ( $at_check_trace; $({
2885 old=$(pwd)
2886 while test $(pwd) != '/' -a ! -e ./Makefile; do
2887 cd ..
2888 done
2889 topdir=$(pwd)
2890 cd ${old}
2891 echo ${topdir}
2892 })/bootstrap/h_tp_basic_cpp \
2893 -s $({
2894 old=$(pwd)
2895 while test $(pwd) != '/' -a ! -e ./Makefile; do
2896 cd ..
2897 done
2898 topdir=$(pwd)
2899 cd ${old}
2900 echo ${topdir}
2901 })/bootstrap
2902 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
2903 at_status=$? at_failed=false
2904 $at_check_filter
2905 $at_diff experr "$at_stderr" || at_failed=:
2906 at_fn_diff_devnull "$at_stdout" || at_failed=:
2907 at_fn_check_status 1 $at_status "$at_srcdir/t_test_program_compare.at:35"
2908 $at_failed && at_fn_log_failure
2909 $at_traceon; }
2911 sed 's,tp_basic_c,tp_basic_sh,g' <stderr >experr
2912 { set +x
2913 $as_echo "$at_srcdir/t_test_program_compare.at:37: \$({
2914 old=\$(pwd)
2915 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2916 cd ..
2917 done
2918 topdir=\$(pwd)
2919 cd \${old}
2920 echo \${topdir}
2921 })/bootstrap/h_tp_basic_sh \\
2922 -s \$({
2923 old=\$(pwd)
2924 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2925 cd ..
2926 done
2927 topdir=\$(pwd)
2928 cd \${old}
2929 echo \${topdir}
2930 })/bootstrap"
2931 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_test_program_compare.at:37"
2932 ( $at_check_trace; $({
2933 old=$(pwd)
2934 while test $(pwd) != '/' -a ! -e ./Makefile; do
2935 cd ..
2936 done
2937 topdir=$(pwd)
2938 cd ${old}
2939 echo ${topdir}
2940 })/bootstrap/h_tp_basic_sh \
2941 -s $({
2942 old=$(pwd)
2943 while test $(pwd) != '/' -a ! -e ./Makefile; do
2944 cd ..
2945 done
2946 topdir=$(pwd)
2947 cd ${old}
2948 echo ${topdir}
2949 })/bootstrap
2950 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
2951 at_status=$? at_failed=false
2952 $at_check_filter
2953 $at_diff experr "$at_stderr" || at_failed=:
2954 at_fn_diff_devnull "$at_stdout" || at_failed=:
2955 at_fn_check_status 1 $at_status "$at_srcdir/t_test_program_compare.at:37"
2956 $at_failed && at_fn_log_failure
2957 $at_traceon; }
2960 { set +x
2961 $as_echo "$at_srcdir/t_test_program_compare.at:40: \$({
2962 old=\$(pwd)
2963 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2964 cd ..
2965 done
2966 topdir=\$(pwd)
2967 cd \${old}
2968 echo \${topdir}
2969 })/bootstrap/h_tp_basic_c \\
2970 -s \$({
2971 old=\$(pwd)
2972 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2973 cd ..
2974 done
2975 topdir=\$(pwd)
2976 cd \${old}
2977 echo \${topdir}
2978 })/bootstrap -h"
2979 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_test_program_compare.at:40"
2980 ( $at_check_trace; $({
2981 old=$(pwd)
2982 while test $(pwd) != '/' -a ! -e ./Makefile; do
2983 cd ..
2984 done
2985 topdir=$(pwd)
2986 cd ${old}
2987 echo ${topdir}
2988 })/bootstrap/h_tp_basic_c \
2989 -s $({
2990 old=$(pwd)
2991 while test $(pwd) != '/' -a ! -e ./Makefile; do
2992 cd ..
2993 done
2994 topdir=$(pwd)
2995 cd ${old}
2996 echo ${topdir}
2997 })/bootstrap -h
2998 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
2999 at_status=$? at_failed=false
3000 $at_check_filter
3001 echo stderr:; tee stderr <"$at_stderr"
3002 at_fn_diff_devnull "$at_stdout" || at_failed=:
3003 at_fn_check_status 1 $at_status "$at_srcdir/t_test_program_compare.at:40"
3004 $at_failed && at_fn_log_failure
3005 $at_traceon; }
3007 sed 's,tp_basic_c,tp_basic_cpp,g' <stderr >experr
3008 { set +x
3009 $as_echo "$at_srcdir/t_test_program_compare.at:42: \$({
3010 old=\$(pwd)
3011 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3012 cd ..
3013 done
3014 topdir=\$(pwd)
3015 cd \${old}
3016 echo \${topdir}
3017 })/bootstrap/h_tp_basic_cpp \\
3018 -s \$({
3019 old=\$(pwd)
3020 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3021 cd ..
3022 done
3023 topdir=\$(pwd)
3024 cd \${old}
3025 echo \${topdir}
3026 })/bootstrap -h"
3027 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_test_program_compare.at:42"
3028 ( $at_check_trace; $({
3029 old=$(pwd)
3030 while test $(pwd) != '/' -a ! -e ./Makefile; do
3031 cd ..
3032 done
3033 topdir=$(pwd)
3034 cd ${old}
3035 echo ${topdir}
3036 })/bootstrap/h_tp_basic_cpp \
3037 -s $({
3038 old=$(pwd)
3039 while test $(pwd) != '/' -a ! -e ./Makefile; do
3040 cd ..
3041 done
3042 topdir=$(pwd)
3043 cd ${old}
3044 echo ${topdir}
3045 })/bootstrap -h
3046 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
3047 at_status=$? at_failed=false
3048 $at_check_filter
3049 $at_diff experr "$at_stderr" || at_failed=:
3050 at_fn_diff_devnull "$at_stdout" || at_failed=:
3051 at_fn_check_status 1 $at_status "$at_srcdir/t_test_program_compare.at:42"
3052 $at_failed && at_fn_log_failure
3053 $at_traceon; }
3055 sed 's,tp_basic_c,tp_basic_sh,g' <stderr >experr
3056 { set +x
3057 $as_echo "$at_srcdir/t_test_program_compare.at:44: \$({
3058 old=\$(pwd)
3059 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3060 cd ..
3061 done
3062 topdir=\$(pwd)
3063 cd \${old}
3064 echo \${topdir}
3065 })/bootstrap/h_tp_basic_sh \\
3066 -s \$({
3067 old=\$(pwd)
3068 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3069 cd ..
3070 done
3071 topdir=\$(pwd)
3072 cd \${old}
3073 echo \${topdir}
3074 })/bootstrap -h"
3075 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_test_program_compare.at:44"
3076 ( $at_check_trace; $({
3077 old=$(pwd)
3078 while test $(pwd) != '/' -a ! -e ./Makefile; do
3079 cd ..
3080 done
3081 topdir=$(pwd)
3082 cd ${old}
3083 echo ${topdir}
3084 })/bootstrap/h_tp_basic_sh \
3085 -s $({
3086 old=$(pwd)
3087 while test $(pwd) != '/' -a ! -e ./Makefile; do
3088 cd ..
3089 done
3090 topdir=$(pwd)
3091 cd ${old}
3092 echo ${topdir}
3093 })/bootstrap -h
3094 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
3095 at_status=$? at_failed=false
3096 $at_check_filter
3097 $at_diff experr "$at_stderr" || at_failed=:
3098 at_fn_diff_devnull "$at_stdout" || at_failed=:
3099 at_fn_check_status 1 $at_status "$at_srcdir/t_test_program_compare.at:44"
3100 $at_failed && at_fn_log_failure
3101 $at_traceon; }
3104 { set +x
3105 $as_echo "$at_srcdir/t_test_program_compare.at:47: \$({
3106 old=\$(pwd)
3107 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3108 cd ..
3109 done
3110 topdir=\$(pwd)
3111 cd \${old}
3112 echo \${topdir}
3113 })/bootstrap/h_tp_basic_c \\
3114 -s \$({
3115 old=\$(pwd)
3116 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3117 cd ..
3118 done
3119 topdir=\$(pwd)
3120 cd \${old}
3121 echo \${topdir}
3122 })/bootstrap -Z"
3123 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_test_program_compare.at:47"
3124 ( $at_check_trace; $({
3125 old=$(pwd)
3126 while test $(pwd) != '/' -a ! -e ./Makefile; do
3127 cd ..
3128 done
3129 topdir=$(pwd)
3130 cd ${old}
3131 echo ${topdir}
3132 })/bootstrap/h_tp_basic_c \
3133 -s $({
3134 old=$(pwd)
3135 while test $(pwd) != '/' -a ! -e ./Makefile; do
3136 cd ..
3137 done
3138 topdir=$(pwd)
3139 cd ${old}
3140 echo ${topdir}
3141 })/bootstrap -Z
3142 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
3143 at_status=$? at_failed=false
3144 $at_check_filter
3145 echo stderr:; tee stderr <"$at_stderr"
3146 at_fn_diff_devnull "$at_stdout" || at_failed=:
3147 at_fn_check_status 1 $at_status "$at_srcdir/t_test_program_compare.at:47"
3148 $at_failed && at_fn_log_failure
3149 $at_traceon; }
3151 sed 's,tp_basic_c,tp_basic_cpp,g' <stderr >experr
3152 { set +x
3153 $as_echo "$at_srcdir/t_test_program_compare.at:49: \$({
3154 old=\$(pwd)
3155 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3156 cd ..
3157 done
3158 topdir=\$(pwd)
3159 cd \${old}
3160 echo \${topdir}
3161 })/bootstrap/h_tp_basic_cpp \\
3162 -s \$({
3163 old=\$(pwd)
3164 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3165 cd ..
3166 done
3167 topdir=\$(pwd)
3168 cd \${old}
3169 echo \${topdir}
3170 })/bootstrap -Z"
3171 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_test_program_compare.at:49"
3172 ( $at_check_trace; $({
3173 old=$(pwd)
3174 while test $(pwd) != '/' -a ! -e ./Makefile; do
3175 cd ..
3176 done
3177 topdir=$(pwd)
3178 cd ${old}
3179 echo ${topdir}
3180 })/bootstrap/h_tp_basic_cpp \
3181 -s $({
3182 old=$(pwd)
3183 while test $(pwd) != '/' -a ! -e ./Makefile; do
3184 cd ..
3185 done
3186 topdir=$(pwd)
3187 cd ${old}
3188 echo ${topdir}
3189 })/bootstrap -Z
3190 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
3191 at_status=$? at_failed=false
3192 $at_check_filter
3193 $at_diff experr "$at_stderr" || at_failed=:
3194 at_fn_diff_devnull "$at_stdout" || at_failed=:
3195 at_fn_check_status 1 $at_status "$at_srcdir/t_test_program_compare.at:49"
3196 $at_failed && at_fn_log_failure
3197 $at_traceon; }
3199 sed 's,tp_basic_c,tp_basic_sh,g' <stderr >experr
3200 { set +x
3201 $as_echo "$at_srcdir/t_test_program_compare.at:51: \$({
3202 old=\$(pwd)
3203 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3204 cd ..
3205 done
3206 topdir=\$(pwd)
3207 cd \${old}
3208 echo \${topdir}
3209 })/bootstrap/h_tp_basic_sh \\
3210 -s \$({
3211 old=\$(pwd)
3212 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3213 cd ..
3214 done
3215 topdir=\$(pwd)
3216 cd \${old}
3217 echo \${topdir}
3218 })/bootstrap -Z"
3219 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_test_program_compare.at:51"
3220 ( $at_check_trace; $({
3221 old=$(pwd)
3222 while test $(pwd) != '/' -a ! -e ./Makefile; do
3223 cd ..
3224 done
3225 topdir=$(pwd)
3226 cd ${old}
3227 echo ${topdir}
3228 })/bootstrap/h_tp_basic_sh \
3229 -s $({
3230 old=$(pwd)
3231 while test $(pwd) != '/' -a ! -e ./Makefile; do
3232 cd ..
3233 done
3234 topdir=$(pwd)
3235 cd ${old}
3236 echo ${topdir}
3237 })/bootstrap -Z
3238 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
3239 at_status=$? at_failed=false
3240 $at_check_filter
3241 $at_diff experr "$at_stderr" || at_failed=:
3242 at_fn_diff_devnull "$at_stdout" || at_failed=:
3243 at_fn_check_status 1 $at_status "$at_srcdir/t_test_program_compare.at:51"
3244 $at_failed && at_fn_log_failure
3245 $at_traceon; }
3248 { set +x
3249 $as_echo "$at_srcdir/t_test_program_compare.at:54: \$({
3250 old=\$(pwd)
3251 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3252 cd ..
3253 done
3254 topdir=\$(pwd)
3255 cd \${old}
3256 echo \${topdir}
3257 })/bootstrap/h_tp_basic_c \\
3258 -s \$({
3259 old=\$(pwd)
3260 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3261 cd ..
3262 done
3263 topdir=\$(pwd)
3264 cd \${old}
3265 echo \${topdir}
3266 })/bootstrap -l"
3267 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_test_program_compare.at:54"
3268 ( $at_check_trace; $({
3269 old=$(pwd)
3270 while test $(pwd) != '/' -a ! -e ./Makefile; do
3271 cd ..
3272 done
3273 topdir=$(pwd)
3274 cd ${old}
3275 echo ${topdir}
3276 })/bootstrap/h_tp_basic_c \
3277 -s $({
3278 old=$(pwd)
3279 while test $(pwd) != '/' -a ! -e ./Makefile; do
3280 cd ..
3281 done
3282 topdir=$(pwd)
3283 cd ${old}
3284 echo ${topdir}
3285 })/bootstrap -l
3286 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
3287 at_status=$? at_failed=false
3288 $at_check_filter
3289 at_fn_diff_devnull "$at_stderr" || at_failed=:
3290 echo stdout:; tee stdout <"$at_stdout"
3291 at_fn_check_status 0 $at_status "$at_srcdir/t_test_program_compare.at:54"
3292 $at_failed && at_fn_log_failure
3293 $at_traceon; }
3295 sed 's,tp_basic_c,tp_basic_cpp,g' <stdout >expout
3296 { set +x
3297 $as_echo "$at_srcdir/t_test_program_compare.at:56: \$({
3298 old=\$(pwd)
3299 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3300 cd ..
3301 done
3302 topdir=\$(pwd)
3303 cd \${old}
3304 echo \${topdir}
3305 })/bootstrap/h_tp_basic_cpp \\
3306 -s \$({
3307 old=\$(pwd)
3308 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3309 cd ..
3310 done
3311 topdir=\$(pwd)
3312 cd \${old}
3313 echo \${topdir}
3314 })/bootstrap -l"
3315 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_test_program_compare.at:56"
3316 ( $at_check_trace; $({
3317 old=$(pwd)
3318 while test $(pwd) != '/' -a ! -e ./Makefile; do
3319 cd ..
3320 done
3321 topdir=$(pwd)
3322 cd ${old}
3323 echo ${topdir}
3324 })/bootstrap/h_tp_basic_cpp \
3325 -s $({
3326 old=$(pwd)
3327 while test $(pwd) != '/' -a ! -e ./Makefile; do
3328 cd ..
3329 done
3330 topdir=$(pwd)
3331 cd ${old}
3332 echo ${topdir}
3333 })/bootstrap -l
3334 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
3335 at_status=$? at_failed=false
3336 $at_check_filter
3337 at_fn_diff_devnull "$at_stderr" || at_failed=:
3338 $at_diff expout "$at_stdout" || at_failed=:
3339 at_fn_check_status 0 $at_status "$at_srcdir/t_test_program_compare.at:56"
3340 $at_failed && at_fn_log_failure
3341 $at_traceon; }
3343 sed 's,tp_basic_c,tp_basic_sh,g' <stdout >expout
3344 { set +x
3345 $as_echo "$at_srcdir/t_test_program_compare.at:58: \$({
3346 old=\$(pwd)
3347 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3348 cd ..
3349 done
3350 topdir=\$(pwd)
3351 cd \${old}
3352 echo \${topdir}
3353 })/bootstrap/h_tp_basic_sh \\
3354 -s \$({
3355 old=\$(pwd)
3356 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3357 cd ..
3358 done
3359 topdir=\$(pwd)
3360 cd \${old}
3361 echo \${topdir}
3362 })/bootstrap -l"
3363 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_test_program_compare.at:58"
3364 ( $at_check_trace; $({
3365 old=$(pwd)
3366 while test $(pwd) != '/' -a ! -e ./Makefile; do
3367 cd ..
3368 done
3369 topdir=$(pwd)
3370 cd ${old}
3371 echo ${topdir}
3372 })/bootstrap/h_tp_basic_sh \
3373 -s $({
3374 old=$(pwd)
3375 while test $(pwd) != '/' -a ! -e ./Makefile; do
3376 cd ..
3377 done
3378 topdir=$(pwd)
3379 cd ${old}
3380 echo ${topdir}
3381 })/bootstrap -l
3382 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
3383 at_status=$? at_failed=false
3384 $at_check_filter
3385 at_fn_diff_devnull "$at_stderr" || at_failed=:
3386 $at_diff expout "$at_stdout" || at_failed=:
3387 at_fn_check_status 0 $at_status "$at_srcdir/t_test_program_compare.at:58"
3388 $at_failed && at_fn_log_failure
3389 $at_traceon; }
3392 { set +x
3393 $as_echo "$at_srcdir/t_test_program_compare.at:61: \$({
3394 old=\$(pwd)
3395 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3396 cd ..
3397 done
3398 topdir=\$(pwd)
3399 cd \${old}
3400 echo \${topdir}
3401 })/bootstrap/h_tp_basic_c \\
3402 -s \$({
3403 old=\$(pwd)
3404 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3405 cd ..
3406 done
3407 topdir=\$(pwd)
3408 cd \${old}
3409 echo \${topdir}
3410 })/bootstrap"
3411 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_test_program_compare.at:61"
3412 ( $at_check_trace; $({
3413 old=$(pwd)
3414 while test $(pwd) != '/' -a ! -e ./Makefile; do
3415 cd ..
3416 done
3417 topdir=$(pwd)
3418 cd ${old}
3419 echo ${topdir}
3420 })/bootstrap/h_tp_basic_c \
3421 -s $({
3422 old=$(pwd)
3423 while test $(pwd) != '/' -a ! -e ./Makefile; do
3424 cd ..
3425 done
3426 topdir=$(pwd)
3427 cd ${old}
3428 echo ${topdir}
3429 })/bootstrap
3430 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
3431 at_status=$? at_failed=false
3432 $at_check_filter
3433 echo stderr:; tee stderr <"$at_stderr"
3434 echo stdout:; tee stdout <"$at_stdout"
3435 at_fn_check_status 1 $at_status "$at_srcdir/t_test_program_compare.at:61"
3436 $at_failed && at_fn_log_failure
3437 $at_traceon; }
3439 sed 's,tp_basic_c,tp_basic_cpp,g' <stdout >expout
3440 sed 's,tp_basic_c,tp_basic_cpp,g' <stderr >experr
3441 { set +x
3442 $as_echo "$at_srcdir/t_test_program_compare.at:65: \$({
3443 old=\$(pwd)
3444 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3445 cd ..
3446 done
3447 topdir=\$(pwd)
3448 cd \${old}
3449 echo \${topdir}
3450 })/bootstrap/h_tp_basic_cpp \\
3451 -s \$({
3452 old=\$(pwd)
3453 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3454 cd ..
3455 done
3456 topdir=\$(pwd)
3457 cd \${old}
3458 echo \${topdir}
3459 })/bootstrap"
3460 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_test_program_compare.at:65"
3461 ( $at_check_trace; $({
3462 old=$(pwd)
3463 while test $(pwd) != '/' -a ! -e ./Makefile; do
3464 cd ..
3465 done
3466 topdir=$(pwd)
3467 cd ${old}
3468 echo ${topdir}
3469 })/bootstrap/h_tp_basic_cpp \
3470 -s $({
3471 old=$(pwd)
3472 while test $(pwd) != '/' -a ! -e ./Makefile; do
3473 cd ..
3474 done
3475 topdir=$(pwd)
3476 cd ${old}
3477 echo ${topdir}
3478 })/bootstrap
3479 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
3480 at_status=$? at_failed=false
3481 $at_check_filter
3482 $at_diff experr "$at_stderr" || at_failed=:
3483 $at_diff expout "$at_stdout" || at_failed=:
3484 at_fn_check_status 1 $at_status "$at_srcdir/t_test_program_compare.at:65"
3485 $at_failed && at_fn_log_failure
3486 $at_traceon; }
3488 sed 's,tp_basic_c,tp_basic_sh,g' <stdout >expout
3489 sed 's,tp_basic_c,tp_basic_sh,g' <stderr >experr
3490 { set +x
3491 $as_echo "$at_srcdir/t_test_program_compare.at:69: \$({
3492 old=\$(pwd)
3493 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3494 cd ..
3495 done
3496 topdir=\$(pwd)
3497 cd \${old}
3498 echo \${topdir}
3499 })/bootstrap/h_tp_basic_sh \\
3500 -s \$({
3501 old=\$(pwd)
3502 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3503 cd ..
3504 done
3505 topdir=\$(pwd)
3506 cd \${old}
3507 echo \${topdir}
3508 })/bootstrap"
3509 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_test_program_compare.at:69"
3510 ( $at_check_trace; $({
3511 old=$(pwd)
3512 while test $(pwd) != '/' -a ! -e ./Makefile; do
3513 cd ..
3514 done
3515 topdir=$(pwd)
3516 cd ${old}
3517 echo ${topdir}
3518 })/bootstrap/h_tp_basic_sh \
3519 -s $({
3520 old=$(pwd)
3521 while test $(pwd) != '/' -a ! -e ./Makefile; do
3522 cd ..
3523 done
3524 topdir=$(pwd)
3525 cd ${old}
3526 echo ${topdir}
3527 })/bootstrap
3528 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
3529 at_status=$? at_failed=false
3530 $at_check_filter
3531 $at_diff experr "$at_stderr" || at_failed=:
3532 $at_diff expout "$at_stdout" || at_failed=:
3533 at_fn_check_status 1 $at_status "$at_srcdir/t_test_program_compare.at:69"
3534 $at_failed && at_fn_log_failure
3535 $at_traceon; }
3538 { set +x
3539 $as_echo "$at_srcdir/t_test_program_compare.at:73: \$({
3540 old=\$(pwd)
3541 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3542 cd ..
3543 done
3544 topdir=\$(pwd)
3545 cd \${old}
3546 echo \${topdir}
3547 })/bootstrap/h_tp_basic_c \\
3548 -s \$({
3549 old=\$(pwd)
3550 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3551 cd ..
3552 done
3553 topdir=\$(pwd)
3554 cd \${old}
3555 echo \${topdir}
3556 })/bootstrap -r resout pass"
3557 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_test_program_compare.at:73"
3558 ( $at_check_trace; $({
3559 old=$(pwd)
3560 while test $(pwd) != '/' -a ! -e ./Makefile; do
3561 cd ..
3562 done
3563 topdir=$(pwd)
3564 cd ${old}
3565 echo ${topdir}
3566 })/bootstrap/h_tp_basic_c \
3567 -s $({
3568 old=$(pwd)
3569 while test $(pwd) != '/' -a ! -e ./Makefile; do
3570 cd ..
3571 done
3572 topdir=$(pwd)
3573 cd ${old}
3574 echo ${topdir}
3575 })/bootstrap -r resout pass
3576 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
3577 at_status=$? at_failed=false
3578 $at_check_filter
3579 echo stderr:; tee stderr <"$at_stderr"
3580 echo stdout:; tee stdout <"$at_stdout"
3581 at_fn_check_status 0 $at_status "$at_srcdir/t_test_program_compare.at:73"
3582 $at_failed && at_fn_log_failure
3583 $at_traceon; }
3585 sed 's,tp_basic_c,tp_basic_cpp,g' <stdout >expout
3586 sed 's,tp_basic_c,tp_basic_cpp,g' <stderr >experr
3587 sed 's,tp_basic_c,tp_basic_cpp,g' <resout >resexp
3588 { set +x
3589 $as_echo "$at_srcdir/t_test_program_compare.at:78: \$({
3590 old=\$(pwd)
3591 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3592 cd ..
3593 done
3594 topdir=\$(pwd)
3595 cd \${old}
3596 echo \${topdir}
3597 })/bootstrap/h_tp_basic_cpp \\
3598 -s \$({
3599 old=\$(pwd)
3600 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3601 cd ..
3602 done
3603 topdir=\$(pwd)
3604 cd \${old}
3605 echo \${topdir}
3606 })/bootstrap -r resout pass"
3607 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_test_program_compare.at:78"
3608 ( $at_check_trace; $({
3609 old=$(pwd)
3610 while test $(pwd) != '/' -a ! -e ./Makefile; do
3611 cd ..
3612 done
3613 topdir=$(pwd)
3614 cd ${old}
3615 echo ${topdir}
3616 })/bootstrap/h_tp_basic_cpp \
3617 -s $({
3618 old=$(pwd)
3619 while test $(pwd) != '/' -a ! -e ./Makefile; do
3620 cd ..
3621 done
3622 topdir=$(pwd)
3623 cd ${old}
3624 echo ${topdir}
3625 })/bootstrap -r resout pass
3626 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
3627 at_status=$? at_failed=false
3628 $at_check_filter
3629 $at_diff experr "$at_stderr" || at_failed=:
3630 $at_diff expout "$at_stdout" || at_failed=:
3631 at_fn_check_status 0 $at_status "$at_srcdir/t_test_program_compare.at:78"
3632 $at_failed && at_fn_log_failure
3633 $at_traceon; }
3635 { set +x
3636 $as_echo "$at_srcdir/t_test_program_compare.at:80: cmp -s resout resexp"
3637 at_fn_check_prepare_trace "t_test_program_compare.at:80"
3638 ( $at_check_trace; cmp -s resout resexp
3639 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
3640 at_status=$? at_failed=false
3641 $at_check_filter
3642 at_fn_diff_devnull "$at_stderr" || at_failed=:
3643 at_fn_diff_devnull "$at_stdout" || at_failed=:
3644 at_fn_check_status 0 $at_status "$at_srcdir/t_test_program_compare.at:80"
3645 $at_failed && at_fn_log_failure
3646 $at_traceon; }
3648 sed 's,tp_basic_c,tp_basic_sh,g' <stdout >expout
3649 sed 's,tp_basic_c,tp_basic_sh,g' <stderr >experr
3650 sed 's,tp_basic_c,tp_basic_sh,g' <resout >resexp
3651 { set +x
3652 $as_echo "$at_srcdir/t_test_program_compare.at:84: \$({
3653 old=\$(pwd)
3654 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3655 cd ..
3656 done
3657 topdir=\$(pwd)
3658 cd \${old}
3659 echo \${topdir}
3660 })/bootstrap/h_tp_basic_sh \\
3661 -s \$({
3662 old=\$(pwd)
3663 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3664 cd ..
3665 done
3666 topdir=\$(pwd)
3667 cd \${old}
3668 echo \${topdir}
3669 })/bootstrap -r resout pass"
3670 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_test_program_compare.at:84"
3671 ( $at_check_trace; $({
3672 old=$(pwd)
3673 while test $(pwd) != '/' -a ! -e ./Makefile; do
3674 cd ..
3675 done
3676 topdir=$(pwd)
3677 cd ${old}
3678 echo ${topdir}
3679 })/bootstrap/h_tp_basic_sh \
3680 -s $({
3681 old=$(pwd)
3682 while test $(pwd) != '/' -a ! -e ./Makefile; do
3683 cd ..
3684 done
3685 topdir=$(pwd)
3686 cd ${old}
3687 echo ${topdir}
3688 })/bootstrap -r resout pass
3689 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
3690 at_status=$? at_failed=false
3691 $at_check_filter
3692 $at_diff experr "$at_stderr" || at_failed=:
3693 $at_diff expout "$at_stdout" || at_failed=:
3694 at_fn_check_status 0 $at_status "$at_srcdir/t_test_program_compare.at:84"
3695 $at_failed && at_fn_log_failure
3696 $at_traceon; }
3698 { set +x
3699 $as_echo "$at_srcdir/t_test_program_compare.at:86: cmp -s resout resexp"
3700 at_fn_check_prepare_trace "t_test_program_compare.at:86"
3701 ( $at_check_trace; cmp -s resout resexp
3702 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
3703 at_status=$? at_failed=false
3704 $at_check_filter
3705 at_fn_diff_devnull "$at_stderr" || at_failed=:
3706 at_fn_diff_devnull "$at_stdout" || at_failed=:
3707 at_fn_check_status 0 $at_status "$at_srcdir/t_test_program_compare.at:86"
3708 $at_failed && at_fn_log_failure
3709 $at_traceon; }
3712 { set +x
3713 $as_echo "$at_srcdir/t_test_program_compare.at:89: \$({
3714 old=\$(pwd)
3715 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3716 cd ..
3717 done
3718 topdir=\$(pwd)
3719 cd \${old}
3720 echo \${topdir}
3721 })/bootstrap/h_tp_basic_c \\
3722 -s \$({
3723 old=\$(pwd)
3724 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3725 cd ..
3726 done
3727 topdir=\$(pwd)
3728 cd \${old}
3729 echo \${topdir}
3730 })/bootstrap -r resout fail"
3731 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_test_program_compare.at:89"
3732 ( $at_check_trace; $({
3733 old=$(pwd)
3734 while test $(pwd) != '/' -a ! -e ./Makefile; do
3735 cd ..
3736 done
3737 topdir=$(pwd)
3738 cd ${old}
3739 echo ${topdir}
3740 })/bootstrap/h_tp_basic_c \
3741 -s $({
3742 old=$(pwd)
3743 while test $(pwd) != '/' -a ! -e ./Makefile; do
3744 cd ..
3745 done
3746 topdir=$(pwd)
3747 cd ${old}
3748 echo ${topdir}
3749 })/bootstrap -r resout fail
3750 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
3751 at_status=$? at_failed=false
3752 $at_check_filter
3753 echo stderr:; tee stderr <"$at_stderr"
3754 echo stdout:; tee stdout <"$at_stdout"
3755 at_fn_check_status 1 $at_status "$at_srcdir/t_test_program_compare.at:89"
3756 $at_failed && at_fn_log_failure
3757 $at_traceon; }
3759 sed 's,tp_basic_c,tp_basic_cpp,g' <stdout >expout
3760 sed 's,tp_basic_c,tp_basic_cpp,g' <stderr >experr
3761 sed 's,tp_basic_c,tp_basic_cpp,g' <resout >resexp
3762 { set +x
3763 $as_echo "$at_srcdir/t_test_program_compare.at:94: \$({
3764 old=\$(pwd)
3765 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3766 cd ..
3767 done
3768 topdir=\$(pwd)
3769 cd \${old}
3770 echo \${topdir}
3771 })/bootstrap/h_tp_basic_cpp \\
3772 -s \$({
3773 old=\$(pwd)
3774 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3775 cd ..
3776 done
3777 topdir=\$(pwd)
3778 cd \${old}
3779 echo \${topdir}
3780 })/bootstrap -r resout fail"
3781 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_test_program_compare.at:94"
3782 ( $at_check_trace; $({
3783 old=$(pwd)
3784 while test $(pwd) != '/' -a ! -e ./Makefile; do
3785 cd ..
3786 done
3787 topdir=$(pwd)
3788 cd ${old}
3789 echo ${topdir}
3790 })/bootstrap/h_tp_basic_cpp \
3791 -s $({
3792 old=$(pwd)
3793 while test $(pwd) != '/' -a ! -e ./Makefile; do
3794 cd ..
3795 done
3796 topdir=$(pwd)
3797 cd ${old}
3798 echo ${topdir}
3799 })/bootstrap -r resout fail
3800 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
3801 at_status=$? at_failed=false
3802 $at_check_filter
3803 $at_diff experr "$at_stderr" || at_failed=:
3804 $at_diff expout "$at_stdout" || at_failed=:
3805 at_fn_check_status 1 $at_status "$at_srcdir/t_test_program_compare.at:94"
3806 $at_failed && at_fn_log_failure
3807 $at_traceon; }
3809 { set +x
3810 $as_echo "$at_srcdir/t_test_program_compare.at:96: cmp -s resout resexp"
3811 at_fn_check_prepare_trace "t_test_program_compare.at:96"
3812 ( $at_check_trace; cmp -s resout resexp
3813 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
3814 at_status=$? at_failed=false
3815 $at_check_filter
3816 at_fn_diff_devnull "$at_stderr" || at_failed=:
3817 at_fn_diff_devnull "$at_stdout" || at_failed=:
3818 at_fn_check_status 0 $at_status "$at_srcdir/t_test_program_compare.at:96"
3819 $at_failed && at_fn_log_failure
3820 $at_traceon; }
3822 sed 's,tp_basic_c,tp_basic_sh,g' <stdout >expout
3823 sed 's,tp_basic_c,tp_basic_sh,g' <stderr >experr
3824 sed 's,tp_basic_c,tp_basic_sh,g' <resout >resexp
3825 { set +x
3826 $as_echo "$at_srcdir/t_test_program_compare.at:100: \$({
3827 old=\$(pwd)
3828 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3829 cd ..
3830 done
3831 topdir=\$(pwd)
3832 cd \${old}
3833 echo \${topdir}
3834 })/bootstrap/h_tp_basic_sh \\
3835 -s \$({
3836 old=\$(pwd)
3837 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3838 cd ..
3839 done
3840 topdir=\$(pwd)
3841 cd \${old}
3842 echo \${topdir}
3843 })/bootstrap -r resout fail"
3844 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_test_program_compare.at:100"
3845 ( $at_check_trace; $({
3846 old=$(pwd)
3847 while test $(pwd) != '/' -a ! -e ./Makefile; do
3848 cd ..
3849 done
3850 topdir=$(pwd)
3851 cd ${old}
3852 echo ${topdir}
3853 })/bootstrap/h_tp_basic_sh \
3854 -s $({
3855 old=$(pwd)
3856 while test $(pwd) != '/' -a ! -e ./Makefile; do
3857 cd ..
3858 done
3859 topdir=$(pwd)
3860 cd ${old}
3861 echo ${topdir}
3862 })/bootstrap -r resout fail
3863 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
3864 at_status=$? at_failed=false
3865 $at_check_filter
3866 $at_diff experr "$at_stderr" || at_failed=:
3867 $at_diff expout "$at_stdout" || at_failed=:
3868 at_fn_check_status 1 $at_status "$at_srcdir/t_test_program_compare.at:100"
3869 $at_failed && at_fn_log_failure
3870 $at_traceon; }
3872 { set +x
3873 $as_echo "$at_srcdir/t_test_program_compare.at:102: cmp -s resout resexp"
3874 at_fn_check_prepare_trace "t_test_program_compare.at:102"
3875 ( $at_check_trace; cmp -s resout resexp
3876 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
3877 at_status=$? at_failed=false
3878 $at_check_filter
3879 at_fn_diff_devnull "$at_stderr" || at_failed=:
3880 at_fn_diff_devnull "$at_stdout" || at_failed=:
3881 at_fn_check_status 0 $at_status "$at_srcdir/t_test_program_compare.at:102"
3882 $at_failed && at_fn_log_failure
3883 $at_traceon; }
3886 { set +x
3887 $as_echo "$at_srcdir/t_test_program_compare.at:105: \$({
3888 old=\$(pwd)
3889 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3890 cd ..
3891 done
3892 topdir=\$(pwd)
3893 cd \${old}
3894 echo \${topdir}
3895 })/bootstrap/h_tp_basic_c \\
3896 -s \$({
3897 old=\$(pwd)
3898 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3899 cd ..
3900 done
3901 topdir=\$(pwd)
3902 cd \${old}
3903 echo \${topdir}
3904 })/bootstrap -r resout skip"
3905 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_test_program_compare.at:105"
3906 ( $at_check_trace; $({
3907 old=$(pwd)
3908 while test $(pwd) != '/' -a ! -e ./Makefile; do
3909 cd ..
3910 done
3911 topdir=$(pwd)
3912 cd ${old}
3913 echo ${topdir}
3914 })/bootstrap/h_tp_basic_c \
3915 -s $({
3916 old=$(pwd)
3917 while test $(pwd) != '/' -a ! -e ./Makefile; do
3918 cd ..
3919 done
3920 topdir=$(pwd)
3921 cd ${old}
3922 echo ${topdir}
3923 })/bootstrap -r resout skip
3924 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
3925 at_status=$? at_failed=false
3926 $at_check_filter
3927 echo stderr:; tee stderr <"$at_stderr"
3928 echo stdout:; tee stdout <"$at_stdout"
3929 at_fn_check_status 0 $at_status "$at_srcdir/t_test_program_compare.at:105"
3930 $at_failed && at_fn_log_failure
3931 $at_traceon; }
3933 sed 's,tp_basic_c,tp_basic_cpp,g' <stdout >expout
3934 sed 's,tp_basic_c,tp_basic_cpp,g' <stderr >experr
3935 sed 's,tp_basic_c,tp_basic_cpp,g' <resout >resexp
3936 { set +x
3937 $as_echo "$at_srcdir/t_test_program_compare.at:110: \$({
3938 old=\$(pwd)
3939 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3940 cd ..
3941 done
3942 topdir=\$(pwd)
3943 cd \${old}
3944 echo \${topdir}
3945 })/bootstrap/h_tp_basic_cpp \\
3946 -s \$({
3947 old=\$(pwd)
3948 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3949 cd ..
3950 done
3951 topdir=\$(pwd)
3952 cd \${old}
3953 echo \${topdir}
3954 })/bootstrap -r resout skip"
3955 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_test_program_compare.at:110"
3956 ( $at_check_trace; $({
3957 old=$(pwd)
3958 while test $(pwd) != '/' -a ! -e ./Makefile; do
3959 cd ..
3960 done
3961 topdir=$(pwd)
3962 cd ${old}
3963 echo ${topdir}
3964 })/bootstrap/h_tp_basic_cpp \
3965 -s $({
3966 old=$(pwd)
3967 while test $(pwd) != '/' -a ! -e ./Makefile; do
3968 cd ..
3969 done
3970 topdir=$(pwd)
3971 cd ${old}
3972 echo ${topdir}
3973 })/bootstrap -r resout skip
3974 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
3975 at_status=$? at_failed=false
3976 $at_check_filter
3977 $at_diff experr "$at_stderr" || at_failed=:
3978 $at_diff expout "$at_stdout" || at_failed=:
3979 at_fn_check_status 0 $at_status "$at_srcdir/t_test_program_compare.at:110"
3980 $at_failed && at_fn_log_failure
3981 $at_traceon; }
3983 { set +x
3984 $as_echo "$at_srcdir/t_test_program_compare.at:112: cmp -s resout resexp"
3985 at_fn_check_prepare_trace "t_test_program_compare.at:112"
3986 ( $at_check_trace; cmp -s resout resexp
3987 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
3988 at_status=$? at_failed=false
3989 $at_check_filter
3990 at_fn_diff_devnull "$at_stderr" || at_failed=:
3991 at_fn_diff_devnull "$at_stdout" || at_failed=:
3992 at_fn_check_status 0 $at_status "$at_srcdir/t_test_program_compare.at:112"
3993 $at_failed && at_fn_log_failure
3994 $at_traceon; }
3996 sed 's,tp_basic_c,tp_basic_sh,g' <stdout >expout
3997 sed 's,tp_basic_c,tp_basic_sh,g' <stderr >experr
3998 sed 's,tp_basic_c,tp_basic_sh,g' <resout >resexp
3999 { set +x
4000 $as_echo "$at_srcdir/t_test_program_compare.at:116: \$({
4001 old=\$(pwd)
4002 while test \$(pwd) != '/' -a ! -e ./Makefile; do
4003 cd ..
4004 done
4005 topdir=\$(pwd)
4006 cd \${old}
4007 echo \${topdir}
4008 })/bootstrap/h_tp_basic_sh \\
4009 -s \$({
4010 old=\$(pwd)
4011 while test \$(pwd) != '/' -a ! -e ./Makefile; do
4012 cd ..
4013 done
4014 topdir=\$(pwd)
4015 cd \${old}
4016 echo \${topdir}
4017 })/bootstrap -r resout skip"
4018 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_test_program_compare.at:116"
4019 ( $at_check_trace; $({
4020 old=$(pwd)
4021 while test $(pwd) != '/' -a ! -e ./Makefile; do
4022 cd ..
4023 done
4024 topdir=$(pwd)
4025 cd ${old}
4026 echo ${topdir}
4027 })/bootstrap/h_tp_basic_sh \
4028 -s $({
4029 old=$(pwd)
4030 while test $(pwd) != '/' -a ! -e ./Makefile; do
4031 cd ..
4032 done
4033 topdir=$(pwd)
4034 cd ${old}
4035 echo ${topdir}
4036 })/bootstrap -r resout skip
4037 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
4038 at_status=$? at_failed=false
4039 $at_check_filter
4040 $at_diff experr "$at_stderr" || at_failed=:
4041 $at_diff expout "$at_stdout" || at_failed=:
4042 at_fn_check_status 0 $at_status "$at_srcdir/t_test_program_compare.at:116"
4043 $at_failed && at_fn_log_failure
4044 $at_traceon; }
4046 { set +x
4047 $as_echo "$at_srcdir/t_test_program_compare.at:118: cmp -s resout resexp"
4048 at_fn_check_prepare_trace "t_test_program_compare.at:118"
4049 ( $at_check_trace; cmp -s resout resexp
4050 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
4051 at_status=$? at_failed=false
4052 $at_check_filter
4053 at_fn_diff_devnull "$at_stderr" || at_failed=:
4054 at_fn_diff_devnull "$at_stdout" || at_failed=:
4055 at_fn_check_status 0 $at_status "$at_srcdir/t_test_program_compare.at:118"
4056 $at_failed && at_fn_log_failure
4057 $at_traceon; }
4060 { set +x
4061 $as_echo "$at_srcdir/t_test_program_compare.at:121: \$({
4062 old=\$(pwd)
4063 while test \$(pwd) != '/' -a ! -e ./Makefile; do
4064 cd ..
4065 done
4066 topdir=\$(pwd)
4067 cd \${old}
4068 echo \${topdir}
4069 })/bootstrap/h_tp_basic_c \\
4070 -s \$({
4071 old=\$(pwd)
4072 while test \$(pwd) != '/' -a ! -e ./Makefile; do
4073 cd ..
4074 done
4075 topdir=\$(pwd)
4076 cd \${old}
4077 echo \${topdir}
4078 })/bootstrap -r resout default"
4079 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_test_program_compare.at:121"
4080 ( $at_check_trace; $({
4081 old=$(pwd)
4082 while test $(pwd) != '/' -a ! -e ./Makefile; do
4083 cd ..
4084 done
4085 topdir=$(pwd)
4086 cd ${old}
4087 echo ${topdir}
4088 })/bootstrap/h_tp_basic_c \
4089 -s $({
4090 old=$(pwd)
4091 while test $(pwd) != '/' -a ! -e ./Makefile; do
4092 cd ..
4093 done
4094 topdir=$(pwd)
4095 cd ${old}
4096 echo ${topdir}
4097 })/bootstrap -r resout default
4098 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
4099 at_status=$? at_failed=false
4100 $at_check_filter
4101 echo stderr:; tee stderr <"$at_stderr"
4102 echo stdout:; tee stdout <"$at_stdout"
4103 at_fn_check_status 0 $at_status "$at_srcdir/t_test_program_compare.at:121"
4104 $at_failed && at_fn_log_failure
4105 $at_traceon; }
4107 sed 's,tp_basic_c,tp_basic_cpp,g' <stdout >expout
4108 sed 's,tp_basic_c,tp_basic_cpp,g' <stderr >experr
4109 sed 's,tp_basic_c,tp_basic_cpp,g' <resout >resexp
4110 { set +x
4111 $as_echo "$at_srcdir/t_test_program_compare.at:126: \$({
4112 old=\$(pwd)
4113 while test \$(pwd) != '/' -a ! -e ./Makefile; do
4114 cd ..
4115 done
4116 topdir=\$(pwd)
4117 cd \${old}
4118 echo \${topdir}
4119 })/bootstrap/h_tp_basic_cpp \\
4120 -s \$({
4121 old=\$(pwd)
4122 while test \$(pwd) != '/' -a ! -e ./Makefile; do
4123 cd ..
4124 done
4125 topdir=\$(pwd)
4126 cd \${old}
4127 echo \${topdir}
4128 })/bootstrap -r resout default"
4129 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_test_program_compare.at:126"
4130 ( $at_check_trace; $({
4131 old=$(pwd)
4132 while test $(pwd) != '/' -a ! -e ./Makefile; do
4133 cd ..
4134 done
4135 topdir=$(pwd)
4136 cd ${old}
4137 echo ${topdir}
4138 })/bootstrap/h_tp_basic_cpp \
4139 -s $({
4140 old=$(pwd)
4141 while test $(pwd) != '/' -a ! -e ./Makefile; do
4142 cd ..
4143 done
4144 topdir=$(pwd)
4145 cd ${old}
4146 echo ${topdir}
4147 })/bootstrap -r resout default
4148 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
4149 at_status=$? at_failed=false
4150 $at_check_filter
4151 $at_diff experr "$at_stderr" || at_failed=:
4152 $at_diff expout "$at_stdout" || at_failed=:
4153 at_fn_check_status 0 $at_status "$at_srcdir/t_test_program_compare.at:126"
4154 $at_failed && at_fn_log_failure
4155 $at_traceon; }
4157 { set +x
4158 $as_echo "$at_srcdir/t_test_program_compare.at:128: cmp -s resout resexp"
4159 at_fn_check_prepare_trace "t_test_program_compare.at:128"
4160 ( $at_check_trace; cmp -s resout resexp
4161 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
4162 at_status=$? at_failed=false
4163 $at_check_filter
4164 at_fn_diff_devnull "$at_stderr" || at_failed=:
4165 at_fn_diff_devnull "$at_stdout" || at_failed=:
4166 at_fn_check_status 0 $at_status "$at_srcdir/t_test_program_compare.at:128"
4167 $at_failed && at_fn_log_failure
4168 $at_traceon; }
4170 sed 's,tp_basic_c,tp_basic_sh,g' <stdout >expout
4171 sed 's,tp_basic_c,tp_basic_sh,g' <stderr >experr
4172 sed 's,tp_basic_c,tp_basic_sh,g' <resout >resexp
4173 { set +x
4174 $as_echo "$at_srcdir/t_test_program_compare.at:132: \$({
4175 old=\$(pwd)
4176 while test \$(pwd) != '/' -a ! -e ./Makefile; do
4177 cd ..
4178 done
4179 topdir=\$(pwd)
4180 cd \${old}
4181 echo \${topdir}
4182 })/bootstrap/h_tp_basic_sh \\
4183 -s \$({
4184 old=\$(pwd)
4185 while test \$(pwd) != '/' -a ! -e ./Makefile; do
4186 cd ..
4187 done
4188 topdir=\$(pwd)
4189 cd \${old}
4190 echo \${topdir}
4191 })/bootstrap -r resout default"
4192 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_test_program_compare.at:132"
4193 ( $at_check_trace; $({
4194 old=$(pwd)
4195 while test $(pwd) != '/' -a ! -e ./Makefile; do
4196 cd ..
4197 done
4198 topdir=$(pwd)
4199 cd ${old}
4200 echo ${topdir}
4201 })/bootstrap/h_tp_basic_sh \
4202 -s $({
4203 old=$(pwd)
4204 while test $(pwd) != '/' -a ! -e ./Makefile; do
4205 cd ..
4206 done
4207 topdir=$(pwd)
4208 cd ${old}
4209 echo ${topdir}
4210 })/bootstrap -r resout default
4211 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
4212 at_status=$? at_failed=false
4213 $at_check_filter
4214 $at_diff experr "$at_stderr" || at_failed=:
4215 $at_diff expout "$at_stdout" || at_failed=:
4216 at_fn_check_status 0 $at_status "$at_srcdir/t_test_program_compare.at:132"
4217 $at_failed && at_fn_log_failure
4218 $at_traceon; }
4220 { set +x
4221 $as_echo "$at_srcdir/t_test_program_compare.at:134: cmp -s resout resexp"
4222 at_fn_check_prepare_trace "t_test_program_compare.at:134"
4223 ( $at_check_trace; cmp -s resout resexp
4224 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
4225 at_status=$? at_failed=false
4226 $at_check_filter
4227 at_fn_diff_devnull "$at_stderr" || at_failed=:
4228 at_fn_diff_devnull "$at_stdout" || at_failed=:
4229 at_fn_check_status 0 $at_status "$at_srcdir/t_test_program_compare.at:134"
4230 $at_failed && at_fn_log_failure
4231 $at_traceon; }
4234 { set +x
4235 $as_echo "$at_srcdir/t_test_program_compare.at:137: \$({
4236 old=\$(pwd)
4237 while test \$(pwd) != '/' -a ! -e ./Makefile; do
4238 cd ..
4239 done
4240 topdir=\$(pwd)
4241 cd \${old}
4242 echo \${topdir}
4243 })/bootstrap/h_tp_basic_c \\
4244 -s \$({
4245 old=\$(pwd)
4246 while test \$(pwd) != '/' -a ! -e ./Makefile; do
4247 cd ..
4248 done
4249 topdir=\$(pwd)
4250 cd \${old}
4251 echo \${topdir}
4252 })/bootstrap pass fail"
4253 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_test_program_compare.at:137"
4254 ( $at_check_trace; $({
4255 old=$(pwd)
4256 while test $(pwd) != '/' -a ! -e ./Makefile; do
4257 cd ..
4258 done
4259 topdir=$(pwd)
4260 cd ${old}
4261 echo ${topdir}
4262 })/bootstrap/h_tp_basic_c \
4263 -s $({
4264 old=$(pwd)
4265 while test $(pwd) != '/' -a ! -e ./Makefile; do
4266 cd ..
4267 done
4268 topdir=$(pwd)
4269 cd ${old}
4270 echo ${topdir}
4271 })/bootstrap pass fail
4272 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
4273 at_status=$? at_failed=false
4274 $at_check_filter
4275 echo stderr:; tee stderr <"$at_stderr"
4276 echo stdout:; tee stdout <"$at_stdout"
4277 at_fn_check_status 1 $at_status "$at_srcdir/t_test_program_compare.at:137"
4278 $at_failed && at_fn_log_failure
4279 $at_traceon; }
4281 sed 's,tp_basic_c,tp_basic_cpp,g' <stdout >expout
4282 sed 's,tp_basic_c,tp_basic_cpp,g' <stderr >experr
4283 { set +x
4284 $as_echo "$at_srcdir/t_test_program_compare.at:141: \$({
4285 old=\$(pwd)
4286 while test \$(pwd) != '/' -a ! -e ./Makefile; do
4287 cd ..
4288 done
4289 topdir=\$(pwd)
4290 cd \${old}
4291 echo \${topdir}
4292 })/bootstrap/h_tp_basic_cpp \\
4293 -s \$({
4294 old=\$(pwd)
4295 while test \$(pwd) != '/' -a ! -e ./Makefile; do
4296 cd ..
4297 done
4298 topdir=\$(pwd)
4299 cd \${old}
4300 echo \${topdir}
4301 })/bootstrap pass fail"
4302 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_test_program_compare.at:141"
4303 ( $at_check_trace; $({
4304 old=$(pwd)
4305 while test $(pwd) != '/' -a ! -e ./Makefile; do
4306 cd ..
4307 done
4308 topdir=$(pwd)
4309 cd ${old}
4310 echo ${topdir}
4311 })/bootstrap/h_tp_basic_cpp \
4312 -s $({
4313 old=$(pwd)
4314 while test $(pwd) != '/' -a ! -e ./Makefile; do
4315 cd ..
4316 done
4317 topdir=$(pwd)
4318 cd ${old}
4319 echo ${topdir}
4320 })/bootstrap pass fail
4321 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
4322 at_status=$? at_failed=false
4323 $at_check_filter
4324 $at_diff experr "$at_stderr" || at_failed=:
4325 $at_diff expout "$at_stdout" || at_failed=:
4326 at_fn_check_status 1 $at_status "$at_srcdir/t_test_program_compare.at:141"
4327 $at_failed && at_fn_log_failure
4328 $at_traceon; }
4330 sed 's,tp_basic_c,tp_basic_sh,g' <stdout >expout
4331 sed 's,tp_basic_c,tp_basic_sh,g' <stderr >experr
4332 { set +x
4333 $as_echo "$at_srcdir/t_test_program_compare.at:145: \$({
4334 old=\$(pwd)
4335 while test \$(pwd) != '/' -a ! -e ./Makefile; do
4336 cd ..
4337 done
4338 topdir=\$(pwd)
4339 cd \${old}
4340 echo \${topdir}
4341 })/bootstrap/h_tp_basic_sh \\
4342 -s \$({
4343 old=\$(pwd)
4344 while test \$(pwd) != '/' -a ! -e ./Makefile; do
4345 cd ..
4346 done
4347 topdir=\$(pwd)
4348 cd \${old}
4349 echo \${topdir}
4350 })/bootstrap pass fail"
4351 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_test_program_compare.at:145"
4352 ( $at_check_trace; $({
4353 old=$(pwd)
4354 while test $(pwd) != '/' -a ! -e ./Makefile; do
4355 cd ..
4356 done
4357 topdir=$(pwd)
4358 cd ${old}
4359 echo ${topdir}
4360 })/bootstrap/h_tp_basic_sh \
4361 -s $({
4362 old=$(pwd)
4363 while test $(pwd) != '/' -a ! -e ./Makefile; do
4364 cd ..
4365 done
4366 topdir=$(pwd)
4367 cd ${old}
4368 echo ${topdir}
4369 })/bootstrap pass fail
4370 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
4371 at_status=$? at_failed=false
4372 $at_check_filter
4373 $at_diff experr "$at_stderr" || at_failed=:
4374 $at_diff expout "$at_stdout" || at_failed=:
4375 at_fn_check_status 1 $at_status "$at_srcdir/t_test_program_compare.at:145"
4376 $at_failed && at_fn_log_failure
4377 $at_traceon; }
4380 { set +x
4381 $as_echo "$at_srcdir/t_test_program_compare.at:149: \$({
4382 old=\$(pwd)
4383 while test \$(pwd) != '/' -a ! -e ./Makefile; do
4384 cd ..
4385 done
4386 topdir=\$(pwd)
4387 cd \${old}
4388 echo \${topdir}
4389 })/bootstrap/h_tp_basic_c \\
4390 -s \$({
4391 old=\$(pwd)
4392 while test \$(pwd) != '/' -a ! -e ./Makefile; do
4393 cd ..
4394 done
4395 topdir=\$(pwd)
4396 cd \${old}
4397 echo \${topdir}
4398 })/bootstrap unknown"
4399 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_test_program_compare.at:149"
4400 ( $at_check_trace; $({
4401 old=$(pwd)
4402 while test $(pwd) != '/' -a ! -e ./Makefile; do
4403 cd ..
4404 done
4405 topdir=$(pwd)
4406 cd ${old}
4407 echo ${topdir}
4408 })/bootstrap/h_tp_basic_c \
4409 -s $({
4410 old=$(pwd)
4411 while test $(pwd) != '/' -a ! -e ./Makefile; do
4412 cd ..
4413 done
4414 topdir=$(pwd)
4415 cd ${old}
4416 echo ${topdir}
4417 })/bootstrap unknown
4418 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
4419 at_status=$? at_failed=false
4420 $at_check_filter
4421 echo stderr:; tee stderr <"$at_stderr"
4422 echo stdout:; tee stdout <"$at_stdout"
4423 at_fn_check_status 1 $at_status "$at_srcdir/t_test_program_compare.at:149"
4424 $at_failed && at_fn_log_failure
4425 $at_traceon; }
4427 sed 's,tp_basic_c,tp_basic_cpp,g' <stdout >expout
4428 sed 's,tp_basic_c,tp_basic_cpp,g' <stderr >experr
4429 { set +x
4430 $as_echo "$at_srcdir/t_test_program_compare.at:153: \$({
4431 old=\$(pwd)
4432 while test \$(pwd) != '/' -a ! -e ./Makefile; do
4433 cd ..
4434 done
4435 topdir=\$(pwd)
4436 cd \${old}
4437 echo \${topdir}
4438 })/bootstrap/h_tp_basic_cpp \\
4439 -s \$({
4440 old=\$(pwd)
4441 while test \$(pwd) != '/' -a ! -e ./Makefile; do
4442 cd ..
4443 done
4444 topdir=\$(pwd)
4445 cd \${old}
4446 echo \${topdir}
4447 })/bootstrap unknown"
4448 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_test_program_compare.at:153"
4449 ( $at_check_trace; $({
4450 old=$(pwd)
4451 while test $(pwd) != '/' -a ! -e ./Makefile; do
4452 cd ..
4453 done
4454 topdir=$(pwd)
4455 cd ${old}
4456 echo ${topdir}
4457 })/bootstrap/h_tp_basic_cpp \
4458 -s $({
4459 old=$(pwd)
4460 while test $(pwd) != '/' -a ! -e ./Makefile; do
4461 cd ..
4462 done
4463 topdir=$(pwd)
4464 cd ${old}
4465 echo ${topdir}
4466 })/bootstrap unknown
4467 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
4468 at_status=$? at_failed=false
4469 $at_check_filter
4470 $at_diff experr "$at_stderr" || at_failed=:
4471 $at_diff expout "$at_stdout" || at_failed=:
4472 at_fn_check_status 1 $at_status "$at_srcdir/t_test_program_compare.at:153"
4473 $at_failed && at_fn_log_failure
4474 $at_traceon; }
4476 sed 's,tp_basic_c,tp_basic_sh,g' <stdout >expout
4477 sed 's,tp_basic_c,tp_basic_sh,g' <stderr >experr
4478 { set +x
4479 $as_echo "$at_srcdir/t_test_program_compare.at:157: \$({
4480 old=\$(pwd)
4481 while test \$(pwd) != '/' -a ! -e ./Makefile; do
4482 cd ..
4483 done
4484 topdir=\$(pwd)
4485 cd \${old}
4486 echo \${topdir}
4487 })/bootstrap/h_tp_basic_sh \\
4488 -s \$({
4489 old=\$(pwd)
4490 while test \$(pwd) != '/' -a ! -e ./Makefile; do
4491 cd ..
4492 done
4493 topdir=\$(pwd)
4494 cd \${old}
4495 echo \${topdir}
4496 })/bootstrap unknown"
4497 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_test_program_compare.at:157"
4498 ( $at_check_trace; $({
4499 old=$(pwd)
4500 while test $(pwd) != '/' -a ! -e ./Makefile; do
4501 cd ..
4502 done
4503 topdir=$(pwd)
4504 cd ${old}
4505 echo ${topdir}
4506 })/bootstrap/h_tp_basic_sh \
4507 -s $({
4508 old=$(pwd)
4509 while test $(pwd) != '/' -a ! -e ./Makefile; do
4510 cd ..
4511 done
4512 topdir=$(pwd)
4513 cd ${old}
4514 echo ${topdir}
4515 })/bootstrap unknown
4516 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
4517 at_status=$? at_failed=false
4518 $at_check_filter
4519 $at_diff experr "$at_stderr" || at_failed=:
4520 $at_diff expout "$at_stdout" || at_failed=:
4521 at_fn_check_status 1 $at_status "$at_srcdir/t_test_program_compare.at:157"
4522 $at_failed && at_fn_log_failure
4523 $at_traceon; }
4526 { set +x
4527 $as_echo "$at_srcdir/t_test_program_compare.at:161: \$({
4528 old=\$(pwd)
4529 while test \$(pwd) != '/' -a ! -e ./Makefile; do
4530 cd ..
4531 done
4532 topdir=\$(pwd)
4533 cd \${old}
4534 echo \${topdir}
4535 })/bootstrap/h_tp_basic_c \\
4536 -s \$({
4537 old=\$(pwd)
4538 while test \$(pwd) != '/' -a ! -e ./Makefile; do
4539 cd ..
4540 done
4541 topdir=\$(pwd)
4542 cd \${old}
4543 echo \${topdir}
4544 })/bootstrap pass:cleanup"
4545 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_test_program_compare.at:161"
4546 ( $at_check_trace; $({
4547 old=$(pwd)
4548 while test $(pwd) != '/' -a ! -e ./Makefile; do
4549 cd ..
4550 done
4551 topdir=$(pwd)
4552 cd ${old}
4553 echo ${topdir}
4554 })/bootstrap/h_tp_basic_c \
4555 -s $({
4556 old=$(pwd)
4557 while test $(pwd) != '/' -a ! -e ./Makefile; do
4558 cd ..
4559 done
4560 topdir=$(pwd)
4561 cd ${old}
4562 echo ${topdir}
4563 })/bootstrap pass:cleanup
4564 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
4565 at_status=$? at_failed=false
4566 $at_check_filter
4567 echo stderr:; tee stderr <"$at_stderr"
4568 echo stdout:; tee stdout <"$at_stdout"
4569 at_fn_check_status 0 $at_status "$at_srcdir/t_test_program_compare.at:161"
4570 $at_failed && at_fn_log_failure
4571 $at_traceon; }
4573 sed 's,tp_basic_c,tp_basic_cpp,g' <stdout >expout
4574 sed 's,tp_basic_c,tp_basic_cpp,g' <stderr >experr
4575 { set +x
4576 $as_echo "$at_srcdir/t_test_program_compare.at:165: \$({
4577 old=\$(pwd)
4578 while test \$(pwd) != '/' -a ! -e ./Makefile; do
4579 cd ..
4580 done
4581 topdir=\$(pwd)
4582 cd \${old}
4583 echo \${topdir}
4584 })/bootstrap/h_tp_basic_cpp \\
4585 -s \$({
4586 old=\$(pwd)
4587 while test \$(pwd) != '/' -a ! -e ./Makefile; do
4588 cd ..
4589 done
4590 topdir=\$(pwd)
4591 cd \${old}
4592 echo \${topdir}
4593 })/bootstrap pass:cleanup"
4594 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_test_program_compare.at:165"
4595 ( $at_check_trace; $({
4596 old=$(pwd)
4597 while test $(pwd) != '/' -a ! -e ./Makefile; do
4598 cd ..
4599 done
4600 topdir=$(pwd)
4601 cd ${old}
4602 echo ${topdir}
4603 })/bootstrap/h_tp_basic_cpp \
4604 -s $({
4605 old=$(pwd)
4606 while test $(pwd) != '/' -a ! -e ./Makefile; do
4607 cd ..
4608 done
4609 topdir=$(pwd)
4610 cd ${old}
4611 echo ${topdir}
4612 })/bootstrap pass:cleanup
4613 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
4614 at_status=$? at_failed=false
4615 $at_check_filter
4616 $at_diff experr "$at_stderr" || at_failed=:
4617 $at_diff expout "$at_stdout" || at_failed=:
4618 at_fn_check_status 0 $at_status "$at_srcdir/t_test_program_compare.at:165"
4619 $at_failed && at_fn_log_failure
4620 $at_traceon; }
4622 sed 's,tp_basic_c,tp_basic_sh,g' <stdout >expout
4623 sed 's,tp_basic_c,tp_basic_sh,g' <stderr >experr
4624 { set +x
4625 $as_echo "$at_srcdir/t_test_program_compare.at:169: \$({
4626 old=\$(pwd)
4627 while test \$(pwd) != '/' -a ! -e ./Makefile; do
4628 cd ..
4629 done
4630 topdir=\$(pwd)
4631 cd \${old}
4632 echo \${topdir}
4633 })/bootstrap/h_tp_basic_sh \\
4634 -s \$({
4635 old=\$(pwd)
4636 while test \$(pwd) != '/' -a ! -e ./Makefile; do
4637 cd ..
4638 done
4639 topdir=\$(pwd)
4640 cd \${old}
4641 echo \${topdir}
4642 })/bootstrap pass:cleanup"
4643 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_test_program_compare.at:169"
4644 ( $at_check_trace; $({
4645 old=$(pwd)
4646 while test $(pwd) != '/' -a ! -e ./Makefile; do
4647 cd ..
4648 done
4649 topdir=$(pwd)
4650 cd ${old}
4651 echo ${topdir}
4652 })/bootstrap/h_tp_basic_sh \
4653 -s $({
4654 old=$(pwd)
4655 while test $(pwd) != '/' -a ! -e ./Makefile; do
4656 cd ..
4657 done
4658 topdir=$(pwd)
4659 cd ${old}
4660 echo ${topdir}
4661 })/bootstrap pass:cleanup
4662 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
4663 at_status=$? at_failed=false
4664 $at_check_filter
4665 $at_diff experr "$at_stderr" || at_failed=:
4666 $at_diff expout "$at_stdout" || at_failed=:
4667 at_fn_check_status 0 $at_status "$at_srcdir/t_test_program_compare.at:169"
4668 $at_failed && at_fn_log_failure
4669 $at_traceon; }
4672 { set +x
4673 $as_echo "$at_srcdir/t_test_program_compare.at:173: \$({
4674 old=\$(pwd)
4675 while test \$(pwd) != '/' -a ! -e ./Makefile; do
4676 cd ..
4677 done
4678 topdir=\$(pwd)
4679 cd \${old}
4680 echo \${topdir}
4681 })/bootstrap/h_tp_basic_c \\
4682 -s \$({
4683 old=\$(pwd)
4684 while test \$(pwd) != '/' -a ! -e ./Makefile; do
4685 cd ..
4686 done
4687 topdir=\$(pwd)
4688 cd \${old}
4689 echo \${topdir}
4690 })/bootstrap skip"
4691 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_test_program_compare.at:173"
4692 ( $at_check_trace; $({
4693 old=$(pwd)
4694 while test $(pwd) != '/' -a ! -e ./Makefile; do
4695 cd ..
4696 done
4697 topdir=$(pwd)
4698 cd ${old}
4699 echo ${topdir}
4700 })/bootstrap/h_tp_basic_c \
4701 -s $({
4702 old=$(pwd)
4703 while test $(pwd) != '/' -a ! -e ./Makefile; do
4704 cd ..
4705 done
4706 topdir=$(pwd)
4707 cd ${old}
4708 echo ${topdir}
4709 })/bootstrap skip
4710 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
4711 at_status=$? at_failed=false
4712 $at_check_filter
4713 echo stderr:; tee stderr <"$at_stderr"
4714 echo stdout:; tee stdout <"$at_stdout"
4715 at_fn_check_status 0 $at_status "$at_srcdir/t_test_program_compare.at:173"
4716 $at_failed && at_fn_log_failure
4717 $at_traceon; }
4719 sed 's,tp_basic_c,tp_basic_cpp,g' <stdout >expout
4720 sed 's,tp_basic_c,tp_basic_cpp,g' <stderr >experr
4721 { set +x
4722 $as_echo "$at_srcdir/t_test_program_compare.at:177: \$({
4723 old=\$(pwd)
4724 while test \$(pwd) != '/' -a ! -e ./Makefile; do
4725 cd ..
4726 done
4727 topdir=\$(pwd)
4728 cd \${old}
4729 echo \${topdir}
4730 })/bootstrap/h_tp_basic_cpp \\
4731 -s \$({
4732 old=\$(pwd)
4733 while test \$(pwd) != '/' -a ! -e ./Makefile; do
4734 cd ..
4735 done
4736 topdir=\$(pwd)
4737 cd \${old}
4738 echo \${topdir}
4739 })/bootstrap skip"
4740 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_test_program_compare.at:177"
4741 ( $at_check_trace; $({
4742 old=$(pwd)
4743 while test $(pwd) != '/' -a ! -e ./Makefile; do
4744 cd ..
4745 done
4746 topdir=$(pwd)
4747 cd ${old}
4748 echo ${topdir}
4749 })/bootstrap/h_tp_basic_cpp \
4750 -s $({
4751 old=$(pwd)
4752 while test $(pwd) != '/' -a ! -e ./Makefile; do
4753 cd ..
4754 done
4755 topdir=$(pwd)
4756 cd ${old}
4757 echo ${topdir}
4758 })/bootstrap skip
4759 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
4760 at_status=$? at_failed=false
4761 $at_check_filter
4762 $at_diff experr "$at_stderr" || at_failed=:
4763 $at_diff expout "$at_stdout" || at_failed=:
4764 at_fn_check_status 0 $at_status "$at_srcdir/t_test_program_compare.at:177"
4765 $at_failed && at_fn_log_failure
4766 $at_traceon; }
4768 sed 's,tp_basic_c,tp_basic_sh,g' <stdout >expout
4769 sed 's,tp_basic_c,tp_basic_sh,g' <stderr >experr
4770 { set +x
4771 $as_echo "$at_srcdir/t_test_program_compare.at:181: \$({
4772 old=\$(pwd)
4773 while test \$(pwd) != '/' -a ! -e ./Makefile; do
4774 cd ..
4775 done
4776 topdir=\$(pwd)
4777 cd \${old}
4778 echo \${topdir}
4779 })/bootstrap/h_tp_basic_sh \\
4780 -s \$({
4781 old=\$(pwd)
4782 while test \$(pwd) != '/' -a ! -e ./Makefile; do
4783 cd ..
4784 done
4785 topdir=\$(pwd)
4786 cd \${old}
4787 echo \${topdir}
4788 })/bootstrap skip"
4789 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_test_program_compare.at:181"
4790 ( $at_check_trace; $({
4791 old=$(pwd)
4792 while test $(pwd) != '/' -a ! -e ./Makefile; do
4793 cd ..
4794 done
4795 topdir=$(pwd)
4796 cd ${old}
4797 echo ${topdir}
4798 })/bootstrap/h_tp_basic_sh \
4799 -s $({
4800 old=$(pwd)
4801 while test $(pwd) != '/' -a ! -e ./Makefile; do
4802 cd ..
4803 done
4804 topdir=$(pwd)
4805 cd ${old}
4806 echo ${topdir}
4807 })/bootstrap skip
4808 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
4809 at_status=$? at_failed=false
4810 $at_check_filter
4811 $at_diff experr "$at_stderr" || at_failed=:
4812 $at_diff expout "$at_stdout" || at_failed=:
4813 at_fn_check_status 0 $at_status "$at_srcdir/t_test_program_compare.at:181"
4814 $at_failed && at_fn_log_failure
4815 $at_traceon; }
4818 set +x
4819 $at_times_p && times >"$at_times_file"
4820 ) 5>&1 2>&1 7>&- | eval $at_tee_pipe
4821 read at_status <"$at_status_file"
4822 #AT_STOP_4
4823 #AT_START_5
4824 at_fn_group_banner 5 't_subr_atf_check.at:30' \
4825 "subr: atf_check function" " "
4826 at_xfail=no
4828 $as_echo "5. $at_setup_line: testing $at_desc ..."
4829 $at_traceon
4832 { set +x
4833 $as_echo "$at_srcdir/t_subr_atf_check.at:32: \$({
4834 old=\$(pwd)
4835 while test \$(pwd) != '/' -a ! -e ./Makefile; do
4836 cd ..
4837 done
4838 topdir=\$(pwd)
4839 cd \${old}
4840 echo \${topdir}
4841 })/bootstrap/h_tp_atf_check_sh \\
4842 -s \$({
4843 old=\$(pwd)
4844 while test \$(pwd) != '/' -a ! -e ./Makefile; do
4845 cd ..
4846 done
4847 topdir=\$(pwd)
4848 cd \${old}
4849 echo \${topdir}
4850 })/bootstrap exitcode_0_0"
4851 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_subr_atf_check.at:32"
4852 ( $at_check_trace; $({
4853 old=$(pwd)
4854 while test $(pwd) != '/' -a ! -e ./Makefile; do
4855 cd ..
4856 done
4857 topdir=$(pwd)
4858 cd ${old}
4859 echo ${topdir}
4860 })/bootstrap/h_tp_atf_check_sh \
4861 -s $({
4862 old=$(pwd)
4863 while test $(pwd) != '/' -a ! -e ./Makefile; do
4864 cd ..
4865 done
4866 topdir=$(pwd)
4867 cd ${old}
4868 echo ${topdir}
4869 })/bootstrap exitcode_0_0
4870 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
4871 at_status=$? at_failed=false
4872 $at_check_filter
4873 echo stderr:; cat "$at_stderr"
4874 echo stdout:; cat "$at_stdout"
4875 at_fn_check_status 0 $at_status "$at_srcdir/t_subr_atf_check.at:32"
4876 $at_failed && at_fn_log_failure
4877 $at_traceon; }
4879 { set +x
4880 $as_echo "$at_srcdir/t_subr_atf_check.at:34: \$({
4881 old=\$(pwd)
4882 while test \$(pwd) != '/' -a ! -e ./Makefile; do
4883 cd ..
4884 done
4885 topdir=\$(pwd)
4886 cd \${old}
4887 echo \${topdir}
4888 })/bootstrap/h_tp_atf_check_sh \\
4889 -s \$({
4890 old=\$(pwd)
4891 while test \$(pwd) != '/' -a ! -e ./Makefile; do
4892 cd ..
4893 done
4894 topdir=\$(pwd)
4895 cd \${old}
4896 echo \${topdir}
4897 })/bootstrap exitcode_0_1"
4898 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_subr_atf_check.at:34"
4899 ( $at_check_trace; $({
4900 old=$(pwd)
4901 while test $(pwd) != '/' -a ! -e ./Makefile; do
4902 cd ..
4903 done
4904 topdir=$(pwd)
4905 cd ${old}
4906 echo ${topdir}
4907 })/bootstrap/h_tp_atf_check_sh \
4908 -s $({
4909 old=$(pwd)
4910 while test $(pwd) != '/' -a ! -e ./Makefile; do
4911 cd ..
4912 done
4913 topdir=$(pwd)
4914 cd ${old}
4915 echo ${topdir}
4916 })/bootstrap exitcode_0_1
4917 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
4918 at_status=$? at_failed=false
4919 $at_check_filter
4920 echo stderr:; cat "$at_stderr"
4921 echo stdout:; cat "$at_stdout"
4922 at_fn_check_status 1 $at_status "$at_srcdir/t_subr_atf_check.at:34"
4923 $at_failed && at_fn_log_failure
4924 $at_traceon; }
4926 { set +x
4927 $as_echo "$at_srcdir/t_subr_atf_check.at:36: \$({
4928 old=\$(pwd)
4929 while test \$(pwd) != '/' -a ! -e ./Makefile; do
4930 cd ..
4931 done
4932 topdir=\$(pwd)
4933 cd \${old}
4934 echo \${topdir}
4935 })/bootstrap/h_tp_atf_check_sh \\
4936 -s \$({
4937 old=\$(pwd)
4938 while test \$(pwd) != '/' -a ! -e ./Makefile; do
4939 cd ..
4940 done
4941 topdir=\$(pwd)
4942 cd \${old}
4943 echo \${topdir}
4944 })/bootstrap exitcode_1_0"
4945 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_subr_atf_check.at:36"
4946 ( $at_check_trace; $({
4947 old=$(pwd)
4948 while test $(pwd) != '/' -a ! -e ./Makefile; do
4949 cd ..
4950 done
4951 topdir=$(pwd)
4952 cd ${old}
4953 echo ${topdir}
4954 })/bootstrap/h_tp_atf_check_sh \
4955 -s $({
4956 old=$(pwd)
4957 while test $(pwd) != '/' -a ! -e ./Makefile; do
4958 cd ..
4959 done
4960 topdir=$(pwd)
4961 cd ${old}
4962 echo ${topdir}
4963 })/bootstrap exitcode_1_0
4964 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
4965 at_status=$? at_failed=false
4966 $at_check_filter
4967 echo stderr:; cat "$at_stderr"
4968 echo stdout:; cat "$at_stdout"
4969 at_fn_check_status 1 $at_status "$at_srcdir/t_subr_atf_check.at:36"
4970 $at_failed && at_fn_log_failure
4971 $at_traceon; }
4973 { set +x
4974 $as_echo "$at_srcdir/t_subr_atf_check.at:38: \$({
4975 old=\$(pwd)
4976 while test \$(pwd) != '/' -a ! -e ./Makefile; do
4977 cd ..
4978 done
4979 topdir=\$(pwd)
4980 cd \${old}
4981 echo \${topdir}
4982 })/bootstrap/h_tp_atf_check_sh \\
4983 -s \$({
4984 old=\$(pwd)
4985 while test \$(pwd) != '/' -a ! -e ./Makefile; do
4986 cd ..
4987 done
4988 topdir=\$(pwd)
4989 cd \${old}
4990 echo \${topdir}
4991 })/bootstrap exitcode_1_1"
4992 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_subr_atf_check.at:38"
4993 ( $at_check_trace; $({
4994 old=$(pwd)
4995 while test $(pwd) != '/' -a ! -e ./Makefile; do
4996 cd ..
4997 done
4998 topdir=$(pwd)
4999 cd ${old}
5000 echo ${topdir}
5001 })/bootstrap/h_tp_atf_check_sh \
5002 -s $({
5003 old=$(pwd)
5004 while test $(pwd) != '/' -a ! -e ./Makefile; do
5005 cd ..
5006 done
5007 topdir=$(pwd)
5008 cd ${old}
5009 echo ${topdir}
5010 })/bootstrap exitcode_1_1
5011 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
5012 at_status=$? at_failed=false
5013 $at_check_filter
5014 echo stderr:; cat "$at_stderr"
5015 echo stdout:; cat "$at_stdout"
5016 at_fn_check_status 0 $at_status "$at_srcdir/t_subr_atf_check.at:38"
5017 $at_failed && at_fn_log_failure
5018 $at_traceon; }
5021 { set +x
5022 $as_echo "$at_srcdir/t_subr_atf_check.at:41: \$({
5023 old=\$(pwd)
5024 while test \$(pwd) != '/' -a ! -e ./Makefile; do
5025 cd ..
5026 done
5027 topdir=\$(pwd)
5028 cd \${old}
5029 echo \${topdir}
5030 })/bootstrap/h_tp_atf_check_sh \\
5031 -s \$({
5032 old=\$(pwd)
5033 while test \$(pwd) != '/' -a ! -e ./Makefile; do
5034 cd ..
5035 done
5036 topdir=\$(pwd)
5037 cd \${old}
5038 echo \${topdir}
5039 })/bootstrap stdout_expout_pass"
5040 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_subr_atf_check.at:41"
5041 ( $at_check_trace; $({
5042 old=$(pwd)
5043 while test $(pwd) != '/' -a ! -e ./Makefile; do
5044 cd ..
5045 done
5046 topdir=$(pwd)
5047 cd ${old}
5048 echo ${topdir}
5049 })/bootstrap/h_tp_atf_check_sh \
5050 -s $({
5051 old=$(pwd)
5052 while test $(pwd) != '/' -a ! -e ./Makefile; do
5053 cd ..
5054 done
5055 topdir=$(pwd)
5056 cd ${old}
5057 echo ${topdir}
5058 })/bootstrap stdout_expout_pass
5059 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
5060 at_status=$? at_failed=false
5061 $at_check_filter
5062 echo stderr:; cat "$at_stderr"
5063 echo stdout:; cat "$at_stdout"
5064 at_fn_check_status 0 $at_status "$at_srcdir/t_subr_atf_check.at:41"
5065 $at_failed && at_fn_log_failure
5066 $at_traceon; }
5068 { set +x
5069 $as_echo "$at_srcdir/t_subr_atf_check.at:43: \$({
5070 old=\$(pwd)
5071 while test \$(pwd) != '/' -a ! -e ./Makefile; do
5072 cd ..
5073 done
5074 topdir=\$(pwd)
5075 cd \${old}
5076 echo \${topdir}
5077 })/bootstrap/h_tp_atf_check_sh \\
5078 -s \$({
5079 old=\$(pwd)
5080 while test \$(pwd) != '/' -a ! -e ./Makefile; do
5081 cd ..
5082 done
5083 topdir=\$(pwd)
5084 cd \${old}
5085 echo \${topdir}
5086 })/bootstrap stdout_expout_fail"
5087 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_subr_atf_check.at:43"
5088 ( $at_check_trace; $({
5089 old=$(pwd)
5090 while test $(pwd) != '/' -a ! -e ./Makefile; do
5091 cd ..
5092 done
5093 topdir=$(pwd)
5094 cd ${old}
5095 echo ${topdir}
5096 })/bootstrap/h_tp_atf_check_sh \
5097 -s $({
5098 old=$(pwd)
5099 while test $(pwd) != '/' -a ! -e ./Makefile; do
5100 cd ..
5101 done
5102 topdir=$(pwd)
5103 cd ${old}
5104 echo ${topdir}
5105 })/bootstrap stdout_expout_fail
5106 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
5107 at_status=$? at_failed=false
5108 $at_check_filter
5109 echo stderr:; cat "$at_stderr"
5110 echo stdout:; cat "$at_stdout"
5111 at_fn_check_status 1 $at_status "$at_srcdir/t_subr_atf_check.at:43"
5112 $at_failed && at_fn_log_failure
5113 $at_traceon; }
5115 { set +x
5116 $as_echo "$at_srcdir/t_subr_atf_check.at:45: \$({
5117 old=\$(pwd)
5118 while test \$(pwd) != '/' -a ! -e ./Makefile; do
5119 cd ..
5120 done
5121 topdir=\$(pwd)
5122 cd \${old}
5123 echo \${topdir}
5124 })/bootstrap/h_tp_atf_check_sh \\
5125 -s \$({
5126 old=\$(pwd)
5127 while test \$(pwd) != '/' -a ! -e ./Makefile; do
5128 cd ..
5129 done
5130 topdir=\$(pwd)
5131 cd \${old}
5132 echo \${topdir}
5133 })/bootstrap stdout_ignore_empty"
5134 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_subr_atf_check.at:45"
5135 ( $at_check_trace; $({
5136 old=$(pwd)
5137 while test $(pwd) != '/' -a ! -e ./Makefile; do
5138 cd ..
5139 done
5140 topdir=$(pwd)
5141 cd ${old}
5142 echo ${topdir}
5143 })/bootstrap/h_tp_atf_check_sh \
5144 -s $({
5145 old=$(pwd)
5146 while test $(pwd) != '/' -a ! -e ./Makefile; do
5147 cd ..
5148 done
5149 topdir=$(pwd)
5150 cd ${old}
5151 echo ${topdir}
5152 })/bootstrap stdout_ignore_empty
5153 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
5154 at_status=$? at_failed=false
5155 $at_check_filter
5156 echo stderr:; cat "$at_stderr"
5157 echo stdout:; cat "$at_stdout"
5158 at_fn_check_status 0 $at_status "$at_srcdir/t_subr_atf_check.at:45"
5159 $at_failed && at_fn_log_failure
5160 $at_traceon; }
5162 { set +x
5163 $as_echo "$at_srcdir/t_subr_atf_check.at:47: \$({
5164 old=\$(pwd)
5165 while test \$(pwd) != '/' -a ! -e ./Makefile; do
5166 cd ..
5167 done
5168 topdir=\$(pwd)
5169 cd \${old}
5170 echo \${topdir}
5171 })/bootstrap/h_tp_atf_check_sh \\
5172 -s \$({
5173 old=\$(pwd)
5174 while test \$(pwd) != '/' -a ! -e ./Makefile; do
5175 cd ..
5176 done
5177 topdir=\$(pwd)
5178 cd \${old}
5179 echo \${topdir}
5180 })/bootstrap stdout_ignore_sth"
5181 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_subr_atf_check.at:47"
5182 ( $at_check_trace; $({
5183 old=$(pwd)
5184 while test $(pwd) != '/' -a ! -e ./Makefile; do
5185 cd ..
5186 done
5187 topdir=$(pwd)
5188 cd ${old}
5189 echo ${topdir}
5190 })/bootstrap/h_tp_atf_check_sh \
5191 -s $({
5192 old=$(pwd)
5193 while test $(pwd) != '/' -a ! -e ./Makefile; do
5194 cd ..
5195 done
5196 topdir=$(pwd)
5197 cd ${old}
5198 echo ${topdir}
5199 })/bootstrap stdout_ignore_sth
5200 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
5201 at_status=$? at_failed=false
5202 $at_check_filter
5203 echo stderr:; cat "$at_stderr"
5204 echo stdout:; cat "$at_stdout"
5205 at_fn_check_status 0 $at_status "$at_srcdir/t_subr_atf_check.at:47"
5206 $at_failed && at_fn_log_failure
5207 $at_traceon; }
5209 { set +x
5210 $as_echo "$at_srcdir/t_subr_atf_check.at:49: \$({
5211 old=\$(pwd)
5212 while test \$(pwd) != '/' -a ! -e ./Makefile; do
5213 cd ..
5214 done
5215 topdir=\$(pwd)
5216 cd \${old}
5217 echo \${topdir}
5218 })/bootstrap/h_tp_atf_check_sh \\
5219 -s \$({
5220 old=\$(pwd)
5221 while test \$(pwd) != '/' -a ! -e ./Makefile; do
5222 cd ..
5223 done
5224 topdir=\$(pwd)
5225 cd \${old}
5226 echo \${topdir}
5227 })/bootstrap stdout_null_empty"
5228 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_subr_atf_check.at:49"
5229 ( $at_check_trace; $({
5230 old=$(pwd)
5231 while test $(pwd) != '/' -a ! -e ./Makefile; do
5232 cd ..
5233 done
5234 topdir=$(pwd)
5235 cd ${old}
5236 echo ${topdir}
5237 })/bootstrap/h_tp_atf_check_sh \
5238 -s $({
5239 old=$(pwd)
5240 while test $(pwd) != '/' -a ! -e ./Makefile; do
5241 cd ..
5242 done
5243 topdir=$(pwd)
5244 cd ${old}
5245 echo ${topdir}
5246 })/bootstrap stdout_null_empty
5247 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
5248 at_status=$? at_failed=false
5249 $at_check_filter
5250 echo stderr:; cat "$at_stderr"
5251 echo stdout:; cat "$at_stdout"
5252 at_fn_check_status 0 $at_status "$at_srcdir/t_subr_atf_check.at:49"
5253 $at_failed && at_fn_log_failure
5254 $at_traceon; }
5256 { set +x
5257 $as_echo "$at_srcdir/t_subr_atf_check.at:51: \$({
5258 old=\$(pwd)
5259 while test \$(pwd) != '/' -a ! -e ./Makefile; do
5260 cd ..
5261 done
5262 topdir=\$(pwd)
5263 cd \${old}
5264 echo \${topdir}
5265 })/bootstrap/h_tp_atf_check_sh \\
5266 -s \$({
5267 old=\$(pwd)
5268 while test \$(pwd) != '/' -a ! -e ./Makefile; do
5269 cd ..
5270 done
5271 topdir=\$(pwd)
5272 cd \${old}
5273 echo \${topdir}
5274 })/bootstrap stdout_null_sth"
5275 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_subr_atf_check.at:51"
5276 ( $at_check_trace; $({
5277 old=$(pwd)
5278 while test $(pwd) != '/' -a ! -e ./Makefile; do
5279 cd ..
5280 done
5281 topdir=$(pwd)
5282 cd ${old}
5283 echo ${topdir}
5284 })/bootstrap/h_tp_atf_check_sh \
5285 -s $({
5286 old=$(pwd)
5287 while test $(pwd) != '/' -a ! -e ./Makefile; do
5288 cd ..
5289 done
5290 topdir=$(pwd)
5291 cd ${old}
5292 echo ${topdir}
5293 })/bootstrap stdout_null_sth
5294 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
5295 at_status=$? at_failed=false
5296 $at_check_filter
5297 echo stderr:; cat "$at_stderr"
5298 echo stdout:; cat "$at_stdout"
5299 at_fn_check_status 1 $at_status "$at_srcdir/t_subr_atf_check.at:51"
5300 $at_failed && at_fn_log_failure
5301 $at_traceon; }
5303 { set +x
5304 $as_echo "$at_srcdir/t_subr_atf_check.at:53: \$({
5305 old=\$(pwd)
5306 while test \$(pwd) != '/' -a ! -e ./Makefile; do
5307 cd ..
5308 done
5309 topdir=\$(pwd)
5310 cd \${old}
5311 echo \${topdir}
5312 })/bootstrap/h_tp_atf_check_sh \\
5313 -s \$({
5314 old=\$(pwd)
5315 while test \$(pwd) != '/' -a ! -e ./Makefile; do
5316 cd ..
5317 done
5318 topdir=\$(pwd)
5319 cd \${old}
5320 echo \${topdir}
5321 })/bootstrap stdout_stdout_written"
5322 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_subr_atf_check.at:53"
5323 ( $at_check_trace; $({
5324 old=$(pwd)
5325 while test $(pwd) != '/' -a ! -e ./Makefile; do
5326 cd ..
5327 done
5328 topdir=$(pwd)
5329 cd ${old}
5330 echo ${topdir}
5331 })/bootstrap/h_tp_atf_check_sh \
5332 -s $({
5333 old=$(pwd)
5334 while test $(pwd) != '/' -a ! -e ./Makefile; do
5335 cd ..
5336 done
5337 topdir=$(pwd)
5338 cd ${old}
5339 echo ${topdir}
5340 })/bootstrap stdout_stdout_written
5341 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
5342 at_status=$? at_failed=false
5343 $at_check_filter
5344 echo stderr:; cat "$at_stderr"
5345 echo stdout:; cat "$at_stdout"
5346 at_fn_check_status 0 $at_status "$at_srcdir/t_subr_atf_check.at:53"
5347 $at_failed && at_fn_log_failure
5348 $at_traceon; }
5350 { set +x
5351 $as_echo "$at_srcdir/t_subr_atf_check.at:55: \$({
5352 old=\$(pwd)
5353 while test \$(pwd) != '/' -a ! -e ./Makefile; do
5354 cd ..
5355 done
5356 topdir=\$(pwd)
5357 cd \${old}
5358 echo \${topdir}
5359 })/bootstrap/h_tp_atf_check_sh \\
5360 -s \$({
5361 old=\$(pwd)
5362 while test \$(pwd) != '/' -a ! -e ./Makefile; do
5363 cd ..
5364 done
5365 topdir=\$(pwd)
5366 cd \${old}
5367 echo \${topdir}
5368 })/bootstrap stdout_match_ok"
5369 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_subr_atf_check.at:55"
5370 ( $at_check_trace; $({
5371 old=$(pwd)
5372 while test $(pwd) != '/' -a ! -e ./Makefile; do
5373 cd ..
5374 done
5375 topdir=$(pwd)
5376 cd ${old}
5377 echo ${topdir}
5378 })/bootstrap/h_tp_atf_check_sh \
5379 -s $({
5380 old=$(pwd)
5381 while test $(pwd) != '/' -a ! -e ./Makefile; do
5382 cd ..
5383 done
5384 topdir=$(pwd)
5385 cd ${old}
5386 echo ${topdir}
5387 })/bootstrap stdout_match_ok
5388 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
5389 at_status=$? at_failed=false
5390 $at_check_filter
5391 echo stderr:; cat "$at_stderr"
5392 echo stdout:; cat "$at_stdout"
5393 at_fn_check_status 0 $at_status "$at_srcdir/t_subr_atf_check.at:55"
5394 $at_failed && at_fn_log_failure
5395 $at_traceon; }
5397 { set +x
5398 $as_echo "$at_srcdir/t_subr_atf_check.at:57: \$({
5399 old=\$(pwd)
5400 while test \$(pwd) != '/' -a ! -e ./Makefile; do
5401 cd ..
5402 done
5403 topdir=\$(pwd)
5404 cd \${old}
5405 echo \${topdir}
5406 })/bootstrap/h_tp_atf_check_sh \\
5407 -s \$({
5408 old=\$(pwd)
5409 while test \$(pwd) != '/' -a ! -e ./Makefile; do
5410 cd ..
5411 done
5412 topdir=\$(pwd)
5413 cd \${old}
5414 echo \${topdir}
5415 })/bootstrap stdout_match_fail"
5416 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_subr_atf_check.at:57"
5417 ( $at_check_trace; $({
5418 old=$(pwd)
5419 while test $(pwd) != '/' -a ! -e ./Makefile; do
5420 cd ..
5421 done
5422 topdir=$(pwd)
5423 cd ${old}
5424 echo ${topdir}
5425 })/bootstrap/h_tp_atf_check_sh \
5426 -s $({
5427 old=$(pwd)
5428 while test $(pwd) != '/' -a ! -e ./Makefile; do
5429 cd ..
5430 done
5431 topdir=$(pwd)
5432 cd ${old}
5433 echo ${topdir}
5434 })/bootstrap stdout_match_fail
5435 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
5436 at_status=$? at_failed=false
5437 $at_check_filter
5438 echo stderr:; cat "$at_stderr"
5439 echo stdout:; cat "$at_stdout"
5440 at_fn_check_status 1 $at_status "$at_srcdir/t_subr_atf_check.at:57"
5441 $at_failed && at_fn_log_failure
5442 $at_traceon; }
5445 { set +x
5446 $as_echo "$at_srcdir/t_subr_atf_check.at:60: \$({
5447 old=\$(pwd)
5448 while test \$(pwd) != '/' -a ! -e ./Makefile; do
5449 cd ..
5450 done
5451 topdir=\$(pwd)
5452 cd \${old}
5453 echo \${topdir}
5454 })/bootstrap/h_tp_atf_check_sh \\
5455 -s \$({
5456 old=\$(pwd)
5457 while test \$(pwd) != '/' -a ! -e ./Makefile; do
5458 cd ..
5459 done
5460 topdir=\$(pwd)
5461 cd \${old}
5462 echo \${topdir}
5463 })/bootstrap stderr_experr_pass"
5464 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_subr_atf_check.at:60"
5465 ( $at_check_trace; $({
5466 old=$(pwd)
5467 while test $(pwd) != '/' -a ! -e ./Makefile; do
5468 cd ..
5469 done
5470 topdir=$(pwd)
5471 cd ${old}
5472 echo ${topdir}
5473 })/bootstrap/h_tp_atf_check_sh \
5474 -s $({
5475 old=$(pwd)
5476 while test $(pwd) != '/' -a ! -e ./Makefile; do
5477 cd ..
5478 done
5479 topdir=$(pwd)
5480 cd ${old}
5481 echo ${topdir}
5482 })/bootstrap stderr_experr_pass
5483 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
5484 at_status=$? at_failed=false
5485 $at_check_filter
5486 echo stderr:; cat "$at_stderr"
5487 echo stdout:; cat "$at_stdout"
5488 at_fn_check_status 0 $at_status "$at_srcdir/t_subr_atf_check.at:60"
5489 $at_failed && at_fn_log_failure
5490 $at_traceon; }
5492 { set +x
5493 $as_echo "$at_srcdir/t_subr_atf_check.at:62: \$({
5494 old=\$(pwd)
5495 while test \$(pwd) != '/' -a ! -e ./Makefile; do
5496 cd ..
5497 done
5498 topdir=\$(pwd)
5499 cd \${old}
5500 echo \${topdir}
5501 })/bootstrap/h_tp_atf_check_sh \\
5502 -s \$({
5503 old=\$(pwd)
5504 while test \$(pwd) != '/' -a ! -e ./Makefile; do
5505 cd ..
5506 done
5507 topdir=\$(pwd)
5508 cd \${old}
5509 echo \${topdir}
5510 })/bootstrap stderr_experr_fail"
5511 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_subr_atf_check.at:62"
5512 ( $at_check_trace; $({
5513 old=$(pwd)
5514 while test $(pwd) != '/' -a ! -e ./Makefile; do
5515 cd ..
5516 done
5517 topdir=$(pwd)
5518 cd ${old}
5519 echo ${topdir}
5520 })/bootstrap/h_tp_atf_check_sh \
5521 -s $({
5522 old=$(pwd)
5523 while test $(pwd) != '/' -a ! -e ./Makefile; do
5524 cd ..
5525 done
5526 topdir=$(pwd)
5527 cd ${old}
5528 echo ${topdir}
5529 })/bootstrap stderr_experr_fail
5530 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
5531 at_status=$? at_failed=false
5532 $at_check_filter
5533 echo stderr:; cat "$at_stderr"
5534 echo stdout:; cat "$at_stdout"
5535 at_fn_check_status 1 $at_status "$at_srcdir/t_subr_atf_check.at:62"
5536 $at_failed && at_fn_log_failure
5537 $at_traceon; }
5539 { set +x
5540 $as_echo "$at_srcdir/t_subr_atf_check.at:64: \$({
5541 old=\$(pwd)
5542 while test \$(pwd) != '/' -a ! -e ./Makefile; do
5543 cd ..
5544 done
5545 topdir=\$(pwd)
5546 cd \${old}
5547 echo \${topdir}
5548 })/bootstrap/h_tp_atf_check_sh \\
5549 -s \$({
5550 old=\$(pwd)
5551 while test \$(pwd) != '/' -a ! -e ./Makefile; do
5552 cd ..
5553 done
5554 topdir=\$(pwd)
5555 cd \${old}
5556 echo \${topdir}
5557 })/bootstrap stderr_ignore_empty"
5558 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_subr_atf_check.at:64"
5559 ( $at_check_trace; $({
5560 old=$(pwd)
5561 while test $(pwd) != '/' -a ! -e ./Makefile; do
5562 cd ..
5563 done
5564 topdir=$(pwd)
5565 cd ${old}
5566 echo ${topdir}
5567 })/bootstrap/h_tp_atf_check_sh \
5568 -s $({
5569 old=$(pwd)
5570 while test $(pwd) != '/' -a ! -e ./Makefile; do
5571 cd ..
5572 done
5573 topdir=$(pwd)
5574 cd ${old}
5575 echo ${topdir}
5576 })/bootstrap stderr_ignore_empty
5577 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
5578 at_status=$? at_failed=false
5579 $at_check_filter
5580 echo stderr:; cat "$at_stderr"
5581 echo stdout:; cat "$at_stdout"
5582 at_fn_check_status 0 $at_status "$at_srcdir/t_subr_atf_check.at:64"
5583 $at_failed && at_fn_log_failure
5584 $at_traceon; }
5586 { set +x
5587 $as_echo "$at_srcdir/t_subr_atf_check.at:66: \$({
5588 old=\$(pwd)
5589 while test \$(pwd) != '/' -a ! -e ./Makefile; do
5590 cd ..
5591 done
5592 topdir=\$(pwd)
5593 cd \${old}
5594 echo \${topdir}
5595 })/bootstrap/h_tp_atf_check_sh \\
5596 -s \$({
5597 old=\$(pwd)
5598 while test \$(pwd) != '/' -a ! -e ./Makefile; do
5599 cd ..
5600 done
5601 topdir=\$(pwd)
5602 cd \${old}
5603 echo \${topdir}
5604 })/bootstrap stderr_ignore_sth"
5605 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_subr_atf_check.at:66"
5606 ( $at_check_trace; $({
5607 old=$(pwd)
5608 while test $(pwd) != '/' -a ! -e ./Makefile; do
5609 cd ..
5610 done
5611 topdir=$(pwd)
5612 cd ${old}
5613 echo ${topdir}
5614 })/bootstrap/h_tp_atf_check_sh \
5615 -s $({
5616 old=$(pwd)
5617 while test $(pwd) != '/' -a ! -e ./Makefile; do
5618 cd ..
5619 done
5620 topdir=$(pwd)
5621 cd ${old}
5622 echo ${topdir}
5623 })/bootstrap stderr_ignore_sth
5624 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
5625 at_status=$? at_failed=false
5626 $at_check_filter
5627 echo stderr:; cat "$at_stderr"
5628 echo stdout:; cat "$at_stdout"
5629 at_fn_check_status 0 $at_status "$at_srcdir/t_subr_atf_check.at:66"
5630 $at_failed && at_fn_log_failure
5631 $at_traceon; }
5633 { set +x
5634 $as_echo "$at_srcdir/t_subr_atf_check.at:68: \$({
5635 old=\$(pwd)
5636 while test \$(pwd) != '/' -a ! -e ./Makefile; do
5637 cd ..
5638 done
5639 topdir=\$(pwd)
5640 cd \${old}
5641 echo \${topdir}
5642 })/bootstrap/h_tp_atf_check_sh \\
5643 -s \$({
5644 old=\$(pwd)
5645 while test \$(pwd) != '/' -a ! -e ./Makefile; do
5646 cd ..
5647 done
5648 topdir=\$(pwd)
5649 cd \${old}
5650 echo \${topdir}
5651 })/bootstrap stderr_null_empty"
5652 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_subr_atf_check.at:68"
5653 ( $at_check_trace; $({
5654 old=$(pwd)
5655 while test $(pwd) != '/' -a ! -e ./Makefile; do
5656 cd ..
5657 done
5658 topdir=$(pwd)
5659 cd ${old}
5660 echo ${topdir}
5661 })/bootstrap/h_tp_atf_check_sh \
5662 -s $({
5663 old=$(pwd)
5664 while test $(pwd) != '/' -a ! -e ./Makefile; do
5665 cd ..
5666 done
5667 topdir=$(pwd)
5668 cd ${old}
5669 echo ${topdir}
5670 })/bootstrap stderr_null_empty
5671 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
5672 at_status=$? at_failed=false
5673 $at_check_filter
5674 echo stderr:; cat "$at_stderr"
5675 echo stdout:; cat "$at_stdout"
5676 at_fn_check_status 0 $at_status "$at_srcdir/t_subr_atf_check.at:68"
5677 $at_failed && at_fn_log_failure
5678 $at_traceon; }
5680 { set +x
5681 $as_echo "$at_srcdir/t_subr_atf_check.at:70: \$({
5682 old=\$(pwd)
5683 while test \$(pwd) != '/' -a ! -e ./Makefile; do
5684 cd ..
5685 done
5686 topdir=\$(pwd)
5687 cd \${old}
5688 echo \${topdir}
5689 })/bootstrap/h_tp_atf_check_sh \\
5690 -s \$({
5691 old=\$(pwd)
5692 while test \$(pwd) != '/' -a ! -e ./Makefile; do
5693 cd ..
5694 done
5695 topdir=\$(pwd)
5696 cd \${old}
5697 echo \${topdir}
5698 })/bootstrap stderr_null_sth"
5699 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_subr_atf_check.at:70"
5700 ( $at_check_trace; $({
5701 old=$(pwd)
5702 while test $(pwd) != '/' -a ! -e ./Makefile; do
5703 cd ..
5704 done
5705 topdir=$(pwd)
5706 cd ${old}
5707 echo ${topdir}
5708 })/bootstrap/h_tp_atf_check_sh \
5709 -s $({
5710 old=$(pwd)
5711 while test $(pwd) != '/' -a ! -e ./Makefile; do
5712 cd ..
5713 done
5714 topdir=$(pwd)
5715 cd ${old}
5716 echo ${topdir}
5717 })/bootstrap stderr_null_sth
5718 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
5719 at_status=$? at_failed=false
5720 $at_check_filter
5721 echo stderr:; cat "$at_stderr"
5722 echo stdout:; cat "$at_stdout"
5723 at_fn_check_status 1 $at_status "$at_srcdir/t_subr_atf_check.at:70"
5724 $at_failed && at_fn_log_failure
5725 $at_traceon; }
5727 { set +x
5728 $as_echo "$at_srcdir/t_subr_atf_check.at:72: \$({
5729 old=\$(pwd)
5730 while test \$(pwd) != '/' -a ! -e ./Makefile; do
5731 cd ..
5732 done
5733 topdir=\$(pwd)
5734 cd \${old}
5735 echo \${topdir}
5736 })/bootstrap/h_tp_atf_check_sh \\
5737 -s \$({
5738 old=\$(pwd)
5739 while test \$(pwd) != '/' -a ! -e ./Makefile; do
5740 cd ..
5741 done
5742 topdir=\$(pwd)
5743 cd \${old}
5744 echo \${topdir}
5745 })/bootstrap stderr_stderr_written"
5746 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_subr_atf_check.at:72"
5747 ( $at_check_trace; $({
5748 old=$(pwd)
5749 while test $(pwd) != '/' -a ! -e ./Makefile; do
5750 cd ..
5751 done
5752 topdir=$(pwd)
5753 cd ${old}
5754 echo ${topdir}
5755 })/bootstrap/h_tp_atf_check_sh \
5756 -s $({
5757 old=$(pwd)
5758 while test $(pwd) != '/' -a ! -e ./Makefile; do
5759 cd ..
5760 done
5761 topdir=$(pwd)
5762 cd ${old}
5763 echo ${topdir}
5764 })/bootstrap stderr_stderr_written
5765 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
5766 at_status=$? at_failed=false
5767 $at_check_filter
5768 echo stderr:; cat "$at_stderr"
5769 echo stdout:; cat "$at_stdout"
5770 at_fn_check_status 0 $at_status "$at_srcdir/t_subr_atf_check.at:72"
5771 $at_failed && at_fn_log_failure
5772 $at_traceon; }
5774 { set +x
5775 $as_echo "$at_srcdir/t_subr_atf_check.at:74: \$({
5776 old=\$(pwd)
5777 while test \$(pwd) != '/' -a ! -e ./Makefile; do
5778 cd ..
5779 done
5780 topdir=\$(pwd)
5781 cd \${old}
5782 echo \${topdir}
5783 })/bootstrap/h_tp_atf_check_sh \\
5784 -s \$({
5785 old=\$(pwd)
5786 while test \$(pwd) != '/' -a ! -e ./Makefile; do
5787 cd ..
5788 done
5789 topdir=\$(pwd)
5790 cd \${old}
5791 echo \${topdir}
5792 })/bootstrap stderr_match_ok"
5793 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_subr_atf_check.at:74"
5794 ( $at_check_trace; $({
5795 old=$(pwd)
5796 while test $(pwd) != '/' -a ! -e ./Makefile; do
5797 cd ..
5798 done
5799 topdir=$(pwd)
5800 cd ${old}
5801 echo ${topdir}
5802 })/bootstrap/h_tp_atf_check_sh \
5803 -s $({
5804 old=$(pwd)
5805 while test $(pwd) != '/' -a ! -e ./Makefile; do
5806 cd ..
5807 done
5808 topdir=$(pwd)
5809 cd ${old}
5810 echo ${topdir}
5811 })/bootstrap stderr_match_ok
5812 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
5813 at_status=$? at_failed=false
5814 $at_check_filter
5815 echo stderr:; cat "$at_stderr"
5816 echo stdout:; cat "$at_stdout"
5817 at_fn_check_status 0 $at_status "$at_srcdir/t_subr_atf_check.at:74"
5818 $at_failed && at_fn_log_failure
5819 $at_traceon; }
5821 { set +x
5822 $as_echo "$at_srcdir/t_subr_atf_check.at:76: \$({
5823 old=\$(pwd)
5824 while test \$(pwd) != '/' -a ! -e ./Makefile; do
5825 cd ..
5826 done
5827 topdir=\$(pwd)
5828 cd \${old}
5829 echo \${topdir}
5830 })/bootstrap/h_tp_atf_check_sh \\
5831 -s \$({
5832 old=\$(pwd)
5833 while test \$(pwd) != '/' -a ! -e ./Makefile; do
5834 cd ..
5835 done
5836 topdir=\$(pwd)
5837 cd \${old}
5838 echo \${topdir}
5839 })/bootstrap stderr_match_fail"
5840 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_subr_atf_check.at:76"
5841 ( $at_check_trace; $({
5842 old=$(pwd)
5843 while test $(pwd) != '/' -a ! -e ./Makefile; do
5844 cd ..
5845 done
5846 topdir=$(pwd)
5847 cd ${old}
5848 echo ${topdir}
5849 })/bootstrap/h_tp_atf_check_sh \
5850 -s $({
5851 old=$(pwd)
5852 while test $(pwd) != '/' -a ! -e ./Makefile; do
5853 cd ..
5854 done
5855 topdir=$(pwd)
5856 cd ${old}
5857 echo ${topdir}
5858 })/bootstrap stderr_match_fail
5859 ) >>"$at_stdout" 2>>"$at_stderr" 5>&-
5860 at_status=$? at_failed=false
5861 $at_check_filter
5862 echo stderr:; cat "$at_stderr"
5863 echo stdout:; cat "$at_stdout"
5864 at_fn_check_status 1 $at_status "$at_srcdir/t_subr_atf_check.at:76"
5865 $at_failed && at_fn_log_failure
5866 $at_traceon; }
5869 set +x
5870 $at_times_p && times >"$at_times_file"
5871 ) 5>&1 2>&1 7>&- | eval $at_tee_pipe
5872 read at_status <"$at_status_file"
5873 #AT_STOP_5