2 # Generated from tests/bootstrap/testsuite.at by GNU Autoconf 2.65.
4 # Copyright (C) 2009 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 :
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+"$@"}'='"$@"'
22 case `(set -o) 2>/dev/null` in #(
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
43 as_echo_n='print
-rn --'
44 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
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'
52 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
57 expr "X$arg" : "X\\(.*\\)$as_nl";
58 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
60 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
63 as_echo_n='sh
-c $as_echo_n_body as_echo
'
66 as_echo='sh
-c $as_echo_body as_echo
'
69 # The user is always right.
70 if test "${PATH_SEPARATOR+set}" != set; then
72 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
73 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
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.)
86 # Find who we are. Look in the path if we contain no directory separator.
88 *[\\/]* ) as_myself=$0 ;;
89 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 test -z "$as_dir" && as_dir=.
94 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
100 # We did not find ourselves, most probably we were run as `sh COMMAND'
101 # in which case we are not to be found in the path.
102 if test "x$as_myself" = x
; then
105 if test ! -f "$as_myself"; then
106 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110 # Unset variables that we do not need and which cause bugs (e.g. in
111 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
112 # suppresses any "Segmentation fault" message there. '((' could
113 # trigger a bug in pdksh 5.2.14.
114 for as_var
in BASH_ENV ENV MAIL MAILPATH
115 do eval test x\
${$as_var+set} = xset \
116 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
129 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
131 if test "x$CONFIG_SHELL" = x
; then
132 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
135 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
136 # is contrary to our usage. Disable this feature.
137 alias -g '\${1+\"\$@\"}'='\"\$@\"'
140 case \`(set -o) 2>/dev/null\` in #(
148 as_required
="as_fn_return () { (exit \$1); }
149 as_fn_success () { as_fn_return 0; }
150 as_fn_failure () { as_fn_return 1; }
151 as_fn_ret_success () { return 0; }
152 as_fn_ret_failure () { return 1; }
155 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
156 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
157 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
158 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
159 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
162 exitcode=1; echo positional parameters were not saved.
164 test x\$exitcode = x0 || exit 1"
165 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
166 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
167 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
168 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
169 test \$(( 1 + 1 )) = 2 || exit 1"
170 if (eval "$as_required") 2>/dev
/null
; then :
175 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
178 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
180 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
183 test -z "$as_dir" && as_dir
=.
187 for as_base
in sh bash ksh sh5
; do
188 # Try only shells that exist, to save several forks.
189 as_shell
=$as_dir/$as_base
190 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
191 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
192 CONFIG_SHELL
=$as_shell as_have_required
=yes
193 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
201 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
203 CONFIG_SHELL
=$SHELL as_have_required
=yes
208 if test "x$CONFIG_SHELL" != x
; then :
209 # We cannot yet assume a decent shell, so we have to provide a
210 # neutralization value for shells without unset; and this also
211 # works around shells that cannot unset nonexistent variables.
214 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
216 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
219 if test x
$as_have_required = xno
; then :
220 $as_echo "$0: This script requires a shell more modern than all"
221 $as_echo "$0: the shells that I found on your system."
222 if test x
${ZSH_VERSION+set} = xset
; then
223 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
224 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
226 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
227 $0: including any error possibly output before this
228 $0: message. Then install a modern shell, or manually run
229 $0: the script under such a shell if you do have one."
235 SHELL
=${CONFIG_SHELL-/bin/sh}
237 # Unset more variables known to interfere with behavior of common tools.
238 CLICOLOR_FORCE
= GREP_OPTIONS
=
239 unset CLICOLOR_FORCE GREP_OPTIONS
241 ## --------------------- ##
242 ## M4sh Shell Functions. ##
243 ## --------------------- ##
246 # Portably unset VAR.
249 { eval $1=; unset $1;}
253 # as_fn_set_status STATUS
254 # -----------------------
255 # Set $? to STATUS, without forking.
263 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
273 # Create "$as_dir" as a directory, including parents if necessary.
278 -*) as_dir
=.
/$as_dir;;
280 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
284 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
287 as_dirs
="'$as_qdir' $as_dirs"
288 as_dir
=`$as_dirname -- "$as_dir" ||
289 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
290 X"$as_dir" : 'X\(//\)[^/]' \| \
291 X"$as_dir" : 'X\(//\)$' \| \
292 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
293 $as_echo X"$as_dir" |
294 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
311 test -d "$as_dir" && break
313 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
314 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
318 # as_fn_append VAR VALUE
319 # ----------------------
320 # Append the text in VALUE to the end of the definition contained in VAR. Take
321 # advantage of any shell optimizations that allow amortized linear growth over
322 # repeated appends, instead of the typical quadratic growth present in naive
324 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
325 eval 'as_fn_append ()
338 # Perform arithmetic evaluation on the ARGs, and store the result in the
339 # global $as_val. Take advantage of shells that can avoid forks. The arguments
340 # must be portable across $(()) and expr.
341 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
349 as_val
=`expr "$@" || test $? -eq 1`
354 # as_fn_error ERROR [LINENO LOG_FD]
355 # ---------------------------------
356 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
357 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
358 # script with status $?, using 1 if that was 0.
361 as_status
=$?
; test $as_status -eq 0 && as_status
=1
363 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
364 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
366 $as_echo "$as_me: error: $1" >&2
367 as_fn_exit
$as_status
370 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
371 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
377 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
383 as_me
=`$as_basename -- "$0" ||
384 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
385 X"$0" : 'X\(//\)$' \| \
386 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
388 sed '/^.*\/\([^/][^/]*\)\/*$/{
402 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
408 # Avoid depending upon Character Ranges.
409 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
410 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
411 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
412 as_cr_digits
='0123456789'
413 as_cr_alnum
=$as_cr_Letters$as_cr_digits
416 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
417 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
418 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
419 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
420 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
432 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
436 chmod +x
"$as_me.lineno" ||
437 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
439 # Don't try to exec as it changes $[0], causing all sort of problems
440 # (the dirname of $[0] is not the place where we might find the
441 # original and so on. Autoconf is especially sensitive to this).
443 # Exit status is that of the last command.
447 ECHO_C
= ECHO_N
= ECHO_T
=
448 case `echo -n x` in #(((((
450 case `echo 'xy\c'` in
451 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
453 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
460 rm -f conf$$ conf$$.exe conf$$.
file
461 if test -d conf$$.dir
; then
462 rm -f conf$$.dir
/conf$$.
file
465 mkdir conf$$.dir
2>/dev
/null
467 if (echo >conf$$.
file) 2>/dev
/null
; then
468 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
470 # ... but there are two gotchas:
471 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
472 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
473 # In both cases, we have to default to `cp -p'.
474 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
476 elif ln conf$$.
file conf$$
2>/dev
/null
; then
484 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
485 rmdir conf$$.dir
2>/dev
/null
487 if mkdir
-p .
2>/dev
/null
; then
488 as_mkdir_p
='mkdir -p "$as_dir"'
490 test -d .
/-p && rmdir .
/-p
494 if test -x / >/dev
/null
2>&1; then
497 if ls -dL / >/dev
/null
2>&1; then
504 if test -d "$1"; then
510 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
511 ???[sx]*):;;*)false;;esac;fi
515 as_executable_p
=$as_test_x
517 # Sed expression to map a string onto a valid CPP name.
518 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
520 # Sed expression to map a string onto a valid variable name.
521 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527 SHELL
=${CONFIG_SHELL-/bin/sh}
533 # Not all shells have the 'times' builtin; the subshell is needed to make
534 # sure we discard the 'times: not found' message from the shell.
536 (times) >/dev
/null
2>&1 && at_times_p
=:
538 # CLI Arguments to pass to the debugging scripts.
542 # Shall we be verbose? ':' means no, empty means yes.
545 # Running several jobs in parallel, 0 means as many as test groups.
549 at_check_filter_trace
=:
551 # Shall we keep the debug scripts? Must be `:' when the suite is
552 # run by a debug script, so that the script doesn't remove itself.
554 # Display help message?
556 # Display the version message?
564 # Whether a write failure occurred
567 # The directory we run the suite in. Default to . if no -C option.
569 # An absolute reference to this testsuite script.
571 [\\/]* | ?
:[\\/]* ) at_myself
=$as_myself ;;
572 * ) at_myself
=$at_dir/$as_myself ;;
574 # Whether -C is in effect.
577 # List of the tested programs.
578 at_tested
='atf-config
580 # List of the all the test groups.
581 at_groups_all
=' 1 2 3 4 5 6 7 8 9 10'
582 # As many question marks as there are digits in the last test group number.
583 # Used to normalize the test group numbers so that `ls' lists them in
586 # Description of all the test groups.
587 at_help_all
="1;t_application_opts_args.at:30;application: arguments and options handling;;
588 2;t_application_help.at:30;application: online help option;;
589 3;t_test_program_filter.at:30;test_program: filter test cases by name;;
590 4;t_test_program_run.at:30;test_program: output format and exit codes;;
591 5;t_test_program_list.at:30;test_program: list test cases;;
592 6;t_atf_format.at:30;atf-format: formatting of long lines;;
593 7;t_atf_config.at:30;atf-config: querying of build-time variables;;
594 8;t_atf_run.at:30;atf-run: execution of tests;;
595 9;t_test_program_compare.at:30;test_program: compare the user-visible interfaces;;
596 10;t_subr_atf_check.at:30;subr: atf_check function;;
599 # at_fn_validate_ranges NAME...
600 # -----------------------------
601 # Validate and normalize the test group number contained in each variable
602 # NAME. Leading zeroes are treated as decimal.
603 at_fn_validate_ranges
()
607 eval at_value
=\$
$at_grp
608 if test $at_value -lt 1 ||
test $at_value -gt 10; then
609 $as_echo "invalid test group: $at_value" >&2
613 0*) # We want to treat leading 0 as decimal, like expr and test, but
614 # AS_VAR_ARITH treats it as octal if it uses $(( )).
615 # With XSI shells, ${at_value#${at_value%%[1-9]*}} avoids the
616 # expr fork, but it is not worth the effort to determine if the
617 # shell supports XSI when the user can just avoid leading 0.
618 eval $at_grp='`expr $at_value + 0`' ;;
626 # If the previous option needs an argument, assign it.
627 if test -n "$at_prev"; then
628 at_option
=$at_prev=$at_option
633 *=*) at_optarg
=`expr "x$at_option" : 'x[^=]*=\(.*\)'` ;;
637 # Accept the important Cygnus configure options, so we can diagnose typos.
666 at_verbose
=; at_quiet
=:
672 at_check_filter_trace
=at_fn_filter_trace
675 [0-9] |
[0-9][0-9] |
[0-9][0-9][0-9] |
[0-9][0-9][0-9][0-9])
676 at_fn_validate_ranges at_option
677 as_fn_append at_groups
"$at_option "
681 [0-9]- |
[0-9][0-9]- |
[0-9][0-9][0-9]- |
[0-9][0-9][0-9][0-9]-)
682 at_range_start
=`echo $at_option |tr -d X-`
683 at_fn_validate_ranges at_range_start
684 at_range
=`$as_echo " $at_groups_all " | \
685 sed -e 's/^.* \('$at_range_start' \)/\1/'`
686 as_fn_append at_groups
"$at_range "
689 -[0-9] |
-[0-9][0-9] |
-[0-9][0-9][0-9] |
-[0-9][0-9][0-9][0-9])
690 at_range_end
=`echo $at_option |tr -d X-`
691 at_fn_validate_ranges at_range_end
692 at_range
=`$as_echo " $at_groups_all " | \
693 sed -e 's/\( '$at_range_end'\) .*$/\1/'`
694 as_fn_append at_groups
"$at_range "
697 [0-9]-[0-9] |
[0-9]-[0-9][0-9] |
[0-9]-[0-9][0-9][0-9] | \
698 [0-9]-[0-9][0-9][0-9][0-9] |
[0-9][0-9]-[0-9][0-9] | \
699 [0-9][0-9]-[0-9][0-9][0-9] |
[0-9][0-9]-[0-9][0-9][0-9][0-9] | \
700 [0-9][0-9][0-9]-[0-9][0-9][0-9] | \
701 [0-9][0-9][0-9]-[0-9][0-9][0-9][0-9] | \
702 [0-9][0-9][0-9][0-9]-[0-9][0-9][0-9][0-9] )
703 at_range_start
=`expr $at_option : '\(.*\)-'`
704 at_range_end
=`expr $at_option : '.*-\(.*\)'`
705 if test $at_range_start -gt $at_range_end; then
707 at_range_end
=$at_range_start
708 at_range_start
=$at_tmp
710 at_fn_validate_ranges at_range_start at_range_end
711 at_range
=`$as_echo " $at_groups_all " | \
712 sed -e 's/^.*\( '$at_range_start' \)/\1/' \
713 -e 's/\( '$at_range_end'\) .*$/\1/'`
714 as_fn_append at_groups
"$at_range "
717 # Directory selection.
726 # Parallel execution.
730 --jobs=* |
-j[0-9]* )
731 if test -n "$at_optarg"; then
734 at_jobs
=`expr X$at_option : 'X-j\(.*\)'`
736 case $at_jobs in *[!0-9]*)
737 at_optname
=`echo " $at_option" | sed 's/^ //; s/[0-9=].*//'`
738 as_fn_error
"non-numeric argument to $at_optname: $at_jobs" ;;
747 at_groups_selected
=$at_help_all
759 at_keyword
=`expr "X$at_keyword" : 'X!\(.*\)'`
762 # It is on purpose that we match the test group titles too.
763 at_groups_selected
=`$as_echo "$at_groups_selected" |
764 grep -i $at_invert "^[1-9][^;]*;.*[; ]$at_keyword[ ;]"`
766 # Smash the newlines.
767 at_groups_selected
=`$as_echo "$at_groups_selected" | sed 's/;.*//' |
770 as_fn_append at_groups
"$at_groups_selected "
774 at_envvar
=`expr "x$at_option" : 'x\([^=]*\)='`
775 # Reject names that are not valid shell variable names.
777 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
778 as_fn_error
"invalid variable name: \`$at_envvar'" ;;
780 at_value
=`$as_echo "$at_optarg" | sed "s/'/'\\\\\\\\''/g"`
781 # Export now, but save eval for later and for debug scripts.
783 as_fn_append at_debug_args
" $at_envvar='$at_value'"
786 *) $as_echo "$as_me: invalid option: $at_option" >&2
787 $as_echo "Try \`$0 --help' for more information." >&2
793 # Verify our last option didn't require an argument
794 if test -n "$at_prev"; then :
795 as_fn_error
"\`$at_prev' requires an argument."
798 # Selected test groups.
799 if test -z "$at_groups"; then
800 at_groups
=$at_groups_all
802 # Sort the tests, removing duplicates.
803 at_groups
=`$as_echo "$at_groups" | tr ' ' "$as_nl" | sort -nu`
808 cat <<_ATEOF || at_write_fail=1
809 Usage: $0 [OPTION]... [VARIABLE=VALUE]... [TESTS]
811 Run all the tests, or the selected TESTS, given by numeric ranges, and
812 save a detailed log file. Upon failure, create debugging scripts.
814 Do not change environment variables directly. Instead, set them via
815 command line arguments. Set \`AUTOTEST_PATH' to select the executables
816 to exercise. Each relative directory is expanded as build and source
817 directories relative to the top level of this distribution.
818 E.g., from within the build directory /tmp/foo-1.0, invoking this:
820 $ $0 AUTOTEST_PATH=bin
822 is equivalent to the following, assuming the source directory is /src/foo-1.0:
824 PATH=/tmp/foo-1.0/bin:/src/foo-1.0/bin:\$PATH $0
826 cat <<_ATEOF || at_write_fail=1
829 -h, --help print the help message, then exit
830 -V, --version print version number, then exit
831 -c, --clean remove all the files this test suite might create and exit
832 -l, --list describes all the tests, or the selected TESTS
834 cat <<_ATEOF || at_write_fail=1
838 change to directory DIR before starting
840 Allow N jobs at once; infinite jobs with no arg (default 1)
841 -k, --keywords=KEYWORDS
842 select the tests matching all the comma-separated KEYWORDS
843 multiple \`-k' accumulate; prefixed \`!' negates a KEYWORD
844 -e, --errexit abort as soon as a test fails; implies --debug
845 -v, --verbose force more detailed output
846 default for debugging scripts
847 -d, --debug inhibit clean up and top-level logging
848 default for debugging scripts
849 -x, --trace enable tests shell tracing
851 cat <<_ATEOF || at_write_fail=1
853 Report bugs to <atf-devel@NetBSD.org>.
860 cat <<_ATEOF || at_write_fail=1
861 Automated Testing Framework 0.7 test suite: bootstrap tests test groups:
863 NUM: FILE-NAME:LINE TEST-GROUP-NAME
867 # Passing at_groups is tricky. We cannot use it to form a literal string
868 # or regexp because of the limitation of AIX awk. And Solaris' awk
869 # doesn't grok more than 99 fields in a record, so we have to use `split'.
870 # at_groups needs to be space-separated for this script to work.
873 at_groups
=`$as_echo "$at_groups" | tr "$as_nl" ' '` ;;
875 $as_echo "$at_groups$as_nl$at_help_all" |
876 awk 'BEGIN { FS = ";" }
878 for (n = split ($ 0, a, " "); n; n--)
884 printf " %3d: %-18s %s\n", $ 1, $ 2, $ 3
890 n = split ($ 4, a, " ")
891 for (i = 1; i <= n; i++) {
892 l = length (a[i]) + 1
893 if (i > 1 && len + l > lmax) {
895 line = indent " " a[i]
906 }' || at_write_fail
=1
909 if $at_version_p; then
910 $as_echo "$as_me (Automated Testing Framework 0.7)" &&
911 cat <<\_ATEOF || at_write_fail
=1
913 Copyright
(C
) 2009 Free Software Foundation
, Inc.
914 This
test suite is free software
; the Free Software Foundation gives
915 unlimited permission to copy
, distribute and modify it.
920 # Should we print banners? at_groups is space-separated for entire test,
921 # newline-separated if only a subset of the testsuite is run.
923 *' '*' '* |
*"$as_nl"*"$as_nl"* )
924 at_print_banners
=: ;;
925 * ) at_print_banners
=false
;;
927 # Text for banner N, set to empty once printed.
929 # Take any -C into account.
930 if $at_change_dir ; then
931 if test x-
= "x$at_dir" ; then
934 test x
!= "x$at_dir" && cd "$at_dir" \
935 || as_fn_error
"unable to change directory"
939 # Load the config files for any default variable assignments.
940 for at_file
in atconfig atlocal
942 test -r $at_file ||
continue
943 . .
/$at_file || as_fn_error
"invalid content: $at_file"
946 # Autoconf <=2.59b set at_top_builddir instead of at_top_build_prefix:
947 : ${at_top_build_prefix=$at_top_builddir}
949 # Perform any assignments requested during argument parsing.
950 eval "$at_debug_args"
952 # atconfig delivers names relative to the directory the test suite is
953 # in, but the groups themselves are run in testsuite-dir/group-dir.
954 if test -n "$at_top_srcdir"; then
956 for at_dir_var
in srcdir top_srcdir top_build_prefix
958 eval at_val
=\
$at_$at_dir_var
960 [\\/$
]* | ?
:[\\/]* ) at_prefix
= ;;
961 *) at_prefix
=..
/..
/ ;;
963 eval "$at_dir_var=\$at_prefix\$at_val"
967 ## -------------------- ##
968 ## Directory structure. ##
969 ## -------------------- ##
971 # This is the set of directories and files used by this script
972 # (non-literals are capitalized):
974 # TESTSUITE - the testsuite
975 # TESTSUITE.log - summarizes the complete testsuite run
976 # TESTSUITE.dir/ - created during a run, remains after -d or failed test
977 # + at-groups/ - during a run: status of all groups in run
978 # | + NNN/ - during a run: meta-data about test group NNN
979 # | | + check-line - location (source file and line) of current AT_CHECK
980 # | | + status - exit status of current AT_CHECK
981 # | | + stdout - stdout of current AT_CHECK
982 # | | + stder1 - stderr, including trace
983 # | | + stderr - stderr, with trace filtered out
984 # | | + test-source - portion of testsuite that defines group
985 # | | + times - timestamps for computing duration
986 # | | + pass - created if group passed
987 # | | + xpass - created if group xpassed
988 # | | + fail - created if group failed
989 # | | + xfail - created if group xfailed
990 # | | + skip - created if group skipped
991 # + at-stop - during a run: end the run if this file exists
992 # + at-source-lines - during a run: cache of TESTSUITE line numbers for extraction
993 # + 0..NNN/ - created for each group NNN, remains after -d or failed test
994 # | + TESTSUITE.log - summarizes the group results
995 # | + ... - files created during the group
997 # The directory the whole suite works in.
998 # Should be absolute to let the user `cd' at will.
999 at_suite_dir
=$at_dir/$as_me.dir
1000 # The file containing the suite.
1001 at_suite_log
=$at_dir/$as_me.log
1002 # The directory containing helper files per test group.
1003 at_helper_dir
=$at_suite_dir/at-groups
1004 # Stop file: if it exists, do not start new jobs.
1005 at_stop_file
=$at_suite_dir/at-stop
1006 # The fifo used for the job dispatcher.
1007 at_job_fifo
=$at_suite_dir/at-job-fifo
1010 test -d "$at_suite_dir" &&
1011 find "$at_suite_dir" -type d
! -perm -700 -exec chmod u
+rwx \
{\
} \
;
1012 rm -f -r "$at_suite_dir" "$at_suite_log"
1016 # Don't take risks: use only absolute directories in PATH.
1018 # For stand-alone test suites (ie. atconfig was not found),
1019 # AUTOTEST_PATH is relative to `.'.
1021 # For embedded test suites, AUTOTEST_PATH is relative to the top level
1022 # of the package. Then expand it into build/src parts, since users
1023 # may create executables in both places.
1024 AUTOTEST_PATH
=`$as_echo "$AUTOTEST_PATH" | sed "s|:|$PATH_SEPARATOR|g"`
1026 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1027 for as_dir
in $AUTOTEST_PATH $PATH
1030 test -z "$as_dir" && as_dir
=.
1031 test -n "$at_path" && as_fn_append at_path
$PATH_SEPARATOR
1034 as_fn_append at_path
"$as_dir"
1037 if test -z "$at_top_build_prefix"; then
1038 # Stand-alone test suite.
1039 as_fn_append at_path
"$as_dir"
1041 # Embedded test suite.
1042 as_fn_append at_path
"$at_top_build_prefix$as_dir$PATH_SEPARATOR"
1043 as_fn_append at_path
"$at_top_srcdir/$as_dir"
1051 # Now build and simplify PATH.
1053 # There might be directories that don't exist, but don't redirect
1054 # builtins' (eg., cd) stderr directly: Ultrix's sh hates that.
1056 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1057 for as_dir
in $at_path
1060 test -z "$as_dir" && as_dir
=.
1061 test -d "$as_dir" ||
continue
1063 [\\/]* | ?
:[\\/]* ) ;;
1064 * ) as_dir
=`(cd "$as_dir" && pwd) 2>/dev/null` ;;
1066 case $PATH_SEPARATOR$at_new_path$PATH_SEPARATOR in
1067 *$PATH_SEPARATOR$as_dir$PATH_SEPARATOR*) ;;
1068 $PATH_SEPARATOR$PATH_SEPARATOR) at_new_path
=$as_dir ;;
1069 *) as_fn_append at_new_path
"$PATH_SEPARATOR$as_dir" ;;
1077 # Setting up the FDs.
1080 # 5 is the log file. Not to be overwritten if `-d'.
1081 if $at_debug_p; then
1082 at_suite_log
=/dev
/null
1086 exec 5>>"$at_suite_log"
1090 ## ------------------------------------------------------------ ##
1091 ## Automated Testing Framework 0.7 test suite: bootstrap tests. ##
1092 ## ------------------------------------------------------------ ##
1096 ## ------------------------------------------------------------ ##
1097 ## Automated Testing Framework 0.7 test suite: bootstrap tests. ##
1098 ## ------------------------------------------------------------ ##
1102 $as_echo "$as_me: command line was:"
1103 $as_echo " \$ $0 $at_cli_args"
1106 # Try to find a few ChangeLogs in case it might help determining the
1107 # exact version. Use the relative dir: if the top dir is a symlink,
1108 # find will not follow it (and options to follow the links are not
1109 # portable), which would result in no output here. Prune directories
1110 # matching the package tarname, since they tend to be leftovers from
1111 # `make dist' or `make distcheck' and contain redundant or stale logs.
1112 if test -n "$at_top_srcdir"; then
1119 for at_file
in `find "$at_top_srcdir" -name "atf-*" -prune -o -name ChangeLog -print`
1121 $as_echo "$as_me: $at_file:"
1122 sed 's/^/| /;10q' $at_file
1134 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1135 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1136 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1137 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1138 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1140 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1141 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1143 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1144 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1145 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1146 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1147 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1148 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1149 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1153 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1157 test -z "$as_dir" && as_dir
=.
1158 $as_echo "PATH: $as_dir"
1165 # Contents of the config files.
1166 for at_file
in atconfig atlocal
1168 test -r $at_file ||
continue
1169 $as_echo "$as_me: $at_file:"
1170 sed 's/^/| /' $at_file
1176 ## ------------------------- ##
1177 ## Autotest shell functions. ##
1178 ## ------------------------- ##
1180 # at_fn_banner NUMBER
1181 # -------------------
1182 # Output banner NUMBER, provided the testsuite is running multiple groups and
1183 # this particular banner has not yet been printed.
1186 $at_print_banners ||
return 0
1187 eval at_banner_text
=\
$at_banner_text_$1
1188 test "x$at_banner_text" = x
&& return 0
1189 eval at_banner_text_
$1=
1190 $as_echo "$as_nl$at_banner_text$as_nl"
1193 # at_fn_check_prepare_notrace REASON LINE
1194 # ---------------------------------------
1195 # Perform AT_CHECK preparations for the command at LINE for an untraceable
1196 # command; REASON is the reason for disabling tracing.
1197 at_fn_check_prepare_notrace
()
1199 $at_trace_echo "Not enabling shell tracing (command contains $1)"
1200 $as_echo "$2" >"$at_check_line_file"
1201 at_check_trace
=: at_check_filter
=:
1202 : >"$at_stdout"; : >"$at_stderr"
1205 # at_fn_check_prepare_trace LINE
1206 # ------------------------------
1207 # Perform AT_CHECK preparations for the command at LINE for a traceable
1209 at_fn_check_prepare_trace
()
1211 $as_echo "$1" >"$at_check_line_file"
1212 at_check_trace
=$at_traceon at_check_filter
=$at_check_filter_trace
1213 : >"$at_stdout"; : >"$at_stderr"
1216 # at_fn_check_prepare_dynamic COMMAND LINE
1217 # ----------------------------------------
1218 # Decide if COMMAND at LINE is traceable at runtime, and call the appropriate
1219 # preparation function.
1220 at_fn_check_prepare_dynamic
()
1224 at_fn_check_prepare_notrace
'an embedded newline' "$2" ;;
1226 at_fn_check_prepare_trace
"$2" ;;
1230 # at_fn_filter_trace
1231 # ------------------
1232 # Remove the lines in the file "$at_stderr" generated by "set -x" and print
1234 at_fn_filter_trace
()
1236 mv "$at_stderr" "$at_stder1"
1237 grep '^ *+' "$at_stder1" >&2
1238 grep -v '^ *+' "$at_stder1" >"$at_stderr"
1241 # at_fn_log_failure FILE-LIST
1242 # ---------------------------
1243 # Copy the files in the list on stdout with a "> " prefix, and exit the shell
1244 # with a failure exit code.
1245 at_fn_log_failure
()
1248 do $as_echo "$file:"; sed 's/^/> /' "$file"; done
1249 echo 1 > "$at_status_file"
1253 # at_fn_check_skip EXIT-CODE LINE
1254 # -------------------------------
1255 # Check whether EXIT-CODE is a special exit code (77 or 99), and if so exit
1256 # the test group subshell with that same exit code. Use LINE in any report
1257 # about test failure.
1261 99) echo 99 > "$at_status_file"; at_failed
=:
1262 $as_echo "$2: hard failure"; exit 99;;
1263 77) echo 77 > "$at_status_file"; exit 77;;
1267 # at_fn_check_status EXPECTED EXIT-CODE LINE
1268 # ------------------------------------------
1269 # Check whether EXIT-CODE is the EXPECTED exit code, and if so do nothing.
1270 # Otherwise, if it is 77 or 99, exit the test group subshell with that same
1271 # exit code; if it is anything else print an error message referring to LINE,
1272 # and fail the test.
1273 at_fn_check_status
()
1277 77) echo 77 > "$at_status_file"; exit 77;;
1278 99) echo 99 > "$at_status_file"; at_failed
=:
1279 $as_echo "$3: hard failure"; exit 99;;
1280 *) $as_echo "$3: exit code was $2, expected $1"
1285 # at_fn_diff_devnull FILE
1286 # -----------------------
1287 # Emit a diff between /dev/null and FILE. Uses "test -s" to avoid useless diff
1289 at_fn_diff_devnull
()
1291 test -s "$1" ||
return 0
1292 $at_diff "$at_devnull" "$1"
1297 # Parse out test NUMBER from the tail of this file.
1300 eval at_sed
=\
$at_sed$1
1301 sed "$at_sed" "$at_myself" > "$at_test_source"
1304 # at_fn_create_debugging_script
1305 # -----------------------------
1306 # Create the debugging script $at_group_dir/run which will reproduce the
1307 # current test group.
1308 at_fn_create_debugging_script
()
1311 echo "#! /bin/sh" &&
1312 echo 'test "${ZSH_VERSION+set}" = set && alias -g '\''${1+"$@"}'\''='\''"$@"'\''' &&
1313 $as_echo "cd '$at_dir'" &&
1314 $as_echo "exec \${CONFIG_SHELL-$SHELL} \"$at_myself\" -v -d $at_debug_args $at_group \${1+\"\$@\"}" &&
1316 } >"$at_group_dir/run" &&
1317 chmod +x
"$at_group_dir/run"
1320 ## -------------------------------- ##
1321 ## End of autotest shell functions. ##
1322 ## -------------------------------- ##
1325 ## ---------------- ##
1326 ## Tested programs. ##
1327 ## ---------------- ##
1332 # Report what programs are being tested.
1333 for at_program
in : $at_tested
1335 test "$at_program" = : && continue
1337 [\\/]* | ?
:[\\/]* ) $at_program_=$at_program ;;
1339 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1343 test -z "$as_dir" && as_dir
=.
1344 test -f "$as_dir/$at_program" && break
1348 at_program_
=$as_dir/$at_program ;;
1350 if test -f "$at_program_"; then
1352 $as_echo "$at_srcdir/testsuite.at:30: $at_program_ --version"
1353 "$at_program_" --version </dev
/null
1357 as_fn_error
"cannot find $at_program" "$LINENO" 5
1363 ## ------------------ ##
1364 ## Running the tests. ##
1365 ## ------------------ ##
1369 at_start_date
=`date`
1370 at_start_time
=`date +%s 2>/dev/null`
1371 $as_echo "$as_me: starting at: $at_start_date" >&5
1373 # Create the master directory if it doesn't already exist.
1374 as_dir
="$at_suite_dir"; as_fn_mkdir_p ||
1375 as_fn_error
"cannot create \`$at_suite_dir'" "$LINENO" 5
1377 # Can we diff with `/dev/null'? DU 5.0 refuses.
1378 if diff /dev
/null
/dev
/null
>/dev
/null
2>&1; then
1379 at_devnull
=/dev
/null
1381 at_devnull
=$at_suite_dir/devnull
1385 # Use `diff -u' when possible.
1386 if at_diff
=`diff -u "$at_devnull" "$at_devnull" 2>&1` && test -z "$at_diff"
1393 # Get the last needed group.
1394 for at_group
in : $at_groups; do :; done
1396 # Extract the start and end lines of each test group at the tail
1404 test = substr ($ 0, 10)
1405 print "at_sed" test "=\"1," start "d;" (NR-1) "q\""
1406 if (test == "'"$at_group"'") exit
1407 }' "$at_myself" > "$at_suite_dir/at-source-lines" &&
1408 .
"$at_suite_dir/at-source-lines" ||
1409 as_fn_error
"cannot create test line number cache" "$LINENO" 5
1410 rm -f "$at_suite_dir/at-source-lines"
1412 # Set number of jobs for `-j'; avoid more jobs than test groups.
1413 set X
$at_groups; shift; at_max_jobs
=$#
1414 if test $at_max_jobs -eq 0; then
1417 if test $at_jobs -ne 1 &&
1418 { test $at_jobs -eq 0 ||
test $at_jobs -gt $at_max_jobs; }; then
1419 at_jobs
=$at_max_jobs
1422 # If parallel mode, don't output banners, don't split summary lines.
1423 if test $at_jobs -ne 1; then
1424 at_print_banners
=false
1428 # Set up helper dirs.
1429 rm -rf "$at_helper_dir" &&
1430 mkdir
"$at_helper_dir" &&
1431 cd "$at_helper_dir" &&
1432 { test -z "$at_groups" || mkdir
$at_groups; } ||
1433 as_fn_error
"testsuite directory setup failed" "$LINENO" 5
1435 # Functions for running a test group. We leave the actual
1436 # test group execution outside of a shell function in order
1437 # to avoid hitting zsh 4.x exit status bugs.
1439 # at_fn_group_prepare
1440 # -------------------
1441 # Prepare running a test group.
1442 at_fn_group_prepare
()
1444 # The directory for additional per-group helper files.
1445 at_job_dir
=$at_helper_dir/$at_group
1446 # The file containing the location of the last AT_CHECK.
1447 at_check_line_file
=$at_job_dir/check-line
1448 # The file containing the exit status of the last command.
1449 at_status_file
=$at_job_dir/status
1450 # The files containing the output of the tested commands.
1451 at_stdout
=$at_job_dir/stdout
1452 at_stder1
=$at_job_dir/stder1
1453 at_stderr
=$at_job_dir/stderr
1454 # The file containing the code for a test group.
1455 at_test_source
=$at_job_dir/test-source
1456 # The file containing dates.
1457 at_times_file
=$at_job_dir/times
1459 # Be sure to come back to the top test directory.
1462 # Clearly separate the test groups when verbose.
1463 $at_first ||
$at_verbose echo
1465 at_group_normalized
=$at_group
1468 case $at_group_normalized in #(
1469 '"$at_format"'*) break;;
1471 at_group_normalized=0$at_group_normalized
1475 # Create a fresh directory for the next test group, and enter.
1476 # If one already exists, the user may have invoked ./run from
1477 # within that directory; we remove the contents, but not the
1478 # directory itself, so that we aren't pulling the rug out from
1479 # under the shell's notion of the current directory.
1480 at_group_dir
=$at_suite_dir/$at_group_normalized
1481 at_group_log
=$at_group_dir/$as_me.log
1482 if test -d "$at_group_dir"; then
1483 find "$at_group_dir" -type d
! -perm -700 -exec chmod u
+rwx
{} \
;
1484 rm -fr "$at_group_dir"/* "$at_group_dir"/.
[!.
] "$at_group_dir"/.??
*
1486 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: test directory for $at_group_normalized could not be cleaned." >&5
1487 $as_echo "$as_me: WARNING: test directory for $at_group_normalized could not be cleaned." >&2;}
1488 # Be tolerant if the above `rm' was not able to remove the directory.
1489 as_dir
="$at_group_dir"; as_fn_mkdir_p
1491 echo 0 > "$at_status_file"
1493 # In verbose mode, append to the log file *and* show on
1494 # the standard output; in quiet mode only write to the log.
1495 if test -z "$at_verbose"; then
1496 at_tee_pipe
='tee -a "$at_group_log"'
1498 at_tee_pipe
='cat >> "$at_group_log"'
1502 # at_fn_group_postprocess
1503 # -----------------------
1504 # Perform cleanup after running a test group.
1505 at_fn_group_postprocess
()
1507 # Be sure to come back to the suite directory, in particular
1508 # since below we might `rm' the group directory we are in currently.
1511 if test ! -f "$at_check_line_file"; then
1512 sed "s/^ */$as_me: WARNING: /" <<_ATEOF
1513 A failure happened in a test group before any test could be
1514 run. This means that test suite is improperly designed. Please
1515 report this failure to <atf-devel@NetBSD.org>.
1517 $as_echo "$at_setup_line" >"$at_check_line_file"
1520 $at_verbose $as_echo_n "$at_group. $at_setup_line: "
1521 $as_echo_n "$at_group. $at_setup_line: " >> "$at_group_log"
1522 case $at_xfail:$at_status in
1524 at_msg
='FAILED ('`cat "$at_check_line_file"`')'
1526 at_errexit
=$at_errexit_p
1529 at_msg
="UNEXPECTED PASS"
1531 at_errexit
=$at_errexit_p
1539 at_msg
='skipped ('`cat "$at_check_line_file"`')'
1544 at_msg
='expected failure ('`cat "$at_check_line_file"`')'
1549 at_msg
='FAILED ('`cat "$at_check_line_file"`')'
1551 at_errexit
=$at_errexit_p
1554 echo "$at_res" > "$at_job_dir/$at_res"
1555 # In parallel mode, output the summary line only afterwards.
1556 if test $at_jobs -ne 1 && test -n "$at_verbose"; then
1557 $as_echo "$at_desc_line $at_msg"
1559 # Make sure there is a separator even with long titles.
1562 at_log_msg
="$at_group. $at_desc ($at_setup_line): $at_msg"
1565 # $at_times_file is only available if the group succeeded.
1566 # We're not including the group log, so the success message
1567 # is written in the global log separately. But we also
1568 # write to the group log in case they're using -d.
1569 if test -f "$at_times_file"; then
1570 at_log_msg
="$at_log_msg ("`sed 1d "$at_times_file"`')'
1571 rm -f "$at_times_file"
1573 $as_echo "$at_log_msg" >> "$at_group_log"
1574 $as_echo "$at_log_msg" >&5
1576 # Cleanup the group directory, unless the user wants the files.
1577 if $at_debug_p; then
1578 at_fn_create_debugging_script
1580 if test -d "$at_group_dir"; then
1581 find "$at_group_dir" -type d
! -perm -700 -exec chmod u
+rwx \
{\
} \
;
1582 rm -fr "$at_group_dir"
1584 rm -f "$at_test_source"
1588 # Upon failure, include the log into the testsuite's global
1589 # log. The failure message is written in the group log. It
1590 # is later included in the global log.
1591 $as_echo "$at_log_msg" >> "$at_group_log"
1593 # Upon failure, keep the group directory for autopsy, and create
1594 # the debugging script. With -e, do not start any further tests.
1595 at_fn_create_debugging_script
1596 if $at_errexit; then
1597 echo stop
> "$at_stop_file"
1609 if (set -m && set +m
&& set +b
) >/dev
/null
2>&1; then
1611 at_job_control_on
='set -m' at_job_control_off
='set +m' at_job_group
=-
1613 at_job_control_on
=: at_job_control_off
=: at_job_group
=
1616 for at_signal
in 1 2 15; do
1617 trap 'set +x; set +e
1619 at_signal='"$at_signal"'
1620 echo stop > "$at_stop_file"
1623 for at_pgid in `jobs -p 2>/dev/null`; do
1624 at_pgids="$at_pgids $at_job_group$at_pgid"
1626 test -z "$at_pgids" || kill -$at_signal $at_pgids 2>/dev/null
1628 if test "$at_jobs" -eq 1 || test -z "$at_verbose"; then
1631 at_signame=`kill -l $at_signal 2>&1 || echo $at_signal`
1633 test 1 -gt 2 && at_signame=$at_signal
1634 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: caught signal $at_signame, bailing out" >&5
1635 $as_echo "$as_me: WARNING: caught signal $at_signame, bailing out" >&2;}
1636 as_fn_arith 128 + $at_signal && exit_status=$as_val
1637 as_fn_exit $exit_status' $at_signal
1640 rm -f "$at_stop_file"
1643 if test $at_jobs -ne 1 &&
1644 rm -f "$at_job_fifo" &&
1645 test -n "$at_job_group" &&
1646 ( mkfifo "$at_job_fifo" && trap 'exit 1' PIPE STOP TSTP
) 2>/dev
/null
1648 # FIFO job dispatcher.
1651 for at_pid in `jobs -p`; do
1652 at_pids="$at_pids $at_job_group$at_pid"
1654 if test -n "$at_pids"; then
1656 test "${TMOUT+set}" = set && at_sig=STOP
1657 kill -$at_sig $at_pids 2>/dev/null
1660 test -z "$at_pids" || kill -CONT $at_pids 2>/dev/null' TSTP
1663 # Turn jobs into a list of numbers, starting from 1.
1664 at_joblist
=`$as_echo " $at_groups_all " | \
1665 sed 's/\( '$at_jobs'\) .*/\1/'`
1669 for at_group
in $at_groups; do
1670 $at_job_control_on 2>/dev
/null
1672 # Start one test group.
1674 exec 6>"$at_job_fifo"
1675 trap 'set +x; set +e
1677 echo stop > "$at_stop_file"
1679 as_fn_exit 141' PIPE
1681 if cd "$at_group_dir" &&
1682 at_fn_test
$at_group &&
1683 .
"$at_test_source" # AT_JOB_FIFO_FD>&-
1685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unable to parse test group: $at_group" >&5
1686 $as_echo "$as_me: WARNING: unable to parse test group: $at_group" >&2;}
1689 at_fn_group_postprocess
1695 exec 6<"$at_job_fifo"
1697 shift # Consume one token.
1698 if test $# -gt 0; then :; else
1699 read at_token
<&6 ||
break
1702 test -f "$at_stop_file" && break
1704 # Read back the remaining ($at_jobs - 1) tokens.
1707 if test $# -gt 0; then
1717 # Run serially, avoid forks and other potential surprises.
1718 for at_group
in $at_groups; do
1720 if cd "$at_group_dir" &&
1721 at_fn_test
$at_group &&
1722 .
"$at_test_source"; then :; else
1723 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unable to parse test group: $at_group" >&5
1724 $as_echo "$as_me: WARNING: unable to parse test group: $at_group" >&2;}
1727 at_fn_group_postprocess
1728 test -f "$at_stop_file" && break
1733 # Wrap up the test suite with summary statistics.
1736 # Use ?..???? when the list must remain sorted, the faster * otherwise.
1737 at_pass_list
=`for f in */pass; do echo $f; done | sed '/\*/d; s,/pass,,'`
1738 at_skip_list
=`for f in */skip; do echo $f; done | sed '/\*/d; s,/skip,,'`
1739 at_xfail_list
=`for f in */xfail; do echo $f; done | sed '/\*/d; s,/xfail,,'`
1740 at_xpass_list
=`for f in ?/xpass ??/xpass ???/xpass ????/xpass; do
1741 echo $f; done | sed '/?/d; s,/xpass,,'`
1742 at_fail_list
=`for f in ?/fail ??/fail ???/fail ????/fail; do
1743 echo $f; done | sed '/?/d; s,/fail,,'`
1745 set X
$at_pass_list $at_xpass_list $at_xfail_list $at_fail_list $at_skip_list
1746 shift; at_group_count
=$#
1747 set X
$at_xpass_list; shift; at_xpass_count
=$#; at_xpass_list
=$
*
1748 set X
$at_xfail_list; shift; at_xfail_count
=$#
1749 set X
$at_fail_list; shift; at_fail_count
=$#; at_fail_list
=$
*
1750 set X
$at_skip_list; shift; at_skip_count
=$#
1752 as_fn_arith
$at_group_count - $at_skip_count && at_run_count
=$as_val
1753 as_fn_arith
$at_xpass_count + $at_fail_count && at_unexpected_count
=$as_val
1754 as_fn_arith
$at_xfail_count + $at_fail_count && at_total_fail_count
=$as_val
1756 # Back to the top directory.
1758 rm -rf "$at_helper_dir"
1760 # Compute the duration of the suite.
1762 at_stop_time
=`date +%s 2>/dev/null`
1763 $as_echo "$as_me: ending at: $at_stop_date" >&5
1764 case $at_start_time,$at_stop_time in
1766 as_fn_arith
$at_stop_time - $at_start_time && at_duration_s
=$as_val
1767 as_fn_arith
$at_duration_s / 60 && at_duration_m
=$as_val
1768 as_fn_arith
$at_duration_m / 60 && at_duration_h
=$as_val
1769 as_fn_arith
$at_duration_s % 60 && at_duration_s
=$as_val
1770 as_fn_arith
$at_duration_m % 60 && at_duration_m
=$as_val
1771 at_duration
="${at_duration_h}h ${at_duration_m}m ${at_duration_s}s"
1772 $as_echo "$as_me: test suite duration: $at_duration" >&5
1793 if test $at_run_count = 1; then
1797 at_result
="$at_run_count tests"
1800 if $at_errexit_p && test $at_unexpected_count != 0; then
1801 if test $at_xpass_count = 1; then
1802 at_result
="$at_result $at_were run, one passed"
1804 at_result
="$at_result $at_were run, one failed"
1806 at_result
="$at_result unexpectedly and inhibited subsequent tests."
1808 # Don't you just love exponential explosion of the number of cases?
1809 case $at_xpass_count:$at_fail_count:$at_xfail_count in
1811 0:0:0) at_result
="$at_result $at_were successful." ;;
1812 0:0:*) at_result
="$at_result behaved as expected." ;;
1814 # Some unexpected failures
1815 0:*:0) at_result
="$at_result $at_were run,
1816 $at_fail_count failed unexpectedly." ;;
1818 # Some failures, both expected and unexpected
1819 0:*:1) at_result
="$at_result $at_were run,
1820 $at_total_fail_count failed ($at_xfail_count expected failure)." ;;
1821 0:*:*) at_result
="$at_result $at_were run,
1822 $at_total_fail_count failed ($at_xfail_count expected failures)." ;;
1824 # No unexpected failures, but some xpasses
1825 *:0:*) at_result
="$at_result $at_were run,
1826 $at_xpass_count passed unexpectedly." ;;
1828 # No expected failures, but failures and xpasses
1829 *:1:0) at_result
="$at_result $at_were run,
1830 $at_unexpected_count did not behave as expected ($at_fail_count unexpected failure)." ;;
1831 *:*:0) at_result
="$at_result $at_were run,
1832 $at_unexpected_count did not behave as expected ($at_fail_count unexpected failures)." ;;
1835 *:*:1) at_result
="$at_result $at_were run,
1836 $at_xpass_count passed unexpectedly,
1837 $at_total_fail_count failed ($at_xfail_count expected failure)." ;;
1838 *:*:*) at_result
="$at_result $at_were run,
1839 $at_xpass_count passed unexpectedly,
1840 $at_total_fail_count failed ($at_xfail_count expected failures)." ;;
1843 if test $at_skip_count = 0 && test $at_run_count -gt 1; then
1844 at_result
="All $at_result"
1848 # Now put skips in the mix.
1849 case $at_skip_count in
1851 1) at_result
="$at_result
1852 1 test was skipped." ;;
1853 *) at_result
="$at_result
1854 $at_skip_count tests were skipped." ;;
1857 if test $at_unexpected_count = 0; then
1859 echo "$at_result" >&5
1861 echo "ERROR: $at_result" >&2
1862 echo "ERROR: $at_result" >&5
1866 ## ------------------------ ##
1867 ## Summary of the failures. ##
1868 ## ------------------------ ##
1871 # Summary of failed and skipped tests.
1872 if test $at_fail_count != 0; then
1873 echo "Failed tests:"
1874 $SHELL "$at_myself" $at_fail_list --list
1877 if test $at_skip_count != 0; then
1878 echo "Skipped tests:"
1879 $SHELL "$at_myself" $at_skip_list --list
1882 if test $at_xpass_count != 0; then
1883 echo "Unexpected passes:"
1884 $SHELL "$at_myself" $at_xpass_list --list
1887 if test $at_fail_count != 0; then
1889 ## ---------------------- ##
1890 ## Detailed failed tests. ##
1891 ## ---------------------- ##
1894 for at_group
in $at_fail_list
1896 at_group_normalized
=$at_group
1899 case $at_group_normalized in #(
1900 '"$at_format"'*) break;;
1902 at_group_normalized=0$at_group_normalized
1905 cat "$at_suite_dir/$at_group_normalized/$as_me.log"
1910 if test -n "$at_top_srcdir"; then
1911 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
1912 ## ${at_top_build_prefix}config.log ##
1914 sed 's/^/| /' ${at_top_build_prefix}config.log
1919 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
1920 ## $as_me.log was created. ##
1924 if $at_debug_p; then
1925 at_msg
='per-test log files'
1927 at_msg
="\`${at_testdir+${at_testdir}/}$as_me.log'"
1929 $as_echo "Please send $at_msg and all information you think might help:
1931 To: <atf-devel@NetBSD.org>
1932 Subject: [Automated Testing Framework 0.7] $as_me: $at_fail_list${at_fail_list:+ failed${at_xpass_list:+, }}$at_xpass_list${at_xpass_list:+ passed unexpectedly}
1934 You may investigate any problem if you feel able to do so, in which
1935 case the test suite provides a good starting point. Its output may
1936 be found below \`${at_testdir+${at_testdir}/}$as_me.dir'.
1947 # 1. t_application_opts_args.at:30: application: arguments and options handling
1948 at_setup_line
='t_application_opts_args.at:30'
1949 at_desc
="application: arguments and options handling"
1950 at_desc_line
=" 1: $at_desc "
1951 $at_quiet $as_echo_n "$at_desc_line"
1953 echo "# -*- compilation -*-" >> "$at_group_log"
1955 $as_echo "1. t_application_opts_args.at:30: testing ..."
1960 $as_echo "$at_srcdir/t_application_opts_args.at:34: \$({
1962 while test \$(pwd) != '/' -a ! -e ./Makefile; do
1968 })/tests/bootstrap/h_app_empty -h"
1969 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_application_opts_args.at:34"
1970 ( $at_check_trace; $
({
1972 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
1978 })/tests
/bootstrap
/h_app_empty
-h
1979 ) >>"$at_stdout" 2>>"$at_stderr"
1980 at_status
=$? at_failed
=false
1982 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
1983 echo stdout
:; tee stdout
<"$at_stdout"
1984 at_fn_check_status
0 $at_status "$at_srcdir/t_application_opts_args.at:34"
1985 $at_failed && at_fn_log_failure
1989 $as_echo "$at_srcdir/t_application_opts_args.at:35: grep ' -d ' stdout"
1990 at_fn_check_prepare_trace
"t_application_opts_args.at:35"
1991 ( $at_check_trace; grep ' -d ' stdout
1992 ) >>"$at_stdout" 2>>"$at_stderr"
1993 at_status
=$? at_failed
=false
1995 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
1996 echo stdout
:; cat "$at_stdout"
1997 at_fn_check_status
1 $at_status "$at_srcdir/t_application_opts_args.at:35"
1998 $at_failed && at_fn_log_failure
2002 $as_echo "$at_srcdir/t_application_opts_args.at:36: grep ' -h ' stdout"
2003 at_fn_check_prepare_trace
"t_application_opts_args.at:36"
2004 ( $at_check_trace; grep ' -h ' stdout
2005 ) >>"$at_stdout" 2>>"$at_stderr"
2006 at_status
=$? at_failed
=false
2008 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
2009 echo stdout
:; cat "$at_stdout"
2010 at_fn_check_status
0 $at_status "$at_srcdir/t_application_opts_args.at:36"
2011 $at_failed && at_fn_log_failure
2015 $as_echo "$at_srcdir/t_application_opts_args.at:37: grep ' -v ' stdout"
2016 at_fn_check_prepare_trace
"t_application_opts_args.at:37"
2017 ( $at_check_trace; grep ' -v ' stdout
2018 ) >>"$at_stdout" 2>>"$at_stderr"
2019 at_status
=$? at_failed
=false
2021 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
2022 echo stdout
:; cat "$at_stdout"
2023 at_fn_check_status
1 $at_status "$at_srcdir/t_application_opts_args.at:37"
2024 $at_failed && at_fn_log_failure
2028 $as_echo "$at_srcdir/t_application_opts_args.at:38: grep ' -z ' stdout"
2029 at_fn_check_prepare_trace
"t_application_opts_args.at:38"
2030 ( $at_check_trace; grep ' -z ' stdout
2031 ) >>"$at_stdout" 2>>"$at_stderr"
2032 at_status
=$? at_failed
=false
2034 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
2035 echo stdout
:; cat "$at_stdout"
2036 at_fn_check_status
1 $at_status "$at_srcdir/t_application_opts_args.at:38"
2037 $at_failed && at_fn_log_failure
2042 $as_echo "$at_srcdir/t_application_opts_args.at:42: \$({
2044 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2050 })/tests/bootstrap/h_app_opts_args -h"
2051 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_application_opts_args.at:42"
2052 ( $at_check_trace; $
({
2054 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
2060 })/tests
/bootstrap
/h_app_opts_args
-h
2061 ) >>"$at_stdout" 2>>"$at_stderr"
2062 at_status
=$? at_failed
=false
2064 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
2065 echo stdout
:; tee stdout
<"$at_stdout"
2066 at_fn_check_status
0 $at_status "$at_srcdir/t_application_opts_args.at:42"
2067 $at_failed && at_fn_log_failure
2071 $as_echo "$at_srcdir/t_application_opts_args.at:43: grep ' -d ' stdout"
2072 at_fn_check_prepare_trace
"t_application_opts_args.at:43"
2073 ( $at_check_trace; grep ' -d ' stdout
2074 ) >>"$at_stdout" 2>>"$at_stderr"
2075 at_status
=$? at_failed
=false
2077 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
2078 echo stdout
:; cat "$at_stdout"
2079 at_fn_check_status
0 $at_status "$at_srcdir/t_application_opts_args.at:43"
2080 $at_failed && at_fn_log_failure
2084 $as_echo "$at_srcdir/t_application_opts_args.at:44: grep ' -h ' stdout"
2085 at_fn_check_prepare_trace
"t_application_opts_args.at:44"
2086 ( $at_check_trace; grep ' -h ' stdout
2087 ) >>"$at_stdout" 2>>"$at_stderr"
2088 at_status
=$? at_failed
=false
2090 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
2091 echo stdout
:; cat "$at_stdout"
2092 at_fn_check_status
0 $at_status "$at_srcdir/t_application_opts_args.at:44"
2093 $at_failed && at_fn_log_failure
2097 $as_echo "$at_srcdir/t_application_opts_args.at:45: grep ' -v ' stdout"
2098 at_fn_check_prepare_trace
"t_application_opts_args.at:45"
2099 ( $at_check_trace; grep ' -v ' stdout
2100 ) >>"$at_stdout" 2>>"$at_stderr"
2101 at_status
=$? at_failed
=false
2103 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
2104 echo stdout
:; cat "$at_stdout"
2105 at_fn_check_status
0 $at_status "$at_srcdir/t_application_opts_args.at:45"
2106 $at_failed && at_fn_log_failure
2110 $as_echo "$at_srcdir/t_application_opts_args.at:46: grep ' -z ' stdout"
2111 at_fn_check_prepare_trace
"t_application_opts_args.at:46"
2112 ( $at_check_trace; grep ' -z ' stdout
2113 ) >>"$at_stdout" 2>>"$at_stderr"
2114 at_status
=$? at_failed
=false
2116 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
2117 echo stdout
:; cat "$at_stdout"
2118 at_fn_check_status
1 $at_status "$at_srcdir/t_application_opts_args.at:46"
2119 $at_failed && at_fn_log_failure
2124 $as_echo "$at_srcdir/t_application_opts_args.at:50: \$({
2126 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2132 })/tests/bootstrap/h_app_empty -d"
2133 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_application_opts_args.at:50"
2134 ( $at_check_trace; $
({
2136 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
2142 })/tests
/bootstrap
/h_app_empty
-d
2143 ) >>"$at_stdout" 2>>"$at_stderr"
2144 at_status
=$? at_failed
=false
2146 echo stderr
:; tee stderr
<"$at_stderr"
2147 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
2148 at_fn_check_status
1 $at_status "$at_srcdir/t_application_opts_args.at:50"
2149 $at_failed && at_fn_log_failure
2153 $as_echo "$at_srcdir/t_application_opts_args.at:51: grep 'Unknown option.*-d' stderr"
2154 at_fn_check_prepare_trace
"t_application_opts_args.at:51"
2155 ( $at_check_trace; grep 'Unknown option.*-d' stderr
2156 ) >>"$at_stdout" 2>>"$at_stderr"
2157 at_status
=$? at_failed
=false
2159 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
2160 echo stdout
:; cat "$at_stdout"
2161 at_fn_check_status
0 $at_status "$at_srcdir/t_application_opts_args.at:51"
2162 $at_failed && at_fn_log_failure
2166 $as_echo "$at_srcdir/t_application_opts_args.at:52: \$({
2168 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2174 })/tests/bootstrap/h_app_empty -v"
2175 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_application_opts_args.at:52"
2176 ( $at_check_trace; $
({
2178 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
2184 })/tests
/bootstrap
/h_app_empty
-v
2185 ) >>"$at_stdout" 2>>"$at_stderr"
2186 at_status
=$? at_failed
=false
2188 echo stderr
:; tee stderr
<"$at_stderr"
2189 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
2190 at_fn_check_status
1 $at_status "$at_srcdir/t_application_opts_args.at:52"
2191 $at_failed && at_fn_log_failure
2195 $as_echo "$at_srcdir/t_application_opts_args.at:53: grep 'Unknown option.*-v' stderr"
2196 at_fn_check_prepare_trace
"t_application_opts_args.at:53"
2197 ( $at_check_trace; grep 'Unknown option.*-v' stderr
2198 ) >>"$at_stdout" 2>>"$at_stderr"
2199 at_status
=$? at_failed
=false
2201 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
2202 echo stdout
:; cat "$at_stdout"
2203 at_fn_check_status
0 $at_status "$at_srcdir/t_application_opts_args.at:53"
2204 $at_failed && at_fn_log_failure
2208 $as_echo "$at_srcdir/t_application_opts_args.at:54: \$({
2210 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2216 })/tests/bootstrap/h_app_empty -z"
2217 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_application_opts_args.at:54"
2218 ( $at_check_trace; $
({
2220 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
2226 })/tests
/bootstrap
/h_app_empty
-z
2227 ) >>"$at_stdout" 2>>"$at_stderr"
2228 at_status
=$? at_failed
=false
2230 echo stderr
:; tee stderr
<"$at_stderr"
2231 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
2232 at_fn_check_status
1 $at_status "$at_srcdir/t_application_opts_args.at:54"
2233 $at_failed && at_fn_log_failure
2237 $as_echo "$at_srcdir/t_application_opts_args.at:55: grep 'Unknown option.*-z' stderr"
2238 at_fn_check_prepare_trace
"t_application_opts_args.at:55"
2239 ( $at_check_trace; grep 'Unknown option.*-z' stderr
2240 ) >>"$at_stdout" 2>>"$at_stderr"
2241 at_status
=$? at_failed
=false
2243 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
2244 echo stdout
:; cat "$at_stdout"
2245 at_fn_check_status
0 $at_status "$at_srcdir/t_application_opts_args.at:55"
2246 $at_failed && at_fn_log_failure
2251 $as_echo "$at_srcdir/t_application_opts_args.at:59: \$({
2253 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2259 })/tests/bootstrap/h_app_opts_args -d"
2260 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_application_opts_args.at:59"
2261 ( $at_check_trace; $
({
2263 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
2269 })/tests
/bootstrap
/h_app_opts_args
-d
2270 ) >>"$at_stdout" 2>>"$at_stderr"
2271 at_status
=$? at_failed
=false
2273 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
2274 echo stdout
:; tee stdout
<"$at_stdout"
2275 at_fn_check_status
0 $at_status "$at_srcdir/t_application_opts_args.at:59"
2276 $at_failed && at_fn_log_failure
2280 $as_echo "$at_srcdir/t_application_opts_args.at:60: grep -- '-d given' stdout"
2281 at_fn_check_prepare_trace
"t_application_opts_args.at:60"
2282 ( $at_check_trace; grep -- '-d given' stdout
2283 ) >>"$at_stdout" 2>>"$at_stderr"
2284 at_status
=$? at_failed
=false
2286 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
2287 echo stdout
:; cat "$at_stdout"
2288 at_fn_check_status
0 $at_status "$at_srcdir/t_application_opts_args.at:60"
2289 $at_failed && at_fn_log_failure
2293 $as_echo "$at_srcdir/t_application_opts_args.at:61: \$({
2295 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2301 })/tests/bootstrap/h_app_opts_args -v"
2302 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_application_opts_args.at:61"
2303 ( $at_check_trace; $
({
2305 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
2311 })/tests
/bootstrap
/h_app_opts_args
-v
2312 ) >>"$at_stdout" 2>>"$at_stderr"
2313 at_status
=$? at_failed
=false
2315 echo stderr
:; tee stderr
<"$at_stderr"
2316 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
2317 at_fn_check_status
1 $at_status "$at_srcdir/t_application_opts_args.at:61"
2318 $at_failed && at_fn_log_failure
2322 $as_echo "$at_srcdir/t_application_opts_args.at:62: grep 'Option.*-v.*requires an argument' stderr"
2323 at_fn_check_prepare_trace
"t_application_opts_args.at:62"
2324 ( $at_check_trace; grep 'Option.*-v.*requires an argument' stderr
2325 ) >>"$at_stdout" 2>>"$at_stderr"
2326 at_status
=$? at_failed
=false
2328 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
2329 echo stdout
:; cat "$at_stdout"
2330 at_fn_check_status
0 $at_status "$at_srcdir/t_application_opts_args.at:62"
2331 $at_failed && at_fn_log_failure
2335 $as_echo "$at_srcdir/t_application_opts_args.at:63: \$({
2337 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2343 })/tests/bootstrap/h_app_opts_args -v foo"
2344 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_application_opts_args.at:63"
2345 ( $at_check_trace; $
({
2347 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
2353 })/tests
/bootstrap
/h_app_opts_args
-v foo
2354 ) >>"$at_stdout" 2>>"$at_stderr"
2355 at_status
=$? at_failed
=false
2357 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
2358 echo stdout
:; tee stdout
<"$at_stdout"
2359 at_fn_check_status
0 $at_status "$at_srcdir/t_application_opts_args.at:63"
2360 $at_failed && at_fn_log_failure
2364 $as_echo "$at_srcdir/t_application_opts_args.at:64: grep -- '-v given with argument foo' stdout"
2365 at_fn_check_prepare_trace
"t_application_opts_args.at:64"
2366 ( $at_check_trace; grep -- '-v given with argument foo' stdout
2367 ) >>"$at_stdout" 2>>"$at_stderr"
2368 at_status
=$? at_failed
=false
2370 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
2371 echo stdout
:; cat "$at_stdout"
2372 at_fn_check_status
0 $at_status "$at_srcdir/t_application_opts_args.at:64"
2373 $at_failed && at_fn_log_failure
2377 $as_echo "$at_srcdir/t_application_opts_args.at:65: \$({
2379 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2385 })/tests/bootstrap/h_app_opts_args -z"
2386 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_application_opts_args.at:65"
2387 ( $at_check_trace; $
({
2389 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
2395 })/tests
/bootstrap
/h_app_opts_args
-z
2396 ) >>"$at_stdout" 2>>"$at_stderr"
2397 at_status
=$? at_failed
=false
2399 echo stderr
:; tee stderr
<"$at_stderr"
2400 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
2401 at_fn_check_status
1 $at_status "$at_srcdir/t_application_opts_args.at:65"
2402 $at_failed && at_fn_log_failure
2406 $as_echo "$at_srcdir/t_application_opts_args.at:66: grep 'Unknown option.*-z' stderr"
2407 at_fn_check_prepare_trace
"t_application_opts_args.at:66"
2408 ( $at_check_trace; grep 'Unknown option.*-z' stderr
2409 ) >>"$at_stdout" 2>>"$at_stderr"
2410 at_status
=$? at_failed
=false
2412 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
2413 echo stdout
:; cat "$at_stdout"
2414 at_fn_check_status
0 $at_status "$at_srcdir/t_application_opts_args.at:66"
2415 $at_failed && at_fn_log_failure
2420 $as_echo "$at_srcdir/t_application_opts_args.at:69: \$({
2422 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2428 })/tests/bootstrap/h_app_opts_args -- -d"
2429 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_application_opts_args.at:69"
2430 ( $at_check_trace; $
({
2432 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
2438 })/tests
/bootstrap
/h_app_opts_args
-- -d
2439 ) >>"$at_stdout" 2>>"$at_stderr"
2440 at_status
=$? at_failed
=false
2442 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
2443 echo stdout
:; tee stdout
<"$at_stdout"
2444 at_fn_check_status
0 $at_status "$at_srcdir/t_application_opts_args.at:69"
2445 $at_failed && at_fn_log_failure
2449 $as_echo "$at_srcdir/t_application_opts_args.at:70: grep -- '-d given' stdout"
2450 at_fn_check_prepare_trace
"t_application_opts_args.at:70"
2451 ( $at_check_trace; grep -- '-d given' stdout
2452 ) >>"$at_stdout" 2>>"$at_stderr"
2453 at_status
=$? at_failed
=false
2455 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
2456 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
2457 at_fn_check_status
1 $at_status "$at_srcdir/t_application_opts_args.at:70"
2458 $at_failed && at_fn_log_failure
2462 $as_echo "$at_srcdir/t_application_opts_args.at:71: \$({
2464 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2470 })/tests/bootstrap/h_app_opts_args arg -d"
2471 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_application_opts_args.at:71"
2472 ( $at_check_trace; $
({
2474 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
2480 })/tests
/bootstrap
/h_app_opts_args arg
-d
2481 ) >>"$at_stdout" 2>>"$at_stderr"
2482 at_status
=$? at_failed
=false
2484 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
2485 echo stdout
:; tee stdout
<"$at_stdout"
2486 at_fn_check_status
0 $at_status "$at_srcdir/t_application_opts_args.at:71"
2487 $at_failed && at_fn_log_failure
2491 $as_echo "$at_srcdir/t_application_opts_args.at:72: grep -- '-d given' stdout"
2492 at_fn_check_prepare_trace
"t_application_opts_args.at:72"
2493 ( $at_check_trace; grep -- '-d given' stdout
2494 ) >>"$at_stdout" 2>>"$at_stderr"
2495 at_status
=$? at_failed
=false
2497 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
2498 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
2499 at_fn_check_status
1 $at_status "$at_srcdir/t_application_opts_args.at:72"
2500 $at_failed && at_fn_log_failure
2505 $as_echo "$at_srcdir/t_application_opts_args.at:76: \$({
2507 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2513 })/tests/bootstrap/h_app_empty -h"
2514 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_application_opts_args.at:76"
2515 ( $at_check_trace; $
({
2517 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
2523 })/tests
/bootstrap
/h_app_empty
-h
2524 ) >>"$at_stdout" 2>>"$at_stderr"
2525 at_status
=$? at_failed
=false
2527 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
2528 echo stdout
:; tee stdout
<"$at_stdout"
2529 at_fn_check_status
0 $at_status "$at_srcdir/t_application_opts_args.at:76"
2530 $at_failed && at_fn_log_failure
2534 $as_echo "$at_srcdir/t_application_opts_args.at:77: grep '\\[options\\]\$' stdout"
2535 at_fn_check_prepare_dynamic
"grep '\\[options\\]$' stdout" "t_application_opts_args.at:77"
2536 ( $at_check_trace; grep '\[options\]$' stdout
2537 ) >>"$at_stdout" 2>>"$at_stderr"
2538 at_status
=$? at_failed
=false
2540 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
2541 echo stdout
:; cat "$at_stdout"
2542 at_fn_check_status
0 $at_status "$at_srcdir/t_application_opts_args.at:77"
2543 $at_failed && at_fn_log_failure
2548 $as_echo "$at_srcdir/t_application_opts_args.at:81: \$({
2550 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2556 })/tests/bootstrap/h_app_opts_args -h"
2557 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_application_opts_args.at:81"
2558 ( $at_check_trace; $
({
2560 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
2566 })/tests
/bootstrap
/h_app_opts_args
-h
2567 ) >>"$at_stdout" 2>>"$at_stderr"
2568 at_status
=$? at_failed
=false
2570 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
2571 echo stdout
:; tee stdout
<"$at_stdout"
2572 at_fn_check_status
0 $at_status "$at_srcdir/t_application_opts_args.at:81"
2573 $at_failed && at_fn_log_failure
2577 $as_echo "$at_srcdir/t_application_opts_args.at:82: grep '\\[options\\] <arg1> <arg2>' stdout"
2578 at_fn_check_prepare_trace
"t_application_opts_args.at:82"
2579 ( $at_check_trace; grep '\[options\] <arg1> <arg2>' stdout
2580 ) >>"$at_stdout" 2>>"$at_stderr"
2581 at_status
=$? at_failed
=false
2583 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
2584 echo stdout
:; cat "$at_stdout"
2585 at_fn_check_status
0 $at_status "$at_srcdir/t_application_opts_args.at:82"
2586 $at_failed && at_fn_log_failure
2591 $at_times_p && times >"$at_times_file"
2592 ) 5>&1 2>&1 |
eval $at_tee_pipe
2593 read at_status
<"$at_status_file"
2596 # 2. t_application_help.at:30: application: online help option
2597 at_setup_line
='t_application_help.at:30'
2598 at_desc
="application: online help option"
2599 at_desc_line
=" 2: $at_desc "
2600 $at_quiet $as_echo_n "$at_desc_line"
2602 echo "# -*- compilation -*-" >> "$at_group_log"
2604 $as_echo "2. t_application_help.at:30: testing ..."
2609 $as_echo "$at_srcdir/t_application_help.at:32: \$({
2611 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2617 })/tests/bootstrap/h_app_empty"
2618 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_application_help.at:32"
2619 ( $at_check_trace; $
({
2621 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
2627 })/tests
/bootstrap
/h_app_empty
2628 ) >>"$at_stdout" 2>>"$at_stderr"
2629 at_status
=$? at_failed
=false
2631 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
2632 echo stdout
:; tee stdout
<"$at_stdout"
2633 at_fn_check_status
0 $at_status "$at_srcdir/t_application_help.at:32"
2634 $at_failed && at_fn_log_failure
2638 $as_echo "$at_srcdir/t_application_help.at:33: grep 'Available options' stdout"
2639 at_fn_check_prepare_trace
"t_application_help.at:33"
2640 ( $at_check_trace; grep 'Available options' stdout
2641 ) >>"$at_stdout" 2>>"$at_stderr"
2642 at_status
=$? at_failed
=false
2644 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
2645 echo stdout
:; cat "$at_stdout"
2646 at_fn_check_status
1 $at_status "$at_srcdir/t_application_help.at:33"
2647 $at_failed && at_fn_log_failure
2652 $as_echo "$at_srcdir/t_application_help.at:35: \$({
2654 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2660 })/tests/bootstrap/h_app_empty -h"
2661 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_application_help.at:35"
2662 ( $at_check_trace; $
({
2664 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
2670 })/tests
/bootstrap
/h_app_empty
-h
2671 ) >>"$at_stdout" 2>>"$at_stderr"
2672 at_status
=$? at_failed
=false
2674 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
2675 echo stdout
:; tee stdout
<"$at_stdout"
2676 at_fn_check_status
0 $at_status "$at_srcdir/t_application_help.at:35"
2677 $at_failed && at_fn_log_failure
2681 $as_echo "$at_srcdir/t_application_help.at:36: grep 'Available options' stdout"
2682 at_fn_check_prepare_trace
"t_application_help.at:36"
2683 ( $at_check_trace; grep 'Available options' stdout
2684 ) >>"$at_stdout" 2>>"$at_stderr"
2685 at_status
=$? at_failed
=false
2687 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
2688 echo stdout
:; cat "$at_stdout"
2689 at_fn_check_status
0 $at_status "$at_srcdir/t_application_help.at:36"
2690 $at_failed && at_fn_log_failure
2695 $at_times_p && times >"$at_times_file"
2696 ) 5>&1 2>&1 |
eval $at_tee_pipe
2697 read at_status
<"$at_status_file"
2700 # 3. t_test_program_filter.at:30: test_program: filter test cases by name
2701 at_setup_line
='t_test_program_filter.at:30'
2702 at_desc
="test_program: filter test cases by name"
2703 at_desc_line
=" 3: $at_desc "
2704 $at_quiet $as_echo_n "$at_desc_line"
2706 echo "# -*- compilation -*-" >> "$at_group_log"
2708 $as_echo "3. t_test_program_filter.at:30: testing ..."
2712 for h
in tp_basic_c tp_basic_cpp tp_basic_sh
; do
2714 cat >expres
<<'_ATEOF'
2715 Content-Type: application/X-atf-tcs; version="1"
2719 tc-end: pass, passed
2721 tc-end: fail, failed, On purpose
2723 tc-end: skip, skipped, By design
2725 tc-end: default, passed
2729 $as_echo "$at_srcdir/t_test_program_filter.at:46: \$({
2731 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2737 })/tests/bootstrap/h_\${h} \\
2740 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2746 })/tests/bootstrap -r3 3>resout"
2747 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_test_program_filter.at:46"
2748 ( $at_check_trace; $
({
2750 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
2756 })/tests
/bootstrap
/h_
${h} \
2759 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
2765 })/tests
/bootstrap
-r3 3>resout
2766 ) >>"$at_stdout" 2>>"$at_stderr"
2767 at_status
=$? at_failed
=false
2769 echo stderr
:; cat "$at_stderr"
2770 echo stdout
:; cat "$at_stdout"
2771 at_fn_check_status
1 $at_status "$at_srcdir/t_test_program_filter.at:46"
2772 $at_failed && at_fn_log_failure
2776 $as_echo "$at_srcdir/t_test_program_filter.at:47: cmp -s resout expres"
2777 at_fn_check_prepare_trace
"t_test_program_filter.at:47"
2778 ( $at_check_trace; cmp -s resout expres
2779 ) >>"$at_stdout" 2>>"$at_stderr"
2780 at_status
=$? at_failed
=false
2782 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
2783 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
2784 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_filter.at:47"
2785 $at_failed && at_fn_log_failure
2789 $as_echo "$at_srcdir/t_test_program_filter.at:48: \$({
2791 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2797 })/tests/bootstrap/h_\${h} \\
2800 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2806 })/tests/bootstrap -r3 3>resout \"*\""
2807 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_test_program_filter.at:48"
2808 ( $at_check_trace; $
({
2810 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
2816 })/tests
/bootstrap
/h_
${h} \
2819 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
2825 })/tests
/bootstrap
-r3 3>resout
"*"
2826 ) >>"$at_stdout" 2>>"$at_stderr"
2827 at_status
=$? at_failed
=false
2829 echo stderr
:; cat "$at_stderr"
2830 echo stdout
:; cat "$at_stdout"
2831 at_fn_check_status
1 $at_status "$at_srcdir/t_test_program_filter.at:48"
2832 $at_failed && at_fn_log_failure
2836 $as_echo "$at_srcdir/t_test_program_filter.at:49: cmp -s resout expres"
2837 at_fn_check_prepare_trace
"t_test_program_filter.at:49"
2838 ( $at_check_trace; cmp -s resout expres
2839 ) >>"$at_stdout" 2>>"$at_stderr"
2840 at_status
=$? at_failed
=false
2842 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
2843 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
2844 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_filter.at:49"
2845 $at_failed && at_fn_log_failure
2849 cat >expres
<<'_ATEOF'
2850 Content-Type: application/X-atf-tcs; version="1"
2854 tc-end: pass, passed
2858 $as_echo "$at_srcdir/t_test_program_filter.at:57: \$({
2860 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2866 })/tests/bootstrap/h_\${h} \\
2869 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2875 })/tests/bootstrap -r3 pass 3>resout"
2876 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_test_program_filter.at:57"
2877 ( $at_check_trace; $
({
2879 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
2885 })/tests
/bootstrap
/h_
${h} \
2888 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
2894 })/tests
/bootstrap
-r3 pass
3>resout
2895 ) >>"$at_stdout" 2>>"$at_stderr"
2896 at_status
=$? at_failed
=false
2898 echo stderr
:; cat "$at_stderr"
2899 echo stdout
:; cat "$at_stdout"
2900 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_filter.at:57"
2901 $at_failed && at_fn_log_failure
2905 $as_echo "$at_srcdir/t_test_program_filter.at:58: cmp -s resout expres"
2906 at_fn_check_prepare_trace
"t_test_program_filter.at:58"
2907 ( $at_check_trace; cmp -s resout expres
2908 ) >>"$at_stdout" 2>>"$at_stderr"
2909 at_status
=$? at_failed
=false
2911 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
2912 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
2913 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_filter.at:58"
2914 $at_failed && at_fn_log_failure
2918 cat >expres
<<'_ATEOF'
2919 Content-Type: application/X-atf-tcs; version="1"
2923 tc-end: pass, passed
2925 tc-end: pass, passed
2929 $as_echo "$at_srcdir/t_test_program_filter.at:68: \$({
2931 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2937 })/tests/bootstrap/h_\${h} \\
2940 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2946 })/tests/bootstrap -r3 pass \"p*\" 3>resout"
2947 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_test_program_filter.at:68"
2948 ( $at_check_trace; $
({
2950 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
2956 })/tests
/bootstrap
/h_
${h} \
2959 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
2965 })/tests
/bootstrap
-r3 pass
"p*" 3>resout
2966 ) >>"$at_stdout" 2>>"$at_stderr"
2967 at_status
=$? at_failed
=false
2969 echo stderr
:; cat "$at_stderr"
2970 echo stdout
:; cat "$at_stdout"
2971 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_filter.at:68"
2972 $at_failed && at_fn_log_failure
2976 $as_echo "$at_srcdir/t_test_program_filter.at:69: cmp -s resout expres"
2977 at_fn_check_prepare_trace
"t_test_program_filter.at:69"
2978 ( $at_check_trace; cmp -s resout expres
2979 ) >>"$at_stdout" 2>>"$at_stderr"
2980 at_status
=$? at_failed
=false
2982 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
2983 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
2984 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_filter.at:69"
2985 $at_failed && at_fn_log_failure
2989 cat >expres
<<'_ATEOF'
2990 Content-Type: application/X-atf-tcs; version="1"
2994 tc-end: skip, skipped, By design
2998 $as_echo "$at_srcdir/t_test_program_filter.at:77: \$({
3000 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3006 })/tests/bootstrap/h_\${h} \\
3009 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3015 })/tests/bootstrap -r3 skip 3>resout"
3016 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_test_program_filter.at:77"
3017 ( $at_check_trace; $
({
3019 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
3025 })/tests
/bootstrap
/h_
${h} \
3028 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
3034 })/tests
/bootstrap
-r3 skip
3>resout
3035 ) >>"$at_stdout" 2>>"$at_stderr"
3036 at_status
=$? at_failed
=false
3038 echo stderr
:; cat "$at_stderr"
3039 echo stdout
:; cat "$at_stdout"
3040 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_filter.at:77"
3041 $at_failed && at_fn_log_failure
3045 $as_echo "$at_srcdir/t_test_program_filter.at:78: cmp -s resout expres"
3046 at_fn_check_prepare_trace
"t_test_program_filter.at:78"
3047 ( $at_check_trace; cmp -s resout expres
3048 ) >>"$at_stdout" 2>>"$at_stderr"
3049 at_status
=$? at_failed
=false
3051 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
3052 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
3053 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_filter.at:78"
3054 $at_failed && at_fn_log_failure
3058 cat >expres
<<'_ATEOF'
3059 Content-Type: application/X-atf-tcs; version="1"
3063 tc-end: fail, failed, On purpose
3065 tc-end: default, passed
3069 $as_echo "$at_srcdir/t_test_program_filter.at:88: \$({
3071 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3077 })/tests/bootstrap/h_\${h} \\
3080 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3086 })/tests/bootstrap -r3 \"*f*\" 3>resout"
3087 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_test_program_filter.at:88"
3088 ( $at_check_trace; $
({
3090 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
3096 })/tests
/bootstrap
/h_
${h} \
3099 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
3105 })/tests
/bootstrap
-r3 "*f*" 3>resout
3106 ) >>"$at_stdout" 2>>"$at_stderr"
3107 at_status
=$? at_failed
=false
3109 echo stderr
:; cat "$at_stderr"
3110 echo stdout
:; cat "$at_stdout"
3111 at_fn_check_status
1 $at_status "$at_srcdir/t_test_program_filter.at:88"
3112 $at_failed && at_fn_log_failure
3116 $as_echo "$at_srcdir/t_test_program_filter.at:89: cmp -s resout expres"
3117 at_fn_check_prepare_trace
"t_test_program_filter.at:89"
3118 ( $at_check_trace; cmp -s resout expres
3119 ) >>"$at_stdout" 2>>"$at_stderr"
3120 at_status
=$? at_failed
=false
3122 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
3123 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
3124 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_filter.at:89"
3125 $at_failed && at_fn_log_failure
3132 $at_times_p && times >"$at_times_file"
3133 ) 5>&1 2>&1 |
eval $at_tee_pipe
3134 read at_status
<"$at_status_file"
3137 # 4. t_test_program_run.at:30: test_program: output format and exit codes
3138 at_setup_line
='t_test_program_run.at:30'
3139 at_desc
="test_program: output format and exit codes"
3140 at_desc_line
=" 4: $at_desc "
3141 $at_quiet $as_echo_n "$at_desc_line"
3143 echo "# -*- compilation -*-" >> "$at_group_log"
3145 $as_echo "4. t_test_program_run.at:30: testing ..."
3149 for h
in tp_basic_c tp_basic_cpp tp_basic_sh
; do
3152 $as_echo "$at_srcdir/t_test_program_run.at:34: \$({
3154 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3160 })/tests/bootstrap/h_\${h} \\
3163 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3170 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_test_program_run.at:34"
3171 ( $at_check_trace; $
({
3173 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
3179 })/tests
/bootstrap
/h_
${h} \
3182 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
3189 ) >>"$at_stdout" 2>>"$at_stderr"
3190 at_status
=$? at_failed
=false
3192 echo stderr
:; tee stderr
<"$at_stderr"
3193 echo stdout
:; tee stdout
<"$at_stdout"
3194 at_fn_check_status
1 $at_status "$at_srcdir/t_test_program_run.at:34"
3195 $at_failed && at_fn_log_failure
3199 $as_echo "$at_srcdir/t_test_program_run.at:35: test $(grep __atf_tc_separator__ stdout | wc -l | awk '{ print $1 }') = 3"
3200 at_fn_check_prepare_trace
"t_test_program_run.at:35"
3201 ( $at_check_trace; test $
(grep __atf_tc_separator__ stdout |
wc -l |
awk '{ print $1 }') = 3
3202 ) >>"$at_stdout" 2>>"$at_stderr"
3203 at_status
=$? at_failed
=false
3205 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
3206 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
3207 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_run.at:35"
3208 $at_failed && at_fn_log_failure
3212 $as_echo "$at_srcdir/t_test_program_run.at:36: test $(grep __atf_tc_separator__ stderr | wc -l | awk '{ print $1 }') = 3"
3213 at_fn_check_prepare_trace
"t_test_program_run.at:36"
3214 ( $at_check_trace; test $
(grep __atf_tc_separator__ stderr |
wc -l |
awk '{ print $1 }') = 3
3215 ) >>"$at_stdout" 2>>"$at_stderr"
3216 at_status
=$? at_failed
=false
3218 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
3219 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
3220 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_run.at:36"
3221 $at_failed && at_fn_log_failure
3225 $as_echo "$at_srcdir/t_test_program_run.at:37: grep '^tc-end: pass, passed' stdout"
3226 at_fn_check_prepare_trace
"t_test_program_run.at:37"
3227 ( $at_check_trace; grep '^tc-end: pass, passed' stdout
3228 ) >>"$at_stdout" 2>>"$at_stderr"
3229 at_status
=$? at_failed
=false
3231 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
3232 echo stdout
:; cat "$at_stdout"
3233 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_run.at:37"
3234 $at_failed && at_fn_log_failure
3238 $as_echo "$at_srcdir/t_test_program_run.at:38: grep '^tc-end: fail, failed' stdout"
3239 at_fn_check_prepare_trace
"t_test_program_run.at:38"
3240 ( $at_check_trace; grep '^tc-end: fail, failed' stdout
3241 ) >>"$at_stdout" 2>>"$at_stderr"
3242 at_status
=$? at_failed
=false
3244 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
3245 echo stdout
:; cat "$at_stdout"
3246 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_run.at:38"
3247 $at_failed && at_fn_log_failure
3251 $as_echo "$at_srcdir/t_test_program_run.at:39: grep '^tc-end: skip, skipped' stdout"
3252 at_fn_check_prepare_trace
"t_test_program_run.at:39"
3253 ( $at_check_trace; grep '^tc-end: skip, skipped' stdout
3254 ) >>"$at_stdout" 2>>"$at_stderr"
3255 at_status
=$? at_failed
=false
3257 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
3258 echo stdout
:; cat "$at_stdout"
3259 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_run.at:39"
3260 $at_failed && at_fn_log_failure
3264 $as_echo "$at_srcdir/t_test_program_run.at:40: grep '^tc-end: default, passed' stdout"
3265 at_fn_check_prepare_trace
"t_test_program_run.at:40"
3266 ( $at_check_trace; grep '^tc-end: default, passed' stdout
3267 ) >>"$at_stdout" 2>>"$at_stderr"
3268 at_status
=$? at_failed
=false
3270 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
3271 echo stdout
:; cat "$at_stdout"
3272 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_run.at:40"
3273 $at_failed && at_fn_log_failure
3278 $as_echo "$at_srcdir/t_test_program_run.at:44: \$({
3280 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3286 })/tests/bootstrap/h_\${h} \\
3289 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3295 })/tests/bootstrap -r1"
3296 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_test_program_run.at:44"
3297 ( $at_check_trace; $
({
3299 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
3305 })/tests
/bootstrap
/h_
${h} \
3308 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
3314 })/tests
/bootstrap
-r1
3315 ) >>"$at_stdout" 2>>"$at_stderr"
3316 at_status
=$? at_failed
=false
3318 echo stderr
:; tee stderr
<"$at_stderr"
3319 echo stdout
:; tee stdout
<"$at_stdout"
3320 at_fn_check_status
1 $at_status "$at_srcdir/t_test_program_run.at:44"
3321 $at_failed && at_fn_log_failure
3325 $as_echo "$at_srcdir/t_test_program_run.at:45: test $(grep __atf_tc_separator__ stdout | wc -l | awk '{ print $1 }') = 3"
3326 at_fn_check_prepare_trace
"t_test_program_run.at:45"
3327 ( $at_check_trace; test $
(grep __atf_tc_separator__ stdout |
wc -l |
awk '{ print $1 }') = 3
3328 ) >>"$at_stdout" 2>>"$at_stderr"
3329 at_status
=$? at_failed
=false
3331 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
3332 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
3333 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_run.at:45"
3334 $at_failed && at_fn_log_failure
3338 $as_echo "$at_srcdir/t_test_program_run.at:46: test $(grep __atf_tc_separator__ stderr | wc -l | awk '{ print $1 }') = 3"
3339 at_fn_check_prepare_trace
"t_test_program_run.at:46"
3340 ( $at_check_trace; test $
(grep __atf_tc_separator__ stderr |
wc -l |
awk '{ print $1 }') = 3
3341 ) >>"$at_stdout" 2>>"$at_stderr"
3342 at_status
=$? at_failed
=false
3344 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
3345 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
3346 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_run.at:46"
3347 $at_failed && at_fn_log_failure
3351 $as_echo "$at_srcdir/t_test_program_run.at:47: grep '^tc-end: pass, passed' stdout"
3352 at_fn_check_prepare_trace
"t_test_program_run.at:47"
3353 ( $at_check_trace; grep '^tc-end: pass, passed' stdout
3354 ) >>"$at_stdout" 2>>"$at_stderr"
3355 at_status
=$? at_failed
=false
3357 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
3358 echo stdout
:; cat "$at_stdout"
3359 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_run.at:47"
3360 $at_failed && at_fn_log_failure
3364 $as_echo "$at_srcdir/t_test_program_run.at:48: grep '^tc-end: fail, failed' stdout"
3365 at_fn_check_prepare_trace
"t_test_program_run.at:48"
3366 ( $at_check_trace; grep '^tc-end: fail, failed' stdout
3367 ) >>"$at_stdout" 2>>"$at_stderr"
3368 at_status
=$? at_failed
=false
3370 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
3371 echo stdout
:; cat "$at_stdout"
3372 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_run.at:48"
3373 $at_failed && at_fn_log_failure
3377 $as_echo "$at_srcdir/t_test_program_run.at:49: grep '^tc-end: skip, skipped' stdout"
3378 at_fn_check_prepare_trace
"t_test_program_run.at:49"
3379 ( $at_check_trace; grep '^tc-end: skip, skipped' stdout
3380 ) >>"$at_stdout" 2>>"$at_stderr"
3381 at_status
=$? at_failed
=false
3383 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
3384 echo stdout
:; cat "$at_stdout"
3385 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_run.at:49"
3386 $at_failed && at_fn_log_failure
3390 $as_echo "$at_srcdir/t_test_program_run.at:50: grep '^tc-end: default, passed' stdout"
3391 at_fn_check_prepare_trace
"t_test_program_run.at:50"
3392 ( $at_check_trace; grep '^tc-end: default, passed' stdout
3393 ) >>"$at_stdout" 2>>"$at_stderr"
3394 at_status
=$? at_failed
=false
3396 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
3397 echo stdout
:; cat "$at_stdout"
3398 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_run.at:50"
3399 $at_failed && at_fn_log_failure
3404 $as_echo "$at_srcdir/t_test_program_run.at:53: \$({
3406 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3412 })/tests/bootstrap/h_\${h} \\
3415 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3421 })/tests/bootstrap -r2"
3422 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_test_program_run.at:53"
3423 ( $at_check_trace; $
({
3425 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
3431 })/tests
/bootstrap
/h_
${h} \
3434 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
3440 })/tests
/bootstrap
-r2
3441 ) >>"$at_stdout" 2>>"$at_stderr"
3442 at_status
=$? at_failed
=false
3444 echo stderr
:; tee stderr
<"$at_stderr"
3445 echo stdout
:; cat "$at_stdout"
3446 at_fn_check_status
1 $at_status "$at_srcdir/t_test_program_run.at:53"
3447 $at_failed && at_fn_log_failure
3451 $as_echo "$at_srcdir/t_test_program_run.at:54: test $(grep __atf_tc_separator__ stdout | wc -l | awk '{ print $1 }') = 3"
3452 at_fn_check_prepare_trace
"t_test_program_run.at:54"
3453 ( $at_check_trace; test $
(grep __atf_tc_separator__ stdout |
wc -l |
awk '{ print $1 }') = 3
3454 ) >>"$at_stdout" 2>>"$at_stderr"
3455 at_status
=$? at_failed
=false
3457 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
3458 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
3459 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_run.at:54"
3460 $at_failed && at_fn_log_failure
3464 $as_echo "$at_srcdir/t_test_program_run.at:55: test $(grep __atf_tc_separator__ stderr | wc -l | awk '{ print $1 }') = 3"
3465 at_fn_check_prepare_trace
"t_test_program_run.at:55"
3466 ( $at_check_trace; test $
(grep __atf_tc_separator__ stderr |
wc -l |
awk '{ print $1 }') = 3
3467 ) >>"$at_stdout" 2>>"$at_stderr"
3468 at_status
=$? at_failed
=false
3470 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
3471 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
3472 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_run.at:55"
3473 $at_failed && at_fn_log_failure
3477 $as_echo "$at_srcdir/t_test_program_run.at:56: grep '^tc-end: pass, passed' stderr"
3478 at_fn_check_prepare_trace
"t_test_program_run.at:56"
3479 ( $at_check_trace; grep '^tc-end: pass, passed' stderr
3480 ) >>"$at_stdout" 2>>"$at_stderr"
3481 at_status
=$? at_failed
=false
3483 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
3484 echo stdout
:; cat "$at_stdout"
3485 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_run.at:56"
3486 $at_failed && at_fn_log_failure
3490 $as_echo "$at_srcdir/t_test_program_run.at:57: grep '^tc-end: fail, failed' stderr"
3491 at_fn_check_prepare_trace
"t_test_program_run.at:57"
3492 ( $at_check_trace; grep '^tc-end: fail, failed' stderr
3493 ) >>"$at_stdout" 2>>"$at_stderr"
3494 at_status
=$? at_failed
=false
3496 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
3497 echo stdout
:; cat "$at_stdout"
3498 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_run.at:57"
3499 $at_failed && at_fn_log_failure
3503 $as_echo "$at_srcdir/t_test_program_run.at:58: grep '^tc-end: skip, skipped' stderr"
3504 at_fn_check_prepare_trace
"t_test_program_run.at:58"
3505 ( $at_check_trace; grep '^tc-end: skip, skipped' stderr
3506 ) >>"$at_stdout" 2>>"$at_stderr"
3507 at_status
=$? at_failed
=false
3509 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
3510 echo stdout
:; cat "$at_stdout"
3511 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_run.at:58"
3512 $at_failed && at_fn_log_failure
3516 $as_echo "$at_srcdir/t_test_program_run.at:59: grep '^tc-end: default, passed' stderr"
3517 at_fn_check_prepare_trace
"t_test_program_run.at:59"
3518 ( $at_check_trace; grep '^tc-end: default, passed' stderr
3519 ) >>"$at_stdout" 2>>"$at_stderr"
3520 at_status
=$? at_failed
=false
3522 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
3523 echo stdout
:; cat "$at_stdout"
3524 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_run.at:59"
3525 $at_failed && at_fn_log_failure
3529 cat >expres
<<'_ATEOF'
3530 Content-Type: application/X-atf-tcs; version="1"
3534 tc-end: pass, passed
3536 tc-end: fail, failed, On purpose
3538 tc-end: skip, skipped, By design
3540 tc-end: default, passed
3544 $as_echo "$at_srcdir/t_test_program_run.at:74: \$({
3546 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3552 })/tests/bootstrap/h_\${h} \\
3555 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3561 })/tests/bootstrap -r3 3>resout"
3562 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_test_program_run.at:74"
3563 ( $at_check_trace; $
({
3565 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
3571 })/tests
/bootstrap
/h_
${h} \
3574 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
3580 })/tests
/bootstrap
-r3 3>resout
3581 ) >>"$at_stdout" 2>>"$at_stderr"
3582 at_status
=$? at_failed
=false
3584 echo stderr
:; tee stderr
<"$at_stderr"
3585 echo stdout
:; tee stdout
<"$at_stdout"
3586 at_fn_check_status
1 $at_status "$at_srcdir/t_test_program_run.at:74"
3587 $at_failed && at_fn_log_failure
3591 $as_echo "$at_srcdir/t_test_program_run.at:75: test $(grep __atf_tc_separator__ stdout | wc -l | awk '{ print $1 }') = 3"
3592 at_fn_check_prepare_trace
"t_test_program_run.at:75"
3593 ( $at_check_trace; test $
(grep __atf_tc_separator__ stdout |
wc -l |
awk '{ print $1 }') = 3
3594 ) >>"$at_stdout" 2>>"$at_stderr"
3595 at_status
=$? at_failed
=false
3597 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
3598 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
3599 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_run.at:75"
3600 $at_failed && at_fn_log_failure
3604 $as_echo "$at_srcdir/t_test_program_run.at:76: test $(grep __atf_tc_separator__ stderr | wc -l | awk '{ print $1 }') = 3"
3605 at_fn_check_prepare_trace
"t_test_program_run.at:76"
3606 ( $at_check_trace; test $
(grep __atf_tc_separator__ stderr |
wc -l |
awk '{ print $1 }') = 3
3607 ) >>"$at_stdout" 2>>"$at_stderr"
3608 at_status
=$? at_failed
=false
3610 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
3611 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
3612 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_run.at:76"
3613 $at_failed && at_fn_log_failure
3617 $as_echo "$at_srcdir/t_test_program_run.at:77: cmp -s resout expres"
3618 at_fn_check_prepare_trace
"t_test_program_run.at:77"
3619 ( $at_check_trace; cmp -s resout expres
3620 ) >>"$at_stdout" 2>>"$at_stderr"
3621 at_status
=$? at_failed
=false
3623 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
3624 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
3625 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_run.at:77"
3626 $at_failed && at_fn_log_failure
3630 cat >expres
<<'_ATEOF'
3631 Content-Type: application/X-atf-tcs; version="1"
3635 tc-end: pass, passed
3639 $as_echo "$at_srcdir/t_test_program_run.at:85: \$({
3641 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3647 })/tests/bootstrap/h_\${h} \\
3650 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3656 })/tests/bootstrap -r3 pass 3>resout"
3657 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_test_program_run.at:85"
3658 ( $at_check_trace; $
({
3660 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
3666 })/tests
/bootstrap
/h_
${h} \
3669 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
3675 })/tests
/bootstrap
-r3 pass
3>resout
3676 ) >>"$at_stdout" 2>>"$at_stderr"
3677 at_status
=$? at_failed
=false
3679 echo stderr
:; tee stderr
<"$at_stderr"
3680 echo stdout
:; tee stdout
<"$at_stdout"
3681 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_run.at:85"
3682 $at_failed && at_fn_log_failure
3686 $as_echo "$at_srcdir/t_test_program_run.at:86: grep __atf_tc_separator__ stdout"
3687 at_fn_check_prepare_trace
"t_test_program_run.at:86"
3688 ( $at_check_trace; grep __atf_tc_separator__ stdout
3689 ) >>"$at_stdout" 2>>"$at_stderr"
3690 at_status
=$? at_failed
=false
3692 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
3693 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
3694 at_fn_check_status
1 $at_status "$at_srcdir/t_test_program_run.at:86"
3695 $at_failed && at_fn_log_failure
3699 $as_echo "$at_srcdir/t_test_program_run.at:87: grep __atf_tc_separator__ stderr"
3700 at_fn_check_prepare_trace
"t_test_program_run.at:87"
3701 ( $at_check_trace; grep __atf_tc_separator__ stderr
3702 ) >>"$at_stdout" 2>>"$at_stderr"
3703 at_status
=$? at_failed
=false
3705 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
3706 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
3707 at_fn_check_status
1 $at_status "$at_srcdir/t_test_program_run.at:87"
3708 $at_failed && at_fn_log_failure
3712 $as_echo "$at_srcdir/t_test_program_run.at:88: cmp -s resout expres"
3713 at_fn_check_prepare_trace
"t_test_program_run.at:88"
3714 ( $at_check_trace; cmp -s resout expres
3715 ) >>"$at_stdout" 2>>"$at_stderr"
3716 at_status
=$? at_failed
=false
3718 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
3719 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
3720 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_run.at:88"
3721 $at_failed && at_fn_log_failure
3725 cat >expres
<<'_ATEOF'
3726 Content-Type: application/X-atf-tcs; version="1"
3730 tc-end: fail, failed, On purpose
3734 $as_echo "$at_srcdir/t_test_program_run.at:96: \$({
3736 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3742 })/tests/bootstrap/h_\${h} \\
3745 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3751 })/tests/bootstrap -r3 fail 3>resout"
3752 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_test_program_run.at:96"
3753 ( $at_check_trace; $
({
3755 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
3761 })/tests
/bootstrap
/h_
${h} \
3764 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
3770 })/tests
/bootstrap
-r3 fail
3>resout
3771 ) >>"$at_stdout" 2>>"$at_stderr"
3772 at_status
=$? at_failed
=false
3774 echo stderr
:; tee stderr
<"$at_stderr"
3775 echo stdout
:; tee stdout
<"$at_stdout"
3776 at_fn_check_status
1 $at_status "$at_srcdir/t_test_program_run.at:96"
3777 $at_failed && at_fn_log_failure
3781 $as_echo "$at_srcdir/t_test_program_run.at:97: grep __atf_tc_separator__ stdout"
3782 at_fn_check_prepare_trace
"t_test_program_run.at:97"
3783 ( $at_check_trace; grep __atf_tc_separator__ stdout
3784 ) >>"$at_stdout" 2>>"$at_stderr"
3785 at_status
=$? at_failed
=false
3787 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
3788 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
3789 at_fn_check_status
1 $at_status "$at_srcdir/t_test_program_run.at:97"
3790 $at_failed && at_fn_log_failure
3794 $as_echo "$at_srcdir/t_test_program_run.at:98: grep __atf_tc_separator__ stderr"
3795 at_fn_check_prepare_trace
"t_test_program_run.at:98"
3796 ( $at_check_trace; grep __atf_tc_separator__ stderr
3797 ) >>"$at_stdout" 2>>"$at_stderr"
3798 at_status
=$? at_failed
=false
3800 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
3801 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
3802 at_fn_check_status
1 $at_status "$at_srcdir/t_test_program_run.at:98"
3803 $at_failed && at_fn_log_failure
3807 $as_echo "$at_srcdir/t_test_program_run.at:99: cmp -s resout expres"
3808 at_fn_check_prepare_trace
"t_test_program_run.at:99"
3809 ( $at_check_trace; cmp -s resout expres
3810 ) >>"$at_stdout" 2>>"$at_stderr"
3811 at_status
=$? at_failed
=false
3813 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
3814 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
3815 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_run.at:99"
3816 $at_failed && at_fn_log_failure
3820 cat >expres
<<'_ATEOF'
3821 Content-Type: application/X-atf-tcs; version="1"
3825 tc-end: skip, skipped, By design
3829 $as_echo "$at_srcdir/t_test_program_run.at:107: \$({
3831 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3837 })/tests/bootstrap/h_\${h} \\
3840 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3846 })/tests/bootstrap -r3 skip 3>resout"
3847 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_test_program_run.at:107"
3848 ( $at_check_trace; $
({
3850 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
3856 })/tests
/bootstrap
/h_
${h} \
3859 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
3865 })/tests
/bootstrap
-r3 skip
3>resout
3866 ) >>"$at_stdout" 2>>"$at_stderr"
3867 at_status
=$? at_failed
=false
3869 echo stderr
:; tee stderr
<"$at_stderr"
3870 echo stdout
:; tee stdout
<"$at_stdout"
3871 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_run.at:107"
3872 $at_failed && at_fn_log_failure
3876 $as_echo "$at_srcdir/t_test_program_run.at:108: grep __atf_tc_separator__ stdout"
3877 at_fn_check_prepare_trace
"t_test_program_run.at:108"
3878 ( $at_check_trace; grep __atf_tc_separator__ stdout
3879 ) >>"$at_stdout" 2>>"$at_stderr"
3880 at_status
=$? at_failed
=false
3882 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
3883 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
3884 at_fn_check_status
1 $at_status "$at_srcdir/t_test_program_run.at:108"
3885 $at_failed && at_fn_log_failure
3889 $as_echo "$at_srcdir/t_test_program_run.at:109: grep __atf_tc_separator__ stderr"
3890 at_fn_check_prepare_trace
"t_test_program_run.at:109"
3891 ( $at_check_trace; grep __atf_tc_separator__ stderr
3892 ) >>"$at_stdout" 2>>"$at_stderr"
3893 at_status
=$? at_failed
=false
3895 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
3896 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
3897 at_fn_check_status
1 $at_status "$at_srcdir/t_test_program_run.at:109"
3898 $at_failed && at_fn_log_failure
3902 $as_echo "$at_srcdir/t_test_program_run.at:110: cmp -s resout expres"
3903 at_fn_check_prepare_trace
"t_test_program_run.at:110"
3904 ( $at_check_trace; cmp -s resout expres
3905 ) >>"$at_stdout" 2>>"$at_stderr"
3906 at_status
=$? at_failed
=false
3908 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
3909 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
3910 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_run.at:110"
3911 $at_failed && at_fn_log_failure
3918 $at_times_p && times >"$at_times_file"
3919 ) 5>&1 2>&1 |
eval $at_tee_pipe
3920 read at_status
<"$at_status_file"
3923 # 5. t_test_program_list.at:30: test_program: list test cases
3924 at_setup_line
='t_test_program_list.at:30'
3925 at_desc
="test_program: list test cases"
3926 at_desc_line
=" 5: $at_desc "
3927 $at_quiet $as_echo_n "$at_desc_line"
3929 echo "# -*- compilation -*-" >> "$at_group_log"
3931 $as_echo "5. t_test_program_list.at:30: testing ..."
3935 for h
in tp_basic_c tp_basic_cpp tp_basic_sh
; do
3938 $as_echo "$at_srcdir/t_test_program_list.at:34: \$({
3940 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3946 })/tests/bootstrap/h_\${h} \\
3949 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3955 })/tests/bootstrap -l"
3956 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_test_program_list.at:34"
3957 ( $at_check_trace; $
({
3959 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
3965 })/tests
/bootstrap
/h_
${h} \
3968 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
3974 })/tests
/bootstrap
-l
3975 ) >>"$at_stdout" 2>>"$at_stderr"
3976 at_status
=$? at_failed
=false
3978 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
3979 echo stdout
:; tee stdout
<"$at_stdout"
3980 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_list.at:34"
3981 $at_failed && at_fn_log_failure
3985 $as_echo "$at_srcdir/t_test_program_list.at:35: test $(wc -l stdout | awk '{ print $1 }') = 4"
3986 at_fn_check_prepare_trace
"t_test_program_list.at:35"
3987 ( $at_check_trace; test $
(wc -l stdout |
awk '{ print $1 }') = 4
3988 ) >>"$at_stdout" 2>>"$at_stderr"
3989 at_status
=$? at_failed
=false
3991 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
3992 echo stdout
:; cat "$at_stdout"
3993 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_list.at:35"
3994 $at_failed && at_fn_log_failure
3998 $as_echo "$at_srcdir/t_test_program_list.at:36: grep 'pass .*always passes' stdout"
3999 at_fn_check_prepare_trace
"t_test_program_list.at:36"
4000 ( $at_check_trace; grep 'pass .*always passes' stdout
4001 ) >>"$at_stdout" 2>>"$at_stderr"
4002 at_status
=$? at_failed
=false
4004 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
4005 echo stdout
:; cat "$at_stdout"
4006 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_list.at:36"
4007 $at_failed && at_fn_log_failure
4011 $as_echo "$at_srcdir/t_test_program_list.at:37: grep 'fail .*always fails' stdout"
4012 at_fn_check_prepare_trace
"t_test_program_list.at:37"
4013 ( $at_check_trace; grep 'fail .*always fails' stdout
4014 ) >>"$at_stdout" 2>>"$at_stderr"
4015 at_status
=$? at_failed
=false
4017 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
4018 echo stdout
:; cat "$at_stdout"
4019 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_list.at:37"
4020 $at_failed && at_fn_log_failure
4024 $as_echo "$at_srcdir/t_test_program_list.at:38: grep 'skip .*always skipped' stdout"
4025 at_fn_check_prepare_trace
"t_test_program_list.at:38"
4026 ( $at_check_trace; grep 'skip .*always skipped' stdout
4027 ) >>"$at_stdout" 2>>"$at_stderr"
4028 at_status
=$? at_failed
=false
4030 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
4031 echo stdout
:; cat "$at_stdout"
4032 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_list.at:38"
4033 $at_failed && at_fn_log_failure
4037 $as_echo "$at_srcdir/t_test_program_list.at:39: grep 'default .*explicitly' stdout"
4038 at_fn_check_prepare_trace
"t_test_program_list.at:39"
4039 ( $at_check_trace; grep 'default .*explicitly' stdout
4040 ) >>"$at_stdout" 2>>"$at_stderr"
4041 at_status
=$? at_failed
=false
4043 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
4044 echo stdout
:; cat "$at_stdout"
4045 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_list.at:39"
4046 $at_failed && at_fn_log_failure
4051 $as_echo "$at_srcdir/t_test_program_list.at:41: \$({
4053 while test \$(pwd) != '/' -a ! -e ./Makefile; do
4059 })/tests/bootstrap/h_\${h} \\
4062 while test \$(pwd) != '/' -a ! -e ./Makefile; do
4068 })/tests/bootstrap -l pass"
4069 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_test_program_list.at:41"
4070 ( $at_check_trace; $
({
4072 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
4078 })/tests
/bootstrap
/h_
${h} \
4081 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
4087 })/tests
/bootstrap
-l pass
4088 ) >>"$at_stdout" 2>>"$at_stderr"
4089 at_status
=$? at_failed
=false
4091 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
4092 echo stdout
:; tee stdout
<"$at_stdout"
4093 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_list.at:41"
4094 $at_failed && at_fn_log_failure
4098 $as_echo "$at_srcdir/t_test_program_list.at:42: test $(wc -l stdout | awk '{ print $1 }') = 1"
4099 at_fn_check_prepare_trace
"t_test_program_list.at:42"
4100 ( $at_check_trace; test $
(wc -l stdout |
awk '{ print $1 }') = 1
4101 ) >>"$at_stdout" 2>>"$at_stderr"
4102 at_status
=$? at_failed
=false
4104 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
4105 echo stdout
:; cat "$at_stdout"
4106 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_list.at:42"
4107 $at_failed && at_fn_log_failure
4111 $as_echo "$at_srcdir/t_test_program_list.at:43: grep 'pass .*always passes' stdout"
4112 at_fn_check_prepare_trace
"t_test_program_list.at:43"
4113 ( $at_check_trace; grep 'pass .*always passes' stdout
4114 ) >>"$at_stdout" 2>>"$at_stderr"
4115 at_status
=$? at_failed
=false
4117 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
4118 echo stdout
:; cat "$at_stdout"
4119 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_list.at:43"
4120 $at_failed && at_fn_log_failure
4127 $at_times_p && times >"$at_times_file"
4128 ) 5>&1 2>&1 |
eval $at_tee_pipe
4129 read at_status
<"$at_status_file"
4132 # 6. t_atf_format.at:30: atf-format: formatting of long lines
4133 at_setup_line
='t_atf_format.at:30'
4134 at_desc
="atf-format: formatting of long lines"
4135 at_desc_line
=" 6: $at_desc "
4136 $at_quiet $as_echo_n "$at_desc_line"
4138 echo "# -*- compilation -*-" >> "$at_group_log"
4140 $as_echo "6. t_atf_format.at:30: testing ..."
4147 export COLUMNS
# Required by FreeBSD's sh.
4148 $
(atf-config
-t atf_libexecdir
)/atf-format
"${@}"
4152 cat >text
<<'_ATEOF'
4153 This is a single-line text message to be formatted.
4157 cat >expout
<<'_ATEOF'
4158 This is a single-line text message to be formatted.
4162 $as_echo "$at_srcdir/t_atf_format.at:49: COLUMNS=80 call_atf_format <text"
4163 at_fn_check_prepare_trace
"t_atf_format.at:49"
4164 ( $at_check_trace; COLUMNS
=80 call_atf_format
<text
4165 ) >>"$at_stdout" 2>>"$at_stderr"
4166 at_status
=$? at_failed
=false
4168 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
4169 $at_diff expout
"$at_stdout" || at_failed
=:
4170 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_format.at:49"
4171 $at_failed && at_fn_log_failure
4175 cat >expout
<<'_ATEOF'
4176 tag This is a single-line text message to be formatted.
4180 $as_echo "$at_srcdir/t_atf_format.at:54: COLUMNS=80 call_atf_format -t ' tag ' <text"
4181 at_fn_check_prepare_trace
"t_atf_format.at:54"
4182 ( $at_check_trace; COLUMNS
=80 call_atf_format
-t ' tag ' <text
4183 ) >>"$at_stdout" 2>>"$at_stderr"
4184 at_status
=$? at_failed
=false
4186 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
4187 $at_diff expout
"$at_stdout" || at_failed
=:
4188 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_format.at:54"
4189 $at_failed && at_fn_log_failure
4193 $as_echo "$at_srcdir/t_atf_format.at:55: COLUMNS=80 call_atf_format -t ' tag' -l 7 <text"
4194 at_fn_check_prepare_trace
"t_atf_format.at:55"
4195 ( $at_check_trace; COLUMNS
=80 call_atf_format
-t ' tag' -l 7 <text
4196 ) >>"$at_stdout" 2>>"$at_stderr"
4197 at_status
=$? at_failed
=false
4199 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
4200 $at_diff expout
"$at_stdout" || at_failed
=:
4201 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_format.at:55"
4202 $at_failed && at_fn_log_failure
4206 cat >expout
<<'_ATEOF'
4207 This is a single-line
4213 $as_echo "$at_srcdir/t_atf_format.at:62: COLUMNS=21 call_atf_format <text"
4214 at_fn_check_prepare_trace
"t_atf_format.at:62"
4215 ( $at_check_trace; COLUMNS
=21 call_atf_format
<text
4216 ) >>"$at_stdout" 2>>"$at_stderr"
4217 at_status
=$? at_failed
=false
4219 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
4220 $at_diff expout
"$at_stdout" || at_failed
=:
4221 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_format.at:62"
4222 $at_failed && at_fn_log_failure
4226 cat >expout
<<'_ATEOF'
4227 tag This is a single-line
4233 $as_echo "$at_srcdir/t_atf_format.at:69: COLUMNS=28 call_atf_format -t ' tag ' <text"
4234 at_fn_check_prepare_trace
"t_atf_format.at:69"
4235 ( $at_check_trace; COLUMNS
=28 call_atf_format
-t ' tag ' <text
4236 ) >>"$at_stdout" 2>>"$at_stderr"
4237 at_status
=$? at_failed
=false
4239 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
4240 $at_diff expout
"$at_stdout" || at_failed
=:
4241 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_format.at:69"
4242 $at_failed && at_fn_log_failure
4246 $as_echo "$at_srcdir/t_atf_format.at:70: COLUMNS=28 call_atf_format -t ' tag' -l 7 <text"
4247 at_fn_check_prepare_trace
"t_atf_format.at:70"
4248 ( $at_check_trace; COLUMNS
=28 call_atf_format
-t ' tag' -l 7 <text
4249 ) >>"$at_stdout" 2>>"$at_stderr"
4250 at_status
=$? at_failed
=false
4252 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
4253 $at_diff expout
"$at_stdout" || at_failed
=:
4254 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_format.at:70"
4255 $at_failed && at_fn_log_failure
4259 cat >expout
<<'_ATEOF'
4272 $as_echo "$at_srcdir/t_atf_format.at:83: COLUMNS=1 call_atf_format -t ' tag ' <text"
4273 at_fn_check_prepare_trace
"t_atf_format.at:83"
4274 ( $at_check_trace; COLUMNS
=1 call_atf_format
-t ' tag ' <text
4275 ) >>"$at_stdout" 2>>"$at_stderr"
4276 at_status
=$? at_failed
=false
4278 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
4279 $at_diff expout
"$at_stdout" || at_failed
=:
4280 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_format.at:83"
4281 $at_failed && at_fn_log_failure
4285 $as_echo "$at_srcdir/t_atf_format.at:84: COLUMNS=1 call_atf_format -t ' tag' -l 7 <text"
4286 at_fn_check_prepare_trace
"t_atf_format.at:84"
4287 ( $at_check_trace; COLUMNS
=1 call_atf_format
-t ' tag' -l 7 <text
4288 ) >>"$at_stdout" 2>>"$at_stderr"
4289 at_status
=$? at_failed
=false
4291 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
4292 $at_diff expout
"$at_stdout" || at_failed
=:
4293 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_format.at:84"
4294 $at_failed && at_fn_log_failure
4299 cat >text
<<'_ATEOF'
4300 This is a multi-line text message to be formatted.
4301 And this is the second line, or better said paragraph.
4305 cat >expout
<<'_ATEOF'
4306 This is a multi-line text message to be formatted.
4308 And this is the second line, or better said paragraph.
4312 $as_echo "$at_srcdir/t_atf_format.at:99: COLUMNS=80 call_atf_format <text"
4313 at_fn_check_prepare_trace
"t_atf_format.at:99"
4314 ( $at_check_trace; COLUMNS
=80 call_atf_format
<text
4315 ) >>"$at_stdout" 2>>"$at_stderr"
4316 at_status
=$? at_failed
=false
4318 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
4319 $at_diff expout
"$at_stdout" || at_failed
=:
4320 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_format.at:99"
4321 $at_failed && at_fn_log_failure
4325 cat >expout
<<'_ATEOF'
4326 tag This is a multi-line text message to be formatted.
4328 And this is the second line, or better said paragraph.
4332 $as_echo "$at_srcdir/t_atf_format.at:106: COLUMNS=80 call_atf_format -t ' tag ' <text"
4333 at_fn_check_prepare_trace
"t_atf_format.at:106"
4334 ( $at_check_trace; COLUMNS
=80 call_atf_format
-t ' tag ' <text
4335 ) >>"$at_stdout" 2>>"$at_stderr"
4336 at_status
=$? at_failed
=false
4338 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
4339 $at_diff expout
"$at_stdout" || at_failed
=:
4340 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_format.at:106"
4341 $at_failed && at_fn_log_failure
4345 $as_echo "$at_srcdir/t_atf_format.at:107: COLUMNS=80 call_atf_format -t ' tag' -l 7 <text"
4346 at_fn_check_prepare_trace
"t_atf_format.at:107"
4347 ( $at_check_trace; COLUMNS
=80 call_atf_format
-t ' tag' -l 7 <text
4348 ) >>"$at_stdout" 2>>"$at_stderr"
4349 at_status
=$? at_failed
=false
4351 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
4352 $at_diff expout
"$at_stdout" || at_failed
=:
4353 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_format.at:107"
4354 $at_failed && at_fn_log_failure
4358 cat >expout
<<'_ATEOF'
4359 This is a multi-line
4370 $as_echo "$at_srcdir/t_atf_format.at:119: COLUMNS=21 call_atf_format <text"
4371 at_fn_check_prepare_trace
"t_atf_format.at:119"
4372 ( $at_check_trace; COLUMNS
=21 call_atf_format
<text
4373 ) >>"$at_stdout" 2>>"$at_stderr"
4374 at_status
=$? at_failed
=false
4376 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
4377 $at_diff expout
"$at_stdout" || at_failed
=:
4378 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_format.at:119"
4379 $at_failed && at_fn_log_failure
4383 cat >expout
<<'_ATEOF'
4384 tag This is a multi-line
4395 $as_echo "$at_srcdir/t_atf_format.at:131: COLUMNS=28 call_atf_format -t ' tag ' <text"
4396 at_fn_check_prepare_trace
"t_atf_format.at:131"
4397 ( $at_check_trace; COLUMNS
=28 call_atf_format
-t ' tag ' <text
4398 ) >>"$at_stdout" 2>>"$at_stderr"
4399 at_status
=$? at_failed
=false
4401 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
4402 $at_diff expout
"$at_stdout" || at_failed
=:
4403 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_format.at:131"
4404 $at_failed && at_fn_log_failure
4408 $as_echo "$at_srcdir/t_atf_format.at:132: COLUMNS=28 call_atf_format -t ' tag' -l 7 <text"
4409 at_fn_check_prepare_trace
"t_atf_format.at:132"
4410 ( $at_check_trace; COLUMNS
=28 call_atf_format
-t ' tag' -l 7 <text
4411 ) >>"$at_stdout" 2>>"$at_stderr"
4412 at_status
=$? at_failed
=false
4414 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
4415 $at_diff expout
"$at_stdout" || at_failed
=:
4416 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_format.at:132"
4417 $at_failed && at_fn_log_failure
4421 cat >expout
<<'_ATEOF'
4445 $as_echo "$at_srcdir/t_atf_format.at:156: COLUMNS=1 call_atf_format -t ' tag ' <text"
4446 at_fn_check_prepare_trace
"t_atf_format.at:156"
4447 ( $at_check_trace; COLUMNS
=1 call_atf_format
-t ' tag ' <text
4448 ) >>"$at_stdout" 2>>"$at_stderr"
4449 at_status
=$? at_failed
=false
4451 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
4452 $at_diff expout
"$at_stdout" || at_failed
=:
4453 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_format.at:156"
4454 $at_failed && at_fn_log_failure
4458 $as_echo "$at_srcdir/t_atf_format.at:157: COLUMNS=1 call_atf_format -t ' tag' -l 7 <text"
4459 at_fn_check_prepare_trace
"t_atf_format.at:157"
4460 ( $at_check_trace; COLUMNS
=1 call_atf_format
-t ' tag' -l 7 <text
4461 ) >>"$at_stdout" 2>>"$at_stderr"
4462 at_status
=$? at_failed
=false
4464 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
4465 $at_diff expout
"$at_stdout" || at_failed
=:
4466 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_format.at:157"
4467 $at_failed && at_fn_log_failure
4471 cat >text
<<'_ATEOF'
4472 This is a single-line text message to be formatted; it is very long so that it wraps a traditional 80-column terminal.
4478 $as_echo "$at_srcdir/t_atf_format.at:166: COLUMNS= call_atf_format <text"
4479 at_fn_check_prepare_trace
"t_atf_format.at:166"
4480 ( $at_check_trace; COLUMNS
= call_atf_format
<text
4481 ) >>"$at_stdout" 2>>"$at_stderr"
4482 at_status
=$? at_failed
=false
4484 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
4485 $at_diff expout
"$at_stdout" || at_failed
=:
4486 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_format.at:166"
4487 $at_failed && at_fn_log_failure
4492 $at_times_p && times >"$at_times_file"
4493 ) 5>&1 2>&1 |
eval $at_tee_pipe
4494 read at_status
<"$at_status_file"
4497 # 7. t_atf_config.at:30: atf-config: querying of build-time variables
4498 at_setup_line
='t_atf_config.at:30'
4499 at_desc
="atf-config: querying of build-time variables"
4500 at_desc_line
=" 7: $at_desc "
4501 $at_quiet $as_echo_n "$at_desc_line"
4503 echo "# -*- compilation -*-" >> "$at_group_log"
4505 $as_echo "7. t_atf_config.at:30: testing ..."
4510 all_vars
="atf_arch \
4514 atf_build_cppflags \
4516 atf_build_cxxflags \
4529 $as_echo "$at_srcdir/t_atf_config.at:52: atf-config"
4530 at_fn_check_prepare_trace
"t_atf_config.at:52"
4531 ( $at_check_trace; atf-config
4532 ) >>"$at_stdout" 2>>"$at_stderr"
4533 at_status
=$? at_failed
=false
4535 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
4536 echo stdout
:; tee stdout
<"$at_stdout"
4537 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_config.at:52"
4538 $at_failed && at_fn_log_failure
4542 $as_echo "$at_srcdir/t_atf_config.at:53: test $(wc -l stdout | awk '{ print $1 }') = \${all_vars_no}"
4543 at_fn_check_prepare_notrace
'a ${...} parameter expansion' "t_atf_config.at:53"
4544 ( $at_check_trace; test $
(wc -l stdout |
awk '{ print $1 }') = ${all_vars_no}
4545 ) >>"$at_stdout" 2>>"$at_stderr"
4546 at_status
=$? at_failed
=false
4548 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
4549 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
4550 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_config.at:53"
4551 $at_failed && at_fn_log_failure
4554 for v
in ${all_vars}; do
4556 $as_echo "$at_srcdir/t_atf_config.at:55: grep \"\${v}\" stdout"
4557 at_fn_check_prepare_notrace
'a ${...} parameter expansion' "t_atf_config.at:55"
4558 ( $at_check_trace; grep "${v}" stdout
4559 ) >>"$at_stdout" 2>>"$at_stderr"
4560 at_status
=$? at_failed
=false
4562 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
4563 echo stdout
:; cat "$at_stdout"
4564 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_config.at:55"
4565 $at_failed && at_fn_log_failure
4570 for v
in ${all_vars}; do
4572 $as_echo "$at_srcdir/t_atf_config.at:60: atf-config \${v}"
4573 at_fn_check_prepare_notrace
'a ${...} parameter expansion' "t_atf_config.at:60"
4574 ( $at_check_trace; atf-config
${v}
4575 ) >>"$at_stdout" 2>>"$at_stderr"
4576 at_status
=$? at_failed
=false
4578 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
4579 echo stdout
:; tee stdout
<"$at_stdout"
4580 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_config.at:60"
4581 $at_failed && at_fn_log_failure
4585 $as_echo "$at_srcdir/t_atf_config.at:61: test $(wc -l stdout | awk '{ print $1 }') = 1"
4586 at_fn_check_prepare_trace
"t_atf_config.at:61"
4587 ( $at_check_trace; test $
(wc -l stdout |
awk '{ print $1 }') = 1
4588 ) >>"$at_stdout" 2>>"$at_stderr"
4589 at_status
=$? at_failed
=false
4591 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
4592 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
4593 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_config.at:61"
4594 $at_failed && at_fn_log_failure
4598 $as_echo "$at_srcdir/t_atf_config.at:62: grep \"\${v}\" stdout"
4599 at_fn_check_prepare_notrace
'a ${...} parameter expansion' "t_atf_config.at:62"
4600 ( $at_check_trace; grep "${v}" stdout
4601 ) >>"$at_stdout" 2>>"$at_stderr"
4602 at_status
=$? at_failed
=false
4604 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
4605 echo stdout
:; cat "$at_stdout"
4606 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_config.at:62"
4607 $at_failed && at_fn_log_failure
4611 $as_echo "$at_srcdir/t_atf_config.at:63: cut -d ' ' -f 3- stdout"
4612 at_fn_check_prepare_trace
"t_atf_config.at:63"
4613 ( $at_check_trace; cut
-d ' ' -f 3- stdout
4614 ) >>"$at_stdout" 2>>"$at_stderr"
4615 at_status
=$? at_failed
=false
4617 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
4618 echo stdout
:; tee stdout
<"$at_stdout"
4619 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_config.at:63"
4620 $at_failed && at_fn_log_failure
4624 $as_echo "$at_srcdir/t_atf_config.at:64: mv stdout expout"
4625 at_fn_check_prepare_trace
"t_atf_config.at:64"
4626 ( $at_check_trace; mv stdout expout
4627 ) >>"$at_stdout" 2>>"$at_stderr"
4628 at_status
=$? at_failed
=false
4630 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
4631 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
4632 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_config.at:64"
4633 $at_failed && at_fn_log_failure
4637 $as_echo "$at_srcdir/t_atf_config.at:65: atf-config -t \${v}"
4638 at_fn_check_prepare_notrace
'a ${...} parameter expansion' "t_atf_config.at:65"
4639 ( $at_check_trace; atf-config
-t ${v}
4640 ) >>"$at_stdout" 2>>"$at_stderr"
4641 at_status
=$? at_failed
=false
4643 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
4644 $at_diff expout
"$at_stdout" || at_failed
=:
4645 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_config.at:65"
4646 $at_failed && at_fn_log_failure
4652 $as_echo "$at_srcdir/t_atf_config.at:69: atf-config atf_libexecdir atf_pkgdatadir"
4653 at_fn_check_prepare_trace
"t_atf_config.at:69"
4654 ( $at_check_trace; atf-config atf_libexecdir atf_pkgdatadir
4655 ) >>"$at_stdout" 2>>"$at_stderr"
4656 at_status
=$? at_failed
=false
4658 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
4659 echo stdout
:; tee stdout
<"$at_stdout"
4660 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_config.at:69"
4661 $at_failed && at_fn_log_failure
4665 $as_echo "$at_srcdir/t_atf_config.at:70: grep 'atf_libexecdir' stdout"
4666 at_fn_check_prepare_trace
"t_atf_config.at:70"
4667 ( $at_check_trace; grep 'atf_libexecdir' stdout
4668 ) >>"$at_stdout" 2>>"$at_stderr"
4669 at_status
=$? at_failed
=false
4671 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
4672 echo stdout
:; cat "$at_stdout"
4673 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_config.at:70"
4674 $at_failed && at_fn_log_failure
4678 $as_echo "$at_srcdir/t_atf_config.at:71: grep 'atf_pkgdatadir' stdout"
4679 at_fn_check_prepare_trace
"t_atf_config.at:71"
4680 ( $at_check_trace; grep 'atf_pkgdatadir' stdout
4681 ) >>"$at_stdout" 2>>"$at_stderr"
4682 at_status
=$? at_failed
=false
4684 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
4685 echo stdout
:; cat "$at_stdout"
4686 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_config.at:71"
4687 $at_failed && at_fn_log_failure
4691 $as_echo "$at_srcdir/t_atf_config.at:72: test $(wc -l stdout | awk '{ print $1 }') = 2"
4692 at_fn_check_prepare_trace
"t_atf_config.at:72"
4693 ( $at_check_trace; test $
(wc -l stdout |
awk '{ print $1 }') = 2
4694 ) >>"$at_stdout" 2>>"$at_stderr"
4695 at_status
=$? at_failed
=false
4697 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
4698 echo stdout
:; cat "$at_stdout"
4699 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_config.at:72"
4700 $at_failed && at_fn_log_failure
4705 $as_echo "$at_srcdir/t_atf_config.at:75: atf-config non_existent"
4706 at_fn_check_prepare_trace
"t_atf_config.at:75"
4707 ( $at_check_trace; atf-config non_existent
4708 ) >>"$at_stdout" 2>>"$at_stderr"
4709 at_status
=$? at_failed
=false
4711 echo stderr
:; tee stderr
<"$at_stderr"
4712 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
4713 at_fn_check_status
1 $at_status "$at_srcdir/t_atf_config.at:75"
4714 $at_failed && at_fn_log_failure
4718 $as_echo "$at_srcdir/t_atf_config.at:76: grep 'Unknown variable.*non_existent' stderr"
4719 at_fn_check_prepare_trace
"t_atf_config.at:76"
4720 ( $at_check_trace; grep 'Unknown variable.*non_existent' stderr
4721 ) >>"$at_stdout" 2>>"$at_stderr"
4722 at_status
=$? at_failed
=false
4724 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
4725 echo stdout
:; cat "$at_stdout"
4726 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_config.at:76"
4727 $at_failed && at_fn_log_failure
4731 for v
in ${all_vars}; do
4733 $as_echo "$at_srcdir/t_atf_config.at:80: atf-config \${v} non_existent"
4734 at_fn_check_prepare_notrace
'a ${...} parameter expansion' "t_atf_config.at:80"
4735 ( $at_check_trace; atf-config
${v} non_existent
4736 ) >>"$at_stdout" 2>>"$at_stderr"
4737 at_status
=$? at_failed
=false
4739 echo stderr
:; tee stderr
<"$at_stderr"
4740 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
4741 at_fn_check_status
1 $at_status "$at_srcdir/t_atf_config.at:80"
4742 $at_failed && at_fn_log_failure
4746 $as_echo "$at_srcdir/t_atf_config.at:81: grep 'Unknown variable.*non_existent' stderr"
4747 at_fn_check_prepare_trace
"t_atf_config.at:81"
4748 ( $at_check_trace; grep 'Unknown variable.*non_existent' stderr
4749 ) >>"$at_stdout" 2>>"$at_stderr"
4750 at_status
=$? at_failed
=false
4752 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
4753 echo stdout
:; cat "$at_stdout"
4754 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_config.at:81"
4755 $at_failed && at_fn_log_failure
4759 $as_echo "$at_srcdir/t_atf_config.at:83: atf-config non_existent \${v}"
4760 at_fn_check_prepare_notrace
'a ${...} parameter expansion' "t_atf_config.at:83"
4761 ( $at_check_trace; atf-config non_existent
${v}
4762 ) >>"$at_stdout" 2>>"$at_stderr"
4763 at_status
=$? at_failed
=false
4765 echo stderr
:; tee stderr
<"$at_stderr"
4766 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
4767 at_fn_check_status
1 $at_status "$at_srcdir/t_atf_config.at:83"
4768 $at_failed && at_fn_log_failure
4772 $as_echo "$at_srcdir/t_atf_config.at:84: grep 'Unknown variable.*non_existent' stderr"
4773 at_fn_check_prepare_trace
"t_atf_config.at:84"
4774 ( $at_check_trace; grep 'Unknown variable.*non_existent' stderr
4775 ) >>"$at_stdout" 2>>"$at_stderr"
4776 at_status
=$? at_failed
=false
4778 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
4779 echo stdout
:; cat "$at_stdout"
4780 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_config.at:84"
4781 $at_failed && at_fn_log_failure
4786 for v
in ${all_vars}; do
4787 V
=$
(echo ${v} |
tr '[a-z]' '[A-Z]')
4789 $as_echo "$at_srcdir/t_atf_config.at:91: env \${V}=testval atf-config"
4790 at_fn_check_prepare_notrace
'a ${...} parameter expansion' "t_atf_config.at:91"
4791 ( $at_check_trace; env
${V}=testval atf-config
4792 ) >>"$at_stdout" 2>>"$at_stderr"
4793 at_status
=$? at_failed
=false
4795 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
4796 echo stdout
:; tee stdout
<"$at_stdout"
4797 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_config.at:91"
4798 $at_failed && at_fn_log_failure
4802 $as_echo "$at_srcdir/t_atf_config.at:92: mv stdout all"
4803 at_fn_check_prepare_trace
"t_atf_config.at:92"
4804 ( $at_check_trace; mv stdout all
4805 ) >>"$at_stdout" 2>>"$at_stderr"
4806 at_status
=$? at_failed
=false
4808 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
4809 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
4810 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_config.at:92"
4811 $at_failed && at_fn_log_failure
4816 $as_echo "$at_srcdir/t_atf_config.at:94: grep \"^\${v} : \" all"
4817 at_fn_check_prepare_notrace
'a ${...} parameter expansion' "t_atf_config.at:94"
4818 ( $at_check_trace; grep "^${v} : " all
4819 ) >>"$at_stdout" 2>>"$at_stderr"
4820 at_status
=$? at_failed
=false
4822 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
4823 echo stdout
:; tee stdout
<"$at_stdout"
4824 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_config.at:94"
4825 $at_failed && at_fn_log_failure
4829 $as_echo "$at_srcdir/t_atf_config.at:95: mv stdout affected"
4830 at_fn_check_prepare_trace
"t_atf_config.at:95"
4831 ( $at_check_trace; mv stdout affected
4832 ) >>"$at_stdout" 2>>"$at_stderr"
4833 at_status
=$? at_failed
=false
4835 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
4836 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
4837 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_config.at:95"
4838 $at_failed && at_fn_log_failure
4842 $as_echo "$at_srcdir/t_atf_config.at:96: grep -v \"^\${v} : \" all"
4843 at_fn_check_prepare_notrace
'a ${...} parameter expansion' "t_atf_config.at:96"
4844 ( $at_check_trace; grep -v "^${v} : " all
4845 ) >>"$at_stdout" 2>>"$at_stderr"
4846 at_status
=$? at_failed
=false
4848 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
4849 echo stdout
:; tee stdout
<"$at_stdout"
4850 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_config.at:96"
4851 $at_failed && at_fn_log_failure
4855 $as_echo "$at_srcdir/t_atf_config.at:97: mv stdout unaffected"
4856 at_fn_check_prepare_trace
"t_atf_config.at:97"
4857 ( $at_check_trace; mv stdout unaffected
4858 ) >>"$at_stdout" 2>>"$at_stderr"
4859 at_status
=$? at_failed
=false
4861 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
4862 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
4863 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_config.at:97"
4864 $at_failed && at_fn_log_failure
4869 $as_echo "$at_srcdir/t_atf_config.at:99: test $(wc -l affected | awk '{ print $1 }') = 1"
4870 at_fn_check_prepare_trace
"t_atf_config.at:99"
4871 ( $at_check_trace; test $
(wc -l affected |
awk '{ print $1 }') = 1
4872 ) >>"$at_stdout" 2>>"$at_stderr"
4873 at_status
=$? at_failed
=false
4875 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
4876 echo stdout
:; cat "$at_stdout"
4877 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_config.at:99"
4878 $at_failed && at_fn_log_failure
4882 $as_echo "$at_srcdir/t_atf_config.at:100: test $(wc -l unaffected | awk '{ print $1 }') = \$((\${all_vars_no} - 1))"
4883 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_atf_config.at:100"
4884 ( $at_check_trace; test $
(wc -l unaffected |
awk '{ print $1 }') = $
((${all_vars_no} - 1))
4885 ) >>"$at_stdout" 2>>"$at_stderr"
4886 at_status
=$? at_failed
=false
4888 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
4889 echo stdout
:; cat "$at_stdout"
4890 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_config.at:100"
4891 $at_failed && at_fn_log_failure
4896 $as_echo "$at_srcdir/t_atf_config.at:103: grep \"^\${v} : testval\$\" affected"
4897 at_fn_check_prepare_notrace
'a ${...} parameter expansion' "t_atf_config.at:103"
4898 ( $at_check_trace; grep "^${v} : testval$" affected
4899 ) >>"$at_stdout" 2>>"$at_stderr"
4900 at_status
=$? at_failed
=false
4902 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
4903 echo stdout
:; cat "$at_stdout"
4904 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_config.at:103"
4905 $at_failed && at_fn_log_failure
4909 $as_echo "$at_srcdir/t_atf_config.at:104: grep ' : testval\$' unaffected"
4910 at_fn_check_prepare_dynamic
"grep ' : testval$' unaffected" "t_atf_config.at:104"
4911 ( $at_check_trace; grep ' : testval$' unaffected
4912 ) >>"$at_stdout" 2>>"$at_stderr"
4913 at_status
=$? at_failed
=false
4915 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
4916 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
4917 at_fn_check_status
1 $at_status "$at_srcdir/t_atf_config.at:104"
4918 $at_failed && at_fn_log_failure
4924 $at_times_p && times >"$at_times_file"
4925 ) 5>&1 2>&1 |
eval $at_tee_pipe
4926 read at_status
<"$at_status_file"
4929 # 8. t_atf_run.at:30: atf-run: execution of tests
4930 at_setup_line
='t_atf_run.at:30'
4931 at_desc
="atf-run: execution of tests"
4932 at_desc_line
=" 8: $at_desc "
4933 $at_quiet $as_echo_n "$at_desc_line"
4935 echo "# -*- compilation -*-" >> "$at_group_log"
4937 $as_echo "8. t_atf_run.at:30: testing ..."
4948 $as_echo "$at_srcdir/t_atf_run.at:67: mkdir top"
4949 at_fn_check_prepare_trace
"t_atf_run.at:67"
4950 ( $at_check_trace; mkdir top
4951 ) >>"$at_stdout" 2>>"$at_stderr"
4952 at_status
=$? at_failed
=false
4954 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
4955 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
4956 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_run.at:67"
4957 $at_failed && at_fn_log_failure
4961 $as_echo "$at_srcdir/t_atf_run.at:68: mkdir top/dir1"
4962 at_fn_check_prepare_trace
"t_atf_run.at:68"
4963 ( $at_check_trace; mkdir top
/dir1
4964 ) >>"$at_stdout" 2>>"$at_stderr"
4965 at_status
=$? at_failed
=false
4967 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
4968 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
4969 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_run.at:68"
4970 $at_failed && at_fn_log_failure
4974 $as_echo "$at_srcdir/t_atf_run.at:69: mkdir top/dir2"
4975 at_fn_check_prepare_trace
"t_atf_run.at:69"
4976 ( $at_check_trace; mkdir top
/dir2
4977 ) >>"$at_stdout" 2>>"$at_stderr"
4978 at_status
=$? at_failed
=false
4980 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
4981 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
4982 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_run.at:69"
4983 $at_failed && at_fn_log_failure
4986 cat >top
/Atffile
<<'_ATEOF'
4987 Content-Type: application/X-atf-atffile; version="1"
4989 prop: test-suite = atf
4997 cat >top
/dir
1/Atffile
<<'_ATEOF'
4998 Content-Type: application/X-atf-atffile; version="1"
5000 prop: test-suite = atf
5005 cat >top
/dir
2/Atffile
<<'_ATEOF'
5006 Content-Type: application/X-atf-atffile; version="1"
5008 prop: test-suite = atf
5014 cat >top
/test1
<<EOF
5015 #! $(atf-config -t atf_shell)
5016 echo "Content-Type: application/X-atf-tcs; version=\"1\"" >&9
5018 echo 'tcs-count: 1' >&9
5019 echo 'tc-start: tc_1' >&9
5022 echo 'tc-end: tc_1, passed' >&9
5026 $as_echo "$at_srcdir/t_atf_run.at:95: chmod +x top/test1"
5027 at_fn_check_prepare_trace
"t_atf_run.at:95"
5028 ( $at_check_trace; chmod +x top
/test1
5029 ) >>"$at_stdout" 2>>"$at_stderr"
5030 at_status
=$? at_failed
=false
5032 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
5033 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
5034 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_run.at:95"
5035 $at_failed && at_fn_log_failure
5039 cat >top
/test2
<<EOF
5040 #! $(atf-config -t atf_shell)
5041 echo "Content-Type: application/X-atf-tcs; version=\"1\"" >&9
5043 echo 'tcs-count: 1' >&9
5044 echo 'tc-start: tc_2' >&9
5047 echo 'tc-end: tc_2, failed, No reason' >&9
5051 $as_echo "$at_srcdir/t_atf_run.at:96: chmod +x top/test2"
5052 at_fn_check_prepare_trace
"t_atf_run.at:96"
5053 ( $at_check_trace; chmod +x top
/test2
5054 ) >>"$at_stdout" 2>>"$at_stderr"
5055 at_status
=$? at_failed
=false
5057 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
5058 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
5059 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_run.at:96"
5060 $at_failed && at_fn_log_failure
5064 cat >top
/dir
1/test3
<<EOF
5065 #! $(atf-config -t atf_shell)
5066 echo "Content-Type: application/X-atf-tcs; version=\"1\"" >&9
5068 echo 'tcs-count: 1' >&9
5069 echo 'tc-start: tc_3' >&9
5072 echo 'tc-end: tc_3, passed' >&9
5076 $as_echo "$at_srcdir/t_atf_run.at:97: chmod +x top/dir1/test3"
5077 at_fn_check_prepare_trace
"t_atf_run.at:97"
5078 ( $at_check_trace; chmod +x top
/dir
1/test3
5079 ) >>"$at_stdout" 2>>"$at_stderr"
5080 at_status
=$? at_failed
=false
5082 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
5083 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
5084 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_run.at:97"
5085 $at_failed && at_fn_log_failure
5089 cat >top
/dir
2/test4
<<EOF
5090 #! $(atf-config -t atf_shell)
5091 echo "Content-Type: application/X-atf-tcs; version=\"1\"" >&9
5093 echo 'tcs-count: 1' >&9
5094 echo 'tc-start: tc_4' >&9
5097 echo 'tc-end: tc_4, failed, No reason' >&9
5101 $as_echo "$at_srcdir/t_atf_run.at:98: chmod +x top/dir2/test4"
5102 at_fn_check_prepare_trace
"t_atf_run.at:98"
5103 ( $at_check_trace; chmod +x top
/dir
2/test4
5104 ) >>"$at_stdout" 2>>"$at_stderr"
5105 at_status
=$? at_failed
=false
5107 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
5108 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
5109 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_run.at:98"
5110 $at_failed && at_fn_log_failure
5114 cat >top
/dir
2/test5
<<EOF
5115 #! $(atf-config -t atf_shell)
5116 echo "Content-Type: application/X-atf-tcs; version=\"1\"" >&9
5118 echo 'tcs-count: 1' >&9
5119 echo 'tc-start: tc_5' >&9
5122 echo 'tc-end: tc_5, passed' >&9
5126 $as_echo "$at_srcdir/t_atf_run.at:99: chmod +x top/dir2/test5"
5127 at_fn_check_prepare_trace
"t_atf_run.at:99"
5128 ( $at_check_trace; chmod +x top
/dir
2/test5
5129 ) >>"$at_stdout" 2>>"$at_stderr"
5130 at_status
=$? at_failed
=false
5132 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
5133 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
5134 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_run.at:99"
5135 $at_failed && at_fn_log_failure
5141 $as_echo "$at_srcdir/t_atf_run.at:101: cd top/dir1 && atf-run"
5142 at_fn_check_prepare_trace
"t_atf_run.at:101"
5143 ( $at_check_trace; cd top
/dir1
&& atf-run
5144 ) >>"$at_stdout" 2>>"$at_stderr"
5145 at_status
=$? at_failed
=false
5147 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
5148 echo stdout
:; tee stdout
<"$at_stdout"
5149 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_run.at:101"
5150 $at_failed && at_fn_log_failure
5154 $as_echo "$at_srcdir/t_atf_run.at:102: grep '^tc-end: tc_3, passed' stdout"
5155 at_fn_check_prepare_trace
"t_atf_run.at:102"
5156 ( $at_check_trace; grep '^tc-end: tc_3, passed' stdout
5157 ) >>"$at_stdout" 2>>"$at_stderr"
5158 at_status
=$? at_failed
=false
5160 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
5161 echo stdout
:; cat "$at_stdout"
5162 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_run.at:102"
5163 $at_failed && at_fn_log_failure
5167 $as_echo "$at_srcdir/t_atf_run.at:103: grep -i 'tc_[1245]' stdout"
5168 at_fn_check_prepare_trace
"t_atf_run.at:103"
5169 ( $at_check_trace; grep -i 'tc_[1245]' stdout
5170 ) >>"$at_stdout" 2>>"$at_stderr"
5171 at_status
=$? at_failed
=false
5173 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
5174 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
5175 at_fn_check_status
1 $at_status "$at_srcdir/t_atf_run.at:103"
5176 $at_failed && at_fn_log_failure
5180 $as_echo "$at_srcdir/t_atf_run.at:104: grep 'tc-so:ignore-me' stdout"
5181 at_fn_check_prepare_trace
"t_atf_run.at:104"
5182 ( $at_check_trace; grep 'tc-so:ignore-me' stdout
5183 ) >>"$at_stdout" 2>>"$at_stderr"
5184 at_status
=$? at_failed
=false
5186 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
5187 echo stdout
:; cat "$at_stdout"
5188 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_run.at:104"
5189 $at_failed && at_fn_log_failure
5193 $as_echo "$at_srcdir/t_atf_run.at:105: grep 'tc-se:ignore-me' stdout"
5194 at_fn_check_prepare_trace
"t_atf_run.at:105"
5195 ( $at_check_trace; grep 'tc-se:ignore-me' stdout
5196 ) >>"$at_stdout" 2>>"$at_stderr"
5197 at_status
=$? at_failed
=false
5199 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
5200 echo stdout
:; cat "$at_stdout"
5201 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_run.at:105"
5202 $at_failed && at_fn_log_failure
5207 $as_echo "$at_srcdir/t_atf_run.at:107: cd top/dir2 && atf-run"
5208 at_fn_check_prepare_trace
"t_atf_run.at:107"
5209 ( $at_check_trace; cd top
/dir2
&& atf-run
5210 ) >>"$at_stdout" 2>>"$at_stderr"
5211 at_status
=$? at_failed
=false
5213 echo stderr
:; tee stderr
<"$at_stderr"
5214 echo stdout
:; tee stdout
<"$at_stdout"
5215 at_fn_check_status
1 $at_status "$at_srcdir/t_atf_run.at:107"
5216 $at_failed && at_fn_log_failure
5220 $as_echo "$at_srcdir/t_atf_run.at:108: grep '^tc-end: tc_4, failed' stdout"
5221 at_fn_check_prepare_trace
"t_atf_run.at:108"
5222 ( $at_check_trace; grep '^tc-end: tc_4, failed' stdout
5223 ) >>"$at_stdout" 2>>"$at_stderr"
5224 at_status
=$? at_failed
=false
5226 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
5227 echo stdout
:; cat "$at_stdout"
5228 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_run.at:108"
5229 $at_failed && at_fn_log_failure
5233 $as_echo "$at_srcdir/t_atf_run.at:109: grep '^tc-end: tc_5, passed' stdout"
5234 at_fn_check_prepare_trace
"t_atf_run.at:109"
5235 ( $at_check_trace; grep '^tc-end: tc_5, passed' stdout
5236 ) >>"$at_stdout" 2>>"$at_stderr"
5237 at_status
=$? at_failed
=false
5239 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
5240 echo stdout
:; cat "$at_stdout"
5241 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_run.at:109"
5242 $at_failed && at_fn_log_failure
5246 $as_echo "$at_srcdir/t_atf_run.at:110: grep -i 'tc_[123]' stdout"
5247 at_fn_check_prepare_trace
"t_atf_run.at:110"
5248 ( $at_check_trace; grep -i 'tc_[123]' stdout
5249 ) >>"$at_stdout" 2>>"$at_stderr"
5250 at_status
=$? at_failed
=false
5252 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
5253 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
5254 at_fn_check_status
1 $at_status "$at_srcdir/t_atf_run.at:110"
5255 $at_failed && at_fn_log_failure
5259 $as_echo "$at_srcdir/t_atf_run.at:111: grep 'tc-so:ignore-me' stdout"
5260 at_fn_check_prepare_trace
"t_atf_run.at:111"
5261 ( $at_check_trace; grep 'tc-so:ignore-me' stdout
5262 ) >>"$at_stdout" 2>>"$at_stderr"
5263 at_status
=$? at_failed
=false
5265 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
5266 echo stdout
:; cat "$at_stdout"
5267 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_run.at:111"
5268 $at_failed && at_fn_log_failure
5272 $as_echo "$at_srcdir/t_atf_run.at:112: grep 'tc-se:ignore-me' stdout"
5273 at_fn_check_prepare_trace
"t_atf_run.at:112"
5274 ( $at_check_trace; grep 'tc-se:ignore-me' stdout
5275 ) >>"$at_stdout" 2>>"$at_stderr"
5276 at_status
=$? at_failed
=false
5278 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
5279 echo stdout
:; cat "$at_stdout"
5280 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_run.at:112"
5281 $at_failed && at_fn_log_failure
5286 $as_echo "$at_srcdir/t_atf_run.at:114: cd top && atf-run"
5287 at_fn_check_prepare_trace
"t_atf_run.at:114"
5288 ( $at_check_trace; cd top
&& atf-run
5289 ) >>"$at_stdout" 2>>"$at_stderr"
5290 at_status
=$? at_failed
=false
5292 echo stderr
:; tee stderr
<"$at_stderr"
5293 echo stdout
:; tee stdout
<"$at_stdout"
5294 at_fn_check_status
1 $at_status "$at_srcdir/t_atf_run.at:114"
5295 $at_failed && at_fn_log_failure
5299 $as_echo "$at_srcdir/t_atf_run.at:115: grep '^tc-end: tc_1, passed' stdout"
5300 at_fn_check_prepare_trace
"t_atf_run.at:115"
5301 ( $at_check_trace; grep '^tc-end: tc_1, passed' stdout
5302 ) >>"$at_stdout" 2>>"$at_stderr"
5303 at_status
=$? at_failed
=false
5305 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
5306 echo stdout
:; cat "$at_stdout"
5307 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_run.at:115"
5308 $at_failed && at_fn_log_failure
5312 $as_echo "$at_srcdir/t_atf_run.at:116: grep '^tc-end: tc_2, failed' stdout"
5313 at_fn_check_prepare_trace
"t_atf_run.at:116"
5314 ( $at_check_trace; grep '^tc-end: tc_2, failed' stdout
5315 ) >>"$at_stdout" 2>>"$at_stderr"
5316 at_status
=$? at_failed
=false
5318 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
5319 echo stdout
:; cat "$at_stdout"
5320 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_run.at:116"
5321 $at_failed && at_fn_log_failure
5325 $as_echo "$at_srcdir/t_atf_run.at:117: grep '^tc-end: tc_3, passed' stdout"
5326 at_fn_check_prepare_trace
"t_atf_run.at:117"
5327 ( $at_check_trace; grep '^tc-end: tc_3, passed' stdout
5328 ) >>"$at_stdout" 2>>"$at_stderr"
5329 at_status
=$? at_failed
=false
5331 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
5332 echo stdout
:; cat "$at_stdout"
5333 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_run.at:117"
5334 $at_failed && at_fn_log_failure
5338 $as_echo "$at_srcdir/t_atf_run.at:118: grep '^tc-end: tc_4, failed' stdout"
5339 at_fn_check_prepare_trace
"t_atf_run.at:118"
5340 ( $at_check_trace; grep '^tc-end: tc_4, failed' stdout
5341 ) >>"$at_stdout" 2>>"$at_stderr"
5342 at_status
=$? at_failed
=false
5344 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
5345 echo stdout
:; cat "$at_stdout"
5346 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_run.at:118"
5347 $at_failed && at_fn_log_failure
5351 $as_echo "$at_srcdir/t_atf_run.at:119: grep '^tc-end: tc_5, passed' stdout"
5352 at_fn_check_prepare_trace
"t_atf_run.at:119"
5353 ( $at_check_trace; grep '^tc-end: tc_5, passed' stdout
5354 ) >>"$at_stdout" 2>>"$at_stderr"
5355 at_status
=$? at_failed
=false
5357 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
5358 echo stdout
:; cat "$at_stdout"
5359 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_run.at:119"
5360 $at_failed && at_fn_log_failure
5364 $as_echo "$at_srcdir/t_atf_run.at:120: grep 'tc-so:ignore-me' stdout"
5365 at_fn_check_prepare_trace
"t_atf_run.at:120"
5366 ( $at_check_trace; grep 'tc-so:ignore-me' stdout
5367 ) >>"$at_stdout" 2>>"$at_stderr"
5368 at_status
=$? at_failed
=false
5370 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
5371 echo stdout
:; cat "$at_stdout"
5372 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_run.at:120"
5373 $at_failed && at_fn_log_failure
5377 $as_echo "$at_srcdir/t_atf_run.at:121: grep 'tc-se:ignore-me' stdout"
5378 at_fn_check_prepare_trace
"t_atf_run.at:121"
5379 ( $at_check_trace; grep 'tc-se:ignore-me' stdout
5380 ) >>"$at_stdout" 2>>"$at_stderr"
5381 at_status
=$? at_failed
=false
5383 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
5384 echo stdout
:; cat "$at_stdout"
5385 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_run.at:121"
5386 $at_failed && at_fn_log_failure
5390 cat >top
/Atffile
<<'_ATEOF'
5391 Content-Type: application/X-atf-atffile; version="1"
5393 prop: test-suite = atf
5399 $as_echo "$at_srcdir/t_atf_run.at:131: cd top && atf-run"
5400 at_fn_check_prepare_trace
"t_atf_run.at:131"
5401 ( $at_check_trace; cd top
&& atf-run
5402 ) >>"$at_stdout" 2>>"$at_stderr"
5403 at_status
=$? at_failed
=false
5405 echo stderr
:; tee stderr
<"$at_stderr"
5406 echo stdout
:; tee stdout
<"$at_stdout"
5407 at_fn_check_status
1 $at_status "$at_srcdir/t_atf_run.at:131"
5408 $at_failed && at_fn_log_failure
5412 $as_echo "$at_srcdir/t_atf_run.at:132: grep '^tc-end: tc_1, passed' stdout"
5413 at_fn_check_prepare_trace
"t_atf_run.at:132"
5414 ( $at_check_trace; grep '^tc-end: tc_1, passed' stdout
5415 ) >>"$at_stdout" 2>>"$at_stderr"
5416 at_status
=$? at_failed
=false
5418 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
5419 echo stdout
:; cat "$at_stdout"
5420 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_run.at:132"
5421 $at_failed && at_fn_log_failure
5425 $as_echo "$at_srcdir/t_atf_run.at:133: grep '^tc-end: tc_2, failed' stdout"
5426 at_fn_check_prepare_trace
"t_atf_run.at:133"
5427 ( $at_check_trace; grep '^tc-end: tc_2, failed' stdout
5428 ) >>"$at_stdout" 2>>"$at_stderr"
5429 at_status
=$? at_failed
=false
5431 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
5432 echo stdout
:; cat "$at_stdout"
5433 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_run.at:133"
5434 $at_failed && at_fn_log_failure
5438 $as_echo "$at_srcdir/t_atf_run.at:134: grep '^tc-end: tc_3, passed' stdout"
5439 at_fn_check_prepare_trace
"t_atf_run.at:134"
5440 ( $at_check_trace; grep '^tc-end: tc_3, passed' stdout
5441 ) >>"$at_stdout" 2>>"$at_stderr"
5442 at_status
=$? at_failed
=false
5444 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
5445 echo stdout
:; cat "$at_stdout"
5446 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_run.at:134"
5447 $at_failed && at_fn_log_failure
5451 $as_echo "$at_srcdir/t_atf_run.at:135: grep '^tc-end: tc_4, failed' stdout"
5452 at_fn_check_prepare_trace
"t_atf_run.at:135"
5453 ( $at_check_trace; grep '^tc-end: tc_4, failed' stdout
5454 ) >>"$at_stdout" 2>>"$at_stderr"
5455 at_status
=$? at_failed
=false
5457 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
5458 echo stdout
:; cat "$at_stdout"
5459 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_run.at:135"
5460 $at_failed && at_fn_log_failure
5464 $as_echo "$at_srcdir/t_atf_run.at:136: grep '^tc-end: tc_5, passed' stdout"
5465 at_fn_check_prepare_trace
"t_atf_run.at:136"
5466 ( $at_check_trace; grep '^tc-end: tc_5, passed' stdout
5467 ) >>"$at_stdout" 2>>"$at_stderr"
5468 at_status
=$? at_failed
=false
5470 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
5471 echo stdout
:; cat "$at_stdout"
5472 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_run.at:136"
5473 $at_failed && at_fn_log_failure
5477 $as_echo "$at_srcdir/t_atf_run.at:137: grep 'tc-so:ignore-me' stdout"
5478 at_fn_check_prepare_trace
"t_atf_run.at:137"
5479 ( $at_check_trace; grep 'tc-so:ignore-me' stdout
5480 ) >>"$at_stdout" 2>>"$at_stderr"
5481 at_status
=$? at_failed
=false
5483 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
5484 echo stdout
:; cat "$at_stdout"
5485 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_run.at:137"
5486 $at_failed && at_fn_log_failure
5490 $as_echo "$at_srcdir/t_atf_run.at:138: grep 'tc-se:ignore-me' stdout"
5491 at_fn_check_prepare_trace
"t_atf_run.at:138"
5492 ( $at_check_trace; grep 'tc-se:ignore-me' stdout
5493 ) >>"$at_stdout" 2>>"$at_stderr"
5494 at_status
=$? at_failed
=false
5496 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
5497 echo stdout
:; cat "$at_stdout"
5498 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_run.at:138"
5499 $at_failed && at_fn_log_failure
5503 cat >top
/Atffile
<<'_ATEOF'
5504 Content-Type: application/X-atf-atffile; version="1"
5506 prop: test-suite = atf
5512 $as_echo "$at_srcdir/t_atf_run.at:148: cd top && atf-run"
5513 at_fn_check_prepare_trace
"t_atf_run.at:148"
5514 ( $at_check_trace; cd top
&& atf-run
5515 ) >>"$at_stdout" 2>>"$at_stderr"
5516 at_status
=$? at_failed
=false
5518 echo stderr
:; tee stderr
<"$at_stderr"
5519 echo stdout
:; tee stdout
<"$at_stdout"
5520 at_fn_check_status
1 $at_status "$at_srcdir/t_atf_run.at:148"
5521 $at_failed && at_fn_log_failure
5525 $as_echo "$at_srcdir/t_atf_run.at:149: grep '^tc-end: tc_3, passed' stdout"
5526 at_fn_check_prepare_trace
"t_atf_run.at:149"
5527 ( $at_check_trace; grep '^tc-end: tc_3, passed' stdout
5528 ) >>"$at_stdout" 2>>"$at_stderr"
5529 at_status
=$? at_failed
=false
5531 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
5532 echo stdout
:; cat "$at_stdout"
5533 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_run.at:149"
5534 $at_failed && at_fn_log_failure
5538 $as_echo "$at_srcdir/t_atf_run.at:150: grep '^tc-end: tc_4, failed' stdout"
5539 at_fn_check_prepare_trace
"t_atf_run.at:150"
5540 ( $at_check_trace; grep '^tc-end: tc_4, failed' stdout
5541 ) >>"$at_stdout" 2>>"$at_stderr"
5542 at_status
=$? at_failed
=false
5544 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
5545 echo stdout
:; cat "$at_stdout"
5546 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_run.at:150"
5547 $at_failed && at_fn_log_failure
5551 $as_echo "$at_srcdir/t_atf_run.at:151: grep '^tc-end: tc_5, passed' stdout"
5552 at_fn_check_prepare_trace
"t_atf_run.at:151"
5553 ( $at_check_trace; grep '^tc-end: tc_5, passed' stdout
5554 ) >>"$at_stdout" 2>>"$at_stderr"
5555 at_status
=$? at_failed
=false
5557 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
5558 echo stdout
:; cat "$at_stdout"
5559 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_run.at:151"
5560 $at_failed && at_fn_log_failure
5564 $as_echo "$at_srcdir/t_atf_run.at:152: grep 'tc-so:ignore-me' stdout"
5565 at_fn_check_prepare_trace
"t_atf_run.at:152"
5566 ( $at_check_trace; grep 'tc-so:ignore-me' stdout
5567 ) >>"$at_stdout" 2>>"$at_stderr"
5568 at_status
=$? at_failed
=false
5570 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
5571 echo stdout
:; cat "$at_stdout"
5572 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_run.at:152"
5573 $at_failed && at_fn_log_failure
5577 $as_echo "$at_srcdir/t_atf_run.at:153: grep 'tc-se:ignore-me' stdout"
5578 at_fn_check_prepare_trace
"t_atf_run.at:153"
5579 ( $at_check_trace; grep 'tc-se:ignore-me' stdout
5580 ) >>"$at_stdout" 2>>"$at_stderr"
5581 at_status
=$? at_failed
=false
5583 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
5584 echo stdout
:; cat "$at_stdout"
5585 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_run.at:153"
5586 $at_failed && at_fn_log_failure
5591 $as_echo "$at_srcdir/t_atf_run.at:158: rm -rf top"
5592 at_fn_check_prepare_trace
"t_atf_run.at:158"
5593 ( $at_check_trace; rm -rf top
5594 ) >>"$at_stdout" 2>>"$at_stderr"
5595 at_status
=$? at_failed
=false
5597 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
5598 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
5599 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_run.at:158"
5600 $at_failed && at_fn_log_failure
5604 $as_echo "$at_srcdir/t_atf_run.at:159: mkdir top"
5605 at_fn_check_prepare_trace
"t_atf_run.at:159"
5606 ( $at_check_trace; mkdir top
5607 ) >>"$at_stdout" 2>>"$at_stderr"
5608 at_status
=$? at_failed
=false
5610 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
5611 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
5612 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_run.at:159"
5613 $at_failed && at_fn_log_failure
5616 cat >top
/test1
<<EOF
5617 #! $(atf-config -t atf_shell)
5618 echo "Content-Type: application/X-atf-tcs; version=\"1\"" >&9
5620 echo 'tcs-count: 1' >&9
5621 echo 'tc-start: tc_1' >&9
5624 echo 'tc-end: tc_1, passed' >&9
5628 $as_echo "$at_srcdir/t_atf_run.at:160: chmod +x top/test1"
5629 at_fn_check_prepare_trace
"t_atf_run.at:160"
5630 ( $at_check_trace; chmod +x top
/test1
5631 ) >>"$at_stdout" 2>>"$at_stderr"
5632 at_status
=$? at_failed
=false
5634 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
5635 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
5636 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_run.at:160"
5637 $at_failed && at_fn_log_failure
5641 cat >top
/test2
<<EOF
5642 #! $(atf-config -t atf_shell)
5643 echo "Content-Type: application/X-atf-tcs; version=\"1\"" >&9
5645 echo 'tcs-count: 1' >&9
5646 echo 'tc-start: tc_2' >&9
5649 echo 'tc-end: tc_2, passed' >&9
5653 $as_echo "$at_srcdir/t_atf_run.at:161: chmod +x top/test2"
5654 at_fn_check_prepare_trace
"t_atf_run.at:161"
5655 ( $at_check_trace; chmod +x top
/test2
5656 ) >>"$at_stdout" 2>>"$at_stderr"
5657 at_status
=$? at_failed
=false
5659 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
5660 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
5661 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_run.at:161"
5662 $at_failed && at_fn_log_failure
5666 cat >top
/test3
<<EOF
5667 #! $(atf-config -t atf_shell)
5668 echo "Content-Type: application/X-atf-tcs; version=\"1\"" >&9
5670 echo 'tcs-count: 1' >&9
5671 echo 'tc-start: tc_3' >&9
5674 echo 'tc-end: tc_3, passed' >&9
5678 $as_echo "$at_srcdir/t_atf_run.at:162: chmod +x top/test3"
5679 at_fn_check_prepare_trace
"t_atf_run.at:162"
5680 ( $at_check_trace; chmod +x top
/test3
5681 ) >>"$at_stdout" 2>>"$at_stderr"
5682 at_status
=$? at_failed
=false
5684 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
5685 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
5686 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_run.at:162"
5687 $at_failed && at_fn_log_failure
5692 $as_echo "$at_srcdir/t_atf_run.at:163: chmod -x top/test3"
5693 at_fn_check_prepare_trace
"t_atf_run.at:163"
5694 ( $at_check_trace; chmod -x top
/test3
5695 ) >>"$at_stdout" 2>>"$at_stderr"
5696 at_status
=$? at_failed
=false
5698 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
5699 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
5700 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_run.at:163"
5701 $at_failed && at_fn_log_failure
5704 cat >top
/.test4
<<EOF
5705 #! $(atf-config -t atf_shell)
5706 echo "Content-Type: application/X-atf-tcs; version=\"1\"" >&9
5708 echo 'tcs-count: 1' >&9
5709 echo 'tc-start: tc_4' >&9
5712 echo 'tc-end: tc_4, passed' >&9
5716 $as_echo "$at_srcdir/t_atf_run.at:164: chmod +x top/.test4"
5717 at_fn_check_prepare_trace
"t_atf_run.at:164"
5718 ( $at_check_trace; chmod +x top
/.test4
5719 ) >>"$at_stdout" 2>>"$at_stderr"
5720 at_status
=$? at_failed
=false
5722 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
5723 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
5724 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_run.at:164"
5725 $at_failed && at_fn_log_failure
5730 $as_echo "$at_srcdir/t_atf_run.at:165: chmod -x top/.test4"
5731 at_fn_check_prepare_trace
"t_atf_run.at:165"
5732 ( $at_check_trace; chmod -x top
/.test4
5733 ) >>"$at_stdout" 2>>"$at_stderr"
5734 at_status
=$? at_failed
=false
5736 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
5737 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
5738 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_run.at:165"
5739 $at_failed && at_fn_log_failure
5742 cat >top
/Atffile
<<'_ATEOF'
5743 Content-Type: application/X-atf-atffile; version="1"
5745 prop: test-suite = atf
5751 $as_echo "$at_srcdir/t_atf_run.at:173: cd top && atf-run"
5752 at_fn_check_prepare_trace
"t_atf_run.at:173"
5753 ( $at_check_trace; cd top
&& atf-run
5754 ) >>"$at_stdout" 2>>"$at_stderr"
5755 at_status
=$? at_failed
=false
5757 echo stderr
:; tee stderr
<"$at_stderr"
5758 echo stdout
:; tee stdout
<"$at_stdout"
5759 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_run.at:173"
5760 $at_failed && at_fn_log_failure
5764 $as_echo "$at_srcdir/t_atf_run.at:174: grep '^tc-end: tc_1, passed' stdout"
5765 at_fn_check_prepare_trace
"t_atf_run.at:174"
5766 ( $at_check_trace; grep '^tc-end: tc_1, passed' stdout
5767 ) >>"$at_stdout" 2>>"$at_stderr"
5768 at_status
=$? at_failed
=false
5770 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
5771 echo stdout
:; cat "$at_stdout"
5772 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_run.at:174"
5773 $at_failed && at_fn_log_failure
5777 $as_echo "$at_srcdir/t_atf_run.at:175: grep '^tc-end: tc_2, passed' stdout"
5778 at_fn_check_prepare_trace
"t_atf_run.at:175"
5779 ( $at_check_trace; grep '^tc-end: tc_2, passed' stdout
5780 ) >>"$at_stdout" 2>>"$at_stderr"
5781 at_status
=$? at_failed
=false
5783 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
5784 echo stdout
:; cat "$at_stdout"
5785 at_fn_check_status
0 $at_status "$at_srcdir/t_atf_run.at:175"
5786 $at_failed && at_fn_log_failure
5790 $as_echo "$at_srcdir/t_atf_run.at:176: grep -i 'tc_3' stdout"
5791 at_fn_check_prepare_trace
"t_atf_run.at:176"
5792 ( $at_check_trace; grep -i 'tc_3' stdout
5793 ) >>"$at_stdout" 2>>"$at_stderr"
5794 at_status
=$? at_failed
=false
5796 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
5797 echo stdout
:; cat "$at_stdout"
5798 at_fn_check_status
1 $at_status "$at_srcdir/t_atf_run.at:176"
5799 $at_failed && at_fn_log_failure
5803 $as_echo "$at_srcdir/t_atf_run.at:177: grep -i 'tc_4' stdout"
5804 at_fn_check_prepare_trace
"t_atf_run.at:177"
5805 ( $at_check_trace; grep -i 'tc_4' stdout
5806 ) >>"$at_stdout" 2>>"$at_stderr"
5807 at_status
=$? at_failed
=false
5809 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
5810 echo stdout
:; cat "$at_stdout"
5811 at_fn_check_status
1 $at_status "$at_srcdir/t_atf_run.at:177"
5812 $at_failed && at_fn_log_failure
5817 $at_times_p && times >"$at_times_file"
5818 ) 5>&1 2>&1 |
eval $at_tee_pipe
5819 read at_status
<"$at_status_file"
5822 # 9. t_test_program_compare.at:30: test_program: compare the user-visible interfaces
5823 at_setup_line
='t_test_program_compare.at:30'
5824 at_desc
="test_program: compare the user-visible interfaces"
5825 at_desc_line
=" 9: $at_desc"
5826 $at_quiet $as_echo_n "$at_desc_line"
5828 echo "# -*- compilation -*-" >> "$at_group_log"
5830 $as_echo "9. t_test_program_compare.at:30: testing ..."
5835 $as_echo "$at_srcdir/t_test_program_compare.at:33: \$({
5837 while test \$(pwd) != '/' -a ! -e ./Makefile; do
5843 })/tests/bootstrap/h_tp_basic_c -h"
5844 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_test_program_compare.at:33"
5845 ( $at_check_trace; $
({
5847 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
5853 })/tests
/bootstrap
/h_tp_basic_c
-h
5854 ) >>"$at_stdout" 2>>"$at_stderr"
5855 at_status
=$? at_failed
=false
5857 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
5858 echo stdout
:; tee stdout
<"$at_stdout"
5859 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_compare.at:33"
5860 $at_failed && at_fn_log_failure
5863 sed 's,tp_basic_c,tp_basic_cpp,g' <stdout
>expout
5865 $as_echo "$at_srcdir/t_test_program_compare.at:35: \$({
5867 while test \$(pwd) != '/' -a ! -e ./Makefile; do
5873 })/tests/bootstrap/h_tp_basic_cpp -h"
5874 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_test_program_compare.at:35"
5875 ( $at_check_trace; $
({
5877 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
5883 })/tests
/bootstrap
/h_tp_basic_cpp
-h
5884 ) >>"$at_stdout" 2>>"$at_stderr"
5885 at_status
=$? at_failed
=false
5887 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
5888 $at_diff expout
"$at_stdout" || at_failed
=:
5889 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_compare.at:35"
5890 $at_failed && at_fn_log_failure
5893 sed 's,tp_basic_c,tp_basic_sh,g' <stdout
>expout
5895 $as_echo "$at_srcdir/t_test_program_compare.at:37: \$({
5897 while test \$(pwd) != '/' -a ! -e ./Makefile; do
5903 })/tests/bootstrap/h_tp_basic_sh -h"
5904 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_test_program_compare.at:37"
5905 ( $at_check_trace; $
({
5907 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
5913 })/tests
/bootstrap
/h_tp_basic_sh
-h
5914 ) >>"$at_stdout" 2>>"$at_stderr"
5915 at_status
=$? at_failed
=false
5917 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
5918 $at_diff expout
"$at_stdout" || at_failed
=:
5919 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_compare.at:37"
5920 $at_failed && at_fn_log_failure
5925 $as_echo "$at_srcdir/t_test_program_compare.at:40: COLUMNS=20 \$({
5927 while test \$(pwd) != '/' -a ! -e ./Makefile; do
5933 })/tests/bootstrap/h_tp_basic_c -h"
5934 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_test_program_compare.at:40"
5935 ( $at_check_trace; COLUMNS
=20 $
({
5937 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
5943 })/tests
/bootstrap
/h_tp_basic_c
-h
5944 ) >>"$at_stdout" 2>>"$at_stderr"
5945 at_status
=$? at_failed
=false
5947 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
5948 echo stdout
:; tee stdout
<"$at_stdout"
5949 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_compare.at:40"
5950 $at_failed && at_fn_log_failure
5953 sed 's,tp_basic_c,tp_basic_cpp,g' <stdout
>expout
5955 $as_echo "$at_srcdir/t_test_program_compare.at:42: COLUMNS=20 \$({
5957 while test \$(pwd) != '/' -a ! -e ./Makefile; do
5963 })/tests/bootstrap/h_tp_basic_cpp -h"
5964 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_test_program_compare.at:42"
5965 ( $at_check_trace; COLUMNS
=20 $
({
5967 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
5973 })/tests
/bootstrap
/h_tp_basic_cpp
-h
5974 ) >>"$at_stdout" 2>>"$at_stderr"
5975 at_status
=$? at_failed
=false
5977 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
5978 $at_diff expout
"$at_stdout" || at_failed
=:
5979 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_compare.at:42"
5980 $at_failed && at_fn_log_failure
5983 sed 's,tp_basic_c,tp_basic_sh,g' <stdout
>expout
5985 $as_echo "$at_srcdir/t_test_program_compare.at:44: COLUMNS=20 \$({
5987 while test \$(pwd) != '/' -a ! -e ./Makefile; do
5993 })/tests/bootstrap/h_tp_basic_sh -h"
5994 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_test_program_compare.at:44"
5995 ( $at_check_trace; COLUMNS
=20 $
({
5997 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
6003 })/tests
/bootstrap
/h_tp_basic_sh
-h
6004 ) >>"$at_stdout" 2>>"$at_stderr"
6005 at_status
=$? at_failed
=false
6007 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
6008 $at_diff expout
"$at_stdout" || at_failed
=:
6009 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_compare.at:44"
6010 $at_failed && at_fn_log_failure
6015 $as_echo "$at_srcdir/t_test_program_compare.at:47: \$({
6017 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6023 })/tests/bootstrap/h_tp_basic_c \\
6026 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6032 })/tests/bootstrap -h"
6033 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_test_program_compare.at:47"
6034 ( $at_check_trace; $
({
6036 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
6042 })/tests
/bootstrap
/h_tp_basic_c \
6045 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
6051 })/tests
/bootstrap
-h
6052 ) >>"$at_stdout" 2>>"$at_stderr"
6053 at_status
=$? at_failed
=false
6055 echo stderr
:; tee stderr
<"$at_stderr"
6056 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
6057 at_fn_check_status
1 $at_status "$at_srcdir/t_test_program_compare.at:47"
6058 $at_failed && at_fn_log_failure
6061 sed 's,tp_basic_c,tp_basic_cpp,g' <stderr
>experr
6063 $as_echo "$at_srcdir/t_test_program_compare.at:49: \$({
6065 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6071 })/tests/bootstrap/h_tp_basic_cpp \\
6074 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6080 })/tests/bootstrap -h"
6081 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_test_program_compare.at:49"
6082 ( $at_check_trace; $
({
6084 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
6090 })/tests
/bootstrap
/h_tp_basic_cpp \
6093 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
6099 })/tests
/bootstrap
-h
6100 ) >>"$at_stdout" 2>>"$at_stderr"
6101 at_status
=$? at_failed
=false
6103 $at_diff experr
"$at_stderr" || at_failed
=:
6104 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
6105 at_fn_check_status
1 $at_status "$at_srcdir/t_test_program_compare.at:49"
6106 $at_failed && at_fn_log_failure
6109 sed 's,tp_basic_c,tp_basic_sh,g' <stderr
>experr
6111 $as_echo "$at_srcdir/t_test_program_compare.at:51: \$({
6113 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6119 })/tests/bootstrap/h_tp_basic_sh \\
6122 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6128 })/tests/bootstrap -h"
6129 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_test_program_compare.at:51"
6130 ( $at_check_trace; $
({
6132 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
6138 })/tests
/bootstrap
/h_tp_basic_sh \
6141 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
6147 })/tests
/bootstrap
-h
6148 ) >>"$at_stdout" 2>>"$at_stderr"
6149 at_status
=$? at_failed
=false
6151 $at_diff experr
"$at_stderr" || at_failed
=:
6152 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
6153 at_fn_check_status
1 $at_status "$at_srcdir/t_test_program_compare.at:51"
6154 $at_failed && at_fn_log_failure
6159 $as_echo "$at_srcdir/t_test_program_compare.at:54: \$({
6161 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6167 })/tests/bootstrap/h_tp_basic_c \\
6170 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6176 })/tests/bootstrap -Z"
6177 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_test_program_compare.at:54"
6178 ( $at_check_trace; $
({
6180 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
6186 })/tests
/bootstrap
/h_tp_basic_c \
6189 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
6195 })/tests
/bootstrap
-Z
6196 ) >>"$at_stdout" 2>>"$at_stderr"
6197 at_status
=$? at_failed
=false
6199 echo stderr
:; tee stderr
<"$at_stderr"
6200 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
6201 at_fn_check_status
1 $at_status "$at_srcdir/t_test_program_compare.at:54"
6202 $at_failed && at_fn_log_failure
6205 sed 's,tp_basic_c,tp_basic_cpp,g' <stderr
>experr
6207 $as_echo "$at_srcdir/t_test_program_compare.at:56: \$({
6209 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6215 })/tests/bootstrap/h_tp_basic_cpp \\
6218 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6224 })/tests/bootstrap -Z"
6225 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_test_program_compare.at:56"
6226 ( $at_check_trace; $
({
6228 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
6234 })/tests
/bootstrap
/h_tp_basic_cpp \
6237 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
6243 })/tests
/bootstrap
-Z
6244 ) >>"$at_stdout" 2>>"$at_stderr"
6245 at_status
=$? at_failed
=false
6247 $at_diff experr
"$at_stderr" || at_failed
=:
6248 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
6249 at_fn_check_status
1 $at_status "$at_srcdir/t_test_program_compare.at:56"
6250 $at_failed && at_fn_log_failure
6253 sed 's,tp_basic_c,tp_basic_sh,g' <stderr
>experr
6255 $as_echo "$at_srcdir/t_test_program_compare.at:58: \$({
6257 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6263 })/tests/bootstrap/h_tp_basic_sh \\
6266 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6272 })/tests/bootstrap -Z"
6273 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_test_program_compare.at:58"
6274 ( $at_check_trace; $
({
6276 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
6282 })/tests
/bootstrap
/h_tp_basic_sh \
6285 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
6291 })/tests
/bootstrap
-Z
6292 ) >>"$at_stdout" 2>>"$at_stderr"
6293 at_status
=$? at_failed
=false
6295 $at_diff experr
"$at_stderr" || at_failed
=:
6296 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
6297 at_fn_check_status
1 $at_status "$at_srcdir/t_test_program_compare.at:58"
6298 $at_failed && at_fn_log_failure
6303 $as_echo "$at_srcdir/t_test_program_compare.at:61: \$({
6305 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6311 })/tests/bootstrap/h_tp_basic_c \\
6314 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6320 })/tests/bootstrap -Z -h"
6321 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_test_program_compare.at:61"
6322 ( $at_check_trace; $
({
6324 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
6330 })/tests
/bootstrap
/h_tp_basic_c \
6333 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
6339 })/tests
/bootstrap
-Z -h
6340 ) >>"$at_stdout" 2>>"$at_stderr"
6341 at_status
=$? at_failed
=false
6343 echo stderr
:; tee stderr
<"$at_stderr"
6344 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
6345 at_fn_check_status
1 $at_status "$at_srcdir/t_test_program_compare.at:61"
6346 $at_failed && at_fn_log_failure
6349 sed 's,tp_basic_c,tp_basic_cpp,g' <stderr
>experr
6351 $as_echo "$at_srcdir/t_test_program_compare.at:63: \$({
6353 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6359 })/tests/bootstrap/h_tp_basic_cpp \\
6362 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6368 })/tests/bootstrap -Z -h"
6369 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_test_program_compare.at:63"
6370 ( $at_check_trace; $
({
6372 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
6378 })/tests
/bootstrap
/h_tp_basic_cpp \
6381 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
6387 })/tests
/bootstrap
-Z -h
6388 ) >>"$at_stdout" 2>>"$at_stderr"
6389 at_status
=$? at_failed
=false
6391 $at_diff experr
"$at_stderr" || at_failed
=:
6392 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
6393 at_fn_check_status
1 $at_status "$at_srcdir/t_test_program_compare.at:63"
6394 $at_failed && at_fn_log_failure
6397 sed 's,tp_basic_c,tp_basic_sh,g' <stderr
>experr
6399 $as_echo "$at_srcdir/t_test_program_compare.at:65: \$({
6401 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6407 })/tests/bootstrap/h_tp_basic_sh \\
6410 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6416 })/tests/bootstrap -Z -h"
6417 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_test_program_compare.at:65"
6418 ( $at_check_trace; $
({
6420 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
6426 })/tests
/bootstrap
/h_tp_basic_sh \
6429 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
6435 })/tests
/bootstrap
-Z -h
6436 ) >>"$at_stdout" 2>>"$at_stderr"
6437 at_status
=$? at_failed
=false
6439 $at_diff experr
"$at_stderr" || at_failed
=:
6440 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
6441 at_fn_check_status
1 $at_status "$at_srcdir/t_test_program_compare.at:65"
6442 $at_failed && at_fn_log_failure
6447 $as_echo "$at_srcdir/t_test_program_compare.at:68: \$({
6449 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6455 })/tests/bootstrap/h_tp_basic_c \\
6458 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6464 })/tests/bootstrap -l"
6465 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_test_program_compare.at:68"
6466 ( $at_check_trace; $
({
6468 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
6474 })/tests
/bootstrap
/h_tp_basic_c \
6477 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
6483 })/tests
/bootstrap
-l
6484 ) >>"$at_stdout" 2>>"$at_stderr"
6485 at_status
=$? at_failed
=false
6487 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
6488 echo stdout
:; tee stdout
<"$at_stdout"
6489 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_compare.at:68"
6490 $at_failed && at_fn_log_failure
6493 sed 's,tp_basic_c,tp_basic_cpp,g' <stdout
>expout
6495 $as_echo "$at_srcdir/t_test_program_compare.at:70: \$({
6497 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6503 })/tests/bootstrap/h_tp_basic_cpp \\
6506 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6512 })/tests/bootstrap -l"
6513 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_test_program_compare.at:70"
6514 ( $at_check_trace; $
({
6516 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
6522 })/tests
/bootstrap
/h_tp_basic_cpp \
6525 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
6531 })/tests
/bootstrap
-l
6532 ) >>"$at_stdout" 2>>"$at_stderr"
6533 at_status
=$? at_failed
=false
6535 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
6536 $at_diff expout
"$at_stdout" || at_failed
=:
6537 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_compare.at:70"
6538 $at_failed && at_fn_log_failure
6541 sed 's,tp_basic_c,tp_basic_sh,g' <stdout
>expout
6543 $as_echo "$at_srcdir/t_test_program_compare.at:72: \$({
6545 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6551 })/tests/bootstrap/h_tp_basic_sh \\
6554 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6560 })/tests/bootstrap -l"
6561 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_test_program_compare.at:72"
6562 ( $at_check_trace; $
({
6564 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
6570 })/tests
/bootstrap
/h_tp_basic_sh \
6573 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
6579 })/tests
/bootstrap
-l
6580 ) >>"$at_stdout" 2>>"$at_stderr"
6581 at_status
=$? at_failed
=false
6583 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
6584 $at_diff expout
"$at_stdout" || at_failed
=:
6585 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_compare.at:72"
6586 $at_failed && at_fn_log_failure
6591 $as_echo "$at_srcdir/t_test_program_compare.at:75: \$({
6593 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6599 })/tests/bootstrap/h_tp_basic_c \\
6602 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6608 })/tests/bootstrap -r3 3>resout"
6609 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_test_program_compare.at:75"
6610 ( $at_check_trace; $
({
6612 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
6618 })/tests
/bootstrap
/h_tp_basic_c \
6621 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
6627 })/tests
/bootstrap
-r3 3>resout
6628 ) >>"$at_stdout" 2>>"$at_stderr"
6629 at_status
=$? at_failed
=false
6631 echo stderr
:; tee stderr
<"$at_stderr"
6632 echo stdout
:; tee stdout
<"$at_stdout"
6633 at_fn_check_status
1 $at_status "$at_srcdir/t_test_program_compare.at:75"
6634 $at_failed && at_fn_log_failure
6637 sed 's,tp_basic_c,tp_basic_cpp,g' <stdout
>expout
6638 sed 's,tp_basic_c,tp_basic_cpp,g' <stderr
>experr
6639 sed 's,tp_basic_c,tp_basic_cpp,g' <resout
>resexp
6641 $as_echo "$at_srcdir/t_test_program_compare.at:80: \$({
6643 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6649 })/tests/bootstrap/h_tp_basic_cpp \\
6652 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6658 })/tests/bootstrap -r3 3>resout"
6659 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_test_program_compare.at:80"
6660 ( $at_check_trace; $
({
6662 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
6668 })/tests
/bootstrap
/h_tp_basic_cpp \
6671 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
6677 })/tests
/bootstrap
-r3 3>resout
6678 ) >>"$at_stdout" 2>>"$at_stderr"
6679 at_status
=$? at_failed
=false
6681 $at_diff experr
"$at_stderr" || at_failed
=:
6682 $at_diff expout
"$at_stdout" || at_failed
=:
6683 at_fn_check_status
1 $at_status "$at_srcdir/t_test_program_compare.at:80"
6684 $at_failed && at_fn_log_failure
6688 $as_echo "$at_srcdir/t_test_program_compare.at:82: cmp -s resout resexp"
6689 at_fn_check_prepare_trace
"t_test_program_compare.at:82"
6690 ( $at_check_trace; cmp -s resout resexp
6691 ) >>"$at_stdout" 2>>"$at_stderr"
6692 at_status
=$? at_failed
=false
6694 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
6695 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
6696 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_compare.at:82"
6697 $at_failed && at_fn_log_failure
6700 sed 's,tp_basic_c,tp_basic_sh,g' <stdout
>expout
6701 sed 's,tp_basic_c,tp_basic_sh,g' <stderr
>experr
6702 sed 's,tp_basic_c,tp_basic_sh,g' <resout
>resexp
6704 $as_echo "$at_srcdir/t_test_program_compare.at:86: \$({
6706 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6712 })/tests/bootstrap/h_tp_basic_sh \\
6715 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6721 })/tests/bootstrap -r3 3>resout"
6722 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_test_program_compare.at:86"
6723 ( $at_check_trace; $
({
6725 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
6731 })/tests
/bootstrap
/h_tp_basic_sh \
6734 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
6740 })/tests
/bootstrap
-r3 3>resout
6741 ) >>"$at_stdout" 2>>"$at_stderr"
6742 at_status
=$? at_failed
=false
6744 $at_diff experr
"$at_stderr" || at_failed
=:
6745 $at_diff expout
"$at_stdout" || at_failed
=:
6746 at_fn_check_status
1 $at_status "$at_srcdir/t_test_program_compare.at:86"
6747 $at_failed && at_fn_log_failure
6751 $as_echo "$at_srcdir/t_test_program_compare.at:88: cmp -s resout resexp"
6752 at_fn_check_prepare_trace
"t_test_program_compare.at:88"
6753 ( $at_check_trace; cmp -s resout resexp
6754 ) >>"$at_stdout" 2>>"$at_stderr"
6755 at_status
=$? at_failed
=false
6757 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
6758 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
6759 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_compare.at:88"
6760 $at_failed && at_fn_log_failure
6765 $as_echo "$at_srcdir/t_test_program_compare.at:91: \$({
6767 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6773 })/tests/bootstrap/h_tp_basic_c \\
6776 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6782 })/tests/bootstrap -r3 3>resout pass"
6783 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_test_program_compare.at:91"
6784 ( $at_check_trace; $
({
6786 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
6792 })/tests
/bootstrap
/h_tp_basic_c \
6795 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
6801 })/tests
/bootstrap
-r3 3>resout pass
6802 ) >>"$at_stdout" 2>>"$at_stderr"
6803 at_status
=$? at_failed
=false
6805 echo stderr
:; tee stderr
<"$at_stderr"
6806 echo stdout
:; tee stdout
<"$at_stdout"
6807 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_compare.at:91"
6808 $at_failed && at_fn_log_failure
6811 sed 's,tp_basic_c,tp_basic_cpp,g' <stdout
>expout
6812 sed 's,tp_basic_c,tp_basic_cpp,g' <stderr
>experr
6813 sed 's,tp_basic_c,tp_basic_cpp,g' <resout
>resexp
6815 $as_echo "$at_srcdir/t_test_program_compare.at:96: \$({
6817 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6823 })/tests/bootstrap/h_tp_basic_cpp \\
6826 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6832 })/tests/bootstrap -r3 3>resout pass"
6833 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_test_program_compare.at:96"
6834 ( $at_check_trace; $
({
6836 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
6842 })/tests
/bootstrap
/h_tp_basic_cpp \
6845 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
6851 })/tests
/bootstrap
-r3 3>resout pass
6852 ) >>"$at_stdout" 2>>"$at_stderr"
6853 at_status
=$? at_failed
=false
6855 $at_diff experr
"$at_stderr" || at_failed
=:
6856 $at_diff expout
"$at_stdout" || at_failed
=:
6857 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_compare.at:96"
6858 $at_failed && at_fn_log_failure
6862 $as_echo "$at_srcdir/t_test_program_compare.at:98: cmp -s resout resexp"
6863 at_fn_check_prepare_trace
"t_test_program_compare.at:98"
6864 ( $at_check_trace; cmp -s resout resexp
6865 ) >>"$at_stdout" 2>>"$at_stderr"
6866 at_status
=$? at_failed
=false
6868 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
6869 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
6870 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_compare.at:98"
6871 $at_failed && at_fn_log_failure
6874 sed 's,tp_basic_c,tp_basic_sh,g' <stdout
>expout
6875 sed 's,tp_basic_c,tp_basic_sh,g' <stderr
>experr
6876 sed 's,tp_basic_c,tp_basic_sh,g' <resout
>resexp
6878 $as_echo "$at_srcdir/t_test_program_compare.at:102: \$({
6880 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6886 })/tests/bootstrap/h_tp_basic_sh \\
6889 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6895 })/tests/bootstrap -r3 3>resout pass"
6896 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_test_program_compare.at:102"
6897 ( $at_check_trace; $
({
6899 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
6905 })/tests
/bootstrap
/h_tp_basic_sh \
6908 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
6914 })/tests
/bootstrap
-r3 3>resout pass
6915 ) >>"$at_stdout" 2>>"$at_stderr"
6916 at_status
=$? at_failed
=false
6918 $at_diff experr
"$at_stderr" || at_failed
=:
6919 $at_diff expout
"$at_stdout" || at_failed
=:
6920 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_compare.at:102"
6921 $at_failed && at_fn_log_failure
6925 $as_echo "$at_srcdir/t_test_program_compare.at:104: cmp -s resout resexp"
6926 at_fn_check_prepare_trace
"t_test_program_compare.at:104"
6927 ( $at_check_trace; cmp -s resout resexp
6928 ) >>"$at_stdout" 2>>"$at_stderr"
6929 at_status
=$? at_failed
=false
6931 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
6932 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
6933 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_compare.at:104"
6934 $at_failed && at_fn_log_failure
6939 $as_echo "$at_srcdir/t_test_program_compare.at:107: \$({
6941 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6947 })/tests/bootstrap/h_tp_basic_c \\
6950 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6956 })/tests/bootstrap -r3 3>resout fail"
6957 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_test_program_compare.at:107"
6958 ( $at_check_trace; $
({
6960 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
6966 })/tests
/bootstrap
/h_tp_basic_c \
6969 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
6975 })/tests
/bootstrap
-r3 3>resout fail
6976 ) >>"$at_stdout" 2>>"$at_stderr"
6977 at_status
=$? at_failed
=false
6979 echo stderr
:; tee stderr
<"$at_stderr"
6980 echo stdout
:; tee stdout
<"$at_stdout"
6981 at_fn_check_status
1 $at_status "$at_srcdir/t_test_program_compare.at:107"
6982 $at_failed && at_fn_log_failure
6985 sed 's,tp_basic_c,tp_basic_cpp,g' <stdout
>expout
6986 sed 's,tp_basic_c,tp_basic_cpp,g' <stderr
>experr
6987 sed 's,tp_basic_c,tp_basic_cpp,g' <resout
>resexp
6989 $as_echo "$at_srcdir/t_test_program_compare.at:112: \$({
6991 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6997 })/tests/bootstrap/h_tp_basic_cpp \\
7000 while test \$(pwd) != '/' -a ! -e ./Makefile; do
7006 })/tests/bootstrap -r3 3>resout fail"
7007 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_test_program_compare.at:112"
7008 ( $at_check_trace; $
({
7010 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
7016 })/tests
/bootstrap
/h_tp_basic_cpp \
7019 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
7025 })/tests
/bootstrap
-r3 3>resout fail
7026 ) >>"$at_stdout" 2>>"$at_stderr"
7027 at_status
=$? at_failed
=false
7029 $at_diff experr
"$at_stderr" || at_failed
=:
7030 $at_diff expout
"$at_stdout" || at_failed
=:
7031 at_fn_check_status
1 $at_status "$at_srcdir/t_test_program_compare.at:112"
7032 $at_failed && at_fn_log_failure
7036 $as_echo "$at_srcdir/t_test_program_compare.at:114: cmp -s resout resexp"
7037 at_fn_check_prepare_trace
"t_test_program_compare.at:114"
7038 ( $at_check_trace; cmp -s resout resexp
7039 ) >>"$at_stdout" 2>>"$at_stderr"
7040 at_status
=$? at_failed
=false
7042 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
7043 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
7044 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_compare.at:114"
7045 $at_failed && at_fn_log_failure
7048 sed 's,tp_basic_c,tp_basic_sh,g' <stdout
>expout
7049 sed 's,tp_basic_c,tp_basic_sh,g' <stderr
>experr
7050 sed 's,tp_basic_c,tp_basic_sh,g' <resout
>resexp
7052 $as_echo "$at_srcdir/t_test_program_compare.at:118: \$({
7054 while test \$(pwd) != '/' -a ! -e ./Makefile; do
7060 })/tests/bootstrap/h_tp_basic_sh \\
7063 while test \$(pwd) != '/' -a ! -e ./Makefile; do
7069 })/tests/bootstrap -r3 3>resout fail"
7070 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_test_program_compare.at:118"
7071 ( $at_check_trace; $
({
7073 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
7079 })/tests
/bootstrap
/h_tp_basic_sh \
7082 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
7088 })/tests
/bootstrap
-r3 3>resout fail
7089 ) >>"$at_stdout" 2>>"$at_stderr"
7090 at_status
=$? at_failed
=false
7092 $at_diff experr
"$at_stderr" || at_failed
=:
7093 $at_diff expout
"$at_stdout" || at_failed
=:
7094 at_fn_check_status
1 $at_status "$at_srcdir/t_test_program_compare.at:118"
7095 $at_failed && at_fn_log_failure
7099 $as_echo "$at_srcdir/t_test_program_compare.at:120: cmp -s resout resexp"
7100 at_fn_check_prepare_trace
"t_test_program_compare.at:120"
7101 ( $at_check_trace; cmp -s resout resexp
7102 ) >>"$at_stdout" 2>>"$at_stderr"
7103 at_status
=$? at_failed
=false
7105 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
7106 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
7107 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_compare.at:120"
7108 $at_failed && at_fn_log_failure
7113 $as_echo "$at_srcdir/t_test_program_compare.at:123: \$({
7115 while test \$(pwd) != '/' -a ! -e ./Makefile; do
7121 })/tests/bootstrap/h_tp_basic_c \\
7124 while test \$(pwd) != '/' -a ! -e ./Makefile; do
7130 })/tests/bootstrap -r3 3>resout skip"
7131 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_test_program_compare.at:123"
7132 ( $at_check_trace; $
({
7134 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
7140 })/tests
/bootstrap
/h_tp_basic_c \
7143 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
7149 })/tests
/bootstrap
-r3 3>resout skip
7150 ) >>"$at_stdout" 2>>"$at_stderr"
7151 at_status
=$? at_failed
=false
7153 echo stderr
:; tee stderr
<"$at_stderr"
7154 echo stdout
:; tee stdout
<"$at_stdout"
7155 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_compare.at:123"
7156 $at_failed && at_fn_log_failure
7159 sed 's,tp_basic_c,tp_basic_cpp,g' <stdout
>expout
7160 sed 's,tp_basic_c,tp_basic_cpp,g' <stderr
>experr
7161 sed 's,tp_basic_c,tp_basic_cpp,g' <resout
>resexp
7163 $as_echo "$at_srcdir/t_test_program_compare.at:128: \$({
7165 while test \$(pwd) != '/' -a ! -e ./Makefile; do
7171 })/tests/bootstrap/h_tp_basic_cpp \\
7174 while test \$(pwd) != '/' -a ! -e ./Makefile; do
7180 })/tests/bootstrap -r3 3>resout skip"
7181 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_test_program_compare.at:128"
7182 ( $at_check_trace; $
({
7184 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
7190 })/tests
/bootstrap
/h_tp_basic_cpp \
7193 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
7199 })/tests
/bootstrap
-r3 3>resout skip
7200 ) >>"$at_stdout" 2>>"$at_stderr"
7201 at_status
=$? at_failed
=false
7203 $at_diff experr
"$at_stderr" || at_failed
=:
7204 $at_diff expout
"$at_stdout" || at_failed
=:
7205 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_compare.at:128"
7206 $at_failed && at_fn_log_failure
7210 $as_echo "$at_srcdir/t_test_program_compare.at:130: cmp -s resout resexp"
7211 at_fn_check_prepare_trace
"t_test_program_compare.at:130"
7212 ( $at_check_trace; cmp -s resout resexp
7213 ) >>"$at_stdout" 2>>"$at_stderr"
7214 at_status
=$? at_failed
=false
7216 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
7217 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
7218 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_compare.at:130"
7219 $at_failed && at_fn_log_failure
7222 sed 's,tp_basic_c,tp_basic_sh,g' <stdout
>expout
7223 sed 's,tp_basic_c,tp_basic_sh,g' <stderr
>experr
7224 sed 's,tp_basic_c,tp_basic_sh,g' <resout
>resexp
7226 $as_echo "$at_srcdir/t_test_program_compare.at:134: \$({
7228 while test \$(pwd) != '/' -a ! -e ./Makefile; do
7234 })/tests/bootstrap/h_tp_basic_sh \\
7237 while test \$(pwd) != '/' -a ! -e ./Makefile; do
7243 })/tests/bootstrap -r3 3>resout skip"
7244 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_test_program_compare.at:134"
7245 ( $at_check_trace; $
({
7247 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
7253 })/tests
/bootstrap
/h_tp_basic_sh \
7256 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
7262 })/tests
/bootstrap
-r3 3>resout skip
7263 ) >>"$at_stdout" 2>>"$at_stderr"
7264 at_status
=$? at_failed
=false
7266 $at_diff experr
"$at_stderr" || at_failed
=:
7267 $at_diff expout
"$at_stdout" || at_failed
=:
7268 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_compare.at:134"
7269 $at_failed && at_fn_log_failure
7273 $as_echo "$at_srcdir/t_test_program_compare.at:136: cmp -s resout resexp"
7274 at_fn_check_prepare_trace
"t_test_program_compare.at:136"
7275 ( $at_check_trace; cmp -s resout resexp
7276 ) >>"$at_stdout" 2>>"$at_stderr"
7277 at_status
=$? at_failed
=false
7279 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
7280 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
7281 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_compare.at:136"
7282 $at_failed && at_fn_log_failure
7287 $as_echo "$at_srcdir/t_test_program_compare.at:139: \$({
7289 while test \$(pwd) != '/' -a ! -e ./Makefile; do
7295 })/tests/bootstrap/h_tp_basic_c \\
7298 while test \$(pwd) != '/' -a ! -e ./Makefile; do
7304 })/tests/bootstrap -r3 3>resout default"
7305 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_test_program_compare.at:139"
7306 ( $at_check_trace; $
({
7308 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
7314 })/tests
/bootstrap
/h_tp_basic_c \
7317 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
7323 })/tests
/bootstrap
-r3 3>resout default
7324 ) >>"$at_stdout" 2>>"$at_stderr"
7325 at_status
=$? at_failed
=false
7327 echo stderr
:; tee stderr
<"$at_stderr"
7328 echo stdout
:; tee stdout
<"$at_stdout"
7329 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_compare.at:139"
7330 $at_failed && at_fn_log_failure
7333 sed 's,tp_basic_c,tp_basic_cpp,g' <stdout
>expout
7334 sed 's,tp_basic_c,tp_basic_cpp,g' <stderr
>experr
7335 sed 's,tp_basic_c,tp_basic_cpp,g' <resout
>resexp
7337 $as_echo "$at_srcdir/t_test_program_compare.at:144: \$({
7339 while test \$(pwd) != '/' -a ! -e ./Makefile; do
7345 })/tests/bootstrap/h_tp_basic_cpp \\
7348 while test \$(pwd) != '/' -a ! -e ./Makefile; do
7354 })/tests/bootstrap -r3 3>resout default"
7355 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_test_program_compare.at:144"
7356 ( $at_check_trace; $
({
7358 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
7364 })/tests
/bootstrap
/h_tp_basic_cpp \
7367 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
7373 })/tests
/bootstrap
-r3 3>resout default
7374 ) >>"$at_stdout" 2>>"$at_stderr"
7375 at_status
=$? at_failed
=false
7377 $at_diff experr
"$at_stderr" || at_failed
=:
7378 $at_diff expout
"$at_stdout" || at_failed
=:
7379 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_compare.at:144"
7380 $at_failed && at_fn_log_failure
7384 $as_echo "$at_srcdir/t_test_program_compare.at:146: cmp -s resout resexp"
7385 at_fn_check_prepare_trace
"t_test_program_compare.at:146"
7386 ( $at_check_trace; cmp -s resout resexp
7387 ) >>"$at_stdout" 2>>"$at_stderr"
7388 at_status
=$? at_failed
=false
7390 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
7391 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
7392 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_compare.at:146"
7393 $at_failed && at_fn_log_failure
7396 sed 's,tp_basic_c,tp_basic_sh,g' <stdout
>expout
7397 sed 's,tp_basic_c,tp_basic_sh,g' <stderr
>experr
7398 sed 's,tp_basic_c,tp_basic_sh,g' <resout
>resexp
7400 $as_echo "$at_srcdir/t_test_program_compare.at:150: \$({
7402 while test \$(pwd) != '/' -a ! -e ./Makefile; do
7408 })/tests/bootstrap/h_tp_basic_sh \\
7411 while test \$(pwd) != '/' -a ! -e ./Makefile; do
7417 })/tests/bootstrap -r3 3>resout default"
7418 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_test_program_compare.at:150"
7419 ( $at_check_trace; $
({
7421 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
7427 })/tests
/bootstrap
/h_tp_basic_sh \
7430 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
7436 })/tests
/bootstrap
-r3 3>resout default
7437 ) >>"$at_stdout" 2>>"$at_stderr"
7438 at_status
=$? at_failed
=false
7440 $at_diff experr
"$at_stderr" || at_failed
=:
7441 $at_diff expout
"$at_stdout" || at_failed
=:
7442 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_compare.at:150"
7443 $at_failed && at_fn_log_failure
7447 $as_echo "$at_srcdir/t_test_program_compare.at:152: cmp -s resout resexp"
7448 at_fn_check_prepare_trace
"t_test_program_compare.at:152"
7449 ( $at_check_trace; cmp -s resout resexp
7450 ) >>"$at_stdout" 2>>"$at_stderr"
7451 at_status
=$? at_failed
=false
7453 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
7454 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
7455 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_compare.at:152"
7456 $at_failed && at_fn_log_failure
7461 $as_echo "$at_srcdir/t_test_program_compare.at:155: \$({
7463 while test \$(pwd) != '/' -a ! -e ./Makefile; do
7469 })/tests/bootstrap/h_tp_basic_c \\
7472 while test \$(pwd) != '/' -a ! -e ./Makefile; do
7478 })/tests/bootstrap -r3 3>resout \"*f*\""
7479 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_test_program_compare.at:155"
7480 ( $at_check_trace; $
({
7482 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
7488 })/tests
/bootstrap
/h_tp_basic_c \
7491 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
7497 })/tests
/bootstrap
-r3 3>resout
"*f*"
7498 ) >>"$at_stdout" 2>>"$at_stderr"
7499 at_status
=$? at_failed
=false
7501 echo stderr
:; tee stderr
<"$at_stderr"
7502 echo stdout
:; tee stdout
<"$at_stdout"
7503 at_fn_check_status
1 $at_status "$at_srcdir/t_test_program_compare.at:155"
7504 $at_failed && at_fn_log_failure
7507 sed 's,tp_basic_c,tp_basic_cpp,g' <stdout
>expout
7508 sed 's,tp_basic_c,tp_basic_cpp,g' <stderr
>experr
7509 sed 's,tp_basic_c,tp_basic_cpp,g' <resout
>resexp
7511 $as_echo "$at_srcdir/t_test_program_compare.at:160: \$({
7513 while test \$(pwd) != '/' -a ! -e ./Makefile; do
7519 })/tests/bootstrap/h_tp_basic_cpp \\
7522 while test \$(pwd) != '/' -a ! -e ./Makefile; do
7528 })/tests/bootstrap -r3 3>resout \"*f*\""
7529 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_test_program_compare.at:160"
7530 ( $at_check_trace; $
({
7532 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
7538 })/tests
/bootstrap
/h_tp_basic_cpp \
7541 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
7547 })/tests
/bootstrap
-r3 3>resout
"*f*"
7548 ) >>"$at_stdout" 2>>"$at_stderr"
7549 at_status
=$? at_failed
=false
7551 $at_diff experr
"$at_stderr" || at_failed
=:
7552 $at_diff expout
"$at_stdout" || at_failed
=:
7553 at_fn_check_status
1 $at_status "$at_srcdir/t_test_program_compare.at:160"
7554 $at_failed && at_fn_log_failure
7558 $as_echo "$at_srcdir/t_test_program_compare.at:162: cmp -s resout resexp"
7559 at_fn_check_prepare_trace
"t_test_program_compare.at:162"
7560 ( $at_check_trace; cmp -s resout resexp
7561 ) >>"$at_stdout" 2>>"$at_stderr"
7562 at_status
=$? at_failed
=false
7564 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
7565 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
7566 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_compare.at:162"
7567 $at_failed && at_fn_log_failure
7570 sed 's,tp_basic_c,tp_basic_sh,g' <stdout
>expout
7571 sed 's,tp_basic_c,tp_basic_sh,g' <stderr
>experr
7572 sed 's,tp_basic_c,tp_basic_sh,g' <resout
>resexp
7574 $as_echo "$at_srcdir/t_test_program_compare.at:166: \$({
7576 while test \$(pwd) != '/' -a ! -e ./Makefile; do
7582 })/tests/bootstrap/h_tp_basic_sh \\
7585 while test \$(pwd) != '/' -a ! -e ./Makefile; do
7591 })/tests/bootstrap -r3 3>resout \"*f*\""
7592 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_test_program_compare.at:166"
7593 ( $at_check_trace; $
({
7595 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
7601 })/tests
/bootstrap
/h_tp_basic_sh \
7604 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
7610 })/tests
/bootstrap
-r3 3>resout
"*f*"
7611 ) >>"$at_stdout" 2>>"$at_stderr"
7612 at_status
=$? at_failed
=false
7614 $at_diff experr
"$at_stderr" || at_failed
=:
7615 $at_diff expout
"$at_stdout" || at_failed
=:
7616 at_fn_check_status
1 $at_status "$at_srcdir/t_test_program_compare.at:166"
7617 $at_failed && at_fn_log_failure
7621 $as_echo "$at_srcdir/t_test_program_compare.at:168: cmp -s resout resexp"
7622 at_fn_check_prepare_trace
"t_test_program_compare.at:168"
7623 ( $at_check_trace; cmp -s resout resexp
7624 ) >>"$at_stdout" 2>>"$at_stderr"
7625 at_status
=$? at_failed
=false
7627 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
7628 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
7629 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_compare.at:168"
7630 $at_failed && at_fn_log_failure
7635 $as_echo "$at_srcdir/t_test_program_compare.at:171: \$({
7637 while test \$(pwd) != '/' -a ! -e ./Makefile; do
7643 })/tests/bootstrap/h_tp_basic_c \\
7646 while test \$(pwd) != '/' -a ! -e ./Makefile; do
7652 })/tests/bootstrap -r3 3>resout unknown"
7653 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_test_program_compare.at:171"
7654 ( $at_check_trace; $
({
7656 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
7662 })/tests
/bootstrap
/h_tp_basic_c \
7665 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
7671 })/tests
/bootstrap
-r3 3>resout unknown
7672 ) >>"$at_stdout" 2>>"$at_stderr"
7673 at_status
=$? at_failed
=false
7675 echo stderr
:; tee stderr
<"$at_stderr"
7676 echo stdout
:; tee stdout
<"$at_stdout"
7677 at_fn_check_status
1 $at_status "$at_srcdir/t_test_program_compare.at:171"
7678 $at_failed && at_fn_log_failure
7681 sed 's,tp_basic_c,tp_basic_cpp,g' <stdout
>expout
7682 sed 's,tp_basic_c,tp_basic_cpp,g' <stderr
>experr
7683 sed 's,tp_basic_c,tp_basic_cpp,g' <resout
>resexp
7685 $as_echo "$at_srcdir/t_test_program_compare.at:176: \$({
7687 while test \$(pwd) != '/' -a ! -e ./Makefile; do
7693 })/tests/bootstrap/h_tp_basic_cpp \\
7696 while test \$(pwd) != '/' -a ! -e ./Makefile; do
7702 })/tests/bootstrap -r3 3>resout unknown"
7703 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_test_program_compare.at:176"
7704 ( $at_check_trace; $
({
7706 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
7712 })/tests
/bootstrap
/h_tp_basic_cpp \
7715 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
7721 })/tests
/bootstrap
-r3 3>resout unknown
7722 ) >>"$at_stdout" 2>>"$at_stderr"
7723 at_status
=$? at_failed
=false
7725 $at_diff experr
"$at_stderr" || at_failed
=:
7726 $at_diff expout
"$at_stdout" || at_failed
=:
7727 at_fn_check_status
1 $at_status "$at_srcdir/t_test_program_compare.at:176"
7728 $at_failed && at_fn_log_failure
7732 $as_echo "$at_srcdir/t_test_program_compare.at:178: cmp -s resout resexp"
7733 at_fn_check_prepare_trace
"t_test_program_compare.at:178"
7734 ( $at_check_trace; cmp -s resout resexp
7735 ) >>"$at_stdout" 2>>"$at_stderr"
7736 at_status
=$? at_failed
=false
7738 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
7739 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
7740 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_compare.at:178"
7741 $at_failed && at_fn_log_failure
7744 sed 's,tp_basic_c,tp_basic_sh,g' <stdout
>expout
7745 sed 's,tp_basic_c,tp_basic_sh,g' <stderr
>experr
7746 sed 's,tp_basic_c,tp_basic_sh,g' <resout
>resexp
7748 $as_echo "$at_srcdir/t_test_program_compare.at:182: \$({
7750 while test \$(pwd) != '/' -a ! -e ./Makefile; do
7756 })/tests/bootstrap/h_tp_basic_sh \\
7759 while test \$(pwd) != '/' -a ! -e ./Makefile; do
7765 })/tests/bootstrap -r3 3>resout unknown"
7766 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_test_program_compare.at:182"
7767 ( $at_check_trace; $
({
7769 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
7775 })/tests
/bootstrap
/h_tp_basic_sh \
7778 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
7784 })/tests
/bootstrap
-r3 3>resout unknown
7785 ) >>"$at_stdout" 2>>"$at_stderr"
7786 at_status
=$? at_failed
=false
7788 $at_diff experr
"$at_stderr" || at_failed
=:
7789 $at_diff expout
"$at_stdout" || at_failed
=:
7790 at_fn_check_status
1 $at_status "$at_srcdir/t_test_program_compare.at:182"
7791 $at_failed && at_fn_log_failure
7795 $as_echo "$at_srcdir/t_test_program_compare.at:184: cmp -s resout resexp"
7796 at_fn_check_prepare_trace
"t_test_program_compare.at:184"
7797 ( $at_check_trace; cmp -s resout resexp
7798 ) >>"$at_stdout" 2>>"$at_stderr"
7799 at_status
=$? at_failed
=false
7801 at_fn_diff_devnull
"$at_stderr" || at_failed
=:
7802 at_fn_diff_devnull
"$at_stdout" || at_failed
=:
7803 at_fn_check_status
0 $at_status "$at_srcdir/t_test_program_compare.at:184"
7804 $at_failed && at_fn_log_failure
7809 $at_times_p && times >"$at_times_file"
7810 ) 5>&1 2>&1 |
eval $at_tee_pipe
7811 read at_status
<"$at_status_file"
7814 # 10. t_subr_atf_check.at:30: subr: atf_check function
7815 at_setup_line
='t_subr_atf_check.at:30'
7816 at_desc
="subr: atf_check function"
7817 at_desc_line
=" 10: $at_desc "
7818 $at_quiet $as_echo_n "$at_desc_line"
7820 echo "# -*- compilation -*-" >> "$at_group_log"
7822 $as_echo "10. t_subr_atf_check.at:30: testing ..."
7827 $as_echo "$at_srcdir/t_subr_atf_check.at:32: \$({
7829 while test \$(pwd) != '/' -a ! -e ./Makefile; do
7835 })/tests/bootstrap/h_tp_atf_check_sh \\
7838 while test \$(pwd) != '/' -a ! -e ./Makefile; do
7844 })/tests/bootstrap exitcode_0_0"
7845 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_subr_atf_check.at:32"
7846 ( $at_check_trace; $
({
7848 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
7854 })/tests
/bootstrap
/h_tp_atf_check_sh \
7857 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
7863 })/tests
/bootstrap exitcode_0_0
7864 ) >>"$at_stdout" 2>>"$at_stderr"
7865 at_status
=$? at_failed
=false
7867 echo stderr
:; cat "$at_stderr"
7868 echo stdout
:; cat "$at_stdout"
7869 at_fn_check_status
0 $at_status "$at_srcdir/t_subr_atf_check.at:32"
7870 $at_failed && at_fn_log_failure
7874 $as_echo "$at_srcdir/t_subr_atf_check.at:34: \$({
7876 while test \$(pwd) != '/' -a ! -e ./Makefile; do
7882 })/tests/bootstrap/h_tp_atf_check_sh \\
7885 while test \$(pwd) != '/' -a ! -e ./Makefile; do
7891 })/tests/bootstrap exitcode_0_1"
7892 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_subr_atf_check.at:34"
7893 ( $at_check_trace; $
({
7895 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
7901 })/tests
/bootstrap
/h_tp_atf_check_sh \
7904 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
7910 })/tests
/bootstrap exitcode_0_1
7911 ) >>"$at_stdout" 2>>"$at_stderr"
7912 at_status
=$? at_failed
=false
7914 echo stderr
:; cat "$at_stderr"
7915 echo stdout
:; cat "$at_stdout"
7916 at_fn_check_status
1 $at_status "$at_srcdir/t_subr_atf_check.at:34"
7917 $at_failed && at_fn_log_failure
7921 $as_echo "$at_srcdir/t_subr_atf_check.at:36: \$({
7923 while test \$(pwd) != '/' -a ! -e ./Makefile; do
7929 })/tests/bootstrap/h_tp_atf_check_sh \\
7932 while test \$(pwd) != '/' -a ! -e ./Makefile; do
7938 })/tests/bootstrap exitcode_1_0"
7939 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_subr_atf_check.at:36"
7940 ( $at_check_trace; $
({
7942 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
7948 })/tests
/bootstrap
/h_tp_atf_check_sh \
7951 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
7957 })/tests
/bootstrap exitcode_1_0
7958 ) >>"$at_stdout" 2>>"$at_stderr"
7959 at_status
=$? at_failed
=false
7961 echo stderr
:; cat "$at_stderr"
7962 echo stdout
:; cat "$at_stdout"
7963 at_fn_check_status
1 $at_status "$at_srcdir/t_subr_atf_check.at:36"
7964 $at_failed && at_fn_log_failure
7968 $as_echo "$at_srcdir/t_subr_atf_check.at:38: \$({
7970 while test \$(pwd) != '/' -a ! -e ./Makefile; do
7976 })/tests/bootstrap/h_tp_atf_check_sh \\
7979 while test \$(pwd) != '/' -a ! -e ./Makefile; do
7985 })/tests/bootstrap exitcode_1_1"
7986 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_subr_atf_check.at:38"
7987 ( $at_check_trace; $
({
7989 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
7995 })/tests
/bootstrap
/h_tp_atf_check_sh \
7998 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
8004 })/tests
/bootstrap exitcode_1_1
8005 ) >>"$at_stdout" 2>>"$at_stderr"
8006 at_status
=$? at_failed
=false
8008 echo stderr
:; cat "$at_stderr"
8009 echo stdout
:; cat "$at_stdout"
8010 at_fn_check_status
0 $at_status "$at_srcdir/t_subr_atf_check.at:38"
8011 $at_failed && at_fn_log_failure
8016 $as_echo "$at_srcdir/t_subr_atf_check.at:41: \$({
8018 while test \$(pwd) != '/' -a ! -e ./Makefile; do
8024 })/tests/bootstrap/h_tp_atf_check_sh \\
8027 while test \$(pwd) != '/' -a ! -e ./Makefile; do
8033 })/tests/bootstrap stdout_expout_pass"
8034 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_subr_atf_check.at:41"
8035 ( $at_check_trace; $
({
8037 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
8043 })/tests
/bootstrap
/h_tp_atf_check_sh \
8046 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
8052 })/tests
/bootstrap stdout_expout_pass
8053 ) >>"$at_stdout" 2>>"$at_stderr"
8054 at_status
=$? at_failed
=false
8056 echo stderr
:; cat "$at_stderr"
8057 echo stdout
:; cat "$at_stdout"
8058 at_fn_check_status
0 $at_status "$at_srcdir/t_subr_atf_check.at:41"
8059 $at_failed && at_fn_log_failure
8063 $as_echo "$at_srcdir/t_subr_atf_check.at:43: \$({
8065 while test \$(pwd) != '/' -a ! -e ./Makefile; do
8071 })/tests/bootstrap/h_tp_atf_check_sh \\
8074 while test \$(pwd) != '/' -a ! -e ./Makefile; do
8080 })/tests/bootstrap stdout_expout_fail"
8081 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_subr_atf_check.at:43"
8082 ( $at_check_trace; $
({
8084 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
8090 })/tests
/bootstrap
/h_tp_atf_check_sh \
8093 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
8099 })/tests
/bootstrap stdout_expout_fail
8100 ) >>"$at_stdout" 2>>"$at_stderr"
8101 at_status
=$? at_failed
=false
8103 echo stderr
:; cat "$at_stderr"
8104 echo stdout
:; cat "$at_stdout"
8105 at_fn_check_status
1 $at_status "$at_srcdir/t_subr_atf_check.at:43"
8106 $at_failed && at_fn_log_failure
8110 $as_echo "$at_srcdir/t_subr_atf_check.at:45: \$({
8112 while test \$(pwd) != '/' -a ! -e ./Makefile; do
8118 })/tests/bootstrap/h_tp_atf_check_sh \\
8121 while test \$(pwd) != '/' -a ! -e ./Makefile; do
8127 })/tests/bootstrap stdout_ignore_empty"
8128 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_subr_atf_check.at:45"
8129 ( $at_check_trace; $
({
8131 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
8137 })/tests
/bootstrap
/h_tp_atf_check_sh \
8140 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
8146 })/tests
/bootstrap stdout_ignore_empty
8147 ) >>"$at_stdout" 2>>"$at_stderr"
8148 at_status
=$? at_failed
=false
8150 echo stderr
:; cat "$at_stderr"
8151 echo stdout
:; cat "$at_stdout"
8152 at_fn_check_status
0 $at_status "$at_srcdir/t_subr_atf_check.at:45"
8153 $at_failed && at_fn_log_failure
8157 $as_echo "$at_srcdir/t_subr_atf_check.at:47: \$({
8159 while test \$(pwd) != '/' -a ! -e ./Makefile; do
8165 })/tests/bootstrap/h_tp_atf_check_sh \\
8168 while test \$(pwd) != '/' -a ! -e ./Makefile; do
8174 })/tests/bootstrap stdout_ignore_sth"
8175 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_subr_atf_check.at:47"
8176 ( $at_check_trace; $
({
8178 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
8184 })/tests
/bootstrap
/h_tp_atf_check_sh \
8187 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
8193 })/tests
/bootstrap stdout_ignore_sth
8194 ) >>"$at_stdout" 2>>"$at_stderr"
8195 at_status
=$? at_failed
=false
8197 echo stderr
:; cat "$at_stderr"
8198 echo stdout
:; cat "$at_stdout"
8199 at_fn_check_status
0 $at_status "$at_srcdir/t_subr_atf_check.at:47"
8200 $at_failed && at_fn_log_failure
8204 $as_echo "$at_srcdir/t_subr_atf_check.at:49: \$({
8206 while test \$(pwd) != '/' -a ! -e ./Makefile; do
8212 })/tests/bootstrap/h_tp_atf_check_sh \\
8215 while test \$(pwd) != '/' -a ! -e ./Makefile; do
8221 })/tests/bootstrap stdout_null_empty"
8222 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_subr_atf_check.at:49"
8223 ( $at_check_trace; $
({
8225 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
8231 })/tests
/bootstrap
/h_tp_atf_check_sh \
8234 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
8240 })/tests
/bootstrap stdout_null_empty
8241 ) >>"$at_stdout" 2>>"$at_stderr"
8242 at_status
=$? at_failed
=false
8244 echo stderr
:; cat "$at_stderr"
8245 echo stdout
:; cat "$at_stdout"
8246 at_fn_check_status
0 $at_status "$at_srcdir/t_subr_atf_check.at:49"
8247 $at_failed && at_fn_log_failure
8251 $as_echo "$at_srcdir/t_subr_atf_check.at:51: \$({
8253 while test \$(pwd) != '/' -a ! -e ./Makefile; do
8259 })/tests/bootstrap/h_tp_atf_check_sh \\
8262 while test \$(pwd) != '/' -a ! -e ./Makefile; do
8268 })/tests/bootstrap stdout_null_sth"
8269 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_subr_atf_check.at:51"
8270 ( $at_check_trace; $
({
8272 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
8278 })/tests
/bootstrap
/h_tp_atf_check_sh \
8281 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
8287 })/tests
/bootstrap stdout_null_sth
8288 ) >>"$at_stdout" 2>>"$at_stderr"
8289 at_status
=$? at_failed
=false
8291 echo stderr
:; cat "$at_stderr"
8292 echo stdout
:; cat "$at_stdout"
8293 at_fn_check_status
1 $at_status "$at_srcdir/t_subr_atf_check.at:51"
8294 $at_failed && at_fn_log_failure
8298 $as_echo "$at_srcdir/t_subr_atf_check.at:53: \$({
8300 while test \$(pwd) != '/' -a ! -e ./Makefile; do
8306 })/tests/bootstrap/h_tp_atf_check_sh \\
8309 while test \$(pwd) != '/' -a ! -e ./Makefile; do
8315 })/tests/bootstrap stdout_stdout_written"
8316 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_subr_atf_check.at:53"
8317 ( $at_check_trace; $
({
8319 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
8325 })/tests
/bootstrap
/h_tp_atf_check_sh \
8328 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
8334 })/tests
/bootstrap stdout_stdout_written
8335 ) >>"$at_stdout" 2>>"$at_stderr"
8336 at_status
=$? at_failed
=false
8338 echo stderr
:; cat "$at_stderr"
8339 echo stdout
:; cat "$at_stdout"
8340 at_fn_check_status
0 $at_status "$at_srcdir/t_subr_atf_check.at:53"
8341 $at_failed && at_fn_log_failure
8346 $as_echo "$at_srcdir/t_subr_atf_check.at:56: \$({
8348 while test \$(pwd) != '/' -a ! -e ./Makefile; do
8354 })/tests/bootstrap/h_tp_atf_check_sh \\
8357 while test \$(pwd) != '/' -a ! -e ./Makefile; do
8363 })/tests/bootstrap stderr_experr_pass"
8364 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_subr_atf_check.at:56"
8365 ( $at_check_trace; $
({
8367 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
8373 })/tests
/bootstrap
/h_tp_atf_check_sh \
8376 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
8382 })/tests
/bootstrap stderr_experr_pass
8383 ) >>"$at_stdout" 2>>"$at_stderr"
8384 at_status
=$? at_failed
=false
8386 echo stderr
:; cat "$at_stderr"
8387 echo stdout
:; cat "$at_stdout"
8388 at_fn_check_status
0 $at_status "$at_srcdir/t_subr_atf_check.at:56"
8389 $at_failed && at_fn_log_failure
8393 $as_echo "$at_srcdir/t_subr_atf_check.at:58: \$({
8395 while test \$(pwd) != '/' -a ! -e ./Makefile; do
8401 })/tests/bootstrap/h_tp_atf_check_sh \\
8404 while test \$(pwd) != '/' -a ! -e ./Makefile; do
8410 })/tests/bootstrap stderr_experr_fail"
8411 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_subr_atf_check.at:58"
8412 ( $at_check_trace; $
({
8414 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
8420 })/tests
/bootstrap
/h_tp_atf_check_sh \
8423 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
8429 })/tests
/bootstrap stderr_experr_fail
8430 ) >>"$at_stdout" 2>>"$at_stderr"
8431 at_status
=$? at_failed
=false
8433 echo stderr
:; cat "$at_stderr"
8434 echo stdout
:; cat "$at_stdout"
8435 at_fn_check_status
1 $at_status "$at_srcdir/t_subr_atf_check.at:58"
8436 $at_failed && at_fn_log_failure
8440 $as_echo "$at_srcdir/t_subr_atf_check.at:60: \$({
8442 while test \$(pwd) != '/' -a ! -e ./Makefile; do
8448 })/tests/bootstrap/h_tp_atf_check_sh \\
8451 while test \$(pwd) != '/' -a ! -e ./Makefile; do
8457 })/tests/bootstrap stderr_ignore_empty"
8458 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_subr_atf_check.at:60"
8459 ( $at_check_trace; $
({
8461 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
8467 })/tests
/bootstrap
/h_tp_atf_check_sh \
8470 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
8476 })/tests
/bootstrap stderr_ignore_empty
8477 ) >>"$at_stdout" 2>>"$at_stderr"
8478 at_status
=$? at_failed
=false
8480 echo stderr
:; cat "$at_stderr"
8481 echo stdout
:; cat "$at_stdout"
8482 at_fn_check_status
0 $at_status "$at_srcdir/t_subr_atf_check.at:60"
8483 $at_failed && at_fn_log_failure
8487 $as_echo "$at_srcdir/t_subr_atf_check.at:62: \$({
8489 while test \$(pwd) != '/' -a ! -e ./Makefile; do
8495 })/tests/bootstrap/h_tp_atf_check_sh \\
8498 while test \$(pwd) != '/' -a ! -e ./Makefile; do
8504 })/tests/bootstrap stderr_ignore_sth"
8505 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_subr_atf_check.at:62"
8506 ( $at_check_trace; $
({
8508 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
8514 })/tests
/bootstrap
/h_tp_atf_check_sh \
8517 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
8523 })/tests
/bootstrap stderr_ignore_sth
8524 ) >>"$at_stdout" 2>>"$at_stderr"
8525 at_status
=$? at_failed
=false
8527 echo stderr
:; cat "$at_stderr"
8528 echo stdout
:; cat "$at_stdout"
8529 at_fn_check_status
0 $at_status "$at_srcdir/t_subr_atf_check.at:62"
8530 $at_failed && at_fn_log_failure
8534 $as_echo "$at_srcdir/t_subr_atf_check.at:64: \$({
8536 while test \$(pwd) != '/' -a ! -e ./Makefile; do
8542 })/tests/bootstrap/h_tp_atf_check_sh \\
8545 while test \$(pwd) != '/' -a ! -e ./Makefile; do
8551 })/tests/bootstrap stderr_null_empty"
8552 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_subr_atf_check.at:64"
8553 ( $at_check_trace; $
({
8555 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
8561 })/tests
/bootstrap
/h_tp_atf_check_sh \
8564 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
8570 })/tests
/bootstrap stderr_null_empty
8571 ) >>"$at_stdout" 2>>"$at_stderr"
8572 at_status
=$? at_failed
=false
8574 echo stderr
:; cat "$at_stderr"
8575 echo stdout
:; cat "$at_stdout"
8576 at_fn_check_status
0 $at_status "$at_srcdir/t_subr_atf_check.at:64"
8577 $at_failed && at_fn_log_failure
8581 $as_echo "$at_srcdir/t_subr_atf_check.at:66: \$({
8583 while test \$(pwd) != '/' -a ! -e ./Makefile; do
8589 })/tests/bootstrap/h_tp_atf_check_sh \\
8592 while test \$(pwd) != '/' -a ! -e ./Makefile; do
8598 })/tests/bootstrap stderr_null_sth"
8599 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_subr_atf_check.at:66"
8600 ( $at_check_trace; $
({
8602 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
8608 })/tests
/bootstrap
/h_tp_atf_check_sh \
8611 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
8617 })/tests
/bootstrap stderr_null_sth
8618 ) >>"$at_stdout" 2>>"$at_stderr"
8619 at_status
=$? at_failed
=false
8621 echo stderr
:; cat "$at_stderr"
8622 echo stdout
:; cat "$at_stdout"
8623 at_fn_check_status
1 $at_status "$at_srcdir/t_subr_atf_check.at:66"
8624 $at_failed && at_fn_log_failure
8628 $as_echo "$at_srcdir/t_subr_atf_check.at:68: \$({
8630 while test \$(pwd) != '/' -a ! -e ./Makefile; do
8636 })/tests/bootstrap/h_tp_atf_check_sh \\
8639 while test \$(pwd) != '/' -a ! -e ./Makefile; do
8645 })/tests/bootstrap stderr_stderr_written"
8646 at_fn_check_prepare_notrace
'a $(...) command substitution' "t_subr_atf_check.at:68"
8647 ( $at_check_trace; $
({
8649 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
8655 })/tests
/bootstrap
/h_tp_atf_check_sh \
8658 while test $
(pwd) != '/' -a ! -e .
/Makefile
; do
8664 })/tests
/bootstrap stderr_stderr_written
8665 ) >>"$at_stdout" 2>>"$at_stderr"
8666 at_status
=$? at_failed
=false
8668 echo stderr
:; cat "$at_stderr"
8669 echo stdout
:; cat "$at_stdout"
8670 at_fn_check_status
0 $at_status "$at_srcdir/t_subr_atf_check.at:68"
8671 $at_failed && at_fn_log_failure
8676 $at_times_p && times >"$at_times_file"
8677 ) 5>&1 2>&1 |
eval $at_tee_pipe
8678 read at_status
<"$at_status_file"