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