No empty .Rs/.Re
[netbsd-mini2440.git] / external / bsd / atf / dist / tests / bootstrap / testsuite
bloba406da1c9aec10832c553a0c599aed5b6c48daa8
1 #! /bin/sh
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 :
15 emulate sh
16 NULLCMD=:
17 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
20 setopt NO_GLOB_SUBST
21 else
22 case `(set -o) 2>/dev/null` in #(
23 *posix*) :
24 set -o posix ;; #(
25 *) :
27 esac
31 as_nl='
33 export as_nl
34 # Printing a long string crashes Solaris 7 /usr/bin/printf.
35 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
36 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
37 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
38 # Prefer a ksh shell builtin over an external printf program on Solaris,
39 # but without wasting forks for bash or zsh.
40 if test -z "$BASH_VERSION$ZSH_VERSION" \
41 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
42 as_echo='print -r --'
43 as_echo_n='print -rn --'
44 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='printf %s\n'
46 as_echo_n='printf %s'
47 else
48 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
49 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
50 as_echo_n='/usr/ucb/echo -n'
51 else
52 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
53 as_echo_n_body='eval
54 arg=$1;
55 case $arg in #(
56 *"$as_nl"*)
57 expr "X$arg" : "X\\(.*\\)$as_nl";
58 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
59 esac;
60 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
62 export as_echo_n_body
63 as_echo_n='sh -c $as_echo_n_body as_echo'
65 export as_echo_body
66 as_echo='sh -c $as_echo_body as_echo'
69 # The user is always right.
70 if test "${PATH_SEPARATOR+set}" != set; then
71 PATH_SEPARATOR=:
72 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
73 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
74 PATH_SEPARATOR=';'
79 # IFS
80 # We need space, tab and new line, in precisely that order. Quoting is
81 # there to prevent editors from complaining about space-tab.
82 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
83 # splitting by setting IFS to empty value.)
84 IFS=" "" $as_nl"
86 # Find who we are. Look in the path if we contain no directory separator.
87 case $0 in #((
88 *[\\/]* ) as_myself=$0 ;;
89 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
90 for as_dir in $PATH
92 IFS=$as_save_IFS
93 test -z "$as_dir" && as_dir=.
94 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
95 done
96 IFS=$as_save_IFS
99 esac
100 # We did not find ourselves, most probably we were run as `sh COMMAND'
101 # in which case we are not to be found in the path.
102 if test "x$as_myself" = x; then
103 as_myself=$0
105 if test ! -f "$as_myself"; then
106 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
107 exit 1
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 || :
117 done
118 PS1='$ '
119 PS2='> '
120 PS4='+ '
122 # NLS nuisances.
123 LC_ALL=C
124 export LC_ALL
125 LANGUAGE=C
126 export LANGUAGE
128 # CDPATH.
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 :
133 emulate sh
134 NULLCMD=:
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+\"\$@\"}'='\"\$@\"'
138 setopt NO_GLOB_SUBST
139 else
140 case \`(set -o) 2>/dev/null\` in #(
141 *posix*) :
142 set -o posix ;; #(
143 *) :
145 esac
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; }
154 exitcode=0
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 :
161 else
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 :
171 as_have_required=yes
172 else
173 as_have_required=no
175 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
177 else
178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
179 as_found=false
180 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
182 IFS=$as_save_IFS
183 test -z "$as_dir" && as_dir=.
184 as_found=:
185 case $as_dir in #(
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 :
194 break 2
197 done;;
198 esac
199 as_found=false
200 done
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
204 fi; }
205 IFS=$as_save_IFS
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.
212 BASH_ENV=/dev/null
213 ENV=/dev/null
214 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
215 export CONFIG_SHELL
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."
225 else
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."
231 exit 1
235 SHELL=${CONFIG_SHELL-/bin/sh}
236 export SHELL
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 ## --------------------- ##
244 # as_fn_unset VAR
245 # ---------------
246 # Portably unset VAR.
247 as_fn_unset ()
249 { eval $1=; unset $1;}
251 as_unset=as_fn_unset
253 # as_fn_set_status STATUS
254 # -----------------------
255 # Set $? to STATUS, without forking.
256 as_fn_set_status ()
258 return $1
259 } # as_fn_set_status
261 # as_fn_exit STATUS
262 # -----------------
263 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
264 as_fn_exit ()
266 set +e
267 as_fn_set_status $1
268 exit $1
269 } # as_fn_exit
271 # as_fn_mkdir_p
272 # -------------
273 # Create "$as_dir" as a directory, including parents if necessary.
274 as_fn_mkdir_p ()
277 case $as_dir in #(
278 -*) as_dir=./$as_dir;;
279 esac
280 test -d "$as_dir" || eval $as_mkdir_p || {
281 as_dirs=
282 while :; do
283 case $as_dir in #(
284 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
285 *) as_qdir=$as_dir;;
286 esac
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
295 s//\1/
298 /^X\(\/\/\)[^/].*/{
299 s//\1/
302 /^X\(\/\/\)$/{
303 s//\1/
306 /^X\(\/\).*/{
307 s//\1/
310 s/.*/./; q'`
311 test -d "$as_dir" && break
312 done
313 test -z "$as_dirs" || eval "mkdir $as_dirs"
314 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
317 } # as_fn_mkdir_p
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
323 # implementations.
324 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
325 eval 'as_fn_append ()
327 eval $1+=\$2
329 else
330 as_fn_append ()
332 eval $1=\$$1\$2
334 fi # as_fn_append
336 # as_fn_arith ARG...
337 # ------------------
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 :
342 eval 'as_fn_arith ()
344 as_val=$(( $* ))
346 else
347 as_fn_arith ()
349 as_val=`expr "$@" || test $? -eq 1`
351 fi # as_fn_arith
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.
359 as_fn_error ()
361 as_status=$?; test $as_status -eq 0 && as_status=1
362 if test "$3"; then
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
368 } # as_fn_error
370 if expr a : '\(a\)' >/dev/null 2>&1 &&
371 test "X`expr 00001 : '.*\(...\)'`" = X001; then
372 as_expr=expr
373 else
374 as_expr=false
377 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
378 as_basename=basename
379 else
380 as_basename=false
383 as_me=`$as_basename -- "$0" ||
384 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
385 X"$0" : 'X\(//\)$' \| \
386 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
387 $as_echo X/"$0" |
388 sed '/^.*\/\([^/][^/]*\)\/*$/{
389 s//\1/
392 /^X\/\(\/\/\)$/{
393 s//\1/
396 /^X\/\(\/\).*/{
397 s//\1/
400 s/.*/./; q'`
402 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
403 as_dirname=dirname
404 else
405 as_dirname=false
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. :-)
421 sed -n '
423 /[$]LINENO/=
424 ' <$as_myself |
425 sed '
426 s/[$]LINENO.*/&-/
427 t lineno
429 :lineno
431 :loop
432 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
433 t loop
434 s/-\n.*//
435 ' >$as_me.lineno &&
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).
442 . "./$as_me.lineno"
443 # Exit status is that of the last command.
444 exit
447 ECHO_C= ECHO_N= ECHO_T=
448 case `echo -n x` in #(((((
449 -n*)
450 case `echo 'xy\c'` in
451 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
452 xy) ECHO_C='\c';;
453 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
454 ECHO_T=' ';;
455 esac;;
457 ECHO_N='-n';;
458 esac
460 rm -f conf$$ conf$$.exe conf$$.file
461 if test -d conf$$.dir; then
462 rm -f conf$$.dir/conf$$.file
463 else
464 rm -f conf$$.dir
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
469 as_ln_s='ln -s'
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 ||
475 as_ln_s='cp -p'
476 elif ln conf$$.file conf$$ 2>/dev/null; then
477 as_ln_s=ln
478 else
479 as_ln_s='cp -p'
481 else
482 as_ln_s='cp -p'
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"'
489 else
490 test -d ./-p && rmdir ./-p
491 as_mkdir_p=false
494 if test -x / >/dev/null 2>&1; then
495 as_test_x='test -x'
496 else
497 if ls -dL / >/dev/null 2>&1; then
498 as_ls_L_option=L
499 else
500 as_ls_L_option=
502 as_test_x='
503 eval sh -c '\''
504 if test -d "$1"; then
505 test -d "$1/.";
506 else
507 case $1 in #(
508 -*)set "./$1";;
509 esac;
510 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
511 ???[sx]*):;;*)false;;esac;fi
512 '\'' sh
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}
529 # How were we run?
530 at_cli_args="$@"
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.
535 at_times_p=false
536 (times) >/dev/null 2>&1 && at_times_p=:
538 # CLI Arguments to pass to the debugging scripts.
539 at_debug_args=
540 # -e sets to true
541 at_errexit_p=false
542 # Shall we be verbose? ':' means no, empty means yes.
543 at_verbose=:
544 at_quiet=
545 # Running several jobs in parallel, 0 means as many as test groups.
546 at_jobs=1
547 at_traceon=:
548 at_trace_echo=:
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.
553 at_debug_p=false
554 # Display help message?
555 at_help_p=false
556 # Display the version message?
557 at_version_p=false
558 # List test groups?
559 at_list_p=false
560 # --clean
561 at_clean=false
562 # Test groups to run
563 at_groups=
564 # Whether a write failure occurred
565 at_write_fail=0
567 # The directory we run the suite in. Default to . if no -C option.
568 at_dir=`pwd`
569 # An absolute reference to this testsuite script.
570 case $as_myself in
571 [\\/]* | ?:[\\/]* ) at_myself=$as_myself ;;
572 * ) at_myself=$at_dir/$as_myself ;;
573 esac
574 # Whether -C is in effect.
575 at_change_dir=false
577 # List of the tested programs.
578 at_tested='atf-config
579 atf-run'
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
584 # numerical order.
585 at_format='??'
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 ()
605 for at_grp
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
610 exit 1
612 case $at_value in
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`' ;;
619 esac
620 done
623 at_prev=
624 for at_option
626 # If the previous option needs an argument, assign it.
627 if test -n "$at_prev"; then
628 at_option=$at_prev=$at_option
629 at_prev=
632 case $at_option in
633 *=*) at_optarg=`expr "x$at_option" : 'x[^=]*=\(.*\)'` ;;
634 *) at_optarg= ;;
635 esac
637 # Accept the important Cygnus configure options, so we can diagnose typos.
639 case $at_option in
640 --help | -h )
641 at_help_p=:
644 --list | -l )
645 at_list_p=:
648 --version | -V )
649 at_version_p=:
652 --clean | -c )
653 at_clean=:
656 --debug | -d )
657 at_debug_p=:
660 --errexit | -e )
661 at_debug_p=:
662 at_errexit_p=:
665 --verbose | -v )
666 at_verbose=; at_quiet=:
669 --trace | -x )
670 at_traceon='set -x'
671 at_trace_echo=echo
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 "
680 # Ranges
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
706 at_tmp=$at_range_end
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.
718 --directory | -C )
719 at_prev=--directory
721 --directory=* )
722 at_change_dir=:
723 at_dir=$at_optarg
726 # Parallel execution.
727 --jobs | -j )
728 at_jobs=0
730 --jobs=* | -j[0-9]* )
731 if test -n "$at_optarg"; then
732 at_jobs=$at_optarg
733 else
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" ;;
739 esac
742 # Keywords.
743 --keywords | -k )
744 at_prev=--keywords
746 --keywords=* )
747 at_groups_selected=$at_help_all
748 at_save_IFS=$IFS
749 IFS=,
750 set X $at_optarg
751 shift
752 IFS=$at_save_IFS
753 for at_keyword
755 at_invert=
756 case $at_keyword in
757 '!'*)
758 at_invert="-v"
759 at_keyword=`expr "X$at_keyword" : 'X!\(.*\)'`
761 esac
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[ ;]"`
765 done
766 # Smash the newlines.
767 at_groups_selected=`$as_echo "$at_groups_selected" | sed 's/;.*//' |
768 tr "$as_nl" ' '
770 as_fn_append at_groups "$at_groups_selected "
773 *=*)
774 at_envvar=`expr "x$at_option" : 'x\([^=]*\)='`
775 # Reject names that are not valid shell variable names.
776 case $at_envvar in
777 '' | [0-9]* | *[!_$as_cr_alnum]* )
778 as_fn_error "invalid variable name: \`$at_envvar'" ;;
779 esac
780 at_value=`$as_echo "$at_optarg" | sed "s/'/'\\\\\\\\''/g"`
781 # Export now, but save eval for later and for debug scripts.
782 export $at_envvar
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
788 exit 1
790 esac
791 done
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
801 else
802 # Sort the tests, removing duplicates.
803 at_groups=`$as_echo "$at_groups" | tr ' ' "$as_nl" | sort -nu`
806 # Help message.
807 if $at_help_p; then
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
825 _ATEOF
826 cat <<_ATEOF || at_write_fail=1
828 Operation modes:
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
833 _ATEOF
834 cat <<_ATEOF || at_write_fail=1
836 Execution tuning:
837 -C, --directory=DIR
838 change to directory DIR before starting
839 -j, --jobs[=N]
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
850 _ATEOF
851 cat <<_ATEOF || at_write_fail=1
853 Report bugs to <atf-devel@NetBSD.org>.
854 _ATEOF
855 exit $at_write_fail
858 # List of tests.
859 if $at_list_p; then
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
864 KEYWORDS
866 _ATEOF
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.
871 case $at_groups in
872 *"$as_nl"* )
873 at_groups=`$as_echo "$at_groups" | tr "$as_nl" ' '` ;;
874 esac
875 $as_echo "$at_groups$as_nl$at_help_all" |
876 awk 'BEGIN { FS = ";" }
877 NR == 1 {
878 for (n = split ($ 0, a, " "); n; n--)
879 selected[a[n]] = 1
880 next
882 NF > 0 {
883 if (selected[$ 1]) {
884 printf " %3d: %-18s %s\n", $ 1, $ 2, $ 3
885 if ($ 4) {
886 lmax = 79
887 indent = " "
888 line = indent
889 len = length (line)
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) {
894 print line
895 line = indent " " a[i]
896 len = length (line)
897 } else {
898 line = line " " a[i]
899 len += l
902 if (n)
903 print line
906 }' || at_write_fail=1
907 exit $at_write_fail
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.
916 _ATEOF
917 exit $at_write_fail
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.
922 case $at_groups in
923 *' '*' '* | *"$as_nl"*"$as_nl"* )
924 at_print_banners=: ;;
925 * ) at_print_banners=false ;;
926 esac
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
932 at_dir=./-
934 test x != "x$at_dir" && cd "$at_dir" \
935 || as_fn_error "unable to change directory"
936 at_dir=`pwd`
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"
944 done
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
955 builddir=../..
956 for at_dir_var in srcdir top_srcdir top_build_prefix
958 eval at_val=\$at_$at_dir_var
959 case $at_val in
960 [\\/$]* | ?:[\\/]* ) at_prefix= ;;
961 *) at_prefix=../../ ;;
962 esac
963 eval "$at_dir_var=\$at_prefix\$at_val"
964 done
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
1009 if $at_clean; then
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"
1013 exit $?
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"`
1025 at_path=
1026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1027 for as_dir in $AUTOTEST_PATH $PATH
1029 IFS=$as_save_IFS
1030 test -z "$as_dir" && as_dir=.
1031 test -n "$at_path" && as_fn_append at_path $PATH_SEPARATOR
1032 case $as_dir in
1033 [\\/]* | ?:[\\/]* )
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"
1040 else
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"
1046 esac
1047 done
1048 IFS=$as_save_IFS
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.
1055 at_new_path=
1056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1057 for as_dir in $at_path
1059 IFS=$as_save_IFS
1060 test -z "$as_dir" && as_dir=.
1061 test -d "$as_dir" || continue
1062 case $as_dir in
1063 [\\/]* | ?:[\\/]* ) ;;
1064 * ) as_dir=`(cd "$as_dir" && pwd) 2>/dev/null` ;;
1065 esac
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" ;;
1070 esac
1071 done
1072 IFS=$as_save_IFS
1074 PATH=$at_new_path
1075 export PATH
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
1083 else
1084 : >"$at_suite_log"
1086 exec 5>>"$at_suite_log"
1088 # Banners and logs.
1089 cat <<\_ASBOX
1090 ## ------------------------------------------------------------ ##
1091 ## Automated Testing Framework 0.7 test suite: bootstrap tests. ##
1092 ## ------------------------------------------------------------ ##
1093 _ASBOX
1095 cat <<\_ASBOX
1096 ## ------------------------------------------------------------ ##
1097 ## Automated Testing Framework 0.7 test suite: bootstrap tests. ##
1098 ## ------------------------------------------------------------ ##
1099 _ASBOX
1100 echo
1102 $as_echo "$as_me: command line was:"
1103 $as_echo " \$ $0 $at_cli_args"
1104 echo
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
1113 cat <<\_ASBOX
1114 ## ----------- ##
1115 ## ChangeLogs. ##
1116 ## ----------- ##
1117 _ASBOX
1118 echo
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
1123 echo
1124 done
1129 cat <<_ASUNAME
1130 ## --------- ##
1131 ## Platform. ##
1132 ## --------- ##
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`
1151 _ASUNAME
1153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1154 for as_dir in $PATH
1156 IFS=$as_save_IFS
1157 test -z "$as_dir" && as_dir=.
1158 $as_echo "PATH: $as_dir"
1159 done
1160 IFS=$as_save_IFS
1163 echo
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
1171 echo
1172 done
1173 } >&5
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.
1184 at_fn_banner ()
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"
1191 } # at_fn_banner
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
1208 # command.
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 ()
1222 case $1 in
1223 *$as_nl*)
1224 at_fn_check_prepare_notrace 'an embedded newline' "$2" ;;
1226 at_fn_check_prepare_trace "$2" ;;
1227 esac
1230 # at_fn_filter_trace
1231 # ------------------
1232 # Remove the lines in the file "$at_stderr" generated by "set -x" and print
1233 # them to stderr.
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 ()
1247 for file
1248 do $as_echo "$file:"; sed 's/^/> /' "$file"; done
1249 echo 1 > "$at_status_file"
1250 exit 1
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.
1258 at_fn_check_skip ()
1260 case $1 in
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;;
1264 esac
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 ()
1275 case $2 in
1276 $1 ) ;;
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"
1281 at_failed=:;;
1282 esac
1285 # at_fn_diff_devnull FILE
1286 # -----------------------
1287 # Emit a diff between /dev/null and FILE. Uses "test -s" to avoid useless diff
1288 # invocations.
1289 at_fn_diff_devnull ()
1291 test -s "$1" || return 0
1292 $at_diff "$at_devnull" "$1"
1295 # at_fn_test NUMBER
1296 # -----------------
1297 # Parse out test NUMBER from the tail of this file.
1298 at_fn_test ()
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+\"\$@\"}" &&
1315 echo 'exit 1'
1316 } >"$at_group_dir/run" &&
1317 chmod +x "$at_group_dir/run"
1320 ## -------------------------------- ##
1321 ## End of autotest shell functions. ##
1322 ## -------------------------------- ##
1324 cat <<\_ASBOX
1325 ## ---------------- ##
1326 ## Tested programs. ##
1327 ## ---------------- ##
1328 _ASBOX
1329 echo
1330 } >&5
1332 # Report what programs are being tested.
1333 for at_program in : $at_tested
1335 test "$at_program" = : && continue
1336 case $at_program in
1337 [\\/]* | ?:[\\/]* ) $at_program_=$at_program ;;
1339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1340 for as_dir in $PATH
1342 IFS=$as_save_IFS
1343 test -z "$as_dir" && as_dir=.
1344 test -f "$as_dir/$at_program" && break
1345 done
1346 IFS=$as_save_IFS
1348 at_program_=$as_dir/$at_program ;;
1349 esac
1350 if test -f "$at_program_"; then
1352 $as_echo "$at_srcdir/testsuite.at:30: $at_program_ --version"
1353 "$at_program_" --version </dev/null
1354 echo
1355 } >&5 2>&1
1356 else
1357 as_fn_error "cannot find $at_program" "$LINENO" 5
1359 done
1362 cat <<\_ASBOX
1363 ## ------------------ ##
1364 ## Running the tests. ##
1365 ## ------------------ ##
1366 _ASBOX
1367 } >&5
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
1380 else
1381 at_devnull=$at_suite_dir/devnull
1382 >"$at_devnull"
1385 # Use `diff -u' when possible.
1386 if at_diff=`diff -u "$at_devnull" "$at_devnull" 2>&1` && test -z "$at_diff"
1387 then
1388 at_diff='diff -u'
1389 else
1390 at_diff=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
1397 # of this file
1398 awk '
1399 BEGIN { FS="\a" }
1400 /^#AT_START_/ {
1401 start = NR
1403 /^#AT_STOP_/ {
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
1415 at_jobs=1
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
1425 at_quiet=:
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.
1460 cd "$at_suite_dir"
1462 # Clearly separate the test groups when verbose.
1463 $at_first || $at_verbose echo
1465 at_group_normalized=$at_group
1467 eval 'while :; do
1468 case $at_group_normalized in #(
1469 '"$at_format"'*) break;;
1470 esac
1471 at_group_normalized=0$at_group_normalized
1472 done'
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"/.??*
1485 fi ||
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"'
1497 else
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.
1509 cd "$at_suite_dir"
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>.
1516 _ATEOF
1517 $as_echo "$at_setup_line" >"$at_check_line_file"
1518 at_status=99
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
1523 *:99)
1524 at_msg='FAILED ('`cat "$at_check_line_file"`')'
1525 at_res=fail
1526 at_errexit=$at_errexit_p
1528 yes:0)
1529 at_msg="UNEXPECTED PASS"
1530 at_res=xpass
1531 at_errexit=$at_errexit_p
1533 no:0)
1534 at_msg="ok"
1535 at_res=pass
1536 at_errexit=false
1538 *:77)
1539 at_msg='skipped ('`cat "$at_check_line_file"`')'
1540 at_res=skip
1541 at_errexit=false
1543 yes:*)
1544 at_msg='expected failure ('`cat "$at_check_line_file"`')'
1545 at_res=xfail
1546 at_errexit=false
1548 no:*)
1549 at_msg='FAILED ('`cat "$at_check_line_file"`')'
1550 at_res=fail
1551 at_errexit=$at_errexit_p
1553 esac
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"
1558 else
1559 # Make sure there is a separator even with long titles.
1560 $as_echo " $at_msg"
1562 at_log_msg="$at_group. $at_desc ($at_setup_line): $at_msg"
1563 case $at_status in
1564 0|77)
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
1579 else
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"
1600 esac
1604 ## ------------ ##
1605 ## Driver loop. ##
1606 ## ------------ ##
1609 if (set -m && set +m && set +b) >/dev/null 2>&1; then
1610 set +b
1611 at_job_control_on='set -m' at_job_control_off='set +m' at_job_group=-
1612 else
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
1618 $at_job_control_off
1619 at_signal='"$at_signal"'
1620 echo stop > "$at_stop_file"
1621 trap "" $at_signal
1622 at_pgids=
1623 for at_pgid in `jobs -p 2>/dev/null`; do
1624 at_pgids="$at_pgids $at_job_group$at_pgid"
1625 done
1626 test -z "$at_pgids" || kill -$at_signal $at_pgids 2>/dev/null
1627 wait
1628 if test "$at_jobs" -eq 1 || test -z "$at_verbose"; then
1629 echo >&2
1631 at_signame=`kill -l $at_signal 2>&1 || echo $at_signal`
1632 set x $at_signame
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
1638 done
1640 rm -f "$at_stop_file"
1641 at_first=:
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
1647 then
1648 # FIFO job dispatcher.
1650 trap 'at_pids=
1651 for at_pid in `jobs -p`; do
1652 at_pids="$at_pids $at_job_group$at_pid"
1653 done
1654 if test -n "$at_pids"; then
1655 at_sig=TSTP
1656 test "${TMOUT+set}" = set && at_sig=STOP
1657 kill -$at_sig $at_pids 2>/dev/null
1659 kill -STOP $$
1660 test -z "$at_pids" || kill -CONT $at_pids 2>/dev/null' TSTP
1662 echo
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/'`
1667 set X $at_joblist
1668 shift
1669 for at_group in $at_groups; do
1670 $at_job_control_on 2>/dev/null
1672 # Start one test group.
1673 $at_job_control_off
1674 exec 6>"$at_job_fifo"
1675 trap 'set +x; set +e
1676 trap "" PIPE
1677 echo stop > "$at_stop_file"
1678 echo token >&6
1679 as_fn_exit 141' PIPE
1680 at_fn_group_prepare
1681 if cd "$at_group_dir" &&
1682 at_fn_test $at_group &&
1683 . "$at_test_source" # AT_JOB_FIFO_FD>&-
1684 then :; else
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;}
1687 at_failed=:
1689 at_fn_group_postprocess
1690 echo token >&6
1692 $at_job_control_off
1693 if $at_first; then
1694 at_first=false
1695 exec 6<"$at_job_fifo"
1697 shift # Consume one token.
1698 if test $# -gt 0; then :; else
1699 read at_token <&6 || break
1700 set x $*
1702 test -f "$at_stop_file" && break
1703 done
1704 # Read back the remaining ($at_jobs - 1) tokens.
1705 set X $at_joblist
1706 shift
1707 if test $# -gt 0; then
1708 shift
1709 for at_job
1711 read at_token
1712 done <&6
1714 exec 6<&-
1715 wait
1716 else
1717 # Run serially, avoid forks and other potential surprises.
1718 for at_group in $at_groups; do
1719 at_fn_group_prepare
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;}
1725 at_failed=:
1727 at_fn_group_postprocess
1728 test -f "$at_stop_file" && break
1729 at_first=false
1730 done
1733 # Wrap up the test suite with summary statistics.
1734 cd "$at_helper_dir"
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.
1757 cd "$at_dir"
1758 rm -rf "$at_helper_dir"
1760 # Compute the duration of the suite.
1761 at_stop_date=`date`
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
1765 [0-9]*,[0-9]*)
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
1774 esac
1776 echo
1777 cat <<\_ASBOX
1778 ## ------------- ##
1779 ## Test results. ##
1780 ## ------------- ##
1781 _ASBOX
1782 echo
1784 echo
1785 cat <<\_ASBOX
1786 ## ------------- ##
1787 ## Test results. ##
1788 ## ------------- ##
1789 _ASBOX
1790 echo
1791 } >&5
1793 if test $at_run_count = 1; then
1794 at_result="1 test"
1795 at_were=was
1796 else
1797 at_result="$at_run_count tests"
1798 at_were=were
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"
1803 else
1804 at_result="$at_result $at_were run, one failed"
1806 at_result="$at_result unexpectedly and inhibited subsequent tests."
1807 else
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
1810 # So far, so good.
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)." ;;
1834 # All of them.
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)." ;;
1841 esac
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
1850 0) ;;
1851 1) at_result="$at_result
1852 1 test was skipped." ;;
1853 *) at_result="$at_result
1854 $at_skip_count tests were skipped." ;;
1855 esac
1857 if test $at_unexpected_count = 0; then
1858 echo "$at_result"
1859 echo "$at_result" >&5
1860 else
1861 echo "ERROR: $at_result" >&2
1862 echo "ERROR: $at_result" >&5
1864 echo
1865 cat <<\_ASBOX
1866 ## ------------------------ ##
1867 ## Summary of the failures. ##
1868 ## ------------------------ ##
1869 _ASBOX
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
1875 echo
1877 if test $at_skip_count != 0; then
1878 echo "Skipped tests:"
1879 $SHELL "$at_myself" $at_skip_list --list
1880 echo
1882 if test $at_xpass_count != 0; then
1883 echo "Unexpected passes:"
1884 $SHELL "$at_myself" $at_xpass_list --list
1885 echo
1887 if test $at_fail_count != 0; then
1888 cat <<\_ASBOX
1889 ## ---------------------- ##
1890 ## Detailed failed tests. ##
1891 ## ---------------------- ##
1892 _ASBOX
1893 echo
1894 for at_group in $at_fail_list
1896 at_group_normalized=$at_group
1898 eval 'while :; do
1899 case $at_group_normalized in #(
1900 '"$at_format"'*) break;;
1901 esac
1902 at_group_normalized=0$at_group_normalized
1903 done'
1905 cat "$at_suite_dir/$at_group_normalized/$as_me.log"
1906 echo
1907 done
1908 echo
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 ##
1913 _ASBOX
1914 sed 's/^/| /' ${at_top_build_prefix}config.log
1915 echo
1917 } >&5
1919 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
1920 ## $as_me.log was created. ##
1921 _ASBOX
1923 echo
1924 if $at_debug_p; then
1925 at_msg='per-test log files'
1926 else
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'.
1938 exit 1
1941 exit 0
1943 ## ------------- ##
1944 ## Actual tests. ##
1945 ## ------------- ##
1946 #AT_START_1
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"
1952 at_xfail=no
1953 echo "# -*- compilation -*-" >> "$at_group_log"
1955 $as_echo "1. t_application_opts_args.at:30: testing ..."
1956 $at_traceon
1959 { set +x
1960 $as_echo "$at_srcdir/t_application_opts_args.at:34: \$({
1961 old=\$(pwd)
1962 while test \$(pwd) != '/' -a ! -e ./Makefile; do
1963 cd ..
1964 done
1965 topdir=\$(pwd)
1966 cd \${old}
1967 echo \${topdir}
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; $({
1971 old=$(pwd)
1972 while test $(pwd) != '/' -a ! -e ./Makefile; do
1973 cd ..
1974 done
1975 topdir=$(pwd)
1976 cd ${old}
1977 echo ${topdir}
1978 })/tests/bootstrap/h_app_empty -h
1979 ) >>"$at_stdout" 2>>"$at_stderr"
1980 at_status=$? at_failed=false
1981 $at_check_filter
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
1986 $at_traceon; }
1988 { set +x
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
1994 $at_check_filter
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
1999 $at_traceon; }
2001 { set +x
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
2007 $at_check_filter
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
2012 $at_traceon; }
2014 { set +x
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
2020 $at_check_filter
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
2025 $at_traceon; }
2027 { set +x
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
2033 $at_check_filter
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
2038 $at_traceon; }
2041 { set +x
2042 $as_echo "$at_srcdir/t_application_opts_args.at:42: \$({
2043 old=\$(pwd)
2044 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2045 cd ..
2046 done
2047 topdir=\$(pwd)
2048 cd \${old}
2049 echo \${topdir}
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; $({
2053 old=$(pwd)
2054 while test $(pwd) != '/' -a ! -e ./Makefile; do
2055 cd ..
2056 done
2057 topdir=$(pwd)
2058 cd ${old}
2059 echo ${topdir}
2060 })/tests/bootstrap/h_app_opts_args -h
2061 ) >>"$at_stdout" 2>>"$at_stderr"
2062 at_status=$? at_failed=false
2063 $at_check_filter
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
2068 $at_traceon; }
2070 { set +x
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
2076 $at_check_filter
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
2081 $at_traceon; }
2083 { set +x
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
2089 $at_check_filter
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
2094 $at_traceon; }
2096 { set +x
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
2102 $at_check_filter
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
2107 $at_traceon; }
2109 { set +x
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
2115 $at_check_filter
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
2120 $at_traceon; }
2123 { set +x
2124 $as_echo "$at_srcdir/t_application_opts_args.at:50: \$({
2125 old=\$(pwd)
2126 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2127 cd ..
2128 done
2129 topdir=\$(pwd)
2130 cd \${old}
2131 echo \${topdir}
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; $({
2135 old=$(pwd)
2136 while test $(pwd) != '/' -a ! -e ./Makefile; do
2137 cd ..
2138 done
2139 topdir=$(pwd)
2140 cd ${old}
2141 echo ${topdir}
2142 })/tests/bootstrap/h_app_empty -d
2143 ) >>"$at_stdout" 2>>"$at_stderr"
2144 at_status=$? at_failed=false
2145 $at_check_filter
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
2150 $at_traceon; }
2152 { set +x
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
2158 $at_check_filter
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
2163 $at_traceon; }
2165 { set +x
2166 $as_echo "$at_srcdir/t_application_opts_args.at:52: \$({
2167 old=\$(pwd)
2168 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2169 cd ..
2170 done
2171 topdir=\$(pwd)
2172 cd \${old}
2173 echo \${topdir}
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; $({
2177 old=$(pwd)
2178 while test $(pwd) != '/' -a ! -e ./Makefile; do
2179 cd ..
2180 done
2181 topdir=$(pwd)
2182 cd ${old}
2183 echo ${topdir}
2184 })/tests/bootstrap/h_app_empty -v
2185 ) >>"$at_stdout" 2>>"$at_stderr"
2186 at_status=$? at_failed=false
2187 $at_check_filter
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
2192 $at_traceon; }
2194 { set +x
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
2200 $at_check_filter
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
2205 $at_traceon; }
2207 { set +x
2208 $as_echo "$at_srcdir/t_application_opts_args.at:54: \$({
2209 old=\$(pwd)
2210 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2211 cd ..
2212 done
2213 topdir=\$(pwd)
2214 cd \${old}
2215 echo \${topdir}
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; $({
2219 old=$(pwd)
2220 while test $(pwd) != '/' -a ! -e ./Makefile; do
2221 cd ..
2222 done
2223 topdir=$(pwd)
2224 cd ${old}
2225 echo ${topdir}
2226 })/tests/bootstrap/h_app_empty -z
2227 ) >>"$at_stdout" 2>>"$at_stderr"
2228 at_status=$? at_failed=false
2229 $at_check_filter
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
2234 $at_traceon; }
2236 { set +x
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
2242 $at_check_filter
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
2247 $at_traceon; }
2250 { set +x
2251 $as_echo "$at_srcdir/t_application_opts_args.at:59: \$({
2252 old=\$(pwd)
2253 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2254 cd ..
2255 done
2256 topdir=\$(pwd)
2257 cd \${old}
2258 echo \${topdir}
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; $({
2262 old=$(pwd)
2263 while test $(pwd) != '/' -a ! -e ./Makefile; do
2264 cd ..
2265 done
2266 topdir=$(pwd)
2267 cd ${old}
2268 echo ${topdir}
2269 })/tests/bootstrap/h_app_opts_args -d
2270 ) >>"$at_stdout" 2>>"$at_stderr"
2271 at_status=$? at_failed=false
2272 $at_check_filter
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
2277 $at_traceon; }
2279 { set +x
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
2285 $at_check_filter
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
2290 $at_traceon; }
2292 { set +x
2293 $as_echo "$at_srcdir/t_application_opts_args.at:61: \$({
2294 old=\$(pwd)
2295 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2296 cd ..
2297 done
2298 topdir=\$(pwd)
2299 cd \${old}
2300 echo \${topdir}
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; $({
2304 old=$(pwd)
2305 while test $(pwd) != '/' -a ! -e ./Makefile; do
2306 cd ..
2307 done
2308 topdir=$(pwd)
2309 cd ${old}
2310 echo ${topdir}
2311 })/tests/bootstrap/h_app_opts_args -v
2312 ) >>"$at_stdout" 2>>"$at_stderr"
2313 at_status=$? at_failed=false
2314 $at_check_filter
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
2319 $at_traceon; }
2321 { set +x
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
2327 $at_check_filter
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
2332 $at_traceon; }
2334 { set +x
2335 $as_echo "$at_srcdir/t_application_opts_args.at:63: \$({
2336 old=\$(pwd)
2337 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2338 cd ..
2339 done
2340 topdir=\$(pwd)
2341 cd \${old}
2342 echo \${topdir}
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; $({
2346 old=$(pwd)
2347 while test $(pwd) != '/' -a ! -e ./Makefile; do
2348 cd ..
2349 done
2350 topdir=$(pwd)
2351 cd ${old}
2352 echo ${topdir}
2353 })/tests/bootstrap/h_app_opts_args -v foo
2354 ) >>"$at_stdout" 2>>"$at_stderr"
2355 at_status=$? at_failed=false
2356 $at_check_filter
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
2361 $at_traceon; }
2363 { set +x
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
2369 $at_check_filter
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
2374 $at_traceon; }
2376 { set +x
2377 $as_echo "$at_srcdir/t_application_opts_args.at:65: \$({
2378 old=\$(pwd)
2379 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2380 cd ..
2381 done
2382 topdir=\$(pwd)
2383 cd \${old}
2384 echo \${topdir}
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; $({
2388 old=$(pwd)
2389 while test $(pwd) != '/' -a ! -e ./Makefile; do
2390 cd ..
2391 done
2392 topdir=$(pwd)
2393 cd ${old}
2394 echo ${topdir}
2395 })/tests/bootstrap/h_app_opts_args -z
2396 ) >>"$at_stdout" 2>>"$at_stderr"
2397 at_status=$? at_failed=false
2398 $at_check_filter
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
2403 $at_traceon; }
2405 { set +x
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
2411 $at_check_filter
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
2416 $at_traceon; }
2419 { set +x
2420 $as_echo "$at_srcdir/t_application_opts_args.at:69: \$({
2421 old=\$(pwd)
2422 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2423 cd ..
2424 done
2425 topdir=\$(pwd)
2426 cd \${old}
2427 echo \${topdir}
2428 })/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; $({
2431 old=$(pwd)
2432 while test $(pwd) != '/' -a ! -e ./Makefile; do
2433 cd ..
2434 done
2435 topdir=$(pwd)
2436 cd ${old}
2437 echo ${topdir}
2438 })/tests/bootstrap/h_app_opts_args -- -d
2439 ) >>"$at_stdout" 2>>"$at_stderr"
2440 at_status=$? at_failed=false
2441 $at_check_filter
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
2446 $at_traceon; }
2448 { set +x
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
2454 $at_check_filter
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
2459 $at_traceon; }
2461 { set +x
2462 $as_echo "$at_srcdir/t_application_opts_args.at:71: \$({
2463 old=\$(pwd)
2464 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2465 cd ..
2466 done
2467 topdir=\$(pwd)
2468 cd \${old}
2469 echo \${topdir}
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; $({
2473 old=$(pwd)
2474 while test $(pwd) != '/' -a ! -e ./Makefile; do
2475 cd ..
2476 done
2477 topdir=$(pwd)
2478 cd ${old}
2479 echo ${topdir}
2480 })/tests/bootstrap/h_app_opts_args arg -d
2481 ) >>"$at_stdout" 2>>"$at_stderr"
2482 at_status=$? at_failed=false
2483 $at_check_filter
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
2488 $at_traceon; }
2490 { set +x
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
2496 $at_check_filter
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
2501 $at_traceon; }
2504 { set +x
2505 $as_echo "$at_srcdir/t_application_opts_args.at:76: \$({
2506 old=\$(pwd)
2507 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2508 cd ..
2509 done
2510 topdir=\$(pwd)
2511 cd \${old}
2512 echo \${topdir}
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; $({
2516 old=$(pwd)
2517 while test $(pwd) != '/' -a ! -e ./Makefile; do
2518 cd ..
2519 done
2520 topdir=$(pwd)
2521 cd ${old}
2522 echo ${topdir}
2523 })/tests/bootstrap/h_app_empty -h
2524 ) >>"$at_stdout" 2>>"$at_stderr"
2525 at_status=$? at_failed=false
2526 $at_check_filter
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
2531 $at_traceon; }
2533 { set +x
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
2539 $at_check_filter
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
2544 $at_traceon; }
2547 { set +x
2548 $as_echo "$at_srcdir/t_application_opts_args.at:81: \$({
2549 old=\$(pwd)
2550 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2551 cd ..
2552 done
2553 topdir=\$(pwd)
2554 cd \${old}
2555 echo \${topdir}
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; $({
2559 old=$(pwd)
2560 while test $(pwd) != '/' -a ! -e ./Makefile; do
2561 cd ..
2562 done
2563 topdir=$(pwd)
2564 cd ${old}
2565 echo ${topdir}
2566 })/tests/bootstrap/h_app_opts_args -h
2567 ) >>"$at_stdout" 2>>"$at_stderr"
2568 at_status=$? at_failed=false
2569 $at_check_filter
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
2574 $at_traceon; }
2576 { set +x
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
2582 $at_check_filter
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
2587 $at_traceon; }
2590 set +x
2591 $at_times_p && times >"$at_times_file"
2592 ) 5>&1 2>&1 | eval $at_tee_pipe
2593 read at_status <"$at_status_file"
2594 #AT_STOP_1
2595 #AT_START_2
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"
2601 at_xfail=no
2602 echo "# -*- compilation -*-" >> "$at_group_log"
2604 $as_echo "2. t_application_help.at:30: testing ..."
2605 $at_traceon
2608 { set +x
2609 $as_echo "$at_srcdir/t_application_help.at:32: \$({
2610 old=\$(pwd)
2611 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2612 cd ..
2613 done
2614 topdir=\$(pwd)
2615 cd \${old}
2616 echo \${topdir}
2617 })/tests/bootstrap/h_app_empty"
2618 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_application_help.at:32"
2619 ( $at_check_trace; $({
2620 old=$(pwd)
2621 while test $(pwd) != '/' -a ! -e ./Makefile; do
2622 cd ..
2623 done
2624 topdir=$(pwd)
2625 cd ${old}
2626 echo ${topdir}
2627 })/tests/bootstrap/h_app_empty
2628 ) >>"$at_stdout" 2>>"$at_stderr"
2629 at_status=$? at_failed=false
2630 $at_check_filter
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
2635 $at_traceon; }
2637 { set +x
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
2643 $at_check_filter
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
2648 $at_traceon; }
2651 { set +x
2652 $as_echo "$at_srcdir/t_application_help.at:35: \$({
2653 old=\$(pwd)
2654 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2655 cd ..
2656 done
2657 topdir=\$(pwd)
2658 cd \${old}
2659 echo \${topdir}
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; $({
2663 old=$(pwd)
2664 while test $(pwd) != '/' -a ! -e ./Makefile; do
2665 cd ..
2666 done
2667 topdir=$(pwd)
2668 cd ${old}
2669 echo ${topdir}
2670 })/tests/bootstrap/h_app_empty -h
2671 ) >>"$at_stdout" 2>>"$at_stderr"
2672 at_status=$? at_failed=false
2673 $at_check_filter
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
2678 $at_traceon; }
2680 { set +x
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
2686 $at_check_filter
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
2691 $at_traceon; }
2694 set +x
2695 $at_times_p && times >"$at_times_file"
2696 ) 5>&1 2>&1 | eval $at_tee_pipe
2697 read at_status <"$at_status_file"
2698 #AT_STOP_2
2699 #AT_START_3
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"
2705 at_xfail=no
2706 echo "# -*- compilation -*-" >> "$at_group_log"
2708 $as_echo "3. t_test_program_filter.at:30: testing ..."
2709 $at_traceon
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"
2717 tcs-count: 4
2718 tc-start: pass
2719 tc-end: pass, passed
2720 tc-start: fail
2721 tc-end: fail, failed, On purpose
2722 tc-start: skip
2723 tc-end: skip, skipped, By design
2724 tc-start: default
2725 tc-end: default, passed
2726 _ATEOF
2728 { set +x
2729 $as_echo "$at_srcdir/t_test_program_filter.at:46: \$({
2730 old=\$(pwd)
2731 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2732 cd ..
2733 done
2734 topdir=\$(pwd)
2735 cd \${old}
2736 echo \${topdir}
2737 })/tests/bootstrap/h_\${h} \\
2738 -s \$({
2739 old=\$(pwd)
2740 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2741 cd ..
2742 done
2743 topdir=\$(pwd)
2744 cd \${old}
2745 echo \${topdir}
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; $({
2749 old=$(pwd)
2750 while test $(pwd) != '/' -a ! -e ./Makefile; do
2751 cd ..
2752 done
2753 topdir=$(pwd)
2754 cd ${old}
2755 echo ${topdir}
2756 })/tests/bootstrap/h_${h} \
2757 -s $({
2758 old=$(pwd)
2759 while test $(pwd) != '/' -a ! -e ./Makefile; do
2760 cd ..
2761 done
2762 topdir=$(pwd)
2763 cd ${old}
2764 echo ${topdir}
2765 })/tests/bootstrap -r3 3>resout
2766 ) >>"$at_stdout" 2>>"$at_stderr"
2767 at_status=$? at_failed=false
2768 $at_check_filter
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
2773 $at_traceon; }
2775 { set +x
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
2781 $at_check_filter
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
2786 $at_traceon; }
2788 { set +x
2789 $as_echo "$at_srcdir/t_test_program_filter.at:48: \$({
2790 old=\$(pwd)
2791 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2792 cd ..
2793 done
2794 topdir=\$(pwd)
2795 cd \${old}
2796 echo \${topdir}
2797 })/tests/bootstrap/h_\${h} \\
2798 -s \$({
2799 old=\$(pwd)
2800 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2801 cd ..
2802 done
2803 topdir=\$(pwd)
2804 cd \${old}
2805 echo \${topdir}
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; $({
2809 old=$(pwd)
2810 while test $(pwd) != '/' -a ! -e ./Makefile; do
2811 cd ..
2812 done
2813 topdir=$(pwd)
2814 cd ${old}
2815 echo ${topdir}
2816 })/tests/bootstrap/h_${h} \
2817 -s $({
2818 old=$(pwd)
2819 while test $(pwd) != '/' -a ! -e ./Makefile; do
2820 cd ..
2821 done
2822 topdir=$(pwd)
2823 cd ${old}
2824 echo ${topdir}
2825 })/tests/bootstrap -r3 3>resout "*"
2826 ) >>"$at_stdout" 2>>"$at_stderr"
2827 at_status=$? at_failed=false
2828 $at_check_filter
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
2833 $at_traceon; }
2835 { set +x
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
2841 $at_check_filter
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
2846 $at_traceon; }
2849 cat >expres <<'_ATEOF'
2850 Content-Type: application/X-atf-tcs; version="1"
2852 tcs-count: 1
2853 tc-start: pass
2854 tc-end: pass, passed
2855 _ATEOF
2857 { set +x
2858 $as_echo "$at_srcdir/t_test_program_filter.at:57: \$({
2859 old=\$(pwd)
2860 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2861 cd ..
2862 done
2863 topdir=\$(pwd)
2864 cd \${old}
2865 echo \${topdir}
2866 })/tests/bootstrap/h_\${h} \\
2867 -s \$({
2868 old=\$(pwd)
2869 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2870 cd ..
2871 done
2872 topdir=\$(pwd)
2873 cd \${old}
2874 echo \${topdir}
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; $({
2878 old=$(pwd)
2879 while test $(pwd) != '/' -a ! -e ./Makefile; do
2880 cd ..
2881 done
2882 topdir=$(pwd)
2883 cd ${old}
2884 echo ${topdir}
2885 })/tests/bootstrap/h_${h} \
2886 -s $({
2887 old=$(pwd)
2888 while test $(pwd) != '/' -a ! -e ./Makefile; do
2889 cd ..
2890 done
2891 topdir=$(pwd)
2892 cd ${old}
2893 echo ${topdir}
2894 })/tests/bootstrap -r3 pass 3>resout
2895 ) >>"$at_stdout" 2>>"$at_stderr"
2896 at_status=$? at_failed=false
2897 $at_check_filter
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
2902 $at_traceon; }
2904 { set +x
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
2910 $at_check_filter
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
2915 $at_traceon; }
2918 cat >expres <<'_ATEOF'
2919 Content-Type: application/X-atf-tcs; version="1"
2921 tcs-count: 2
2922 tc-start: pass
2923 tc-end: pass, passed
2924 tc-start: pass
2925 tc-end: pass, passed
2926 _ATEOF
2928 { set +x
2929 $as_echo "$at_srcdir/t_test_program_filter.at:68: \$({
2930 old=\$(pwd)
2931 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2932 cd ..
2933 done
2934 topdir=\$(pwd)
2935 cd \${old}
2936 echo \${topdir}
2937 })/tests/bootstrap/h_\${h} \\
2938 -s \$({
2939 old=\$(pwd)
2940 while test \$(pwd) != '/' -a ! -e ./Makefile; do
2941 cd ..
2942 done
2943 topdir=\$(pwd)
2944 cd \${old}
2945 echo \${topdir}
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; $({
2949 old=$(pwd)
2950 while test $(pwd) != '/' -a ! -e ./Makefile; do
2951 cd ..
2952 done
2953 topdir=$(pwd)
2954 cd ${old}
2955 echo ${topdir}
2956 })/tests/bootstrap/h_${h} \
2957 -s $({
2958 old=$(pwd)
2959 while test $(pwd) != '/' -a ! -e ./Makefile; do
2960 cd ..
2961 done
2962 topdir=$(pwd)
2963 cd ${old}
2964 echo ${topdir}
2965 })/tests/bootstrap -r3 pass "p*" 3>resout
2966 ) >>"$at_stdout" 2>>"$at_stderr"
2967 at_status=$? at_failed=false
2968 $at_check_filter
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
2973 $at_traceon; }
2975 { set +x
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
2981 $at_check_filter
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
2986 $at_traceon; }
2989 cat >expres <<'_ATEOF'
2990 Content-Type: application/X-atf-tcs; version="1"
2992 tcs-count: 1
2993 tc-start: skip
2994 tc-end: skip, skipped, By design
2995 _ATEOF
2997 { set +x
2998 $as_echo "$at_srcdir/t_test_program_filter.at:77: \$({
2999 old=\$(pwd)
3000 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3001 cd ..
3002 done
3003 topdir=\$(pwd)
3004 cd \${old}
3005 echo \${topdir}
3006 })/tests/bootstrap/h_\${h} \\
3007 -s \$({
3008 old=\$(pwd)
3009 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3010 cd ..
3011 done
3012 topdir=\$(pwd)
3013 cd \${old}
3014 echo \${topdir}
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; $({
3018 old=$(pwd)
3019 while test $(pwd) != '/' -a ! -e ./Makefile; do
3020 cd ..
3021 done
3022 topdir=$(pwd)
3023 cd ${old}
3024 echo ${topdir}
3025 })/tests/bootstrap/h_${h} \
3026 -s $({
3027 old=$(pwd)
3028 while test $(pwd) != '/' -a ! -e ./Makefile; do
3029 cd ..
3030 done
3031 topdir=$(pwd)
3032 cd ${old}
3033 echo ${topdir}
3034 })/tests/bootstrap -r3 skip 3>resout
3035 ) >>"$at_stdout" 2>>"$at_stderr"
3036 at_status=$? at_failed=false
3037 $at_check_filter
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
3042 $at_traceon; }
3044 { set +x
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
3050 $at_check_filter
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
3055 $at_traceon; }
3058 cat >expres <<'_ATEOF'
3059 Content-Type: application/X-atf-tcs; version="1"
3061 tcs-count: 2
3062 tc-start: fail
3063 tc-end: fail, failed, On purpose
3064 tc-start: default
3065 tc-end: default, passed
3066 _ATEOF
3068 { set +x
3069 $as_echo "$at_srcdir/t_test_program_filter.at:88: \$({
3070 old=\$(pwd)
3071 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3072 cd ..
3073 done
3074 topdir=\$(pwd)
3075 cd \${old}
3076 echo \${topdir}
3077 })/tests/bootstrap/h_\${h} \\
3078 -s \$({
3079 old=\$(pwd)
3080 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3081 cd ..
3082 done
3083 topdir=\$(pwd)
3084 cd \${old}
3085 echo \${topdir}
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; $({
3089 old=$(pwd)
3090 while test $(pwd) != '/' -a ! -e ./Makefile; do
3091 cd ..
3092 done
3093 topdir=$(pwd)
3094 cd ${old}
3095 echo ${topdir}
3096 })/tests/bootstrap/h_${h} \
3097 -s $({
3098 old=$(pwd)
3099 while test $(pwd) != '/' -a ! -e ./Makefile; do
3100 cd ..
3101 done
3102 topdir=$(pwd)
3103 cd ${old}
3104 echo ${topdir}
3105 })/tests/bootstrap -r3 "*f*" 3>resout
3106 ) >>"$at_stdout" 2>>"$at_stderr"
3107 at_status=$? at_failed=false
3108 $at_check_filter
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
3113 $at_traceon; }
3115 { set +x
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
3121 $at_check_filter
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
3126 $at_traceon; }
3129 done
3131 set +x
3132 $at_times_p && times >"$at_times_file"
3133 ) 5>&1 2>&1 | eval $at_tee_pipe
3134 read at_status <"$at_status_file"
3135 #AT_STOP_3
3136 #AT_START_4
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"
3142 at_xfail=no
3143 echo "# -*- compilation -*-" >> "$at_group_log"
3145 $as_echo "4. t_test_program_run.at:30: testing ..."
3146 $at_traceon
3149 for h in tp_basic_c tp_basic_cpp tp_basic_sh; do
3151 { set +x
3152 $as_echo "$at_srcdir/t_test_program_run.at:34: \$({
3153 old=\$(pwd)
3154 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3155 cd ..
3156 done
3157 topdir=\$(pwd)
3158 cd \${old}
3159 echo \${topdir}
3160 })/tests/bootstrap/h_\${h} \\
3161 -s \$({
3162 old=\$(pwd)
3163 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3164 cd ..
3165 done
3166 topdir=\$(pwd)
3167 cd \${old}
3168 echo \${topdir}
3169 })/tests/bootstrap"
3170 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_test_program_run.at:34"
3171 ( $at_check_trace; $({
3172 old=$(pwd)
3173 while test $(pwd) != '/' -a ! -e ./Makefile; do
3174 cd ..
3175 done
3176 topdir=$(pwd)
3177 cd ${old}
3178 echo ${topdir}
3179 })/tests/bootstrap/h_${h} \
3180 -s $({
3181 old=$(pwd)
3182 while test $(pwd) != '/' -a ! -e ./Makefile; do
3183 cd ..
3184 done
3185 topdir=$(pwd)
3186 cd ${old}
3187 echo ${topdir}
3188 })/tests/bootstrap
3189 ) >>"$at_stdout" 2>>"$at_stderr"
3190 at_status=$? at_failed=false
3191 $at_check_filter
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
3196 $at_traceon; }
3198 { set +x
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
3204 $at_check_filter
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
3209 $at_traceon; }
3211 { set +x
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
3217 $at_check_filter
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
3222 $at_traceon; }
3224 { set +x
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
3230 $at_check_filter
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
3235 $at_traceon; }
3237 { set +x
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
3243 $at_check_filter
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
3248 $at_traceon; }
3250 { set +x
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
3256 $at_check_filter
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
3261 $at_traceon; }
3263 { set +x
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
3269 $at_check_filter
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
3274 $at_traceon; }
3277 { set +x
3278 $as_echo "$at_srcdir/t_test_program_run.at:44: \$({
3279 old=\$(pwd)
3280 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3281 cd ..
3282 done
3283 topdir=\$(pwd)
3284 cd \${old}
3285 echo \${topdir}
3286 })/tests/bootstrap/h_\${h} \\
3287 -s \$({
3288 old=\$(pwd)
3289 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3290 cd ..
3291 done
3292 topdir=\$(pwd)
3293 cd \${old}
3294 echo \${topdir}
3295 })/tests/bootstrap -r1"
3296 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_test_program_run.at:44"
3297 ( $at_check_trace; $({
3298 old=$(pwd)
3299 while test $(pwd) != '/' -a ! -e ./Makefile; do
3300 cd ..
3301 done
3302 topdir=$(pwd)
3303 cd ${old}
3304 echo ${topdir}
3305 })/tests/bootstrap/h_${h} \
3306 -s $({
3307 old=$(pwd)
3308 while test $(pwd) != '/' -a ! -e ./Makefile; do
3309 cd ..
3310 done
3311 topdir=$(pwd)
3312 cd ${old}
3313 echo ${topdir}
3314 })/tests/bootstrap -r1
3315 ) >>"$at_stdout" 2>>"$at_stderr"
3316 at_status=$? at_failed=false
3317 $at_check_filter
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
3322 $at_traceon; }
3324 { set +x
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
3330 $at_check_filter
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
3335 $at_traceon; }
3337 { set +x
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
3343 $at_check_filter
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
3348 $at_traceon; }
3350 { set +x
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
3356 $at_check_filter
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
3361 $at_traceon; }
3363 { set +x
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
3369 $at_check_filter
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
3374 $at_traceon; }
3376 { set +x
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
3382 $at_check_filter
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
3387 $at_traceon; }
3389 { set +x
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
3395 $at_check_filter
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
3400 $at_traceon; }
3403 { set +x
3404 $as_echo "$at_srcdir/t_test_program_run.at:53: \$({
3405 old=\$(pwd)
3406 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3407 cd ..
3408 done
3409 topdir=\$(pwd)
3410 cd \${old}
3411 echo \${topdir}
3412 })/tests/bootstrap/h_\${h} \\
3413 -s \$({
3414 old=\$(pwd)
3415 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3416 cd ..
3417 done
3418 topdir=\$(pwd)
3419 cd \${old}
3420 echo \${topdir}
3421 })/tests/bootstrap -r2"
3422 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_test_program_run.at:53"
3423 ( $at_check_trace; $({
3424 old=$(pwd)
3425 while test $(pwd) != '/' -a ! -e ./Makefile; do
3426 cd ..
3427 done
3428 topdir=$(pwd)
3429 cd ${old}
3430 echo ${topdir}
3431 })/tests/bootstrap/h_${h} \
3432 -s $({
3433 old=$(pwd)
3434 while test $(pwd) != '/' -a ! -e ./Makefile; do
3435 cd ..
3436 done
3437 topdir=$(pwd)
3438 cd ${old}
3439 echo ${topdir}
3440 })/tests/bootstrap -r2
3441 ) >>"$at_stdout" 2>>"$at_stderr"
3442 at_status=$? at_failed=false
3443 $at_check_filter
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
3448 $at_traceon; }
3450 { set +x
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
3456 $at_check_filter
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
3461 $at_traceon; }
3463 { set +x
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
3469 $at_check_filter
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
3474 $at_traceon; }
3476 { set +x
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
3482 $at_check_filter
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
3487 $at_traceon; }
3489 { set +x
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
3495 $at_check_filter
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
3500 $at_traceon; }
3502 { set +x
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
3508 $at_check_filter
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
3513 $at_traceon; }
3515 { set +x
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
3521 $at_check_filter
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
3526 $at_traceon; }
3529 cat >expres <<'_ATEOF'
3530 Content-Type: application/X-atf-tcs; version="1"
3532 tcs-count: 4
3533 tc-start: pass
3534 tc-end: pass, passed
3535 tc-start: fail
3536 tc-end: fail, failed, On purpose
3537 tc-start: skip
3538 tc-end: skip, skipped, By design
3539 tc-start: default
3540 tc-end: default, passed
3541 _ATEOF
3543 { set +x
3544 $as_echo "$at_srcdir/t_test_program_run.at:74: \$({
3545 old=\$(pwd)
3546 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3547 cd ..
3548 done
3549 topdir=\$(pwd)
3550 cd \${old}
3551 echo \${topdir}
3552 })/tests/bootstrap/h_\${h} \\
3553 -s \$({
3554 old=\$(pwd)
3555 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3556 cd ..
3557 done
3558 topdir=\$(pwd)
3559 cd \${old}
3560 echo \${topdir}
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; $({
3564 old=$(pwd)
3565 while test $(pwd) != '/' -a ! -e ./Makefile; do
3566 cd ..
3567 done
3568 topdir=$(pwd)
3569 cd ${old}
3570 echo ${topdir}
3571 })/tests/bootstrap/h_${h} \
3572 -s $({
3573 old=$(pwd)
3574 while test $(pwd) != '/' -a ! -e ./Makefile; do
3575 cd ..
3576 done
3577 topdir=$(pwd)
3578 cd ${old}
3579 echo ${topdir}
3580 })/tests/bootstrap -r3 3>resout
3581 ) >>"$at_stdout" 2>>"$at_stderr"
3582 at_status=$? at_failed=false
3583 $at_check_filter
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
3588 $at_traceon; }
3590 { set +x
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
3596 $at_check_filter
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
3601 $at_traceon; }
3603 { set +x
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
3609 $at_check_filter
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
3614 $at_traceon; }
3616 { set +x
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
3622 $at_check_filter
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
3627 $at_traceon; }
3630 cat >expres <<'_ATEOF'
3631 Content-Type: application/X-atf-tcs; version="1"
3633 tcs-count: 1
3634 tc-start: pass
3635 tc-end: pass, passed
3636 _ATEOF
3638 { set +x
3639 $as_echo "$at_srcdir/t_test_program_run.at:85: \$({
3640 old=\$(pwd)
3641 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3642 cd ..
3643 done
3644 topdir=\$(pwd)
3645 cd \${old}
3646 echo \${topdir}
3647 })/tests/bootstrap/h_\${h} \\
3648 -s \$({
3649 old=\$(pwd)
3650 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3651 cd ..
3652 done
3653 topdir=\$(pwd)
3654 cd \${old}
3655 echo \${topdir}
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; $({
3659 old=$(pwd)
3660 while test $(pwd) != '/' -a ! -e ./Makefile; do
3661 cd ..
3662 done
3663 topdir=$(pwd)
3664 cd ${old}
3665 echo ${topdir}
3666 })/tests/bootstrap/h_${h} \
3667 -s $({
3668 old=$(pwd)
3669 while test $(pwd) != '/' -a ! -e ./Makefile; do
3670 cd ..
3671 done
3672 topdir=$(pwd)
3673 cd ${old}
3674 echo ${topdir}
3675 })/tests/bootstrap -r3 pass 3>resout
3676 ) >>"$at_stdout" 2>>"$at_stderr"
3677 at_status=$? at_failed=false
3678 $at_check_filter
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
3683 $at_traceon; }
3685 { set +x
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
3691 $at_check_filter
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
3696 $at_traceon; }
3698 { set +x
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
3704 $at_check_filter
3705 at_fn_diff_devnull "$at_stderr" || at_failed=:
3706 at_fn_diff_devnull "$at_stdout" || at_failed=:
3707 at_fn_check_status 1 $at_status "$at_srcdir/t_test_program_run.at:87"
3708 $at_failed && at_fn_log_failure
3709 $at_traceon; }
3711 { set +x
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
3717 $at_check_filter
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
3722 $at_traceon; }
3725 cat >expres <<'_ATEOF'
3726 Content-Type: application/X-atf-tcs; version="1"
3728 tcs-count: 1
3729 tc-start: fail
3730 tc-end: fail, failed, On purpose
3731 _ATEOF
3733 { set +x
3734 $as_echo "$at_srcdir/t_test_program_run.at:96: \$({
3735 old=\$(pwd)
3736 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3737 cd ..
3738 done
3739 topdir=\$(pwd)
3740 cd \${old}
3741 echo \${topdir}
3742 })/tests/bootstrap/h_\${h} \\
3743 -s \$({
3744 old=\$(pwd)
3745 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3746 cd ..
3747 done
3748 topdir=\$(pwd)
3749 cd \${old}
3750 echo \${topdir}
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; $({
3754 old=$(pwd)
3755 while test $(pwd) != '/' -a ! -e ./Makefile; do
3756 cd ..
3757 done
3758 topdir=$(pwd)
3759 cd ${old}
3760 echo ${topdir}
3761 })/tests/bootstrap/h_${h} \
3762 -s $({
3763 old=$(pwd)
3764 while test $(pwd) != '/' -a ! -e ./Makefile; do
3765 cd ..
3766 done
3767 topdir=$(pwd)
3768 cd ${old}
3769 echo ${topdir}
3770 })/tests/bootstrap -r3 fail 3>resout
3771 ) >>"$at_stdout" 2>>"$at_stderr"
3772 at_status=$? at_failed=false
3773 $at_check_filter
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
3778 $at_traceon; }
3780 { set +x
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
3786 $at_check_filter
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
3791 $at_traceon; }
3793 { set +x
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
3799 $at_check_filter
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
3804 $at_traceon; }
3806 { set +x
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
3812 $at_check_filter
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
3817 $at_traceon; }
3820 cat >expres <<'_ATEOF'
3821 Content-Type: application/X-atf-tcs; version="1"
3823 tcs-count: 1
3824 tc-start: skip
3825 tc-end: skip, skipped, By design
3826 _ATEOF
3828 { set +x
3829 $as_echo "$at_srcdir/t_test_program_run.at:107: \$({
3830 old=\$(pwd)
3831 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3832 cd ..
3833 done
3834 topdir=\$(pwd)
3835 cd \${old}
3836 echo \${topdir}
3837 })/tests/bootstrap/h_\${h} \\
3838 -s \$({
3839 old=\$(pwd)
3840 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3841 cd ..
3842 done
3843 topdir=\$(pwd)
3844 cd \${old}
3845 echo \${topdir}
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; $({
3849 old=$(pwd)
3850 while test $(pwd) != '/' -a ! -e ./Makefile; do
3851 cd ..
3852 done
3853 topdir=$(pwd)
3854 cd ${old}
3855 echo ${topdir}
3856 })/tests/bootstrap/h_${h} \
3857 -s $({
3858 old=$(pwd)
3859 while test $(pwd) != '/' -a ! -e ./Makefile; do
3860 cd ..
3861 done
3862 topdir=$(pwd)
3863 cd ${old}
3864 echo ${topdir}
3865 })/tests/bootstrap -r3 skip 3>resout
3866 ) >>"$at_stdout" 2>>"$at_stderr"
3867 at_status=$? at_failed=false
3868 $at_check_filter
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
3873 $at_traceon; }
3875 { set +x
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
3881 $at_check_filter
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
3886 $at_traceon; }
3888 { set +x
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
3894 $at_check_filter
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
3899 $at_traceon; }
3901 { set +x
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
3907 $at_check_filter
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
3912 $at_traceon; }
3915 done
3917 set +x
3918 $at_times_p && times >"$at_times_file"
3919 ) 5>&1 2>&1 | eval $at_tee_pipe
3920 read at_status <"$at_status_file"
3921 #AT_STOP_4
3922 #AT_START_5
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"
3928 at_xfail=no
3929 echo "# -*- compilation -*-" >> "$at_group_log"
3931 $as_echo "5. t_test_program_list.at:30: testing ..."
3932 $at_traceon
3935 for h in tp_basic_c tp_basic_cpp tp_basic_sh; do
3937 { set +x
3938 $as_echo "$at_srcdir/t_test_program_list.at:34: \$({
3939 old=\$(pwd)
3940 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3941 cd ..
3942 done
3943 topdir=\$(pwd)
3944 cd \${old}
3945 echo \${topdir}
3946 })/tests/bootstrap/h_\${h} \\
3947 -s \$({
3948 old=\$(pwd)
3949 while test \$(pwd) != '/' -a ! -e ./Makefile; do
3950 cd ..
3951 done
3952 topdir=\$(pwd)
3953 cd \${old}
3954 echo \${topdir}
3955 })/tests/bootstrap -l"
3956 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_test_program_list.at:34"
3957 ( $at_check_trace; $({
3958 old=$(pwd)
3959 while test $(pwd) != '/' -a ! -e ./Makefile; do
3960 cd ..
3961 done
3962 topdir=$(pwd)
3963 cd ${old}
3964 echo ${topdir}
3965 })/tests/bootstrap/h_${h} \
3966 -s $({
3967 old=$(pwd)
3968 while test $(pwd) != '/' -a ! -e ./Makefile; do
3969 cd ..
3970 done
3971 topdir=$(pwd)
3972 cd ${old}
3973 echo ${topdir}
3974 })/tests/bootstrap -l
3975 ) >>"$at_stdout" 2>>"$at_stderr"
3976 at_status=$? at_failed=false
3977 $at_check_filter
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
3982 $at_traceon; }
3984 { set +x
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
3990 $at_check_filter
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
3995 $at_traceon; }
3997 { set +x
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
4003 $at_check_filter
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
4008 $at_traceon; }
4010 { set +x
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
4016 $at_check_filter
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
4021 $at_traceon; }
4023 { set +x
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
4029 $at_check_filter
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
4034 $at_traceon; }
4036 { set +x
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
4042 $at_check_filter
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
4047 $at_traceon; }
4050 { set +x
4051 $as_echo "$at_srcdir/t_test_program_list.at:41: \$({
4052 old=\$(pwd)
4053 while test \$(pwd) != '/' -a ! -e ./Makefile; do
4054 cd ..
4055 done
4056 topdir=\$(pwd)
4057 cd \${old}
4058 echo \${topdir}
4059 })/tests/bootstrap/h_\${h} \\
4060 -s \$({
4061 old=\$(pwd)
4062 while test \$(pwd) != '/' -a ! -e ./Makefile; do
4063 cd ..
4064 done
4065 topdir=\$(pwd)
4066 cd \${old}
4067 echo \${topdir}
4068 })/tests/bootstrap -l pass"
4069 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_test_program_list.at:41"
4070 ( $at_check_trace; $({
4071 old=$(pwd)
4072 while test $(pwd) != '/' -a ! -e ./Makefile; do
4073 cd ..
4074 done
4075 topdir=$(pwd)
4076 cd ${old}
4077 echo ${topdir}
4078 })/tests/bootstrap/h_${h} \
4079 -s $({
4080 old=$(pwd)
4081 while test $(pwd) != '/' -a ! -e ./Makefile; do
4082 cd ..
4083 done
4084 topdir=$(pwd)
4085 cd ${old}
4086 echo ${topdir}
4087 })/tests/bootstrap -l pass
4088 ) >>"$at_stdout" 2>>"$at_stderr"
4089 at_status=$? at_failed=false
4090 $at_check_filter
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
4095 $at_traceon; }
4097 { set +x
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
4103 $at_check_filter
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
4108 $at_traceon; }
4110 { set +x
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
4116 $at_check_filter
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
4121 $at_traceon; }
4124 done
4126 set +x
4127 $at_times_p && times >"$at_times_file"
4128 ) 5>&1 2>&1 | eval $at_tee_pipe
4129 read at_status <"$at_status_file"
4130 #AT_STOP_5
4131 #AT_START_6
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"
4137 at_xfail=no
4138 echo "# -*- compilation -*-" >> "$at_group_log"
4140 $as_echo "6. t_atf_format.at:30: testing ..."
4141 $at_traceon
4145 call_atf_format()
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.
4154 _ATEOF
4157 cat >expout <<'_ATEOF'
4158 This is a single-line text message to be formatted.
4159 _ATEOF
4161 { set +x
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
4167 $at_check_filter
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
4172 $at_traceon; }
4175 cat >expout <<'_ATEOF'
4176 tag This is a single-line text message to be formatted.
4177 _ATEOF
4179 { set +x
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
4185 $at_check_filter
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
4190 $at_traceon; }
4192 { set +x
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
4198 $at_check_filter
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
4203 $at_traceon; }
4206 cat >expout <<'_ATEOF'
4207 This is a single-line
4208 text message to be
4209 formatted.
4210 _ATEOF
4212 { set +x
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
4218 $at_check_filter
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
4223 $at_traceon; }
4226 cat >expout <<'_ATEOF'
4227 tag This is a single-line
4228 text message to be
4229 formatted.
4230 _ATEOF
4232 { set +x
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
4238 $at_check_filter
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
4243 $at_traceon; }
4245 { set +x
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
4251 $at_check_filter
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
4256 $at_traceon; }
4259 cat >expout <<'_ATEOF'
4260 tag This
4263 single-line
4264 text
4265 message
4268 formatted.
4269 _ATEOF
4271 { set +x
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
4277 $at_check_filter
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
4282 $at_traceon; }
4284 { set +x
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
4290 $at_check_filter
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
4295 $at_traceon; }
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.
4302 _ATEOF
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.
4309 _ATEOF
4311 { set +x
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
4317 $at_check_filter
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
4322 $at_traceon; }
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.
4329 _ATEOF
4331 { set +x
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
4337 $at_check_filter
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
4342 $at_traceon; }
4344 { set +x
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
4350 $at_check_filter
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
4355 $at_traceon; }
4358 cat >expout <<'_ATEOF'
4359 This is a multi-line
4360 text message to be
4361 formatted.
4363 And this is the
4364 second line, or
4365 better said
4366 paragraph.
4367 _ATEOF
4369 { set +x
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
4375 $at_check_filter
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
4380 $at_traceon; }
4383 cat >expout <<'_ATEOF'
4384 tag This is a multi-line
4385 text message to be
4386 formatted.
4388 And this is the
4389 second line, or
4390 better said
4391 paragraph.
4392 _ATEOF
4394 { set +x
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
4400 $at_check_filter
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
4405 $at_traceon; }
4407 { set +x
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
4413 $at_check_filter
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
4418 $at_traceon; }
4421 cat >expout <<'_ATEOF'
4422 tag This
4425 multi-line
4426 text
4427 message
4430 formatted.
4433 this
4436 second
4437 line,
4439 better
4440 said
4441 paragraph.
4442 _ATEOF
4444 { set +x
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
4450 $at_check_filter
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
4455 $at_traceon; }
4457 { set +x
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
4463 $at_check_filter
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
4468 $at_traceon; }
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.
4473 _ATEOF
4475 cp text expout
4477 { set +x
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
4483 $at_check_filter
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
4488 $at_traceon; }
4491 set +x
4492 $at_times_p && times >"$at_times_file"
4493 ) 5>&1 2>&1 | eval $at_tee_pipe
4494 read at_status <"$at_status_file"
4495 #AT_STOP_6
4496 #AT_START_7
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"
4502 at_xfail=no
4503 echo "# -*- compilation -*-" >> "$at_group_log"
4505 $as_echo "7. t_atf_config.at:30: testing ..."
4506 $at_traceon
4510 all_vars="atf_arch \
4511 atf_build_cc \
4512 atf_build_cflags \
4513 atf_build_cpp \
4514 atf_build_cppflags \
4515 atf_build_cxx \
4516 atf_build_cxxflags \
4517 atf_confdir \
4518 atf_includedir \
4519 atf_libdir \
4520 atf_libexecdir \
4521 atf_machine \
4522 atf_m4 \
4523 atf_pkgdatadir \
4524 atf_shell \
4525 atf_workdir"
4526 all_vars_no=16
4528 { set +x
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
4534 $at_check_filter
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
4539 $at_traceon; }
4541 { set +x
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
4547 $at_check_filter
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
4552 $at_traceon; }
4554 for v in ${all_vars}; do
4555 { set +x
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
4561 $at_check_filter
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
4566 $at_traceon; }
4568 done
4570 for v in ${all_vars}; do
4571 { set +x
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
4577 $at_check_filter
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
4582 $at_traceon; }
4584 { set +x
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
4590 $at_check_filter
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
4595 $at_traceon; }
4597 { set +x
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
4603 $at_check_filter
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
4608 $at_traceon; }
4610 { set +x
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
4616 $at_check_filter
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
4621 $at_traceon; }
4623 { set +x
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
4629 $at_check_filter
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
4634 $at_traceon; }
4636 { set +x
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
4642 $at_check_filter
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
4647 $at_traceon; }
4649 done
4651 { set +x
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
4657 $at_check_filter
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
4662 $at_traceon; }
4664 { set +x
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
4670 $at_check_filter
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
4675 $at_traceon; }
4677 { set +x
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
4683 $at_check_filter
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
4688 $at_traceon; }
4690 { set +x
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
4696 $at_check_filter
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
4701 $at_traceon; }
4704 { set +x
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
4710 $at_check_filter
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
4715 $at_traceon; }
4717 { set +x
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
4723 $at_check_filter
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
4728 $at_traceon; }
4731 for v in ${all_vars}; do
4732 { set +x
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
4738 $at_check_filter
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
4743 $at_traceon; }
4745 { set +x
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
4751 $at_check_filter
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
4756 $at_traceon; }
4758 { set +x
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
4764 $at_check_filter
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
4769 $at_traceon; }
4771 { set +x
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
4777 $at_check_filter
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
4782 $at_traceon; }
4784 done
4786 for v in ${all_vars}; do
4787 V=$(echo ${v} | tr '[a-z]' '[A-Z]')
4788 { set +x
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
4794 $at_check_filter
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
4799 $at_traceon; }
4801 { set +x
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
4807 $at_check_filter
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
4812 $at_traceon; }
4815 { set +x
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
4821 $at_check_filter
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
4826 $at_traceon; }
4828 { set +x
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
4834 $at_check_filter
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
4839 $at_traceon; }
4841 { set +x
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
4847 $at_check_filter
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
4852 $at_traceon; }
4854 { set +x
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
4860 $at_check_filter
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
4865 $at_traceon; }
4868 { set +x
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
4874 $at_check_filter
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
4879 $at_traceon; }
4881 { set +x
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
4887 $at_check_filter
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
4892 $at_traceon; }
4895 { set +x
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
4901 $at_check_filter
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
4906 $at_traceon; }
4908 { set +x
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
4914 $at_check_filter
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
4919 $at_traceon; }
4921 done
4923 set +x
4924 $at_times_p && times >"$at_times_file"
4925 ) 5>&1 2>&1 | eval $at_tee_pipe
4926 read at_status <"$at_status_file"
4927 #AT_STOP_7
4928 #AT_START_8
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"
4934 at_xfail=no
4935 echo "# -*- compilation -*-" >> "$at_group_log"
4937 $as_echo "8. t_atf_run.at:30: testing ..."
4938 $at_traceon
4947 { set +x
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
4953 $at_check_filter
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
4958 $at_traceon; }
4960 { set +x
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
4966 $at_check_filter
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
4971 $at_traceon; }
4973 { set +x
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
4979 $at_check_filter
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
4984 $at_traceon; }
4986 cat >top/Atffile <<'_ATEOF'
4987 Content-Type: application/X-atf-atffile; version="1"
4989 prop: test-suite = atf
4991 tp: dir1
4992 tp: dir2
4993 tp: test1
4994 tp: test2
4995 _ATEOF
4997 cat >top/dir1/Atffile <<'_ATEOF'
4998 Content-Type: application/X-atf-atffile; version="1"
5000 prop: test-suite = atf
5002 tp: test3
5003 _ATEOF
5005 cat >top/dir2/Atffile <<'_ATEOF'
5006 Content-Type: application/X-atf-atffile; version="1"
5008 prop: test-suite = atf
5010 tp: test4
5011 tp: test5
5012 _ATEOF
5014 cat >top/test1 <<EOF
5015 #! $(atf-config -t atf_shell)
5016 echo "Content-Type: application/X-atf-tcs; version=\"1\"" >&9
5017 echo "" >&9
5018 echo 'tcs-count: 1' >&9
5019 echo 'tc-start: tc_1' >&9
5020 echo ignore-me
5021 echo ignore-me >&2
5022 echo 'tc-end: tc_1, passed' >&9
5023 true
5025 { set +x
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
5031 $at_check_filter
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
5036 $at_traceon; }
5039 cat >top/test2 <<EOF
5040 #! $(atf-config -t atf_shell)
5041 echo "Content-Type: application/X-atf-tcs; version=\"1\"" >&9
5042 echo "" >&9
5043 echo 'tcs-count: 1' >&9
5044 echo 'tc-start: tc_2' >&9
5045 echo ignore-me
5046 echo ignore-me >&2
5047 echo 'tc-end: tc_2, failed, No reason' >&9
5048 false
5050 { set +x
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
5056 $at_check_filter
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
5061 $at_traceon; }
5064 cat >top/dir1/test3 <<EOF
5065 #! $(atf-config -t atf_shell)
5066 echo "Content-Type: application/X-atf-tcs; version=\"1\"" >&9
5067 echo "" >&9
5068 echo 'tcs-count: 1' >&9
5069 echo 'tc-start: tc_3' >&9
5070 echo ignore-me
5071 echo ignore-me >&2
5072 echo 'tc-end: tc_3, passed' >&9
5073 true
5075 { set +x
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/dir1/test3
5079 ) >>"$at_stdout" 2>>"$at_stderr"
5080 at_status=$? at_failed=false
5081 $at_check_filter
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
5086 $at_traceon; }
5089 cat >top/dir2/test4 <<EOF
5090 #! $(atf-config -t atf_shell)
5091 echo "Content-Type: application/X-atf-tcs; version=\"1\"" >&9
5092 echo "" >&9
5093 echo 'tcs-count: 1' >&9
5094 echo 'tc-start: tc_4' >&9
5095 echo ignore-me
5096 echo ignore-me >&2
5097 echo 'tc-end: tc_4, failed, No reason' >&9
5098 false
5100 { set +x
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/dir2/test4
5104 ) >>"$at_stdout" 2>>"$at_stderr"
5105 at_status=$? at_failed=false
5106 $at_check_filter
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
5111 $at_traceon; }
5114 cat >top/dir2/test5 <<EOF
5115 #! $(atf-config -t atf_shell)
5116 echo "Content-Type: application/X-atf-tcs; version=\"1\"" >&9
5117 echo "" >&9
5118 echo 'tcs-count: 1' >&9
5119 echo 'tc-start: tc_5' >&9
5120 echo ignore-me
5121 echo ignore-me >&2
5122 echo 'tc-end: tc_5, passed' >&9
5123 true
5125 { set +x
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/dir2/test5
5129 ) >>"$at_stdout" 2>>"$at_stderr"
5130 at_status=$? at_failed=false
5131 $at_check_filter
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
5136 $at_traceon; }
5140 { set +x
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
5146 $at_check_filter
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
5151 $at_traceon; }
5153 { set +x
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
5159 $at_check_filter
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
5164 $at_traceon; }
5166 { set +x
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
5172 $at_check_filter
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
5177 $at_traceon; }
5179 { set +x
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
5185 $at_check_filter
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
5190 $at_traceon; }
5192 { set +x
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
5198 $at_check_filter
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
5203 $at_traceon; }
5206 { set +x
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
5212 $at_check_filter
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
5217 $at_traceon; }
5219 { set +x
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
5225 $at_check_filter
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
5230 $at_traceon; }
5232 { set +x
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
5238 $at_check_filter
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
5243 $at_traceon; }
5245 { set +x
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
5251 $at_check_filter
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
5256 $at_traceon; }
5258 { set +x
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
5264 $at_check_filter
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
5269 $at_traceon; }
5271 { set +x
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
5277 $at_check_filter
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
5282 $at_traceon; }
5285 { set +x
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
5291 $at_check_filter
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
5296 $at_traceon; }
5298 { set +x
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
5304 $at_check_filter
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
5309 $at_traceon; }
5311 { set +x
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
5317 $at_check_filter
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
5322 $at_traceon; }
5324 { set +x
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
5330 $at_check_filter
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
5335 $at_traceon; }
5337 { set +x
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
5343 $at_check_filter
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
5348 $at_traceon; }
5350 { set +x
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
5356 $at_check_filter
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
5361 $at_traceon; }
5363 { set +x
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
5369 $at_check_filter
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
5374 $at_traceon; }
5376 { set +x
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
5382 $at_check_filter
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
5387 $at_traceon; }
5390 cat >top/Atffile <<'_ATEOF'
5391 Content-Type: application/X-atf-atffile; version="1"
5393 prop: test-suite = atf
5395 tp-glob: *
5396 _ATEOF
5398 { set +x
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
5404 $at_check_filter
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
5409 $at_traceon; }
5411 { set +x
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
5417 $at_check_filter
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
5422 $at_traceon; }
5424 { set +x
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
5430 $at_check_filter
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
5435 $at_traceon; }
5437 { set +x
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
5443 $at_check_filter
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
5448 $at_traceon; }
5450 { set +x
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
5456 $at_check_filter
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
5461 $at_traceon; }
5463 { set +x
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
5469 $at_check_filter
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
5474 $at_traceon; }
5476 { set +x
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
5482 $at_check_filter
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
5487 $at_traceon; }
5489 { set +x
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
5495 $at_check_filter
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
5500 $at_traceon; }
5503 cat >top/Atffile <<'_ATEOF'
5504 Content-Type: application/X-atf-atffile; version="1"
5506 prop: test-suite = atf
5508 tp-glob: d*
5509 _ATEOF
5511 { set +x
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
5517 $at_check_filter
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
5522 $at_traceon; }
5524 { set +x
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
5530 $at_check_filter
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
5535 $at_traceon; }
5537 { set +x
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
5543 $at_check_filter
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
5548 $at_traceon; }
5550 { set +x
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
5556 $at_check_filter
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
5561 $at_traceon; }
5563 { set +x
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
5569 $at_check_filter
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
5574 $at_traceon; }
5576 { set +x
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
5582 $at_check_filter
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
5587 $at_traceon; }
5590 { set +x
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
5596 $at_check_filter
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
5601 $at_traceon; }
5603 { set +x
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
5609 $at_check_filter
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
5614 $at_traceon; }
5616 cat >top/test1 <<EOF
5617 #! $(atf-config -t atf_shell)
5618 echo "Content-Type: application/X-atf-tcs; version=\"1\"" >&9
5619 echo "" >&9
5620 echo 'tcs-count: 1' >&9
5621 echo 'tc-start: tc_1' >&9
5622 echo ignore-me
5623 echo ignore-me >&2
5624 echo 'tc-end: tc_1, passed' >&9
5625 true
5627 { set +x
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
5633 $at_check_filter
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
5638 $at_traceon; }
5641 cat >top/test2 <<EOF
5642 #! $(atf-config -t atf_shell)
5643 echo "Content-Type: application/X-atf-tcs; version=\"1\"" >&9
5644 echo "" >&9
5645 echo 'tcs-count: 1' >&9
5646 echo 'tc-start: tc_2' >&9
5647 echo ignore-me
5648 echo ignore-me >&2
5649 echo 'tc-end: tc_2, passed' >&9
5650 true
5652 { set +x
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
5658 $at_check_filter
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
5663 $at_traceon; }
5666 cat >top/test3 <<EOF
5667 #! $(atf-config -t atf_shell)
5668 echo "Content-Type: application/X-atf-tcs; version=\"1\"" >&9
5669 echo "" >&9
5670 echo 'tcs-count: 1' >&9
5671 echo 'tc-start: tc_3' >&9
5672 echo ignore-me
5673 echo ignore-me >&2
5674 echo 'tc-end: tc_3, passed' >&9
5675 true
5677 { set +x
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
5683 $at_check_filter
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
5688 $at_traceon; }
5691 { set +x
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
5697 $at_check_filter
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
5702 $at_traceon; }
5704 cat >top/.test4 <<EOF
5705 #! $(atf-config -t atf_shell)
5706 echo "Content-Type: application/X-atf-tcs; version=\"1\"" >&9
5707 echo "" >&9
5708 echo 'tcs-count: 1' >&9
5709 echo 'tc-start: tc_4' >&9
5710 echo ignore-me
5711 echo ignore-me >&2
5712 echo 'tc-end: tc_4, passed' >&9
5713 true
5715 { set +x
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
5721 $at_check_filter
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
5726 $at_traceon; }
5729 { set +x
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
5735 $at_check_filter
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
5740 $at_traceon; }
5742 cat >top/Atffile <<'_ATEOF'
5743 Content-Type: application/X-atf-atffile; version="1"
5745 prop: test-suite = atf
5747 tp-glob: *
5748 _ATEOF
5750 { set +x
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
5756 $at_check_filter
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
5761 $at_traceon; }
5763 { set +x
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
5769 $at_check_filter
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
5774 $at_traceon; }
5776 { set +x
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
5782 $at_check_filter
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
5787 $at_traceon; }
5789 { set +x
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
5795 $at_check_filter
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
5800 $at_traceon; }
5802 { set +x
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
5808 $at_check_filter
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
5813 $at_traceon; }
5816 set +x
5817 $at_times_p && times >"$at_times_file"
5818 ) 5>&1 2>&1 | eval $at_tee_pipe
5819 read at_status <"$at_status_file"
5820 #AT_STOP_8
5821 #AT_START_9
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"
5827 at_xfail=no
5828 echo "# -*- compilation -*-" >> "$at_group_log"
5830 $as_echo "9. t_test_program_compare.at:30: testing ..."
5831 $at_traceon
5834 { set +x
5835 $as_echo "$at_srcdir/t_test_program_compare.at:33: \$({
5836 old=\$(pwd)
5837 while test \$(pwd) != '/' -a ! -e ./Makefile; do
5838 cd ..
5839 done
5840 topdir=\$(pwd)
5841 cd \${old}
5842 echo \${topdir}
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; $({
5846 old=$(pwd)
5847 while test $(pwd) != '/' -a ! -e ./Makefile; do
5848 cd ..
5849 done
5850 topdir=$(pwd)
5851 cd ${old}
5852 echo ${topdir}
5853 })/tests/bootstrap/h_tp_basic_c -h
5854 ) >>"$at_stdout" 2>>"$at_stderr"
5855 at_status=$? at_failed=false
5856 $at_check_filter
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
5861 $at_traceon; }
5863 sed 's,tp_basic_c,tp_basic_cpp,g' <stdout >expout
5864 { set +x
5865 $as_echo "$at_srcdir/t_test_program_compare.at:35: \$({
5866 old=\$(pwd)
5867 while test \$(pwd) != '/' -a ! -e ./Makefile; do
5868 cd ..
5869 done
5870 topdir=\$(pwd)
5871 cd \${old}
5872 echo \${topdir}
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; $({
5876 old=$(pwd)
5877 while test $(pwd) != '/' -a ! -e ./Makefile; do
5878 cd ..
5879 done
5880 topdir=$(pwd)
5881 cd ${old}
5882 echo ${topdir}
5883 })/tests/bootstrap/h_tp_basic_cpp -h
5884 ) >>"$at_stdout" 2>>"$at_stderr"
5885 at_status=$? at_failed=false
5886 $at_check_filter
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
5891 $at_traceon; }
5893 sed 's,tp_basic_c,tp_basic_sh,g' <stdout >expout
5894 { set +x
5895 $as_echo "$at_srcdir/t_test_program_compare.at:37: \$({
5896 old=\$(pwd)
5897 while test \$(pwd) != '/' -a ! -e ./Makefile; do
5898 cd ..
5899 done
5900 topdir=\$(pwd)
5901 cd \${old}
5902 echo \${topdir}
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; $({
5906 old=$(pwd)
5907 while test $(pwd) != '/' -a ! -e ./Makefile; do
5908 cd ..
5909 done
5910 topdir=$(pwd)
5911 cd ${old}
5912 echo ${topdir}
5913 })/tests/bootstrap/h_tp_basic_sh -h
5914 ) >>"$at_stdout" 2>>"$at_stderr"
5915 at_status=$? at_failed=false
5916 $at_check_filter
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
5921 $at_traceon; }
5924 { set +x
5925 $as_echo "$at_srcdir/t_test_program_compare.at:40: COLUMNS=20 \$({
5926 old=\$(pwd)
5927 while test \$(pwd) != '/' -a ! -e ./Makefile; do
5928 cd ..
5929 done
5930 topdir=\$(pwd)
5931 cd \${old}
5932 echo \${topdir}
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 $({
5936 old=$(pwd)
5937 while test $(pwd) != '/' -a ! -e ./Makefile; do
5938 cd ..
5939 done
5940 topdir=$(pwd)
5941 cd ${old}
5942 echo ${topdir}
5943 })/tests/bootstrap/h_tp_basic_c -h
5944 ) >>"$at_stdout" 2>>"$at_stderr"
5945 at_status=$? at_failed=false
5946 $at_check_filter
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
5951 $at_traceon; }
5953 sed 's,tp_basic_c,tp_basic_cpp,g' <stdout >expout
5954 { set +x
5955 $as_echo "$at_srcdir/t_test_program_compare.at:42: COLUMNS=20 \$({
5956 old=\$(pwd)
5957 while test \$(pwd) != '/' -a ! -e ./Makefile; do
5958 cd ..
5959 done
5960 topdir=\$(pwd)
5961 cd \${old}
5962 echo \${topdir}
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 $({
5966 old=$(pwd)
5967 while test $(pwd) != '/' -a ! -e ./Makefile; do
5968 cd ..
5969 done
5970 topdir=$(pwd)
5971 cd ${old}
5972 echo ${topdir}
5973 })/tests/bootstrap/h_tp_basic_cpp -h
5974 ) >>"$at_stdout" 2>>"$at_stderr"
5975 at_status=$? at_failed=false
5976 $at_check_filter
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
5981 $at_traceon; }
5983 sed 's,tp_basic_c,tp_basic_sh,g' <stdout >expout
5984 { set +x
5985 $as_echo "$at_srcdir/t_test_program_compare.at:44: COLUMNS=20 \$({
5986 old=\$(pwd)
5987 while test \$(pwd) != '/' -a ! -e ./Makefile; do
5988 cd ..
5989 done
5990 topdir=\$(pwd)
5991 cd \${old}
5992 echo \${topdir}
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 $({
5996 old=$(pwd)
5997 while test $(pwd) != '/' -a ! -e ./Makefile; do
5998 cd ..
5999 done
6000 topdir=$(pwd)
6001 cd ${old}
6002 echo ${topdir}
6003 })/tests/bootstrap/h_tp_basic_sh -h
6004 ) >>"$at_stdout" 2>>"$at_stderr"
6005 at_status=$? at_failed=false
6006 $at_check_filter
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
6011 $at_traceon; }
6014 { set +x
6015 $as_echo "$at_srcdir/t_test_program_compare.at:47: \$({
6016 old=\$(pwd)
6017 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6018 cd ..
6019 done
6020 topdir=\$(pwd)
6021 cd \${old}
6022 echo \${topdir}
6023 })/tests/bootstrap/h_tp_basic_c \\
6024 -s \$({
6025 old=\$(pwd)
6026 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6027 cd ..
6028 done
6029 topdir=\$(pwd)
6030 cd \${old}
6031 echo \${topdir}
6032 })/tests/bootstrap -h"
6033 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_test_program_compare.at:47"
6034 ( $at_check_trace; $({
6035 old=$(pwd)
6036 while test $(pwd) != '/' -a ! -e ./Makefile; do
6037 cd ..
6038 done
6039 topdir=$(pwd)
6040 cd ${old}
6041 echo ${topdir}
6042 })/tests/bootstrap/h_tp_basic_c \
6043 -s $({
6044 old=$(pwd)
6045 while test $(pwd) != '/' -a ! -e ./Makefile; do
6046 cd ..
6047 done
6048 topdir=$(pwd)
6049 cd ${old}
6050 echo ${topdir}
6051 })/tests/bootstrap -h
6052 ) >>"$at_stdout" 2>>"$at_stderr"
6053 at_status=$? at_failed=false
6054 $at_check_filter
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
6059 $at_traceon; }
6061 sed 's,tp_basic_c,tp_basic_cpp,g' <stderr >experr
6062 { set +x
6063 $as_echo "$at_srcdir/t_test_program_compare.at:49: \$({
6064 old=\$(pwd)
6065 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6066 cd ..
6067 done
6068 topdir=\$(pwd)
6069 cd \${old}
6070 echo \${topdir}
6071 })/tests/bootstrap/h_tp_basic_cpp \\
6072 -s \$({
6073 old=\$(pwd)
6074 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6075 cd ..
6076 done
6077 topdir=\$(pwd)
6078 cd \${old}
6079 echo \${topdir}
6080 })/tests/bootstrap -h"
6081 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_test_program_compare.at:49"
6082 ( $at_check_trace; $({
6083 old=$(pwd)
6084 while test $(pwd) != '/' -a ! -e ./Makefile; do
6085 cd ..
6086 done
6087 topdir=$(pwd)
6088 cd ${old}
6089 echo ${topdir}
6090 })/tests/bootstrap/h_tp_basic_cpp \
6091 -s $({
6092 old=$(pwd)
6093 while test $(pwd) != '/' -a ! -e ./Makefile; do
6094 cd ..
6095 done
6096 topdir=$(pwd)
6097 cd ${old}
6098 echo ${topdir}
6099 })/tests/bootstrap -h
6100 ) >>"$at_stdout" 2>>"$at_stderr"
6101 at_status=$? at_failed=false
6102 $at_check_filter
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
6107 $at_traceon; }
6109 sed 's,tp_basic_c,tp_basic_sh,g' <stderr >experr
6110 { set +x
6111 $as_echo "$at_srcdir/t_test_program_compare.at:51: \$({
6112 old=\$(pwd)
6113 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6114 cd ..
6115 done
6116 topdir=\$(pwd)
6117 cd \${old}
6118 echo \${topdir}
6119 })/tests/bootstrap/h_tp_basic_sh \\
6120 -s \$({
6121 old=\$(pwd)
6122 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6123 cd ..
6124 done
6125 topdir=\$(pwd)
6126 cd \${old}
6127 echo \${topdir}
6128 })/tests/bootstrap -h"
6129 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_test_program_compare.at:51"
6130 ( $at_check_trace; $({
6131 old=$(pwd)
6132 while test $(pwd) != '/' -a ! -e ./Makefile; do
6133 cd ..
6134 done
6135 topdir=$(pwd)
6136 cd ${old}
6137 echo ${topdir}
6138 })/tests/bootstrap/h_tp_basic_sh \
6139 -s $({
6140 old=$(pwd)
6141 while test $(pwd) != '/' -a ! -e ./Makefile; do
6142 cd ..
6143 done
6144 topdir=$(pwd)
6145 cd ${old}
6146 echo ${topdir}
6147 })/tests/bootstrap -h
6148 ) >>"$at_stdout" 2>>"$at_stderr"
6149 at_status=$? at_failed=false
6150 $at_check_filter
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
6155 $at_traceon; }
6158 { set +x
6159 $as_echo "$at_srcdir/t_test_program_compare.at:54: \$({
6160 old=\$(pwd)
6161 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6162 cd ..
6163 done
6164 topdir=\$(pwd)
6165 cd \${old}
6166 echo \${topdir}
6167 })/tests/bootstrap/h_tp_basic_c \\
6168 -s \$({
6169 old=\$(pwd)
6170 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6171 cd ..
6172 done
6173 topdir=\$(pwd)
6174 cd \${old}
6175 echo \${topdir}
6176 })/tests/bootstrap -Z"
6177 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_test_program_compare.at:54"
6178 ( $at_check_trace; $({
6179 old=$(pwd)
6180 while test $(pwd) != '/' -a ! -e ./Makefile; do
6181 cd ..
6182 done
6183 topdir=$(pwd)
6184 cd ${old}
6185 echo ${topdir}
6186 })/tests/bootstrap/h_tp_basic_c \
6187 -s $({
6188 old=$(pwd)
6189 while test $(pwd) != '/' -a ! -e ./Makefile; do
6190 cd ..
6191 done
6192 topdir=$(pwd)
6193 cd ${old}
6194 echo ${topdir}
6195 })/tests/bootstrap -Z
6196 ) >>"$at_stdout" 2>>"$at_stderr"
6197 at_status=$? at_failed=false
6198 $at_check_filter
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
6203 $at_traceon; }
6205 sed 's,tp_basic_c,tp_basic_cpp,g' <stderr >experr
6206 { set +x
6207 $as_echo "$at_srcdir/t_test_program_compare.at:56: \$({
6208 old=\$(pwd)
6209 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6210 cd ..
6211 done
6212 topdir=\$(pwd)
6213 cd \${old}
6214 echo \${topdir}
6215 })/tests/bootstrap/h_tp_basic_cpp \\
6216 -s \$({
6217 old=\$(pwd)
6218 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6219 cd ..
6220 done
6221 topdir=\$(pwd)
6222 cd \${old}
6223 echo \${topdir}
6224 })/tests/bootstrap -Z"
6225 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_test_program_compare.at:56"
6226 ( $at_check_trace; $({
6227 old=$(pwd)
6228 while test $(pwd) != '/' -a ! -e ./Makefile; do
6229 cd ..
6230 done
6231 topdir=$(pwd)
6232 cd ${old}
6233 echo ${topdir}
6234 })/tests/bootstrap/h_tp_basic_cpp \
6235 -s $({
6236 old=$(pwd)
6237 while test $(pwd) != '/' -a ! -e ./Makefile; do
6238 cd ..
6239 done
6240 topdir=$(pwd)
6241 cd ${old}
6242 echo ${topdir}
6243 })/tests/bootstrap -Z
6244 ) >>"$at_stdout" 2>>"$at_stderr"
6245 at_status=$? at_failed=false
6246 $at_check_filter
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
6251 $at_traceon; }
6253 sed 's,tp_basic_c,tp_basic_sh,g' <stderr >experr
6254 { set +x
6255 $as_echo "$at_srcdir/t_test_program_compare.at:58: \$({
6256 old=\$(pwd)
6257 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6258 cd ..
6259 done
6260 topdir=\$(pwd)
6261 cd \${old}
6262 echo \${topdir}
6263 })/tests/bootstrap/h_tp_basic_sh \\
6264 -s \$({
6265 old=\$(pwd)
6266 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6267 cd ..
6268 done
6269 topdir=\$(pwd)
6270 cd \${old}
6271 echo \${topdir}
6272 })/tests/bootstrap -Z"
6273 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_test_program_compare.at:58"
6274 ( $at_check_trace; $({
6275 old=$(pwd)
6276 while test $(pwd) != '/' -a ! -e ./Makefile; do
6277 cd ..
6278 done
6279 topdir=$(pwd)
6280 cd ${old}
6281 echo ${topdir}
6282 })/tests/bootstrap/h_tp_basic_sh \
6283 -s $({
6284 old=$(pwd)
6285 while test $(pwd) != '/' -a ! -e ./Makefile; do
6286 cd ..
6287 done
6288 topdir=$(pwd)
6289 cd ${old}
6290 echo ${topdir}
6291 })/tests/bootstrap -Z
6292 ) >>"$at_stdout" 2>>"$at_stderr"
6293 at_status=$? at_failed=false
6294 $at_check_filter
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
6299 $at_traceon; }
6302 { set +x
6303 $as_echo "$at_srcdir/t_test_program_compare.at:61: \$({
6304 old=\$(pwd)
6305 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6306 cd ..
6307 done
6308 topdir=\$(pwd)
6309 cd \${old}
6310 echo \${topdir}
6311 })/tests/bootstrap/h_tp_basic_c \\
6312 -s \$({
6313 old=\$(pwd)
6314 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6315 cd ..
6316 done
6317 topdir=\$(pwd)
6318 cd \${old}
6319 echo \${topdir}
6320 })/tests/bootstrap -Z -h"
6321 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_test_program_compare.at:61"
6322 ( $at_check_trace; $({
6323 old=$(pwd)
6324 while test $(pwd) != '/' -a ! -e ./Makefile; do
6325 cd ..
6326 done
6327 topdir=$(pwd)
6328 cd ${old}
6329 echo ${topdir}
6330 })/tests/bootstrap/h_tp_basic_c \
6331 -s $({
6332 old=$(pwd)
6333 while test $(pwd) != '/' -a ! -e ./Makefile; do
6334 cd ..
6335 done
6336 topdir=$(pwd)
6337 cd ${old}
6338 echo ${topdir}
6339 })/tests/bootstrap -Z -h
6340 ) >>"$at_stdout" 2>>"$at_stderr"
6341 at_status=$? at_failed=false
6342 $at_check_filter
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
6347 $at_traceon; }
6349 sed 's,tp_basic_c,tp_basic_cpp,g' <stderr >experr
6350 { set +x
6351 $as_echo "$at_srcdir/t_test_program_compare.at:63: \$({
6352 old=\$(pwd)
6353 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6354 cd ..
6355 done
6356 topdir=\$(pwd)
6357 cd \${old}
6358 echo \${topdir}
6359 })/tests/bootstrap/h_tp_basic_cpp \\
6360 -s \$({
6361 old=\$(pwd)
6362 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6363 cd ..
6364 done
6365 topdir=\$(pwd)
6366 cd \${old}
6367 echo \${topdir}
6368 })/tests/bootstrap -Z -h"
6369 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_test_program_compare.at:63"
6370 ( $at_check_trace; $({
6371 old=$(pwd)
6372 while test $(pwd) != '/' -a ! -e ./Makefile; do
6373 cd ..
6374 done
6375 topdir=$(pwd)
6376 cd ${old}
6377 echo ${topdir}
6378 })/tests/bootstrap/h_tp_basic_cpp \
6379 -s $({
6380 old=$(pwd)
6381 while test $(pwd) != '/' -a ! -e ./Makefile; do
6382 cd ..
6383 done
6384 topdir=$(pwd)
6385 cd ${old}
6386 echo ${topdir}
6387 })/tests/bootstrap -Z -h
6388 ) >>"$at_stdout" 2>>"$at_stderr"
6389 at_status=$? at_failed=false
6390 $at_check_filter
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
6395 $at_traceon; }
6397 sed 's,tp_basic_c,tp_basic_sh,g' <stderr >experr
6398 { set +x
6399 $as_echo "$at_srcdir/t_test_program_compare.at:65: \$({
6400 old=\$(pwd)
6401 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6402 cd ..
6403 done
6404 topdir=\$(pwd)
6405 cd \${old}
6406 echo \${topdir}
6407 })/tests/bootstrap/h_tp_basic_sh \\
6408 -s \$({
6409 old=\$(pwd)
6410 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6411 cd ..
6412 done
6413 topdir=\$(pwd)
6414 cd \${old}
6415 echo \${topdir}
6416 })/tests/bootstrap -Z -h"
6417 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_test_program_compare.at:65"
6418 ( $at_check_trace; $({
6419 old=$(pwd)
6420 while test $(pwd) != '/' -a ! -e ./Makefile; do
6421 cd ..
6422 done
6423 topdir=$(pwd)
6424 cd ${old}
6425 echo ${topdir}
6426 })/tests/bootstrap/h_tp_basic_sh \
6427 -s $({
6428 old=$(pwd)
6429 while test $(pwd) != '/' -a ! -e ./Makefile; do
6430 cd ..
6431 done
6432 topdir=$(pwd)
6433 cd ${old}
6434 echo ${topdir}
6435 })/tests/bootstrap -Z -h
6436 ) >>"$at_stdout" 2>>"$at_stderr"
6437 at_status=$? at_failed=false
6438 $at_check_filter
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
6443 $at_traceon; }
6446 { set +x
6447 $as_echo "$at_srcdir/t_test_program_compare.at:68: \$({
6448 old=\$(pwd)
6449 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6450 cd ..
6451 done
6452 topdir=\$(pwd)
6453 cd \${old}
6454 echo \${topdir}
6455 })/tests/bootstrap/h_tp_basic_c \\
6456 -s \$({
6457 old=\$(pwd)
6458 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6459 cd ..
6460 done
6461 topdir=\$(pwd)
6462 cd \${old}
6463 echo \${topdir}
6464 })/tests/bootstrap -l"
6465 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_test_program_compare.at:68"
6466 ( $at_check_trace; $({
6467 old=$(pwd)
6468 while test $(pwd) != '/' -a ! -e ./Makefile; do
6469 cd ..
6470 done
6471 topdir=$(pwd)
6472 cd ${old}
6473 echo ${topdir}
6474 })/tests/bootstrap/h_tp_basic_c \
6475 -s $({
6476 old=$(pwd)
6477 while test $(pwd) != '/' -a ! -e ./Makefile; do
6478 cd ..
6479 done
6480 topdir=$(pwd)
6481 cd ${old}
6482 echo ${topdir}
6483 })/tests/bootstrap -l
6484 ) >>"$at_stdout" 2>>"$at_stderr"
6485 at_status=$? at_failed=false
6486 $at_check_filter
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
6491 $at_traceon; }
6493 sed 's,tp_basic_c,tp_basic_cpp,g' <stdout >expout
6494 { set +x
6495 $as_echo "$at_srcdir/t_test_program_compare.at:70: \$({
6496 old=\$(pwd)
6497 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6498 cd ..
6499 done
6500 topdir=\$(pwd)
6501 cd \${old}
6502 echo \${topdir}
6503 })/tests/bootstrap/h_tp_basic_cpp \\
6504 -s \$({
6505 old=\$(pwd)
6506 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6507 cd ..
6508 done
6509 topdir=\$(pwd)
6510 cd \${old}
6511 echo \${topdir}
6512 })/tests/bootstrap -l"
6513 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_test_program_compare.at:70"
6514 ( $at_check_trace; $({
6515 old=$(pwd)
6516 while test $(pwd) != '/' -a ! -e ./Makefile; do
6517 cd ..
6518 done
6519 topdir=$(pwd)
6520 cd ${old}
6521 echo ${topdir}
6522 })/tests/bootstrap/h_tp_basic_cpp \
6523 -s $({
6524 old=$(pwd)
6525 while test $(pwd) != '/' -a ! -e ./Makefile; do
6526 cd ..
6527 done
6528 topdir=$(pwd)
6529 cd ${old}
6530 echo ${topdir}
6531 })/tests/bootstrap -l
6532 ) >>"$at_stdout" 2>>"$at_stderr"
6533 at_status=$? at_failed=false
6534 $at_check_filter
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
6539 $at_traceon; }
6541 sed 's,tp_basic_c,tp_basic_sh,g' <stdout >expout
6542 { set +x
6543 $as_echo "$at_srcdir/t_test_program_compare.at:72: \$({
6544 old=\$(pwd)
6545 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6546 cd ..
6547 done
6548 topdir=\$(pwd)
6549 cd \${old}
6550 echo \${topdir}
6551 })/tests/bootstrap/h_tp_basic_sh \\
6552 -s \$({
6553 old=\$(pwd)
6554 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6555 cd ..
6556 done
6557 topdir=\$(pwd)
6558 cd \${old}
6559 echo \${topdir}
6560 })/tests/bootstrap -l"
6561 at_fn_check_prepare_notrace 'a $(...) command substitution' "t_test_program_compare.at:72"
6562 ( $at_check_trace; $({
6563 old=$(pwd)
6564 while test $(pwd) != '/' -a ! -e ./Makefile; do
6565 cd ..
6566 done
6567 topdir=$(pwd)
6568 cd ${old}
6569 echo ${topdir}
6570 })/tests/bootstrap/h_tp_basic_sh \
6571 -s $({
6572 old=$(pwd)
6573 while test $(pwd) != '/' -a ! -e ./Makefile; do
6574 cd ..
6575 done
6576 topdir=$(pwd)
6577 cd ${old}
6578 echo ${topdir}
6579 })/tests/bootstrap -l
6580 ) >>"$at_stdout" 2>>"$at_stderr"
6581 at_status=$? at_failed=false
6582 $at_check_filter
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
6587 $at_traceon; }
6590 { set +x
6591 $as_echo "$at_srcdir/t_test_program_compare.at:75: \$({
6592 old=\$(pwd)
6593 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6594 cd ..
6595 done
6596 topdir=\$(pwd)
6597 cd \${old}
6598 echo \${topdir}
6599 })/tests/bootstrap/h_tp_basic_c \\
6600 -s \$({
6601 old=\$(pwd)
6602 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6603 cd ..
6604 done
6605 topdir=\$(pwd)
6606 cd \${old}
6607 echo \${topdir}
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; $({
6611 old=$(pwd)
6612 while test $(pwd) != '/' -a ! -e ./Makefile; do
6613 cd ..
6614 done
6615 topdir=$(pwd)
6616 cd ${old}
6617 echo ${topdir}
6618 })/tests/bootstrap/h_tp_basic_c \
6619 -s $({
6620 old=$(pwd)
6621 while test $(pwd) != '/' -a ! -e ./Makefile; do
6622 cd ..
6623 done
6624 topdir=$(pwd)
6625 cd ${old}
6626 echo ${topdir}
6627 })/tests/bootstrap -r3 3>resout
6628 ) >>"$at_stdout" 2>>"$at_stderr"
6629 at_status=$? at_failed=false
6630 $at_check_filter
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
6635 $at_traceon; }
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
6640 { set +x
6641 $as_echo "$at_srcdir/t_test_program_compare.at:80: \$({
6642 old=\$(pwd)
6643 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6644 cd ..
6645 done
6646 topdir=\$(pwd)
6647 cd \${old}
6648 echo \${topdir}
6649 })/tests/bootstrap/h_tp_basic_cpp \\
6650 -s \$({
6651 old=\$(pwd)
6652 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6653 cd ..
6654 done
6655 topdir=\$(pwd)
6656 cd \${old}
6657 echo \${topdir}
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; $({
6661 old=$(pwd)
6662 while test $(pwd) != '/' -a ! -e ./Makefile; do
6663 cd ..
6664 done
6665 topdir=$(pwd)
6666 cd ${old}
6667 echo ${topdir}
6668 })/tests/bootstrap/h_tp_basic_cpp \
6669 -s $({
6670 old=$(pwd)
6671 while test $(pwd) != '/' -a ! -e ./Makefile; do
6672 cd ..
6673 done
6674 topdir=$(pwd)
6675 cd ${old}
6676 echo ${topdir}
6677 })/tests/bootstrap -r3 3>resout
6678 ) >>"$at_stdout" 2>>"$at_stderr"
6679 at_status=$? at_failed=false
6680 $at_check_filter
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
6685 $at_traceon; }
6687 { set +x
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
6693 $at_check_filter
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
6698 $at_traceon; }
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
6703 { set +x
6704 $as_echo "$at_srcdir/t_test_program_compare.at:86: \$({
6705 old=\$(pwd)
6706 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6707 cd ..
6708 done
6709 topdir=\$(pwd)
6710 cd \${old}
6711 echo \${topdir}
6712 })/tests/bootstrap/h_tp_basic_sh \\
6713 -s \$({
6714 old=\$(pwd)
6715 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6716 cd ..
6717 done
6718 topdir=\$(pwd)
6719 cd \${old}
6720 echo \${topdir}
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; $({
6724 old=$(pwd)
6725 while test $(pwd) != '/' -a ! -e ./Makefile; do
6726 cd ..
6727 done
6728 topdir=$(pwd)
6729 cd ${old}
6730 echo ${topdir}
6731 })/tests/bootstrap/h_tp_basic_sh \
6732 -s $({
6733 old=$(pwd)
6734 while test $(pwd) != '/' -a ! -e ./Makefile; do
6735 cd ..
6736 done
6737 topdir=$(pwd)
6738 cd ${old}
6739 echo ${topdir}
6740 })/tests/bootstrap -r3 3>resout
6741 ) >>"$at_stdout" 2>>"$at_stderr"
6742 at_status=$? at_failed=false
6743 $at_check_filter
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
6748 $at_traceon; }
6750 { set +x
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
6756 $at_check_filter
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
6761 $at_traceon; }
6764 { set +x
6765 $as_echo "$at_srcdir/t_test_program_compare.at:91: \$({
6766 old=\$(pwd)
6767 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6768 cd ..
6769 done
6770 topdir=\$(pwd)
6771 cd \${old}
6772 echo \${topdir}
6773 })/tests/bootstrap/h_tp_basic_c \\
6774 -s \$({
6775 old=\$(pwd)
6776 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6777 cd ..
6778 done
6779 topdir=\$(pwd)
6780 cd \${old}
6781 echo \${topdir}
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; $({
6785 old=$(pwd)
6786 while test $(pwd) != '/' -a ! -e ./Makefile; do
6787 cd ..
6788 done
6789 topdir=$(pwd)
6790 cd ${old}
6791 echo ${topdir}
6792 })/tests/bootstrap/h_tp_basic_c \
6793 -s $({
6794 old=$(pwd)
6795 while test $(pwd) != '/' -a ! -e ./Makefile; do
6796 cd ..
6797 done
6798 topdir=$(pwd)
6799 cd ${old}
6800 echo ${topdir}
6801 })/tests/bootstrap -r3 3>resout pass
6802 ) >>"$at_stdout" 2>>"$at_stderr"
6803 at_status=$? at_failed=false
6804 $at_check_filter
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
6809 $at_traceon; }
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
6814 { set +x
6815 $as_echo "$at_srcdir/t_test_program_compare.at:96: \$({
6816 old=\$(pwd)
6817 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6818 cd ..
6819 done
6820 topdir=\$(pwd)
6821 cd \${old}
6822 echo \${topdir}
6823 })/tests/bootstrap/h_tp_basic_cpp \\
6824 -s \$({
6825 old=\$(pwd)
6826 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6827 cd ..
6828 done
6829 topdir=\$(pwd)
6830 cd \${old}
6831 echo \${topdir}
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; $({
6835 old=$(pwd)
6836 while test $(pwd) != '/' -a ! -e ./Makefile; do
6837 cd ..
6838 done
6839 topdir=$(pwd)
6840 cd ${old}
6841 echo ${topdir}
6842 })/tests/bootstrap/h_tp_basic_cpp \
6843 -s $({
6844 old=$(pwd)
6845 while test $(pwd) != '/' -a ! -e ./Makefile; do
6846 cd ..
6847 done
6848 topdir=$(pwd)
6849 cd ${old}
6850 echo ${topdir}
6851 })/tests/bootstrap -r3 3>resout pass
6852 ) >>"$at_stdout" 2>>"$at_stderr"
6853 at_status=$? at_failed=false
6854 $at_check_filter
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
6859 $at_traceon; }
6861 { set +x
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
6867 $at_check_filter
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
6872 $at_traceon; }
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
6877 { set +x
6878 $as_echo "$at_srcdir/t_test_program_compare.at:102: \$({
6879 old=\$(pwd)
6880 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6881 cd ..
6882 done
6883 topdir=\$(pwd)
6884 cd \${old}
6885 echo \${topdir}
6886 })/tests/bootstrap/h_tp_basic_sh \\
6887 -s \$({
6888 old=\$(pwd)
6889 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6890 cd ..
6891 done
6892 topdir=\$(pwd)
6893 cd \${old}
6894 echo \${topdir}
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; $({
6898 old=$(pwd)
6899 while test $(pwd) != '/' -a ! -e ./Makefile; do
6900 cd ..
6901 done
6902 topdir=$(pwd)
6903 cd ${old}
6904 echo ${topdir}
6905 })/tests/bootstrap/h_tp_basic_sh \
6906 -s $({
6907 old=$(pwd)
6908 while test $(pwd) != '/' -a ! -e ./Makefile; do
6909 cd ..
6910 done
6911 topdir=$(pwd)
6912 cd ${old}
6913 echo ${topdir}
6914 })/tests/bootstrap -r3 3>resout pass
6915 ) >>"$at_stdout" 2>>"$at_stderr"
6916 at_status=$? at_failed=false
6917 $at_check_filter
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
6922 $at_traceon; }
6924 { set +x
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
6930 $at_check_filter
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
6935 $at_traceon; }
6938 { set +x
6939 $as_echo "$at_srcdir/t_test_program_compare.at:107: \$({
6940 old=\$(pwd)
6941 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6942 cd ..
6943 done
6944 topdir=\$(pwd)
6945 cd \${old}
6946 echo \${topdir}
6947 })/tests/bootstrap/h_tp_basic_c \\
6948 -s \$({
6949 old=\$(pwd)
6950 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6951 cd ..
6952 done
6953 topdir=\$(pwd)
6954 cd \${old}
6955 echo \${topdir}
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; $({
6959 old=$(pwd)
6960 while test $(pwd) != '/' -a ! -e ./Makefile; do
6961 cd ..
6962 done
6963 topdir=$(pwd)
6964 cd ${old}
6965 echo ${topdir}
6966 })/tests/bootstrap/h_tp_basic_c \
6967 -s $({
6968 old=$(pwd)
6969 while test $(pwd) != '/' -a ! -e ./Makefile; do
6970 cd ..
6971 done
6972 topdir=$(pwd)
6973 cd ${old}
6974 echo ${topdir}
6975 })/tests/bootstrap -r3 3>resout fail
6976 ) >>"$at_stdout" 2>>"$at_stderr"
6977 at_status=$? at_failed=false
6978 $at_check_filter
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
6983 $at_traceon; }
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
6988 { set +x
6989 $as_echo "$at_srcdir/t_test_program_compare.at:112: \$({
6990 old=\$(pwd)
6991 while test \$(pwd) != '/' -a ! -e ./Makefile; do
6992 cd ..
6993 done
6994 topdir=\$(pwd)
6995 cd \${old}
6996 echo \${topdir}
6997 })/tests/bootstrap/h_tp_basic_cpp \\
6998 -s \$({
6999 old=\$(pwd)
7000 while test \$(pwd) != '/' -a ! -e ./Makefile; do
7001 cd ..
7002 done
7003 topdir=\$(pwd)
7004 cd \${old}
7005 echo \${topdir}
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; $({
7009 old=$(pwd)
7010 while test $(pwd) != '/' -a ! -e ./Makefile; do
7011 cd ..
7012 done
7013 topdir=$(pwd)
7014 cd ${old}
7015 echo ${topdir}
7016 })/tests/bootstrap/h_tp_basic_cpp \
7017 -s $({
7018 old=$(pwd)
7019 while test $(pwd) != '/' -a ! -e ./Makefile; do
7020 cd ..
7021 done
7022 topdir=$(pwd)
7023 cd ${old}
7024 echo ${topdir}
7025 })/tests/bootstrap -r3 3>resout fail
7026 ) >>"$at_stdout" 2>>"$at_stderr"
7027 at_status=$? at_failed=false
7028 $at_check_filter
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
7033 $at_traceon; }
7035 { set +x
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
7041 $at_check_filter
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
7046 $at_traceon; }
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
7051 { set +x
7052 $as_echo "$at_srcdir/t_test_program_compare.at:118: \$({
7053 old=\$(pwd)
7054 while test \$(pwd) != '/' -a ! -e ./Makefile; do
7055 cd ..
7056 done
7057 topdir=\$(pwd)
7058 cd \${old}
7059 echo \${topdir}
7060 })/tests/bootstrap/h_tp_basic_sh \\
7061 -s \$({
7062 old=\$(pwd)
7063 while test \$(pwd) != '/' -a ! -e ./Makefile; do
7064 cd ..
7065 done
7066 topdir=\$(pwd)
7067 cd \${old}
7068 echo \${topdir}
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; $({
7072 old=$(pwd)
7073 while test $(pwd) != '/' -a ! -e ./Makefile; do
7074 cd ..
7075 done
7076 topdir=$(pwd)
7077 cd ${old}
7078 echo ${topdir}
7079 })/tests/bootstrap/h_tp_basic_sh \
7080 -s $({
7081 old=$(pwd)
7082 while test $(pwd) != '/' -a ! -e ./Makefile; do
7083 cd ..
7084 done
7085 topdir=$(pwd)
7086 cd ${old}
7087 echo ${topdir}
7088 })/tests/bootstrap -r3 3>resout fail
7089 ) >>"$at_stdout" 2>>"$at_stderr"
7090 at_status=$? at_failed=false
7091 $at_check_filter
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
7096 $at_traceon; }
7098 { set +x
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
7104 $at_check_filter
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
7109 $at_traceon; }
7112 { set +x
7113 $as_echo "$at_srcdir/t_test_program_compare.at:123: \$({
7114 old=\$(pwd)
7115 while test \$(pwd) != '/' -a ! -e ./Makefile; do
7116 cd ..
7117 done
7118 topdir=\$(pwd)
7119 cd \${old}
7120 echo \${topdir}
7121 })/tests/bootstrap/h_tp_basic_c \\
7122 -s \$({
7123 old=\$(pwd)
7124 while test \$(pwd) != '/' -a ! -e ./Makefile; do
7125 cd ..
7126 done
7127 topdir=\$(pwd)
7128 cd \${old}
7129 echo \${topdir}
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; $({
7133 old=$(pwd)
7134 while test $(pwd) != '/' -a ! -e ./Makefile; do
7135 cd ..
7136 done
7137 topdir=$(pwd)
7138 cd ${old}
7139 echo ${topdir}
7140 })/tests/bootstrap/h_tp_basic_c \
7141 -s $({
7142 old=$(pwd)
7143 while test $(pwd) != '/' -a ! -e ./Makefile; do
7144 cd ..
7145 done
7146 topdir=$(pwd)
7147 cd ${old}
7148 echo ${topdir}
7149 })/tests/bootstrap -r3 3>resout skip
7150 ) >>"$at_stdout" 2>>"$at_stderr"
7151 at_status=$? at_failed=false
7152 $at_check_filter
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
7157 $at_traceon; }
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
7162 { set +x
7163 $as_echo "$at_srcdir/t_test_program_compare.at:128: \$({
7164 old=\$(pwd)
7165 while test \$(pwd) != '/' -a ! -e ./Makefile; do
7166 cd ..
7167 done
7168 topdir=\$(pwd)
7169 cd \${old}
7170 echo \${topdir}
7171 })/tests/bootstrap/h_tp_basic_cpp \\
7172 -s \$({
7173 old=\$(pwd)
7174 while test \$(pwd) != '/' -a ! -e ./Makefile; do
7175 cd ..
7176 done
7177 topdir=\$(pwd)
7178 cd \${old}
7179 echo \${topdir}
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; $({
7183 old=$(pwd)
7184 while test $(pwd) != '/' -a ! -e ./Makefile; do
7185 cd ..
7186 done
7187 topdir=$(pwd)
7188 cd ${old}
7189 echo ${topdir}
7190 })/tests/bootstrap/h_tp_basic_cpp \
7191 -s $({
7192 old=$(pwd)
7193 while test $(pwd) != '/' -a ! -e ./Makefile; do
7194 cd ..
7195 done
7196 topdir=$(pwd)
7197 cd ${old}
7198 echo ${topdir}
7199 })/tests/bootstrap -r3 3>resout skip
7200 ) >>"$at_stdout" 2>>"$at_stderr"
7201 at_status=$? at_failed=false
7202 $at_check_filter
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
7207 $at_traceon; }
7209 { set +x
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
7215 $at_check_filter
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
7220 $at_traceon; }
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
7225 { set +x
7226 $as_echo "$at_srcdir/t_test_program_compare.at:134: \$({
7227 old=\$(pwd)
7228 while test \$(pwd) != '/' -a ! -e ./Makefile; do
7229 cd ..
7230 done
7231 topdir=\$(pwd)
7232 cd \${old}
7233 echo \${topdir}
7234 })/tests/bootstrap/h_tp_basic_sh \\
7235 -s \$({
7236 old=\$(pwd)
7237 while test \$(pwd) != '/' -a ! -e ./Makefile; do
7238 cd ..
7239 done
7240 topdir=\$(pwd)
7241 cd \${old}
7242 echo \${topdir}
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; $({
7246 old=$(pwd)
7247 while test $(pwd) != '/' -a ! -e ./Makefile; do
7248 cd ..
7249 done
7250 topdir=$(pwd)
7251 cd ${old}
7252 echo ${topdir}
7253 })/tests/bootstrap/h_tp_basic_sh \
7254 -s $({
7255 old=$(pwd)
7256 while test $(pwd) != '/' -a ! -e ./Makefile; do
7257 cd ..
7258 done
7259 topdir=$(pwd)
7260 cd ${old}
7261 echo ${topdir}
7262 })/tests/bootstrap -r3 3>resout skip
7263 ) >>"$at_stdout" 2>>"$at_stderr"
7264 at_status=$? at_failed=false
7265 $at_check_filter
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
7270 $at_traceon; }
7272 { set +x
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
7278 $at_check_filter
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
7283 $at_traceon; }
7286 { set +x
7287 $as_echo "$at_srcdir/t_test_program_compare.at:139: \$({
7288 old=\$(pwd)
7289 while test \$(pwd) != '/' -a ! -e ./Makefile; do
7290 cd ..
7291 done
7292 topdir=\$(pwd)
7293 cd \${old}
7294 echo \${topdir}
7295 })/tests/bootstrap/h_tp_basic_c \\
7296 -s \$({
7297 old=\$(pwd)
7298 while test \$(pwd) != '/' -a ! -e ./Makefile; do
7299 cd ..
7300 done
7301 topdir=\$(pwd)
7302 cd \${old}
7303 echo \${topdir}
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; $({
7307 old=$(pwd)
7308 while test $(pwd) != '/' -a ! -e ./Makefile; do
7309 cd ..
7310 done
7311 topdir=$(pwd)
7312 cd ${old}
7313 echo ${topdir}
7314 })/tests/bootstrap/h_tp_basic_c \
7315 -s $({
7316 old=$(pwd)
7317 while test $(pwd) != '/' -a ! -e ./Makefile; do
7318 cd ..
7319 done
7320 topdir=$(pwd)
7321 cd ${old}
7322 echo ${topdir}
7323 })/tests/bootstrap -r3 3>resout default
7324 ) >>"$at_stdout" 2>>"$at_stderr"
7325 at_status=$? at_failed=false
7326 $at_check_filter
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
7331 $at_traceon; }
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
7336 { set +x
7337 $as_echo "$at_srcdir/t_test_program_compare.at:144: \$({
7338 old=\$(pwd)
7339 while test \$(pwd) != '/' -a ! -e ./Makefile; do
7340 cd ..
7341 done
7342 topdir=\$(pwd)
7343 cd \${old}
7344 echo \${topdir}
7345 })/tests/bootstrap/h_tp_basic_cpp \\
7346 -s \$({
7347 old=\$(pwd)
7348 while test \$(pwd) != '/' -a ! -e ./Makefile; do
7349 cd ..
7350 done
7351 topdir=\$(pwd)
7352 cd \${old}
7353 echo \${topdir}
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; $({
7357 old=$(pwd)
7358 while test $(pwd) != '/' -a ! -e ./Makefile; do
7359 cd ..
7360 done
7361 topdir=$(pwd)
7362 cd ${old}
7363 echo ${topdir}
7364 })/tests/bootstrap/h_tp_basic_cpp \
7365 -s $({
7366 old=$(pwd)
7367 while test $(pwd) != '/' -a ! -e ./Makefile; do
7368 cd ..
7369 done
7370 topdir=$(pwd)
7371 cd ${old}
7372 echo ${topdir}
7373 })/tests/bootstrap -r3 3>resout default
7374 ) >>"$at_stdout" 2>>"$at_stderr"
7375 at_status=$? at_failed=false
7376 $at_check_filter
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
7381 $at_traceon; }
7383 { set +x
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
7389 $at_check_filter
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
7394 $at_traceon; }
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
7399 { set +x
7400 $as_echo "$at_srcdir/t_test_program_compare.at:150: \$({
7401 old=\$(pwd)
7402 while test \$(pwd) != '/' -a ! -e ./Makefile; do
7403 cd ..
7404 done
7405 topdir=\$(pwd)
7406 cd \${old}
7407 echo \${topdir}
7408 })/tests/bootstrap/h_tp_basic_sh \\
7409 -s \$({
7410 old=\$(pwd)
7411 while test \$(pwd) != '/' -a ! -e ./Makefile; do
7412 cd ..
7413 done
7414 topdir=\$(pwd)
7415 cd \${old}
7416 echo \${topdir}
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; $({
7420 old=$(pwd)
7421 while test $(pwd) != '/' -a ! -e ./Makefile; do
7422 cd ..
7423 done
7424 topdir=$(pwd)
7425 cd ${old}
7426 echo ${topdir}
7427 })/tests/bootstrap/h_tp_basic_sh \
7428 -s $({
7429 old=$(pwd)
7430 while test $(pwd) != '/' -a ! -e ./Makefile; do
7431 cd ..
7432 done
7433 topdir=$(pwd)
7434 cd ${old}
7435 echo ${topdir}
7436 })/tests/bootstrap -r3 3>resout default
7437 ) >>"$at_stdout" 2>>"$at_stderr"
7438 at_status=$? at_failed=false
7439 $at_check_filter
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
7444 $at_traceon; }
7446 { set +x
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
7452 $at_check_filter
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
7457 $at_traceon; }
7460 { set +x
7461 $as_echo "$at_srcdir/t_test_program_compare.at:155: \$({
7462 old=\$(pwd)
7463 while test \$(pwd) != '/' -a ! -e ./Makefile; do
7464 cd ..
7465 done
7466 topdir=\$(pwd)
7467 cd \${old}
7468 echo \${topdir}
7469 })/tests/bootstrap/h_tp_basic_c \\
7470 -s \$({
7471 old=\$(pwd)
7472 while test \$(pwd) != '/' -a ! -e ./Makefile; do
7473 cd ..
7474 done
7475 topdir=\$(pwd)
7476 cd \${old}
7477 echo \${topdir}
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; $({
7481 old=$(pwd)
7482 while test $(pwd) != '/' -a ! -e ./Makefile; do
7483 cd ..
7484 done
7485 topdir=$(pwd)
7486 cd ${old}
7487 echo ${topdir}
7488 })/tests/bootstrap/h_tp_basic_c \
7489 -s $({
7490 old=$(pwd)
7491 while test $(pwd) != '/' -a ! -e ./Makefile; do
7492 cd ..
7493 done
7494 topdir=$(pwd)
7495 cd ${old}
7496 echo ${topdir}
7497 })/tests/bootstrap -r3 3>resout "*f*"
7498 ) >>"$at_stdout" 2>>"$at_stderr"
7499 at_status=$? at_failed=false
7500 $at_check_filter
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
7505 $at_traceon; }
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
7510 { set +x
7511 $as_echo "$at_srcdir/t_test_program_compare.at:160: \$({
7512 old=\$(pwd)
7513 while test \$(pwd) != '/' -a ! -e ./Makefile; do
7514 cd ..
7515 done
7516 topdir=\$(pwd)
7517 cd \${old}
7518 echo \${topdir}
7519 })/tests/bootstrap/h_tp_basic_cpp \\
7520 -s \$({
7521 old=\$(pwd)
7522 while test \$(pwd) != '/' -a ! -e ./Makefile; do
7523 cd ..
7524 done
7525 topdir=\$(pwd)
7526 cd \${old}
7527 echo \${topdir}
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; $({
7531 old=$(pwd)
7532 while test $(pwd) != '/' -a ! -e ./Makefile; do
7533 cd ..
7534 done
7535 topdir=$(pwd)
7536 cd ${old}
7537 echo ${topdir}
7538 })/tests/bootstrap/h_tp_basic_cpp \
7539 -s $({
7540 old=$(pwd)
7541 while test $(pwd) != '/' -a ! -e ./Makefile; do
7542 cd ..
7543 done
7544 topdir=$(pwd)
7545 cd ${old}
7546 echo ${topdir}
7547 })/tests/bootstrap -r3 3>resout "*f*"
7548 ) >>"$at_stdout" 2>>"$at_stderr"
7549 at_status=$? at_failed=false
7550 $at_check_filter
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
7555 $at_traceon; }
7557 { set +x
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
7563 $at_check_filter
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
7568 $at_traceon; }
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
7573 { set +x
7574 $as_echo "$at_srcdir/t_test_program_compare.at:166: \$({
7575 old=\$(pwd)
7576 while test \$(pwd) != '/' -a ! -e ./Makefile; do
7577 cd ..
7578 done
7579 topdir=\$(pwd)
7580 cd \${old}
7581 echo \${topdir}
7582 })/tests/bootstrap/h_tp_basic_sh \\
7583 -s \$({
7584 old=\$(pwd)
7585 while test \$(pwd) != '/' -a ! -e ./Makefile; do
7586 cd ..
7587 done
7588 topdir=\$(pwd)
7589 cd \${old}
7590 echo \${topdir}
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; $({
7594 old=$(pwd)
7595 while test $(pwd) != '/' -a ! -e ./Makefile; do
7596 cd ..
7597 done
7598 topdir=$(pwd)
7599 cd ${old}
7600 echo ${topdir}
7601 })/tests/bootstrap/h_tp_basic_sh \
7602 -s $({
7603 old=$(pwd)
7604 while test $(pwd) != '/' -a ! -e ./Makefile; do
7605 cd ..
7606 done
7607 topdir=$(pwd)
7608 cd ${old}
7609 echo ${topdir}
7610 })/tests/bootstrap -r3 3>resout "*f*"
7611 ) >>"$at_stdout" 2>>"$at_stderr"
7612 at_status=$? at_failed=false
7613 $at_check_filter
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
7618 $at_traceon; }
7620 { set +x
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
7626 $at_check_filter
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
7631 $at_traceon; }
7634 { set +x
7635 $as_echo "$at_srcdir/t_test_program_compare.at:171: \$({
7636 old=\$(pwd)
7637 while test \$(pwd) != '/' -a ! -e ./Makefile; do
7638 cd ..
7639 done
7640 topdir=\$(pwd)
7641 cd \${old}
7642 echo \${topdir}
7643 })/tests/bootstrap/h_tp_basic_c \\
7644 -s \$({
7645 old=\$(pwd)
7646 while test \$(pwd) != '/' -a ! -e ./Makefile; do
7647 cd ..
7648 done
7649 topdir=\$(pwd)
7650 cd \${old}
7651 echo \${topdir}
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; $({
7655 old=$(pwd)
7656 while test $(pwd) != '/' -a ! -e ./Makefile; do
7657 cd ..
7658 done
7659 topdir=$(pwd)
7660 cd ${old}
7661 echo ${topdir}
7662 })/tests/bootstrap/h_tp_basic_c \
7663 -s $({
7664 old=$(pwd)
7665 while test $(pwd) != '/' -a ! -e ./Makefile; do
7666 cd ..
7667 done
7668 topdir=$(pwd)
7669 cd ${old}
7670 echo ${topdir}
7671 })/tests/bootstrap -r3 3>resout unknown
7672 ) >>"$at_stdout" 2>>"$at_stderr"
7673 at_status=$? at_failed=false
7674 $at_check_filter
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
7679 $at_traceon; }
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
7684 { set +x
7685 $as_echo "$at_srcdir/t_test_program_compare.at:176: \$({
7686 old=\$(pwd)
7687 while test \$(pwd) != '/' -a ! -e ./Makefile; do
7688 cd ..
7689 done
7690 topdir=\$(pwd)
7691 cd \${old}
7692 echo \${topdir}
7693 })/tests/bootstrap/h_tp_basic_cpp \\
7694 -s \$({
7695 old=\$(pwd)
7696 while test \$(pwd) != '/' -a ! -e ./Makefile; do
7697 cd ..
7698 done
7699 topdir=\$(pwd)
7700 cd \${old}
7701 echo \${topdir}
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; $({
7705 old=$(pwd)
7706 while test $(pwd) != '/' -a ! -e ./Makefile; do
7707 cd ..
7708 done
7709 topdir=$(pwd)
7710 cd ${old}
7711 echo ${topdir}
7712 })/tests/bootstrap/h_tp_basic_cpp \
7713 -s $({
7714 old=$(pwd)
7715 while test $(pwd) != '/' -a ! -e ./Makefile; do
7716 cd ..
7717 done
7718 topdir=$(pwd)
7719 cd ${old}
7720 echo ${topdir}
7721 })/tests/bootstrap -r3 3>resout unknown
7722 ) >>"$at_stdout" 2>>"$at_stderr"
7723 at_status=$? at_failed=false
7724 $at_check_filter
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
7729 $at_traceon; }
7731 { set +x
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
7737 $at_check_filter
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
7742 $at_traceon; }
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
7747 { set +x
7748 $as_echo "$at_srcdir/t_test_program_compare.at:182: \$({
7749 old=\$(pwd)
7750 while test \$(pwd) != '/' -a ! -e ./Makefile; do
7751 cd ..
7752 done
7753 topdir=\$(pwd)
7754 cd \${old}
7755 echo \${topdir}
7756 })/tests/bootstrap/h_tp_basic_sh \\
7757 -s \$({
7758 old=\$(pwd)
7759 while test \$(pwd) != '/' -a ! -e ./Makefile; do
7760 cd ..
7761 done
7762 topdir=\$(pwd)
7763 cd \${old}
7764 echo \${topdir}
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; $({
7768 old=$(pwd)
7769 while test $(pwd) != '/' -a ! -e ./Makefile; do
7770 cd ..
7771 done
7772 topdir=$(pwd)
7773 cd ${old}
7774 echo ${topdir}
7775 })/tests/bootstrap/h_tp_basic_sh \
7776 -s $({
7777 old=$(pwd)
7778 while test $(pwd) != '/' -a ! -e ./Makefile; do
7779 cd ..
7780 done
7781 topdir=$(pwd)
7782 cd ${old}
7783 echo ${topdir}
7784 })/tests/bootstrap -r3 3>resout unknown
7785 ) >>"$at_stdout" 2>>"$at_stderr"
7786 at_status=$? at_failed=false
7787 $at_check_filter
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
7792 $at_traceon; }
7794 { set +x
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
7800 $at_check_filter
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
7805 $at_traceon; }
7808 set +x
7809 $at_times_p && times >"$at_times_file"
7810 ) 5>&1 2>&1 | eval $at_tee_pipe
7811 read at_status <"$at_status_file"
7812 #AT_STOP_9
7813 #AT_START_10
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"
7819 at_xfail=no
7820 echo "# -*- compilation -*-" >> "$at_group_log"
7822 $as_echo "10. t_subr_atf_check.at:30: testing ..."
7823 $at_traceon
7826 { set +x
7827 $as_echo "$at_srcdir/t_subr_atf_check.at:32: \$({
7828 old=\$(pwd)
7829 while test \$(pwd) != '/' -a ! -e ./Makefile; do
7830 cd ..
7831 done
7832 topdir=\$(pwd)
7833 cd \${old}
7834 echo \${topdir}
7835 })/tests/bootstrap/h_tp_atf_check_sh \\
7836 -s \$({
7837 old=\$(pwd)
7838 while test \$(pwd) != '/' -a ! -e ./Makefile; do
7839 cd ..
7840 done
7841 topdir=\$(pwd)
7842 cd \${old}
7843 echo \${topdir}
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; $({
7847 old=$(pwd)
7848 while test $(pwd) != '/' -a ! -e ./Makefile; do
7849 cd ..
7850 done
7851 topdir=$(pwd)
7852 cd ${old}
7853 echo ${topdir}
7854 })/tests/bootstrap/h_tp_atf_check_sh \
7855 -s $({
7856 old=$(pwd)
7857 while test $(pwd) != '/' -a ! -e ./Makefile; do
7858 cd ..
7859 done
7860 topdir=$(pwd)
7861 cd ${old}
7862 echo ${topdir}
7863 })/tests/bootstrap exitcode_0_0
7864 ) >>"$at_stdout" 2>>"$at_stderr"
7865 at_status=$? at_failed=false
7866 $at_check_filter
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
7871 $at_traceon; }
7873 { set +x
7874 $as_echo "$at_srcdir/t_subr_atf_check.at:34: \$({
7875 old=\$(pwd)
7876 while test \$(pwd) != '/' -a ! -e ./Makefile; do
7877 cd ..
7878 done
7879 topdir=\$(pwd)
7880 cd \${old}
7881 echo \${topdir}
7882 })/tests/bootstrap/h_tp_atf_check_sh \\
7883 -s \$({
7884 old=\$(pwd)
7885 while test \$(pwd) != '/' -a ! -e ./Makefile; do
7886 cd ..
7887 done
7888 topdir=\$(pwd)
7889 cd \${old}
7890 echo \${topdir}
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; $({
7894 old=$(pwd)
7895 while test $(pwd) != '/' -a ! -e ./Makefile; do
7896 cd ..
7897 done
7898 topdir=$(pwd)
7899 cd ${old}
7900 echo ${topdir}
7901 })/tests/bootstrap/h_tp_atf_check_sh \
7902 -s $({
7903 old=$(pwd)
7904 while test $(pwd) != '/' -a ! -e ./Makefile; do
7905 cd ..
7906 done
7907 topdir=$(pwd)
7908 cd ${old}
7909 echo ${topdir}
7910 })/tests/bootstrap exitcode_0_1
7911 ) >>"$at_stdout" 2>>"$at_stderr"
7912 at_status=$? at_failed=false
7913 $at_check_filter
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
7918 $at_traceon; }
7920 { set +x
7921 $as_echo "$at_srcdir/t_subr_atf_check.at:36: \$({
7922 old=\$(pwd)
7923 while test \$(pwd) != '/' -a ! -e ./Makefile; do
7924 cd ..
7925 done
7926 topdir=\$(pwd)
7927 cd \${old}
7928 echo \${topdir}
7929 })/tests/bootstrap/h_tp_atf_check_sh \\
7930 -s \$({
7931 old=\$(pwd)
7932 while test \$(pwd) != '/' -a ! -e ./Makefile; do
7933 cd ..
7934 done
7935 topdir=\$(pwd)
7936 cd \${old}
7937 echo \${topdir}
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; $({
7941 old=$(pwd)
7942 while test $(pwd) != '/' -a ! -e ./Makefile; do
7943 cd ..
7944 done
7945 topdir=$(pwd)
7946 cd ${old}
7947 echo ${topdir}
7948 })/tests/bootstrap/h_tp_atf_check_sh \
7949 -s $({
7950 old=$(pwd)
7951 while test $(pwd) != '/' -a ! -e ./Makefile; do
7952 cd ..
7953 done
7954 topdir=$(pwd)
7955 cd ${old}
7956 echo ${topdir}
7957 })/tests/bootstrap exitcode_1_0
7958 ) >>"$at_stdout" 2>>"$at_stderr"
7959 at_status=$? at_failed=false
7960 $at_check_filter
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
7965 $at_traceon; }
7967 { set +x
7968 $as_echo "$at_srcdir/t_subr_atf_check.at:38: \$({
7969 old=\$(pwd)
7970 while test \$(pwd) != '/' -a ! -e ./Makefile; do
7971 cd ..
7972 done
7973 topdir=\$(pwd)
7974 cd \${old}
7975 echo \${topdir}
7976 })/tests/bootstrap/h_tp_atf_check_sh \\
7977 -s \$({
7978 old=\$(pwd)
7979 while test \$(pwd) != '/' -a ! -e ./Makefile; do
7980 cd ..
7981 done
7982 topdir=\$(pwd)
7983 cd \${old}
7984 echo \${topdir}
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; $({
7988 old=$(pwd)
7989 while test $(pwd) != '/' -a ! -e ./Makefile; do
7990 cd ..
7991 done
7992 topdir=$(pwd)
7993 cd ${old}
7994 echo ${topdir}
7995 })/tests/bootstrap/h_tp_atf_check_sh \
7996 -s $({
7997 old=$(pwd)
7998 while test $(pwd) != '/' -a ! -e ./Makefile; do
7999 cd ..
8000 done
8001 topdir=$(pwd)
8002 cd ${old}
8003 echo ${topdir}
8004 })/tests/bootstrap exitcode_1_1
8005 ) >>"$at_stdout" 2>>"$at_stderr"
8006 at_status=$? at_failed=false
8007 $at_check_filter
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
8012 $at_traceon; }
8015 { set +x
8016 $as_echo "$at_srcdir/t_subr_atf_check.at:41: \$({
8017 old=\$(pwd)
8018 while test \$(pwd) != '/' -a ! -e ./Makefile; do
8019 cd ..
8020 done
8021 topdir=\$(pwd)
8022 cd \${old}
8023 echo \${topdir}
8024 })/tests/bootstrap/h_tp_atf_check_sh \\
8025 -s \$({
8026 old=\$(pwd)
8027 while test \$(pwd) != '/' -a ! -e ./Makefile; do
8028 cd ..
8029 done
8030 topdir=\$(pwd)
8031 cd \${old}
8032 echo \${topdir}
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; $({
8036 old=$(pwd)
8037 while test $(pwd) != '/' -a ! -e ./Makefile; do
8038 cd ..
8039 done
8040 topdir=$(pwd)
8041 cd ${old}
8042 echo ${topdir}
8043 })/tests/bootstrap/h_tp_atf_check_sh \
8044 -s $({
8045 old=$(pwd)
8046 while test $(pwd) != '/' -a ! -e ./Makefile; do
8047 cd ..
8048 done
8049 topdir=$(pwd)
8050 cd ${old}
8051 echo ${topdir}
8052 })/tests/bootstrap stdout_expout_pass
8053 ) >>"$at_stdout" 2>>"$at_stderr"
8054 at_status=$? at_failed=false
8055 $at_check_filter
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
8060 $at_traceon; }
8062 { set +x
8063 $as_echo "$at_srcdir/t_subr_atf_check.at:43: \$({
8064 old=\$(pwd)
8065 while test \$(pwd) != '/' -a ! -e ./Makefile; do
8066 cd ..
8067 done
8068 topdir=\$(pwd)
8069 cd \${old}
8070 echo \${topdir}
8071 })/tests/bootstrap/h_tp_atf_check_sh \\
8072 -s \$({
8073 old=\$(pwd)
8074 while test \$(pwd) != '/' -a ! -e ./Makefile; do
8075 cd ..
8076 done
8077 topdir=\$(pwd)
8078 cd \${old}
8079 echo \${topdir}
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; $({
8083 old=$(pwd)
8084 while test $(pwd) != '/' -a ! -e ./Makefile; do
8085 cd ..
8086 done
8087 topdir=$(pwd)
8088 cd ${old}
8089 echo ${topdir}
8090 })/tests/bootstrap/h_tp_atf_check_sh \
8091 -s $({
8092 old=$(pwd)
8093 while test $(pwd) != '/' -a ! -e ./Makefile; do
8094 cd ..
8095 done
8096 topdir=$(pwd)
8097 cd ${old}
8098 echo ${topdir}
8099 })/tests/bootstrap stdout_expout_fail
8100 ) >>"$at_stdout" 2>>"$at_stderr"
8101 at_status=$? at_failed=false
8102 $at_check_filter
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
8107 $at_traceon; }
8109 { set +x
8110 $as_echo "$at_srcdir/t_subr_atf_check.at:45: \$({
8111 old=\$(pwd)
8112 while test \$(pwd) != '/' -a ! -e ./Makefile; do
8113 cd ..
8114 done
8115 topdir=\$(pwd)
8116 cd \${old}
8117 echo \${topdir}
8118 })/tests/bootstrap/h_tp_atf_check_sh \\
8119 -s \$({
8120 old=\$(pwd)
8121 while test \$(pwd) != '/' -a ! -e ./Makefile; do
8122 cd ..
8123 done
8124 topdir=\$(pwd)
8125 cd \${old}
8126 echo \${topdir}
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; $({
8130 old=$(pwd)
8131 while test $(pwd) != '/' -a ! -e ./Makefile; do
8132 cd ..
8133 done
8134 topdir=$(pwd)
8135 cd ${old}
8136 echo ${topdir}
8137 })/tests/bootstrap/h_tp_atf_check_sh \
8138 -s $({
8139 old=$(pwd)
8140 while test $(pwd) != '/' -a ! -e ./Makefile; do
8141 cd ..
8142 done
8143 topdir=$(pwd)
8144 cd ${old}
8145 echo ${topdir}
8146 })/tests/bootstrap stdout_ignore_empty
8147 ) >>"$at_stdout" 2>>"$at_stderr"
8148 at_status=$? at_failed=false
8149 $at_check_filter
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
8154 $at_traceon; }
8156 { set +x
8157 $as_echo "$at_srcdir/t_subr_atf_check.at:47: \$({
8158 old=\$(pwd)
8159 while test \$(pwd) != '/' -a ! -e ./Makefile; do
8160 cd ..
8161 done
8162 topdir=\$(pwd)
8163 cd \${old}
8164 echo \${topdir}
8165 })/tests/bootstrap/h_tp_atf_check_sh \\
8166 -s \$({
8167 old=\$(pwd)
8168 while test \$(pwd) != '/' -a ! -e ./Makefile; do
8169 cd ..
8170 done
8171 topdir=\$(pwd)
8172 cd \${old}
8173 echo \${topdir}
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; $({
8177 old=$(pwd)
8178 while test $(pwd) != '/' -a ! -e ./Makefile; do
8179 cd ..
8180 done
8181 topdir=$(pwd)
8182 cd ${old}
8183 echo ${topdir}
8184 })/tests/bootstrap/h_tp_atf_check_sh \
8185 -s $({
8186 old=$(pwd)
8187 while test $(pwd) != '/' -a ! -e ./Makefile; do
8188 cd ..
8189 done
8190 topdir=$(pwd)
8191 cd ${old}
8192 echo ${topdir}
8193 })/tests/bootstrap stdout_ignore_sth
8194 ) >>"$at_stdout" 2>>"$at_stderr"
8195 at_status=$? at_failed=false
8196 $at_check_filter
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
8201 $at_traceon; }
8203 { set +x
8204 $as_echo "$at_srcdir/t_subr_atf_check.at:49: \$({
8205 old=\$(pwd)
8206 while test \$(pwd) != '/' -a ! -e ./Makefile; do
8207 cd ..
8208 done
8209 topdir=\$(pwd)
8210 cd \${old}
8211 echo \${topdir}
8212 })/tests/bootstrap/h_tp_atf_check_sh \\
8213 -s \$({
8214 old=\$(pwd)
8215 while test \$(pwd) != '/' -a ! -e ./Makefile; do
8216 cd ..
8217 done
8218 topdir=\$(pwd)
8219 cd \${old}
8220 echo \${topdir}
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; $({
8224 old=$(pwd)
8225 while test $(pwd) != '/' -a ! -e ./Makefile; do
8226 cd ..
8227 done
8228 topdir=$(pwd)
8229 cd ${old}
8230 echo ${topdir}
8231 })/tests/bootstrap/h_tp_atf_check_sh \
8232 -s $({
8233 old=$(pwd)
8234 while test $(pwd) != '/' -a ! -e ./Makefile; do
8235 cd ..
8236 done
8237 topdir=$(pwd)
8238 cd ${old}
8239 echo ${topdir}
8240 })/tests/bootstrap stdout_null_empty
8241 ) >>"$at_stdout" 2>>"$at_stderr"
8242 at_status=$? at_failed=false
8243 $at_check_filter
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
8248 $at_traceon; }
8250 { set +x
8251 $as_echo "$at_srcdir/t_subr_atf_check.at:51: \$({
8252 old=\$(pwd)
8253 while test \$(pwd) != '/' -a ! -e ./Makefile; do
8254 cd ..
8255 done
8256 topdir=\$(pwd)
8257 cd \${old}
8258 echo \${topdir}
8259 })/tests/bootstrap/h_tp_atf_check_sh \\
8260 -s \$({
8261 old=\$(pwd)
8262 while test \$(pwd) != '/' -a ! -e ./Makefile; do
8263 cd ..
8264 done
8265 topdir=\$(pwd)
8266 cd \${old}
8267 echo \${topdir}
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; $({
8271 old=$(pwd)
8272 while test $(pwd) != '/' -a ! -e ./Makefile; do
8273 cd ..
8274 done
8275 topdir=$(pwd)
8276 cd ${old}
8277 echo ${topdir}
8278 })/tests/bootstrap/h_tp_atf_check_sh \
8279 -s $({
8280 old=$(pwd)
8281 while test $(pwd) != '/' -a ! -e ./Makefile; do
8282 cd ..
8283 done
8284 topdir=$(pwd)
8285 cd ${old}
8286 echo ${topdir}
8287 })/tests/bootstrap stdout_null_sth
8288 ) >>"$at_stdout" 2>>"$at_stderr"
8289 at_status=$? at_failed=false
8290 $at_check_filter
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
8295 $at_traceon; }
8297 { set +x
8298 $as_echo "$at_srcdir/t_subr_atf_check.at:53: \$({
8299 old=\$(pwd)
8300 while test \$(pwd) != '/' -a ! -e ./Makefile; do
8301 cd ..
8302 done
8303 topdir=\$(pwd)
8304 cd \${old}
8305 echo \${topdir}
8306 })/tests/bootstrap/h_tp_atf_check_sh \\
8307 -s \$({
8308 old=\$(pwd)
8309 while test \$(pwd) != '/' -a ! -e ./Makefile; do
8310 cd ..
8311 done
8312 topdir=\$(pwd)
8313 cd \${old}
8314 echo \${topdir}
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; $({
8318 old=$(pwd)
8319 while test $(pwd) != '/' -a ! -e ./Makefile; do
8320 cd ..
8321 done
8322 topdir=$(pwd)
8323 cd ${old}
8324 echo ${topdir}
8325 })/tests/bootstrap/h_tp_atf_check_sh \
8326 -s $({
8327 old=$(pwd)
8328 while test $(pwd) != '/' -a ! -e ./Makefile; do
8329 cd ..
8330 done
8331 topdir=$(pwd)
8332 cd ${old}
8333 echo ${topdir}
8334 })/tests/bootstrap stdout_stdout_written
8335 ) >>"$at_stdout" 2>>"$at_stderr"
8336 at_status=$? at_failed=false
8337 $at_check_filter
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
8342 $at_traceon; }
8345 { set +x
8346 $as_echo "$at_srcdir/t_subr_atf_check.at:56: \$({
8347 old=\$(pwd)
8348 while test \$(pwd) != '/' -a ! -e ./Makefile; do
8349 cd ..
8350 done
8351 topdir=\$(pwd)
8352 cd \${old}
8353 echo \${topdir}
8354 })/tests/bootstrap/h_tp_atf_check_sh \\
8355 -s \$({
8356 old=\$(pwd)
8357 while test \$(pwd) != '/' -a ! -e ./Makefile; do
8358 cd ..
8359 done
8360 topdir=\$(pwd)
8361 cd \${old}
8362 echo \${topdir}
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; $({
8366 old=$(pwd)
8367 while test $(pwd) != '/' -a ! -e ./Makefile; do
8368 cd ..
8369 done
8370 topdir=$(pwd)
8371 cd ${old}
8372 echo ${topdir}
8373 })/tests/bootstrap/h_tp_atf_check_sh \
8374 -s $({
8375 old=$(pwd)
8376 while test $(pwd) != '/' -a ! -e ./Makefile; do
8377 cd ..
8378 done
8379 topdir=$(pwd)
8380 cd ${old}
8381 echo ${topdir}
8382 })/tests/bootstrap stderr_experr_pass
8383 ) >>"$at_stdout" 2>>"$at_stderr"
8384 at_status=$? at_failed=false
8385 $at_check_filter
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
8390 $at_traceon; }
8392 { set +x
8393 $as_echo "$at_srcdir/t_subr_atf_check.at:58: \$({
8394 old=\$(pwd)
8395 while test \$(pwd) != '/' -a ! -e ./Makefile; do
8396 cd ..
8397 done
8398 topdir=\$(pwd)
8399 cd \${old}
8400 echo \${topdir}
8401 })/tests/bootstrap/h_tp_atf_check_sh \\
8402 -s \$({
8403 old=\$(pwd)
8404 while test \$(pwd) != '/' -a ! -e ./Makefile; do
8405 cd ..
8406 done
8407 topdir=\$(pwd)
8408 cd \${old}
8409 echo \${topdir}
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; $({
8413 old=$(pwd)
8414 while test $(pwd) != '/' -a ! -e ./Makefile; do
8415 cd ..
8416 done
8417 topdir=$(pwd)
8418 cd ${old}
8419 echo ${topdir}
8420 })/tests/bootstrap/h_tp_atf_check_sh \
8421 -s $({
8422 old=$(pwd)
8423 while test $(pwd) != '/' -a ! -e ./Makefile; do
8424 cd ..
8425 done
8426 topdir=$(pwd)
8427 cd ${old}
8428 echo ${topdir}
8429 })/tests/bootstrap stderr_experr_fail
8430 ) >>"$at_stdout" 2>>"$at_stderr"
8431 at_status=$? at_failed=false
8432 $at_check_filter
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
8437 $at_traceon; }
8439 { set +x
8440 $as_echo "$at_srcdir/t_subr_atf_check.at:60: \$({
8441 old=\$(pwd)
8442 while test \$(pwd) != '/' -a ! -e ./Makefile; do
8443 cd ..
8444 done
8445 topdir=\$(pwd)
8446 cd \${old}
8447 echo \${topdir}
8448 })/tests/bootstrap/h_tp_atf_check_sh \\
8449 -s \$({
8450 old=\$(pwd)
8451 while test \$(pwd) != '/' -a ! -e ./Makefile; do
8452 cd ..
8453 done
8454 topdir=\$(pwd)
8455 cd \${old}
8456 echo \${topdir}
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; $({
8460 old=$(pwd)
8461 while test $(pwd) != '/' -a ! -e ./Makefile; do
8462 cd ..
8463 done
8464 topdir=$(pwd)
8465 cd ${old}
8466 echo ${topdir}
8467 })/tests/bootstrap/h_tp_atf_check_sh \
8468 -s $({
8469 old=$(pwd)
8470 while test $(pwd) != '/' -a ! -e ./Makefile; do
8471 cd ..
8472 done
8473 topdir=$(pwd)
8474 cd ${old}
8475 echo ${topdir}
8476 })/tests/bootstrap stderr_ignore_empty
8477 ) >>"$at_stdout" 2>>"$at_stderr"
8478 at_status=$? at_failed=false
8479 $at_check_filter
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
8484 $at_traceon; }
8486 { set +x
8487 $as_echo "$at_srcdir/t_subr_atf_check.at:62: \$({
8488 old=\$(pwd)
8489 while test \$(pwd) != '/' -a ! -e ./Makefile; do
8490 cd ..
8491 done
8492 topdir=\$(pwd)
8493 cd \${old}
8494 echo \${topdir}
8495 })/tests/bootstrap/h_tp_atf_check_sh \\
8496 -s \$({
8497 old=\$(pwd)
8498 while test \$(pwd) != '/' -a ! -e ./Makefile; do
8499 cd ..
8500 done
8501 topdir=\$(pwd)
8502 cd \${old}
8503 echo \${topdir}
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; $({
8507 old=$(pwd)
8508 while test $(pwd) != '/' -a ! -e ./Makefile; do
8509 cd ..
8510 done
8511 topdir=$(pwd)
8512 cd ${old}
8513 echo ${topdir}
8514 })/tests/bootstrap/h_tp_atf_check_sh \
8515 -s $({
8516 old=$(pwd)
8517 while test $(pwd) != '/' -a ! -e ./Makefile; do
8518 cd ..
8519 done
8520 topdir=$(pwd)
8521 cd ${old}
8522 echo ${topdir}
8523 })/tests/bootstrap stderr_ignore_sth
8524 ) >>"$at_stdout" 2>>"$at_stderr"
8525 at_status=$? at_failed=false
8526 $at_check_filter
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
8531 $at_traceon; }
8533 { set +x
8534 $as_echo "$at_srcdir/t_subr_atf_check.at:64: \$({
8535 old=\$(pwd)
8536 while test \$(pwd) != '/' -a ! -e ./Makefile; do
8537 cd ..
8538 done
8539 topdir=\$(pwd)
8540 cd \${old}
8541 echo \${topdir}
8542 })/tests/bootstrap/h_tp_atf_check_sh \\
8543 -s \$({
8544 old=\$(pwd)
8545 while test \$(pwd) != '/' -a ! -e ./Makefile; do
8546 cd ..
8547 done
8548 topdir=\$(pwd)
8549 cd \${old}
8550 echo \${topdir}
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; $({
8554 old=$(pwd)
8555 while test $(pwd) != '/' -a ! -e ./Makefile; do
8556 cd ..
8557 done
8558 topdir=$(pwd)
8559 cd ${old}
8560 echo ${topdir}
8561 })/tests/bootstrap/h_tp_atf_check_sh \
8562 -s $({
8563 old=$(pwd)
8564 while test $(pwd) != '/' -a ! -e ./Makefile; do
8565 cd ..
8566 done
8567 topdir=$(pwd)
8568 cd ${old}
8569 echo ${topdir}
8570 })/tests/bootstrap stderr_null_empty
8571 ) >>"$at_stdout" 2>>"$at_stderr"
8572 at_status=$? at_failed=false
8573 $at_check_filter
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
8578 $at_traceon; }
8580 { set +x
8581 $as_echo "$at_srcdir/t_subr_atf_check.at:66: \$({
8582 old=\$(pwd)
8583 while test \$(pwd) != '/' -a ! -e ./Makefile; do
8584 cd ..
8585 done
8586 topdir=\$(pwd)
8587 cd \${old}
8588 echo \${topdir}
8589 })/tests/bootstrap/h_tp_atf_check_sh \\
8590 -s \$({
8591 old=\$(pwd)
8592 while test \$(pwd) != '/' -a ! -e ./Makefile; do
8593 cd ..
8594 done
8595 topdir=\$(pwd)
8596 cd \${old}
8597 echo \${topdir}
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; $({
8601 old=$(pwd)
8602 while test $(pwd) != '/' -a ! -e ./Makefile; do
8603 cd ..
8604 done
8605 topdir=$(pwd)
8606 cd ${old}
8607 echo ${topdir}
8608 })/tests/bootstrap/h_tp_atf_check_sh \
8609 -s $({
8610 old=$(pwd)
8611 while test $(pwd) != '/' -a ! -e ./Makefile; do
8612 cd ..
8613 done
8614 topdir=$(pwd)
8615 cd ${old}
8616 echo ${topdir}
8617 })/tests/bootstrap stderr_null_sth
8618 ) >>"$at_stdout" 2>>"$at_stderr"
8619 at_status=$? at_failed=false
8620 $at_check_filter
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
8625 $at_traceon; }
8627 { set +x
8628 $as_echo "$at_srcdir/t_subr_atf_check.at:68: \$({
8629 old=\$(pwd)
8630 while test \$(pwd) != '/' -a ! -e ./Makefile; do
8631 cd ..
8632 done
8633 topdir=\$(pwd)
8634 cd \${old}
8635 echo \${topdir}
8636 })/tests/bootstrap/h_tp_atf_check_sh \\
8637 -s \$({
8638 old=\$(pwd)
8639 while test \$(pwd) != '/' -a ! -e ./Makefile; do
8640 cd ..
8641 done
8642 topdir=\$(pwd)
8643 cd \${old}
8644 echo \${topdir}
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; $({
8648 old=$(pwd)
8649 while test $(pwd) != '/' -a ! -e ./Makefile; do
8650 cd ..
8651 done
8652 topdir=$(pwd)
8653 cd ${old}
8654 echo ${topdir}
8655 })/tests/bootstrap/h_tp_atf_check_sh \
8656 -s $({
8657 old=$(pwd)
8658 while test $(pwd) != '/' -a ! -e ./Makefile; do
8659 cd ..
8660 done
8661 topdir=$(pwd)
8662 cd ${old}
8663 echo ${topdir}
8664 })/tests/bootstrap stderr_stderr_written
8665 ) >>"$at_stdout" 2>>"$at_stderr"
8666 at_status=$? at_failed=false
8667 $at_check_filter
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
8672 $at_traceon; }
8675 set +x
8676 $at_times_p && times >"$at_times_file"
8677 ) 5>&1 2>&1 | eval $at_tee_pipe
8678 read at_status <"$at_status_file"
8679 #AT_STOP_10