#! /bin/sh
# Generated from ../tests/testsuite.at by GNU Autoconf 2.69.
#
# Copyright (C) 2009-2012 Free Software Foundation, Inc.
#
# This test suite is free software; the Free Software Foundation gives
# unlimited permission to copy, distribute and modify it.
## -------------------- ##
## M4sh Initialization. ##
## -------------------- ##

# Be more Bourne compatible
DUALCASE=1; export DUALCASE # for MKS sh
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  emulate sh
  NULLCMD=:
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  # is contrary to our usage.  Disable this feature.
  alias -g '${1+"$@"}'='"$@"'
  setopt NO_GLOB_SUBST
else
  case `(set -o) 2>/dev/null` in #(
  *posix*) :
    set -o posix ;; #(
  *) :
     ;;
esac
fi


as_nl='
'
export as_nl
# Printing a long string crashes Solaris 7 /usr/bin/printf.
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
# Prefer a ksh shell builtin over an external printf program on Solaris,
# but without wasting forks for bash or zsh.
if test -z "$BASH_VERSION$ZSH_VERSION" \
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  as_echo='print -r --'
  as_echo_n='print -rn --'
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  as_echo='printf %s\n'
  as_echo_n='printf %s'
else
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
    as_echo_n='/usr/ucb/echo -n'
  else
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
    as_echo_n_body='eval
      arg=$1;
      case $arg in #(
      *"$as_nl"*)
	expr "X$arg" : "X\\(.*\\)$as_nl";
	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
      esac;
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
    '
    export as_echo_n_body
    as_echo_n='sh -c $as_echo_n_body as_echo'
  fi
  export as_echo_body
  as_echo='sh -c $as_echo_body as_echo'
fi

# The user is always right.
if test "${PATH_SEPARATOR+set}" != set; then
  PATH_SEPARATOR=:
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
      PATH_SEPARATOR=';'
  }
fi


# IFS
# We need space, tab and new line, in precisely that order.  Quoting is
# there to prevent editors from complaining about space-tab.
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
# splitting by setting IFS to empty value.)
IFS=" ""	$as_nl"

# Find who we are.  Look in the path if we contain no directory separator.
as_myself=
case $0 in #((
  *[\\/]* ) as_myself=$0 ;;
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  done
IFS=$as_save_IFS

     ;;
esac
# We did not find ourselves, most probably we were run as `sh COMMAND'
# in which case we are not to be found in the path.
if test "x$as_myself" = x; then
  as_myself=$0
fi
if test ! -f "$as_myself"; then
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  exit 1
fi

# Unset variables that we do not need and which cause bugs (e.g. in
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
# suppresses any "Segmentation fault" message there.  '((' could
# trigger a bug in pdksh 5.2.14.
for as_var in BASH_ENV ENV MAIL MAILPATH
do eval test x\${$as_var+set} = xset \
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
done
PS1='$ '
PS2='> '
PS4='+ '

# NLS nuisances.
LC_ALL=C
export LC_ALL
LANGUAGE=C
export LANGUAGE

# CDPATH.
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH

if test "x$CONFIG_SHELL" = x; then
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  emulate sh
  NULLCMD=:
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  # is contrary to our usage.  Disable this feature.
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
  setopt NO_GLOB_SUBST
else
  case \`(set -o) 2>/dev/null\` in #(
  *posix*) :
    set -o posix ;; #(
  *) :
     ;;
esac
fi
"
  as_required="as_fn_return () { (exit \$1); }
as_fn_success () { as_fn_return 0; }
as_fn_failure () { as_fn_return 1; }
as_fn_ret_success () { return 0; }
as_fn_ret_failure () { return 1; }

exitcode=0
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :

else
  exitcode=1; echo positional parameters were not saved.
fi
test x\$exitcode = x0 || exit 1
test -x / || exit 1"
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
test \$(( 1 + 1 )) = 2 || exit 1"
  if (eval "$as_required") 2>/dev/null; then :
  as_have_required=yes
else
  as_have_required=no
fi
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :

else
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
as_found=false
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  as_found=:
  case $as_dir in #(
	 /*)
	   for as_base in sh bash ksh sh5; do
	     # Try only shells that exist, to save several forks.
	     as_shell=$as_dir/$as_base
	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  CONFIG_SHELL=$as_shell as_have_required=yes
		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  break 2
fi
fi
	   done;;
       esac
  as_found=false
done
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  CONFIG_SHELL=$SHELL as_have_required=yes
fi; }
IFS=$as_save_IFS


      if test "x$CONFIG_SHELL" != x; then :
  export CONFIG_SHELL
             # We cannot yet assume a decent shell, so we have to provide a
# neutralization value for shells without unset; and this also
# works around shells that cannot unset nonexistent variables.
# Preserve -v and -x to the replacement shell.
BASH_ENV=/dev/null
ENV=/dev/null
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
case $- in # ((((
  *v*x* | *x*v* ) as_opts=-vx ;;
  *v* ) as_opts=-v ;;
  *x* ) as_opts=-x ;;
  * ) as_opts= ;;
esac
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
# Admittedly, this is quite paranoid, since all the known shells bail
# out after a failed `exec'.
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
exit 255
fi

    if test x$as_have_required = xno; then :
  $as_echo "$0: This script requires a shell more modern than all"
  $as_echo "$0: the shells that I found on your system."
  if test x${ZSH_VERSION+set} = xset ; then
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  else
    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
$0: including any error possibly output before this
$0: message. Then install a modern shell, or manually run
$0: the script under such a shell if you do have one."
  fi
  exit 1
fi
fi
fi
SHELL=${CONFIG_SHELL-/bin/sh}
export SHELL
# Unset more variables known to interfere with behavior of common tools.
CLICOLOR_FORCE= GREP_OPTIONS=
unset CLICOLOR_FORCE GREP_OPTIONS

## --------------------- ##
## M4sh Shell Functions. ##
## --------------------- ##
# as_fn_unset VAR
# ---------------
# Portably unset VAR.
as_fn_unset ()
{
  { eval $1=; unset $1;}
}
as_unset=as_fn_unset

# as_fn_set_status STATUS
# -----------------------
# Set $? to STATUS, without forking.
as_fn_set_status ()
{
  return $1
} # as_fn_set_status

# as_fn_exit STATUS
# -----------------
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
as_fn_exit ()
{
  set +e
  as_fn_set_status $1
  exit $1
} # as_fn_exit

# as_fn_mkdir_p
# -------------
# Create "$as_dir" as a directory, including parents if necessary.
as_fn_mkdir_p ()
{

  case $as_dir in #(
  -*) as_dir=./$as_dir;;
  esac
  test -d "$as_dir" || eval $as_mkdir_p || {
    as_dirs=
    while :; do
      case $as_dir in #(
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
      *) as_qdir=$as_dir;;
      esac
      as_dirs="'$as_qdir' $as_dirs"
      as_dir=`$as_dirname -- "$as_dir" ||
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
	 X"$as_dir" : 'X\(//\)[^/]' \| \
	 X"$as_dir" : 'X\(//\)$' \| \
	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
$as_echo X"$as_dir" |
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
	    s//\1/
	    q
	  }
	  /^X\(\/\/\)[^/].*/{
	    s//\1/
	    q
	  }
	  /^X\(\/\/\)$/{
	    s//\1/
	    q
	  }
	  /^X\(\/\).*/{
	    s//\1/
	    q
	  }
	  s/.*/./; q'`
      test -d "$as_dir" && break
    done
    test -z "$as_dirs" || eval "mkdir $as_dirs"
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"


} # as_fn_mkdir_p

# as_fn_executable_p FILE
# -----------------------
# Test if FILE is an executable regular file.
as_fn_executable_p ()
{
  test -f "$1" && test -x "$1"
} # as_fn_executable_p
# as_fn_append VAR VALUE
# ----------------------
# Append the text in VALUE to the end of the definition contained in VAR. Take
# advantage of any shell optimizations that allow amortized linear growth over
# repeated appends, instead of the typical quadratic growth present in naive
# implementations.
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  eval 'as_fn_append ()
  {
    eval $1+=\$2
  }'
else
  as_fn_append ()
  {
    eval $1=\$$1\$2
  }
fi # as_fn_append

# as_fn_arith ARG...
# ------------------
# Perform arithmetic evaluation on the ARGs, and store the result in the
# global $as_val. Take advantage of shells that can avoid forks. The arguments
# must be portable across $(()) and expr.
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  eval 'as_fn_arith ()
  {
    as_val=$(( $* ))
  }'
else
  as_fn_arith ()
  {
    as_val=`expr "$@" || test $? -eq 1`
  }
fi # as_fn_arith


# as_fn_error STATUS ERROR [LINENO LOG_FD]
# ----------------------------------------
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
# script with STATUS, using 1 if that was 0.
as_fn_error ()
{
  as_status=$1; test $as_status -eq 0 && as_status=1
  if test "$4"; then
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  fi
  $as_echo "$as_me: error: $2" >&2
  as_fn_exit $as_status
} # as_fn_error

if expr a : '\(a\)' >/dev/null 2>&1 &&
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
  as_expr=expr
else
  as_expr=false
fi

if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  as_basename=basename
else
  as_basename=false
fi

as_me=`$as_basename -- "$0" ||
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
	 X"$0" : 'X\(//\)$' \| \
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
$as_echo X/"$0" |
    sed '/^.*\/\([^/][^/]*\)\/*$/{
	    s//\1/
	    q
	  }
	  /^X\/\(\/\/\)$/{
	    s//\1/
	    q
	  }
	  /^X\/\(\/\).*/{
	    s//\1/
	    q
	  }
	  s/.*/./; q'`

if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  as_dirname=dirname
else
  as_dirname=false
fi

# Avoid depending upon Character Ranges.
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
as_cr_digits='0123456789'
as_cr_alnum=$as_cr_Letters$as_cr_digits


  as_lineno_1=$LINENO as_lineno_1a=$LINENO
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
  sed -n '
    p
    /[$]LINENO/=
  ' <$as_myself |
    sed '
      s/[$]LINENO.*/&-/
      t lineno
      b
      :lineno
      N
      :loop
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
      t loop
      s/-\n.*//
    ' >$as_me.lineno &&
  chmod +x "$as_me.lineno" ||
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }

  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
  # already done that, so ensure we don't try to do so again and fall
  # in an infinite loop.  This has already happened in practice.
  _as_can_reexec=no; export _as_can_reexec
  # Don't try to exec as it changes $[0], causing all sort of problems
  # (the dirname of $[0] is not the place where we might find the
  # original and so on.  Autoconf is especially sensitive to this).
  . "./$as_me.lineno"
  # Exit status is that of the last command.
  exit
}

ECHO_C= ECHO_N= ECHO_T=
case `echo -n x` in #(((((
-n*)
  case `echo 'xy\c'` in
  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
  xy)  ECHO_C='\c';;
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
       ECHO_T='	';;
  esac;;
*)
  ECHO_N='-n';;
esac

rm -f conf$$ conf$$.exe conf$$.file
if test -d conf$$.dir; then
  rm -f conf$$.dir/conf$$.file
else
  rm -f conf$$.dir
  mkdir conf$$.dir 2>/dev/null
fi
if (echo >conf$$.file) 2>/dev/null; then
  if ln -s conf$$.file conf$$ 2>/dev/null; then
    as_ln_s='ln -s'
    # ... but there are two gotchas:
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    # In both cases, we have to default to `cp -pR'.
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
      as_ln_s='cp -pR'
  elif ln conf$$.file conf$$ 2>/dev/null; then
    as_ln_s=ln
  else
    as_ln_s='cp -pR'
  fi
else
  as_ln_s='cp -pR'
fi
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
rmdir conf$$.dir 2>/dev/null

if mkdir -p . 2>/dev/null; then
  as_mkdir_p='mkdir -p "$as_dir"'
else
  test -d ./-p && rmdir ./-p
  as_mkdir_p=false
fi

as_test_x='test -x'
as_executable_p=as_fn_executable_p

# Sed expression to map a string onto a valid CPP name.
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"

# Sed expression to map a string onto a valid variable name.
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"





SHELL=${CONFIG_SHELL-/bin/sh}

# How were we run?
at_cli_args="$@"


# Not all shells have the 'times' builtin; the subshell is needed to make
# sure we discard the 'times: not found' message from the shell.
at_times_p=false
(times) >/dev/null 2>&1 && at_times_p=:

# CLI Arguments to pass to the debugging scripts.
at_debug_args=
# -e sets to true
at_errexit_p=false
# Shall we be verbose?  ':' means no, empty means yes.
at_verbose=:
at_quiet=
# Running several jobs in parallel, 0 means as many as test groups.
at_jobs=1
at_traceon=:
at_trace_echo=:
at_check_filter_trace=:

# Shall we keep the debug scripts?  Must be `:' when the suite is
# run by a debug script, so that the script doesn't remove itself.
at_debug_p=false
# Display help message?
at_help_p=false
# Display the version message?
at_version_p=false
# List test groups?
at_list_p=false
# --clean
at_clean=false
# Test groups to run
at_groups=
# Whether to rerun failed tests.
at_recheck=
# Whether a write failure occurred
at_write_fail=0

# The directory we run the suite in.  Default to . if no -C option.
at_dir=`pwd`
# An absolute reference to this testsuite script.
case $as_myself in
  [\\/]* | ?:[\\/]* ) at_myself=$as_myself ;;
  * ) at_myself=$at_dir/$as_myself ;;
esac
# Whether -C is in effect.
at_change_dir=false

# Whether to enable colored test results.
at_color=no
# List of the tested programs.
at_tested=''
# As many question marks as there are digits in the last test group number.
# Used to normalize the test group numbers so that `ls' lists them in
# numerical order.
at_format='????'
# Description of all the test groups.
at_help_all="1;calendar.at:19;epoch;;
2;data-in.at:53;numeric input formats;data-in;
3;data-in.at:176;reading big numbers;data-in;
4;data-in.at:256;DATE input format;data-in;
5;data-in.at:264;ADATE input format;data-in;
6;data-in.at:272;EDATE input format;data-in;
7;data-in.at:280;JDATE input format;data-in;
8;data-in.at:288;SDATE input format;data-in;
9;data-in.at:296;QYR input format;data-in;
10;data-in.at:304;MOYR input format;data-in;
11;data-in.at:312;WKYR input format;data-in;
12;data-in.at:320;DATETIME input format;data-in;
13;data-in.at:329;YMDHMS input format;data-in;
14;data-in.at:338;MTIME input format;data-in;
15;data-in.at:346;TIME input format;data-in;
16;data-in.at:354;DTIME input format;data-in;
17;data-in.at:362;binary and hexadecimal input (IB, PIB, and PIBHEX formats);;
18;data-in.at:383;BCD input (P and PK formats);;
19;data-in.at:403;legacy input (N and Z formats);;
20;data-in.at:423;WKDAY input format;;
21;data-in.at:483;MONTH input format;;
22;data-out.at:19;numeric format output;data-out;
23;data-out.at:238;non-ASCII custom currency formats;data-out;
24;data-out.at:275;binary and hexadecimal output;data-out;
25;data-out.at:394;output valid dates;data-out;
26;data-out.at:1116;output invalid dates;data-out;
27;data-out.at:1210;time output;data-out;
28;data-out.at:19895;MONTH output;data-out;
29;data-out.at:20852;WKDAY output;data-out;
30;data-out.at:21600;AHEX output bug;data-out;
31;datasheet-test.at:28;3x3, 0 backing rows, backing widths ;datasheet;
32;datasheet-test.at:29;3x3, 3 backing rows, backing widths 0,0,0;datasheet;
33;datasheet-test.at:30;3x3, 3 backing rows, backing widths 0;datasheet;
34;datasheet-test.at:31;3x3, 3 backing rows, backing widths 5;datasheet;
35;datasheet-test.at:32;3x3, 1 backing rows, backing widths 0,9,0;datasheet;
36;dictionary.at:19;dictionary case-insensitivity;;
37;file.at:19;Write error - directory exists;;
38;file.at:40;Write error - no permission;;
39;file.at:66;Write error - temp file disappeared;;
40;file.at:84;Write fifo;;
41;file.at:107;Reading from pipe;;
42;format-guesser.at:19;format guesser;;
43;mdd-file.at:19;write MDD file;save get system file;
44;pc+-file-reader.at:19;variable labels and missing values;sack synthetic pc+ file positive;
45;pc+-file-reader.at:137;value labels;sack synthetic pc+ file positive;
46;pc+-file-reader.at:302;compressed data;sack synthetic pc+ file positive;
47;pc+-file-reader.at:379;weighted;sack synthetic pc+ file negative;
48;pc+-file-reader.at:465;unspecified character encoding;sack synthetic pc+ file negative;
49;pc+-file-reader.at:569;unexpected fixed values;sack synthetic pc+ file negative;
50;pc+-file-reader.at:627;short main header;sack synthetic pc+ file negative;
51;pc+-file-reader.at:678;long main header;sack synthetic pc+ file negative;
52;pc+-file-reader.at:730;invalid compression type;sack synthetic pc+ file negative;
53;pc+-file-reader.at:782;unrealistic number of cases;sack synthetic pc+ file negative;
54;pc+-file-reader.at:834;labels bad offsets;sack synthetic pc+ file negative;
55;pc+-file-reader.at:899;record 1 bad length;sack synthetic pc+ file negative;
56;pc+-file-reader.at:952;bad variable format;sack synthetic pc+ file negative;
57;pc+-file-reader.at:1004;bad variable name;sack synthetic pc+ file negative;
58;pc+-file-reader.at:1056;duplicate variable name;sack synthetic pc+ file negative;
59;pc+-file-reader.at:1112;partial case;sack synthetic pc+ file negative;
60;pc+-file-reader.at:1176;case extends past end of data record;sack synthetic pc+ file negative;
61;pc+-file-reader.at:1241;corrupt compressed data;sack synthetic pc+ file positive;
62;pc+-file-reader.at:1319;invalid weight index;sack synthetic pc+ file negative;
63;pc+-file-reader.at:1371;string weight;sack synthetic pc+ file negative;
64;por-file.at:19;overwriting portable file;;
65;por-file.at:34;overwriting portable file atomically;;
66;por-file.at:52;write to same portable file being read;;
67;por-file.at:86;write portable file with value labels;;
68;sys-file-reader.at:19;variable labels and missing values;sack synthetic system file positive;
69;sys-file-reader.at:203;unspecified number of variable positions;sack synthetic system file positive;
70;sys-file-reader.at:254;wrong number of variable positions but version 13;sack synthetic system file positive;
71;sys-file-reader.at:308;value labels;sack synthetic system file positive;
72;sys-file-reader.at:521;documents;sack synthetic system file positive;
73;sys-file-reader.at:587;empty document record;sack synthetic system file positive;
74;sys-file-reader.at:634;multiple response sets;sack synthetic system file positive;
75;sys-file-reader.at:751;extra product info;sack synthetic system file positive;
76;sys-file-reader.at:798;variable display parameters, without width;sack synthetic system file positive;
77;sys-file-reader.at:904;variable display parameters, with width;sack synthetic system file positive;
78;sys-file-reader.at:1022;long variable names;sack synthetic system file positive;
79;sys-file-reader.at:1088;very long strings;sack synthetic system file positive;
80;sys-file-reader.at:1156;data file and variable attributes;sack synthetic system file positive;
81;sys-file-reader.at:1273;variable roles;sack synthetic system file positive;
82;sys-file-reader.at:1347;compressed data;sack synthetic system file positive;
83;sys-file-reader.at:1409;compressed data, zero bias;sack synthetic system file positive;
84;sys-file-reader.at:1471;compressed data, other bias;sack synthetic system file positive;
85;sys-file-reader.at:1606;zcompressed data;sack synthetic system file positive zlib;
86;sys-file-reader.at:1636;no variables;sack synthetic system file negative;
87;sys-file-reader.at:1673;unspecified character encoding;sack synthetic system file positive;
88;sys-file-reader.at:1709;misplaced type 4 record;sack synthetic system file negative;
89;sys-file-reader.at:1732;bad record type;sack synthetic system file negative;
90;sys-file-reader.at:1755;wrong number of variable positions;sack synthetic system file negative;
91;sys-file-reader.at:1781;variable name may not begin with \`#';sack synthetic system file negative;
92;sys-file-reader.at:1807;variable name may not be reserved word;sack synthetic system file negative;
93;sys-file-reader.at:1833;variable width must be between 0 and 255;sack synthetic system file negative;
94;sys-file-reader.at:1861;duplicate variable name;sack synthetic system file negative;
95;sys-file-reader.at:1893;variable label indicator not 0 or 1;sack synthetic system file negative;
96;sys-file-reader.at:1919;invalid numeric missing value indicator;sack synthetic system file negative;
97;sys-file-reader.at:1945;invalid string missing value indicator;sack synthetic system file negative;
98;sys-file-reader.at:1971;missing string continuation record;sack synthetic system file negative;
99;sys-file-reader.at:1998;invalid variable format;sack synthetic system file negative;
100;sys-file-reader.at:2047;invalid long string missing values;sack synthetic system file negative;
101;sys-file-reader.at:2136;weighting variable must be numeric;sack synthetic system file negative;
102;sys-file-reader.at:2170;bad weighting variable index;sack synthetic system file negative;
103;sys-file-reader.at:2199;variable index is long string contination;sack synthetic system file negative;
104;sys-file-reader.at:2229;multiple documents records;sack synthetic system file negative;
105;sys-file-reader.at:2263;extension record too large;sack synthetic system file negative;
106;sys-file-reader.at:2287;unknown extension record;sack synthetic system file negative;
107;sys-file-reader.at:2317;bad machine integer info size;sack synthetic system file negative;
108;sys-file-reader.at:2347;bad machine integer info float format;sack synthetic system file negative;
109;sys-file-reader.at:2377;bad machine integer info endianness;sack synthetic system file negative;
110;sys-file-reader.at:2413;bad machine floating-point info size;sack synthetic system file negative;
111;sys-file-reader.at:2443;wrong special floating point values;sack synthetic system file negative;
112;sys-file-reader.at:2476;bad mrsets name;sack synthetic system file negative multiple response;
113;sys-file-reader.at:2576;missing space after C in mrsets;sack synthetic system file negative multiple response;
114;sys-file-reader.at:2604;missing space after E in mrsets;sack synthetic system file negative multiple response;
115;sys-file-reader.at:2632;missing label source in mrsets;sack synthetic system file negative multiple response;
116;sys-file-reader.at:2662;unexpected label source in mrsets;sack synthetic system file negative multiple response;
117;sys-file-reader.at:2692;bad type character in mrsets;sack synthetic system file negative multiple response;
118;sys-file-reader.at:2720;bad counted string length in mrsets;sack synthetic system file negative multiple response;
119;sys-file-reader.at:2748;missing space in counted string in mrsets;sack synthetic system file negative multiple response;
120;sys-file-reader.at:2776;counted string too long in mrsets;sack synthetic system file negative multiple response;
121;sys-file-reader.at:2804;missing space after counted string in mrsets;sack synthetic system file negative multiple response;
122;sys-file-reader.at:2832;missing newline after variable name in mrsets;sack synthetic system file negative multiple response;
123;sys-file-reader.at:2862;duplicate variable name in mrsets;sack synthetic system file negative multiple response;
124;sys-file-reader.at:2892;mixed variable types in mrsets;sack synthetic system file negative multiple response;
125;sys-file-reader.at:2923;missing newline after variable name in mrsets;sack synthetic system file negative multiple response;
126;sys-file-reader.at:2951;zero or one variable in mrset;sack synthetic system file negative multiple response;
127;sys-file-reader.at:2981;wrong display parameter size;sack synthetic system file negative;
128;sys-file-reader.at:3010;wrong display parameter count;sack synthetic system file negative;
129;sys-file-reader.at:3039;wrong display measurement level;sack synthetic system file negative;
130;sys-file-reader.at:3068;wrong display alignment;sack synthetic system file negative;
131;sys-file-reader.at:3097;bad variable name in variable/value pair;sack synthetic system file negative;
132;sys-file-reader.at:3127;duplicate long variable name;sack synthetic system file negative;
133;sys-file-reader.at:3172;bad very long string length;sack synthetic system file negative;
134;sys-file-reader.at:3210;bad very long string segment width;sack synthetic system file negative;
135;sys-file-reader.at:3245;too many value labels;sack synthetic system file negative;
136;sys-file-reader.at:3267;missing type 4 record;sack synthetic system file negative;
137;sys-file-reader.at:3297;value label with no associated variables;sack synthetic system file negative;
138;sys-file-reader.at:3321;type 4 record names long string variable;sack synthetic system file negative;
139;sys-file-reader.at:3352;variables for value label must all be same type;sack synthetic system file negative;
140;sys-file-reader.at:3383;duplicate value labels type;sack synthetic system file negative;
141;sys-file-reader.at:3417;missing attribute value;sack synthetic system file negative;
142;sys-file-reader.at:3457;unquoted attribute value;sack synthetic system file negative;
143;sys-file-reader.at:3498;duplicate attribute name;sack synthetic system file negative;
144;sys-file-reader.at:3540;bad variable name in long string value label;sack synthetic system file negative;
145;sys-file-reader.at:3599;fewer data records than indicated by file header;sack synthetic system file negative;
146;sys-file-reader.at:3639;partial data record between variables;sack synthetic system file negative;
147;sys-file-reader.at:3673;partial data record within long string;sack synthetic system file negative;
148;sys-file-reader.at:3707;partial compressed data record;sack synthetic system file positive;
149;sys-file-reader.at:3755;zcompressed data - bad zheader_ofs;sack synthetic system file negative zlib;
150;sys-file-reader.at:3767;zcompressed data - bad ztrailer_ofs;sack synthetic system file negative zlib;
151;sys-file-reader.at:3781;zcompressed data - invalid ztrailer_len;sack synthetic system file negative zlib;
152;sys-file-reader.at:3794;zcompressed data - wrong ztrailer_len;sack synthetic system file negative zlib;
153;sys-file-reader.at:3807;zcompressed data - wrong ztrailer_bias;sack synthetic system file negative zlib;
154;sys-file-reader.at:3819;zcompressed data - wrong ztrailer_zero;sack synthetic system file negative zlib;
155;sys-file-reader.at:3831;zcompressed data - wrong block_size;sack synthetic system file negative zlib;
156;sys-file-reader.at:3843;zcompressed data - wrong n_blocks;sack synthetic system file negative zlib;
157;sys-file-reader.at:3855;zcompressed data - wrong uncompressed_ofs;sack synthetic system file negative zlib;
158;sys-file-reader.at:3867;zcompressed data - wrong compressed_ofs;sack synthetic system file negative zlib;
159;sys-file-reader.at:3879;zcompressed data - compressed sizes don't add up;sack synthetic system file negative zlib;
160;sys-file-reader.at:3945;zcompressed data - uncompressed_size > block_size;sack synthetic system file negative zlib;
161;sys-file-reader.at:3957;zcompressed data - compression expands data too much;sack synthetic system file negative zlib;
162;sys-file-reader.at:3970;zcompressed data - compressed sizes don't add up;sack synthetic system file negative zlib;
163;sys-file-reader.at:3987;integer overflows in long string missing values;system file negative;
164;sys-file-reader.at:4000;null dereference skipping bad extension record 18;system file negative;
165;sys-file.at:20;write and read numeric data;save get system file;
166;sys-file.at:62;write and read long string value labels and missing values;save get system file;
167;sys-file.at:115;write and read compressed files;save get system file;
168;sys-file.at:142;overwriting system file;;
169;sys-file.at:157;overwriting system file atomically;;
170;sys-file.at:176;write to same system file being read;;
171;sys-file.at:207;nonempty case_map doesn't crash;save system file;
172;sys-file.at:233;system files with -1 case_size;save get;
173;sys-file.at:291;write v2 system file;save;
174;sys-file.at:332;read very long strings written by SPSS 13;;
175;sys-file.at:358;read very long strings written by SPSS 14;;
176;sys-file.at:427;save very long string -- uncompressed;;
177;sys-file.at:428;save very long string -- compressed;;
178;sys-file.at:433;system file character encoding;;
179;encrypted-file.at:19;decrypt an encrypted system file;system file decrypt pspp-convert;
180;encrypted-file.at:45;decrypt an encrypted syntax file;syntax file decrypt pspp-convert;
181;command.at:20;command parser crash bug;;
182;command.at:36;FINISH executes immediately;;
183;command.at:42;ERASE -- safer mode;;
184;command.at:57;ERASE -- not safer mode;;
185;command.at:70;N OF CASES;;
186;command.at:109;COMMENT at end of file;;
187;do-if.at:19;DO IF;;
188;do-if.at:68;unpaired END IF crash;;
189;do-if.at:80;ELSE without DO IF;;
190;do-repeat.at:19;DO REPEAT -- simple;;
191;do-repeat.at:43;DO REPEAT -- containing BEGIN DATA;;
192;do-repeat.at:78;DO REPEAT -- dummy vars not expanded in include files;;
193;do-repeat.at:108;DO REPEAT -- nested;;
194;do-repeat.at:141;DO REPEAT -- empty;;
195;do-repeat.at:158;DO REPEAT -- missing END REPEAT;;
196;loop.at:29;LOOP with index;;
197;loop.at:64;LOOP with IF condition;;
198;loop.at:101;LOOP with END IF condition;;
199;loop.at:140;LOOP with index and IF based on index;;
200;loop.at:169;LOOP with index and END IF based on index;;
201;loop.at:202;LOOP with index and IF and END IF based on index;;
202;loop.at:227;LOOP with no conditions containing BREAK;;
203;loop.at:265;LOOP with no conditions that ends due to MXLOOPS;;
204;temporary.at:20;TEMPORARY as first transformation;;
205;data-list.at:19;DATA LIST LIST with empty fields;;
206;data-list.at:50;DATA LIST LIST with explicit delimiters;;
207;data-list.at:79;DATA LIST FREE with SKIP;;
208;data-list.at:113;DATA LIST LIST with SKIP and tab delimiter;;
209;data-list.at:162;DATA LIST FREE with explicit delimiter at end of line;;
210;data-list.at:223;DATA LIST FIXED with multiple records per case;;
211;data-list.at:255;DATA LIST FIXED with empty trailing record;;
212;data-list.at:285;DATA LIST with various line-ends;;
213;data-list.at:309;DATA LIST properly expands tabs in input;;
214;data-list.at:339;DATA LIST FREE and LIST report missing delimiters;;
215;data-list.at:357;DATA LIST FREE and LIST assume a width if omitted;;
216;data-list.at:370;DATA LIST Decimal comma;;
217;data-list.at:405;DATA LIST - Negative SKIP;;
218;data-list.at:421;DATA LIST - Negative RECORDS;;
219;data-reader.at:21;BEGIN DATA as part of a procedure;;
220;data-reader.at:54;BEGIN DATA as an independent command;;
221;data-reader.at:211;read and write files with MODE=BINARY;;
222;data-reader.at:217;read and write files with MODE=360 /RECFORM=FIXED /LRECL=32;;
223;data-reader.at:227;read and write files with MODE=360 /RECFORM=VARIABLE;;
224;data-reader.at:234;read and write files with MODE=360 /RECFORM=SPANNED;;
225;dataset.at:19;DATASET COPY;;
226;dataset.at:115;DATASET DECLARE;;
227;dataset.at:146;DATASET NAME deletes duplicate name;;
228;dataset.at:170;DATASET ACTIVATE deletes unnamed dataset;;
229;dataset.at:190;DATASET ACTIVATE executes pending transformations;;
230;dataset.at:240;DATASET CLOSE;;
231;file-handle.at:19;FILE HANDLE;;
232;get-data-spreadsheet.at:167;GET DATA /TYPE=GNM with CELLRANGE;;
233;get-data-spreadsheet.at:167;GET DATA /TYPE=GNM with CELLRANGE and READNAMES;;
234;get-data-spreadsheet.at:167;GET DATA /TYPE=GNM without CELLRANGE;;
235;get-data-spreadsheet.at:167;GET DATA /TYPE=GNM with missing data;;
236;get-data-spreadsheet.at:167;GET DATA /TYPE=GNM with no options;;
237;get-data-spreadsheet.at:167;GET DATA /TYPE=GNM with empty sheet;;
238;get-data-spreadsheet.at:167;GET DATA /TYPE=GNM with nonexistent sheet;;
239;get-data-spreadsheet.at:170;GET DATA /TYPE=GNM sheet index bug;;
240;get-data-spreadsheet.at:318;GET DATA /TYPE=GNM assert-fail;;
241;get-data-spreadsheet.at:371;GET DATA /TYPE=ODS with CELLRANGE;;
242;get-data-spreadsheet.at:371;GET DATA /TYPE=ODS with CELLRANGE and READNAMES;;
243;get-data-spreadsheet.at:371;GET DATA /TYPE=ODS without CELLRANGE;;
244;get-data-spreadsheet.at:371;GET DATA /TYPE=ODS with missing data;;
245;get-data-spreadsheet.at:371;GET DATA /TYPE=ODS with no options;;
246;get-data-spreadsheet.at:371;GET DATA /TYPE=ODS with empty sheet;;
247;get-data-spreadsheet.at:371;GET DATA /TYPE=ODS with nonexistent sheet;;
248;get-data-spreadsheet.at:374;GET DATA /TYPE=ODS crash;;
249;get-data-spreadsheet.at:389;GET DATA /TYPE=ODS readnames;;
250;get-data-psql.at:140;GET DATA /TYPE=PSQL;;
251;get-data-txt.at:23;GET DATA /TYPE=TXT with explicit delimiters;;
252;get-data-txt.at:45;GET DATA /TYPE=TXT with FIRSTCASE;;
253;get-data-txt.at:83;GET DATA /TYPE=TXT with FIRSTCASE and tab delimiter;;
254;get-data-txt.at:132;GET DATA /TYPE=TXT with multiple records per case;;
255;get-data-txt.at:161;GET DATA /TYPE=TXT with empty trailing record;;
256;get-data-txt.at:194;GET DATA /TYPE=TXT password example;;
257;get-data-txt.at:225;GET DATA /TYPE=TXT cars example;;
258;get-data-txt.at:272;GET DATA /TYPE=TXT pets example;;
259;get-data-txt.at:305;GET DATA /TYPE=TXT with IMPORTCASE;;
260;get-data-txt.at:332;GET DATA /TYPE=TXT with ENCODING subcommand;;
261;get-data-txt.at:350;GET DATA /TYPE= truncated;;
262;get-data-txt.at:363;GET DATA /TYPE=txt bug;;
263;get-data-txt.at:400;GET DATA /TYPE=txt another bug;;
264;get.at:21;GET data works in multiple procedures;;
265;get.at:72;GET nonexistent file doesn't crash;;
266;get.at:106;GET with /KEEP=ALL crashes -- uncompressed;;
267;get.at:107;GET with /KEEP=ALL crashes -- compressed;;
268;get.at:111;GET data no type;;
269;inpt-pgm.at:21;INPUT PROGRAM invalid syntax crash;;
270;inpt-pgm.at:37;INPUT PROGRAM invalid syntax crash;;
271;inpt-pgm.at:52;INPUT PROGRAM infinite loop;;
272;inpt-pgm.at:69;INPUT PROGRAM with VECTOR and EXECUTE;;
273;list.at:19;LIST plain cases;;
274;list.at:61;LIST numbered cases;;
275;list.at:105;LIST with split file;;
276;list.at:147;LIST lots of variables;;
277;list.at:173;LIST selected cases;;
278;list.at:241;LIST very long string;;
279;list.at:269;LIST crash on invalid input;;
280;match-files.at:120;MATCH FILES -- system file and system file;;
281;match-files.at:121;MATCH FILES -- system file and active file;;
282;match-files.at:122;MATCH FILES -- active file and system file;;
283;match-files.at:123;MATCH FILES -- system file and system table;;
284;match-files.at:124;MATCH FILES -- system file and active table;;
285;match-files.at:125;MATCH FILES -- active file and system table;;
286;match-files.at:127;MATCH FILES parallel match;;
287;match-files.at:154;MATCH FILES bug with TABLE from active dataset;;
288;match-files.at:186;MATCH FILES bug with scratch variables;;
289;match-files.at:222;MATCH FILES with incompatible variable types;;
290;matrix-data.at:19;Matrix data (lower file);;
291;matrix-data.at:66;Matrix data (upper);;
292;matrix-data.at:100;Matrix data (full);;
293;matrix-data.at:137;Matrix data (upper nodiagonal);;
294;matrix-data.at:171;Matrix data (lower nodiagonal);;
295;matrix-data.at:206;Matrix data split data;;
296;matrix-data.at:265;Matrix data duplicate variable;;
297;matrix-data.at:297;Matrix data - long variable names;;
298;matrix-data.at:333;Matrix reader - read integrity;;
299;matrix-data.at:383;Matrix data - too many rows;;
300;matrix-data.at:423;Matrix data (badly formed);;
301;matrix-data.at:450;Matrix data (N subcommand);;
302;print-space.at:19;PRINT SPACE without arguments;;
303;print-space.at:41;PRINT SPACE with number;;
304;print-space.at:67;PRINT SPACE to file;;
305;print-space.at:88;PRINT SPACE to file with number;;
306;print.at:36;PRINT numeric variables;;
307;print.at:107;PRINT string variables;;
308;print.at:134;PRINT to file;;
309;print.at:179;PRINT crash bug;;
310;print.at:200;WRITE to file;;
311;print.at:243;PRINT overwrites file;;
312;print.at:259;PRINT overwrites file atomically;;
313;print.at:277;PRINT to same file being read;;
314;print.at:293;PRINT to special file;;
315;print.at:322;PRINT with special line ends;;
316;save.at:19;IMPORT and EXPORT;;
317;save.at:47;SAVE -- delete unselected;;
318;save-translate.at:39;CSV output -- defaults;save translate;
319;save-translate.at:48;CSV output -- recode missing, delete unselected;save translate;
320;save-translate.at:56;CSV output -- var names, formats;save translate;
321;save-translate.at:67;CSV output -- comma as decimal point;save translate;
322;save-translate.at:77;CSV output -- custom delimiter, qualifier;save translate;
323;save-translate.at:88;CSV output -- KEEP, RENAME;save translate;
324;save-translate.at:100;TAB output;save translate;
325;attributes.at:19;VARIABLE ATTRIBUTES and DATAFILE ATTRIBUTES;;
326;delete-variables.at:20;DELETE VARIABLES with FILTER;;
327;formats.at:19;FORMATS positive tests;;
328;formats.at:65;FORMATS negative tests;;
329;missing-values.at:19;MISSING VALUES valid cases;;
330;missing-values.at:145;MISSING VALUES invalid cases;;
331;mrsets.at:137;MRSETS add, display, delete;;
332;mrsets.at:208;MRSETS read and write;;
333;mrsets.at:222;MRSETS names must begin with \$;;
334;mrsets.at:232;MRSETS must have at least 2 variables;;
335;mrsets.at:242;MRSETS does not allow noninteger VALUE;;
336;mrsets.at:252;MRSETS requires NAME to define a group;;
337;mrsets.at:262;MRSETS requires VARIABLES to define a group;;
338;mrsets.at:272;MRSETS variables must be same type;;
339;mrsets.at:284;MRSETS variables and VALUE must be same type;;
340;mrsets.at:297;MRSETS VALUE must not be too wide;;
341;mrsets.at:307;MRSETS LABEL and LABELSOURCE are exclusive;;
342;mrsets.at:318;MRSETS DISPLAY or DELETE unknown group;;
343;rename-variables.at:19;RENAME VARIABLES;;
344;rename-variables.at:64;RENAME VARIABLES -- multiple sets;;
345;rename-variables.at:93;RENAME VARIABLES -- invalid syntax 1;;
346;rename-variables.at:105;RENAME VARIABLES -- invalid syntax 2;;
347;rename-variables.at:119;RENAME VARIABLES -- invalid syntax 3;;
348;sort-variables.at:19;SORT VARIABLES;;
349;split-file.at:19;SPLIT FILE - basic test;;
350;split-file.at:77;SPLIT FILE  - vs procedures;;
351;sys-file-info.at:19;SYSFILE INFO;;
352;sys-file-info.at:70;DISPLAY FILE LABEL;;
353;sys-file-info.at:90;DISPLAY SCRATCH;;
354;sys-file-info.at:105;DISPLAY INDEX;;
355;sys-file-info.at:117;DISPLAY NAMES;;
356;sys-file-info.at:129;DISPLAY LABELS;;
357;value-labels.at:19;VALUE LABELS date formats;;
358;value-labels.at:43;VALUE LABELS with new-line;;
359;value-labels.at:74;VALUE LABELS with new-line in system file;;
360;value-labels.at:112;VALUE LABELS invalid syntax bug;;
361;value-labels.at:130;VALUE LABELS trailing \`/' bug;;
362;variable-display.at:19;variable display attribute commands;;
363;variable-display.at:52;variable labels;;
364;vector.at:19;VECTOR short form;;
365;vector.at:35;VECTOR short form with format specification;;
366;vector.at:55;VECTOR short form in INPUT PROGRAM;;
367;vector.at:74;VECTOR long form;;
368;weight.at:19;WEIGHT;;
369;evaluate.at:1989;LAG function;;
370;evaluate.at:2021;LAG crash bug;;
371;evaluate.at:2046;UNIFORM function;;
372;evaluate.at:2088;VALUELABEL function;;
373;evaluate.at:2132;variables in expressions;;
374;evaluate.at:2181;vectors in expressions;;
375;parse.at:19;parse expression with unknown variable crash;;
376;parse.at:41;parse expression with invalid logical expression;;
377;command-name.at:19;single words;command name matching;
378;command-name.at:61;two words without prefix match;command name matching;
379;command-name.at:102;two words with prefix match;command name matching;
380;command-name.at:128;ambiguous single-word names;command name matching;
381;command-name.at:154;ambiguous two-word names;command name matching;
382;command-name.at:190;numbers and punctuation;command name matching;
383;command-name.at:226;off by more than one word;command name matching;
384;lexer.at:19;lexer ignores initial #! line;;
385;lexer.at:38;lexer properly reports scan errors;;
386;lexer.at:82;lexer crash due to null byte;;
387;q2c.at:19;q2c enforces mandatory subcommands;;
388;scan.at:25;identifiers;scan;
389;scan.at:86;reserved words;scan;
390;scan.at:183;punctuation;scan;
391;scan.at:256;numbers;scan;
392;scan.at:341;strings;scan;
393;scan.at:436;#! construct;scan;
394;scan.at:460;* and COMMENT commands;scan;
395;scan.at:537;DOCUMENT command;scan;
396;scan.at:586;TITLE, SUBTITLE, FILE LABEL commands;scan;
397;scan.at:670;BEGIN DATA command;scan;
398;scan.at:727;DO REPEAT command;scan;
399;scan.at:784;batch mode;scan;
400;segment.at:30;identifiers;segment;
401;segment.at:113;identifiers that end in '.';segment;
402;segment.at:219;reserved words;segment;
403;segment.at:283;punctuation;segment;
404;segment.at:339;numbers;segment;
405;segment.at:406;strings;segment;
406;segment.at:478;#! construct;segment;
407;segment.at:509;* and COMMENT commands;segment;
408;segment.at:597;DOCUMENT command;segment;
409;segment.at:656;TITLE, SUBTITLE, FILE LABEL commands;segment;
410;segment.at:745;BEGIN DATA command;segment;
411;segment.at:870;DO REPEAT command;segment;
412;segment.at:952;batch mode;segment;
413;segment.at:1006;auto mode;segment;
414;variable-parser.at:22;Long variable names;;
415;aggregate.at:177;AGGREGATE presorted data to dataset file, itemwise missing;;
416;aggregate.at:178;AGGREGATE presorted data to dataset file, columnwise missing;;
417;aggregate.at:179;AGGREGATE unsorted data to dataset file, itemwise missing;;
418;aggregate.at:180;AGGREGATE unsorted data to dataset file, columnwise missing;;
419;aggregate.at:181;AGGREGATE presorted data to active file, itemwise missing;;
420;aggregate.at:182;AGGREGATE presorted data to active file, columnwise missing;;
421;aggregate.at:183;AGGREGATE unsorted data to active file, itemwise missing;;
422;aggregate.at:184;AGGREGATE unsorted data to active file, columnwise missing;;
423;aggregate.at:185;AGGREGATE presorted data to external file, itemwise missing;;
424;aggregate.at:186;AGGREGATE presorted data to external file, columnwise missing;;
425;aggregate.at:187;AGGREGATE unsorted data to external file, itemwise missing;;
426;aggregate.at:188;AGGREGATE unsorted data to external file, columnwise missing;;
427;aggregate.at:190;AGGREGATE crash with MAX function;;
428;aggregate.at:216;AGGREGATE crash with invalid syntax;;
429;aggregate.at:232;AGGREGATE mode=addvariables;;
430;aggregate.at:271;AGGREGATE buggy duplicate variables;;
431;autorecode.at:19;AUTORECODE numbers and short strings;;
432;autorecode.at:75;AUTORECODE long strings and check the value labels;;
433;autorecode.at:121;AUTORECODE group subcommand;;
434;autorecode.at:155;AUTORECODE group - string variables;;
435;autorecode.at:191;AUTORECODE group vs. strings;;
436;autorecode.at:221;AUTORECODE /blank;;
437;autorecode.at:252;AUTORECODE with TEMPORARY;;
438;autorecode.at:295;AUTORECODE with /INTO;;
439;correlations.at:19;CORRELATIONS -- unweighted;;
440;correlations.at:89;CORRELATIONS -- weighted;;
441;correlations.at:137;CORRELATIONS -- non-square;;
442;correlations.at:166;CORRELATIONS -- crash with WITH keyword;;
443;correlations.at:222;CORRELATIONS -- incorrect subtable selection;;
444;correlations.at:370;CORRELATIONS -- empty dataset;;
445;correlations.at:382;CORRELATIONS -- empty dataset 2;;
446;crosstabs.at:19;CROSSTABS integer mode crash;;
447;crosstabs.at:57;CROSSTABS integer mode crash 2;;
448;crosstabs.at:83;CROSSTABS long string crash;;
449;crosstabs.at:124;CROSSTABS crash;;
450;crosstabs.at:184;CROSSTABS chi-square crash;;
451;crosstabs.at:228;CROSSTABS crash with SPLIT FILE;;
452;crosstabs.at:323;3-way CROSSTABS;;
453;crosstabs.at:450;CROSSTABS rounding weights with COUNT;;
454;crosstabs.at:557;CROSSTABS descending sort order;;
455;crosstabs.at:592;CROSSTABS crash when all cases missing;;
456;crosstabs.at:617;CROSSTABS Fisher Exact Test;;
457;crosstabs.at:882;CROSSTABS Pearson's R;;
458;crosstabs.at:1115;CROSSTABS Goodman and Kruskal's lambda;;
459;crosstabs.at:1216;CROSSTABS Goodman and Kruskal's lambda - treatment of ties;;
460;crosstabs.at:1251;CROSSTABS Somers' D, Tau-B, Tau-C, Gamma;;
461;crosstabs.at:1592;CROSSTABS Cohens Kappa;;
462;crosstabs.at:1637;CROSSTABS many statistics;;
463;crosstabs.at:1695;CROSSTABS uncertainy coefficient;;
464;crosstabs.at:1734;CROSSTABS barchart;;
465;descriptives.at:19;DESCRIPTIVES basics;;
466;descriptives.at:98;DESCRIPTIVES -- excluding missing data;;
467;descriptives.at:112;DESCRIPTIVES -- including missing data;;
468;descriptives.at:126;DESCRIPTIVES -- excluding missing data listwise;;
469;descriptives.at:140;DESCRIPTIVES -- including missing data listwise;;
470;descriptives.at:154;DESCRIPTIVES bug calculating mean only;;
471;descriptives.at:180;DESCRIPTIVES bug with TEMPORARY;;
472;descriptives.at:205;DESCRIPTIVES -- Z scores;;
473;descriptives.at:236;DESCRIPTIVES -- Z scores with SPLIT FILE;;
474;descriptives.at:300;DESCRIPTIVES -- Z scores bug with TEMPORARY;;
475;descriptives.at:342;DESCRIPTIVES -- Z scores with FILTER;;
476;examine.at:19;EXAMINE;;
477;examine.at:190;EXAMINE -- extremes;;
478;examine.at:251;EXAMINE -- extremes with fractional weights;;
479;examine.at:327;EXAMINE -- percentiles;;
480;examine.at:419;EXAMINE -- missing values;;
481;examine.at:459;EXAMINE -- user missing values;;
482;examine.at:485;EXAMINE -- missing values and percentiles;;
483;examine.at:505;EXAMINE -- trimmed mean;;
484;examine.at:552;EXAMINE -- crash bug;;
485;examine.at:570;EXAMINE -- consecutive runs don't crash;;
486;examine.at:588;EXAMINE -- missing values don't crash;;
487;examine.at:605;EXAMINE -- single case doesn't crash;;
488;examine.at:624;EXAMINE -- all-missing data doesn't crash;;
489;examine.at:646;EXAMINE -- big input doesn't crash;;
490;examine.at:666;EXAMINE -- big input doesn't crash 2;;
491;examine.at:693;EXAMINE -- non-numeric ID;;
492;examine.at:745;EXAMINE -- Bad Input;;
493;examine.at:775;EXAMINE -- MISSING=REPORT;;
494;examine.at:903;EXAMINE -- sample unweighted;;
495;examine.at:1046;EXAMINE -- Empty Parentheses;;
496;examine.at:1070;EXAMINE -- Bad variable;;
497;examine.at:1093;EXAMINE -- Extremes vs. Missing Weights;;
498;graph.at:19;GRAPH simple scatterplot;;
499;graph.at:43;GRAPH Scatter and Histogram;;
500;graph.at:97;GRAPH missing values don't crash;;
501;graph.at:118;GRAPH missing=VARIABLE no crash;;
502;graph.at:141;GRAPH missing value in by variable;;
503;graph.at:166;GRAPH histogram with null data;;
504;graph.at:184;GRAPH histogram all missing;;
505;graph.at:203;GRAPH barcharts;;
506;graph.at:232;GRAPH barchart arity;;
507;graph.at:261;GRAPH barchart bad syntax;;
508;graph.at:289;GRAPH barchart full;;
509;graph.at:332;GRAPH buggy syntax;;
510;factor.at:19;FACTOR extraction=paf method=correlation;;
511;factor.at:1539;FACTOR extraction=pc method=correlation;;
512;factor.at:1800;FACTOR empty dataset;;
513;factor.at:1821;FACTOR /ROTATION=NOROTATE;;
514;factor.at:1895;FACTOR /CRITERIA=ITERATE;;
515;factor.at:1945;FACTOR promax;;
516;factor.at:2090;FACTOR covariance matrix;;
517;factor.at:2171;FACTOR correlation matrix;;
518;factor.at:2267;FACTOR bad input;;
519;factor.at:2300;FACTOR anti-image matrix;;
520;factor.at:2357;FACTOR Kaiser-Meyer-Olkin;;
521;flip.at:19;FLIP with NEWNAMES;;
522;flip.at:66;FLIP without NEWNAMES;;
523;flip.at:104;FLIP badly formed;;
524;flip.at:120;FLIP with invalid variable names;;
525;frequencies.at:19;FREQUENCIES string variable;;
526;frequencies.at:52;FREQUENCIES two runs crash;;
527;frequencies.at:101;FREQUENCIES with LIMIT;;
528;frequencies.at:125;FREQUENCIES HTML output crash;;
529;frequencies.at:160;FREQUENCIES pie chart crash;;
530;frequencies.at:196;FREQUENCIES histogram crash;;
531;frequencies.at:227;FREQUENCIES median with histogram crash;;
532;frequencies.at:242;FREQUENCIES crash after TEMPORARY;;
533;frequencies.at:303;FREQUENCIES basic percentiles;;
534;frequencies.at:323;FREQUENCIES basic n-tiles;;
535;frequencies.at:344;FREQUENCIES compatibility percentiles;;
536;frequencies.at:385;FREQUENCIES enhanced percentiles;;
537;frequencies.at:425;FREQUENCIES enhanced percentiles, weighted;;
538;frequencies.at:469;FREQUENCIES enhanced percentiles, weighted (2);;
539;frequencies.at:511;FREQUENCIES enhanced percentiles, weighted (3);;
540;frequencies.at:551;FREQUENCIES enhanced percentiles, weighted, missing values;;
541;frequencies.at:596;FREQUENCIES dichotomous histogram;;
542;frequencies.at:630;FREQUENCIES median;;
543;frequencies.at:660;FREQUENCIES variance;;
544;frequencies.at:691;FREQUENCIES default statistics;;
545;frequencies.at:746;FREQUENCIES no valid data;;
546;frequencies.at:789;FREQUENCIES histogram no valid cases;;
547;frequencies.at:810;FREQUENCIES percentiles + histogram bug#48128;;
548;glm.at:19;GLM latin square design;;
549;glm.at:90;GLM 2 by 2 factorial design;;
550;glm.at:142;GLM Type I and II Sums of Squares;;
551;glm.at:275;GLM excluded intercept;;
552;glm.at:346;GLM missing values;;
553;logistic.at:97;LOGISTIC REGRESSION basic test;;
554;logistic.at:149;LOGISTIC REGRESSION missing values;;
555;logistic.at:197;LOGISTIC REGRESSION weights;;
556;logistic.at:258;LOGISTIC REGRESSION without constant;;
557;logistic.at:315;LOGISTIC REGRESSION non-dichotomous dep var;;
558;logistic.at:340;LOGISTIC REGRESSION with categorical;;
559;logistic.at:808;LOGISTIC REGRESSION with cat var 2;;
560;logistic.at:1075;LOGISTIC REGRESSION identical categories;;
561;logistic.at:1095;LOGISTIC REGRESSION missing categoricals;;
562;logistic.at:1232;LOGISTIC REGRESSION confidence interval;;
563;means.at:19;MEANS simple example;;
564;means.at:80;MEANS very simple example;;
565;means.at:114;MEANS default missing;;
566;means.at:168;MEANS linear stats;;
567;means.at:217;MEANS standard errors;;
568;means.at:263;MEANS harmonic and geometric means;;
569;means.at:305;MEANS all/none/default;;
570;means.at:365;MEANS missing=table ;;
571;means.at:475;MEANS user missing values;;
572;means.at:573;MEANS empty factor spec;;
573;means.at:593;MEANS parser bug;;
574;npar.at:19;NPAR TESTS BINOMIAL P < 0.5; N1/N2 < 1;;
575;npar.at:44;NPAR TESTS BINOMIAL P < 0.5; N1/N2 > 1;;
576;npar.at:69;NPAR TESTS BINOMIAL P < 0.5; N1/N2 = 1;;
577;npar.at:94;NPAR TESTS BINOMIAL P > 0.5; N1/N2 < 1;;
578;npar.at:119;NPAR TESTS BINOMIAL P > 0.5; N1/N2 > 1;;
579;npar.at:143;NPAR TESTS BINOMIAL P > 0.5; N1/N2 = 1;;
580;npar.at:167;NPAR TESTS BINOMIAL P = 0.5; N1/N2 < 1;;
581;npar.at:192;NPAR TESTS BINOMIAL P = 0.5; N1/N2 > 1;;
582;npar.at:216;NPAR TESTS BINOMIAL P = 0.5; N1/N2 = 1;;
583;npar.at:241;NPAR TESTS BINOMIAL P = 0.5; N1/N2 = 1 Cutpoint;;
584;npar.at:267;NPAR TESTS BINOMIAL P = 0.5; N1/N2 = 1 Named values;;
585;npar.at:296;NPAR TESTS BINOMIAL - crash;;
586;npar.at:315;NPAR TESTS CHISQUARE;;
587;npar.at:401;NPAR TESTS CHISQUARE expected values missing;;
588;npar.at:434;NPAR TESTS CHISQUARE with DESCRIPTIVES;;
589;npar.at:487;NPAR TESTS CHISQUARE, listwise missing;;
590;npar.at:540;NPAR TESTS WILCOXON;;
591;npar.at:588;NPAR TESTS WILCOXON with missing values;;
592;npar.at:636;NPAR TESTS SIGN;;
593;npar.at:680;NPAR Kruskal-Wallis test;;
594;npar.at:775;NPAR Kruskal-Wallis multiple-variables;;
595;npar.at:842;NPAR TESTS Runs;;
596;npar.at:930;NPAR TESTS Runs (2);;
597;npar.at:953;NPAR TESTS Friedman;;
598;npar.at:992;NPAR TESTS Mann-Whitney;;
599;npar.at:1053;NPAR TESTS Mann-Whitney Multiple;;
600;npar.at:1099;NPAR TESTS Cochran;;
601;npar.at:1146;NPAR TESTS Kendall;;
602;npar.at:1211;NPAR TESTS McNemar;;
603;npar.at:1265;NPAR TESTS Kolmogorov-Smirnov Uniform parameters given;;
604;npar.at:1302;NPAR TESTS Kolmogorov-Smirnov Normal parameters imputed;;
605;npar.at:1506;NPAR TESTS Median Test (median imputed);;
606;npar.at:1571;NPAR TESTS Median Test (median given);;
607;npar.at:1634;NPAR TESTS Median Test (two sample);;
608;npar.at:1700;NPAR TESTS Jonckheere-Terpstra;;
609;npar.at:1743;NPAR TESTS (PAIRED);;
610;npar.at:1780;NPAR TESTS CHISQUARE crash;;
611;npar.at:1809;NPAR TESTS - crash on invalid syntax;;
612;npar.at:1833;NPAR TESTS - crash on unterminated string;;
613;oneway.at:19;ONEWAY basic operation;;
614;oneway.at:88;ONEWAY with splits;;
615;oneway.at:195;ONEWAY with missing values;;
616;oneway.at:300;ONEWAY descriptives subcommand;;
617;oneway.at:349;ONEWAY homogeneity subcommand;;
618;oneway.at:394;ONEWAY multiple variables;;
619;oneway.at:502;ONEWAY vs. weights;;
620;oneway.at:573;ONEWAY posthoc LSD and BONFERRONI;;
621;oneway.at:655;ONEWAY posthoc Tukey HSD and Games-Howell;;
622;oneway.at:711;ONEWAY posthoc Sidak;;
623;oneway.at:771;ONEWAY posthoc Scheffe;;
624;oneway.at:853;ONEWAY bad contrast count;;
625;oneway.at:924;ONEWAY crash on single category independent variable;;
626;oneway.at:945;ONEWAY crash on missing dependent variable;;
627;oneway.at:973;ONEWAY Games-Howell test with few cases;;
628;oneway.at:995;ONEWAY Crash on empty data;;
629;oneway.at:1017;ONEWAY Crash on invalid dependent variable;;
630;oneway.at:1037;ONEWAY Crash on unterminated string;;
631;quick-cluster.at:19;QUICK CLUSTER with small data set;;
632;quick-cluster.at:62;QUICK CLUSTER with large data set;;
633;quick-cluster.at:92;QUICK CLUSTER with weights;;
634;quick-cluster.at:134;QUICK CLUSTER with listwise missing;;
635;quick-cluster.at:173;QUICK CLUSTER with pairwise missing;;
636;quick-cluster.at:246;QUICK CLUSTER crash on bad cluster quantity;;
637;quick-cluster.at:263;QUICK CLUSTER infinite loop on bad command name;;
638;quick-cluster.at:280;QUICK CLUSTER /PRINT subcommand;;
639;quick-cluster.at:436;QUICK CLUSTER -- Empty Parentheses;;
640;rank.at:19;RANK simple case with defaults;;
641;rank.at:59;RANK multiple variables with defaults;;
642;rank.at:90;RANK with RANK, RFRACTION, N;;
643;rank.at:167;RANK with SAVAGE, PERCENT, PROPORTION, NTILES;;
644;rank.at:226;RANK with SPLIT FILE;;
645;rank.at:316;RANK with fractional ranks;;
646;rank.at:363;RANK all-ties due to tiny weights;;
647;rank.at:440;RANK and TEMPORARY;;
648;rank.at:496;RANK variable name fallback;;
649;rank.at:534;RANK robust variable name creation;;
650;rank.at:587;RANK handling of invalid input;;
651;rank.at:615;RANK handling of invalid syntax;;
652;regression.at:19;LINEAR REGRESSION - basic;;
653;regression.at:76;LINEAR REGRESSION - one save;;
654;regression.at:149;LINEAR REGRESSION - SAVE vs SPLITS;;
655;regression.at:242;LINEAR REGRESSION multiple dependent variables;;
656;regression.at:274;LINEAR REGRESSION test of QR decomposition;;
657;regression.at:1807;LINEAR REGRESSION no crash on all missing;;
658;regression.at:1833;LINEAR REGRESSION missing dependent variable;;
659;regression.at:1890;LINEAR REGRESSION with invalid syntax (and empty dataset);;
660;regression.at:1910;LINEAR REGRESSION coefficient confidence interval;;
661;regression.at:2152;LINEAR REGRESSION crash with long string variables;;
662;regression.at:2202;LINEAR REGRESSION -- Empty Parentheses;;
663;regression.at:2227;LINEAR REGRESSION varibles on ENTER subcommand;;
664;regression.at:2283;LINEAR REGRESSION /ORIGIN;;
665;reliability.at:19;RELIABILITY;;
666;reliability.at:274;RELIABILITY bad syntax;;
667;reliability.at:294;RELIABILITY bad syntax 2;;
668;reliability.at:309;RELIABILITY crash with no data;;
669;reliability.at:327;RELIABILITY tutorial example;;
670;roc.at:19;ROC, free distribution;;
671;roc.at:70;ROC, negative exponential distribution;;
672;roc.at:129;ROC, with anomaly;;
673;roc.at:187;ROC crash on no state variable;;
674;roc.at:204;ROC crash on invalid syntax;;
675;sort-cases.at:73;sort 500 cases (100 unique) with 2 buffers;sort cases;
676;sort-cases.at:74;sort 500 cases (100 unique) with 3 buffers;sort cases;
677;sort-cases.at:75;sort 500 cases (100 unique) with 4 buffers;sort cases;
678;sort-cases.at:76;sort 500 cases (100 unique) with 5 buffers;sort cases;
679;sort-cases.at:77;sort 500 cases (100 unique) with 10 buffers;sort cases;
680;sort-cases.at:78;sort 500 cases (100 unique) with 50 buffers;sort cases;
681;sort-cases.at:79;sort 500 cases (100 unique) with 100 buffers;sort cases;
682;sort-cases.at:80;sort 500 cases (100 unique);sort cases;
683;sort-cases.at:82;sort 1000 cases (100 unique) with 2 buffers;sort cases;
684;sort-cases.at:83;sort 1000 cases (100 unique) with 3 buffers;sort cases;
685;sort-cases.at:84;sort 1000 cases (100 unique) with 5 buffers;sort cases;
686;sort-cases.at:85;sort 1000 cases (100 unique);sort cases;
687;sort-cases.at:87;sort 5000 cases (1000 unique) with 5 buffers;sort cases;
688;sort-cases.at:88;sort 5000 cases (1000 unique) with 50 buffers;sort cases;
689;sort-cases.at:89;sort 5000 cases (1000 unique);sort cases;
690;sort-cases.at:91;sort 10000 cases (100 unique) with 3 buffers;sort cases;
691;sort-cases.at:92;sort 10000 cases (100 unique) with 5 buffers;sort cases;
692;sort-cases.at:93;sort 10000 cases (100 unique);sort cases;
693;sort-cases.at:95;sort 50000 cases (10000 unique) with 500 buffers;sort cases;
694;sort-cases.at:97;sort 50000 cases;sort cases;
695;sort-cases.at:100;SORT CASES preserves filtered cases;;
696;t-test.at:19;T-TEST /PAIRS;;
697;t-test.at:59;T-TEST /PAIRS with per-analysis missing values;;
698;t-test.at:124;T-TEST /PAIRS with listwise missing values;;
699;t-test.at:192;T-TEST weighted paired bug;;
700;t-test.at:234;T-TEST /PAIRS bug;;
701;t-test.at:270;T-TEST /GROUPS;;
702;t-test.at:320;T-TEST /GROUPS with one value for independent variable;;
703;t-test.at:370;T-TEST /GROUPS with per-analysis missing values;;
704;t-test.at:430;T-TEST /GROUPS with listwise missing values;;
705;t-test.at:490;T-TEST /TESTVAL;;
706;t-test.at:522;T-TEST /TESTVAL with per-analysis missing values;;
707;t-test.at:575;T-TEST /TESTVAL with listwise missing values;;
708;t-test.at:628;T-TEST wih TEMPORARY transformation;;
709;t-test.at:684;T-TEST invalid syntax;;
710;t-test.at:707;T-TEST string variable;;
711;t-test.at:754;T-TEST string variable, only one value;;
712;t-test.at:780;T-TEST string variable comparison bug;;
713;t-test.at:821;T-TEST wrong group;;
714;t-test.at:842;T-TEST non number p value;;
715;t-test.at:861;T-TEST unterminated string - paired;;
716;cache.at:19;CACHE;;
717;cd.at:19;CD;;
718;date.at:19;USE ALL;;
719;insert.at:31;INSERT SYNTAX=INTERACTIVE;;
720;insert.at:47;INSERT SYNTAX=BATCH;;
721;insert.at:67;INSERT CD=NO;;
722;insert.at:88;INSERT CD=YES;;
723;insert.at:132;INSERT ERROR=STOP;;
724;insert.at:142;INSERT ERROR=CONTINUE;;
725;insert.at:162;INSERT nonexistent file;;
726;insert.at:181;INCLUDE full check;;
727;insert.at:205;INSERT unterminated string;;
728;permissions.at:19;PERMISSIONS;;
729;permissions.at:45;PERMISSIONS - bad syntax;;
730;set.at:20;SET FORMAT to invalid output format;;
731;set.at:42;SET crash on invalid cc;;
732;set.at:52;SET MXWARNS;;
733;set.at:88;SET MXWARNS special case zero;;
734;set.at:126;PRESERVE of SET FORMAT;;
735;show.at:19;SHOW N;;
736;show.at:39;SHOW N empty;;
737;title.at:19;FILE LABEL and (ADD) DOCUMENT;;
738;compute.at:19;COMPUTE crash with SAVE;;
739;compute.at:38;COMPUTE bug in long string UPCASE;;
740;compute.at:66;COMPUTE bug with long variable names;;
741;compute.at:92;COMPUTE self-reference to new variable;;
742;count.at:19;COUNT -- numeric data;;
743;count.at:58;COUNT -- string data;;
744;recode.at:37;RECODE numeric to numeric, without INTO;;
745;recode.at:79;RECODE numeric to numeric, with INTO, without COPY;;
746;recode.at:111;RECODE numeric to numeric, with INTO, with COPY;;
747;recode.at:144;RECODE string to string, with INTO, without COPY;;
748;recode.at:172;RECODE string to string;;
749;recode.at:200;RECODE string to numeric;;
750;recode.at:226;RECODE numeric to string;;
751;recode.at:252;RECODE bug in COPY;;
752;recode.at:283;RECODE bug in COPY with INTO;;
753;recode.at:316;RECODE increased string widths;;
754;recode.at:347;RECODE crash on invalid dest variable;;
755;sample.at:19;SAMPLE;;
756;select-if.at:19;FILTER;;
757;abt.at:24;ABT -- insert-any-remove-any;;
758;abt.at:25;ABT -- insert-any-remove-same;;
759;abt.at:26;ABT -- insert-any-remove-reverse;;
760;abt.at:27;ABT -- random-sequence;;
761;abt.at:28;ABT -- insert-ordered;;
762;abt.at:29;ABT -- moved;;
763;abt.at:30;ABT -- changed;;
764;bt.at:24;BT -- insert-any-remove-any;;
765;bt.at:25;BT -- insert-any-remove-same;;
766;bt.at:26;BT -- insert-any-remove-reverse;;
767;bt.at:27;BT -- random-sequence;;
768;bt.at:28;BT -- insert-ordered;;
769;bt.at:29;BT -- find-ge-le;;
770;bt.at:30;BT -- moved;;
771;bt.at:31;BT -- changed;;
772;encoding-guesser.at:19;ASCII;encoding guesser;
773;encoding-guesser.at:25;UTF-8;encoding guesser;
774;encoding-guesser.at:32;UTF-8 starting with ASCII;encoding guesser;
775;encoding-guesser.at:39;UTF-16 with big-endian byte order mark;encoding guesser;
776;encoding-guesser.at:46;UTF-16 with little-endian byte order mark;encoding guesser;
777;encoding-guesser.at:53;UTF-16BE;encoding guesser;
778;encoding-guesser.at:62;UTF-16BE starting with U+0100;encoding guesser;
779;encoding-guesser.at:69;UTF-16LE;encoding guesser;
780;encoding-guesser.at:78;UTF-16LE starting with U+0100;encoding guesser;
781;encoding-guesser.at:85;UTF-32 with big-endian byte order mark;encoding guesser;
782;encoding-guesser.at:92;UTF-32 with little-endian byte order mark;encoding guesser;
783;encoding-guesser.at:99;UTF-32BE;encoding guesser;
784;encoding-guesser.at:106;UTF-32LE;encoding guesser;
785;encoding-guesser.at:113;ISO-8859-1;encoding guesser;
786;encoding-guesser.at:121;GB-18030 with byte order mark;encoding guesser;
787;encoding-guesser.at:129;UTF-EBCDIC with byte order mark;encoding guesser;
788;encoding-guesser.at:137;EUC-JP as Auto,EUC-JP;encoding guesser;
789;encoding-guesser.at:145;EUC-JP starting with ASCII as Auto,EUC-JP;encoding guesser;
790;encoding-guesser.at:153;UTF-8 with character split across input buffers;encoding guesser;
791;encoding-guesser.at:161;windows-1252 as Auto,UTF-8;encoding guesser;
792;float-format.at:19;floating point format conversions;;
793;heap.at:24;heap -- insert-no-dups-delete-min;;
794;heap.at:25;heap -- insert-with-dups-delete-min;;
795;heap.at:26;heap -- insert-no-dups-delete-random;;
796;heap.at:27;heap -- inc-dec;;
797;heap.at:28;heap -- random-insert-delete;;
798;hmap.at:24;hmap -- insert-any-remove-any-random-hash;;
799;hmap.at:25;hmap -- insert-any-remove-any-identity-hash;;
800;hmap.at:26;hmap -- insert-any-remove-any-constant-hash;;
801;hmap.at:27;hmap -- insert-any-remove-same-random-hash;;
802;hmap.at:28;hmap -- insert-any-remove-same-identity-hash;;
803;hmap.at:29;hmap -- insert-any-remove-same-constant-hash;;
804;hmap.at:30;hmap -- insert-any-remove-reverse-random-hash;;
805;hmap.at:31;hmap -- insert-any-remove-reverse-identity-hash;;
806;hmap.at:32;hmap -- insert-any-remove-reverse-constant-hash;;
807;hmap.at:33;hmap -- random-sequence-random-hash;;
808;hmap.at:34;hmap -- random-sequence-identity-hash;;
809;hmap.at:35;hmap -- random-sequence-constant-hash;;
810;hmap.at:36;hmap -- insert-ordered-random-hash;;
811;hmap.at:37;hmap -- insert-ordered-identity-hash;;
812;hmap.at:38;hmap -- insert-ordered-constant-hash;;
813;hmap.at:39;hmap -- moved-random-hash;;
814;hmap.at:40;hmap -- moved-identity-hash;;
815;hmap.at:41;hmap -- moved-constant-hash;;
816;hmap.at:42;hmap -- changed-random-hash;;
817;hmap.at:43;hmap -- changed-identity-hash;;
818;hmap.at:44;hmap -- changed-constant-hash;;
819;hmap.at:45;hmap -- swap-random-hash;;
820;hmap.at:46;hmap -- clear;;
821;hmap.at:47;hmap -- destroy-null;;
822;hmap.at:48;hmap -- shrink-empty;;
823;hmapx.at:24;hmapx -- insert-any-remove-any-random-hash;;
824;hmapx.at:25;hmapx -- insert-any-remove-any-identity-hash;;
825;hmapx.at:26;hmapx -- insert-any-remove-any-constant-hash;;
826;hmapx.at:27;hmapx -- insert-any-remove-same-random-hash;;
827;hmapx.at:28;hmapx -- insert-any-remove-same-identity-hash;;
828;hmapx.at:29;hmapx -- insert-any-remove-same-constant-hash;;
829;hmapx.at:30;hmapx -- insert-any-remove-reverse-random-hash;;
830;hmapx.at:31;hmapx -- insert-any-remove-reverse-identity-hash;;
831;hmapx.at:32;hmapx -- insert-any-remove-reverse-constant-hash;;
832;hmapx.at:33;hmapx -- random-sequence-random-hash;;
833;hmapx.at:34;hmapx -- random-sequence-identity-hash;;
834;hmapx.at:35;hmapx -- random-sequence-constant-hash;;
835;hmapx.at:36;hmapx -- insert-ordered-random-hash;;
836;hmapx.at:37;hmapx -- insert-ordered-identity-hash;;
837;hmapx.at:38;hmapx -- insert-ordered-constant-hash;;
838;hmapx.at:39;hmapx -- moved-random-hash;;
839;hmapx.at:40;hmapx -- moved-identity-hash;;
840;hmapx.at:41;hmapx -- moved-constant-hash;;
841;hmapx.at:42;hmapx -- changed-random-hash;;
842;hmapx.at:43;hmapx -- changed-identity-hash;;
843;hmapx.at:44;hmapx -- changed-constant-hash;;
844;hmapx.at:45;hmapx -- change-random-hash;;
845;hmapx.at:46;hmapx -- change-identity-hash;;
846;hmapx.at:47;hmapx -- change-constant-hash;;
847;hmapx.at:48;hmapx -- swap-random-hash;;
848;hmapx.at:49;hmapx -- clear;;
849;hmapx.at:50;hmapx -- destroy-null;;
850;hmapx.at:51;hmapx -- shrink-empty;;
851;i18n.at:36;convert reflexively;i18n;
852;i18n.at:37;convert without any change;i18n;
853;i18n.at:39;convert from ISO-8859-1 to UTF-8;i18n;
854;i18n.at:41;convert from UTF-8 to ISO-8859-1;i18n;
855;i18n.at:45;convert invalid UTF-8 to ISO-8859-1;i18n;
856;i18n.at:48;convert truncated UTF-8 to ISO-8559-1;i18n;
857;i18n.at:53;convert dropped final character in windows-1258;i18n;
858;i18n.at:58;convert from ISO-8859-1 to UTF-8 with overflow;i18n;
859;i18n.at:62;convert unknown encoding;i18n;
860;i18n.at:93;truncate \"abc\" to 6 bytes in UTF-8;i18n;
861;i18n.at:94;truncate \"\" + \"xyz\" to 6 bytes in UTF-8;i18n;
862;i18n.at:95;truncate \"\" to 6 bytes in UTF-8;i18n;
863;i18n.at:96;truncate \"abcdefghij\" to 6 bytes in UTF-8;i18n;
864;i18n.at:97;truncate \"\" + \"tuvwxyz\" to 6 bytes in UTF-8;i18n;
865;i18n.at:99;truncate \"abc\" + \"xyz\" to 6 bytes in UTF-8;i18n;
866;i18n.at:100;truncate \"abcd\" + \"xyz\" to 6 bytes in UTF-8;i18n;
867;i18n.at:101;truncate \"abc\" + \"uvwxyz\" to 6 bytes in UTF-8;i18n;
868;i18n.at:105;truncate \"x\\342\\203\\236\" + \"y\" to 0 bytes in UTF-8;i18n;
869;i18n.at:106;truncate \"x\\342\\203\\236\" + \"y\" to 1 bytes in UTF-8;i18n;
870;i18n.at:107;truncate \"x\\342\\203\\236\" + \"y\" to 2 bytes in UTF-8;i18n;
871;i18n.at:108;truncate \"x\\342\\203\\236\" + \"y\" to 3 bytes in UTF-8;i18n;
872;i18n.at:109;truncate \"x\\342\\203\\236\" + \"y\" to 4 bytes in UTF-8;i18n;
873;i18n.at:110;truncate \"x\\342\\203\\236\" + \"y\" to 5 bytes in UTF-8;i18n;
874;i18n.at:113;truncate \"\\303\\251\\303\\250\\303\\244\" + \"xyz\" to 0 bytes in ISO-8859-1;i18n;
875;i18n.at:114;truncate \"\\303\\251\\303\\250\\303\\244\" + \"xyz\" to 1 bytes in ISO-8859-1;i18n;
876;i18n.at:115;truncate \"\\303\\251\\303\\250\\303\\244\" + \"xyz\" to 2 bytes in ISO-8859-1;i18n;
877;i18n.at:116;truncate \"\\303\\251\\303\\250\\303\\244\" + \"xyz\" to 3 bytes in ISO-8859-1;i18n;
878;i18n.at:117;truncate \"\\303\\251\\303\\250\\303\\244\" + \"xyz\" to 4 bytes in ISO-8859-1;i18n;
879;i18n.at:119;truncate \"\\303\\251\\303\\250\\303\\244\" + \"xyz\" to 5 bytes in ISO-8859-1;i18n;
880;i18n.at:121;truncate \"\\303\\251\\303\\250\\303\\244\" + \"xyz\" to 6 bytes in ISO-8859-1;i18n;
881;line-reader.at:19;read ASCII;line_reader;
882;line-reader.at:28;read UTF-8;line_reader;
883;line-reader.at:36;read EUC-JP;line_reader;
884;line-reader.at:45;read ASCII as Auto;line_reader;
885;line-reader.at:53;read UTF-8 as Auto;line_reader;
886;line-reader.at:62;read ISO-8859-1 as Auto,ISO-8859-1;line_reader;
887;line-reader.at:74;read UTF-16BE as Auto,UTF-16BE;line_reader;
888;line-reader.at:83;read EUC-JP as Auto,EUC-JP;line_reader;
889;ll.at:24;ll -- push-pop;;
890;ll.at:25;ll -- insert-remove;;
891;ll.at:26;ll -- swap;;
892;ll.at:27;ll -- swap-range;;
893;ll.at:28;ll -- remove-range;;
894;ll.at:29;ll -- remove-equal;;
895;ll.at:30;ll -- remove-if;;
896;ll.at:31;ll -- moved;;
897;ll.at:32;ll -- find-equal;;
898;ll.at:33;ll -- find-if;;
899;ll.at:34;ll -- find-adjacent-equal;;
900;ll.at:35;ll -- count-range;;
901;ll.at:36;ll -- count-equal;;
902;ll.at:37;ll -- count-if;;
903;ll.at:38;ll -- min-max;;
904;ll.at:39;ll -- lexicographical-compare-3way;;
905;ll.at:40;ll -- apply;;
906;ll.at:41;ll -- reverse;;
907;ll.at:42;ll -- permutations-no-dups;;
908;ll.at:43;ll -- permutations-with-dups;;
909;ll.at:44;ll -- merge-no-dups;;
910;ll.at:45;ll -- merge-with-dups;;
911;ll.at:46;ll -- sort-exhaustive;;
912;ll.at:47;ll -- sort-stable;;
913;ll.at:48;ll -- sort-subset;;
914;ll.at:49;ll -- sort-big;;
915;ll.at:50;ll -- unique;;
916;ll.at:51;ll -- sort-unique;;
917;ll.at:52;ll -- insert-ordered;;
918;ll.at:53;ll -- partition;;
919;llx.at:24;llx -- push-pop;;
920;llx.at:25;llx -- insert-remove;;
921;llx.at:26;llx -- swap;;
922;llx.at:27;llx -- swap-range;;
923;llx.at:28;llx -- remove-range;;
924;llx.at:29;llx -- remove-equal;;
925;llx.at:30;llx -- remove-if;;
926;llx.at:31;llx -- find-equal;;
927;llx.at:32;llx -- find;;
928;llx.at:33;llx -- find-if;;
929;llx.at:34;llx -- find-adjacent-equal;;
930;llx.at:35;llx -- count-range;;
931;llx.at:36;llx -- count-equal;;
932;llx.at:37;llx -- count-if;;
933;llx.at:38;llx -- min-max;;
934;llx.at:39;llx -- lexicographical-compare-3way;;
935;llx.at:40;llx -- apply;;
936;llx.at:41;llx -- destroy;;
937;llx.at:42;llx -- reverse;;
938;llx.at:43;llx -- permutations-no-dups;;
939;llx.at:44;llx -- permutations-with-dups;;
940;llx.at:45;llx -- merge-no-dups;;
941;llx.at:46;llx -- merge-with-dups;;
942;llx.at:47;llx -- sort-exhaustive;;
943;llx.at:48;llx -- sort-stable;;
944;llx.at:49;llx -- sort-subset;;
945;llx.at:50;llx -- sort-big;;
946;llx.at:51;llx -- unique;;
947;llx.at:52;llx -- sort-unique;;
948;llx.at:53;llx -- insert-ordered;;
949;llx.at:54;llx -- partition;;
950;llx.at:55;llx -- allocation-failure;;
951;range-map.at:24;range-map -- insert;;
952;range-map.at:25;range-map -- delete-contiguous;;
953;range-map.at:26;range-map -- delete-gaps;;
954;range-set.at:24;range-set -- insert;;
955;range-set.at:25;range-set -- delete;;
956;range-set.at:26;range-set -- allocate;;
957;range-set.at:27;range-set -- allocate-fully;;
958;range-set.at:28;range-set -- pool;;
959;range-set.at:29;range-set -- destroy-null;;
960;range-tower.at:24;range-tower -- set1;;
961;range-tower.at:25;range-tower -- set0;;
962;range-tower.at:26;range-tower -- insert0;;
963;range-tower.at:27;range-tower -- insert1;;
964;range-tower.at:28;range-tower -- delete;;
965;range-tower.at:29;range-tower -- move;;
966;range-tower.at:30;range-tower -- pool;;
967;range-tower.at:31;range-tower -- destroy-null;;
968;sparse-array.at:25;sparse array -- random-insert-delete;sparse-array;
969;sparse-array.at:27;sparse array -- insert and delete with strides;sparse-array;
970;sparse-xarray-test.at:58;in-memory sparse_xarray;;
971;sparse-xarray-test.at:73;on-disk sparse_xarray max-memory-rows=0;;
972;sparse-xarray-test.at:74;on-disk sparse_xarray max-memory-rows=1;;
973;sparse-xarray-test.at:75;on-disk sparse_xarray max-memory-rows=2;;
974;sparse-xarray-test.at:77;copying between in-memory sparse_xarrays;sparse_xarray;
975;sparse-xarray-test.at:98;copying between on-disk sparse_xarrays max-memory-rows=0;sparse_xarray;
976;sparse-xarray-test.at:99;copying between on-disk sparse_xarrays max-memory-rows=1;sparse_xarray;
977;str.at:19;26-adic string formatting;;
978;string-map.at:25;string map -- insert-any-remove-any;string-map;
979;string-map.at:26;string map -- insert-any-remove-same;string-map;
980;string-map.at:27;string map -- insert-any-remove-reverse;string-map;
981;string-map.at:28;string map -- random-sequence;string-map;
982;string-map.at:29;string map -- replace;string-map;
983;string-map.at:30;string map -- insert-ordered;string-map;
984;string-map.at:31;string map -- clear;string-map;
985;string-map.at:32;string map -- clone;string-map;
986;string-map.at:33;string map -- swap;string-map;
987;string-map.at:34;string map -- node-swap-value;string-map;
988;string-map.at:35;string map -- insert-map;string-map;
989;string-map.at:36;string map -- replace-map;string-map;
990;string-map.at:37;string map -- get-keys-and-values;string-map;
991;string-map.at:38;string map -- destroy-null;string-map;
992;stringi-map.at:25;case-insensitive string map -- insert-any-remove-any;stringi-map;
993;stringi-map.at:26;case-insensitive string map -- insert-any-remove-same;stringi-map;
994;stringi-map.at:27;case-insensitive string map -- insert-any-remove-reverse;stringi-map;
995;stringi-map.at:28;case-insensitive string map -- random-sequence;stringi-map;
996;stringi-map.at:29;case-insensitive string map -- replace;stringi-map;
997;stringi-map.at:30;case-insensitive string map -- insert-ordered;stringi-map;
998;stringi-map.at:31;case-insensitive string map -- clear;stringi-map;
999;stringi-map.at:32;case-insensitive string map -- clone;stringi-map;
1000;stringi-map.at:33;case-insensitive string map -- swap;stringi-map;
1001;stringi-map.at:34;case-insensitive string map -- node-swap-value;stringi-map;
1002;stringi-map.at:35;case-insensitive string map -- insert-map;stringi-map;
1003;stringi-map.at:36;case-insensitive string map -- replace-map;stringi-map;
1004;stringi-map.at:37;case-insensitive string map -- get-keys-and-values;stringi-map;
1005;stringi-map.at:38;case-insensitive string map -- destroy-null;stringi-map;
1006;string-set.at:25;string set -- insert-any-remove-any;string-set;
1007;string-set.at:26;string set -- insert-any-remove-same;string-set;
1008;string-set.at:27;string set -- insert-any-remove-reverse;string-set;
1009;string-set.at:28;string set -- random-sequence;string-set;
1010;string-set.at:29;string set -- insert-ordered;string-set;
1011;string-set.at:30;string set -- union;string-set;
1012;string-set.at:31;string set -- union-and-intersection;string-set;
1013;string-set.at:32;string set -- intersect;string-set;
1014;string-set.at:33;string set -- subtract;string-set;
1015;string-set.at:34;string set -- swap;string-set;
1016;string-set.at:35;string set -- clear;string-set;
1017;string-set.at:36;string set -- clone;string-set;
1018;string-set.at:37;string set -- destroy-null;string-set;
1019;stringi-set.at:25;case-insensitive string set -- insert-any-remove-any;stringi-set;
1020;stringi-set.at:26;case-insensitive string set -- insert-any-remove-same;stringi-set;
1021;stringi-set.at:27;case-insensitive string set -- insert-any-remove-reverse;stringi-set;
1022;stringi-set.at:28;case-insensitive string set -- random-sequence;stringi-set;
1023;stringi-set.at:29;case-insensitive string set -- insert-ordered;stringi-set;
1024;stringi-set.at:30;case-insensitive string set -- union;stringi-set;
1025;stringi-set.at:31;case-insensitive string set -- union-and-intersection;stringi-set;
1026;stringi-set.at:32;case-insensitive string set -- intersect;stringi-set;
1027;stringi-set.at:33;case-insensitive string set -- subtract;stringi-set;
1028;stringi-set.at:34;case-insensitive string set -- swap;stringi-set;
1029;stringi-set.at:35;case-insensitive string set -- clear;stringi-set;
1030;stringi-set.at:36;case-insensitive string set -- clone;stringi-set;
1031;stringi-set.at:37;case-insensitive string set -- destroy-null;stringi-set;
1032;tower.at:24;tower -- insert;;
1033;tower.at:25;tower -- delete;;
1034;tower.at:26;tower -- resize;;
1035;tower.at:27;tower -- splice-out;;
1036;tower.at:28;tower -- splice-in;;
1037;u8-istream.at:19;read ASCII;u8_istream;
1038;u8-istream.at:26;read UTF-8;u8_istream;
1039;u8-istream.at:35;read EUC-JP;u8_istream;
1040;u8-istream.at:44;read UTF-8 with character split across input buffers;u8_istream;
1041;u8-istream.at:55;read UTF-8 with character split across output buffers;u8_istream;
1042;u8-istream.at:64;read UTF-8 with character split across input and output buffers;u8_istream;
1043;u8-istream.at:75;read EUC-JP with character split across input buffers;u8_istream;
1044;u8-istream.at:89;read EUC-JP with character split across output buffers;u8_istream;
1045;u8-istream.at:98;read EUC-JP with character split across input and output buffers;u8_istream;
1046;u8-istream.at:112;read ASCII as Auto;u8_istream;
1047;u8-istream.at:121;read UTF-8 as Auto;u8_istream;
1048;u8-istream.at:135;read ISO-8859-1 as Auto,ISO-8859-1;u8_istream;
1049;u8-istream.at:147;read UTF-16BE as Auto,UTF-16BE;u8_istream;
1050;u8-istream.at:156;read UTF-16 as Auto;u8_istream;
1051;u8-istream.at:175;read UTF-32 as Auto;u8_istream;
1052;u8-istream.at:192;read EUC-JP as Auto,EUC-JP;u8_istream;
1053;zip.at:19;Basic zip - unzip test;compression;
1054;chart-geometry.at:19;Chart Scale;;
1055;chart-geometry.at:23;Chart Ticks Format;;
1056;moments.at:44;two-pass moments;;
1057;moments.at:45;one-pass moments;;
1058;randist.at:102;random distributions -- beta;;
1059;randist.at:337;random distributions -- cauchy;;
1060;randist.at:946;random distributions -- chisq;;
1061;randist.at:994;random distributions -- exp;;
1062;randist.at:1042;random distributions -- f;;
1063;randist.at:1222;random distributions -- gamma;;
1064;randist.at:1446;random distributions -- laplace;;
1065;randist.at:1670;random distributions -- logistic;;
1066;randist.at:1894;random distributions -- lnormal;;
1067;randist.at:2074;random distributions -- normal;;
1068;randist.at:2298;random distributions -- pareto;;
1069;randist.at:2434;random distributions -- t;;
1070;randist.at:2526;random distributions -- uniform;;
1071;randist.at:2706;random distributions -- weibull;;
1072;ascii.at:19;ASCII driver overwriting single-width text;render rendering;
1073;ascii.at:151;ASCII driver overwriting double-width text;render rendering;
1074;ascii.at:407;ASCII driver overwriting combining characters;render rendering;
1075;ascii.at:539;ASCII driver u8_line_set_length;render rendering;
1076;ascii.at:580;ASCII driver Unicode box characters;render rendering;
1077;ascii.at:600;ASCII driver syntax printback;;
1078;ascii.at:647;ASCII unicode box chars;;
1079;ascii.at:673;ASCII crash on empty line;;
1080;charts.at:24;Examine;;
1081;charts.at:56;Roc;;
1082;charts.at:111;Scree;;
1083;charts.at:139;Histogram;;
1084;charts.at:176;FREQUENCIES charts;;
1085;charts.at:214;CROSSTABS charts;;
1086;charts.at:258;BOXPLOT Empty;;
1087;html.at:19;HTML bug;;
1088;output.at:39;output csv to unwritable directory;;
1089;output.at:40;output html to unwritable directory;;
1090;output.at:41;output odt to unwritable directory;;
1091;output.at:42;output pdf to unwritable directory;;
1092;output.at:43;output txt to unwritable directory;;
1093;paper-size.at:19;letter default paper size;;
1094;paper-size.at:28;a4 default paper size;;
1095;paper-size.at:37;specific paper sizes;paper size;
1096;render.at:176;single cell;render rendering;
1097;render.at:185;nested single cell;render rendering;
1098;render.at:196;single cell with border;render rendering;
1099;render.at:208;nested single cell with border;render rendering;
1100;render.at:224;joined columns;render rendering;
1101;render.at:240;3x3, joined rows and columns;render rendering;
1102;render.at:260;joined rows and columns (with footnotes);render rendering footnote;
1103;render.at:302;6x6, joined rows and columns;render rendering;
1104;render.at:322;3 rows with many joined cells;render rendering;
1105;render.at:341;3 columns with many joined cells;render rendering;
1106;render.at:393;joined rows;render rendering;
1107;render.at:409;nested joined rows;render rendering;
1108;render.at:431;joined rows only, no rules;render rendering;
1109;render.at:444;joined columns only, no rules;render rendering;
1110;render.at:459;5 big narrow cells;render rendering;
1111;render.at:480;9 big narrow cells;render rendering;
1112;render.at:511;2 big cells with new-lines;render rendering;
1113;render.at:542;8x8 with many 2x2 joins;render rendering;
1114;render.at:571;nested 8x8;render rendering;
1115;render.at:600;nested 8x8s and 6x6s;render rendering;
1116;render.at:682;doubly nested cells;render rendering;
1117;render.at:770;breaking row of many small cells;render rendering;
1118;render.at:796;breaking row of many small cells, with headers;render rendering;
1119;render.at:835;breaking row of many medium-size cells;render rendering;
1120;render.at:885;breaking row of many medium-size cells, with headers;render rendering;
1121;render.at:943;breaking row of many big narrow cells;render rendering;
1122;render.at:1053;breaking 2 rows of many small cells;render rendering;
1123;render.at:1087;breaking 3 rows with many joined cells;render rendering;
1124;render.at:1129;horz break 6x6, joined rows and columns;render rendering;
1125;render.at:1179;horz break 6x6, joined rows and columns, left header;render rendering;
1126;render.at:1215;horz break 6x6, joined rows and columns, right header;render rendering;
1127;render.at:1251;breaking joined cells too wide for page;render rendering;
1128;render.at:1319;breaking joined cells much too wide for page;render rendering;
1129;render.at:1411;breaking cell too wide for page, no border;render rendering;
1130;render.at:1441;breaking cell too wide for page, with border;render rendering;
1131;render.at:1472;horz break 8x8 with many 2x2 joins;render rendering;
1132;render.at:1622;breaking column of many small cells;render rendering;
1133;render.at:1732;breaking column of many small cells, with headers;render rendering;
1134;render.at:1852;disabling too-big headers;render rendering;
1135;render.at:1909;breaking column of many medium-size cells;render rendering;
1136;render.at:2111;breaking 3 columns with many joined cells;render rendering;
1137;render.at:2223;vert break 6x6, joined rows and columns;render rendering;
1138;render.at:2266;breaking joined cells too tall for page;render rendering;
1139;render.at:2322;breaking cell too tall for page, no border;render rendering;
1140;render.at:2364;breaking cell too tall for page, with border;render rendering;
1141;render.at:2396;breaking nested cell too tall for page;render rendering;
1142;render.at:2430;double break 6x6, joined rows and columns;render rendering;
1143;render.at:2545;double break 8x8, with joins, left and right headers;render rendering;
1144;render.at:2632;double break 8x8, with joins, top and bottom headers;render rendering;
1145;render.at:2739;double break 8x8, with joins, all headers;render rendering;
1146;render.at:2846;double break joined cells too big for page;render rendering;
1147;render.at:2983;LIST puts space between columns;render rendering;
1148;render.at:3008;ASCII driver renders end of line spaces reasonably;render rendering;
1149;render.at:3046;multiple spanned cells all contribute to dimensions;render rendering;
1150;tables.at:19;OUTPUT precision;;
1151;tables.at:84;OUTPUT crash;;
1152;main.at:19;nonexistent syntax file crash;;
1153;main.at:25;SIGTERM yields clean shutdown;;
1154;main.at:40;SIGSEGV yields error report;;
1155;main.at:60;argument parsing;;
1156;syntax-gen.at:19;Syntax Generation - printf like;;
1157;pspp-convert.at:3;pspp-convert crash when output cannot be opened;;
1158;perl-module.at:33;Perl create system file;;
1159;perl-module.at:93;Perl writing cases to system files;;
1160;perl-module.at:186;Perl write variable parameters;;
1161;perl-module.at:261;Perl dictionary survives system file;;
1162;perl-module.at:330;Perl read system file;;
1163;perl-module.at:422;Perl copying system files;;
1164;perl-module.at:538;Perl value formatting;;
1165;perl-module.at:577;Perl opening nonexistent file;;
1166;perl-module.at:596;Perl missing values;;
1167;perl-module.at:642;Perl custom attributes;;
1168;perl-module.at:673;Perl Pspp.t;;
"
# List of the all the test groups.
at_groups_all=`$as_echo "$at_help_all" | sed 's/;.*//'`

# at_fn_validate_ranges NAME...
# -----------------------------
# Validate and normalize the test group number contained in each variable
# NAME. Leading zeroes are treated as decimal.
at_fn_validate_ranges ()
{
  for at_grp
  do
    eval at_value=\$$at_grp
    if test $at_value -lt 1 || test $at_value -gt 1168; then
      $as_echo "invalid test group: $at_value" >&2
      exit 1
    fi
    case $at_value in
      0*) # We want to treat leading 0 as decimal, like expr and test, but
	  # AS_VAR_ARITH treats it as octal if it uses $(( )).
	  # With XSI shells, ${at_value#${at_value%%[1-9]*}} avoids the
	  # expr fork, but it is not worth the effort to determine if the
	  # shell supports XSI when the user can just avoid leading 0.
	  eval $at_grp='`expr $at_value + 0`' ;;
    esac
  done
}

at_prev=
for at_option
do
  # If the previous option needs an argument, assign it.
  if test -n "$at_prev"; then
    at_option=$at_prev=$at_option
    at_prev=
  fi

  case $at_option in
  *=?*) at_optarg=`expr "X$at_option" : '[^=]*=\(.*\)'` ;;
  *)    at_optarg= ;;
  esac

  # Accept the important Cygnus configure options, so we can diagnose typos.

  case $at_option in
    --help | -h )
	at_help_p=:
	;;

    --list | -l )
	at_list_p=:
	;;

    --version | -V )
	at_version_p=:
	;;

    --clean | -c )
	at_clean=:
	;;

    --color )
	at_color=always
	;;
    --color=* )
	case $at_optarg in
	no | never | none) at_color=never ;;
	auto | tty | if-tty) at_color=auto ;;
	always | yes | force) at_color=always ;;
	*) at_optname=`echo " $at_option" | sed 's/^ //; s/=.*//'`
	   as_fn_error $? "unrecognized argument to $at_optname: $at_optarg" ;;
	esac
	;;

    --debug | -d )
	at_debug_p=:
	;;

    --errexit | -e )
	at_debug_p=:
	at_errexit_p=:
	;;

    --verbose | -v )
	at_verbose=; at_quiet=:
	;;

    --trace | -x )
	at_traceon='set -x'
	at_trace_echo=echo
	at_check_filter_trace=at_fn_filter_trace
	;;

    [0-9] | [0-9][0-9] | [0-9][0-9][0-9] | [0-9][0-9][0-9][0-9])
	at_fn_validate_ranges at_option
	as_fn_append at_groups "$at_option$as_nl"
	;;

    # Ranges
    [0-9]- | [0-9][0-9]- | [0-9][0-9][0-9]- | [0-9][0-9][0-9][0-9]-)
	at_range_start=`echo $at_option |tr -d X-`
	at_fn_validate_ranges at_range_start
	at_range=`$as_echo "$at_groups_all" | \
	  sed -ne '/^'$at_range_start'$/,$p'`
	as_fn_append at_groups "$at_range$as_nl"
	;;

    -[0-9] | -[0-9][0-9] | -[0-9][0-9][0-9] | -[0-9][0-9][0-9][0-9])
	at_range_end=`echo $at_option |tr -d X-`
	at_fn_validate_ranges at_range_end
	at_range=`$as_echo "$at_groups_all" | \
	  sed -ne '1,/^'$at_range_end'$/p'`
	as_fn_append at_groups "$at_range$as_nl"
	;;

    [0-9]-[0-9] | [0-9]-[0-9][0-9] | [0-9]-[0-9][0-9][0-9] | \
    [0-9]-[0-9][0-9][0-9][0-9] | [0-9][0-9]-[0-9][0-9] | \
    [0-9][0-9]-[0-9][0-9][0-9] | [0-9][0-9]-[0-9][0-9][0-9][0-9] | \
    [0-9][0-9][0-9]-[0-9][0-9][0-9] | \
    [0-9][0-9][0-9]-[0-9][0-9][0-9][0-9] | \
    [0-9][0-9][0-9][0-9]-[0-9][0-9][0-9][0-9] )
	at_range_start=`expr $at_option : '\(.*\)-'`
	at_range_end=`expr $at_option : '.*-\(.*\)'`
	if test $at_range_start -gt $at_range_end; then
	  at_tmp=$at_range_end
	  at_range_end=$at_range_start
	  at_range_start=$at_tmp
	fi
	at_fn_validate_ranges at_range_start at_range_end
	at_range=`$as_echo "$at_groups_all" | \
	  sed -ne '/^'$at_range_start'$/,/^'$at_range_end'$/p'`
	as_fn_append at_groups "$at_range$as_nl"
	;;

    # Directory selection.
    --directory | -C )
	at_prev=--directory
	;;
    --directory=* )
	at_change_dir=:
	at_dir=$at_optarg
	if test x- = "x$at_dir" ; then
	  at_dir=./-
	fi
	;;

    # Parallel execution.
    --jobs | -j )
	at_jobs=0
	;;
    --jobs=* | -j[0-9]* )
	if test -n "$at_optarg"; then
	  at_jobs=$at_optarg
	else
	  at_jobs=`expr X$at_option : 'X-j\(.*\)'`
	fi
	case $at_jobs in *[!0-9]*)
	  at_optname=`echo " $at_option" | sed 's/^ //; s/[0-9=].*//'`
	  as_fn_error $? "non-numeric argument to $at_optname: $at_jobs" ;;
	esac
	;;

    # Keywords.
    --keywords | -k )
	at_prev=--keywords
	;;
    --keywords=* )
	at_groups_selected=$at_help_all
	at_save_IFS=$IFS
	IFS=,
	set X $at_optarg
	shift
	IFS=$at_save_IFS
	for at_keyword
	do
	  at_invert=
	  case $at_keyword in
	  '!'*)
	    at_invert="-v"
	    at_keyword=`expr "X$at_keyword" : 'X!\(.*\)'`
	    ;;
	  esac
	  # It is on purpose that we match the test group titles too.
	  at_groups_selected=`$as_echo "$at_groups_selected" |
	      grep -i $at_invert "^[1-9][^;]*;.*[; ]$at_keyword[ ;]"`
	done
	# Smash the keywords.
	at_groups_selected=`$as_echo "$at_groups_selected" | sed 's/;.*//'`
	as_fn_append at_groups "$at_groups_selected$as_nl"
	;;
    --recheck)
	at_recheck=:
	;;

    *=*)
	at_envvar=`expr "x$at_option" : 'x\([^=]*\)='`
	# Reject names that are not valid shell variable names.
	case $at_envvar in
	  '' | [0-9]* | *[!_$as_cr_alnum]* )
	    as_fn_error $? "invalid variable name: \`$at_envvar'" ;;
	esac
	at_value=`$as_echo "$at_optarg" | sed "s/'/'\\\\\\\\''/g"`
	# Export now, but save eval for later and for debug scripts.
	export $at_envvar
	as_fn_append at_debug_args " $at_envvar='$at_value'"
	;;

     *) $as_echo "$as_me: invalid option: $at_option" >&2
	$as_echo "Try \`$0 --help' for more information." >&2
	exit 1
	;;
  esac
done

# Verify our last option didn't require an argument
if test -n "$at_prev"; then :
  as_fn_error $? "\`$at_prev' requires an argument"
fi

# The file containing the suite.
at_suite_log=$at_dir/$as_me.log

# Selected test groups.
if test -z "$at_groups$at_recheck"; then
  at_groups=$at_groups_all
else
  if test -n "$at_recheck" && test -r "$at_suite_log"; then
    at_oldfails=`sed -n '
      /^Failed tests:$/,/^Skipped tests:$/{
	s/^[ ]*\([1-9][0-9]*\):.*/\1/p
      }
      /^Unexpected passes:$/,/^## Detailed failed tests/{
	s/^[ ]*\([1-9][0-9]*\):.*/\1/p
      }
      /^## Detailed failed tests/q
      ' "$at_suite_log"`
    as_fn_append at_groups "$at_oldfails$as_nl"
  fi
  # Sort the tests, removing duplicates.
  at_groups=`$as_echo "$at_groups" | sort -nu | sed '/^$/d'`
fi

if test x"$at_color" = xalways \
   || { test x"$at_color" = xauto && test -t 1; }; then
  at_red=`printf '\033[0;31m'`
  at_grn=`printf '\033[0;32m'`
  at_lgn=`printf '\033[1;32m'`
  at_blu=`printf '\033[1;34m'`
  at_std=`printf '\033[m'`
else
  at_red= at_grn= at_lgn= at_blu= at_std=
fi

# Help message.
if $at_help_p; then
  cat <<_ATEOF || at_write_fail=1
Usage: $0 [OPTION]... [VARIABLE=VALUE]... [TESTS]

Run all the tests, or the selected TESTS, given by numeric ranges, and
save a detailed log file.  Upon failure, create debugging scripts.

Do not change environment variables directly.  Instead, set them via
command line arguments.  Set \`AUTOTEST_PATH' to select the executables
to exercise.  Each relative directory is expanded as build and source
directories relative to the top level of this distribution.
E.g., from within the build directory /tmp/foo-1.0, invoking this:

  $ $0 AUTOTEST_PATH=bin

is equivalent to the following, assuming the source directory is /src/foo-1.0:

  PATH=/tmp/foo-1.0/bin:/src/foo-1.0/bin:\$PATH $0
_ATEOF
cat <<_ATEOF || at_write_fail=1

Operation modes:
  -h, --help     print the help message, then exit
  -V, --version  print version number, then exit
  -c, --clean    remove all the files this test suite might create and exit
  -l, --list     describes all the tests, or the selected TESTS
_ATEOF
cat <<_ATEOF || at_write_fail=1

Execution tuning:
  -C, --directory=DIR
                 change to directory DIR before starting
      --color[=never|auto|always]
                 enable colored test results on terminal, or always
  -j, --jobs[=N]
                 Allow N jobs at once; infinite jobs with no arg (default 1)
  -k, --keywords=KEYWORDS
                 select the tests matching all the comma-separated KEYWORDS
                 multiple \`-k' accumulate; prefixed \`!' negates a KEYWORD
      --recheck  select all tests that failed or passed unexpectedly last time
  -e, --errexit  abort as soon as a test fails; implies --debug
  -v, --verbose  force more detailed output
                 default for debugging scripts
  -d, --debug    inhibit clean up and top-level logging
                 default for debugging scripts
  -x, --trace    enable tests shell tracing
_ATEOF
cat <<_ATEOF || at_write_fail=1

Report bugs to <bug-gnu-pspp@gnu.org>.
GNU PSPP home page: <http://www.gnu.org/software/pspp/>.
General help using GNU software: <http://www.gnu.org/gethelp/>.
_ATEOF
  exit $at_write_fail
fi

# List of tests.
if $at_list_p; then
  cat <<_ATEOF || at_write_fail=1
GNU PSPP 1.2.0 test suite test groups:

 NUM: FILE-NAME:LINE     TEST-GROUP-NAME
      KEYWORDS

_ATEOF
  # Pass an empty line as separator between selected groups and help.
  $as_echo "$at_groups$as_nl$as_nl$at_help_all" |
    awk 'NF == 1 && FS != ";" {
	   selected[$ 1] = 1
	   next
	 }
	 /^$/ { FS = ";" }
	 NF > 0 {
	   if (selected[$ 1]) {
	     printf " %3d: %-18s %s\n", $ 1, $ 2, $ 3
	     if ($ 4) {
	       lmax = 79
	       indent = "     "
	       line = indent
	       len = length (line)
	       n = split ($ 4, a, " ")
	       for (i = 1; i <= n; i++) {
		 l = length (a[i]) + 1
		 if (i > 1 && len + l > lmax) {
		   print line
		   line = indent " " a[i]
		   len = length (line)
		 } else {
		   line = line " " a[i]
		   len += l
		 }
	       }
	       if (n)
		 print line
	     }
	   }
	 }' || at_write_fail=1
  exit $at_write_fail
fi
if $at_version_p; then
  $as_echo "$as_me (GNU PSPP 1.2.0)" &&
  cat <<\_ATEOF || at_write_fail=1

Copyright (C) 2012 Free Software Foundation, Inc.
This test suite is free software; the Free Software Foundation gives
unlimited permission to copy, distribute and modify it.
_ATEOF
  exit $at_write_fail
fi

# Should we print banners?  Yes if more than one test is run.
case $at_groups in #(
  *$as_nl* )
      at_print_banners=: ;; #(
  * ) at_print_banners=false ;;
esac
# Text for banner N, set to a single space once printed.
# Banner 1. calendar.at:17
# Category starts at test group 1.
at_banner_text_1="calendar"
# Banner 2. data-in.at:17
# Category starts at test group 2.
at_banner_text_2="data input (data-in)"
# Banner 3. data-out.at:17
# Category starts at test group 22.
at_banner_text_3="data output (data-out)"
# Banner 4. datasheet-test.at:17
# Category starts at test group 31.
at_banner_text_4="datasheet"
# Banner 5. dictionary.at:17
# Category starts at test group 36.
at_banner_text_5="dictionary"
# Banner 6. file.at:17
# Category starts at test group 37.
at_banner_text_6="files handling"
# Banner 7. format-guesser.at:17
# Category starts at test group 42.
at_banner_text_7="format guesser"
# Banner 8. mdd-file.at:17
# Category starts at test group 43.
at_banner_text_8="MDD files"
# Banner 9. pc+-file-reader.at:17
# Category starts at test group 44.
at_banner_text_9="SPSS/PC+ file reader - positive"
# Banner 10. pc+-file-reader.at:463
# Category starts at test group 48.
at_banner_text_10="SPSS/PC+ file reader - negative"
# Banner 11. por-file.at:17
# Category starts at test group 64.
at_banner_text_11="portable files"
# Banner 12. sys-file-reader.at:17
# Category starts at test group 68.
at_banner_text_12="system file reader - positive"
# Banner 13. sys-file-reader.at:1634
# Category starts at test group 86.
at_banner_text_13="system file reader - negative"
# Banner 14. sys-file.at:17
# Category starts at test group 165.
at_banner_text_14="system files"
# Banner 15. sys-file.at:330
# Category starts at test group 174.
at_banner_text_15="system files -- very long strings"
# Banner 16. encrypted-file.at:17
# Category starts at test group 179.
at_banner_text_16="encrypted files"
# Banner 17. command.at:17
# Category starts at test group 181.
at_banner_text_17="command parser"
# Banner 18. command.at:40
# Category starts at test group 183.
at_banner_text_18="ERASE"
# Banner 19. command.at:68
# Category starts at test group 185.
at_banner_text_19="N OF CASES"
# Banner 20. command.at:105
# Category starts at test group 186.
at_banner_text_20="COMMENT"
# Banner 21. do-if.at:17
# Category starts at test group 187.
at_banner_text_21="DO IF"
# Banner 22. do-repeat.at:17
# Category starts at test group 190.
at_banner_text_22="DO REPEAT"
# Banner 23. loop.at:17
# Category starts at test group 196.
at_banner_text_23="LOOP"
# Banner 24. temporary.at:17
# Category starts at test group 204.
at_banner_text_24="TEMPORARY"
# Banner 25. add-files.at:118
# Category starts at test group 205.
at_banner_text_25="ADD FILES"
# Banner 26. data-list.at:17
# Category starts at test group 205.
at_banner_text_26="DATA LIST"
# Banner 27. data-reader.at:17
# Category starts at test group 219.
at_banner_text_27="BEGIN DATA"
# Banner 28. dataset.at:17
# Category starts at test group 225.
at_banner_text_28="DATASET commands"
# Banner 29. file-handle.at:17
# Category starts at test group 231.
at_banner_text_29="FILE HANDLE"
# Banner 30. get-data-spreadsheet.at:165
# Category starts at test group 232.
at_banner_text_30="GET DATA Spreadsheet /TYPE=GNM"
# Banner 31. get-data-spreadsheet.at:369
# Category starts at test group 241.
at_banner_text_31="GET DATA Spreadsheet /TYPE=ODS"
# Banner 32. get-data-psql.at:17
# Category starts at test group 250.
at_banner_text_32="GET DATA /TYPE=PSQL"
# Banner 33. get-data-txt.at:17
# Category starts at test group 251.
at_banner_text_33="GET DATA /TYPE=TXT"
# Banner 34. get.at:17
# Category starts at test group 264.
at_banner_text_34="GET"
# Banner 35. inpt-pgm.at:17
# Category starts at test group 269.
at_banner_text_35="INPUT PROGRAM"
# Banner 36. list.at:17
# Category starts at test group 273.
at_banner_text_36="LIST"
# Banner 37. match-files.at:17
# Category starts at test group 280.
at_banner_text_37="MATCH FILES"
# Banner 38. matrix-data.at:17
# Category starts at test group 290.
at_banner_text_38="MATRIX DATA"
# Banner 39. print-space.at:17
# Category starts at test group 302.
at_banner_text_39="PRINT SPACE"
# Banner 40. print.at:17
# Category starts at test group 306.
at_banner_text_40="PRINT and WRITE"
# Banner 41. save.at:17
# Category starts at test group 316.
at_banner_text_41="IMPORT and EXPORT"
# Banner 42. save.at:43
# Category starts at test group 317.
at_banner_text_42="SAVE"
# Banner 43. save-translate.at:17
# Category starts at test group 318.
at_banner_text_43="SAVE TRANSLATE /TYPE=CSV"
# Banner 44. save-translate.at:98
# Category starts at test group 324.
at_banner_text_44="SAVE TRANSLATE /TYPE=TAB"
# Banner 45. update.at:86
# Category starts at test group 325.
at_banner_text_45="UPDATE"
# Banner 46. attributes.at:17
# Category starts at test group 325.
at_banner_text_46="VARIABLE ATTRIBUTES and DATAFILE ATTRIBUTES"
# Banner 47. delete-variables.at:17
# Category starts at test group 326.
at_banner_text_47="DELETE VARIABLES"
# Banner 48. formats.at:17
# Category starts at test group 327.
at_banner_text_48="FORMATS"
# Banner 49. missing-values.at:17
# Category starts at test group 329.
at_banner_text_49="MISSING VALUES"
# Banner 50. mrsets.at:17
# Category starts at test group 331.
at_banner_text_50="MRSETS"
# Banner 51. rename-variables.at:17
# Category starts at test group 343.
at_banner_text_51="RENAME VARIABLES"
# Banner 52. sort-variables.at:17
# Category starts at test group 348.
at_banner_text_52="SORT VARIABLES"
# Banner 53. split-file.at:17
# Category starts at test group 349.
at_banner_text_53="SPLIT FILE"
# Banner 54. sys-file-info.at:17
# Category starts at test group 351.
at_banner_text_54="SYSFILE INFO"
# Banner 55. sys-file-info.at:66
# Category starts at test group 352.
at_banner_text_55="DISPLAY"
# Banner 56. value-labels.at:17
# Category starts at test group 357.
at_banner_text_56="VALUE LABELS"
# Banner 57. variable-display.at:17
# Category starts at test group 362.
at_banner_text_57="variable display attributes"
# Banner 58. variable-display.at:50
# Category starts at test group 363.
at_banner_text_58="VARIABLE LABELS"
# Banner 59. vector.at:17
# Category starts at test group 364.
at_banner_text_59="VECTOR"
# Banner 60. weight.at:17
# Category starts at test group 368.
at_banner_text_60="WEIGHT"
# Banner 61. evaluate.at:48
# Category starts at test group 369.
at_banner_text_61="expressions"
# Banner 62. parse.at:17
# Category starts at test group 375.
at_banner_text_62="expression parsing"
# Banner 63. command-name.at:17
# Category starts at test group 377.
at_banner_text_63="command name matching"
# Banner 64. lexer.at:17
# Category starts at test group 384.
at_banner_text_64="lexer"
# Banner 65. q2c.at:17
# Category starts at test group 387.
at_banner_text_65="q2c"
# Banner 66. scan.at:17
# Category starts at test group 388.
at_banner_text_66="syntax scanning"
# Banner 67. segment.at:17
# Category starts at test group 400.
at_banner_text_67="syntax segmentation"
# Banner 68. variable-parser.at:17
# Category starts at test group 414.
at_banner_text_68="Variable parser"
# Banner 69. aggregate.at:17
# Category starts at test group 415.
at_banner_text_69="AGGREGATE procedure"
# Banner 70. autorecode.at:17
# Category starts at test group 431.
at_banner_text_70="AUTORECODE procedure"
# Banner 71. correlations.at:17
# Category starts at test group 439.
at_banner_text_71="CORRELATIONS"
# Banner 72. crosstabs.at:17
# Category starts at test group 446.
at_banner_text_72="CROSSTABS procedure"
# Banner 73. descriptives.at:17
# Category starts at test group 465.
at_banner_text_73="DESCRIPTIVES procedure"
# Banner 74. examine.at:17
# Category starts at test group 476.
at_banner_text_74="EXAMINE"
# Banner 75. graph.at:17
# Category starts at test group 498.
at_banner_text_75="GRAPH"
# Banner 76. factor.at:17
# Category starts at test group 510.
at_banner_text_76="FACTOR procedure"
# Banner 77. flip.at:17
# Category starts at test group 521.
at_banner_text_77="FLIP command"
# Banner 78. frequencies.at:17
# Category starts at test group 525.
at_banner_text_78="FREQUENCIES procedure"
# Banner 79. glm.at:17
# Category starts at test group 548.
at_banner_text_79="GLM procedure"
# Banner 80. logistic.at:17
# Category starts at test group 553.
at_banner_text_80="LOGISTIC REGRESSION"
# Banner 81. means.at:17
# Category starts at test group 563.
at_banner_text_81="MEANS procedure"
# Banner 82. npar.at:17
# Category starts at test group 574.
at_banner_text_82="NPAR TESTS"
# Banner 83. oneway.at:17
# Category starts at test group 613.
at_banner_text_83="ONEWAY procedure"
# Banner 84. quick-cluster.at:17
# Category starts at test group 631.
at_banner_text_84="QUICK CLUSTER"
# Banner 85. rank.at:17
# Category starts at test group 640.
at_banner_text_85="RANK"
# Banner 86. regression.at:17
# Category starts at test group 652.
at_banner_text_86="LINEAR REGRESSION"
# Banner 87. reliability.at:17
# Category starts at test group 665.
at_banner_text_87="RELIABILITY"
# Banner 88. roc.at:17
# Category starts at test group 670.
at_banner_text_88="ROC"
# Banner 89. sort-cases.at:17
# Category starts at test group 675.
at_banner_text_89="SORT CASES"
# Banner 90. t-test.at:17
# Category starts at test group 696.
at_banner_text_90="T-TEST"
# Banner 91. cache.at:17
# Category starts at test group 716.
at_banner_text_91="CACHE"
# Banner 92. cd.at:17
# Category starts at test group 717.
at_banner_text_92="CD"
# Banner 93. date.at:17
# Category starts at test group 718.
at_banner_text_93="USE"
# Banner 94. insert.at:17
# Category starts at test group 719.
at_banner_text_94="INSERT"
# Banner 95. permissions.at:17
# Category starts at test group 728.
at_banner_text_95="PERMISSIONS"
# Banner 96. set.at:17
# Category starts at test group 730.
at_banner_text_96="SET"
# Banner 97. set.at:124
# Category starts at test group 734.
at_banner_text_97="PRESERVE and RESTORE"
# Banner 98. show.at:17
# Category starts at test group 735.
at_banner_text_98="SHOW"
# Banner 99. title.at:17
# Category starts at test group 737.
at_banner_text_99="TITLE and related commands"
# Banner 100. compute.at:17
# Category starts at test group 738.
at_banner_text_100="COMPUTE transformation"
# Banner 101. count.at:17
# Category starts at test group 742.
at_banner_text_101="COUNT"
# Banner 102. recode.at:17
# Category starts at test group 744.
at_banner_text_102="RECODE transformation"
# Banner 103. sample.at:17
# Category starts at test group 755.
at_banner_text_103="SAMPLE"
# Banner 104. select-if.at:17
# Category starts at test group 756.
at_banner_text_104="FILTER"
# Banner 105. abt.at:17
# Category starts at test group 757.
at_banner_text_105="Augmented binary tree (ABT) library"
# Banner 106. bt.at:17
# Category starts at test group 764.
at_banner_text_106="Balanced tree (BT) library"
# Banner 107. encoding-guesser.at:17
# Category starts at test group 772.
at_banner_text_107="encoding guesser"
# Banner 108. float-format.at:17
# Category starts at test group 792.
at_banner_text_108="floating point formats"
# Banner 109. heap.at:17
# Category starts at test group 793.
at_banner_text_109="Heap library"
# Banner 110. hmap.at:17
# Category starts at test group 798.
at_banner_text_110="Hash map (hmap) library"
# Banner 111. hmapx.at:17
# Category starts at test group 823.
at_banner_text_111="Hash map of pointers (hmapx) library"
# Banner 112. i18n.at:17
# Category starts at test group 851.
at_banner_text_112="i18n recoding"
# Banner 113. i18n.at:70
# Category starts at test group 860.
at_banner_text_113="i18n concatenation"
# Banner 114. line-reader.at:17
# Category starts at test group 881.
at_banner_text_114="line_reader"
# Banner 115. ll.at:17
# Category starts at test group 889.
at_banner_text_115="doubly linked list (ll) library"
# Banner 116. llx.at:17
# Category starts at test group 919.
at_banner_text_116="doubly linked list of pointers (llx) library"
# Banner 117. range-map.at:17
# Category starts at test group 951.
at_banner_text_117="range map library"
# Banner 118. range-set.at:17
# Category starts at test group 954.
at_banner_text_118="range set library"
# Banner 119. range-tower.at:17
# Category starts at test group 960.
at_banner_text_119="range tower library"
# Banner 120. sparse-array.at:17
# Category starts at test group 968.
at_banner_text_120="sparse array library"
# Banner 121. sparse-xarray-test.at:17
# Category starts at test group 970.
at_banner_text_121="sparse external arrays"
# Banner 122. str.at:17
# Category starts at test group 977.
at_banner_text_122="string library"
# Banner 123. string-map.at:17
# Category starts at test group 978.
at_banner_text_123="string map library"
# Banner 124. stringi-map.at:17
# Category starts at test group 992.
at_banner_text_124="case-insensitive string map library"
# Banner 125. string-set.at:17
# Category starts at test group 1006.
at_banner_text_125="string set library"
# Banner 126. stringi-set.at:17
# Category starts at test group 1019.
at_banner_text_126="case-insensitive string set library"
# Banner 127. tower.at:17
# Category starts at test group 1032.
at_banner_text_127="tower library"
# Banner 128. u8-istream.at:17
# Category starts at test group 1037.
at_banner_text_128="u8_istream"
# Banner 129. zip.at:17
# Category starts at test group 1053.
at_banner_text_129="zip"
# Banner 130. chart-geometry.at:17
# Category starts at test group 1054.
at_banner_text_130="Chart Geometry"
# Banner 131. moments.at:17
# Category starts at test group 1056.
at_banner_text_131="calculating moments"
# Banner 132. randist.at:17
# Category starts at test group 1058.
at_banner_text_132="random distributions"
# Banner 133. ascii.at:17
# Category starts at test group 1072.
at_banner_text_133="ASCII driver -- rendering corner cases"
# Banner 134. charts.at:17
# Category starts at test group 1080.
at_banner_text_134="CHARTS Rudimentary run tests"
# Banner 135. html.at:17
# Category starts at test group 1087.
at_banner_text_135="HTML driver"
# Banner 136. output.at:17
# Category starts at test group 1088.
at_banner_text_136="output drivers"
# Banner 137. paper-size.at:17
# Category starts at test group 1093.
at_banner_text_137="output -- paper sizes"
# Banner 138. render.at:174
# Category starts at test group 1096.
at_banner_text_138="output rendering -- no page breaking"
# Banner 139. render.at:768
# Category starts at test group 1117.
at_banner_text_139="output rendering -- horizontal page breaks"
# Banner 140. render.at:1620
# Category starts at test group 1132.
at_banner_text_140="output rendering -- vertical page breaks"
# Banner 141. render.at:2428
# Category starts at test group 1142.
at_banner_text_141="output rendering -- double page breaks"
# Banner 142. render.at:2979
# Category starts at test group 1147.
at_banner_text_142="output rendering -- problematic procedures"
# Banner 143. tables.at:17
# Category starts at test group 1150.
at_banner_text_143="output -- tables"
# Banner 144. main.at:17
# Category starts at test group 1152.
at_banner_text_144="PSPP terminal UI"
# Banner 145. syntax-gen.at:17
# Category starts at test group 1156.
at_banner_text_145="SYNTAX GENERATOR"
# Banner 146. pspp-convert.at:1
# Category starts at test group 1157.
at_banner_text_146="pspp-convert"
# Banner 147. perl-module.at:17
# Category starts at test group 1158.
at_banner_text_147="Perl module tests"

# Take any -C into account.
if $at_change_dir ; then
  test x != "x$at_dir" && cd "$at_dir" \
    || as_fn_error $? "unable to change directory"
  at_dir=`pwd`
fi

# Load the config files for any default variable assignments.
for at_file in atconfig atlocal
do
  test -r $at_file || continue
  . ./$at_file || as_fn_error $? "invalid content: $at_file"
done

# Autoconf <=2.59b set at_top_builddir instead of at_top_build_prefix:
: "${at_top_build_prefix=$at_top_builddir}"

# Perform any assignments requested during argument parsing.
eval "$at_debug_args"

# atconfig delivers names relative to the directory the test suite is
# in, but the groups themselves are run in testsuite-dir/group-dir.
if test -n "$at_top_srcdir"; then
  builddir=../..
  for at_dir_var in srcdir top_srcdir top_build_prefix
  do
    eval at_val=\$at_$at_dir_var
    case $at_val in
      [\\/$]* | ?:[\\/]* ) at_prefix= ;;
      *) at_prefix=../../ ;;
    esac
    eval "$at_dir_var=\$at_prefix\$at_val"
  done
fi

## -------------------- ##
## Directory structure. ##
## -------------------- ##

# This is the set of directories and files used by this script
# (non-literals are capitalized):
#
# TESTSUITE         - the testsuite
# TESTSUITE.log     - summarizes the complete testsuite run
# TESTSUITE.dir/    - created during a run, remains after -d or failed test
# + at-groups/      - during a run: status of all groups in run
# | + NNN/          - during a run: meta-data about test group NNN
# | | + check-line  - location (source file and line) of current AT_CHECK
# | | + status      - exit status of current AT_CHECK
# | | + stdout      - stdout of current AT_CHECK
# | | + stder1      - stderr, including trace
# | | + stderr      - stderr, with trace filtered out
# | | + test-source - portion of testsuite that defines group
# | | + times       - timestamps for computing duration
# | | + pass        - created if group passed
# | | + xpass       - created if group xpassed
# | | + fail        - created if group failed
# | | + xfail       - created if group xfailed
# | | + skip        - created if group skipped
# + at-stop         - during a run: end the run if this file exists
# + at-source-lines - during a run: cache of TESTSUITE line numbers for extraction
# + 0..NNN/         - created for each group NNN, remains after -d or failed test
# | + TESTSUITE.log - summarizes the group results
# | + ...           - files created during the group

# The directory the whole suite works in.
# Should be absolute to let the user `cd' at will.
at_suite_dir=$at_dir/$as_me.dir
# The file containing the suite ($at_dir might have changed since earlier).
at_suite_log=$at_dir/$as_me.log
# The directory containing helper files per test group.
at_helper_dir=$at_suite_dir/at-groups
# Stop file: if it exists, do not start new jobs.
at_stop_file=$at_suite_dir/at-stop
# The fifo used for the job dispatcher.
at_job_fifo=$at_suite_dir/at-job-fifo

if $at_clean; then
  test -d "$at_suite_dir" &&
    find "$at_suite_dir" -type d ! -perm -700 -exec chmod u+rwx \{\} \;
  rm -f -r "$at_suite_dir" "$at_suite_log"
  exit $?
fi

# Don't take risks: use only absolute directories in PATH.
#
# For stand-alone test suites (ie. atconfig was not found),
# AUTOTEST_PATH is relative to `.'.
#
# For embedded test suites, AUTOTEST_PATH is relative to the top level
# of the package.  Then expand it into build/src parts, since users
# may create executables in both places.
AUTOTEST_PATH=`$as_echo "$AUTOTEST_PATH" | sed "s|:|$PATH_SEPARATOR|g"`
at_path=
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $AUTOTEST_PATH $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
    test -n "$at_path" && as_fn_append at_path $PATH_SEPARATOR
case $as_dir in
  [\\/]* | ?:[\\/]* )
    as_fn_append at_path "$as_dir"
    ;;
  * )
    if test -z "$at_top_build_prefix"; then
      # Stand-alone test suite.
      as_fn_append at_path "$as_dir"
    else
      # Embedded test suite.
      as_fn_append at_path "$at_top_build_prefix$as_dir$PATH_SEPARATOR"
      as_fn_append at_path "$at_top_srcdir/$as_dir"
    fi
    ;;
esac
  done
IFS=$as_save_IFS


# Now build and simplify PATH.
#
# There might be directories that don't exist, but don't redirect
# builtins' (eg., cd) stderr directly: Ultrix's sh hates that.
at_new_path=
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $at_path
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
    test -d "$as_dir" || continue
case $as_dir in
  [\\/]* | ?:[\\/]* ) ;;
  * ) as_dir=`(cd "$as_dir" && pwd) 2>/dev/null` ;;
esac
case $PATH_SEPARATOR$at_new_path$PATH_SEPARATOR in
  *$PATH_SEPARATOR$as_dir$PATH_SEPARATOR*) ;;
  $PATH_SEPARATOR$PATH_SEPARATOR) at_new_path=$as_dir ;;
  *) as_fn_append at_new_path "$PATH_SEPARATOR$as_dir" ;;
esac
  done
IFS=$as_save_IFS

PATH=$at_new_path
export PATH

# Setting up the FDs.



# 5 is the log file.  Not to be overwritten if `-d'.
if $at_debug_p; then
  at_suite_log=/dev/null
else
  : >"$at_suite_log"
fi
exec 5>>"$at_suite_log"

# Banners and logs.
$as_echo "## -------------------------- ##
## GNU PSPP 1.2.0 test suite. ##
## -------------------------- ##"
{
  $as_echo "## -------------------------- ##
## GNU PSPP 1.2.0 test suite. ##
## -------------------------- ##"
  echo

  $as_echo "$as_me: command line was:"
  $as_echo "  \$ $0 $at_cli_args"
  echo

  # If ChangeLog exists, list a few lines in case it might help determining
  # the exact version.
  if test -n "$at_top_srcdir" && test -f "$at_top_srcdir/ChangeLog"; then
    $as_echo "## ---------- ##
## ChangeLog. ##
## ---------- ##"
    echo
    sed 's/^/| /;10q' "$at_top_srcdir/ChangeLog"
    echo
  fi

  {
cat <<_ASUNAME
## --------- ##
## Platform. ##
## --------- ##

hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
uname -m = `(uname -m) 2>/dev/null || echo unknown`
uname -r = `(uname -r) 2>/dev/null || echo unknown`
uname -s = `(uname -s) 2>/dev/null || echo unknown`
uname -v = `(uname -v) 2>/dev/null || echo unknown`

/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`

/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`

_ASUNAME

as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
    $as_echo "PATH: $as_dir"
  done
IFS=$as_save_IFS

}
  echo

  # Contents of the config files.
  for at_file in atconfig atlocal
  do
    test -r $at_file || continue
    $as_echo "$as_me: $at_file:"
    sed 's/^/| /' $at_file
    echo
  done
} >&5


## ------------------------- ##
## Autotest shell functions. ##
## ------------------------- ##

# at_fn_banner NUMBER
# -------------------
# Output banner NUMBER, provided the testsuite is running multiple groups and
# this particular banner has not yet been printed.
at_fn_banner ()
{
  $at_print_banners || return 0
  eval at_banner_text=\$at_banner_text_$1
  test "x$at_banner_text" = "x " && return 0
  eval "at_banner_text_$1=\" \""
  if test -z "$at_banner_text"; then
    $at_first || echo
  else
    $as_echo "$as_nl$at_banner_text$as_nl"
  fi
} # at_fn_banner

# at_fn_check_prepare_notrace REASON LINE
# ---------------------------------------
# Perform AT_CHECK preparations for the command at LINE for an untraceable
# command; REASON is the reason for disabling tracing.
at_fn_check_prepare_notrace ()
{
  $at_trace_echo "Not enabling shell tracing (command contains $1)"
  $as_echo "$2" >"$at_check_line_file"
  at_check_trace=: at_check_filter=:
  : >"$at_stdout"; : >"$at_stderr"
}

# at_fn_check_prepare_trace LINE
# ------------------------------
# Perform AT_CHECK preparations for the command at LINE for a traceable
# command.
at_fn_check_prepare_trace ()
{
  $as_echo "$1" >"$at_check_line_file"
  at_check_trace=$at_traceon at_check_filter=$at_check_filter_trace
  : >"$at_stdout"; : >"$at_stderr"
}

# at_fn_check_prepare_dynamic COMMAND LINE
# ----------------------------------------
# Decide if COMMAND at LINE is traceable at runtime, and call the appropriate
# preparation function.
at_fn_check_prepare_dynamic ()
{
  case $1 in
    *$as_nl*)
      at_fn_check_prepare_notrace 'an embedded newline' "$2" ;;
    *)
      at_fn_check_prepare_trace "$2" ;;
  esac
}

# at_fn_filter_trace
# ------------------
# Remove the lines in the file "$at_stderr" generated by "set -x" and print
# them to stderr.
at_fn_filter_trace ()
{
  mv "$at_stderr" "$at_stder1"
  grep '^ *+' "$at_stder1" >&2
  grep -v '^ *+' "$at_stder1" >"$at_stderr"
}

# at_fn_log_failure FILE-LIST
# ---------------------------
# Copy the files in the list on stdout with a "> " prefix, and exit the shell
# with a failure exit code.
at_fn_log_failure ()
{
  for file
    do $as_echo "$file:"; sed 's/^/> /' "$file"; done
  echo 1 > "$at_status_file"
  exit 1
}

# at_fn_check_skip EXIT-CODE LINE
# -------------------------------
# Check whether EXIT-CODE is a special exit code (77 or 99), and if so exit
# the test group subshell with that same exit code. Use LINE in any report
# about test failure.
at_fn_check_skip ()
{
  case $1 in
    99) echo 99 > "$at_status_file"; at_failed=:
	$as_echo "$2: hard failure"; exit 99;;
    77) echo 77 > "$at_status_file"; exit 77;;
  esac
}

# at_fn_check_status EXPECTED EXIT-CODE LINE
# ------------------------------------------
# Check whether EXIT-CODE is the EXPECTED exit code, and if so do nothing.
# Otherwise, if it is 77 or 99, exit the test group subshell with that same
# exit code; if it is anything else print an error message referring to LINE,
# and fail the test.
at_fn_check_status ()
{
  case $2 in
    $1 ) ;;
    77) echo 77 > "$at_status_file"; exit 77;;
    99) echo 99 > "$at_status_file"; at_failed=:
	$as_echo "$3: hard failure"; exit 99;;
    *) $as_echo "$3: exit code was $2, expected $1"
      at_failed=:;;
  esac
}

# at_fn_diff_devnull FILE
# -----------------------
# Emit a diff between /dev/null and FILE. Uses "test -s" to avoid useless diff
# invocations.
at_fn_diff_devnull ()
{
  test -s "$1" || return 0
  $at_diff "$at_devnull" "$1"
}

# at_fn_test NUMBER
# -----------------
# Parse out test NUMBER from the tail of this file.
at_fn_test ()
{
  eval at_sed=\$at_sed$1
  sed "$at_sed" "$at_myself" > "$at_test_source"
}

# at_fn_create_debugging_script
# -----------------------------
# Create the debugging script $at_group_dir/run which will reproduce the
# current test group.
at_fn_create_debugging_script ()
{
  {
    echo "#! /bin/sh" &&
    echo 'test "${ZSH_VERSION+set}" = set && alias -g '\''${1+"$@"}'\''='\''"$@"'\''' &&
    $as_echo "cd '$at_dir'" &&
    $as_echo "exec \${CONFIG_SHELL-$SHELL} \"$at_myself\" -v -d $at_debug_args $at_group \${1+\"\$@\"}" &&
    echo 'exit 1'
  } >"$at_group_dir/run" &&
  chmod +x "$at_group_dir/run"
}

## -------------------------------- ##
## End of autotest shell functions. ##
## -------------------------------- ##
{
  $as_echo "## ---------------- ##
## Tested programs. ##
## ---------------- ##"
  echo
} >&5

# Report what programs are being tested.
for at_program in : $at_tested
do
  test "$at_program" = : && continue
  case $at_program in
    [\\/]* | ?:[\\/]* ) $at_program_=$at_program ;;
    * )
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
    test -f "$as_dir/$at_program" && break
  done
IFS=$as_save_IFS

    at_program_=$as_dir/$at_program ;;
  esac
  if test -f "$at_program_"; then
    {
      $as_echo "$at_srcdir/testsuite.at:19: $at_program_ --version"
      "$at_program_" --version </dev/null
      echo
    } >&5 2>&1
  else
    as_fn_error $? "cannot find $at_program" "$LINENO" 5
  fi
done

{
  $as_echo "## ------------------ ##
## Running the tests. ##
## ------------------ ##"
} >&5

at_start_date=`date`
at_start_time=`date +%s 2>/dev/null`
$as_echo "$as_me: starting at: $at_start_date" >&5
if test X"$RUNNER" != X; then
    wrapper_dir=`pwd`/wrappers
    rm -f "$wrapper_dir"/*
    test -d "$wrapper_dir" || mkdir "$wrapper_dir"

    wrap_dir () {
        test -d "$1" || return
	for file in "$1"/*; do
            if test -x "$file" && test -f "$file"; then
		base=`basename $file $EXEEXT`
		wrapper=$wrapper_dir/$base
		if test ! -e "$wrapper"; then
		    echo "exec $RUNNER $file \"\$@\"" > $wrapper
		    chmod +x $wrapper
		fi
	    fi
	done
    }

    save_IFS=$IFS; IFS=$PATH_SEPARATOR
    for dir in $AUTOTEST_PATH; do
        IFS=$save_IFS
        test X"$dir" = X && dir=.
	case $dir in
            \\/* | ?:\\/*)
                wrap_dir "$dir"
		;;
            *)
	        wrap_dir "$abs_top_builddir/$dir"
		wrap_dir "$abs_top_srcdir/$dir"
		;;
	esac
    done
    IFS=$save_IFS
    PATH=$wrapper_dir:$PATH
fi


data_in_prng () {
  cat > my-rand.pl <<'EOF'
# This random number generator and the test for it below are drawn
# from Park and Miller, "Random Number Generators: Good Ones are Hard
# to Come By", Communications of the ACM 31:10 (October 1988).  It is
# documented to function properly on systems with a 46-bit or longer
# real significand, which includes systems that have 64-bit IEEE reals
# (with 53-bit significand).  The test should catch any systems for
# which this is not true, in any case.

our ($seed) = 1;
sub my_rand {
  my ($modulo) = @_;
  my ($a) = 16807;
  my ($m) = 2147483647;
  my ($tmp) = $a * $seed;
  $seed = $tmp - $m * int ($tmp / $m);
  return $seed % $modulo;
}
EOF
  cat > test-my-rand.pl <<'EOF'
#! /usr/bin/perl
use strict;
use warnings;
do './my-rand.pl';
my_rand (1) foreach 1...10000;
our $seed;
die $seed if $seed != 1043618065;
EOF
}


zcompressed_sack () {
    cat <<'EOF'
"$FL3"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 6; 2; 0; -1; 100.0; "01 Jan 11"; "20:53:52"; s64 "PSPP synthetic test file";
i8 0 *3;

2; 0; 0; 0; 0x050800 *2; s8 "NUM1";
2; 0; 0; 0; 0x050800 *2; s8 "NUM2";

2; 4; 0; 0; 0x010400 *2; s8 "STR4";
2; 8; 0; 0; 0x010800 *2; s8 "STR8";
2; 15; 0; 0; 0x010f00 *2; s8 "STR15";
2; -1; 0; 0; 0; 0; s8 "";

7; 20; 1; 12; "windows-1252";

999; 0;

i64 0x194;    # zheader_ofs
i64 0x205;    # ztrailer_ofs
i64 48;       # ztrailer_len

hex "78 01 63 4c f9 f7 f7 df  df ff bf 13 93 92 53 52";
hex "d3 d2 33 0c 0c 8d 8c 15  80 e0 ef df bf ff 52 d3";
hex "fe fe cd ca ce c9 05 f1  f3 f2 0b 0a 8b 8a 4b 4a";
hex "cb ca 2b 2a ab 1c 9d 9c  5d 5c dd dc 41 e2 1e 9e";
hex "5e de 3e be 7e fe ff fe  fe 61 00 81 80 c0 a0 e0";
hex "90 d0 b0 70 00 0f 3f 23  d7";

i64 -100;     # ztrailer_bias
i64 0;        # ztrailer_zero
0x3ff000;     # block_size
1;            # n_blocks

i64 0x194;    # uncompressed_ofs
i64 0x1ac;    # compressed_ofs
88;           # uncompressed_size
89;           # compressed_size
EOF
}

vls_gen_data () {
cat > data.txt <<EOF
 1xxxxxxxx2aXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXbcYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYdeZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZf
 1xxxxxxxx2aXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXbcYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYdeZZMaryHadAlittleLambZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZf
EOF
}

sort_cases_gen_data () {
  cat > gen-data.pl <<'EOF'
use strict;
use warnings;

# Generate shuffled data.
my (@data);
for my $i (0...$ARGV[0] - 1) {
    push (@data, ($i) x $ARGV[1]);
}
fisher_yates_shuffle (\@data);

# Output shuffled data.
my (@shuffled) = map ([$data[$_], $_], 0...$#data);
open (SHUFFLED, ">data.txt");
print SHUFFLED "$data[$_] $_\n" foreach 0...$#data;

# Output sorted data.
my (@sorted) = sort { $a->[0] <=> $b->[0] || $a->[1] <=> $b->[1] } @shuffled;
open (SORTED, ">expout");
printf SORTED " %8d %8d \n", $_->[0], $_->[1] foreach @sorted;

# From perlfaq4.
sub fisher_yates_shuffle {
    my $deck = shift;  # $deck is a reference to an array
    my $i = @$deck;
    while ($i--) {
	my $j = int rand ($i+1);
	@$deck[$i,$j] = @$deck[$j,$i];
    }
}
EOF
  $PERL gen-data.pl "$@"
}

sparse_xarray_queue_limit () {
  # Each on-disk sparse_xarray eats up a file descriptor, so for the
  # tests that involve on-disk sparse_xarrays we need to limit the
  # maximum length of the queue.  Figure out how many file descriptors
  # we can let the test program open at once.
  OPEN_MAX=`getconf OPEN_MAX 2>/dev/null`
  case $OPEN_MAX in
    [0-9]*)
      # Divide by 2 because some fds are used by other code.
      queue_limit=`expr $OPEN_MAX / 2`
      ;;
    undefined)
      # Assume that any system with a dynamic fd limit has a large limit.
      queue_limit=500
      ;;
    *)
      case `uname -m 2>/dev/null` in
	CYGWIN*)
	  # Cygwin claims a 256-fd limit as OPEN_MAX in <limits.h>.
	  queue_limit=128
	  ;;
	MINGW*)
	  # The following email claims that Mingw should have a
	  # 2048-fd limit:
	  # http://www.mail-archive.com/squid-users@squid-cache.org/msg35249.html
	  queue_limit=1024
	  ;;
	*)
	  # This seems fairly conservative these days.
	  queue_limit=50
	  ;;
      esac
      ;;
  esac
  echo "$queue_limit"
}

randist_compare () {
  cat > compare.pl <<'EOF'
use strict;
use warnings 'all';

my ($epsilon) = 1;

open (EXPECTED, '<', $ARGV[0]) or die "$ARGV[0]: open: $!\n";
open (ACTUAL, '<', $ARGV[1]) or die "$ARGV[1]: open: $!\n";

my ($errors) = 0;
LINE: for (;;) {
    my $a = <EXPECTED>;
    my $b = <ACTUAL>;

    last if !defined $a && !defined $b;
    die "$ARGV[0]:$.: unexpected end of file\n" if !defined $a;
    die "$ARGV[1]:$.: unexpected end of file\n" if !defined $b;

    my (@a) = split (' ', $a);
    my (@b) = split (' ', $b);
    die "$ARGV[1]:$.: contains ". scalar (@b) . " fields but should "
      . "contain " . scalar (@a) . "\n"
	if $#a != $#b;
    foreach my $i (0...$#a) {
	die "$ARGV[1]:$.: unexpected number of decimals\n"
	  if count_decimals ($a[$i]) != count_decimals ($b[$i]);

	my ($an) = to_int ($a[$i]);
	my ($bn) = to_int ($b[$i]);
	if ($an ne $bn && ($bn < $an - $epsilon || $bn > $an + $epsilon)) {
	    $errors++;
	    if ($errors > 50) {
		print "$ARGV[1]: Additional differences suppressed.\n";
		last LINE;
	    }
	    print "$ARGV[1]:$.: Values differ from $ARGV[0]:$.\n";
	    print "Expected:\n", $a;
	    print "Calculated:\n", $b;
	}
    }
}
exit ($errors > 0);

sub count_decimals {
    my ($s) = @_;
    return length (substr ($s, index ($s, '.')));
}

sub to_int {
    local ($_) = @_;
    s/\.//;
    return $_;
}
EOF
}

# Create the master directory if it doesn't already exist.
as_dir="$at_suite_dir"; as_fn_mkdir_p ||
  as_fn_error $? "cannot create \`$at_suite_dir'" "$LINENO" 5

# Can we diff with `/dev/null'?  DU 5.0 refuses.
if diff /dev/null /dev/null >/dev/null 2>&1; then
  at_devnull=/dev/null
else
  at_devnull=$at_suite_dir/devnull
  >"$at_devnull"
fi

# Use `diff -u' when possible.
if at_diff=`diff -u "$at_devnull" "$at_devnull" 2>&1` && test -z "$at_diff"
then
  at_diff='diff -u'
else
  at_diff=diff
fi

# Get the last needed group.
for at_group in : $at_groups; do :; done

# Extract the start and end lines of each test group at the tail
# of this file
awk '
BEGIN { FS="" }
/^#AT_START_/ {
  start = NR
}
/^#AT_STOP_/ {
  test = substr ($ 0, 10)
  print "at_sed" test "=\"1," start "d;" (NR-1) "q\""
  if (test == "'"$at_group"'") exit
}' "$at_myself" > "$at_suite_dir/at-source-lines" &&
. "$at_suite_dir/at-source-lines" ||
  as_fn_error $? "cannot create test line number cache" "$LINENO" 5
rm -f "$at_suite_dir/at-source-lines"

# Set number of jobs for `-j'; avoid more jobs than test groups.
set X $at_groups; shift; at_max_jobs=$#
if test $at_max_jobs -eq 0; then
  at_jobs=1
fi
if test $at_jobs -ne 1 &&
   { test $at_jobs -eq 0 || test $at_jobs -gt $at_max_jobs; }; then
  at_jobs=$at_max_jobs
fi

# If parallel mode, don't output banners, don't split summary lines.
if test $at_jobs -ne 1; then
  at_print_banners=false
  at_quiet=:
fi

# Set up helper dirs.
rm -rf "$at_helper_dir" &&
mkdir "$at_helper_dir" &&
cd "$at_helper_dir" &&
{ test -z "$at_groups" || mkdir $at_groups; } ||
as_fn_error $? "testsuite directory setup failed" "$LINENO" 5

# Functions for running a test group.  We leave the actual
# test group execution outside of a shell function in order
# to avoid hitting zsh 4.x exit status bugs.

# at_fn_group_prepare
# -------------------
# Prepare for running a test group.
at_fn_group_prepare ()
{
  # The directory for additional per-group helper files.
  at_job_dir=$at_helper_dir/$at_group
  # The file containing the location of the last AT_CHECK.
  at_check_line_file=$at_job_dir/check-line
  # The file containing the exit status of the last command.
  at_status_file=$at_job_dir/status
  # The files containing the output of the tested commands.
  at_stdout=$at_job_dir/stdout
  at_stder1=$at_job_dir/stder1
  at_stderr=$at_job_dir/stderr
  # The file containing the code for a test group.
  at_test_source=$at_job_dir/test-source
  # The file containing dates.
  at_times_file=$at_job_dir/times

  # Be sure to come back to the top test directory.
  cd "$at_suite_dir"

  # Clearly separate the test groups when verbose.
  $at_first || $at_verbose echo

  at_group_normalized=$at_group

  eval 'while :; do
    case $at_group_normalized in #(
    '"$at_format"'*) break;;
    esac
    at_group_normalized=0$at_group_normalized
  done'


  # Create a fresh directory for the next test group, and enter.
  # If one already exists, the user may have invoked ./run from
  # within that directory; we remove the contents, but not the
  # directory itself, so that we aren't pulling the rug out from
  # under the shell's notion of the current directory.
  at_group_dir=$at_suite_dir/$at_group_normalized
  at_group_log=$at_group_dir/$as_me.log
  if test -d "$at_group_dir"; then
  find "$at_group_dir" -type d ! -perm -700 -exec chmod u+rwx {} \;
  rm -fr "$at_group_dir"/* "$at_group_dir"/.[!.] "$at_group_dir"/.??*
fi ||
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: test directory for $at_group_normalized could not be cleaned" >&5
$as_echo "$as_me: WARNING: test directory for $at_group_normalized could not be cleaned" >&2;}
  # Be tolerant if the above `rm' was not able to remove the directory.
  as_dir="$at_group_dir"; as_fn_mkdir_p

  echo 0 > "$at_status_file"

  # In verbose mode, append to the log file *and* show on
  # the standard output; in quiet mode only write to the log.
  if test -z "$at_verbose"; then
    at_tee_pipe='tee -a "$at_group_log"'
  else
    at_tee_pipe='cat >> "$at_group_log"'
  fi
}

# at_fn_group_banner ORDINAL LINE DESC PAD [BANNER]
# -------------------------------------------------
# Declare the test group ORDINAL, located at LINE with group description DESC,
# and residing under BANNER. Use PAD to align the status column.
at_fn_group_banner ()
{
  at_setup_line="$2"
  test -n "$5" && at_fn_banner $5
  at_desc="$3"
  case $1 in
    [0-9])      at_desc_line="  $1: ";;
    [0-9][0-9]) at_desc_line=" $1: " ;;
    *)          at_desc_line="$1: "  ;;
  esac
  as_fn_append at_desc_line "$3$4"
  $at_quiet $as_echo_n "$at_desc_line"
  echo "#                             -*- compilation -*-" >> "$at_group_log"
}

# at_fn_group_postprocess
# -----------------------
# Perform cleanup after running a test group.
at_fn_group_postprocess ()
{
  # Be sure to come back to the suite directory, in particular
  # since below we might `rm' the group directory we are in currently.
  cd "$at_suite_dir"

  if test ! -f "$at_check_line_file"; then
    sed "s/^ */$as_me: WARNING: /" <<_ATEOF
      A failure happened in a test group before any test could be
      run. This means that test suite is improperly designed.  Please
      report this failure to <bug-gnu-pspp@gnu.org>.
_ATEOF
    $as_echo "$at_setup_line" >"$at_check_line_file"
    at_status=99
  fi
  $at_verbose $as_echo_n "$at_group. $at_setup_line: "
  $as_echo_n "$at_group. $at_setup_line: " >> "$at_group_log"
  case $at_xfail:$at_status in
    yes:0)
	at_msg="UNEXPECTED PASS"
	at_res=xpass
	at_errexit=$at_errexit_p
	at_color=$at_red
	;;
    no:0)
	at_msg="ok"
	at_res=pass
	at_errexit=false
	at_color=$at_grn
	;;
    *:77)
	at_msg='skipped ('`cat "$at_check_line_file"`')'
	at_res=skip
	at_errexit=false
	at_color=$at_blu
	;;
    no:* | *:99)
	at_msg='FAILED ('`cat "$at_check_line_file"`')'
	at_res=fail
	at_errexit=$at_errexit_p
	at_color=$at_red
	;;
    yes:*)
	at_msg='expected failure ('`cat "$at_check_line_file"`')'
	at_res=xfail
	at_errexit=false
	at_color=$at_lgn
	;;
  esac
  echo "$at_res" > "$at_job_dir/$at_res"
  # In parallel mode, output the summary line only afterwards.
  if test $at_jobs -ne 1 && test -n "$at_verbose"; then
    $as_echo "$at_desc_line $at_color$at_msg$at_std"
  else
    # Make sure there is a separator even with long titles.
    $as_echo " $at_color$at_msg$at_std"
  fi
  at_log_msg="$at_group. $at_desc ($at_setup_line): $at_msg"
  case $at_status in
    0|77)
      # $at_times_file is only available if the group succeeded.
      # We're not including the group log, so the success message
      # is written in the global log separately.  But we also
      # write to the group log in case they're using -d.
      if test -f "$at_times_file"; then
	at_log_msg="$at_log_msg     ("`sed 1d "$at_times_file"`')'
	rm -f "$at_times_file"
      fi
      $as_echo "$at_log_msg" >> "$at_group_log"
      $as_echo "$at_log_msg" >&5

      # Cleanup the group directory, unless the user wants the files
      # or the success was unexpected.
      if $at_debug_p || test $at_res = xpass; then
	at_fn_create_debugging_script
	if test $at_res = xpass && $at_errexit; then
	  echo stop > "$at_stop_file"
	fi
      else
	if test -d "$at_group_dir"; then
	  find "$at_group_dir" -type d ! -perm -700 -exec chmod u+rwx \{\} \;
	  rm -fr "$at_group_dir"
	fi
	rm -f "$at_test_source"
      fi
      ;;
    *)
      # Upon failure, include the log into the testsuite's global
      # log.  The failure message is written in the group log.  It
      # is later included in the global log.
      $as_echo "$at_log_msg" >> "$at_group_log"

      # Upon failure, keep the group directory for autopsy, and create
      # the debugging script.  With -e, do not start any further tests.
      at_fn_create_debugging_script
      if $at_errexit; then
	echo stop > "$at_stop_file"
      fi
      ;;
  esac
}


## ------------ ##
## Driver loop. ##
## ------------ ##


if (set -m && set +m && set +b) >/dev/null 2>&1; then
  set +b
  at_job_control_on='set -m' at_job_control_off='set +m' at_job_group=-
else
  at_job_control_on=: at_job_control_off=: at_job_group=
fi

for at_signal in 1 2 15; do
  trap 'set +x; set +e
	$at_job_control_off
	at_signal='"$at_signal"'
	echo stop > "$at_stop_file"
	trap "" $at_signal
	at_pgids=
	for at_pgid in `jobs -p 2>/dev/null`; do
	  at_pgids="$at_pgids $at_job_group$at_pgid"
	done
	test -z "$at_pgids" || kill -$at_signal $at_pgids 2>/dev/null
	wait
	if test "$at_jobs" -eq 1 || test -z "$at_verbose"; then
	  echo >&2
	fi
	at_signame=`kill -l $at_signal 2>&1 || echo $at_signal`
	set x $at_signame
	test 0 -gt 2 && at_signame=$at_signal
	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: caught signal $at_signame, bailing out" >&5
$as_echo "$as_me: WARNING: caught signal $at_signame, bailing out" >&2;}
	as_fn_arith 128 + $at_signal && exit_status=$as_val
	as_fn_exit $exit_status' $at_signal
done

rm -f "$at_stop_file"
at_first=:

if test $at_jobs -ne 1 &&
     rm -f "$at_job_fifo" &&
     test -n "$at_job_group" &&
     ( mkfifo "$at_job_fifo" && trap 'exit 1' PIPE STOP TSTP ) 2>/dev/null
then
  # FIFO job dispatcher.

  trap 'at_pids=
	for at_pid in `jobs -p`; do
	  at_pids="$at_pids $at_job_group$at_pid"
	done
	if test -n "$at_pids"; then
	  at_sig=TSTP
	  test "${TMOUT+set}" = set && at_sig=STOP
	  kill -$at_sig $at_pids 2>/dev/null
	fi
	kill -STOP $$
	test -z "$at_pids" || kill -CONT $at_pids 2>/dev/null' TSTP

  echo
  # Turn jobs into a list of numbers, starting from 1.
  at_joblist=`$as_echo "$at_groups" | sed -n 1,${at_jobs}p`

  set X $at_joblist
  shift
  for at_group in $at_groups; do
    $at_job_control_on 2>/dev/null
    (
      # Start one test group.
      $at_job_control_off
      if $at_first; then
	exec 7>"$at_job_fifo"
      else
	exec 6<&-
      fi
      trap 'set +x; set +e
	    trap "" PIPE
	    echo stop > "$at_stop_file"
	    echo >&7
	    as_fn_exit 141' PIPE
      at_fn_group_prepare
      if cd "$at_group_dir" &&
	 at_fn_test $at_group &&
	 . "$at_test_source"
      then :; else
	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unable to parse test group: $at_group" >&5
$as_echo "$as_me: WARNING: unable to parse test group: $at_group" >&2;}
	at_failed=:
      fi
      at_fn_group_postprocess
      echo >&7
    ) &
    $at_job_control_off
    if $at_first; then
      at_first=false
      exec 6<"$at_job_fifo" 7>"$at_job_fifo"
    fi
    shift # Consume one token.
    if test $# -gt 0; then :; else
      read at_token <&6 || break
      set x $*
    fi
    test -f "$at_stop_file" && break
  done
  exec 7>&-
  # Read back the remaining ($at_jobs - 1) tokens.
  set X $at_joblist
  shift
  if test $# -gt 0; then
    shift
    for at_job
    do
      read at_token
    done <&6
  fi
  exec 6<&-
  wait
else
  # Run serially, avoid forks and other potential surprises.
  for at_group in $at_groups; do
    at_fn_group_prepare
    if cd "$at_group_dir" &&
       at_fn_test $at_group &&
       . "$at_test_source"; then :; else
      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unable to parse test group: $at_group" >&5
$as_echo "$as_me: WARNING: unable to parse test group: $at_group" >&2;}
      at_failed=:
    fi
    at_fn_group_postprocess
    test -f "$at_stop_file" && break
    at_first=false
  done
fi

# Wrap up the test suite with summary statistics.
cd "$at_helper_dir"

# Use ?..???? when the list must remain sorted, the faster * otherwise.
at_pass_list=`for f in */pass; do echo $f; done | sed '/\*/d; s,/pass,,'`
at_skip_list=`for f in */skip; do echo $f; done | sed '/\*/d; s,/skip,,'`
at_xfail_list=`for f in */xfail; do echo $f; done | sed '/\*/d; s,/xfail,,'`
at_xpass_list=`for f in ?/xpass ??/xpass ???/xpass ????/xpass; do
		 echo $f; done | sed '/?/d; s,/xpass,,'`
at_fail_list=`for f in ?/fail ??/fail ???/fail ????/fail; do
		echo $f; done | sed '/?/d; s,/fail,,'`

set X $at_pass_list $at_xpass_list $at_xfail_list $at_fail_list $at_skip_list
shift; at_group_count=$#
set X $at_xpass_list; shift; at_xpass_count=$#; at_xpass_list=$*
set X $at_xfail_list; shift; at_xfail_count=$#
set X $at_fail_list; shift; at_fail_count=$#; at_fail_list=$*
set X $at_skip_list; shift; at_skip_count=$#

as_fn_arith $at_group_count - $at_skip_count && at_run_count=$as_val
as_fn_arith $at_xpass_count + $at_fail_count && at_unexpected_count=$as_val
as_fn_arith $at_xfail_count + $at_fail_count && at_total_fail_count=$as_val

# Back to the top directory.
cd "$at_dir"
rm -rf "$at_helper_dir"

# Compute the duration of the suite.
at_stop_date=`date`
at_stop_time=`date +%s 2>/dev/null`
$as_echo "$as_me: ending at: $at_stop_date" >&5
case $at_start_time,$at_stop_time in
  [0-9]*,[0-9]*)
    as_fn_arith $at_stop_time - $at_start_time && at_duration_s=$as_val
    as_fn_arith $at_duration_s / 60 && at_duration_m=$as_val
    as_fn_arith $at_duration_m / 60 && at_duration_h=$as_val
    as_fn_arith $at_duration_s % 60 && at_duration_s=$as_val
    as_fn_arith $at_duration_m % 60 && at_duration_m=$as_val
    at_duration="${at_duration_h}h ${at_duration_m}m ${at_duration_s}s"
    $as_echo "$as_me: test suite duration: $at_duration" >&5
    ;;
esac

echo
$as_echo "## ------------- ##
## Test results. ##
## ------------- ##"
echo
{
  echo
  $as_echo "## ------------- ##
## Test results. ##
## ------------- ##"
  echo
} >&5

if test $at_run_count = 1; then
  at_result="1 test"
  at_were=was
else
  at_result="$at_run_count tests"
  at_were=were
fi
if $at_errexit_p && test $at_unexpected_count != 0; then
  if test $at_xpass_count = 1; then
    at_result="$at_result $at_were run, one passed"
  else
    at_result="$at_result $at_were run, one failed"
  fi
  at_result="$at_result unexpectedly and inhibited subsequent tests."
  at_color=$at_red
else
  # Don't you just love exponential explosion of the number of cases?
  at_color=$at_red
  case $at_xpass_count:$at_fail_count:$at_xfail_count in
    # So far, so good.
    0:0:0) at_result="$at_result $at_were successful." at_color=$at_grn ;;
    0:0:*) at_result="$at_result behaved as expected." at_color=$at_lgn ;;

    # Some unexpected failures
    0:*:0) at_result="$at_result $at_were run,
$at_fail_count failed unexpectedly." ;;

    # Some failures, both expected and unexpected
    0:*:1) at_result="$at_result $at_were run,
$at_total_fail_count failed ($at_xfail_count expected failure)." ;;
    0:*:*) at_result="$at_result $at_were run,
$at_total_fail_count failed ($at_xfail_count expected failures)." ;;

    # No unexpected failures, but some xpasses
    *:0:*) at_result="$at_result $at_were run,
$at_xpass_count passed unexpectedly." ;;

    # No expected failures, but failures and xpasses
    *:1:0) at_result="$at_result $at_were run,
$at_unexpected_count did not behave as expected ($at_fail_count unexpected failure)." ;;
    *:*:0) at_result="$at_result $at_were run,
$at_unexpected_count did not behave as expected ($at_fail_count unexpected failures)." ;;

    # All of them.
    *:*:1) at_result="$at_result $at_were run,
$at_xpass_count passed unexpectedly,
$at_total_fail_count failed ($at_xfail_count expected failure)." ;;
    *:*:*) at_result="$at_result $at_were run,
$at_xpass_count passed unexpectedly,
$at_total_fail_count failed ($at_xfail_count expected failures)." ;;
  esac

  if test $at_skip_count = 0 && test $at_run_count -gt 1; then
    at_result="All $at_result"
  fi
fi

# Now put skips in the mix.
case $at_skip_count in
  0) ;;
  1) at_result="$at_result
1 test was skipped." ;;
  *) at_result="$at_result
$at_skip_count tests were skipped." ;;
esac

if test $at_unexpected_count = 0; then
  echo "$at_color$at_result$at_std"
  echo "$at_result" >&5
else
  echo "${at_color}ERROR: $at_result$at_std" >&2
  echo "ERROR: $at_result" >&5
  {
    echo
    $as_echo "## ------------------------ ##
## Summary of the failures. ##
## ------------------------ ##"

    # Summary of failed and skipped tests.
    if test $at_fail_count != 0; then
      echo "Failed tests:"
      $SHELL "$at_myself" $at_fail_list --list
      echo
    fi
    if test $at_skip_count != 0; then
      echo "Skipped tests:"
      $SHELL "$at_myself" $at_skip_list --list
      echo
    fi
    if test $at_xpass_count != 0; then
      echo "Unexpected passes:"
      $SHELL "$at_myself" $at_xpass_list --list
      echo
    fi
    if test $at_fail_count != 0; then
      $as_echo "## ---------------------- ##
## Detailed failed tests. ##
## ---------------------- ##"
      echo
      for at_group in $at_fail_list
      do
	at_group_normalized=$at_group

  eval 'while :; do
    case $at_group_normalized in #(
    '"$at_format"'*) break;;
    esac
    at_group_normalized=0$at_group_normalized
  done'

	cat "$at_suite_dir/$at_group_normalized/$as_me.log"
	echo
      done
      echo
    fi
    if test -n "$at_top_srcdir"; then
      sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
## ${at_top_build_prefix}config.log ##
_ASBOX
      sed 's/^/| /' ${at_top_build_prefix}config.log
      echo
    fi
  } >&5

  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
## $as_me.log was created. ##
_ASBOX

  echo
  if $at_debug_p; then
    at_msg='per-test log files'
  else
    at_msg="\`${at_testdir+${at_testdir}/}$as_me.log'"
  fi
  $as_echo "Please send $at_msg and all information you think might help:

   To: <bug-gnu-pspp@gnu.org>
   Subject: [GNU PSPP 1.2.0] $as_me: $at_fail_list${at_fail_list:+ failed${at_xpass_list:+, }}$at_xpass_list${at_xpass_list:+ passed unexpectedly}

You may investigate any problem if you feel able to do so, in which
case the test suite provides a good starting point.  Its output may
be found below \`${at_testdir+${at_testdir}/}$as_me.dir'.
"
  exit 1
fi

exit 0

## ------------- ##
## Actual tests. ##
## ------------- ##
#AT_START_1
at_fn_group_banner 1 'calendar.at:19' \
  "epoch" "                                          " 1
at_xfail=no
(
  $as_echo "1. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >epoch.sps <<'_ATEOF'
SET MXERR 1000.
SET MXWARN 1000.

SET EPOCH 1900.
DEBUG EVALUATE/YRMODA(0,1,1) = YRMODA(1900,1,1).
DEBUG EVALUATE/YRMODA(1,1,1) = YRMODA(1901,1,1).
DEBUG EVALUATE/YRMODA(12,1,1) = YRMODA(1912,1,1).
DEBUG EVALUATE/YRMODA(70,1,1) = YRMODA(1970,1,1).
DEBUG EVALUATE/YRMODA(87,1,1) = YRMODA(1987,1,1).
DEBUG EVALUATE/YRMODA(99,1,1) = YRMODA(1999,1,1).
DEBUG EVALUATE/YRMODA(100,1,1).
DEBUG EVALUATE/DATE.DMY(1,1,0) = DATE.DMY(1,1,1900).
DEBUG EVALUATE/DATE.DMY(1,1,1) = DATE.DMY(1,1,1901).
DEBUG EVALUATE/DATE.DMY(1,1,12) = DATE.DMY(1,1,1912).
DEBUG EVALUATE/DATE.DMY(1,1,70) = DATE.DMY(1,1,1970).
DEBUG EVALUATE/DATE.DMY(1,1,87) = DATE.DMY(1,1,1987).
DEBUG EVALUATE/DATE.DMY(1,1,99) = DATE.DMY(1,1,1999).
DEBUG EVALUATE/DATE.DMY(1,1,100).

SET EPOCH 1901.
DEBUG EVALUATE/YRMODA(0,1,1) = YRMODA(1900,1,1).
DEBUG EVALUATE/YRMODA(1,1,1) = YRMODA(1901,1,1).
DEBUG EVALUATE/YRMODA(12,1,1) = YRMODA(1912,1,1).
DEBUG EVALUATE/YRMODA(70,1,1) = YRMODA(1970,1,1).
DEBUG EVALUATE/YRMODA(87,1,1) = YRMODA(1987,1,1).
DEBUG EVALUATE/YRMODA(99,1,1) = YRMODA(1999,1,1).
DEBUG EVALUATE/YRMODA(100,1,1).
DEBUG EVALUATE/DATE.DMY(1,1,0) = DATE.DMY(1,1,2000).
DEBUG EVALUATE/DATE.DMY(1,1,1) = DATE.DMY(1,1,1901).
DEBUG EVALUATE/DATE.DMY(1,1,12) = DATE.DMY(1,1,1912).
DEBUG EVALUATE/DATE.DMY(1,1,70) = DATE.DMY(1,1,1970).
DEBUG EVALUATE/DATE.DMY(1,1,87) = DATE.DMY(1,1,1987).
DEBUG EVALUATE/DATE.DMY(1,1,99) = DATE.DMY(1,1,1999).
DEBUG EVALUATE/DATE.DMY(1,1,100).

SET EPOCH 1911.
DEBUG EVALUATE/YRMODA(0,1,1) = YRMODA(1900,1,1).
DEBUG EVALUATE/YRMODA(1,1,1) = YRMODA(1901,1,1).
DEBUG EVALUATE/YRMODA(12,1,1) = YRMODA(1912,1,1).
DEBUG EVALUATE/YRMODA(70,1,1) = YRMODA(1970,1,1).
DEBUG EVALUATE/YRMODA(87,1,1) = YRMODA(1987,1,1).
DEBUG EVALUATE/YRMODA(99,1,1) = YRMODA(1999,1,1).
DEBUG EVALUATE/YRMODA(100,1,1).
DEBUG EVALUATE/DATE.DMY(1,1,0) = DATE.DMY(1,1,2000).
DEBUG EVALUATE/DATE.DMY(1,1,1) = DATE.DMY(1,1,2001).
DEBUG EVALUATE/DATE.DMY(1,1,12) = DATE.DMY(1,1,1912).
DEBUG EVALUATE/DATE.DMY(1,1,70) = DATE.DMY(1,1,1970).
DEBUG EVALUATE/DATE.DMY(1,1,87) = DATE.DMY(1,1,1987).
DEBUG EVALUATE/DATE.DMY(1,1,99) = DATE.DMY(1,1,1999).
DEBUG EVALUATE/DATE.DMY(1,1,100).

SET EPOCH 1912.
DEBUG EVALUATE/YRMODA(0,1,1) = YRMODA(1900,1,1).
DEBUG EVALUATE/YRMODA(1,1,1) = YRMODA(1901,1,1).
DEBUG EVALUATE/YRMODA(12,1,1) = YRMODA(1912,1,1).
DEBUG EVALUATE/YRMODA(70,1,1) = YRMODA(1970,1,1).
DEBUG EVALUATE/YRMODA(87,1,1) = YRMODA(1987,1,1).
DEBUG EVALUATE/YRMODA(99,1,1) = YRMODA(1999,1,1).
DEBUG EVALUATE/YRMODA(100,1,1).
DEBUG EVALUATE/DATE.DMY(1,1,0) = DATE.DMY(1,1,2000).
DEBUG EVALUATE/DATE.DMY(1,1,1) = DATE.DMY(1,1,2001).
DEBUG EVALUATE/DATE.DMY(1,1,12) = DATE.DMY(1,1,1912).
DEBUG EVALUATE/DATE.DMY(1,1,70) = DATE.DMY(1,1,1970).
DEBUG EVALUATE/DATE.DMY(1,1,87) = DATE.DMY(1,1,1987).
DEBUG EVALUATE/DATE.DMY(1,1,99) = DATE.DMY(1,1,1999).
DEBUG EVALUATE/DATE.DMY(1,1,100).

SET EPOCH 2012.
DEBUG EVALUATE/YRMODA(0,1,1) = YRMODA(1900,1,1).
DEBUG EVALUATE/YRMODA(1,1,1) = YRMODA(1901,1,1).
DEBUG EVALUATE/YRMODA(12,1,1) = YRMODA(1912,1,1).
DEBUG EVALUATE/YRMODA(70,1,1) = YRMODA(1970,1,1).
DEBUG EVALUATE/YRMODA(87,1,1) = YRMODA(1987,1,1).
DEBUG EVALUATE/YRMODA(99,1,1) = YRMODA(1999,1,1).
DEBUG EVALUATE/YRMODA(100,1,1).
DEBUG EVALUATE/DATE.DMY(1,1,0) = DATE.DMY(1,1,2100).
DEBUG EVALUATE/DATE.DMY(1,1,1) = DATE.DMY(1,1,2101).
DEBUG EVALUATE/DATE.DMY(1,1,12) = DATE.DMY(1,1,2012).
DEBUG EVALUATE/DATE.DMY(1,1,70) = DATE.DMY(1,1,2070).
DEBUG EVALUATE/DATE.DMY(1,1,87) = DATE.DMY(1,1,2087).
DEBUG EVALUATE/DATE.DMY(1,1,99) = DATE.DMY(1,1,2099).
DEBUG EVALUATE/DATE.DMY(1,1,100).
_ATEOF


{ set +x
$as_echo "$at_srcdir/calendar.at:105: pspp --testing-mode --error-file=- --no-output epoch.sps"
at_fn_check_prepare_trace "calendar.at:105"
( $at_check_trace; pspp --testing-mode --error-file=- --no-output epoch.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "true
true
true
true
true
true
epoch.sps:11: error: DEBUG EVALUATE: Date 0100-1-1 is before the earliest acceptable date of 1582-10-15.
sysmis
true
true
true
true
true
true
epoch.sps:18: error: DEBUG EVALUATE: Date 0100-1-1 is before the earliest acceptable date of 1582-10-15.
sysmis
true
true
true
true
true
true
epoch.sps:27: error: DEBUG EVALUATE: Date 0100-1-1 is before the earliest acceptable date of 1582-10-15.
sysmis
true
true
true
true
true
true
epoch.sps:34: error: DEBUG EVALUATE: Date 0100-1-1 is before the earliest acceptable date of 1582-10-15.
sysmis
true
true
true
true
true
true
epoch.sps:43: error: DEBUG EVALUATE: Date 0100-1-1 is before the earliest acceptable date of 1582-10-15.
sysmis
true
true
true
true
true
true
epoch.sps:50: error: DEBUG EVALUATE: Date 0100-1-1 is before the earliest acceptable date of 1582-10-15.
sysmis
true
true
true
true
true
true
epoch.sps:59: error: DEBUG EVALUATE: Date 0100-1-1 is before the earliest acceptable date of 1582-10-15.
sysmis
true
true
true
true
true
true
epoch.sps:66: error: DEBUG EVALUATE: Date 0100-1-1 is before the earliest acceptable date of 1582-10-15.
sysmis
true
true
true
true
true
true
epoch.sps:75: error: DEBUG EVALUATE: Date 0100-1-1 is before the earliest acceptable date of 1582-10-15.
sysmis
true
true
true
true
true
true
epoch.sps:82: error: DEBUG EVALUATE: Date 0100-1-1 is before the earliest acceptable date of 1582-10-15.
sysmis
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/calendar.at:105"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1
#AT_START_2
at_fn_group_banner 2 'data-in.at:53' \
  "numeric input formats" "                          " 2
at_xfail=no
(
  $as_echo "2. $at_setup_line: testing $at_desc ..."
  $at_traceon


data_in_prng
{ set +x
$as_echo "$at_srcdir/data-in.at:56: \$PERL test-my-rand.pl"
at_fn_check_prepare_dynamic "$PERL test-my-rand.pl" "data-in.at:56"
( $at_check_trace; $PERL test-my-rand.pl
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-in.at:56"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >num-in.pl <<'_ATEOF'
#! /usr/bin/perl

use POSIX;
use strict;
use warnings;

do './my-rand.pl';

for my $number (0, 1, .5, .015625, 123) {
    my ($base_exp) = floor ($number ? log10 ($number) : 0);
    for my $offset (-3...3) {
	my ($exponent) = $base_exp + $offset;
	my ($fraction) = $number / 10**$offset;

	permute_zeros ($fraction, $exponent);
    }
}

sub permute_zeros {
    my ($fraction, $exponent) = @_;

    my ($frac_rep) = sprintf ("%f", $fraction);
    my ($leading_zeros) = length (($frac_rep =~ /^(0*)/)[0]);
    my ($trailing_zeros) = length (($frac_rep =~ /(\.?0*)$/)[0]);
    for my $i (0...$leading_zeros) {
	for my $j (0...$trailing_zeros) {
	    my ($trimmed) = substr ($frac_rep, $i,
				    length ($frac_rep) - $i - $j);
	    next if $trimmed eq '.' || $trimmed eq '';

	    permute_commas ($trimmed, $exponent);
	}
    }
}

sub permute_commas {
    my ($frac_rep, $exponent) = @_;
    permute_dot_comma ($frac_rep, $exponent);
    my ($pos) = int (my_rand (length ($frac_rep) + 1));
    $frac_rep = substr ($frac_rep, 0, $pos) . "," . substr ($frac_rep, $pos);
    permute_dot_comma ($frac_rep, $exponent);
}

sub permute_dot_comma {
    my ($frac_rep, $exponent) = @_;
    permute_exponent_syntax ($frac_rep, $exponent);
    if ($frac_rep =~ /[,.]/) {
	$frac_rep =~ tr/.,/,./;
	permute_exponent_syntax ($frac_rep, $exponent);
    }
}

sub permute_exponent_syntax {
    my ($frac_rep, $exponent) = @_;
    my (@exp_reps);
    if ($exponent == 0) {
	@exp_reps = pick ('', 'e0', 'e-0', 'e+0', '-0', '+0');
    } elsif ($exponent > 0) {
	@exp_reps = pick ("e$exponent", "e+$exponent", "+$exponent");
    } else {
	my ($abs_exp) = -$exponent;
	@exp_reps = pick ("e-$abs_exp", , "e-$abs_exp", "-$abs_exp");
    }
    permute_sign_and_affix ($frac_rep, $_) foreach @exp_reps;
}

sub permute_sign_and_affix {
    my ($frac_rep, $exp_rep) = @_;
    for my $prefix (pick ('', '$'),
		    pick ('-', '-$', '$-', '$-$'),
		    pick ('+', '+$', '$+', '$+$')) {
	for my $suffix ('', '%') {
	    permute_spaces ("$prefix$frac_rep$exp_rep$suffix");
	}
    }
}

sub permute_spaces {
    my ($s) = @_;
    $s =~ s/([-+\$e%])/ $1 /g;
    my (@fields) = split (' ', $s);
    print join ('', @fields), "\n";

    if ($#fields > 0) {
	my ($pos) = int (my_rand ($#fields)) + 1;
	print join ('', @fields[0...$pos - 1]);
	print " ";
	print join ('', @fields[$pos...$#fields]);
	print "\n";
    }
}

sub pick {
    return $_[int (my_rand ($#_ + 1))];
}
_ATEOF

{ set +x
$as_echo "$at_srcdir/data-in.at:154: \$PERL num-in.pl > num-in.data"
at_fn_check_prepare_dynamic "$PERL num-in.pl > num-in.data" "data-in.at:154"
( $at_check_trace; $PERL num-in.pl > num-in.data
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-in.at:154"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >num-in.sps <<'_ATEOF'
SET ERRORS=NONE.
SET MXERRS=10000000.
SET MXWARNS=10000000.
DATA LIST FILE='num-in.data' NOTABLE/
	f 1-40 (f)
	comma 1-40 (comma)
	dot 1-40 (dot)
	dollar 1-40 (dollar)
	pct 1-40 (pct)
	e 1-40 (e).
PRINT OUTFILE='num-in.out'/all (6f10.4).
EXECUTE.
_ATEOF

{ set +x
$as_echo "$at_srcdir/data-in.at:169: pspp -O format=csv num-in.sps"
at_fn_check_prepare_trace "data-in.at:169"
( $at_check_trace; pspp -O format=csv num-in.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-in.at:169"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-in.at:170: gzip -cd < \$top_srcdir/tests/data/num-in.expected.gz > expout"
at_fn_check_prepare_dynamic "gzip -cd < $top_srcdir/tests/data/num-in.expected.gz > expout" "data-in.at:170"
( $at_check_trace; gzip -cd < $top_srcdir/tests/data/num-in.expected.gz > expout
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-in.at:170"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-in.at:171: cat num-in.out"
at_fn_check_prepare_trace "data-in.at:171"
( $at_check_trace; cat num-in.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-in.at:171"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_2
#AT_START_3
at_fn_group_banner 3 'data-in.at:176' \
  "reading big numbers" "                            " 2
at_xfail=no
(
  $as_echo "3. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >bignum.txt <<'_ATEOF'
0
0.1
0.5
0.8
0.9
0.999
1
2
3
4
5
12
123
1234
12345
123456
1234567
12345678
123456789
1234567890
19999999999
199999999999
1234567890123
19999999999999
199999999999999
1234567890123456
19999999999999999
123456789012345678
1999999999999999999
12345678901234567890
199999999999999999999
1234567890123456789012
19999999999999999999999
123456789012345678901234
1999999999999999999999999
12345678901234567890123456
199999999999999999999999999
1234567890123456789012345678
19999999999999999999999999999
123456789012345678901234567890
1999999999999999999999999999999
12345678901234567890123456789012
199999999999999999999999999999999
1234567890123456789012345678901234
19999999999999999999999999999999999
123456789012345678901234567890123456
1999999999999999999999999999999999999
12345678901234567890123456789012345678
199999999999999999999999999999999999999
1234567890123456789012345678901234567890
1999999999999999999999999999999999999999
1e40
1.1e40
1.5e40
1e41
1e50
1e100
1e150
1e200
1e250
1e300
1.79641e308
wizzah
_ATEOF

cat >bignum.sps <<'_ATEOF'
title 'Test use of big numbers'.

*** Do the portable output.
data list file='bignum.txt'/BIGNUM 1-40.
list.

*** Do the nonportable output for fun.
descriptives BIGNUM.
_ATEOF

{ set +x
$as_echo "$at_srcdir/data-in.at:253: pspp -o pspp.csv bignum.sps"
at_fn_check_prepare_trace "data-in.at:253"
( $at_check_trace; pspp -o pspp.csv bignum.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/data-in.at:253"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_3
#AT_START_4
at_fn_group_banner 4 'data-in.at:256' \
  "DATE input format" "                              " 2
at_xfail=no
(
  $as_echo "4. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/data-in.at:258: python \$top_srcdir/tests/data/test-date-input.py date d-m-y"
at_fn_check_prepare_dynamic "python $top_srcdir/tests/data/test-date-input.py date d-m-y" "data-in.at:258"
( $at_check_trace; python $top_srcdir/tests/data/test-date-input.py date d-m-y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-in.at:258"
$at_failed && at_fn_log_failure
$at_traceon; }

$as_echo "data-in.at:259" >"$at_check_line_file"
(test ! -s date.sps || test ! -s date.input || test ! -s expout) \
  && at_fn_check_skip 99 "$at_srcdir/data-in.at:259"
{ set +x
$as_echo "$at_srcdir/data-in.at:260: pspp -O format=csv date.sps"
at_fn_check_prepare_trace "data-in.at:260"
( $at_check_trace; pspp -O format=csv date.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-in.at:260"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-in.at:261: cat date.output"
at_fn_check_prepare_trace "data-in.at:261"
( $at_check_trace; cat date.output
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-in.at:261"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_4
#AT_START_5
at_fn_group_banner 5 'data-in.at:264' \
  "ADATE input format" "                             " 2
at_xfail=no
(
  $as_echo "5. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/data-in.at:266: python \$top_srcdir/tests/data/test-date-input.py adate m-d-y"
at_fn_check_prepare_dynamic "python $top_srcdir/tests/data/test-date-input.py adate m-d-y" "data-in.at:266"
( $at_check_trace; python $top_srcdir/tests/data/test-date-input.py adate m-d-y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-in.at:266"
$at_failed && at_fn_log_failure
$at_traceon; }

$as_echo "data-in.at:267" >"$at_check_line_file"
(test ! -s adate.sps || test ! -s adate.input || test ! -s expout) \
  && at_fn_check_skip 99 "$at_srcdir/data-in.at:267"
{ set +x
$as_echo "$at_srcdir/data-in.at:268: pspp -O format=csv adate.sps"
at_fn_check_prepare_trace "data-in.at:268"
( $at_check_trace; pspp -O format=csv adate.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-in.at:268"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-in.at:269: cat adate.output"
at_fn_check_prepare_trace "data-in.at:269"
( $at_check_trace; cat adate.output
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-in.at:269"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_5
#AT_START_6
at_fn_group_banner 6 'data-in.at:272' \
  "EDATE input format" "                             " 2
at_xfail=no
(
  $as_echo "6. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/data-in.at:274: python \$top_srcdir/tests/data/test-date-input.py edate d-m-y"
at_fn_check_prepare_dynamic "python $top_srcdir/tests/data/test-date-input.py edate d-m-y" "data-in.at:274"
( $at_check_trace; python $top_srcdir/tests/data/test-date-input.py edate d-m-y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-in.at:274"
$at_failed && at_fn_log_failure
$at_traceon; }

$as_echo "data-in.at:275" >"$at_check_line_file"
(test ! -s edate.sps || test ! -s edate.input || test ! -s expout) \
  && at_fn_check_skip 99 "$at_srcdir/data-in.at:275"
{ set +x
$as_echo "$at_srcdir/data-in.at:276: pspp -O format=csv edate.sps"
at_fn_check_prepare_trace "data-in.at:276"
( $at_check_trace; pspp -O format=csv edate.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-in.at:276"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-in.at:277: cat edate.output"
at_fn_check_prepare_trace "data-in.at:277"
( $at_check_trace; cat edate.output
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-in.at:277"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_6
#AT_START_7
at_fn_group_banner 7 'data-in.at:280' \
  "JDATE input format" "                             " 2
at_xfail=no
(
  $as_echo "7. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/data-in.at:282: python \$top_srcdir/tests/data/test-date-input.py jdate j"
at_fn_check_prepare_dynamic "python $top_srcdir/tests/data/test-date-input.py jdate j" "data-in.at:282"
( $at_check_trace; python $top_srcdir/tests/data/test-date-input.py jdate j
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-in.at:282"
$at_failed && at_fn_log_failure
$at_traceon; }

$as_echo "data-in.at:283" >"$at_check_line_file"
(test ! -s jdate.sps || test ! -s jdate.input || test ! -s expout) \
  && at_fn_check_skip 99 "$at_srcdir/data-in.at:283"
{ set +x
$as_echo "$at_srcdir/data-in.at:284: pspp -O format=csv jdate.sps"
at_fn_check_prepare_trace "data-in.at:284"
( $at_check_trace; pspp -O format=csv jdate.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-in.at:284"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-in.at:285: cat jdate.output"
at_fn_check_prepare_trace "data-in.at:285"
( $at_check_trace; cat jdate.output
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-in.at:285"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_7
#AT_START_8
at_fn_group_banner 8 'data-in.at:288' \
  "SDATE input format" "                             " 2
at_xfail=no
(
  $as_echo "8. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/data-in.at:290: python \$top_srcdir/tests/data/test-date-input.py sdate y-m-d"
at_fn_check_prepare_dynamic "python $top_srcdir/tests/data/test-date-input.py sdate y-m-d" "data-in.at:290"
( $at_check_trace; python $top_srcdir/tests/data/test-date-input.py sdate y-m-d
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-in.at:290"
$at_failed && at_fn_log_failure
$at_traceon; }

$as_echo "data-in.at:291" >"$at_check_line_file"
(test ! -s sdate.sps || test ! -s sdate.input || test ! -s expout) \
  && at_fn_check_skip 99 "$at_srcdir/data-in.at:291"
{ set +x
$as_echo "$at_srcdir/data-in.at:292: pspp -O format=csv sdate.sps"
at_fn_check_prepare_trace "data-in.at:292"
( $at_check_trace; pspp -O format=csv sdate.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-in.at:292"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-in.at:293: cat sdate.output"
at_fn_check_prepare_trace "data-in.at:293"
( $at_check_trace; cat sdate.output
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-in.at:293"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_8
#AT_START_9
at_fn_group_banner 9 'data-in.at:296' \
  "QYR input format" "                               " 2
at_xfail=no
(
  $as_echo "9. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/data-in.at:298: python \$top_srcdir/tests/data/test-date-input.py qyr qQy"
at_fn_check_prepare_dynamic "python $top_srcdir/tests/data/test-date-input.py qyr qQy" "data-in.at:298"
( $at_check_trace; python $top_srcdir/tests/data/test-date-input.py qyr qQy
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-in.at:298"
$at_failed && at_fn_log_failure
$at_traceon; }

$as_echo "data-in.at:299" >"$at_check_line_file"
(test ! -s qyr.sps || test ! -s qyr.input || test ! -s expout) \
  && at_fn_check_skip 99 "$at_srcdir/data-in.at:299"
{ set +x
$as_echo "$at_srcdir/data-in.at:300: pspp -O format=csv qyr.sps"
at_fn_check_prepare_trace "data-in.at:300"
( $at_check_trace; pspp -O format=csv qyr.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-in.at:300"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-in.at:301: cat qyr.output"
at_fn_check_prepare_trace "data-in.at:301"
( $at_check_trace; cat qyr.output
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-in.at:301"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_9
#AT_START_10
at_fn_group_banner 10 'data-in.at:304' \
  "MOYR input format" "                              " 2
at_xfail=no
(
  $as_echo "10. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/data-in.at:306: python \$top_srcdir/tests/data/test-date-input.py moyr m-y"
at_fn_check_prepare_dynamic "python $top_srcdir/tests/data/test-date-input.py moyr m-y" "data-in.at:306"
( $at_check_trace; python $top_srcdir/tests/data/test-date-input.py moyr m-y
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-in.at:306"
$at_failed && at_fn_log_failure
$at_traceon; }

$as_echo "data-in.at:307" >"$at_check_line_file"
(test ! -s moyr.sps || test ! -s moyr.input || test ! -s expout) \
  && at_fn_check_skip 99 "$at_srcdir/data-in.at:307"
{ set +x
$as_echo "$at_srcdir/data-in.at:308: pspp -O format=csv moyr.sps"
at_fn_check_prepare_trace "data-in.at:308"
( $at_check_trace; pspp -O format=csv moyr.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-in.at:308"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-in.at:309: cat moyr.output"
at_fn_check_prepare_trace "data-in.at:309"
( $at_check_trace; cat moyr.output
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-in.at:309"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_10
#AT_START_11
at_fn_group_banner 11 'data-in.at:312' \
  "WKYR input format" "                              " 2
at_xfail=no
(
  $as_echo "11. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/data-in.at:314: python \$top_srcdir/tests/data/test-date-input.py wkyr wWy"
at_fn_check_prepare_dynamic "python $top_srcdir/tests/data/test-date-input.py wkyr wWy" "data-in.at:314"
( $at_check_trace; python $top_srcdir/tests/data/test-date-input.py wkyr wWy
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-in.at:314"
$at_failed && at_fn_log_failure
$at_traceon; }

$as_echo "data-in.at:315" >"$at_check_line_file"
(test ! -s wkyr.sps || test ! -s wkyr.input || test ! -s expout) \
  && at_fn_check_skip 99 "$at_srcdir/data-in.at:315"
{ set +x
$as_echo "$at_srcdir/data-in.at:316: pspp -O format=csv wkyr.sps"
at_fn_check_prepare_trace "data-in.at:316"
( $at_check_trace; pspp -O format=csv wkyr.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-in.at:316"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-in.at:317: cat wkyr.output"
at_fn_check_prepare_trace "data-in.at:317"
( $at_check_trace; cat wkyr.output
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-in.at:317"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_11
#AT_START_12
at_fn_group_banner 12 'data-in.at:320' \
  "DATETIME input format" "                          " 2
at_xfail=no
(
  $as_echo "12. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/data-in.at:322: python \$top_srcdir/tests/data/test-date-input.py datetime \"d-m-y +H:M\" \"d-m-y +H:M:S\""
at_fn_check_prepare_dynamic "python $top_srcdir/tests/data/test-date-input.py datetime \"d-m-y +H:M\" \"d-m-y +H:M:S\"" "data-in.at:322"
( $at_check_trace; python $top_srcdir/tests/data/test-date-input.py datetime "d-m-y +H:M" "d-m-y +H:M:S"
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-in.at:322"
$at_failed && at_fn_log_failure
$at_traceon; }

$as_echo "data-in.at:323" >"$at_check_line_file"
(test ! -s datetime.sps || test ! -s datetime.input || \
            test ! -s expout) \
  && at_fn_check_skip 99 "$at_srcdir/data-in.at:323"
{ set +x
$as_echo "$at_srcdir/data-in.at:325: pspp -O format=csv datetime.sps"
at_fn_check_prepare_trace "data-in.at:325"
( $at_check_trace; pspp -O format=csv datetime.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-in.at:325"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-in.at:326: cat datetime.output"
at_fn_check_prepare_trace "data-in.at:326"
( $at_check_trace; cat datetime.output
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-in.at:326"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_12
#AT_START_13
at_fn_group_banner 13 'data-in.at:329' \
  "YMDHMS input format" "                            " 2
at_xfail=no
(
  $as_echo "13. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/data-in.at:331: python \$top_srcdir/tests/data/test-date-input.py ymdhms \"y-m-d +H:M\" \"y-m-d +H:M:S\""
at_fn_check_prepare_dynamic "python $top_srcdir/tests/data/test-date-input.py ymdhms \"y-m-d +H:M\" \"y-m-d +H:M:S\"" "data-in.at:331"
( $at_check_trace; python $top_srcdir/tests/data/test-date-input.py ymdhms "y-m-d +H:M" "y-m-d +H:M:S"
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-in.at:331"
$at_failed && at_fn_log_failure
$at_traceon; }

$as_echo "data-in.at:332" >"$at_check_line_file"
(test ! -s ymdhms.sps || test ! -s ymdhms.input || \
            test ! -s expout) \
  && at_fn_check_skip 99 "$at_srcdir/data-in.at:332"
{ set +x
$as_echo "$at_srcdir/data-in.at:334: pspp -O format=csv ymdhms.sps"
at_fn_check_prepare_trace "data-in.at:334"
( $at_check_trace; pspp -O format=csv ymdhms.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-in.at:334"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-in.at:335: cat ymdhms.output"
at_fn_check_prepare_trace "data-in.at:335"
( $at_check_trace; cat ymdhms.output
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-in.at:335"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_13
#AT_START_14
at_fn_group_banner 14 'data-in.at:338' \
  "MTIME input format" "                             " 2
at_xfail=no
(
  $as_echo "14. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/data-in.at:340: python \$top_srcdir/tests/data/test-time-input.py mtime +M:S"
at_fn_check_prepare_dynamic "python $top_srcdir/tests/data/test-time-input.py mtime +M:S" "data-in.at:340"
( $at_check_trace; python $top_srcdir/tests/data/test-time-input.py mtime +M:S
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-in.at:340"
$at_failed && at_fn_log_failure
$at_traceon; }

$as_echo "data-in.at:341" >"$at_check_line_file"
(test ! -s mtime.sps || test ! -s mtime.input || test ! -s expout) \
  && at_fn_check_skip 99 "$at_srcdir/data-in.at:341"
{ set +x
$as_echo "$at_srcdir/data-in.at:342: pspp -O format=csv mtime.sps"
at_fn_check_prepare_trace "data-in.at:342"
( $at_check_trace; pspp -O format=csv mtime.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-in.at:342"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-in.at:343: cat mtime.output"
at_fn_check_prepare_trace "data-in.at:343"
( $at_check_trace; cat mtime.output
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-in.at:343"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_14
#AT_START_15
at_fn_group_banner 15 'data-in.at:346' \
  "TIME input format" "                              " 2
at_xfail=no
(
  $as_echo "15. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/data-in.at:348: python \$top_srcdir/tests/data/test-time-input.py time +H:M +H:M:S"
at_fn_check_prepare_dynamic "python $top_srcdir/tests/data/test-time-input.py time +H:M +H:M:S" "data-in.at:348"
( $at_check_trace; python $top_srcdir/tests/data/test-time-input.py time +H:M +H:M:S
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-in.at:348"
$at_failed && at_fn_log_failure
$at_traceon; }

$as_echo "data-in.at:349" >"$at_check_line_file"
(test ! -s time.sps || test ! -s time.input || test ! -s expout) \
  && at_fn_check_skip 99 "$at_srcdir/data-in.at:349"
{ set +x
$as_echo "$at_srcdir/data-in.at:350: pspp -O format=csv time.sps"
at_fn_check_prepare_trace "data-in.at:350"
( $at_check_trace; pspp -O format=csv time.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-in.at:350"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-in.at:351: cat time.output"
at_fn_check_prepare_trace "data-in.at:351"
( $at_check_trace; cat time.output
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-in.at:351"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_15
#AT_START_16
at_fn_group_banner 16 'data-in.at:354' \
  "DTIME input format" "                             " 2
at_xfail=no
(
  $as_echo "16. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/data-in.at:356: python \$top_srcdir/tests/data/test-time-input.py dtime  '+D H:M' '+D H:M:S'"
at_fn_check_prepare_dynamic "python $top_srcdir/tests/data/test-time-input.py dtime  '+D H:M' '+D H:M:S'" "data-in.at:356"
( $at_check_trace; python $top_srcdir/tests/data/test-time-input.py dtime  '+D H:M' '+D H:M:S'
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-in.at:356"
$at_failed && at_fn_log_failure
$at_traceon; }

$as_echo "data-in.at:357" >"$at_check_line_file"
(test ! -s dtime.sps || test ! -s dtime.input || test ! -s expout) \
  && at_fn_check_skip 99 "$at_srcdir/data-in.at:357"
{ set +x
$as_echo "$at_srcdir/data-in.at:358: pspp -O format=csv dtime.sps"
at_fn_check_prepare_trace "data-in.at:358"
( $at_check_trace; pspp -O format=csv dtime.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-in.at:358"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-in.at:359: cat dtime.output"
at_fn_check_prepare_trace "data-in.at:359"
( $at_check_trace; cat dtime.output
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-in.at:359"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_16
#AT_START_17
at_fn_group_banner 17 'data-in.at:362' \
  "binary and hexadecimal input (IB, PIB, and PIBHEX formats)" "" 2
at_xfail=no
(
  $as_echo "17. $at_setup_line: testing $at_desc ..."
  $at_traceon

{ set +x
$as_echo "$at_srcdir/data-in.at:363: \$PERL -e 'print pack \"n\", \$_ foreach 0...65535' > binhex-in.data"
at_fn_check_prepare_dynamic "$PERL -e 'print pack \"n\", $_ foreach 0...65535' > binhex-in.data" "data-in.at:363"
( $at_check_trace; $PERL -e 'print pack "n", $_ foreach 0...65535' > binhex-in.data
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-in.at:363"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-in.at:364: wc -c < binhex-in.data | sed 's/[ 	]//g'"
at_fn_check_prepare_notrace 'a shell pipeline' "data-in.at:364"
( $at_check_trace; wc -c < binhex-in.data | sed 's/[ 	]//g'
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "131072
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-in.at:364"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >binhex-in.sps <<'_ATEOF'
SET RIB=MSBFIRST.
SET ERRORS=NONE.
SET MXWARNS=10000000.
SET MXERRS=10000000.
FILE HANDLE data/NAME='binhex-in.data'/MODE=IMAGE/LRECL=2.
DATA LIST FILE=data NOTABLE/ib 1-2 (IB) pib 1-2 (PIB) pibhex 1-2 (PIBHEX).
COMPUTE x=$CASENUM - 1.
PRINT OUTFILE='binhex-in.out'/x (PIBHEX4) ' ' ib pib pibhex.
EXECUTE.
_ATEOF

{ set +x
$as_echo "$at_srcdir/data-in.at:377: gzip -cd < \$top_srcdir/tests/data/binhex-in.expected.cmp.gz | \\
            \$PERL -pe \"printf ' %04X ', \$.-1\" > expout"
at_fn_check_prepare_notrace 'an embedded newline' "data-in.at:377"
( $at_check_trace; gzip -cd < $top_srcdir/tests/data/binhex-in.expected.cmp.gz | \
            $PERL -pe "printf ' %04X ', $.-1" > expout
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-in.at:377"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-in.at:379: pspp -O format=csv binhex-in.sps"
at_fn_check_prepare_trace "data-in.at:379"
( $at_check_trace; pspp -O format=csv binhex-in.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-in.at:379"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-in.at:380: cat binhex-in.out"
at_fn_check_prepare_trace "data-in.at:380"
( $at_check_trace; cat binhex-in.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-in.at:380"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_17
#AT_START_18
at_fn_group_banner 18 'data-in.at:383' \
  "BCD input (P and PK formats)" "                   " 2
at_xfail=no
(
  $as_echo "18. $at_setup_line: testing $at_desc ..."
  $at_traceon

{ set +x
$as_echo "$at_srcdir/data-in.at:384: \$PERL -e 'print pack \"n\", \$_ foreach 0...65535' > bcd-in.data"
at_fn_check_prepare_dynamic "$PERL -e 'print pack \"n\", $_ foreach 0...65535' > bcd-in.data" "data-in.at:384"
( $at_check_trace; $PERL -e 'print pack "n", $_ foreach 0...65535' > bcd-in.data
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-in.at:384"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-in.at:385: wc -c < bcd-in.data | sed 's/[ 	]//g'"
at_fn_check_prepare_notrace 'a shell pipeline' "data-in.at:385"
( $at_check_trace; wc -c < bcd-in.data | sed 's/[ 	]//g'
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "131072
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-in.at:385"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >bcd-in.sps <<'_ATEOF'
SET ERRORS=NONE.
SET MXWARNS=10000000.
SET MXERRS=10000000.
FILE HANDLE data/NAME='bcd-in.data'/MODE=IMAGE/LRECL=2.
DATA LIST FILE=data NOTABLE/p 1-2 (P) pk 1-2 (PK).
COMPUTE x=$CASENUM - 1.
PRINT OUTFILE='bcd-in.out'/x (PIBHEX4) ' ' P PK.
EXECUTE.
_ATEOF

{ set +x
$as_echo "$at_srcdir/data-in.at:397: gzip -cd < \$top_srcdir/tests/data/bcd-in.expected.cmp.gz | \\
            \$PERL -pe \"printf ' %04X ', \$.-1\" > expout"
at_fn_check_prepare_notrace 'an embedded newline' "data-in.at:397"
( $at_check_trace; gzip -cd < $top_srcdir/tests/data/bcd-in.expected.cmp.gz | \
            $PERL -pe "printf ' %04X ', $.-1" > expout
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-in.at:397"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-in.at:399: pspp -O format=csv bcd-in.sps"
at_fn_check_prepare_trace "data-in.at:399"
( $at_check_trace; pspp -O format=csv bcd-in.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-in.at:399"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-in.at:400: cat bcd-in.out"
at_fn_check_prepare_trace "data-in.at:400"
( $at_check_trace; cat bcd-in.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-in.at:400"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_18
#AT_START_19
at_fn_group_banner 19 'data-in.at:403' \
  "legacy input (N and Z formats)" "                 " 2
at_xfail=no
(
  $as_echo "19. $at_setup_line: testing $at_desc ..."
  $at_traceon

{ set +x
$as_echo "$at_srcdir/data-in.at:404: \$PERL -e 'print pack \"n\", \$_ foreach 0...65535' > legacy-in.data"
at_fn_check_prepare_dynamic "$PERL -e 'print pack \"n\", $_ foreach 0...65535' > legacy-in.data" "data-in.at:404"
( $at_check_trace; $PERL -e 'print pack "n", $_ foreach 0...65535' > legacy-in.data
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-in.at:404"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-in.at:405: wc -c < legacy-in.data | sed 's/[ 	]//g'"
at_fn_check_prepare_notrace 'a shell pipeline' "data-in.at:405"
( $at_check_trace; wc -c < legacy-in.data | sed 's/[ 	]//g'
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "131072
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-in.at:405"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >legacy-in.sps <<'_ATEOF'
SET ERRORS=NONE.
SET MXWARNS=10000000.
SET MXERRS=10000000.
FILE HANDLE data/NAME='legacy-in.data'/MODE=IMAGE/LRECL=2.
DATA LIST NOTABLE FILE=data/n 1-2 (N) z 1-2 (z).
COMPUTE x=$CASENUM - 1.
PRINT OUTFILE='legacy-in.out'/x (PIBHEX4) ' ' N Z.
EXECUTE.
_ATEOF

{ set +x
$as_echo "$at_srcdir/data-in.at:417: gzip -cd < \$top_srcdir/tests/data/legacy-in.expected.cmp.gz | \\
            \$PERL -pe \"printf ' %04X ', \$.-1\" > expout"
at_fn_check_prepare_notrace 'an embedded newline' "data-in.at:417"
( $at_check_trace; gzip -cd < $top_srcdir/tests/data/legacy-in.expected.cmp.gz | \
            $PERL -pe "printf ' %04X ', $.-1" > expout
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-in.at:417"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-in.at:419: pspp -O format=csv legacy-in.sps"
at_fn_check_prepare_trace "data-in.at:419"
( $at_check_trace; pspp -O format=csv legacy-in.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-in.at:419"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-in.at:420: cat legacy-in.out"
at_fn_check_prepare_trace "data-in.at:420"
( $at_check_trace; cat legacy-in.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-in.at:420"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_19
#AT_START_20
at_fn_group_banner 20 'data-in.at:423' \
  "WKDAY input format" "                             " 2
at_xfail=no
(
  $as_echo "20. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >wkday.sps <<'_ATEOF'
DATA LIST NOTABLE /wkday2 1-2 (wkday)
		   wkday3 1-3 (wkday)
		   wkday4 1-4 (wkday)
		   wkday5 1-5 (wkday)
		   wkday6 1-6 (wkday)
		   wkday7 1-7 (wkday)
		   wkday8 1-8 (wkday)
		   wkday9 1-9 (wkday)
		   wkday10 1-10 (wkday).
BEGIN DATA.

.
monady
tuseday
WEDENSDAY
Thurdsay
fRidya
SAturady
sudnay
sturday
END DATA.
FORMATS ALL (WKDAY2).
PRINT OUTFILE='wkday.out'/ALL.
EXECUTE.
_ATEOF

{ set +x
$as_echo "$at_srcdir/data-in.at:450: pspp -O format=csv wkday.sps"
at_fn_check_prepare_trace "data-in.at:450"
( $at_check_trace; pspp -O format=csv wkday.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "wkday.sps:20.1-20.2: warning: Data for variable wkday2 is not valid as format WKDAY: Unrecognized weekday name.  At least the first two letters of an English weekday name must be specified.

wkday.sps:20.1-20.3: warning: Data for variable wkday3 is not valid as format WKDAY: Unrecognized weekday name.  At least the first two letters of an English weekday name must be specified.

wkday.sps:20.1-20.4: warning: Data for variable wkday4 is not valid as format WKDAY: Unrecognized weekday name.  At least the first two letters of an English weekday name must be specified.

wkday.sps:20.1-20.5: warning: Data for variable wkday5 is not valid as format WKDAY: Unrecognized weekday name.  At least the first two letters of an English weekday name must be specified.

wkday.sps:20.1-20.6: warning: Data for variable wkday6 is not valid as format WKDAY: Unrecognized weekday name.  At least the first two letters of an English weekday name must be specified.

wkday.sps:20.1-20.7: warning: Data for variable wkday7 is not valid as format WKDAY: Unrecognized weekday name.  At least the first two letters of an English weekday name must be specified.

wkday.sps:20.1-20.8: warning: Data for variable wkday8 is not valid as format WKDAY: Unrecognized weekday name.  At least the first two letters of an English weekday name must be specified.

wkday.sps:20.1-20.9: warning: Data for variable wkday9 is not valid as format WKDAY: Unrecognized weekday name.  At least the first two letters of an English weekday name must be specified.

wkday.sps:20.1-20.10: warning: Data for variable wkday10 is not valid as format WKDAY: Unrecognized weekday name.  At least the first two letters of an English weekday name must be specified.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-in.at:450"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-in.at:469: cat wkday.out"
at_fn_check_prepare_trace "data-in.at:469"
( $at_check_trace; cat wkday.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "  .  .  .  .  .  .  .  .  . 
  .  .  .  .  .  .  .  .  . 
 MO MO MO MO MO MO MO MO MO 
 TU TU TU TU TU TU TU TU TU 
 WE WE WE WE WE WE WE WE WE 
 TH TH TH TH TH TH TH TH TH 
 FR FR FR FR FR FR FR FR FR 
 SA SA SA SA SA SA SA SA SA 
 SU SU SU SU SU SU SU SU SU 
  .  .  .  .  .  .  .  .  . 
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-in.at:469"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_20
#AT_START_21
at_fn_group_banner 21 'data-in.at:483' \
  "MONTH input format" "                             " 2
at_xfail=no
(
  $as_echo "21. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >month.sps <<'_ATEOF'
DATA LIST NOTABLE /month3 1-3 (MONTH)
		   month4 1-4 (MONTH)
		   month5 1-5 (MONTH)
		   month6 1-6 (MONTH)
		   month7 1-7 (MONTH)
		   month8 1-8 (MONTH)
		   month9 1-9 (MONTH)
		   month10 1-10 (MONTH).
BEGIN DATA.

.
i
ii
iii
iiii
iv
v
vi
vii
viii
ix
viiii
x
xi
xii
0
1
2
3
4
5
6
7
8
9
10
11
12
13
january
JANAURY
February
fEbraury
MArch
marhc
apRIL
may
june
july
august
september
october
november
decmeber
december
END DATA.
FORMATS ALL (MONTH3).
PRINT OUTFILE='month.out'/ALL.
EXECUTE.
_ATEOF

{ set +x
$as_echo "$at_srcdir/data-in.at:545: pspp -O format=csv month.sps"
at_fn_check_prepare_trace "data-in.at:545"
( $at_check_trace; pspp -O format=csv month.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "month.sps:15.1-15.4: warning: Data for variable month4 is not valid as format MONTH: Unrecognized month format.  Months may be specified as Arabic or Roman numerals or as at least 3 letters of their English names.

month.sps:15.1-15.5: warning: Data for variable month5 is not valid as format MONTH: Unrecognized month format.  Months may be specified as Arabic or Roman numerals or as at least 3 letters of their English names.

month.sps:15.1-15.6: warning: Data for variable month6 is not valid as format MONTH: Unrecognized month format.  Months may be specified as Arabic or Roman numerals or as at least 3 letters of their English names.

month.sps:15.1-15.7: warning: Data for variable month7 is not valid as format MONTH: Unrecognized month format.  Months may be specified as Arabic or Roman numerals or as at least 3 letters of their English names.

month.sps:15.1-15.8: warning: Data for variable month8 is not valid as format MONTH: Unrecognized month format.  Months may be specified as Arabic or Roman numerals or as at least 3 letters of their English names.

month.sps:15.1-15.9: warning: Data for variable month9 is not valid as format MONTH: Unrecognized month format.  Months may be specified as Arabic or Roman numerals or as at least 3 letters of their English names.

month.sps:15.1-15.10: warning: Data for variable month10 is not valid as format MONTH: Unrecognized month format.  Months may be specified as Arabic or Roman numerals or as at least 3 letters of their English names.

month.sps:26.1-26.3: warning: Data for variable month3 is not valid as format MONTH: Unrecognized month format.  Months may be specified as Arabic or Roman numerals or as at least 3 letters of their English names.

month.sps:26.1-26.4: warning: Data for variable month4 is not valid as format MONTH: Unrecognized month format.  Months may be specified as Arabic or Roman numerals or as at least 3 letters of their English names.

month.sps:26.1-26.5: warning: Data for variable month5 is not valid as format MONTH: Unrecognized month format.  Months may be specified as Arabic or Roman numerals or as at least 3 letters of their English names.

month.sps:26.1-26.6: warning: Data for variable month6 is not valid as format MONTH: Unrecognized month format.  Months may be specified as Arabic or Roman numerals or as at least 3 letters of their English names.

month.sps:26.1-26.7: warning: Data for variable month7 is not valid as format MONTH: Unrecognized month format.  Months may be specified as Arabic or Roman numerals or as at least 3 letters of their English names.

month.sps:26.1-26.8: warning: Data for variable month8 is not valid as format MONTH: Unrecognized month format.  Months may be specified as Arabic or Roman numerals or as at least 3 letters of their English names.

month.sps:26.1-26.9: warning: Data for variable month9 is not valid as format MONTH: Unrecognized month format.  Months may be specified as Arabic or Roman numerals or as at least 3 letters of their English names.

month.sps:26.1-26.10: warning: Data for variable month10 is not valid as format MONTH: Unrecognized month format.  Months may be specified as Arabic or Roman numerals or as at least 3 letters of their English names.

month.sps:39.1-39.3: warning: Data for variable month3 is not valid as format MONTH: Unrecognized month format.  Months may be specified as Arabic or Roman numerals or as at least 3 letters of their English names.

month.sps:39.1-39.4: warning: Data for variable month4 is not valid as format MONTH: Unrecognized month format.  Months may be specified as Arabic or Roman numerals or as at least 3 letters of their English names.

month.sps:39.1-39.5: warning: Data for variable month5 is not valid as format MONTH: Unrecognized month format.  Months may be specified as Arabic or Roman numerals or as at least 3 letters of their English names.

month.sps:39.1-39.6: warning: Data for variable month6 is not valid as format MONTH: Unrecognized month format.  Months may be specified as Arabic or Roman numerals or as at least 3 letters of their English names.

month.sps:39.1-39.7: warning: Data for variable month7 is not valid as format MONTH: Unrecognized month format.  Months may be specified as Arabic or Roman numerals or as at least 3 letters of their English names.

month.sps:39.1-39.8: warning: Data for variable month8 is not valid as format MONTH: Unrecognized month format.  Months may be specified as Arabic or Roman numerals or as at least 3 letters of their English names.

month.sps:39.1-39.9: warning: Data for variable month9 is not valid as format MONTH: Unrecognized month format.  Months may be specified as Arabic or Roman numerals or as at least 3 letters of their English names.

month.sps:39.1-39.10: warning: Data for variable month10 is not valid as format MONTH: Unrecognized month format.  Months may be specified as Arabic or Roman numerals or as at least 3 letters of their English names.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-in.at:545"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-in.at:592: cat month.out"
at_fn_check_prepare_trace "data-in.at:592"
( $at_check_trace; cat month.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "   .   .   .   .   .   .   .   . 
   .   .   .   .   .   .   .   . 
 JAN JAN JAN JAN JAN JAN JAN JAN 
 FEB FEB FEB FEB FEB FEB FEB FEB 
 MAR MAR MAR MAR MAR MAR MAR MAR 
 MAR   .   .   .   .   .   .   . 
 APR APR APR APR APR APR APR APR 
 MAY MAY MAY MAY MAY MAY MAY MAY 
 JUN JUN JUN JUN JUN JUN JUN JUN 
 JUL JUL JUL JUL JUL JUL JUL JUL 
 JUL AUG AUG AUG AUG AUG AUG AUG 
 SEP SEP SEP SEP SEP SEP SEP SEP 
 JUL AUG AUG AUG AUG AUG AUG AUG 
 OCT OCT OCT OCT OCT OCT OCT OCT 
 NOV NOV NOV NOV NOV NOV NOV NOV 
 DEC DEC DEC DEC DEC DEC DEC DEC 
   .   .   .   .   .   .   .   . 
 JAN JAN JAN JAN JAN JAN JAN JAN 
 FEB FEB FEB FEB FEB FEB FEB FEB 
 MAR MAR MAR MAR MAR MAR MAR MAR 
 APR APR APR APR APR APR APR APR 
 MAY MAY MAY MAY MAY MAY MAY MAY 
 JUN JUN JUN JUN JUN JUN JUN JUN 
 JUL JUL JUL JUL JUL JUL JUL JUL 
 AUG AUG AUG AUG AUG AUG AUG AUG 
 SEP SEP SEP SEP SEP SEP SEP SEP 
 OCT OCT OCT OCT OCT OCT OCT OCT 
 NOV NOV NOV NOV NOV NOV NOV NOV 
 DEC DEC DEC DEC DEC DEC DEC DEC 
   .   .   .   .   .   .   .   . 
 JAN JAN JAN JAN JAN JAN JAN JAN 
 JAN JAN JAN JAN JAN JAN JAN JAN 
 FEB FEB FEB FEB FEB FEB FEB FEB 
 FEB FEB FEB FEB FEB FEB FEB FEB 
 MAR MAR MAR MAR MAR MAR MAR MAR 
 MAR MAR MAR MAR MAR MAR MAR MAR 
 APR APR APR APR APR APR APR APR 
 MAY MAY MAY MAY MAY MAY MAY MAY 
 JUN JUN JUN JUN JUN JUN JUN JUN 
 JUL JUL JUL JUL JUL JUL JUL JUL 
 AUG AUG AUG AUG AUG AUG AUG AUG 
 SEP SEP SEP SEP SEP SEP SEP SEP 
 OCT OCT OCT OCT OCT OCT OCT OCT 
 NOV NOV NOV NOV NOV NOV NOV NOV 
 DEC DEC DEC DEC DEC DEC DEC DEC 
 DEC DEC DEC DEC DEC DEC DEC DEC 
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-in.at:592"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_21
#AT_START_22
at_fn_group_banner 22 'data-out.at:19' \
  "numeric format output" "                          " 3
at_xfail=no
(
  $as_echo "22. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >num-out.pl <<'_ATEOF'
use strict;
use warnings 'all';

my @values = qw(0 2 9.5 27 271 999.95 2718 9999.995 27182 271828
2718281 2**39 2**333 2**-21 -2 -9.5 -27 -271 -999.95 -2718 -9999.995
-27182 -271828 -2718281 -2**39 -2**333 -2**-21 -0 3.125 31.25 314.125
3141.5 31415.875 314159.25 3141592.625 31415926.5 271828182.25
3214567890.5 31415926535.875 -3.125 -31.375 -314.125 -3141.5
-31415.875 -314159.25 -3141592.625 -31415926.5 -271828182.25
-3214567890.5 -31415926535.875);

print "SET CCA=',,,'.\n";
print "SET CCB='-,[[[,]]],-'.\n";
print "SET CCC='((,[,],))'.\n";
print "SET CCD=',XXX,,-'.\n";
print "SET CCE=',,YYY,-'.\n";
print "INPUT PROGRAM.\n";
print "STRING EXPR(A16).\n";
print map ("COMPUTE NUM=$_.\nCOMPUTE EXPR='$_'.\nEND CASE.\n", @values);
print "END FILE.\n";
print "END INPUT PROGRAM.\n";

print "PRINT OUTFILE='output.txt'/EXPR.\n";
for my $format (qw (F COMMA DOT DOLLAR PCT E CCA CCB CCC CCD CCE N Z)) {
    for my $d (0...16) {
	my ($min_w);
	if ($format ne 'E') {
	    $min_w = $d + 1;
	    $min_w++ if $format eq 'DOLLAR' || $format eq 'PCT';
	    $min_w = 2 if $min_w == 1 && ($format =~ /^CC/);
	} else {
	    $min_w = $d + 7;
	}
	for my $w ($min_w...40) {
	    my ($f) = "$format$w.$d";
	    print "PRINT OUTFILE='output.txt'/'$f: \"' NUM($f) '\"'.\n";
	}
    }
    print "PRINT SPACE OUTFILE='output.txt'.\n";
}
print "EXECUTE.\n";
_ATEOF

{ set +x
$as_echo "$at_srcdir/data-out.at:64: \$PERL num-out.pl > num-out.sps"
at_fn_check_prepare_dynamic "$PERL num-out.pl > num-out.sps" "data-out.at:64"
( $at_check_trace; $PERL num-out.pl > num-out.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:64"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:65: pspp -O format=csv num-out.sps"
at_fn_check_prepare_trace "data-out.at:65"
( $at_check_trace; pspp -O format=csv num-out.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:65"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:66: inexactify < output.txt > output.inexact"
at_fn_check_prepare_trace "data-out.at:66"
( $at_check_trace; inexactify < output.txt > output.inexact
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:66"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:67: gzip -cd < \$top_srcdir/tests/data/num-out.expected.cmp.gz > expout.cmp"
at_fn_check_prepare_dynamic "gzip -cd < $top_srcdir/tests/data/num-out.expected.cmp.gz > expout.cmp" "data-out.at:67"
( $at_check_trace; gzip -cd < $top_srcdir/tests/data/num-out.expected.cmp.gz > expout.cmp
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:67"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >num-out-decmp.pl <<'_ATEOF'
use strict;
use warnings 'all';

my (@line);
while (<>) {
    if (my ($n) = /^\*(\d+)$/) {
	for (1...$n) {
	    $line[1]++;
	    $line[3] = " $line[3]";
	    print ' ', join ('', @line), "\n";
	}
    } elsif (my ($suffix) = /^\$(.*)$/) {
	for my $c (split ('', $suffix)) {
	    $line[1]++;
	    $line[4] .= $c;
	    print ' ', join ('', @line), "\n";
	}
    } elsif (my ($prefix) = /^\^(.*)$/) {
	for my $c (split ('', $prefix)) {
	    $line[1]++;
	    $line[4] = "$c$line[4]";
	    print ' ', join ('', @line), "\n";
	}
    } else {
	@line = /^([A-Z]+)(\d+)([^"]+")( *)([^%"]*)(%?")$/;
	print " $_";
    }
}
_ATEOF

{ set +x
$as_echo "$at_srcdir/data-out.at:98: \$PERL num-out-decmp.pl < expout.cmp > expout.exact"
at_fn_check_prepare_dynamic "$PERL num-out-decmp.pl < expout.cmp > expout.exact" "data-out.at:98"
( $at_check_trace; $PERL num-out-decmp.pl < expout.cmp > expout.exact
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:98"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:99: inexactify < expout.exact > expout.inexact"
at_fn_check_prepare_trace "data-out.at:99"
( $at_check_trace; inexactify < expout.exact > expout.inexact
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:99"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >num-out-compare.pl <<'_ATEOF'
#! /usr/bin/perl -w

use strict;
use warnings 'all';
use Getopt::Long;

my $exact = 0;
my $spss = 0;
my $verbose = 0;
Getopt::Long::Configure ("bundling");
GetOptions ("e|exact!" => \$exact,
	    "s|spss!" => \$spss,
	    "v|verbose+" => \$verbose,
	    "h|help" => sub { usage (0) })
  or usage (1);

sub usage {
    print "$0: compare expected and actual numeric formatting output\n";
    print "usage: $0 [OPTION...] EXPECTED ACTUAL\n";
    print "where EXPECTED is the file containing expected output\n";
    print "and ACTUAL is the file containing actual output.\n";
    print "Options:\n";
    print "  -e, --exact: Require numbers to be exactly equal.\n";
    print "               (By default, small differences are permitted.)\n";
    print "  -s, --spss: Ignore most SPSS formatting bugs in EXPECTED.\n";
    print "              (A few differences are not compensated)\n";
    print "  -v, --verbose: Use once to summarize errors and differences.\n";
    print "                 Use twice for details of differences.\n";
    exit (@_);
}

open (EXPECTED, '<', $ARGV[0]) or die "$ARGV[0]: open: $!\n";
open (ACTUAL, '<', $ARGV[1]) or die "$ARGV[1]: open: $!\n";
my ($expr);
my ($bad_round) = 0;
my ($approximate) = 0;
my ($spss_wtf1) = 0;
my ($spss_wtf2) = 0;
my ($lost_sign) = 0;
my ($errors) = 0;
while (defined (my $a = <EXPECTED>) && defined (my $b = <ACTUAL>)) {
    chomp $a;
    chomp $b;
    if ($a eq $b) {
	if ($a !~ /^\s*$/ && $a !~ /:/) {
	    $expr = $a;
	    $expr =~ s/\s*$//;
	    $expr =~ s/^\s*//;
	}
    } else {
	my ($fmt, $a_out) = $a =~ /^ (.*): "(.*)"$/ or die;
	my ($b_fmt, $b_out) = $b =~ /^ (.*): "(.*)"$/ or die;
	die if $fmt ne $b_fmt;
	die if $a_out eq $b_out;

	if (!$exact) {
	    if (increment ($a_out) eq $b_out || increment ($b_out) eq $a_out) {
		$approximate++;
		next;
	    }
	}
	if ($spss) {
	    if ($a_out =~ /0.*0/ && $a_out !~ /[1-9]/) {
		$bad_round++;
		next;
	    } elsif ($a_out =~ /\*/ && $a_out !~ /^\*+$/) {
		$spss_wtf1++;
		next;
	    } elsif ($expr =~ /^-/
		     && $a_out =~ /^\*+$/
		     && $b_out =~ /-\d(\.\d*#*)?E[-+]\d\d\d/
		     && $fmt =~ /^E/) {
		$spss_wtf2++;
		next;
	    } elsif ($expr =~ /^-/
		     && (($a_out !~ /-/ && $a_out =~ /[1-9]/ && $b_out =~ /-/)
			 || ($a_out =~ /^[0-9]+$/ && $b_out =~ /^\*+$/))) {
		$lost_sign++;
		next;
	    }
	}
	print "$.: $expr in $fmt: expected \"$a_out\", got \"$b_out\"\n"
	  if $verbose > 1;
	$errors++;
    }
}
while (<EXPECTED>) {
    print "Extra lines in $ARGV[0]\n";
    $errors++;
    last;
}
while (<ACTUAL>) {
    print "Extra lines in $ARGV[1]\n";
    $errors++;
    last;
}
if ($verbose) {
    print "$errors errors\n";
    if (!$exact) {
	print "$approximate approximate matches\n";
    }
    if ($spss) {
	print "$bad_round bad rounds\n";
	print "$spss_wtf1 SPSS WTF 1\n";
	print "$spss_wtf2 SPSS WTF 2\n";
	print "$lost_sign lost signs\n";
    }
}
exit ($errors > 0);

# Returns the argument value incremented by one unit in its final
# decimal place.
sub increment {
    local ($_) = @_;
    my ($last_digit, $i);
    for ($i = 0; $i < length $_; $i++) {
	my ($c) = substr ($_, $i, 1);
	last if ($c eq 'E');
	$last_digit = $i if $c =~ /[0-9]/;
    }
    return $_ if !defined $last_digit;
    for ($i = $last_digit; $i >= 0; $i--) {
	my ($c) = substr ($_, $i, 1);
	if ($c eq '9') {
	    substr ($_, $i, 1) = '0';
	} elsif ($c =~ /[0-8]/) {
	    substr ($_, $i, 1) = chr (ord ($c) + 1);
	    last;
	}
    }
    $_ = "1$_" if $i < 0;
    return $_;
}
_ATEOF

{ set +x
$as_echo "$at_srcdir/data-out.at:235: \$PERL num-out-compare.pl \$PSPP_NUM_OUT_COMPARE_FLAGS expout.inexact output.inexact"
at_fn_check_prepare_dynamic "$PERL num-out-compare.pl $PSPP_NUM_OUT_COMPARE_FLAGS expout.inexact output.inexact" "data-out.at:235"
( $at_check_trace; $PERL num-out-compare.pl $PSPP_NUM_OUT_COMPARE_FLAGS expout.inexact output.inexact
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:235"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_22
#AT_START_23
at_fn_group_banner 23 'data-out.at:238' \
  "non-ASCII custom currency formats" "              " 3
at_xfail=no
(
  $as_echo "23. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >data-out.sps <<'_ATEOF'
SET CCA='«,¥,€,»'.
SHOW CCA.
DATA LIST LIST NOTABLE/x.
PRINT/x (F8.2) x (CCA10.2).
EXECUTE.
BEGIN DATA.
1
-1
1.5
-1.5
.75
1.5e10
-1.5e10
END DATA.
_ATEOF

{ set +x
$as_echo "$at_srcdir/data-out.at:256: pspp -O format=csv data-out.sps"
at_fn_check_prepare_trace "data-out.at:256"
( $at_check_trace; pspp -O format=csv data-out.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "\"data-out.sps:2: note: SHOW: CCA is «,¥,€,».\"

1.00   ¥1.00€ 

-1.00  «¥1.00€»

1.50   ¥1.50€ 

-1.50  «¥1.50€»

.75    ¥.75€ 

1.5E+010 ¥2E+010€ 

-2E+010«¥2E+010€»
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:256"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_23
#AT_START_24
at_fn_group_banner 24 'data-out.at:275' \
  "binary and hexadecimal output" "                  " 3
at_xfail=no
(
  $as_echo "24. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >binhex-out.sps <<'_ATEOF'
SET ERRORS=NONE.
SET MXWARNS=10000000.
SET WIB=MSBFIRST.
DATA LIST NOTABLE/x 1-10.
BEGIN DATA.

2
11
123
1234
913
3.14159
777
82
690
-2
-11
-123
-1234
-913
-3.14159
-777
-82
-690
-.1
-.5
-.9
9999.1
9999.5
9999.9
10000
18231237
-9999.1
-9999.5
-9999.9
-10000
-8231237
999.1
999.5
999.9
1000
8231237
-999.1
-999.5
-999.9
-1000
-8231237
99.1
99.5
99.9
100
821237
-99.1
-99.5
-99.9
-100
-831237
9.1
9.5
9.9
10
81237
-9.1
-9.5
-9.9
-10
-81237
1.1
-1.1
1.5
-1.5
1.9
-1.9
END DATA.
FILE HANDLE output/NAME='binhex.out'/MODE=IMAGE/LRECL=256.
WRITE OUTFILE=output/
	x(p1.0) x(p2.0) x(p3.0) x(p4.0)		/* 000
	x(p2.1) x(p3.1) x(p4.1)			/* 00a
	x(p3.2) x(p4.2)				/* 013
	x(p4.3)					/* 01a
	x(pk1.0) x(pk2.0) x(pk3.0) x(pk4.0)	/* 01e
	x(pk2.1) x(pk3.1) x(pk4.1)		/* 028
	x(pk3.2) x(pk4.2)			/* 031
	x(pk4.3)				/* 038
	x(ib1.0) x(ib2.0) x(ib3.0) x(ib4.0)	/* 03c
	x(ib1.1) x(ib2.1) x(ib3.1) x(ib4.1)	/* 046
	x(ib1.2) x(ib2.2) x(ib3.2) x(ib4.2)	/* 050
	x(ib1.3) x(ib2.3) x(ib3.3) x(ib4.3)	/* 05a
	x(ib2.4) x(ib3.4) x(ib4.4)		/* 064
	x(ib2.5) x(ib3.5) x(ib4.5)		/* 06d
	x(ib3.6) x(ib4.6)			/* 076
	x(ib3.7) x(ib4.7)			/* 07d
	x(ib3.8) x(ib4.8)			/* 084
	x(ib4.9)				/* 08b
	x(ib4.10)				/* 08f
	x(pib1.0) x(pib2.0) x(pib3.0) x(pib4.0)	/* 093
	x(pib1.1) x(pib2.1) x(pib3.1) x(pib4.1)	/* 09d
	x(pib1.2) x(pib2.2) x(pib3.2) x(pib4.2)	/* 0a7
	x(pib1.3) x(pib2.3) x(pib3.3) x(pib4.3)	/* 0b1
	x(pib2.4) x(pib3.4) x(pib4.4)		/* 0bb
	x(pib2.5) x(pib3.5) x(pib4.5)		/* 0c4
	x(pib3.6) x(pib4.6)			/* 0cd
	x(pib3.7) x(pib4.7)			/* 0d4
	x(pib3.8) x(pib4.8)			/* 0db
	x(pib4.9)				/* 0e2
	x(pib4.10)				/* 0e6
	x(pibhex2) x(pibhex4)			/* 0ea
        x(pibhex6) x(pibhex8).			/* 0f0
						/* 0fe
EXECUTE.
_ATEOF

{ set +x
$as_echo "$at_srcdir/data-out.at:389: pspp -O format=csv binhex-out.sps"
at_fn_check_prepare_trace "data-out.at:389"
( $at_check_trace; pspp -O format=csv binhex-out.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:389"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:390: gzip -cd < \$top_srcdir/tests/data/binhex-out.expected.gz > expout"
at_fn_check_prepare_dynamic "gzip -cd < $top_srcdir/tests/data/binhex-out.expected.gz > expout" "data-out.at:390"
( $at_check_trace; gzip -cd < $top_srcdir/tests/data/binhex-out.expected.gz > expout
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:390"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:391: cat binhex.out"
at_fn_check_prepare_trace "data-out.at:391"
( $at_check_trace; cat binhex.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:391"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_24
#AT_START_25
at_fn_group_banner 25 'data-out.at:394' \
  "output valid dates" "                             " 3
at_xfail=no
(
  $as_echo "25. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >date-out.sps <<'_ATEOF'
set epoch=1930.
data list notable /x 1-30 (datetime).
begin data.
10-6-1648 0:0:0
30-6-1680 4:50:38.12301
24-7-1716 12:31:35.23453
19-6-1768 12:47:53.34505
2-8-1819 1:26:0.45615
27-3-1839 20:58:11.56677
19-4-1903 7:36:5.18964
25-8-1929 15:43:49.83132
29-9-1941 4:25:9.01293
19-4-1943 6:49:27.52375
7-10-1943 2:57:52.01565
17-3-1992 16:45:44.86529
25-2-1996 21:30:57.82047
29-9-41 4:25:9.15395
19-4-43 6:49:27.10533
7-10-43 2:57:52.48229
17-3-92 16:45:44.65827
25-2-96 21:30:57.58219
10-11-2038 22:30:4.18347
18-7-2094 1:56:51.59319
end data.
print outfile='date.out'/x(date9) ' | ' x(date11).
print outfile='adate.out'/x(adate8) ' | ' x(adate10).
print outfile='edate.out'/x(edate8) ' | ' x(edate10).
print outfile='jdate.out'/x(jdate5) ' | ' x(jdate7).
print outfile='sdate.out'/x(sdate8) ' | ' x(sdate10).
print outfile='qyr.out'/x(qyr6) ' | ' x(qyr8).
print outfile='moyr.out'/x(moyr6) ' | ' x(moyr8).
print outfile='wkyr.out'/x(wkyr8) ' | ' x(wkyr10).
print outfile='datetime17.out'/x(datetime17).
print outfile='datetime18.out'/x(datetime18).
print outfile='datetime19.out'/x(datetime19).
print outfile='datetime20.out'/x(datetime20).
print outfile='datetime21.out'/x(datetime21).
print outfile='datetime22.out'/x(datetime22).
print outfile='datetime22.1.out'/x(datetime22.1).
print outfile='datetime23.2.out'/x(datetime23.2).
print outfile='datetime24.3.out'/x(datetime24.3).
print outfile='datetime25.4.out'/x(datetime25.4).
print outfile='datetime26.5.out'/x(datetime26.5).
print outfile='ymdhms16.out'/x(ymdhms16).
print outfile='ymdhms17.out'/x(ymdhms17).
print outfile='ymdhms18.out'/x(ymdhms18).
print outfile='ymdhms19.out'/x(ymdhms19).
print outfile='ymdhms20.out'/x(ymdhms20).
print outfile='ymdhms21.out'/x(ymdhms21).
print outfile='ymdhms21.1.out'/x(ymdhms21.1).
print outfile='ymdhms22.2.out'/x(ymdhms22.2).
print outfile='ymdhms23.3.out'/x(ymdhms23.3).
print outfile='ymdhms24.4.out'/x(ymdhms24.4).
print outfile='ymdhms25.5.out'/x(ymdhms25.5).
execute.
_ATEOF

{ set +x
$as_echo "$at_srcdir/data-out.at:453: pspp -O format=csv date-out.sps"
at_fn_check_prepare_trace "data-out.at:453"
( $at_check_trace; pspp -O format=csv date-out.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:453"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:454: cat date.out"
at_fn_check_prepare_trace "data-out.at:454"
( $at_check_trace; cat date.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo " ********* | 10-JUN-1648
 ********* | 30-JUN-1680
 ********* | 24-JUL-1716
 ********* | 19-JUN-1768
 ********* | 02-AUG-1819
 ********* | 27-MAR-1839
 ********* | 19-APR-1903
 ********* | 25-AUG-1929
 29-SEP-41 | 29-SEP-1941
 19-APR-43 | 19-APR-1943
 07-OCT-43 | 07-OCT-1943
 17-MAR-92 | 17-MAR-1992
 25-FEB-96 | 25-FEB-1996
 29-SEP-41 | 29-SEP-1941
 19-APR-43 | 19-APR-1943
 07-OCT-43 | 07-OCT-1943
 17-MAR-92 | 17-MAR-1992
 25-FEB-96 | 25-FEB-1996
 ********* | 10-NOV-2038
 ********* | 18-JUL-2094
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:454"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:476: cat adate.out"
at_fn_check_prepare_trace "data-out.at:476"
( $at_check_trace; cat adate.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo " ******** | 06/10/1648
 ******** | 06/30/1680
 ******** | 07/24/1716
 ******** | 06/19/1768
 ******** | 08/02/1819
 ******** | 03/27/1839
 ******** | 04/19/1903
 ******** | 08/25/1929
 09/29/41 | 09/29/1941
 04/19/43 | 04/19/1943
 10/07/43 | 10/07/1943
 03/17/92 | 03/17/1992
 02/25/96 | 02/25/1996
 09/29/41 | 09/29/1941
 04/19/43 | 04/19/1943
 10/07/43 | 10/07/1943
 03/17/92 | 03/17/1992
 02/25/96 | 02/25/1996
 ******** | 11/10/2038
 ******** | 07/18/2094
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:476"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:498: cat edate.out"
at_fn_check_prepare_trace "data-out.at:498"
( $at_check_trace; cat edate.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo " ******** | 10.06.1648
 ******** | 30.06.1680
 ******** | 24.07.1716
 ******** | 19.06.1768
 ******** | 02.08.1819
 ******** | 27.03.1839
 ******** | 19.04.1903
 ******** | 25.08.1929
 29.09.41 | 29.09.1941
 19.04.43 | 19.04.1943
 07.10.43 | 07.10.1943
 17.03.92 | 17.03.1992
 25.02.96 | 25.02.1996
 29.09.41 | 29.09.1941
 19.04.43 | 19.04.1943
 07.10.43 | 07.10.1943
 17.03.92 | 17.03.1992
 25.02.96 | 25.02.1996
 ******** | 10.11.2038
 ******** | 18.07.2094
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:498"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:520: cat jdate.out"
at_fn_check_prepare_trace "data-out.at:520"
( $at_check_trace; cat jdate.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo " ***** | 1648162
 ***** | 1680182
 ***** | 1716206
 ***** | 1768171
 ***** | 1819214
 ***** | 1839086
 ***** | 1903109
 ***** | 1929237
 41272 | 1941272
 43109 | 1943109
 43280 | 1943280
 92077 | 1992077
 96056 | 1996056
 41272 | 1941272
 43109 | 1943109
 43280 | 1943280
 92077 | 1992077
 96056 | 1996056
 ***** | 2038314
 ***** | 2094199
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:520"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:542: cat sdate.out"
at_fn_check_prepare_trace "data-out.at:542"
( $at_check_trace; cat sdate.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo " ******** | 1648/06/10
 ******** | 1680/06/30
 ******** | 1716/07/24
 ******** | 1768/06/19
 ******** | 1819/08/02
 ******** | 1839/03/27
 ******** | 1903/04/19
 ******** | 1929/08/25
 41/09/29 | 1941/09/29
 43/04/19 | 1943/04/19
 43/10/07 | 1943/10/07
 92/03/17 | 1992/03/17
 96/02/25 | 1996/02/25
 41/09/29 | 1941/09/29
 43/04/19 | 1943/04/19
 43/10/07 | 1943/10/07
 92/03/17 | 1992/03/17
 96/02/25 | 1996/02/25
 ******** | 2038/11/10
 ******** | 2094/07/18
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:542"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:564: cat qyr.out"
at_fn_check_prepare_trace "data-out.at:564"
( $at_check_trace; cat qyr.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo " ****** | 2 Q 1648
 ****** | 2 Q 1680
 ****** | 3 Q 1716
 ****** | 2 Q 1768
 ****** | 3 Q 1819
 ****** | 1 Q 1839
 ****** | 2 Q 1903
 ****** | 3 Q 1929
 3 Q 41 | 3 Q 1941
 2 Q 43 | 2 Q 1943
 4 Q 43 | 4 Q 1943
 1 Q 92 | 1 Q 1992
 1 Q 96 | 1 Q 1996
 3 Q 41 | 3 Q 1941
 2 Q 43 | 2 Q 1943
 4 Q 43 | 4 Q 1943
 1 Q 92 | 1 Q 1992
 1 Q 96 | 1 Q 1996
 ****** | 4 Q 2038
 ****** | 3 Q 2094
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:564"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:586: cat moyr.out"
at_fn_check_prepare_trace "data-out.at:586"
( $at_check_trace; cat moyr.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo " ****** | JUN 1648
 ****** | JUN 1680
 ****** | JUL 1716
 ****** | JUN 1768
 ****** | AUG 1819
 ****** | MAR 1839
 ****** | APR 1903
 ****** | AUG 1929
 SEP 41 | SEP 1941
 APR 43 | APR 1943
 OCT 43 | OCT 1943
 MAR 92 | MAR 1992
 FEB 96 | FEB 1996
 SEP 41 | SEP 1941
 APR 43 | APR 1943
 OCT 43 | OCT 1943
 MAR 92 | MAR 1992
 FEB 96 | FEB 1996
 ****** | NOV 2038
 ****** | JUL 2094
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:586"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:608: cat wkyr.out"
at_fn_check_prepare_trace "data-out.at:608"
( $at_check_trace; cat wkyr.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo " ******** | 24 WK 1648
 ******** | 26 WK 1680
 ******** | 30 WK 1716
 ******** | 25 WK 1768
 ******** | 31 WK 1819
 ******** | 13 WK 1839
 ******** | 16 WK 1903
 ******** | 34 WK 1929
 39 WK 41 | 39 WK 1941
 16 WK 43 | 16 WK 1943
 40 WK 43 | 40 WK 1943
 11 WK 92 | 11 WK 1992
  8 WK 96 |  8 WK 1996
 39 WK 41 | 39 WK 1941
 16 WK 43 | 16 WK 1943
 40 WK 43 | 40 WK 1943
 11 WK 92 | 11 WK 1992
  8 WK 96 |  8 WK 1996
 ******** | 45 WK 2038
 ******** | 29 WK 2094
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:608"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:630: cat datetime17.out"
at_fn_check_prepare_trace "data-out.at:630"
( $at_check_trace; cat datetime17.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo " 10-JUN-1648 00:00
 30-JUN-1680 04:50
 24-JUL-1716 12:31
 19-JUN-1768 12:47
 02-AUG-1819 01:26
 27-MAR-1839 20:58
 19-APR-1903 07:36
 25-AUG-1929 15:43
 29-SEP-1941 04:25
 19-APR-1943 06:49
 07-OCT-1943 02:57
 17-MAR-1992 16:45
 25-FEB-1996 21:30
 29-SEP-1941 04:25
 19-APR-1943 06:49
 07-OCT-1943 02:57
 17-MAR-1992 16:45
 25-FEB-1996 21:30
 10-NOV-2038 22:30
 18-JUL-2094 01:56
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:630"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:652: cat datetime18.out"
at_fn_check_prepare_trace "data-out.at:652"
( $at_check_trace; cat datetime18.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "  10-JUN-1648 00:00
  30-JUN-1680 04:50
  24-JUL-1716 12:31
  19-JUN-1768 12:47
  02-AUG-1819 01:26
  27-MAR-1839 20:58
  19-APR-1903 07:36
  25-AUG-1929 15:43
  29-SEP-1941 04:25
  19-APR-1943 06:49
  07-OCT-1943 02:57
  17-MAR-1992 16:45
  25-FEB-1996 21:30
  29-SEP-1941 04:25
  19-APR-1943 06:49
  07-OCT-1943 02:57
  17-MAR-1992 16:45
  25-FEB-1996 21:30
  10-NOV-2038 22:30
  18-JUL-2094 01:56
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:652"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:674: cat datetime19.out"
at_fn_check_prepare_trace "data-out.at:674"
( $at_check_trace; cat datetime19.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "   10-JUN-1648 00:00
   30-JUN-1680 04:50
   24-JUL-1716 12:31
   19-JUN-1768 12:47
   02-AUG-1819 01:26
   27-MAR-1839 20:58
   19-APR-1903 07:36
   25-AUG-1929 15:43
   29-SEP-1941 04:25
   19-APR-1943 06:49
   07-OCT-1943 02:57
   17-MAR-1992 16:45
   25-FEB-1996 21:30
   29-SEP-1941 04:25
   19-APR-1943 06:49
   07-OCT-1943 02:57
   17-MAR-1992 16:45
   25-FEB-1996 21:30
   10-NOV-2038 22:30
   18-JUL-2094 01:56
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:674"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:696: cat datetime20.out"
at_fn_check_prepare_trace "data-out.at:696"
( $at_check_trace; cat datetime20.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo " 10-JUN-1648 00:00:00
 30-JUN-1680 04:50:38
 24-JUL-1716 12:31:35
 19-JUN-1768 12:47:53
 02-AUG-1819 01:26:00
 27-MAR-1839 20:58:11
 19-APR-1903 07:36:05
 25-AUG-1929 15:43:49
 29-SEP-1941 04:25:09
 19-APR-1943 06:49:27
 07-OCT-1943 02:57:52
 17-MAR-1992 16:45:44
 25-FEB-1996 21:30:57
 29-SEP-1941 04:25:09
 19-APR-1943 06:49:27
 07-OCT-1943 02:57:52
 17-MAR-1992 16:45:44
 25-FEB-1996 21:30:57
 10-NOV-2038 22:30:04
 18-JUL-2094 01:56:51
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:696"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:718: cat datetime21.out"
at_fn_check_prepare_trace "data-out.at:718"
( $at_check_trace; cat datetime21.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "  10-JUN-1648 00:00:00
  30-JUN-1680 04:50:38
  24-JUL-1716 12:31:35
  19-JUN-1768 12:47:53
  02-AUG-1819 01:26:00
  27-MAR-1839 20:58:11
  19-APR-1903 07:36:05
  25-AUG-1929 15:43:49
  29-SEP-1941 04:25:09
  19-APR-1943 06:49:27
  07-OCT-1943 02:57:52
  17-MAR-1992 16:45:44
  25-FEB-1996 21:30:57
  29-SEP-1941 04:25:09
  19-APR-1943 06:49:27
  07-OCT-1943 02:57:52
  17-MAR-1992 16:45:44
  25-FEB-1996 21:30:57
  10-NOV-2038 22:30:04
  18-JUL-2094 01:56:51
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:718"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:740: cat datetime22.out"
at_fn_check_prepare_trace "data-out.at:740"
( $at_check_trace; cat datetime22.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "   10-JUN-1648 00:00:00
   30-JUN-1680 04:50:38
   24-JUL-1716 12:31:35
   19-JUN-1768 12:47:53
   02-AUG-1819 01:26:00
   27-MAR-1839 20:58:11
   19-APR-1903 07:36:05
   25-AUG-1929 15:43:49
   29-SEP-1941 04:25:09
   19-APR-1943 06:49:27
   07-OCT-1943 02:57:52
   17-MAR-1992 16:45:44
   25-FEB-1996 21:30:57
   29-SEP-1941 04:25:09
   19-APR-1943 06:49:27
   07-OCT-1943 02:57:52
   17-MAR-1992 16:45:44
   25-FEB-1996 21:30:57
   10-NOV-2038 22:30:04
   18-JUL-2094 01:56:51
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:740"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:762: cat datetime22.1.out"
at_fn_check_prepare_trace "data-out.at:762"
( $at_check_trace; cat datetime22.1.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo " 10-JUN-1648 00:00:00.0
 30-JUN-1680 04:50:38.1
 24-JUL-1716 12:31:35.2
 19-JUN-1768 12:47:53.3
 02-AUG-1819 01:26:00.5
 27-MAR-1839 20:58:11.6
 19-APR-1903 07:36:05.2
 25-AUG-1929 15:43:49.8
 29-SEP-1941 04:25:09.0
 19-APR-1943 06:49:27.5
 07-OCT-1943 02:57:52.0
 17-MAR-1992 16:45:44.9
 25-FEB-1996 21:30:57.8
 29-SEP-1941 04:25:09.2
 19-APR-1943 06:49:27.1
 07-OCT-1943 02:57:52.5
 17-MAR-1992 16:45:44.7
 25-FEB-1996 21:30:57.6
 10-NOV-2038 22:30:04.2
 18-JUL-2094 01:56:51.6
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:762"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:784: cat datetime23.2.out"
at_fn_check_prepare_trace "data-out.at:784"
( $at_check_trace; cat datetime23.2.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo " 10-JUN-1648 00:00:00.00
 30-JUN-1680 04:50:38.12
 24-JUL-1716 12:31:35.23
 19-JUN-1768 12:47:53.35
 02-AUG-1819 01:26:00.46
 27-MAR-1839 20:58:11.57
 19-APR-1903 07:36:05.19
 25-AUG-1929 15:43:49.83
 29-SEP-1941 04:25:09.01
 19-APR-1943 06:49:27.52
 07-OCT-1943 02:57:52.02
 17-MAR-1992 16:45:44.87
 25-FEB-1996 21:30:57.82
 29-SEP-1941 04:25:09.15
 19-APR-1943 06:49:27.11
 07-OCT-1943 02:57:52.48
 17-MAR-1992 16:45:44.66
 25-FEB-1996 21:30:57.58
 10-NOV-2038 22:30:04.18
 18-JUL-2094 01:56:51.59
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:784"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:806: cat datetime24.3.out"
at_fn_check_prepare_trace "data-out.at:806"
( $at_check_trace; cat datetime24.3.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo " 10-JUN-1648 00:00:00.000
 30-JUN-1680 04:50:38.123
 24-JUL-1716 12:31:35.235
 19-JUN-1768 12:47:53.345
 02-AUG-1819 01:26:00.456
 27-MAR-1839 20:58:11.567
 19-APR-1903 07:36:05.190
 25-AUG-1929 15:43:49.831
 29-SEP-1941 04:25:09.013
 19-APR-1943 06:49:27.524
 07-OCT-1943 02:57:52.016
 17-MAR-1992 16:45:44.865
 25-FEB-1996 21:30:57.820
 29-SEP-1941 04:25:09.154
 19-APR-1943 06:49:27.105
 07-OCT-1943 02:57:52.482
 17-MAR-1992 16:45:44.658
 25-FEB-1996 21:30:57.582
 10-NOV-2038 22:30:04.183
 18-JUL-2094 01:56:51.593
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:806"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:828: cat datetime25.4.out"
at_fn_check_prepare_trace "data-out.at:828"
( $at_check_trace; cat datetime25.4.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo " 10-JUN-1648 00:00:00.0000
 30-JUN-1680 04:50:38.1230
 24-JUL-1716 12:31:35.2345
 19-JUN-1768 12:47:53.3450
 02-AUG-1819 01:26:00.4562
 27-MAR-1839 20:58:11.5668
 19-APR-1903 07:36:05.1896
 25-AUG-1929 15:43:49.8313
 29-SEP-1941 04:25:09.0129
 19-APR-1943 06:49:27.5238
 07-OCT-1943 02:57:52.0156
 17-MAR-1992 16:45:44.8653
 25-FEB-1996 21:30:57.8205
 29-SEP-1941 04:25:09.1539
 19-APR-1943 06:49:27.1053
 07-OCT-1943 02:57:52.4823
 17-MAR-1992 16:45:44.6583
 25-FEB-1996 21:30:57.5822
 10-NOV-2038 22:30:04.1835
 18-JUL-2094 01:56:51.5932
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:828"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:850: cat datetime26.5.out"
at_fn_check_prepare_trace "data-out.at:850"
( $at_check_trace; cat datetime26.5.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo " 10-JUN-1648 00:00:00.00000
 30-JUN-1680 04:50:38.12301
 24-JUL-1716 12:31:35.23453
 19-JUN-1768 12:47:53.34505
 02-AUG-1819 01:26:00.45615
 27-MAR-1839 20:58:11.56677
 19-APR-1903 07:36:05.18964
 25-AUG-1929 15:43:49.83132
 29-SEP-1941 04:25:09.01293
 19-APR-1943 06:49:27.52375
 07-OCT-1943 02:57:52.01565
 17-MAR-1992 16:45:44.86529
 25-FEB-1996 21:30:57.82047
 29-SEP-1941 04:25:09.15395
 19-APR-1943 06:49:27.10533
 07-OCT-1943 02:57:52.48229
 17-MAR-1992 16:45:44.65827
 25-FEB-1996 21:30:57.58219
 10-NOV-2038 22:30:04.18347
 18-JUL-2094 01:56:51.59319
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:850"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:872: cat ymdhms16.out"
at_fn_check_prepare_trace "data-out.at:872"
( $at_check_trace; cat ymdhms16.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo " 1648-06-10 00:00
 1680-06-30 04:50
 1716-07-24 12:31
 1768-06-19 12:47
 1819-08-02 01:26
 1839-03-27 20:58
 1903-04-19 07:36
 1929-08-25 15:43
 1941-09-29 04:25
 1943-04-19 06:49
 1943-10-07 02:57
 1992-03-17 16:45
 1996-02-25 21:30
 1941-09-29 04:25
 1943-04-19 06:49
 1943-10-07 02:57
 1992-03-17 16:45
 1996-02-25 21:30
 2038-11-10 22:30
 2094-07-18 01:56
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:872"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:894: cat ymdhms17.out"
at_fn_check_prepare_trace "data-out.at:894"
( $at_check_trace; cat ymdhms17.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "  1648-06-10 00:00
  1680-06-30 04:50
  1716-07-24 12:31
  1768-06-19 12:47
  1819-08-02 01:26
  1839-03-27 20:58
  1903-04-19 07:36
  1929-08-25 15:43
  1941-09-29 04:25
  1943-04-19 06:49
  1943-10-07 02:57
  1992-03-17 16:45
  1996-02-25 21:30
  1941-09-29 04:25
  1943-04-19 06:49
  1943-10-07 02:57
  1992-03-17 16:45
  1996-02-25 21:30
  2038-11-10 22:30
  2094-07-18 01:56
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:894"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:916: cat ymdhms18.out"
at_fn_check_prepare_trace "data-out.at:916"
( $at_check_trace; cat ymdhms18.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "   1648-06-10 00:00
   1680-06-30 04:50
   1716-07-24 12:31
   1768-06-19 12:47
   1819-08-02 01:26
   1839-03-27 20:58
   1903-04-19 07:36
   1929-08-25 15:43
   1941-09-29 04:25
   1943-04-19 06:49
   1943-10-07 02:57
   1992-03-17 16:45
   1996-02-25 21:30
   1941-09-29 04:25
   1943-04-19 06:49
   1943-10-07 02:57
   1992-03-17 16:45
   1996-02-25 21:30
   2038-11-10 22:30
   2094-07-18 01:56
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:916"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:938: cat ymdhms19.out"
at_fn_check_prepare_trace "data-out.at:938"
( $at_check_trace; cat ymdhms19.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo " 1648-06-10 00:00:00
 1680-06-30 04:50:38
 1716-07-24 12:31:35
 1768-06-19 12:47:53
 1819-08-02 01:26:00
 1839-03-27 20:58:11
 1903-04-19 07:36:05
 1929-08-25 15:43:49
 1941-09-29 04:25:09
 1943-04-19 06:49:27
 1943-10-07 02:57:52
 1992-03-17 16:45:44
 1996-02-25 21:30:57
 1941-09-29 04:25:09
 1943-04-19 06:49:27
 1943-10-07 02:57:52
 1992-03-17 16:45:44
 1996-02-25 21:30:57
 2038-11-10 22:30:04
 2094-07-18 01:56:51
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:938"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:960: cat ymdhms20.out"
at_fn_check_prepare_trace "data-out.at:960"
( $at_check_trace; cat ymdhms20.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "  1648-06-10 00:00:00
  1680-06-30 04:50:38
  1716-07-24 12:31:35
  1768-06-19 12:47:53
  1819-08-02 01:26:00
  1839-03-27 20:58:11
  1903-04-19 07:36:05
  1929-08-25 15:43:49
  1941-09-29 04:25:09
  1943-04-19 06:49:27
  1943-10-07 02:57:52
  1992-03-17 16:45:44
  1996-02-25 21:30:57
  1941-09-29 04:25:09
  1943-04-19 06:49:27
  1943-10-07 02:57:52
  1992-03-17 16:45:44
  1996-02-25 21:30:57
  2038-11-10 22:30:04
  2094-07-18 01:56:51
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:960"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:982: cat ymdhms21.out"
at_fn_check_prepare_trace "data-out.at:982"
( $at_check_trace; cat ymdhms21.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "   1648-06-10 00:00:00
   1680-06-30 04:50:38
   1716-07-24 12:31:35
   1768-06-19 12:47:53
   1819-08-02 01:26:00
   1839-03-27 20:58:11
   1903-04-19 07:36:05
   1929-08-25 15:43:49
   1941-09-29 04:25:09
   1943-04-19 06:49:27
   1943-10-07 02:57:52
   1992-03-17 16:45:44
   1996-02-25 21:30:57
   1941-09-29 04:25:09
   1943-04-19 06:49:27
   1943-10-07 02:57:52
   1992-03-17 16:45:44
   1996-02-25 21:30:57
   2038-11-10 22:30:04
   2094-07-18 01:56:51
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:982"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:1004: cat ymdhms21.1.out"
at_fn_check_prepare_trace "data-out.at:1004"
( $at_check_trace; cat ymdhms21.1.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo " 1648-06-10 00:00:00.0
 1680-06-30 04:50:38.1
 1716-07-24 12:31:35.2
 1768-06-19 12:47:53.3
 1819-08-02 01:26:00.5
 1839-03-27 20:58:11.6
 1903-04-19 07:36:05.2
 1929-08-25 15:43:49.8
 1941-09-29 04:25:09.0
 1943-04-19 06:49:27.5
 1943-10-07 02:57:52.0
 1992-03-17 16:45:44.9
 1996-02-25 21:30:57.8
 1941-09-29 04:25:09.2
 1943-04-19 06:49:27.1
 1943-10-07 02:57:52.5
 1992-03-17 16:45:44.7
 1996-02-25 21:30:57.6
 2038-11-10 22:30:04.2
 2094-07-18 01:56:51.6
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:1004"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:1026: cat ymdhms22.2.out"
at_fn_check_prepare_trace "data-out.at:1026"
( $at_check_trace; cat ymdhms22.2.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo " 1648-06-10 00:00:00.00
 1680-06-30 04:50:38.12
 1716-07-24 12:31:35.23
 1768-06-19 12:47:53.35
 1819-08-02 01:26:00.46
 1839-03-27 20:58:11.57
 1903-04-19 07:36:05.19
 1929-08-25 15:43:49.83
 1941-09-29 04:25:09.01
 1943-04-19 06:49:27.52
 1943-10-07 02:57:52.02
 1992-03-17 16:45:44.87
 1996-02-25 21:30:57.82
 1941-09-29 04:25:09.15
 1943-04-19 06:49:27.11
 1943-10-07 02:57:52.48
 1992-03-17 16:45:44.66
 1996-02-25 21:30:57.58
 2038-11-10 22:30:04.18
 2094-07-18 01:56:51.59
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:1026"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:1048: cat ymdhms23.3.out"
at_fn_check_prepare_trace "data-out.at:1048"
( $at_check_trace; cat ymdhms23.3.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo " 1648-06-10 00:00:00.000
 1680-06-30 04:50:38.123
 1716-07-24 12:31:35.235
 1768-06-19 12:47:53.345
 1819-08-02 01:26:00.456
 1839-03-27 20:58:11.567
 1903-04-19 07:36:05.190
 1929-08-25 15:43:49.831
 1941-09-29 04:25:09.013
 1943-04-19 06:49:27.524
 1943-10-07 02:57:52.016
 1992-03-17 16:45:44.865
 1996-02-25 21:30:57.820
 1941-09-29 04:25:09.154
 1943-04-19 06:49:27.105
 1943-10-07 02:57:52.482
 1992-03-17 16:45:44.658
 1996-02-25 21:30:57.582
 2038-11-10 22:30:04.183
 2094-07-18 01:56:51.593
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:1048"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:1070: cat ymdhms24.4.out"
at_fn_check_prepare_trace "data-out.at:1070"
( $at_check_trace; cat ymdhms24.4.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo " 1648-06-10 00:00:00.0000
 1680-06-30 04:50:38.1230
 1716-07-24 12:31:35.2345
 1768-06-19 12:47:53.3450
 1819-08-02 01:26:00.4562
 1839-03-27 20:58:11.5668
 1903-04-19 07:36:05.1896
 1929-08-25 15:43:49.8313
 1941-09-29 04:25:09.0129
 1943-04-19 06:49:27.5238
 1943-10-07 02:57:52.0156
 1992-03-17 16:45:44.8653
 1996-02-25 21:30:57.8205
 1941-09-29 04:25:09.1539
 1943-04-19 06:49:27.1053
 1943-10-07 02:57:52.4823
 1992-03-17 16:45:44.6583
 1996-02-25 21:30:57.5822
 2038-11-10 22:30:04.1835
 2094-07-18 01:56:51.5932
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:1070"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:1092: cat ymdhms25.5.out"
at_fn_check_prepare_trace "data-out.at:1092"
( $at_check_trace; cat ymdhms25.5.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo " 1648-06-10 00:00:00.00000
 1680-06-30 04:50:38.12301
 1716-07-24 12:31:35.23453
 1768-06-19 12:47:53.34505
 1819-08-02 01:26:00.45615
 1839-03-27 20:58:11.56677
 1903-04-19 07:36:05.18964
 1929-08-25 15:43:49.83132
 1941-09-29 04:25:09.01293
 1943-04-19 06:49:27.52375
 1943-10-07 02:57:52.01565
 1992-03-17 16:45:44.86529
 1996-02-25 21:30:57.82047
 1941-09-29 04:25:09.15395
 1943-04-19 06:49:27.10533
 1943-10-07 02:57:52.48229
 1992-03-17 16:45:44.65827
 1996-02-25 21:30:57.58219
 2038-11-10 22:30:04.18347
 2094-07-18 01:56:51.59319
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:1092"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_25
#AT_START_26
at_fn_group_banner 26 'data-out.at:1116' \
  "output invalid dates" "                           " 3
at_xfail=no
(
  $as_echo "26. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >bad-date.sps <<'_ATEOF'
set epoch=1930.
set errors=none.
data list list notable/x.
begin data.
0
-1
3e11
end data.
print outfile='bad-date.out'/x(date9) ' | ' x(date11).
print outfile='bad-date.out'/x(adate8) ' | ' x(adate10).
print outfile='bad-date.out'/x(edate8) ' | ' x(edate10).
print outfile='bad-date.out'/x(jdate5) ' | ' x(jdate7).
print outfile='bad-date.out'/x(sdate8) ' | ' x(sdate10).
print outfile='bad-date.out'/x(qyr6) ' | ' x(qyr8).
print outfile='bad-date.out'/x(moyr6) ' | ' x(moyr8).
print outfile='bad-date.out'/x(wkyr8) ' | ' x(wkyr10).
print outfile='bad-date.out'/x(datetime17).
print outfile='bad-date.out'/x(datetime18).
print outfile='bad-date.out'/x(datetime19).
print outfile='bad-date.out'/x(datetime20).
print outfile='bad-date.out'/x(datetime21).
print outfile='bad-date.out'/x(datetime22).
print outfile='bad-date.out'/x(datetime22.1).
print outfile='bad-date.out'/x(datetime23.2).
print outfile='bad-date.out'/x(datetime24.3).
print outfile='bad-date.out'/x(datetime25.4).
print outfile='bad-date.out'/x(datetime26.5).
execute.
_ATEOF

{ set +x
$as_echo "$at_srcdir/data-out.at:1148: pspp -O format=csv bad-date.sps"
at_fn_check_prepare_trace "data-out.at:1148"
( $at_check_trace; pspp -O format=csv bad-date.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:1148"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:1149: cat bad-date.out"
at_fn_check_prepare_trace "data-out.at:1149"
( $at_check_trace; cat bad-date.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "         . |           .
        . |          .
        . |          .
     . |       .
        . |          .
      . |        .
      . |        .
        . |          .
                 .
                  .
                   .
                    .
                     .
                      .
                     . 
                     .  
                     .   
                     .    
                     .     
         . |           .
        . |          .
        . |          .
     . |       .
        . |          .
      . |        .
      . |        .
        . |          .
                 .
                  .
                   .
                    .
                     .
                      .
                     . 
                     .  
                     .   
                     .    
                     .     
 ********* | ***********
 ******** | **********
 ******** | **********
 ***** | *******
 ******** | **********
 ****** | ********
 ****** | ********
 ******** | **********
 28-MAY-**** 05:20
  28-MAY-**** 05:20
   28-MAY-**** 05:20
 28-MAY-**** 05:20:00
  28-MAY-**** 05:20:00
   28-MAY-**** 05:20:00
 28-MAY-**** 05:20:00.0
 28-MAY-**** 05:20:00.00
 28-MAY-**** 05:20:00.000
 28-MAY-**** 05:20:00.0000
 28-MAY-**** 05:20:00.00000
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:1149"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_26
#AT_START_27
at_fn_group_banner 27 'data-out.at:1210' \
  "time output" "                                    " 3
at_xfail=no
(
  $as_echo "27. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >time-out.sps <<'_ATEOF'
set epoch=1930.
data list notable /x 1-30 (dtime).
begin data.
0 0:0:0
0 4:50:38.12301
0 12:31:35.23453
0 12:47:53.34505
0 1:26:0.45615
0 20:58:11.56677
0 7:36:5.18964
0 15:43:49.83132
0 4:25:9.01293
0 6:49:27.52375
0 2:57:52.01565
0 16:45:44.86529
0 21:30:57.82047
0 4:25:9.15395
0 6:49:27.10533
0 2:57:52.48229
0 16:45:44.65827
0 21:30:57.58219
0 22:30:4.18347
0 1:56:51.59319
1 0:0:0
1 4:50:38.12301
1 12:31:35.23453
1 12:47:53.34505
1 1:26:0.45615
1 20:58:11.56677
1 7:36:5.18964
1 15:43:49.83132
1 4:25:9.01293
1 6:49:27.52375
1 2:57:52.01565
1 16:45:44.86529
1 21:30:57.82047
1 4:25:9.15395
1 6:49:27.10533
1 2:57:52.48229
1 16:45:44.65827
1 21:30:57.58219
1 22:30:4.18347
1 1:56:51.59319
2 0:0:0
2 4:50:38.12301
2 12:31:35.23453
2 12:47:53.34505
2 1:26:0.45615
2 20:58:11.56677
2 7:36:5.18964
2 15:43:49.83132
2 4:25:9.01293
2 6:49:27.52375
2 2:57:52.01565
2 16:45:44.86529
2 21:30:57.82047
2 4:25:9.15395
2 6:49:27.10533
2 2:57:52.48229
2 16:45:44.65827
2 21:30:57.58219
2 22:30:4.18347
2 1:56:51.59319
54 0:0:0
54 4:50:38.12301
54 12:31:35.23453
54 12:47:53.34505
54 1:26:0.45615
54 20:58:11.56677
54 7:36:5.18964
54 15:43:49.83132
54 4:25:9.01293
54 6:49:27.52375
54 2:57:52.01565
54 16:45:44.86529
54 21:30:57.82047
54 4:25:9.15395
54 6:49:27.10533
54 2:57:52.48229
54 16:45:44.65827
54 21:30:57.58219
54 22:30:4.18347
54 1:56:51.59319
681 0:0:0
681 4:50:38.12301
681 12:31:35.23453
681 12:47:53.34505
681 1:26:0.45615
681 20:58:11.56677
681 7:36:5.18964
681 15:43:49.83132
681 4:25:9.01293
681 6:49:27.52375
681 2:57:52.01565
681 16:45:44.86529
681 21:30:57.82047
681 4:25:9.15395
681 6:49:27.10533
681 2:57:52.48229
681 16:45:44.65827
681 21:30:57.58219
681 22:30:4.18347
681 1:56:51.59319
-0 0:0:0
-0 4:50:38.12301
-0 12:31:35.23453
-0 12:47:53.34505
-0 1:26:0.45615
-0 20:58:11.56677
-0 7:36:5.18964
-0 15:43:49.83132
-0 4:25:9.01293
-0 6:49:27.52375
-0 2:57:52.01565
-0 16:45:44.86529
-0 21:30:57.82047
-0 4:25:9.15395
-0 6:49:27.10533
-0 2:57:52.48229
-0 16:45:44.65827
-0 21:30:57.58219
-0 22:30:4.18347
-0 1:56:51.59319
-1 0:0:0
-1 4:50:38.12301
-1 12:31:35.23453
-1 12:47:53.34505
-1 1:26:0.45615
-1 20:58:11.56677
-1 7:36:5.18964
-1 15:43:49.83132
-1 4:25:9.01293
-1 6:49:27.52375
-1 2:57:52.01565
-1 16:45:44.86529
-1 21:30:57.82047
-1 4:25:9.15395
-1 6:49:27.10533
-1 2:57:52.48229
-1 16:45:44.65827
-1 21:30:57.58219
-1 22:30:4.18347
-1 1:56:51.59319
-2 0:0:0
-2 4:50:38.12301
-2 12:31:35.23453
-2 12:47:53.34505
-2 1:26:0.45615
-2 20:58:11.56677
-2 7:36:5.18964
-2 15:43:49.83132
-2 4:25:9.01293
-2 6:49:27.52375
-2 2:57:52.01565
-2 16:45:44.86529
-2 21:30:57.82047
-2 4:25:9.15395
-2 6:49:27.10533
-2 2:57:52.48229
-2 16:45:44.65827
-2 21:30:57.58219
-2 22:30:4.18347
-2 1:56:51.59319
-54 0:0:0
-54 4:50:38.12301
-54 12:31:35.23453
-54 12:47:53.34505
-54 1:26:0.45615
-54 20:58:11.56677
-54 7:36:5.18964
-54 15:43:49.83132
-54 4:25:9.01293
-54 6:49:27.52375
-54 2:57:52.01565
-54 16:45:44.86529
-54 21:30:57.82047
-54 4:25:9.15395
-54 6:49:27.10533
-54 2:57:52.48229
-54 16:45:44.65827
-54 21:30:57.58219
-54 22:30:4.18347
-54 1:56:51.59319
-681 0:0:0
-681 4:50:38.12301
-681 12:31:35.23453
-681 12:47:53.34505
-681 1:26:0.45615
-681 20:58:11.56677
-681 7:36:5.18964
-681 15:43:49.83132
-681 4:25:9.01293
-681 6:49:27.52375
-681 2:57:52.01565
-681 16:45:44.86529
-681 21:30:57.82047
-681 4:25:9.15395
-681 6:49:27.10533
-681 2:57:52.48229
-681 16:45:44.65827
-681 21:30:57.58219
-681 22:30:4.18347
-681 1:56:51.59319
end data.
print outfile='time5.out'/x(time5).
print outfile='time6.out'/x(time6).
print outfile='time7.out'/x(time7).
print outfile='time8.out'/x(time8).
print outfile='time9.out'/x(time9).
print outfile='time10.out'/x(time10).
print outfile='time10.1.out'/x(time10.1).
print outfile='time11.out'/x(time11).
print outfile='time11.1.out'/x(time11.1).
print outfile='time11.2.out'/x(time11.2).
print outfile='time12.out'/x(time12).
print outfile='time12.1.out'/x(time12.1).
print outfile='time12.2.out'/x(time12.2).
print outfile='time12.3.out'/x(time12.3).
print outfile='time13.out'/x(time13).
print outfile='time13.1.out'/x(time13.1).
print outfile='time13.2.out'/x(time13.2).
print outfile='time13.3.out'/x(time13.3).
print outfile='time13.4.out'/x(time13.4).
print outfile='time14.out'/x(time14).
print outfile='time14.1.out'/x(time14.1).
print outfile='time14.2.out'/x(time14.2).
print outfile='time14.3.out'/x(time14.3).
print outfile='time14.4.out'/x(time14.4).
print outfile='time14.5.out'/x(time14.5).
print outfile='time15.out'/x(time15).
print outfile='time15.1.out'/x(time15.1).
print outfile='time15.2.out'/x(time15.2).
print outfile='time15.3.out'/x(time15.3).
print outfile='time15.4.out'/x(time15.4).
print outfile='time15.5.out'/x(time15.5).
print outfile='time15.6.out'/x(time15.6).
print outfile='dtime8.out'/x(dtime8).
print outfile='dtime9.out'/x(dtime9).
print outfile='dtime10.out'/x(dtime10).
print outfile='dtime11.out'/x(dtime11).
print outfile='dtime12.out'/x(dtime12).
print outfile='dtime13.out'/x(dtime13).
print outfile='dtime13.1.out'/x(dtime13.1).
print outfile='dtime14.out'/x(dtime14).
print outfile='dtime14.1.out'/x(dtime14.1).
print outfile='dtime14.2.out'/x(dtime14.2).
print outfile='dtime15.out'/x(dtime15).
print outfile='dtime15.1.out'/x(dtime15.1).
print outfile='dtime15.2.out'/x(dtime15.2).
print outfile='dtime15.3.out'/x(dtime15.3).
print outfile='dtime16.out'/x(dtime16).
print outfile='dtime16.1.out'/x(dtime16.1).
print outfile='dtime16.2.out'/x(dtime16.2).
print outfile='dtime16.3.out'/x(dtime16.3).
print outfile='dtime16.4.out'/x(dtime16.4).
print outfile='dtime17.out'/x(dtime17).
print outfile='dtime17.1.out'/x(dtime17.1).
print outfile='dtime17.2.out'/x(dtime17.2).
print outfile='dtime17.3.out'/x(dtime17.3).
print outfile='dtime17.4.out'/x(dtime17.4).
print outfile='dtime17.5.out'/x(dtime17.5).
print outfile='dtime18.out'/x(dtime18).
print outfile='dtime18.1.out'/x(dtime18.1).
print outfile='dtime18.2.out'/x(dtime18.2).
print outfile='dtime18.3.out'/x(dtime18.3).
print outfile='dtime18.4.out'/x(dtime18.4).
print outfile='dtime18.5.out'/x(dtime18.5).
print outfile='dtime18.6.out'/x(dtime18.6).
print outfile='mtime5.out'/x(mtime5).
print outfile='mtime6.out'/x(mtime6).
print outfile='mtime7.out'/x(mtime7).
print outfile='mtime7.1.out'/x(mtime7.1).
print outfile='mtime8.out'/x(mtime8).
print outfile='mtime8.1.out'/x(mtime8.1).
print outfile='mtime8.2.out'/x(mtime8.2).
print outfile='mtime9.out'/x(mtime9).
print outfile='mtime9.1.out'/x(mtime9.1).
print outfile='mtime9.2.out'/x(mtime9.2).
print outfile='mtime9.3.out'/x(mtime9.3).
print outfile='mtime10.out'/x(mtime10).
print outfile='mtime10.1.out'/x(mtime10.1).
print outfile='mtime10.2.out'/x(mtime10.2).
print outfile='mtime10.3.out'/x(mtime10.3).
print outfile='mtime10.4.out'/x(mtime10.4).
print outfile='mtime11.out'/x(mtime11).
print outfile='mtime11.1.out'/x(mtime11.1).
print outfile='mtime11.2.out'/x(mtime11.2).
print outfile='mtime11.3.out'/x(mtime11.3).
print outfile='mtime11.4.out'/x(mtime11.4).
print outfile='mtime11.5.out'/x(mtime11.5).
print outfile='mtime12.5.out'/x(mtime12.5).
print outfile='mtime13.5.out'/x(mtime13.5).
print outfile='mtime14.5.out'/x(mtime14.5).
print outfile='mtime15.5.out'/x(mtime15.5).
print outfile='mtime16.5.out'/x(mtime16.5).
execute.
_ATEOF

{ set +x
$as_echo "$at_srcdir/data-out.at:1510: pspp -O format=csv time-out.sps"
at_fn_check_prepare_trace "data-out.at:1510"
( $at_check_trace; pspp -O format=csv time-out.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:1510"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:1511: cat time5.out"
at_fn_check_prepare_trace "data-out.at:1511"
( $at_check_trace; cat time5.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "  0:00
  4:50
 12:31
 12:47
  1:26
 20:58
  7:36
 15:43
  4:25
  6:49
  2:57
 16:45
 21:30
  4:25
  6:49
  2:57
 16:45
 21:30
 22:30
  1:56
 24:00
 28:50
 36:31
 36:47
 25:26
 44:58
 31:36
 39:43
 28:25
 30:49
 26:57
 40:45
 45:30
 28:25
 30:49
 26:57
 40:45
 45:30
 46:30
 25:56
 48:00
 52:50
 60:31
 60:47
 49:26
 68:58
 55:36
 63:43
 52:25
 54:49
 50:57
 64:45
 69:30
 52:25
 54:49
 50:57
 64:45
 69:30
 70:30
 49:56
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
  0:00
 -4:50
 *****
 *****
 -1:26
 *****
 -7:36
 *****
 -4:25
 -6:49
 -2:57
 *****
 *****
 -4:25
 -6:49
 -2:57
 *****
 *****
 *****
 -1:56
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:1511"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:1713: cat time6.out"
at_fn_check_prepare_trace "data-out.at:1713"
( $at_check_trace; cat time6.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "   0:00
   4:50
  12:31
  12:47
   1:26
  20:58
   7:36
  15:43
   4:25
   6:49
   2:57
  16:45
  21:30
   4:25
   6:49
   2:57
  16:45
  21:30
  22:30
   1:56
  24:00
  28:50
  36:31
  36:47
  25:26
  44:58
  31:36
  39:43
  28:25
  30:49
  26:57
  40:45
  45:30
  28:25
  30:49
  26:57
  40:45
  45:30
  46:30
  25:56
  48:00
  52:50
  60:31
  60:47
  49:26
  68:58
  55:36
  63:43
  52:25
  54:49
  50:57
  64:45
  69:30
  52:25
  54:49
  50:57
  64:45
  69:30
  70:30
  49:56
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
   0:00
  -4:50
 -12:31
 -12:47
  -1:26
 -20:58
  -7:36
 -15:43
  -4:25
  -6:49
  -2:57
 -16:45
 -21:30
  -4:25
  -6:49
  -2:57
 -16:45
 -21:30
 -22:30
  -1:56
 -24:00
 -28:50
 -36:31
 -36:47
 -25:26
 -44:58
 -31:36
 -39:43
 -28:25
 -30:49
 -26:57
 -40:45
 -45:30
 -28:25
 -30:49
 -26:57
 -40:45
 -45:30
 -46:30
 -25:56
 -48:00
 -52:50
 -60:31
 -60:47
 -49:26
 -68:58
 -55:36
 -63:43
 -52:25
 -54:49
 -50:57
 -64:45
 -69:30
 -52:25
 -54:49
 -50:57
 -64:45
 -69:30
 -70:30
 -49:56
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:1713"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:1915: cat time7.out"
at_fn_check_prepare_trace "data-out.at:1915"
( $at_check_trace; cat time7.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo " 0:00:00
 4:50:38
   12:31
   12:47
 1:26:00
   20:58
 7:36:05
   15:43
 4:25:09
 6:49:27
 2:57:52
   16:45
   21:30
 4:25:09
 6:49:27
 2:57:52
   16:45
   21:30
   22:30
 1:56:51
   24:00
   28:50
   36:31
   36:47
   25:26
   44:58
   31:36
   39:43
   28:25
   30:49
   26:57
   40:45
   45:30
   28:25
   30:49
   26:57
   40:45
   45:30
   46:30
   25:56
   48:00
   52:50
   60:31
   60:47
   49:26
   68:58
   55:36
   63:43
   52:25
   54:49
   50:57
   64:45
   69:30
   52:25
   54:49
   50:57
   64:45
   69:30
   70:30
   49:56
 1296:00
 1300:50
 1308:31
 1308:47
 1297:26
 1316:58
 1303:36
 1311:43
 1300:25
 1302:49
 1298:57
 1312:45
 1317:30
 1300:25
 1302:49
 1298:57
 1312:45
 1317:30
 1318:30
 1297:56
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 0:00:00
   -4:50
  -12:31
  -12:47
   -1:26
  -20:58
   -7:36
  -15:43
   -4:25
   -6:49
   -2:57
  -16:45
  -21:30
   -4:25
   -6:49
   -2:57
  -16:45
  -21:30
  -22:30
   -1:56
  -24:00
  -28:50
  -36:31
  -36:47
  -25:26
  -44:58
  -31:36
  -39:43
  -28:25
  -30:49
  -26:57
  -40:45
  -45:30
  -28:25
  -30:49
  -26:57
  -40:45
  -45:30
  -46:30
  -25:56
  -48:00
  -52:50
  -60:31
  -60:47
  -49:26
  -68:58
  -55:36
  -63:43
  -52:25
  -54:49
  -50:57
  -64:45
  -69:30
  -52:25
  -54:49
  -50:57
  -64:45
  -69:30
  -70:30
  -49:56
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:1915"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:2117: cat time8.out"
at_fn_check_prepare_trace "data-out.at:2117"
( $at_check_trace; cat time8.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "  0:00:00
  4:50:38
 12:31:35
 12:47:53
  1:26:00
 20:58:11
  7:36:05
 15:43:49
  4:25:09
  6:49:27
  2:57:52
 16:45:44
 21:30:57
  4:25:09
  6:49:27
  2:57:52
 16:45:44
 21:30:57
 22:30:04
  1:56:51
 24:00:00
 28:50:38
 36:31:35
 36:47:53
 25:26:00
 44:58:11
 31:36:05
 39:43:49
 28:25:09
 30:49:27
 26:57:52
 40:45:44
 45:30:57
 28:25:09
 30:49:27
 26:57:52
 40:45:44
 45:30:57
 46:30:04
 25:56:51
 48:00:00
 52:50:38
 60:31:35
 60:47:53
 49:26:00
 68:58:11
 55:36:05
 63:43:49
 52:25:09
 54:49:27
 50:57:52
 64:45:44
 69:30:57
 52:25:09
 54:49:27
 50:57:52
 64:45:44
 69:30:57
 70:30:04
 49:56:51
  1296:00
  1300:50
  1308:31
  1308:47
  1297:26
  1316:58
  1303:36
  1311:43
  1300:25
  1302:49
  1298:57
  1312:45
  1317:30
  1300:25
  1302:49
  1298:57
  1312:45
  1317:30
  1318:30
  1297:56
 16344:00
 16348:50
 16356:31
 16356:47
 16345:26
 16364:58
 16351:36
 16359:43
 16348:25
 16350:49
 16346:57
 16360:45
 16365:30
 16348:25
 16350:49
 16346:57
 16360:45
 16365:30
 16366:30
 16345:56
  0:00:00
 -4:50:38
   -12:31
   -12:47
 -1:26:00
   -20:58
 -7:36:05
   -15:43
 -4:25:09
 -6:49:27
 -2:57:52
   -16:45
   -21:30
 -4:25:09
 -6:49:27
 -2:57:52
   -16:45
   -21:30
   -22:30
 -1:56:51
   -24:00
   -28:50
   -36:31
   -36:47
   -25:26
   -44:58
   -31:36
   -39:43
   -28:25
   -30:49
   -26:57
   -40:45
   -45:30
   -28:25
   -30:49
   -26:57
   -40:45
   -45:30
   -46:30
   -25:56
   -48:00
   -52:50
   -60:31
   -60:47
   -49:26
   -68:58
   -55:36
   -63:43
   -52:25
   -54:49
   -50:57
   -64:45
   -69:30
   -52:25
   -54:49
   -50:57
   -64:45
   -69:30
   -70:30
   -49:56
 -1296:00
 -1300:50
 -1308:31
 -1308:47
 -1297:26
 -1316:58
 -1303:36
 -1311:43
 -1300:25
 -1302:49
 -1298:57
 -1312:45
 -1317:30
 -1300:25
 -1302:49
 -1298:57
 -1312:45
 -1317:30
 -1318:30
 -1297:56
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:2117"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:2319: cat time9.out"
at_fn_check_prepare_trace "data-out.at:2319"
( $at_check_trace; cat time9.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "   0:00:00
   4:50:38
  12:31:35
  12:47:53
   1:26:00
  20:58:11
   7:36:05
  15:43:49
   4:25:09
   6:49:27
   2:57:52
  16:45:44
  21:30:57
   4:25:09
   6:49:27
   2:57:52
  16:45:44
  21:30:57
  22:30:04
   1:56:51
  24:00:00
  28:50:38
  36:31:35
  36:47:53
  25:26:00
  44:58:11
  31:36:05
  39:43:49
  28:25:09
  30:49:27
  26:57:52
  40:45:44
  45:30:57
  28:25:09
  30:49:27
  26:57:52
  40:45:44
  45:30:57
  46:30:04
  25:56:51
  48:00:00
  52:50:38
  60:31:35
  60:47:53
  49:26:00
  68:58:11
  55:36:05
  63:43:49
  52:25:09
  54:49:27
  50:57:52
  64:45:44
  69:30:57
  52:25:09
  54:49:27
  50:57:52
  64:45:44
  69:30:57
  70:30:04
  49:56:51
   1296:00
   1300:50
   1308:31
   1308:47
   1297:26
   1316:58
   1303:36
   1311:43
   1300:25
   1302:49
   1298:57
   1312:45
   1317:30
   1300:25
   1302:49
   1298:57
   1312:45
   1317:30
   1318:30
   1297:56
  16344:00
  16348:50
  16356:31
  16356:47
  16345:26
  16364:58
  16351:36
  16359:43
  16348:25
  16350:49
  16346:57
  16360:45
  16365:30
  16348:25
  16350:49
  16346:57
  16360:45
  16365:30
  16366:30
  16345:56
   0:00:00
  -4:50:38
 -12:31:35
 -12:47:53
  -1:26:00
 -20:58:11
  -7:36:05
 -15:43:49
  -4:25:09
  -6:49:27
  -2:57:52
 -16:45:44
 -21:30:57
  -4:25:09
  -6:49:27
  -2:57:52
 -16:45:44
 -21:30:57
 -22:30:04
  -1:56:51
 -24:00:00
 -28:50:38
 -36:31:35
 -36:47:53
 -25:26:00
 -44:58:11
 -31:36:05
 -39:43:49
 -28:25:09
 -30:49:27
 -26:57:52
 -40:45:44
 -45:30:57
 -28:25:09
 -30:49:27
 -26:57:52
 -40:45:44
 -45:30:57
 -46:30:04
 -25:56:51
 -48:00:00
 -52:50:38
 -60:31:35
 -60:47:53
 -49:26:00
 -68:58:11
 -55:36:05
 -63:43:49
 -52:25:09
 -54:49:27
 -50:57:52
 -64:45:44
 -69:30:57
 -52:25:09
 -54:49:27
 -50:57:52
 -64:45:44
 -69:30:57
 -70:30:04
 -49:56:51
  -1296:00
  -1300:50
  -1308:31
  -1308:47
  -1297:26
  -1316:58
  -1303:36
  -1311:43
  -1300:25
  -1302:49
  -1298:57
  -1312:45
  -1317:30
  -1300:25
  -1302:49
  -1298:57
  -1312:45
  -1317:30
  -1318:30
  -1297:56
 -16344:00
 -16348:50
 -16356:31
 -16356:47
 -16345:26
 -16364:58
 -16351:36
 -16359:43
 -16348:25
 -16350:49
 -16346:57
 -16360:45
 -16365:30
 -16348:25
 -16350:49
 -16346:57
 -16360:45
 -16365:30
 -16366:30
 -16345:56
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:2319"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:2521: cat time10.out"
at_fn_check_prepare_trace "data-out.at:2521"
( $at_check_trace; cat time10.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "    0:00:00
    4:50:38
   12:31:35
   12:47:53
    1:26:00
   20:58:11
    7:36:05
   15:43:49
    4:25:09
    6:49:27
    2:57:52
   16:45:44
   21:30:57
    4:25:09
    6:49:27
    2:57:52
   16:45:44
   21:30:57
   22:30:04
    1:56:51
   24:00:00
   28:50:38
   36:31:35
   36:47:53
   25:26:00
   44:58:11
   31:36:05
   39:43:49
   28:25:09
   30:49:27
   26:57:52
   40:45:44
   45:30:57
   28:25:09
   30:49:27
   26:57:52
   40:45:44
   45:30:57
   46:30:04
   25:56:51
   48:00:00
   52:50:38
   60:31:35
   60:47:53
   49:26:00
   68:58:11
   55:36:05
   63:43:49
   52:25:09
   54:49:27
   50:57:52
   64:45:44
   69:30:57
   52:25:09
   54:49:27
   50:57:52
   64:45:44
   69:30:57
   70:30:04
   49:56:51
 1296:00:00
 1300:50:38
 1308:31:35
 1308:47:53
 1297:26:00
 1316:58:11
 1303:36:05
 1311:43:49
 1300:25:09
 1302:49:27
 1298:57:52
 1312:45:44
 1317:30:57
 1300:25:09
 1302:49:27
 1298:57:52
 1312:45:44
 1317:30:57
 1318:30:04
 1297:56:51
   16344:00
   16348:50
   16356:31
   16356:47
   16345:26
   16364:58
   16351:36
   16359:43
   16348:25
   16350:49
   16346:57
   16360:45
   16365:30
   16348:25
   16350:49
   16346:57
   16360:45
   16365:30
   16366:30
   16345:56
    0:00:00
   -4:50:38
  -12:31:35
  -12:47:53
   -1:26:00
  -20:58:11
   -7:36:05
  -15:43:49
   -4:25:09
   -6:49:27
   -2:57:52
  -16:45:44
  -21:30:57
   -4:25:09
   -6:49:27
   -2:57:52
  -16:45:44
  -21:30:57
  -22:30:04
   -1:56:51
  -24:00:00
  -28:50:38
  -36:31:35
  -36:47:53
  -25:26:00
  -44:58:11
  -31:36:05
  -39:43:49
  -28:25:09
  -30:49:27
  -26:57:52
  -40:45:44
  -45:30:57
  -28:25:09
  -30:49:27
  -26:57:52
  -40:45:44
  -45:30:57
  -46:30:04
  -25:56:51
  -48:00:00
  -52:50:38
  -60:31:35
  -60:47:53
  -49:26:00
  -68:58:11
  -55:36:05
  -63:43:49
  -52:25:09
  -54:49:27
  -50:57:52
  -64:45:44
  -69:30:57
  -52:25:09
  -54:49:27
  -50:57:52
  -64:45:44
  -69:30:57
  -70:30:04
  -49:56:51
   -1296:00
   -1300:50
   -1308:31
   -1308:47
   -1297:26
   -1316:58
   -1303:36
   -1311:43
   -1300:25
   -1302:49
   -1298:57
   -1312:45
   -1317:30
   -1300:25
   -1302:49
   -1298:57
   -1312:45
   -1317:30
   -1318:30
   -1297:56
  -16344:00
  -16348:50
  -16356:31
  -16356:47
  -16345:26
  -16364:58
  -16351:36
  -16359:43
  -16348:25
  -16350:49
  -16346:57
  -16360:45
  -16365:30
  -16348:25
  -16350:49
  -16346:57
  -16360:45
  -16365:30
  -16366:30
  -16345:56
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:2521"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:2723: cat time10.1.out"
at_fn_check_prepare_trace "data-out.at:2723"
( $at_check_trace; cat time10.1.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "  0:00:00.0
  4:50:38.1
 12:31:35.2
 12:47:53.3
  1:26:00.5
 20:58:11.6
  7:36:05.2
 15:43:49.8
  4:25:09.0
  6:49:27.5
  2:57:52.0
 16:45:44.9
 21:30:57.8
  4:25:09.2
  6:49:27.1
  2:57:52.5
 16:45:44.7
 21:30:57.6
 22:30:04.2
  1:56:51.6
 24:00:00.0
 28:50:38.1
 36:31:35.2
 36:47:53.3
 25:26:00.5
 44:58:11.6
 31:36:05.2
 39:43:49.8
 28:25:09.0
 30:49:27.5
 26:57:52.0
 40:45:44.9
 45:30:57.8
 28:25:09.2
 30:49:27.1
 26:57:52.5
 40:45:44.7
 45:30:57.6
 46:30:04.2
 25:56:51.6
 48:00:00.0
 52:50:38.1
 60:31:35.2
 60:47:53.3
 49:26:00.5
 68:58:11.6
 55:36:05.2
 63:43:49.8
 52:25:09.0
 54:49:27.5
 50:57:52.0
 64:45:44.9
 69:30:57.8
 52:25:09.2
 54:49:27.1
 50:57:52.5
 64:45:44.7
 69:30:57.6
 70:30:04.2
 49:56:51.6
 1296:00:00
 1300:50:38
 1308:31:35
 1308:47:53
 1297:26:00
 1316:58:11
 1303:36:05
 1311:43:49
 1300:25:09
 1302:49:27
 1298:57:52
 1312:45:44
 1317:30:57
 1300:25:09
 1302:49:27
 1298:57:52
 1312:45:44
 1317:30:57
 1318:30:04
 1297:56:51
   16344:00
   16348:50
   16356:31
   16356:47
   16345:26
   16364:58
   16351:36
   16359:43
   16348:25
   16350:49
   16346:57
   16360:45
   16365:30
   16348:25
   16350:49
   16346:57
   16360:45
   16365:30
   16366:30
   16345:56
  0:00:00.0
 -4:50:38.1
  -12:31:35
  -12:47:53
 -1:26:00.5
  -20:58:11
 -7:36:05.2
  -15:43:49
 -4:25:09.0
 -6:49:27.5
 -2:57:52.0
  -16:45:44
  -21:30:57
 -4:25:09.2
 -6:49:27.1
 -2:57:52.5
  -16:45:44
  -21:30:57
  -22:30:04
 -1:56:51.6
  -24:00:00
  -28:50:38
  -36:31:35
  -36:47:53
  -25:26:00
  -44:58:11
  -31:36:05
  -39:43:49
  -28:25:09
  -30:49:27
  -26:57:52
  -40:45:44
  -45:30:57
  -28:25:09
  -30:49:27
  -26:57:52
  -40:45:44
  -45:30:57
  -46:30:04
  -25:56:51
  -48:00:00
  -52:50:38
  -60:31:35
  -60:47:53
  -49:26:00
  -68:58:11
  -55:36:05
  -63:43:49
  -52:25:09
  -54:49:27
  -50:57:52
  -64:45:44
  -69:30:57
  -52:25:09
  -54:49:27
  -50:57:52
  -64:45:44
  -69:30:57
  -70:30:04
  -49:56:51
   -1296:00
   -1300:50
   -1308:31
   -1308:47
   -1297:26
   -1316:58
   -1303:36
   -1311:43
   -1300:25
   -1302:49
   -1298:57
   -1312:45
   -1317:30
   -1300:25
   -1302:49
   -1298:57
   -1312:45
   -1317:30
   -1318:30
   -1297:56
  -16344:00
  -16348:50
  -16356:31
  -16356:47
  -16345:26
  -16364:58
  -16351:36
  -16359:43
  -16348:25
  -16350:49
  -16346:57
  -16360:45
  -16365:30
  -16348:25
  -16350:49
  -16346:57
  -16360:45
  -16365:30
  -16366:30
  -16345:56
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:2723"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:2925: cat time11.out"
at_fn_check_prepare_trace "data-out.at:2925"
( $at_check_trace; cat time11.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "     0:00:00
     4:50:38
    12:31:35
    12:47:53
     1:26:00
    20:58:11
     7:36:05
    15:43:49
     4:25:09
     6:49:27
     2:57:52
    16:45:44
    21:30:57
     4:25:09
     6:49:27
     2:57:52
    16:45:44
    21:30:57
    22:30:04
     1:56:51
    24:00:00
    28:50:38
    36:31:35
    36:47:53
    25:26:00
    44:58:11
    31:36:05
    39:43:49
    28:25:09
    30:49:27
    26:57:52
    40:45:44
    45:30:57
    28:25:09
    30:49:27
    26:57:52
    40:45:44
    45:30:57
    46:30:04
    25:56:51
    48:00:00
    52:50:38
    60:31:35
    60:47:53
    49:26:00
    68:58:11
    55:36:05
    63:43:49
    52:25:09
    54:49:27
    50:57:52
    64:45:44
    69:30:57
    52:25:09
    54:49:27
    50:57:52
    64:45:44
    69:30:57
    70:30:04
    49:56:51
  1296:00:00
  1300:50:38
  1308:31:35
  1308:47:53
  1297:26:00
  1316:58:11
  1303:36:05
  1311:43:49
  1300:25:09
  1302:49:27
  1298:57:52
  1312:45:44
  1317:30:57
  1300:25:09
  1302:49:27
  1298:57:52
  1312:45:44
  1317:30:57
  1318:30:04
  1297:56:51
 16344:00:00
 16348:50:38
 16356:31:35
 16356:47:53
 16345:26:00
 16364:58:11
 16351:36:05
 16359:43:49
 16348:25:09
 16350:49:27
 16346:57:52
 16360:45:44
 16365:30:57
 16348:25:09
 16350:49:27
 16346:57:52
 16360:45:44
 16365:30:57
 16366:30:04
 16345:56:51
     0:00:00
    -4:50:38
   -12:31:35
   -12:47:53
    -1:26:00
   -20:58:11
    -7:36:05
   -15:43:49
    -4:25:09
    -6:49:27
    -2:57:52
   -16:45:44
   -21:30:57
    -4:25:09
    -6:49:27
    -2:57:52
   -16:45:44
   -21:30:57
   -22:30:04
    -1:56:51
   -24:00:00
   -28:50:38
   -36:31:35
   -36:47:53
   -25:26:00
   -44:58:11
   -31:36:05
   -39:43:49
   -28:25:09
   -30:49:27
   -26:57:52
   -40:45:44
   -45:30:57
   -28:25:09
   -30:49:27
   -26:57:52
   -40:45:44
   -45:30:57
   -46:30:04
   -25:56:51
   -48:00:00
   -52:50:38
   -60:31:35
   -60:47:53
   -49:26:00
   -68:58:11
   -55:36:05
   -63:43:49
   -52:25:09
   -54:49:27
   -50:57:52
   -64:45:44
   -69:30:57
   -52:25:09
   -54:49:27
   -50:57:52
   -64:45:44
   -69:30:57
   -70:30:04
   -49:56:51
 -1296:00:00
 -1300:50:38
 -1308:31:35
 -1308:47:53
 -1297:26:00
 -1316:58:11
 -1303:36:05
 -1311:43:49
 -1300:25:09
 -1302:49:27
 -1298:57:52
 -1312:45:44
 -1317:30:57
 -1300:25:09
 -1302:49:27
 -1298:57:52
 -1312:45:44
 -1317:30:57
 -1318:30:04
 -1297:56:51
   -16344:00
   -16348:50
   -16356:31
   -16356:47
   -16345:26
   -16364:58
   -16351:36
   -16359:43
   -16348:25
   -16350:49
   -16346:57
   -16360:45
   -16365:30
   -16348:25
   -16350:49
   -16346:57
   -16360:45
   -16365:30
   -16366:30
   -16345:56
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:2925"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:3127: cat time11.1.out"
at_fn_check_prepare_trace "data-out.at:3127"
( $at_check_trace; cat time11.1.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "   0:00:00.0
   4:50:38.1
  12:31:35.2
  12:47:53.3
   1:26:00.5
  20:58:11.6
   7:36:05.2
  15:43:49.8
   4:25:09.0
   6:49:27.5
   2:57:52.0
  16:45:44.9
  21:30:57.8
   4:25:09.2
   6:49:27.1
   2:57:52.5
  16:45:44.7
  21:30:57.6
  22:30:04.2
   1:56:51.6
  24:00:00.0
  28:50:38.1
  36:31:35.2
  36:47:53.3
  25:26:00.5
  44:58:11.6
  31:36:05.2
  39:43:49.8
  28:25:09.0
  30:49:27.5
  26:57:52.0
  40:45:44.9
  45:30:57.8
  28:25:09.2
  30:49:27.1
  26:57:52.5
  40:45:44.7
  45:30:57.6
  46:30:04.2
  25:56:51.6
  48:00:00.0
  52:50:38.1
  60:31:35.2
  60:47:53.3
  49:26:00.5
  68:58:11.6
  55:36:05.2
  63:43:49.8
  52:25:09.0
  54:49:27.5
  50:57:52.0
  64:45:44.9
  69:30:57.8
  52:25:09.2
  54:49:27.1
  50:57:52.5
  64:45:44.7
  69:30:57.6
  70:30:04.2
  49:56:51.6
  1296:00:00
  1300:50:38
  1308:31:35
  1308:47:53
  1297:26:00
  1316:58:11
  1303:36:05
  1311:43:49
  1300:25:09
  1302:49:27
  1298:57:52
  1312:45:44
  1317:30:57
  1300:25:09
  1302:49:27
  1298:57:52
  1312:45:44
  1317:30:57
  1318:30:04
  1297:56:51
 16344:00:00
 16348:50:38
 16356:31:35
 16356:47:53
 16345:26:00
 16364:58:11
 16351:36:05
 16359:43:49
 16348:25:09
 16350:49:27
 16346:57:52
 16360:45:44
 16365:30:57
 16348:25:09
 16350:49:27
 16346:57:52
 16360:45:44
 16365:30:57
 16366:30:04
 16345:56:51
   0:00:00.0
  -4:50:38.1
 -12:31:35.2
 -12:47:53.3
  -1:26:00.5
 -20:58:11.6
  -7:36:05.2
 -15:43:49.8
  -4:25:09.0
  -6:49:27.5
  -2:57:52.0
 -16:45:44.9
 -21:30:57.8
  -4:25:09.2
  -6:49:27.1
  -2:57:52.5
 -16:45:44.7
 -21:30:57.6
 -22:30:04.2
  -1:56:51.6
 -24:00:00.0
 -28:50:38.1
 -36:31:35.2
 -36:47:53.3
 -25:26:00.5
 -44:58:11.6
 -31:36:05.2
 -39:43:49.8
 -28:25:09.0
 -30:49:27.5
 -26:57:52.0
 -40:45:44.9
 -45:30:57.8
 -28:25:09.2
 -30:49:27.1
 -26:57:52.5
 -40:45:44.7
 -45:30:57.6
 -46:30:04.2
 -25:56:51.6
 -48:00:00.0
 -52:50:38.1
 -60:31:35.2
 -60:47:53.3
 -49:26:00.5
 -68:58:11.6
 -55:36:05.2
 -63:43:49.8
 -52:25:09.0
 -54:49:27.5
 -50:57:52.0
 -64:45:44.9
 -69:30:57.8
 -52:25:09.2
 -54:49:27.1
 -50:57:52.5
 -64:45:44.7
 -69:30:57.6
 -70:30:04.2
 -49:56:51.6
 -1296:00:00
 -1300:50:38
 -1308:31:35
 -1308:47:53
 -1297:26:00
 -1316:58:11
 -1303:36:05
 -1311:43:49
 -1300:25:09
 -1302:49:27
 -1298:57:52
 -1312:45:44
 -1317:30:57
 -1300:25:09
 -1302:49:27
 -1298:57:52
 -1312:45:44
 -1317:30:57
 -1318:30:04
 -1297:56:51
   -16344:00
   -16348:50
   -16356:31
   -16356:47
   -16345:26
   -16364:58
   -16351:36
   -16359:43
   -16348:25
   -16350:49
   -16346:57
   -16360:45
   -16365:30
   -16348:25
   -16350:49
   -16346:57
   -16360:45
   -16365:30
   -16366:30
   -16345:56
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:3127"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:3329: cat time11.2.out"
at_fn_check_prepare_trace "data-out.at:3329"
( $at_check_trace; cat time11.2.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "  0:00:00.00
  4:50:38.12
 12:31:35.23
 12:47:53.35
  1:26:00.46
 20:58:11.57
  7:36:05.19
 15:43:49.83
  4:25:09.01
  6:49:27.52
  2:57:52.02
 16:45:44.87
 21:30:57.82
  4:25:09.15
  6:49:27.11
  2:57:52.48
 16:45:44.66
 21:30:57.58
 22:30:04.18
  1:56:51.59
 24:00:00.00
 28:50:38.12
 36:31:35.23
 36:47:53.35
 25:26:00.46
 44:58:11.57
 31:36:05.19
 39:43:49.83
 28:25:09.01
 30:49:27.52
 26:57:52.02
 40:45:44.87
 45:30:57.82
 28:25:09.15
 30:49:27.11
 26:57:52.48
 40:45:44.66
 45:30:57.58
 46:30:04.18
 25:56:51.59
 48:00:00.00
 52:50:38.12
 60:31:35.23
 60:47:53.35
 49:26:00.46
 68:58:11.57
 55:36:05.19
 63:43:49.83
 52:25:09.01
 54:49:27.52
 50:57:52.02
 64:45:44.87
 69:30:57.82
 52:25:09.15
 54:49:27.11
 50:57:52.48
 64:45:44.66
 69:30:57.58
 70:30:04.18
 49:56:51.59
  1296:00:00
  1300:50:38
  1308:31:35
  1308:47:53
  1297:26:00
  1316:58:11
  1303:36:05
  1311:43:49
  1300:25:09
  1302:49:27
  1298:57:52
  1312:45:44
  1317:30:57
  1300:25:09
  1302:49:27
  1298:57:52
  1312:45:44
  1317:30:57
  1318:30:04
  1297:56:51
 16344:00:00
 16348:50:38
 16356:31:35
 16356:47:53
 16345:26:00
 16364:58:11
 16351:36:05
 16359:43:49
 16348:25:09
 16350:49:27
 16346:57:52
 16360:45:44
 16365:30:57
 16348:25:09
 16350:49:27
 16346:57:52
 16360:45:44
 16365:30:57
 16366:30:04
 16345:56:51
  0:00:00.00
 -4:50:38.12
 -12:31:35.2
 -12:47:53.3
 -1:26:00.46
 -20:58:11.6
 -7:36:05.19
 -15:43:49.8
 -4:25:09.01
 -6:49:27.52
 -2:57:52.02
 -16:45:44.9
 -21:30:57.8
 -4:25:09.15
 -6:49:27.11
 -2:57:52.48
 -16:45:44.7
 -21:30:57.6
 -22:30:04.2
 -1:56:51.59
 -24:00:00.0
 -28:50:38.1
 -36:31:35.2
 -36:47:53.3
 -25:26:00.5
 -44:58:11.6
 -31:36:05.2
 -39:43:49.8
 -28:25:09.0
 -30:49:27.5
 -26:57:52.0
 -40:45:44.9
 -45:30:57.8
 -28:25:09.2
 -30:49:27.1
 -26:57:52.5
 -40:45:44.7
 -45:30:57.6
 -46:30:04.2
 -25:56:51.6
 -48:00:00.0
 -52:50:38.1
 -60:31:35.2
 -60:47:53.3
 -49:26:00.5
 -68:58:11.6
 -55:36:05.2
 -63:43:49.8
 -52:25:09.0
 -54:49:27.5
 -50:57:52.0
 -64:45:44.9
 -69:30:57.8
 -52:25:09.2
 -54:49:27.1
 -50:57:52.5
 -64:45:44.7
 -69:30:57.6
 -70:30:04.2
 -49:56:51.6
 -1296:00:00
 -1300:50:38
 -1308:31:35
 -1308:47:53
 -1297:26:00
 -1316:58:11
 -1303:36:05
 -1311:43:49
 -1300:25:09
 -1302:49:27
 -1298:57:52
 -1312:45:44
 -1317:30:57
 -1300:25:09
 -1302:49:27
 -1298:57:52
 -1312:45:44
 -1317:30:57
 -1318:30:04
 -1297:56:51
   -16344:00
   -16348:50
   -16356:31
   -16356:47
   -16345:26
   -16364:58
   -16351:36
   -16359:43
   -16348:25
   -16350:49
   -16346:57
   -16360:45
   -16365:30
   -16348:25
   -16350:49
   -16346:57
   -16360:45
   -16365:30
   -16366:30
   -16345:56
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:3329"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:3531: cat time12.out"
at_fn_check_prepare_trace "data-out.at:3531"
( $at_check_trace; cat time12.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "      0:00:00
      4:50:38
     12:31:35
     12:47:53
      1:26:00
     20:58:11
      7:36:05
     15:43:49
      4:25:09
      6:49:27
      2:57:52
     16:45:44
     21:30:57
      4:25:09
      6:49:27
      2:57:52
     16:45:44
     21:30:57
     22:30:04
      1:56:51
     24:00:00
     28:50:38
     36:31:35
     36:47:53
     25:26:00
     44:58:11
     31:36:05
     39:43:49
     28:25:09
     30:49:27
     26:57:52
     40:45:44
     45:30:57
     28:25:09
     30:49:27
     26:57:52
     40:45:44
     45:30:57
     46:30:04
     25:56:51
     48:00:00
     52:50:38
     60:31:35
     60:47:53
     49:26:00
     68:58:11
     55:36:05
     63:43:49
     52:25:09
     54:49:27
     50:57:52
     64:45:44
     69:30:57
     52:25:09
     54:49:27
     50:57:52
     64:45:44
     69:30:57
     70:30:04
     49:56:51
   1296:00:00
   1300:50:38
   1308:31:35
   1308:47:53
   1297:26:00
   1316:58:11
   1303:36:05
   1311:43:49
   1300:25:09
   1302:49:27
   1298:57:52
   1312:45:44
   1317:30:57
   1300:25:09
   1302:49:27
   1298:57:52
   1312:45:44
   1317:30:57
   1318:30:04
   1297:56:51
  16344:00:00
  16348:50:38
  16356:31:35
  16356:47:53
  16345:26:00
  16364:58:11
  16351:36:05
  16359:43:49
  16348:25:09
  16350:49:27
  16346:57:52
  16360:45:44
  16365:30:57
  16348:25:09
  16350:49:27
  16346:57:52
  16360:45:44
  16365:30:57
  16366:30:04
  16345:56:51
      0:00:00
     -4:50:38
    -12:31:35
    -12:47:53
     -1:26:00
    -20:58:11
     -7:36:05
    -15:43:49
     -4:25:09
     -6:49:27
     -2:57:52
    -16:45:44
    -21:30:57
     -4:25:09
     -6:49:27
     -2:57:52
    -16:45:44
    -21:30:57
    -22:30:04
     -1:56:51
    -24:00:00
    -28:50:38
    -36:31:35
    -36:47:53
    -25:26:00
    -44:58:11
    -31:36:05
    -39:43:49
    -28:25:09
    -30:49:27
    -26:57:52
    -40:45:44
    -45:30:57
    -28:25:09
    -30:49:27
    -26:57:52
    -40:45:44
    -45:30:57
    -46:30:04
    -25:56:51
    -48:00:00
    -52:50:38
    -60:31:35
    -60:47:53
    -49:26:00
    -68:58:11
    -55:36:05
    -63:43:49
    -52:25:09
    -54:49:27
    -50:57:52
    -64:45:44
    -69:30:57
    -52:25:09
    -54:49:27
    -50:57:52
    -64:45:44
    -69:30:57
    -70:30:04
    -49:56:51
  -1296:00:00
  -1300:50:38
  -1308:31:35
  -1308:47:53
  -1297:26:00
  -1316:58:11
  -1303:36:05
  -1311:43:49
  -1300:25:09
  -1302:49:27
  -1298:57:52
  -1312:45:44
  -1317:30:57
  -1300:25:09
  -1302:49:27
  -1298:57:52
  -1312:45:44
  -1317:30:57
  -1318:30:04
  -1297:56:51
 -16344:00:00
 -16348:50:38
 -16356:31:35
 -16356:47:53
 -16345:26:00
 -16364:58:11
 -16351:36:05
 -16359:43:49
 -16348:25:09
 -16350:49:27
 -16346:57:52
 -16360:45:44
 -16365:30:57
 -16348:25:09
 -16350:49:27
 -16346:57:52
 -16360:45:44
 -16365:30:57
 -16366:30:04
 -16345:56:51
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:3531"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:3733: cat time12.1.out"
at_fn_check_prepare_trace "data-out.at:3733"
( $at_check_trace; cat time12.1.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "    0:00:00.0
    4:50:38.1
   12:31:35.2
   12:47:53.3
    1:26:00.5
   20:58:11.6
    7:36:05.2
   15:43:49.8
    4:25:09.0
    6:49:27.5
    2:57:52.0
   16:45:44.9
   21:30:57.8
    4:25:09.2
    6:49:27.1
    2:57:52.5
   16:45:44.7
   21:30:57.6
   22:30:04.2
    1:56:51.6
   24:00:00.0
   28:50:38.1
   36:31:35.2
   36:47:53.3
   25:26:00.5
   44:58:11.6
   31:36:05.2
   39:43:49.8
   28:25:09.0
   30:49:27.5
   26:57:52.0
   40:45:44.9
   45:30:57.8
   28:25:09.2
   30:49:27.1
   26:57:52.5
   40:45:44.7
   45:30:57.6
   46:30:04.2
   25:56:51.6
   48:00:00.0
   52:50:38.1
   60:31:35.2
   60:47:53.3
   49:26:00.5
   68:58:11.6
   55:36:05.2
   63:43:49.8
   52:25:09.0
   54:49:27.5
   50:57:52.0
   64:45:44.9
   69:30:57.8
   52:25:09.2
   54:49:27.1
   50:57:52.5
   64:45:44.7
   69:30:57.6
   70:30:04.2
   49:56:51.6
 1296:00:00.0
 1300:50:38.1
 1308:31:35.2
 1308:47:53.3
 1297:26:00.5
 1316:58:11.6
 1303:36:05.2
 1311:43:49.8
 1300:25:09.0
 1302:49:27.5
 1298:57:52.0
 1312:45:44.9
 1317:30:57.8
 1300:25:09.2
 1302:49:27.1
 1298:57:52.5
 1312:45:44.7
 1317:30:57.6
 1318:30:04.2
 1297:56:51.6
  16344:00:00
  16348:50:38
  16356:31:35
  16356:47:53
  16345:26:00
  16364:58:11
  16351:36:05
  16359:43:49
  16348:25:09
  16350:49:27
  16346:57:52
  16360:45:44
  16365:30:57
  16348:25:09
  16350:49:27
  16346:57:52
  16360:45:44
  16365:30:57
  16366:30:04
  16345:56:51
    0:00:00.0
   -4:50:38.1
  -12:31:35.2
  -12:47:53.3
   -1:26:00.5
  -20:58:11.6
   -7:36:05.2
  -15:43:49.8
   -4:25:09.0
   -6:49:27.5
   -2:57:52.0
  -16:45:44.9
  -21:30:57.8
   -4:25:09.2
   -6:49:27.1
   -2:57:52.5
  -16:45:44.7
  -21:30:57.6
  -22:30:04.2
   -1:56:51.6
  -24:00:00.0
  -28:50:38.1
  -36:31:35.2
  -36:47:53.3
  -25:26:00.5
  -44:58:11.6
  -31:36:05.2
  -39:43:49.8
  -28:25:09.0
  -30:49:27.5
  -26:57:52.0
  -40:45:44.9
  -45:30:57.8
  -28:25:09.2
  -30:49:27.1
  -26:57:52.5
  -40:45:44.7
  -45:30:57.6
  -46:30:04.2
  -25:56:51.6
  -48:00:00.0
  -52:50:38.1
  -60:31:35.2
  -60:47:53.3
  -49:26:00.5
  -68:58:11.6
  -55:36:05.2
  -63:43:49.8
  -52:25:09.0
  -54:49:27.5
  -50:57:52.0
  -64:45:44.9
  -69:30:57.8
  -52:25:09.2
  -54:49:27.1
  -50:57:52.5
  -64:45:44.7
  -69:30:57.6
  -70:30:04.2
  -49:56:51.6
  -1296:00:00
  -1300:50:38
  -1308:31:35
  -1308:47:53
  -1297:26:00
  -1316:58:11
  -1303:36:05
  -1311:43:49
  -1300:25:09
  -1302:49:27
  -1298:57:52
  -1312:45:44
  -1317:30:57
  -1300:25:09
  -1302:49:27
  -1298:57:52
  -1312:45:44
  -1317:30:57
  -1318:30:04
  -1297:56:51
 -16344:00:00
 -16348:50:38
 -16356:31:35
 -16356:47:53
 -16345:26:00
 -16364:58:11
 -16351:36:05
 -16359:43:49
 -16348:25:09
 -16350:49:27
 -16346:57:52
 -16360:45:44
 -16365:30:57
 -16348:25:09
 -16350:49:27
 -16346:57:52
 -16360:45:44
 -16365:30:57
 -16366:30:04
 -16345:56:51
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:3733"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:3935: cat time12.2.out"
at_fn_check_prepare_trace "data-out.at:3935"
( $at_check_trace; cat time12.2.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "   0:00:00.00
   4:50:38.12
  12:31:35.23
  12:47:53.35
   1:26:00.46
  20:58:11.57
   7:36:05.19
  15:43:49.83
   4:25:09.01
   6:49:27.52
   2:57:52.02
  16:45:44.87
  21:30:57.82
   4:25:09.15
   6:49:27.11
   2:57:52.48
  16:45:44.66
  21:30:57.58
  22:30:04.18
   1:56:51.59
  24:00:00.00
  28:50:38.12
  36:31:35.23
  36:47:53.35
  25:26:00.46
  44:58:11.57
  31:36:05.19
  39:43:49.83
  28:25:09.01
  30:49:27.52
  26:57:52.02
  40:45:44.87
  45:30:57.82
  28:25:09.15
  30:49:27.11
  26:57:52.48
  40:45:44.66
  45:30:57.58
  46:30:04.18
  25:56:51.59
  48:00:00.00
  52:50:38.12
  60:31:35.23
  60:47:53.35
  49:26:00.46
  68:58:11.57
  55:36:05.19
  63:43:49.83
  52:25:09.01
  54:49:27.52
  50:57:52.02
  64:45:44.87
  69:30:57.82
  52:25:09.15
  54:49:27.11
  50:57:52.48
  64:45:44.66
  69:30:57.58
  70:30:04.18
  49:56:51.59
 1296:00:00.0
 1300:50:38.1
 1308:31:35.2
 1308:47:53.3
 1297:26:00.5
 1316:58:11.6
 1303:36:05.2
 1311:43:49.8
 1300:25:09.0
 1302:49:27.5
 1298:57:52.0
 1312:45:44.9
 1317:30:57.8
 1300:25:09.2
 1302:49:27.1
 1298:57:52.5
 1312:45:44.7
 1317:30:57.6
 1318:30:04.2
 1297:56:51.6
  16344:00:00
  16348:50:38
  16356:31:35
  16356:47:53
  16345:26:00
  16364:58:11
  16351:36:05
  16359:43:49
  16348:25:09
  16350:49:27
  16346:57:52
  16360:45:44
  16365:30:57
  16348:25:09
  16350:49:27
  16346:57:52
  16360:45:44
  16365:30:57
  16366:30:04
  16345:56:51
   0:00:00.00
  -4:50:38.12
 -12:31:35.23
 -12:47:53.35
  -1:26:00.46
 -20:58:11.57
  -7:36:05.19
 -15:43:49.83
  -4:25:09.01
  -6:49:27.52
  -2:57:52.02
 -16:45:44.87
 -21:30:57.82
  -4:25:09.15
  -6:49:27.11
  -2:57:52.48
 -16:45:44.66
 -21:30:57.58
 -22:30:04.18
  -1:56:51.59
 -24:00:00.00
 -28:50:38.12
 -36:31:35.23
 -36:47:53.35
 -25:26:00.46
 -44:58:11.57
 -31:36:05.19
 -39:43:49.83
 -28:25:09.01
 -30:49:27.52
 -26:57:52.02
 -40:45:44.87
 -45:30:57.82
 -28:25:09.15
 -30:49:27.11
 -26:57:52.48
 -40:45:44.66
 -45:30:57.58
 -46:30:04.18
 -25:56:51.59
 -48:00:00.00
 -52:50:38.12
 -60:31:35.23
 -60:47:53.35
 -49:26:00.46
 -68:58:11.57
 -55:36:05.19
 -63:43:49.83
 -52:25:09.01
 -54:49:27.52
 -50:57:52.02
 -64:45:44.87
 -69:30:57.82
 -52:25:09.15
 -54:49:27.11
 -50:57:52.48
 -64:45:44.66
 -69:30:57.58
 -70:30:04.18
 -49:56:51.59
  -1296:00:00
  -1300:50:38
  -1308:31:35
  -1308:47:53
  -1297:26:00
  -1316:58:11
  -1303:36:05
  -1311:43:49
  -1300:25:09
  -1302:49:27
  -1298:57:52
  -1312:45:44
  -1317:30:57
  -1300:25:09
  -1302:49:27
  -1298:57:52
  -1312:45:44
  -1317:30:57
  -1318:30:04
  -1297:56:51
 -16344:00:00
 -16348:50:38
 -16356:31:35
 -16356:47:53
 -16345:26:00
 -16364:58:11
 -16351:36:05
 -16359:43:49
 -16348:25:09
 -16350:49:27
 -16346:57:52
 -16360:45:44
 -16365:30:57
 -16348:25:09
 -16350:49:27
 -16346:57:52
 -16360:45:44
 -16365:30:57
 -16366:30:04
 -16345:56:51
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:3935"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:4137: cat time12.3.out"
at_fn_check_prepare_trace "data-out.at:4137"
( $at_check_trace; cat time12.3.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "  0:00:00.000
  4:50:38.123
 12:31:35.235
 12:47:53.345
  1:26:00.456
 20:58:11.567
  7:36:05.190
 15:43:49.831
  4:25:09.013
  6:49:27.524
  2:57:52.016
 16:45:44.865
 21:30:57.820
  4:25:09.154
  6:49:27.105
  2:57:52.482
 16:45:44.658
 21:30:57.582
 22:30:04.183
  1:56:51.593
 24:00:00.000
 28:50:38.123
 36:31:35.235
 36:47:53.345
 25:26:00.456
 44:58:11.567
 31:36:05.190
 39:43:49.831
 28:25:09.013
 30:49:27.524
 26:57:52.016
 40:45:44.865
 45:30:57.820
 28:25:09.154
 30:49:27.105
 26:57:52.482
 40:45:44.658
 45:30:57.582
 46:30:04.183
 25:56:51.593
 48:00:00.000
 52:50:38.123
 60:31:35.235
 60:47:53.345
 49:26:00.456
 68:58:11.567
 55:36:05.190
 63:43:49.831
 52:25:09.013
 54:49:27.524
 50:57:52.016
 64:45:44.865
 69:30:57.820
 52:25:09.154
 54:49:27.105
 50:57:52.482
 64:45:44.658
 69:30:57.582
 70:30:04.183
 49:56:51.593
 1296:00:00.0
 1300:50:38.1
 1308:31:35.2
 1308:47:53.3
 1297:26:00.5
 1316:58:11.6
 1303:36:05.2
 1311:43:49.8
 1300:25:09.0
 1302:49:27.5
 1298:57:52.0
 1312:45:44.9
 1317:30:57.8
 1300:25:09.2
 1302:49:27.1
 1298:57:52.5
 1312:45:44.7
 1317:30:57.6
 1318:30:04.2
 1297:56:51.6
  16344:00:00
  16348:50:38
  16356:31:35
  16356:47:53
  16345:26:00
  16364:58:11
  16351:36:05
  16359:43:49
  16348:25:09
  16350:49:27
  16346:57:52
  16360:45:44
  16365:30:57
  16348:25:09
  16350:49:27
  16346:57:52
  16360:45:44
  16365:30:57
  16366:30:04
  16345:56:51
  0:00:00.000
 -4:50:38.123
 -12:31:35.23
 -12:47:53.35
 -1:26:00.456
 -20:58:11.57
 -7:36:05.190
 -15:43:49.83
 -4:25:09.013
 -6:49:27.524
 -2:57:52.016
 -16:45:44.87
 -21:30:57.82
 -4:25:09.154
 -6:49:27.105
 -2:57:52.482
 -16:45:44.66
 -21:30:57.58
 -22:30:04.18
 -1:56:51.593
 -24:00:00.00
 -28:50:38.12
 -36:31:35.23
 -36:47:53.35
 -25:26:00.46
 -44:58:11.57
 -31:36:05.19
 -39:43:49.83
 -28:25:09.01
 -30:49:27.52
 -26:57:52.02
 -40:45:44.87
 -45:30:57.82
 -28:25:09.15
 -30:49:27.11
 -26:57:52.48
 -40:45:44.66
 -45:30:57.58
 -46:30:04.18
 -25:56:51.59
 -48:00:00.00
 -52:50:38.12
 -60:31:35.23
 -60:47:53.35
 -49:26:00.46
 -68:58:11.57
 -55:36:05.19
 -63:43:49.83
 -52:25:09.01
 -54:49:27.52
 -50:57:52.02
 -64:45:44.87
 -69:30:57.82
 -52:25:09.15
 -54:49:27.11
 -50:57:52.48
 -64:45:44.66
 -69:30:57.58
 -70:30:04.18
 -49:56:51.59
  -1296:00:00
  -1300:50:38
  -1308:31:35
  -1308:47:53
  -1297:26:00
  -1316:58:11
  -1303:36:05
  -1311:43:49
  -1300:25:09
  -1302:49:27
  -1298:57:52
  -1312:45:44
  -1317:30:57
  -1300:25:09
  -1302:49:27
  -1298:57:52
  -1312:45:44
  -1317:30:57
  -1318:30:04
  -1297:56:51
 -16344:00:00
 -16348:50:38
 -16356:31:35
 -16356:47:53
 -16345:26:00
 -16364:58:11
 -16351:36:05
 -16359:43:49
 -16348:25:09
 -16350:49:27
 -16346:57:52
 -16360:45:44
 -16365:30:57
 -16348:25:09
 -16350:49:27
 -16346:57:52
 -16360:45:44
 -16365:30:57
 -16366:30:04
 -16345:56:51
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:4137"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:4339: cat time13.out"
at_fn_check_prepare_trace "data-out.at:4339"
( $at_check_trace; cat time13.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "       0:00:00
       4:50:38
      12:31:35
      12:47:53
       1:26:00
      20:58:11
       7:36:05
      15:43:49
       4:25:09
       6:49:27
       2:57:52
      16:45:44
      21:30:57
       4:25:09
       6:49:27
       2:57:52
      16:45:44
      21:30:57
      22:30:04
       1:56:51
      24:00:00
      28:50:38
      36:31:35
      36:47:53
      25:26:00
      44:58:11
      31:36:05
      39:43:49
      28:25:09
      30:49:27
      26:57:52
      40:45:44
      45:30:57
      28:25:09
      30:49:27
      26:57:52
      40:45:44
      45:30:57
      46:30:04
      25:56:51
      48:00:00
      52:50:38
      60:31:35
      60:47:53
      49:26:00
      68:58:11
      55:36:05
      63:43:49
      52:25:09
      54:49:27
      50:57:52
      64:45:44
      69:30:57
      52:25:09
      54:49:27
      50:57:52
      64:45:44
      69:30:57
      70:30:04
      49:56:51
    1296:00:00
    1300:50:38
    1308:31:35
    1308:47:53
    1297:26:00
    1316:58:11
    1303:36:05
    1311:43:49
    1300:25:09
    1302:49:27
    1298:57:52
    1312:45:44
    1317:30:57
    1300:25:09
    1302:49:27
    1298:57:52
    1312:45:44
    1317:30:57
    1318:30:04
    1297:56:51
   16344:00:00
   16348:50:38
   16356:31:35
   16356:47:53
   16345:26:00
   16364:58:11
   16351:36:05
   16359:43:49
   16348:25:09
   16350:49:27
   16346:57:52
   16360:45:44
   16365:30:57
   16348:25:09
   16350:49:27
   16346:57:52
   16360:45:44
   16365:30:57
   16366:30:04
   16345:56:51
       0:00:00
      -4:50:38
     -12:31:35
     -12:47:53
      -1:26:00
     -20:58:11
      -7:36:05
     -15:43:49
      -4:25:09
      -6:49:27
      -2:57:52
     -16:45:44
     -21:30:57
      -4:25:09
      -6:49:27
      -2:57:52
     -16:45:44
     -21:30:57
     -22:30:04
      -1:56:51
     -24:00:00
     -28:50:38
     -36:31:35
     -36:47:53
     -25:26:00
     -44:58:11
     -31:36:05
     -39:43:49
     -28:25:09
     -30:49:27
     -26:57:52
     -40:45:44
     -45:30:57
     -28:25:09
     -30:49:27
     -26:57:52
     -40:45:44
     -45:30:57
     -46:30:04
     -25:56:51
     -48:00:00
     -52:50:38
     -60:31:35
     -60:47:53
     -49:26:00
     -68:58:11
     -55:36:05
     -63:43:49
     -52:25:09
     -54:49:27
     -50:57:52
     -64:45:44
     -69:30:57
     -52:25:09
     -54:49:27
     -50:57:52
     -64:45:44
     -69:30:57
     -70:30:04
     -49:56:51
   -1296:00:00
   -1300:50:38
   -1308:31:35
   -1308:47:53
   -1297:26:00
   -1316:58:11
   -1303:36:05
   -1311:43:49
   -1300:25:09
   -1302:49:27
   -1298:57:52
   -1312:45:44
   -1317:30:57
   -1300:25:09
   -1302:49:27
   -1298:57:52
   -1312:45:44
   -1317:30:57
   -1318:30:04
   -1297:56:51
  -16344:00:00
  -16348:50:38
  -16356:31:35
  -16356:47:53
  -16345:26:00
  -16364:58:11
  -16351:36:05
  -16359:43:49
  -16348:25:09
  -16350:49:27
  -16346:57:52
  -16360:45:44
  -16365:30:57
  -16348:25:09
  -16350:49:27
  -16346:57:52
  -16360:45:44
  -16365:30:57
  -16366:30:04
  -16345:56:51
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:4339"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:4541: cat time13.1.out"
at_fn_check_prepare_trace "data-out.at:4541"
( $at_check_trace; cat time13.1.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "     0:00:00.0
     4:50:38.1
    12:31:35.2
    12:47:53.3
     1:26:00.5
    20:58:11.6
     7:36:05.2
    15:43:49.8
     4:25:09.0
     6:49:27.5
     2:57:52.0
    16:45:44.9
    21:30:57.8
     4:25:09.2
     6:49:27.1
     2:57:52.5
    16:45:44.7
    21:30:57.6
    22:30:04.2
     1:56:51.6
    24:00:00.0
    28:50:38.1
    36:31:35.2
    36:47:53.3
    25:26:00.5
    44:58:11.6
    31:36:05.2
    39:43:49.8
    28:25:09.0
    30:49:27.5
    26:57:52.0
    40:45:44.9
    45:30:57.8
    28:25:09.2
    30:49:27.1
    26:57:52.5
    40:45:44.7
    45:30:57.6
    46:30:04.2
    25:56:51.6
    48:00:00.0
    52:50:38.1
    60:31:35.2
    60:47:53.3
    49:26:00.5
    68:58:11.6
    55:36:05.2
    63:43:49.8
    52:25:09.0
    54:49:27.5
    50:57:52.0
    64:45:44.9
    69:30:57.8
    52:25:09.2
    54:49:27.1
    50:57:52.5
    64:45:44.7
    69:30:57.6
    70:30:04.2
    49:56:51.6
  1296:00:00.0
  1300:50:38.1
  1308:31:35.2
  1308:47:53.3
  1297:26:00.5
  1316:58:11.6
  1303:36:05.2
  1311:43:49.8
  1300:25:09.0
  1302:49:27.5
  1298:57:52.0
  1312:45:44.9
  1317:30:57.8
  1300:25:09.2
  1302:49:27.1
  1298:57:52.5
  1312:45:44.7
  1317:30:57.6
  1318:30:04.2
  1297:56:51.6
 16344:00:00.0
 16348:50:38.1
 16356:31:35.2
 16356:47:53.3
 16345:26:00.5
 16364:58:11.6
 16351:36:05.2
 16359:43:49.8
 16348:25:09.0
 16350:49:27.5
 16346:57:52.0
 16360:45:44.9
 16365:30:57.8
 16348:25:09.2
 16350:49:27.1
 16346:57:52.5
 16360:45:44.7
 16365:30:57.6
 16366:30:04.2
 16345:56:51.6
     0:00:00.0
    -4:50:38.1
   -12:31:35.2
   -12:47:53.3
    -1:26:00.5
   -20:58:11.6
    -7:36:05.2
   -15:43:49.8
    -4:25:09.0
    -6:49:27.5
    -2:57:52.0
   -16:45:44.9
   -21:30:57.8
    -4:25:09.2
    -6:49:27.1
    -2:57:52.5
   -16:45:44.7
   -21:30:57.6
   -22:30:04.2
    -1:56:51.6
   -24:00:00.0
   -28:50:38.1
   -36:31:35.2
   -36:47:53.3
   -25:26:00.5
   -44:58:11.6
   -31:36:05.2
   -39:43:49.8
   -28:25:09.0
   -30:49:27.5
   -26:57:52.0
   -40:45:44.9
   -45:30:57.8
   -28:25:09.2
   -30:49:27.1
   -26:57:52.5
   -40:45:44.7
   -45:30:57.6
   -46:30:04.2
   -25:56:51.6
   -48:00:00.0
   -52:50:38.1
   -60:31:35.2
   -60:47:53.3
   -49:26:00.5
   -68:58:11.6
   -55:36:05.2
   -63:43:49.8
   -52:25:09.0
   -54:49:27.5
   -50:57:52.0
   -64:45:44.9
   -69:30:57.8
   -52:25:09.2
   -54:49:27.1
   -50:57:52.5
   -64:45:44.7
   -69:30:57.6
   -70:30:04.2
   -49:56:51.6
 -1296:00:00.0
 -1300:50:38.1
 -1308:31:35.2
 -1308:47:53.3
 -1297:26:00.5
 -1316:58:11.6
 -1303:36:05.2
 -1311:43:49.8
 -1300:25:09.0
 -1302:49:27.5
 -1298:57:52.0
 -1312:45:44.9
 -1317:30:57.8
 -1300:25:09.2
 -1302:49:27.1
 -1298:57:52.5
 -1312:45:44.7
 -1317:30:57.6
 -1318:30:04.2
 -1297:56:51.6
  -16344:00:00
  -16348:50:38
  -16356:31:35
  -16356:47:53
  -16345:26:00
  -16364:58:11
  -16351:36:05
  -16359:43:49
  -16348:25:09
  -16350:49:27
  -16346:57:52
  -16360:45:44
  -16365:30:57
  -16348:25:09
  -16350:49:27
  -16346:57:52
  -16360:45:44
  -16365:30:57
  -16366:30:04
  -16345:56:51
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:4541"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:4743: cat time13.2.out"
at_fn_check_prepare_trace "data-out.at:4743"
( $at_check_trace; cat time13.2.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "    0:00:00.00
    4:50:38.12
   12:31:35.23
   12:47:53.35
    1:26:00.46
   20:58:11.57
    7:36:05.19
   15:43:49.83
    4:25:09.01
    6:49:27.52
    2:57:52.02
   16:45:44.87
   21:30:57.82
    4:25:09.15
    6:49:27.11
    2:57:52.48
   16:45:44.66
   21:30:57.58
   22:30:04.18
    1:56:51.59
   24:00:00.00
   28:50:38.12
   36:31:35.23
   36:47:53.35
   25:26:00.46
   44:58:11.57
   31:36:05.19
   39:43:49.83
   28:25:09.01
   30:49:27.52
   26:57:52.02
   40:45:44.87
   45:30:57.82
   28:25:09.15
   30:49:27.11
   26:57:52.48
   40:45:44.66
   45:30:57.58
   46:30:04.18
   25:56:51.59
   48:00:00.00
   52:50:38.12
   60:31:35.23
   60:47:53.35
   49:26:00.46
   68:58:11.57
   55:36:05.19
   63:43:49.83
   52:25:09.01
   54:49:27.52
   50:57:52.02
   64:45:44.87
   69:30:57.82
   52:25:09.15
   54:49:27.11
   50:57:52.48
   64:45:44.66
   69:30:57.58
   70:30:04.18
   49:56:51.59
 1296:00:00.00
 1300:50:38.12
 1308:31:35.23
 1308:47:53.35
 1297:26:00.46
 1316:58:11.57
 1303:36:05.19
 1311:43:49.83
 1300:25:09.01
 1302:49:27.52
 1298:57:52.02
 1312:45:44.87
 1317:30:57.82
 1300:25:09.15
 1302:49:27.11
 1298:57:52.48
 1312:45:44.66
 1317:30:57.58
 1318:30:04.18
 1297:56:51.59
 16344:00:00.0
 16348:50:38.1
 16356:31:35.2
 16356:47:53.3
 16345:26:00.5
 16364:58:11.6
 16351:36:05.2
 16359:43:49.8
 16348:25:09.0
 16350:49:27.5
 16346:57:52.0
 16360:45:44.9
 16365:30:57.8
 16348:25:09.2
 16350:49:27.1
 16346:57:52.5
 16360:45:44.7
 16365:30:57.6
 16366:30:04.2
 16345:56:51.6
    0:00:00.00
   -4:50:38.12
  -12:31:35.23
  -12:47:53.35
   -1:26:00.46
  -20:58:11.57
   -7:36:05.19
  -15:43:49.83
   -4:25:09.01
   -6:49:27.52
   -2:57:52.02
  -16:45:44.87
  -21:30:57.82
   -4:25:09.15
   -6:49:27.11
   -2:57:52.48
  -16:45:44.66
  -21:30:57.58
  -22:30:04.18
   -1:56:51.59
  -24:00:00.00
  -28:50:38.12
  -36:31:35.23
  -36:47:53.35
  -25:26:00.46
  -44:58:11.57
  -31:36:05.19
  -39:43:49.83
  -28:25:09.01
  -30:49:27.52
  -26:57:52.02
  -40:45:44.87
  -45:30:57.82
  -28:25:09.15
  -30:49:27.11
  -26:57:52.48
  -40:45:44.66
  -45:30:57.58
  -46:30:04.18
  -25:56:51.59
  -48:00:00.00
  -52:50:38.12
  -60:31:35.23
  -60:47:53.35
  -49:26:00.46
  -68:58:11.57
  -55:36:05.19
  -63:43:49.83
  -52:25:09.01
  -54:49:27.52
  -50:57:52.02
  -64:45:44.87
  -69:30:57.82
  -52:25:09.15
  -54:49:27.11
  -50:57:52.48
  -64:45:44.66
  -69:30:57.58
  -70:30:04.18
  -49:56:51.59
 -1296:00:00.0
 -1300:50:38.1
 -1308:31:35.2
 -1308:47:53.3
 -1297:26:00.5
 -1316:58:11.6
 -1303:36:05.2
 -1311:43:49.8
 -1300:25:09.0
 -1302:49:27.5
 -1298:57:52.0
 -1312:45:44.9
 -1317:30:57.8
 -1300:25:09.2
 -1302:49:27.1
 -1298:57:52.5
 -1312:45:44.7
 -1317:30:57.6
 -1318:30:04.2
 -1297:56:51.6
  -16344:00:00
  -16348:50:38
  -16356:31:35
  -16356:47:53
  -16345:26:00
  -16364:58:11
  -16351:36:05
  -16359:43:49
  -16348:25:09
  -16350:49:27
  -16346:57:52
  -16360:45:44
  -16365:30:57
  -16348:25:09
  -16350:49:27
  -16346:57:52
  -16360:45:44
  -16365:30:57
  -16366:30:04
  -16345:56:51
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:4743"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:4945: cat time13.3.out"
at_fn_check_prepare_trace "data-out.at:4945"
( $at_check_trace; cat time13.3.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "   0:00:00.000
   4:50:38.123
  12:31:35.235
  12:47:53.345
   1:26:00.456
  20:58:11.567
   7:36:05.190
  15:43:49.831
   4:25:09.013
   6:49:27.524
   2:57:52.016
  16:45:44.865
  21:30:57.820
   4:25:09.154
   6:49:27.105
   2:57:52.482
  16:45:44.658
  21:30:57.582
  22:30:04.183
   1:56:51.593
  24:00:00.000
  28:50:38.123
  36:31:35.235
  36:47:53.345
  25:26:00.456
  44:58:11.567
  31:36:05.190
  39:43:49.831
  28:25:09.013
  30:49:27.524
  26:57:52.016
  40:45:44.865
  45:30:57.820
  28:25:09.154
  30:49:27.105
  26:57:52.482
  40:45:44.658
  45:30:57.582
  46:30:04.183
  25:56:51.593
  48:00:00.000
  52:50:38.123
  60:31:35.235
  60:47:53.345
  49:26:00.456
  68:58:11.567
  55:36:05.190
  63:43:49.831
  52:25:09.013
  54:49:27.524
  50:57:52.016
  64:45:44.865
  69:30:57.820
  52:25:09.154
  54:49:27.105
  50:57:52.482
  64:45:44.658
  69:30:57.582
  70:30:04.183
  49:56:51.593
 1296:00:00.00
 1300:50:38.12
 1308:31:35.23
 1308:47:53.35
 1297:26:00.46
 1316:58:11.57
 1303:36:05.19
 1311:43:49.83
 1300:25:09.01
 1302:49:27.52
 1298:57:52.02
 1312:45:44.87
 1317:30:57.82
 1300:25:09.15
 1302:49:27.11
 1298:57:52.48
 1312:45:44.66
 1317:30:57.58
 1318:30:04.18
 1297:56:51.59
 16344:00:00.0
 16348:50:38.1
 16356:31:35.2
 16356:47:53.3
 16345:26:00.5
 16364:58:11.6
 16351:36:05.2
 16359:43:49.8
 16348:25:09.0
 16350:49:27.5
 16346:57:52.0
 16360:45:44.9
 16365:30:57.8
 16348:25:09.2
 16350:49:27.1
 16346:57:52.5
 16360:45:44.7
 16365:30:57.6
 16366:30:04.2
 16345:56:51.6
   0:00:00.000
  -4:50:38.123
 -12:31:35.235
 -12:47:53.345
  -1:26:00.456
 -20:58:11.567
  -7:36:05.190
 -15:43:49.831
  -4:25:09.013
  -6:49:27.524
  -2:57:52.016
 -16:45:44.865
 -21:30:57.820
  -4:25:09.154
  -6:49:27.105
  -2:57:52.482
 -16:45:44.658
 -21:30:57.582
 -22:30:04.183
  -1:56:51.593
 -24:00:00.000
 -28:50:38.123
 -36:31:35.235
 -36:47:53.345
 -25:26:00.456
 -44:58:11.567
 -31:36:05.190
 -39:43:49.831
 -28:25:09.013
 -30:49:27.524
 -26:57:52.016
 -40:45:44.865
 -45:30:57.820
 -28:25:09.154
 -30:49:27.105
 -26:57:52.482
 -40:45:44.658
 -45:30:57.582
 -46:30:04.183
 -25:56:51.593
 -48:00:00.000
 -52:50:38.123
 -60:31:35.235
 -60:47:53.345
 -49:26:00.456
 -68:58:11.567
 -55:36:05.190
 -63:43:49.831
 -52:25:09.013
 -54:49:27.524
 -50:57:52.016
 -64:45:44.865
 -69:30:57.820
 -52:25:09.154
 -54:49:27.105
 -50:57:52.482
 -64:45:44.658
 -69:30:57.582
 -70:30:04.183
 -49:56:51.593
 -1296:00:00.0
 -1300:50:38.1
 -1308:31:35.2
 -1308:47:53.3
 -1297:26:00.5
 -1316:58:11.6
 -1303:36:05.2
 -1311:43:49.8
 -1300:25:09.0
 -1302:49:27.5
 -1298:57:52.0
 -1312:45:44.9
 -1317:30:57.8
 -1300:25:09.2
 -1302:49:27.1
 -1298:57:52.5
 -1312:45:44.7
 -1317:30:57.6
 -1318:30:04.2
 -1297:56:51.6
  -16344:00:00
  -16348:50:38
  -16356:31:35
  -16356:47:53
  -16345:26:00
  -16364:58:11
  -16351:36:05
  -16359:43:49
  -16348:25:09
  -16350:49:27
  -16346:57:52
  -16360:45:44
  -16365:30:57
  -16348:25:09
  -16350:49:27
  -16346:57:52
  -16360:45:44
  -16365:30:57
  -16366:30:04
  -16345:56:51
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:4945"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:5147: cat time13.4.out"
at_fn_check_prepare_trace "data-out.at:5147"
( $at_check_trace; cat time13.4.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "  0:00:00.0000
  4:50:38.1230
 12:31:35.2345
 12:47:53.3451
  1:26:00.4561
 20:58:11.5668
  7:36:05.1896
 15:43:49.8313
  4:25:09.0129
  6:49:27.5238
  2:57:52.0156
 16:45:44.8653
 21:30:57.8205
  4:25:09.1539
  6:49:27.1053
  2:57:52.4823
 16:45:44.6583
 21:30:57.5822
 22:30:04.1835
  1:56:51.5932
 24:00:00.0000
 28:50:38.1230
 36:31:35.2345
 36:47:53.3451
 25:26:00.4561
 44:58:11.5668
 31:36:05.1896
 39:43:49.8313
 28:25:09.0129
 30:49:27.5237
 26:57:52.0157
 40:45:44.8653
 45:30:57.8205
 28:25:09.1540
 30:49:27.1053
 26:57:52.4823
 40:45:44.6583
 45:30:57.5822
 46:30:04.1835
 25:56:51.5932
 48:00:00.0000
 52:50:38.1230
 60:31:35.2345
 60:47:53.3451
 49:26:00.4562
 68:58:11.5668
 55:36:05.1896
 63:43:49.8313
 52:25:09.0129
 54:49:27.5237
 50:57:52.0156
 64:45:44.8653
 69:30:57.8205
 52:25:09.1540
 54:49:27.1053
 50:57:52.4823
 64:45:44.6583
 69:30:57.5822
 70:30:04.1835
 49:56:51.5932
 1296:00:00.00
 1300:50:38.12
 1308:31:35.23
 1308:47:53.35
 1297:26:00.46
 1316:58:11.57
 1303:36:05.19
 1311:43:49.83
 1300:25:09.01
 1302:49:27.52
 1298:57:52.02
 1312:45:44.87
 1317:30:57.82
 1300:25:09.15
 1302:49:27.11
 1298:57:52.48
 1312:45:44.66
 1317:30:57.58
 1318:30:04.18
 1297:56:51.59
 16344:00:00.0
 16348:50:38.1
 16356:31:35.2
 16356:47:53.3
 16345:26:00.5
 16364:58:11.6
 16351:36:05.2
 16359:43:49.8
 16348:25:09.0
 16350:49:27.5
 16346:57:52.0
 16360:45:44.9
 16365:30:57.8
 16348:25:09.2
 16350:49:27.1
 16346:57:52.5
 16360:45:44.7
 16365:30:57.6
 16366:30:04.2
 16345:56:51.6
  0:00:00.0000
 -4:50:38.1230
 -12:31:35.235
 -12:47:53.345
 -1:26:00.4561
 -20:58:11.567
 -7:36:05.1896
 -15:43:49.831
 -4:25:09.0129
 -6:49:27.5238
 -2:57:52.0156
 -16:45:44.865
 -21:30:57.820
 -4:25:09.1539
 -6:49:27.1053
 -2:57:52.4823
 -16:45:44.658
 -21:30:57.582
 -22:30:04.183
 -1:56:51.5932
 -24:00:00.000
 -28:50:38.123
 -36:31:35.235
 -36:47:53.345
 -25:26:00.456
 -44:58:11.567
 -31:36:05.190
 -39:43:49.831
 -28:25:09.013
 -30:49:27.524
 -26:57:52.016
 -40:45:44.865
 -45:30:57.820
 -28:25:09.154
 -30:49:27.105
 -26:57:52.482
 -40:45:44.658
 -45:30:57.582
 -46:30:04.183
 -25:56:51.593
 -48:00:00.000
 -52:50:38.123
 -60:31:35.235
 -60:47:53.345
 -49:26:00.456
 -68:58:11.567
 -55:36:05.190
 -63:43:49.831
 -52:25:09.013
 -54:49:27.524
 -50:57:52.016
 -64:45:44.865
 -69:30:57.820
 -52:25:09.154
 -54:49:27.105
 -50:57:52.482
 -64:45:44.658
 -69:30:57.582
 -70:30:04.183
 -49:56:51.593
 -1296:00:00.0
 -1300:50:38.1
 -1308:31:35.2
 -1308:47:53.3
 -1297:26:00.5
 -1316:58:11.6
 -1303:36:05.2
 -1311:43:49.8
 -1300:25:09.0
 -1302:49:27.5
 -1298:57:52.0
 -1312:45:44.9
 -1317:30:57.8
 -1300:25:09.2
 -1302:49:27.1
 -1298:57:52.5
 -1312:45:44.7
 -1317:30:57.6
 -1318:30:04.2
 -1297:56:51.6
  -16344:00:00
  -16348:50:38
  -16356:31:35
  -16356:47:53
  -16345:26:00
  -16364:58:11
  -16351:36:05
  -16359:43:49
  -16348:25:09
  -16350:49:27
  -16346:57:52
  -16360:45:44
  -16365:30:57
  -16348:25:09
  -16350:49:27
  -16346:57:52
  -16360:45:44
  -16365:30:57
  -16366:30:04
  -16345:56:51
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:5147"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:5349: cat time14.out"
at_fn_check_prepare_trace "data-out.at:5349"
( $at_check_trace; cat time14.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "        0:00:00
        4:50:38
       12:31:35
       12:47:53
        1:26:00
       20:58:11
        7:36:05
       15:43:49
        4:25:09
        6:49:27
        2:57:52
       16:45:44
       21:30:57
        4:25:09
        6:49:27
        2:57:52
       16:45:44
       21:30:57
       22:30:04
        1:56:51
       24:00:00
       28:50:38
       36:31:35
       36:47:53
       25:26:00
       44:58:11
       31:36:05
       39:43:49
       28:25:09
       30:49:27
       26:57:52
       40:45:44
       45:30:57
       28:25:09
       30:49:27
       26:57:52
       40:45:44
       45:30:57
       46:30:04
       25:56:51
       48:00:00
       52:50:38
       60:31:35
       60:47:53
       49:26:00
       68:58:11
       55:36:05
       63:43:49
       52:25:09
       54:49:27
       50:57:52
       64:45:44
       69:30:57
       52:25:09
       54:49:27
       50:57:52
       64:45:44
       69:30:57
       70:30:04
       49:56:51
     1296:00:00
     1300:50:38
     1308:31:35
     1308:47:53
     1297:26:00
     1316:58:11
     1303:36:05
     1311:43:49
     1300:25:09
     1302:49:27
     1298:57:52
     1312:45:44
     1317:30:57
     1300:25:09
     1302:49:27
     1298:57:52
     1312:45:44
     1317:30:57
     1318:30:04
     1297:56:51
    16344:00:00
    16348:50:38
    16356:31:35
    16356:47:53
    16345:26:00
    16364:58:11
    16351:36:05
    16359:43:49
    16348:25:09
    16350:49:27
    16346:57:52
    16360:45:44
    16365:30:57
    16348:25:09
    16350:49:27
    16346:57:52
    16360:45:44
    16365:30:57
    16366:30:04
    16345:56:51
        0:00:00
       -4:50:38
      -12:31:35
      -12:47:53
       -1:26:00
      -20:58:11
       -7:36:05
      -15:43:49
       -4:25:09
       -6:49:27
       -2:57:52
      -16:45:44
      -21:30:57
       -4:25:09
       -6:49:27
       -2:57:52
      -16:45:44
      -21:30:57
      -22:30:04
       -1:56:51
      -24:00:00
      -28:50:38
      -36:31:35
      -36:47:53
      -25:26:00
      -44:58:11
      -31:36:05
      -39:43:49
      -28:25:09
      -30:49:27
      -26:57:52
      -40:45:44
      -45:30:57
      -28:25:09
      -30:49:27
      -26:57:52
      -40:45:44
      -45:30:57
      -46:30:04
      -25:56:51
      -48:00:00
      -52:50:38
      -60:31:35
      -60:47:53
      -49:26:00
      -68:58:11
      -55:36:05
      -63:43:49
      -52:25:09
      -54:49:27
      -50:57:52
      -64:45:44
      -69:30:57
      -52:25:09
      -54:49:27
      -50:57:52
      -64:45:44
      -69:30:57
      -70:30:04
      -49:56:51
    -1296:00:00
    -1300:50:38
    -1308:31:35
    -1308:47:53
    -1297:26:00
    -1316:58:11
    -1303:36:05
    -1311:43:49
    -1300:25:09
    -1302:49:27
    -1298:57:52
    -1312:45:44
    -1317:30:57
    -1300:25:09
    -1302:49:27
    -1298:57:52
    -1312:45:44
    -1317:30:57
    -1318:30:04
    -1297:56:51
   -16344:00:00
   -16348:50:38
   -16356:31:35
   -16356:47:53
   -16345:26:00
   -16364:58:11
   -16351:36:05
   -16359:43:49
   -16348:25:09
   -16350:49:27
   -16346:57:52
   -16360:45:44
   -16365:30:57
   -16348:25:09
   -16350:49:27
   -16346:57:52
   -16360:45:44
   -16365:30:57
   -16366:30:04
   -16345:56:51
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:5349"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:5551: cat time14.1.out"
at_fn_check_prepare_trace "data-out.at:5551"
( $at_check_trace; cat time14.1.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "      0:00:00.0
      4:50:38.1
     12:31:35.2
     12:47:53.3
      1:26:00.5
     20:58:11.6
      7:36:05.2
     15:43:49.8
      4:25:09.0
      6:49:27.5
      2:57:52.0
     16:45:44.9
     21:30:57.8
      4:25:09.2
      6:49:27.1
      2:57:52.5
     16:45:44.7
     21:30:57.6
     22:30:04.2
      1:56:51.6
     24:00:00.0
     28:50:38.1
     36:31:35.2
     36:47:53.3
     25:26:00.5
     44:58:11.6
     31:36:05.2
     39:43:49.8
     28:25:09.0
     30:49:27.5
     26:57:52.0
     40:45:44.9
     45:30:57.8
     28:25:09.2
     30:49:27.1
     26:57:52.5
     40:45:44.7
     45:30:57.6
     46:30:04.2
     25:56:51.6
     48:00:00.0
     52:50:38.1
     60:31:35.2
     60:47:53.3
     49:26:00.5
     68:58:11.6
     55:36:05.2
     63:43:49.8
     52:25:09.0
     54:49:27.5
     50:57:52.0
     64:45:44.9
     69:30:57.8
     52:25:09.2
     54:49:27.1
     50:57:52.5
     64:45:44.7
     69:30:57.6
     70:30:04.2
     49:56:51.6
   1296:00:00.0
   1300:50:38.1
   1308:31:35.2
   1308:47:53.3
   1297:26:00.5
   1316:58:11.6
   1303:36:05.2
   1311:43:49.8
   1300:25:09.0
   1302:49:27.5
   1298:57:52.0
   1312:45:44.9
   1317:30:57.8
   1300:25:09.2
   1302:49:27.1
   1298:57:52.5
   1312:45:44.7
   1317:30:57.6
   1318:30:04.2
   1297:56:51.6
  16344:00:00.0
  16348:50:38.1
  16356:31:35.2
  16356:47:53.3
  16345:26:00.5
  16364:58:11.6
  16351:36:05.2
  16359:43:49.8
  16348:25:09.0
  16350:49:27.5
  16346:57:52.0
  16360:45:44.9
  16365:30:57.8
  16348:25:09.2
  16350:49:27.1
  16346:57:52.5
  16360:45:44.7
  16365:30:57.6
  16366:30:04.2
  16345:56:51.6
      0:00:00.0
     -4:50:38.1
    -12:31:35.2
    -12:47:53.3
     -1:26:00.5
    -20:58:11.6
     -7:36:05.2
    -15:43:49.8
     -4:25:09.0
     -6:49:27.5
     -2:57:52.0
    -16:45:44.9
    -21:30:57.8
     -4:25:09.2
     -6:49:27.1
     -2:57:52.5
    -16:45:44.7
    -21:30:57.6
    -22:30:04.2
     -1:56:51.6
    -24:00:00.0
    -28:50:38.1
    -36:31:35.2
    -36:47:53.3
    -25:26:00.5
    -44:58:11.6
    -31:36:05.2
    -39:43:49.8
    -28:25:09.0
    -30:49:27.5
    -26:57:52.0
    -40:45:44.9
    -45:30:57.8
    -28:25:09.2
    -30:49:27.1
    -26:57:52.5
    -40:45:44.7
    -45:30:57.6
    -46:30:04.2
    -25:56:51.6
    -48:00:00.0
    -52:50:38.1
    -60:31:35.2
    -60:47:53.3
    -49:26:00.5
    -68:58:11.6
    -55:36:05.2
    -63:43:49.8
    -52:25:09.0
    -54:49:27.5
    -50:57:52.0
    -64:45:44.9
    -69:30:57.8
    -52:25:09.2
    -54:49:27.1
    -50:57:52.5
    -64:45:44.7
    -69:30:57.6
    -70:30:04.2
    -49:56:51.6
  -1296:00:00.0
  -1300:50:38.1
  -1308:31:35.2
  -1308:47:53.3
  -1297:26:00.5
  -1316:58:11.6
  -1303:36:05.2
  -1311:43:49.8
  -1300:25:09.0
  -1302:49:27.5
  -1298:57:52.0
  -1312:45:44.9
  -1317:30:57.8
  -1300:25:09.2
  -1302:49:27.1
  -1298:57:52.5
  -1312:45:44.7
  -1317:30:57.6
  -1318:30:04.2
  -1297:56:51.6
 -16344:00:00.0
 -16348:50:38.1
 -16356:31:35.2
 -16356:47:53.3
 -16345:26:00.5
 -16364:58:11.6
 -16351:36:05.2
 -16359:43:49.8
 -16348:25:09.0
 -16350:49:27.5
 -16346:57:52.0
 -16360:45:44.9
 -16365:30:57.8
 -16348:25:09.2
 -16350:49:27.1
 -16346:57:52.5
 -16360:45:44.7
 -16365:30:57.6
 -16366:30:04.2
 -16345:56:51.6
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:5551"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:5753: cat time14.2.out"
at_fn_check_prepare_trace "data-out.at:5753"
( $at_check_trace; cat time14.2.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "     0:00:00.00
     4:50:38.12
    12:31:35.23
    12:47:53.35
     1:26:00.46
    20:58:11.57
     7:36:05.19
    15:43:49.83
     4:25:09.01
     6:49:27.52
     2:57:52.02
    16:45:44.87
    21:30:57.82
     4:25:09.15
     6:49:27.11
     2:57:52.48
    16:45:44.66
    21:30:57.58
    22:30:04.18
     1:56:51.59
    24:00:00.00
    28:50:38.12
    36:31:35.23
    36:47:53.35
    25:26:00.46
    44:58:11.57
    31:36:05.19
    39:43:49.83
    28:25:09.01
    30:49:27.52
    26:57:52.02
    40:45:44.87
    45:30:57.82
    28:25:09.15
    30:49:27.11
    26:57:52.48
    40:45:44.66
    45:30:57.58
    46:30:04.18
    25:56:51.59
    48:00:00.00
    52:50:38.12
    60:31:35.23
    60:47:53.35
    49:26:00.46
    68:58:11.57
    55:36:05.19
    63:43:49.83
    52:25:09.01
    54:49:27.52
    50:57:52.02
    64:45:44.87
    69:30:57.82
    52:25:09.15
    54:49:27.11
    50:57:52.48
    64:45:44.66
    69:30:57.58
    70:30:04.18
    49:56:51.59
  1296:00:00.00
  1300:50:38.12
  1308:31:35.23
  1308:47:53.35
  1297:26:00.46
  1316:58:11.57
  1303:36:05.19
  1311:43:49.83
  1300:25:09.01
  1302:49:27.52
  1298:57:52.02
  1312:45:44.87
  1317:30:57.82
  1300:25:09.15
  1302:49:27.11
  1298:57:52.48
  1312:45:44.66
  1317:30:57.58
  1318:30:04.18
  1297:56:51.59
 16344:00:00.00
 16348:50:38.12
 16356:31:35.23
 16356:47:53.35
 16345:26:00.46
 16364:58:11.57
 16351:36:05.19
 16359:43:49.83
 16348:25:09.01
 16350:49:27.52
 16346:57:52.02
 16360:45:44.87
 16365:30:57.82
 16348:25:09.15
 16350:49:27.11
 16346:57:52.48
 16360:45:44.66
 16365:30:57.58
 16366:30:04.18
 16345:56:51.59
     0:00:00.00
    -4:50:38.12
   -12:31:35.23
   -12:47:53.35
    -1:26:00.46
   -20:58:11.57
    -7:36:05.19
   -15:43:49.83
    -4:25:09.01
    -6:49:27.52
    -2:57:52.02
   -16:45:44.87
   -21:30:57.82
    -4:25:09.15
    -6:49:27.11
    -2:57:52.48
   -16:45:44.66
   -21:30:57.58
   -22:30:04.18
    -1:56:51.59
   -24:00:00.00
   -28:50:38.12
   -36:31:35.23
   -36:47:53.35
   -25:26:00.46
   -44:58:11.57
   -31:36:05.19
   -39:43:49.83
   -28:25:09.01
   -30:49:27.52
   -26:57:52.02
   -40:45:44.87
   -45:30:57.82
   -28:25:09.15
   -30:49:27.11
   -26:57:52.48
   -40:45:44.66
   -45:30:57.58
   -46:30:04.18
   -25:56:51.59
   -48:00:00.00
   -52:50:38.12
   -60:31:35.23
   -60:47:53.35
   -49:26:00.46
   -68:58:11.57
   -55:36:05.19
   -63:43:49.83
   -52:25:09.01
   -54:49:27.52
   -50:57:52.02
   -64:45:44.87
   -69:30:57.82
   -52:25:09.15
   -54:49:27.11
   -50:57:52.48
   -64:45:44.66
   -69:30:57.58
   -70:30:04.18
   -49:56:51.59
 -1296:00:00.00
 -1300:50:38.12
 -1308:31:35.23
 -1308:47:53.35
 -1297:26:00.46
 -1316:58:11.57
 -1303:36:05.19
 -1311:43:49.83
 -1300:25:09.01
 -1302:49:27.52
 -1298:57:52.02
 -1312:45:44.87
 -1317:30:57.82
 -1300:25:09.15
 -1302:49:27.11
 -1298:57:52.48
 -1312:45:44.66
 -1317:30:57.58
 -1318:30:04.18
 -1297:56:51.59
 -16344:00:00.0
 -16348:50:38.1
 -16356:31:35.2
 -16356:47:53.3
 -16345:26:00.5
 -16364:58:11.6
 -16351:36:05.2
 -16359:43:49.8
 -16348:25:09.0
 -16350:49:27.5
 -16346:57:52.0
 -16360:45:44.9
 -16365:30:57.8
 -16348:25:09.2
 -16350:49:27.1
 -16346:57:52.5
 -16360:45:44.7
 -16365:30:57.6
 -16366:30:04.2
 -16345:56:51.6
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:5753"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:5955: cat time14.3.out"
at_fn_check_prepare_trace "data-out.at:5955"
( $at_check_trace; cat time14.3.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "    0:00:00.000
    4:50:38.123
   12:31:35.235
   12:47:53.345
    1:26:00.456
   20:58:11.567
    7:36:05.190
   15:43:49.831
    4:25:09.013
    6:49:27.524
    2:57:52.016
   16:45:44.865
   21:30:57.820
    4:25:09.154
    6:49:27.105
    2:57:52.482
   16:45:44.658
   21:30:57.582
   22:30:04.183
    1:56:51.593
   24:00:00.000
   28:50:38.123
   36:31:35.235
   36:47:53.345
   25:26:00.456
   44:58:11.567
   31:36:05.190
   39:43:49.831
   28:25:09.013
   30:49:27.524
   26:57:52.016
   40:45:44.865
   45:30:57.820
   28:25:09.154
   30:49:27.105
   26:57:52.482
   40:45:44.658
   45:30:57.582
   46:30:04.183
   25:56:51.593
   48:00:00.000
   52:50:38.123
   60:31:35.235
   60:47:53.345
   49:26:00.456
   68:58:11.567
   55:36:05.190
   63:43:49.831
   52:25:09.013
   54:49:27.524
   50:57:52.016
   64:45:44.865
   69:30:57.820
   52:25:09.154
   54:49:27.105
   50:57:52.482
   64:45:44.658
   69:30:57.582
   70:30:04.183
   49:56:51.593
 1296:00:00.000
 1300:50:38.123
 1308:31:35.235
 1308:47:53.345
 1297:26:00.456
 1316:58:11.567
 1303:36:05.190
 1311:43:49.831
 1300:25:09.013
 1302:49:27.524
 1298:57:52.016
 1312:45:44.865
 1317:30:57.820
 1300:25:09.154
 1302:49:27.105
 1298:57:52.482
 1312:45:44.658
 1317:30:57.582
 1318:30:04.183
 1297:56:51.593
 16344:00:00.00
 16348:50:38.12
 16356:31:35.23
 16356:47:53.35
 16345:26:00.46
 16364:58:11.57
 16351:36:05.19
 16359:43:49.83
 16348:25:09.01
 16350:49:27.52
 16346:57:52.02
 16360:45:44.87
 16365:30:57.82
 16348:25:09.15
 16350:49:27.11
 16346:57:52.48
 16360:45:44.66
 16365:30:57.58
 16366:30:04.18
 16345:56:51.59
    0:00:00.000
   -4:50:38.123
  -12:31:35.235
  -12:47:53.345
   -1:26:00.456
  -20:58:11.567
   -7:36:05.190
  -15:43:49.831
   -4:25:09.013
   -6:49:27.524
   -2:57:52.016
  -16:45:44.865
  -21:30:57.820
   -4:25:09.154
   -6:49:27.105
   -2:57:52.482
  -16:45:44.658
  -21:30:57.582
  -22:30:04.183
   -1:56:51.593
  -24:00:00.000
  -28:50:38.123
  -36:31:35.235
  -36:47:53.345
  -25:26:00.456
  -44:58:11.567
  -31:36:05.190
  -39:43:49.831
  -28:25:09.013
  -30:49:27.524
  -26:57:52.016
  -40:45:44.865
  -45:30:57.820
  -28:25:09.154
  -30:49:27.105
  -26:57:52.482
  -40:45:44.658
  -45:30:57.582
  -46:30:04.183
  -25:56:51.593
  -48:00:00.000
  -52:50:38.123
  -60:31:35.235
  -60:47:53.345
  -49:26:00.456
  -68:58:11.567
  -55:36:05.190
  -63:43:49.831
  -52:25:09.013
  -54:49:27.524
  -50:57:52.016
  -64:45:44.865
  -69:30:57.820
  -52:25:09.154
  -54:49:27.105
  -50:57:52.482
  -64:45:44.658
  -69:30:57.582
  -70:30:04.183
  -49:56:51.593
 -1296:00:00.00
 -1300:50:38.12
 -1308:31:35.23
 -1308:47:53.35
 -1297:26:00.46
 -1316:58:11.57
 -1303:36:05.19
 -1311:43:49.83
 -1300:25:09.01
 -1302:49:27.52
 -1298:57:52.02
 -1312:45:44.87
 -1317:30:57.82
 -1300:25:09.15
 -1302:49:27.11
 -1298:57:52.48
 -1312:45:44.66
 -1317:30:57.58
 -1318:30:04.18
 -1297:56:51.59
 -16344:00:00.0
 -16348:50:38.1
 -16356:31:35.2
 -16356:47:53.3
 -16345:26:00.5
 -16364:58:11.6
 -16351:36:05.2
 -16359:43:49.8
 -16348:25:09.0
 -16350:49:27.5
 -16346:57:52.0
 -16360:45:44.9
 -16365:30:57.8
 -16348:25:09.2
 -16350:49:27.1
 -16346:57:52.5
 -16360:45:44.7
 -16365:30:57.6
 -16366:30:04.2
 -16345:56:51.6
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:5955"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:6157: cat time14.4.out"
at_fn_check_prepare_trace "data-out.at:6157"
( $at_check_trace; cat time14.4.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "   0:00:00.0000
   4:50:38.1230
  12:31:35.2345
  12:47:53.3451
   1:26:00.4561
  20:58:11.5668
   7:36:05.1896
  15:43:49.8313
   4:25:09.0129
   6:49:27.5238
   2:57:52.0156
  16:45:44.8653
  21:30:57.8205
   4:25:09.1539
   6:49:27.1053
   2:57:52.4823
  16:45:44.6583
  21:30:57.5822
  22:30:04.1835
   1:56:51.5932
  24:00:00.0000
  28:50:38.1230
  36:31:35.2345
  36:47:53.3451
  25:26:00.4561
  44:58:11.5668
  31:36:05.1896
  39:43:49.8313
  28:25:09.0129
  30:49:27.5237
  26:57:52.0157
  40:45:44.8653
  45:30:57.8205
  28:25:09.1540
  30:49:27.1053
  26:57:52.4823
  40:45:44.6583
  45:30:57.5822
  46:30:04.1835
  25:56:51.5932
  48:00:00.0000
  52:50:38.1230
  60:31:35.2345
  60:47:53.3451
  49:26:00.4562
  68:58:11.5668
  55:36:05.1896
  63:43:49.8313
  52:25:09.0129
  54:49:27.5237
  50:57:52.0156
  64:45:44.8653
  69:30:57.8205
  52:25:09.1540
  54:49:27.1053
  50:57:52.4823
  64:45:44.6583
  69:30:57.5822
  70:30:04.1835
  49:56:51.5932
 1296:00:00.000
 1300:50:38.123
 1308:31:35.235
 1308:47:53.345
 1297:26:00.456
 1316:58:11.567
 1303:36:05.190
 1311:43:49.831
 1300:25:09.013
 1302:49:27.524
 1298:57:52.016
 1312:45:44.865
 1317:30:57.820
 1300:25:09.154
 1302:49:27.105
 1298:57:52.482
 1312:45:44.658
 1317:30:57.582
 1318:30:04.183
 1297:56:51.593
 16344:00:00.00
 16348:50:38.12
 16356:31:35.23
 16356:47:53.35
 16345:26:00.46
 16364:58:11.57
 16351:36:05.19
 16359:43:49.83
 16348:25:09.01
 16350:49:27.52
 16346:57:52.02
 16360:45:44.87
 16365:30:57.82
 16348:25:09.15
 16350:49:27.11
 16346:57:52.48
 16360:45:44.66
 16365:30:57.58
 16366:30:04.18
 16345:56:51.59
   0:00:00.0000
  -4:50:38.1230
 -12:31:35.2345
 -12:47:53.3451
  -1:26:00.4561
 -20:58:11.5668
  -7:36:05.1896
 -15:43:49.8313
  -4:25:09.0129
  -6:49:27.5238
  -2:57:52.0156
 -16:45:44.8653
 -21:30:57.8205
  -4:25:09.1539
  -6:49:27.1053
  -2:57:52.4823
 -16:45:44.6583
 -21:30:57.5822
 -22:30:04.1835
  -1:56:51.5932
 -24:00:00.0000
 -28:50:38.1230
 -36:31:35.2345
 -36:47:53.3451
 -25:26:00.4561
 -44:58:11.5668
 -31:36:05.1896
 -39:43:49.8313
 -28:25:09.0129
 -30:49:27.5237
 -26:57:52.0157
 -40:45:44.8653
 -45:30:57.8205
 -28:25:09.1540
 -30:49:27.1053
 -26:57:52.4823
 -40:45:44.6583
 -45:30:57.5822
 -46:30:04.1835
 -25:56:51.5932
 -48:00:00.0000
 -52:50:38.1230
 -60:31:35.2345
 -60:47:53.3451
 -49:26:00.4562
 -68:58:11.5668
 -55:36:05.1896
 -63:43:49.8313
 -52:25:09.0129
 -54:49:27.5237
 -50:57:52.0156
 -64:45:44.8653
 -69:30:57.8205
 -52:25:09.1540
 -54:49:27.1053
 -50:57:52.4823
 -64:45:44.6583
 -69:30:57.5822
 -70:30:04.1835
 -49:56:51.5932
 -1296:00:00.00
 -1300:50:38.12
 -1308:31:35.23
 -1308:47:53.35
 -1297:26:00.46
 -1316:58:11.57
 -1303:36:05.19
 -1311:43:49.83
 -1300:25:09.01
 -1302:49:27.52
 -1298:57:52.02
 -1312:45:44.87
 -1317:30:57.82
 -1300:25:09.15
 -1302:49:27.11
 -1298:57:52.48
 -1312:45:44.66
 -1317:30:57.58
 -1318:30:04.18
 -1297:56:51.59
 -16344:00:00.0
 -16348:50:38.1
 -16356:31:35.2
 -16356:47:53.3
 -16345:26:00.5
 -16364:58:11.6
 -16351:36:05.2
 -16359:43:49.8
 -16348:25:09.0
 -16350:49:27.5
 -16346:57:52.0
 -16360:45:44.9
 -16365:30:57.8
 -16348:25:09.2
 -16350:49:27.1
 -16346:57:52.5
 -16360:45:44.7
 -16365:30:57.6
 -16366:30:04.2
 -16345:56:51.6
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:6157"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:6359: cat time14.5.out"
at_fn_check_prepare_trace "data-out.at:6359"
( $at_check_trace; cat time14.5.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "  0:00:00.00000
  4:50:38.12301
 12:31:35.23453
 12:47:53.34505
  1:26:00.45615
 20:58:11.56677
  7:36:05.18964
 15:43:49.83132
  4:25:09.01293
  6:49:27.52375
  2:57:52.01565
 16:45:44.86529
 21:30:57.82047
  4:25:09.15395
  6:49:27.10533
  2:57:52.48229
 16:45:44.65827
 21:30:57.58219
 22:30:04.18347
  1:56:51.59319
 24:00:00.00000
 28:50:38.12301
 36:31:35.23453
 36:47:53.34505
 25:26:00.45615
 44:58:11.56677
 31:36:05.18964
 39:43:49.83132
 28:25:09.01293
 30:49:27.52375
 26:57:52.01565
 40:45:44.86529
 45:30:57.82047
 28:25:09.15395
 30:49:27.10533
 26:57:52.48229
 40:45:44.65827
 45:30:57.58219
 46:30:04.18347
 25:56:51.59319
 48:00:00.00000
 52:50:38.12301
 60:31:35.23453
 60:47:53.34505
 49:26:00.45615
 68:58:11.56677
 55:36:05.18964
 63:43:49.83132
 52:25:09.01293
 54:49:27.52375
 50:57:52.01565
 64:45:44.86529
 69:30:57.82047
 52:25:09.15395
 54:49:27.10533
 50:57:52.48229
 64:45:44.65827
 69:30:57.58219
 70:30:04.18347
 49:56:51.59319
 1296:00:00.000
 1300:50:38.123
 1308:31:35.235
 1308:47:53.345
 1297:26:00.456
 1316:58:11.567
 1303:36:05.190
 1311:43:49.831
 1300:25:09.013
 1302:49:27.524
 1298:57:52.016
 1312:45:44.865
 1317:30:57.820
 1300:25:09.154
 1302:49:27.105
 1298:57:52.482
 1312:45:44.658
 1317:30:57.582
 1318:30:04.183
 1297:56:51.593
 16344:00:00.00
 16348:50:38.12
 16356:31:35.23
 16356:47:53.35
 16345:26:00.46
 16364:58:11.57
 16351:36:05.19
 16359:43:49.83
 16348:25:09.01
 16350:49:27.52
 16346:57:52.02
 16360:45:44.87
 16365:30:57.82
 16348:25:09.15
 16350:49:27.11
 16346:57:52.48
 16360:45:44.66
 16365:30:57.58
 16366:30:04.18
 16345:56:51.59
  0:00:00.00000
 -4:50:38.12301
 -12:31:35.2345
 -12:47:53.3451
 -1:26:00.45615
 -20:58:11.5668
 -7:36:05.18964
 -15:43:49.8313
 -4:25:09.01293
 -6:49:27.52375
 -2:57:52.01565
 -16:45:44.8653
 -21:30:57.8205
 -4:25:09.15395
 -6:49:27.10533
 -2:57:52.48229
 -16:45:44.6583
 -21:30:57.5822
 -22:30:04.1835
 -1:56:51.59319
 -24:00:00.0000
 -28:50:38.1230
 -36:31:35.2345
 -36:47:53.3451
 -25:26:00.4561
 -44:58:11.5668
 -31:36:05.1896
 -39:43:49.8313
 -28:25:09.0129
 -30:49:27.5237
 -26:57:52.0157
 -40:45:44.8653
 -45:30:57.8205
 -28:25:09.1540
 -30:49:27.1053
 -26:57:52.4823
 -40:45:44.6583
 -45:30:57.5822
 -46:30:04.1835
 -25:56:51.5932
 -48:00:00.0000
 -52:50:38.1230
 -60:31:35.2345
 -60:47:53.3451
 -49:26:00.4562
 -68:58:11.5668
 -55:36:05.1896
 -63:43:49.8313
 -52:25:09.0129
 -54:49:27.5237
 -50:57:52.0156
 -64:45:44.8653
 -69:30:57.8205
 -52:25:09.1540
 -54:49:27.1053
 -50:57:52.4823
 -64:45:44.6583
 -69:30:57.5822
 -70:30:04.1835
 -49:56:51.5932
 -1296:00:00.00
 -1300:50:38.12
 -1308:31:35.23
 -1308:47:53.35
 -1297:26:00.46
 -1316:58:11.57
 -1303:36:05.19
 -1311:43:49.83
 -1300:25:09.01
 -1302:49:27.52
 -1298:57:52.02
 -1312:45:44.87
 -1317:30:57.82
 -1300:25:09.15
 -1302:49:27.11
 -1298:57:52.48
 -1312:45:44.66
 -1317:30:57.58
 -1318:30:04.18
 -1297:56:51.59
 -16344:00:00.0
 -16348:50:38.1
 -16356:31:35.2
 -16356:47:53.3
 -16345:26:00.5
 -16364:58:11.6
 -16351:36:05.2
 -16359:43:49.8
 -16348:25:09.0
 -16350:49:27.5
 -16346:57:52.0
 -16360:45:44.9
 -16365:30:57.8
 -16348:25:09.2
 -16350:49:27.1
 -16346:57:52.5
 -16360:45:44.7
 -16365:30:57.6
 -16366:30:04.2
 -16345:56:51.6
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:6359"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:6561: cat time15.out"
at_fn_check_prepare_trace "data-out.at:6561"
( $at_check_trace; cat time15.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "         0:00:00
         4:50:38
        12:31:35
        12:47:53
         1:26:00
        20:58:11
         7:36:05
        15:43:49
         4:25:09
         6:49:27
         2:57:52
        16:45:44
        21:30:57
         4:25:09
         6:49:27
         2:57:52
        16:45:44
        21:30:57
        22:30:04
         1:56:51
        24:00:00
        28:50:38
        36:31:35
        36:47:53
        25:26:00
        44:58:11
        31:36:05
        39:43:49
        28:25:09
        30:49:27
        26:57:52
        40:45:44
        45:30:57
        28:25:09
        30:49:27
        26:57:52
        40:45:44
        45:30:57
        46:30:04
        25:56:51
        48:00:00
        52:50:38
        60:31:35
        60:47:53
        49:26:00
        68:58:11
        55:36:05
        63:43:49
        52:25:09
        54:49:27
        50:57:52
        64:45:44
        69:30:57
        52:25:09
        54:49:27
        50:57:52
        64:45:44
        69:30:57
        70:30:04
        49:56:51
      1296:00:00
      1300:50:38
      1308:31:35
      1308:47:53
      1297:26:00
      1316:58:11
      1303:36:05
      1311:43:49
      1300:25:09
      1302:49:27
      1298:57:52
      1312:45:44
      1317:30:57
      1300:25:09
      1302:49:27
      1298:57:52
      1312:45:44
      1317:30:57
      1318:30:04
      1297:56:51
     16344:00:00
     16348:50:38
     16356:31:35
     16356:47:53
     16345:26:00
     16364:58:11
     16351:36:05
     16359:43:49
     16348:25:09
     16350:49:27
     16346:57:52
     16360:45:44
     16365:30:57
     16348:25:09
     16350:49:27
     16346:57:52
     16360:45:44
     16365:30:57
     16366:30:04
     16345:56:51
         0:00:00
        -4:50:38
       -12:31:35
       -12:47:53
        -1:26:00
       -20:58:11
        -7:36:05
       -15:43:49
        -4:25:09
        -6:49:27
        -2:57:52
       -16:45:44
       -21:30:57
        -4:25:09
        -6:49:27
        -2:57:52
       -16:45:44
       -21:30:57
       -22:30:04
        -1:56:51
       -24:00:00
       -28:50:38
       -36:31:35
       -36:47:53
       -25:26:00
       -44:58:11
       -31:36:05
       -39:43:49
       -28:25:09
       -30:49:27
       -26:57:52
       -40:45:44
       -45:30:57
       -28:25:09
       -30:49:27
       -26:57:52
       -40:45:44
       -45:30:57
       -46:30:04
       -25:56:51
       -48:00:00
       -52:50:38
       -60:31:35
       -60:47:53
       -49:26:00
       -68:58:11
       -55:36:05
       -63:43:49
       -52:25:09
       -54:49:27
       -50:57:52
       -64:45:44
       -69:30:57
       -52:25:09
       -54:49:27
       -50:57:52
       -64:45:44
       -69:30:57
       -70:30:04
       -49:56:51
     -1296:00:00
     -1300:50:38
     -1308:31:35
     -1308:47:53
     -1297:26:00
     -1316:58:11
     -1303:36:05
     -1311:43:49
     -1300:25:09
     -1302:49:27
     -1298:57:52
     -1312:45:44
     -1317:30:57
     -1300:25:09
     -1302:49:27
     -1298:57:52
     -1312:45:44
     -1317:30:57
     -1318:30:04
     -1297:56:51
    -16344:00:00
    -16348:50:38
    -16356:31:35
    -16356:47:53
    -16345:26:00
    -16364:58:11
    -16351:36:05
    -16359:43:49
    -16348:25:09
    -16350:49:27
    -16346:57:52
    -16360:45:44
    -16365:30:57
    -16348:25:09
    -16350:49:27
    -16346:57:52
    -16360:45:44
    -16365:30:57
    -16366:30:04
    -16345:56:51
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:6561"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:6763: cat time15.1.out"
at_fn_check_prepare_trace "data-out.at:6763"
( $at_check_trace; cat time15.1.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "       0:00:00.0
       4:50:38.1
      12:31:35.2
      12:47:53.3
       1:26:00.5
      20:58:11.6
       7:36:05.2
      15:43:49.8
       4:25:09.0
       6:49:27.5
       2:57:52.0
      16:45:44.9
      21:30:57.8
       4:25:09.2
       6:49:27.1
       2:57:52.5
      16:45:44.7
      21:30:57.6
      22:30:04.2
       1:56:51.6
      24:00:00.0
      28:50:38.1
      36:31:35.2
      36:47:53.3
      25:26:00.5
      44:58:11.6
      31:36:05.2
      39:43:49.8
      28:25:09.0
      30:49:27.5
      26:57:52.0
      40:45:44.9
      45:30:57.8
      28:25:09.2
      30:49:27.1
      26:57:52.5
      40:45:44.7
      45:30:57.6
      46:30:04.2
      25:56:51.6
      48:00:00.0
      52:50:38.1
      60:31:35.2
      60:47:53.3
      49:26:00.5
      68:58:11.6
      55:36:05.2
      63:43:49.8
      52:25:09.0
      54:49:27.5
      50:57:52.0
      64:45:44.9
      69:30:57.8
      52:25:09.2
      54:49:27.1
      50:57:52.5
      64:45:44.7
      69:30:57.6
      70:30:04.2
      49:56:51.6
    1296:00:00.0
    1300:50:38.1
    1308:31:35.2
    1308:47:53.3
    1297:26:00.5
    1316:58:11.6
    1303:36:05.2
    1311:43:49.8
    1300:25:09.0
    1302:49:27.5
    1298:57:52.0
    1312:45:44.9
    1317:30:57.8
    1300:25:09.2
    1302:49:27.1
    1298:57:52.5
    1312:45:44.7
    1317:30:57.6
    1318:30:04.2
    1297:56:51.6
   16344:00:00.0
   16348:50:38.1
   16356:31:35.2
   16356:47:53.3
   16345:26:00.5
   16364:58:11.6
   16351:36:05.2
   16359:43:49.8
   16348:25:09.0
   16350:49:27.5
   16346:57:52.0
   16360:45:44.9
   16365:30:57.8
   16348:25:09.2
   16350:49:27.1
   16346:57:52.5
   16360:45:44.7
   16365:30:57.6
   16366:30:04.2
   16345:56:51.6
       0:00:00.0
      -4:50:38.1
     -12:31:35.2
     -12:47:53.3
      -1:26:00.5
     -20:58:11.6
      -7:36:05.2
     -15:43:49.8
      -4:25:09.0
      -6:49:27.5
      -2:57:52.0
     -16:45:44.9
     -21:30:57.8
      -4:25:09.2
      -6:49:27.1
      -2:57:52.5
     -16:45:44.7
     -21:30:57.6
     -22:30:04.2
      -1:56:51.6
     -24:00:00.0
     -28:50:38.1
     -36:31:35.2
     -36:47:53.3
     -25:26:00.5
     -44:58:11.6
     -31:36:05.2
     -39:43:49.8
     -28:25:09.0
     -30:49:27.5
     -26:57:52.0
     -40:45:44.9
     -45:30:57.8
     -28:25:09.2
     -30:49:27.1
     -26:57:52.5
     -40:45:44.7
     -45:30:57.6
     -46:30:04.2
     -25:56:51.6
     -48:00:00.0
     -52:50:38.1
     -60:31:35.2
     -60:47:53.3
     -49:26:00.5
     -68:58:11.6
     -55:36:05.2
     -63:43:49.8
     -52:25:09.0
     -54:49:27.5
     -50:57:52.0
     -64:45:44.9
     -69:30:57.8
     -52:25:09.2
     -54:49:27.1
     -50:57:52.5
     -64:45:44.7
     -69:30:57.6
     -70:30:04.2
     -49:56:51.6
   -1296:00:00.0
   -1300:50:38.1
   -1308:31:35.2
   -1308:47:53.3
   -1297:26:00.5
   -1316:58:11.6
   -1303:36:05.2
   -1311:43:49.8
   -1300:25:09.0
   -1302:49:27.5
   -1298:57:52.0
   -1312:45:44.9
   -1317:30:57.8
   -1300:25:09.2
   -1302:49:27.1
   -1298:57:52.5
   -1312:45:44.7
   -1317:30:57.6
   -1318:30:04.2
   -1297:56:51.6
  -16344:00:00.0
  -16348:50:38.1
  -16356:31:35.2
  -16356:47:53.3
  -16345:26:00.5
  -16364:58:11.6
  -16351:36:05.2
  -16359:43:49.8
  -16348:25:09.0
  -16350:49:27.5
  -16346:57:52.0
  -16360:45:44.9
  -16365:30:57.8
  -16348:25:09.2
  -16350:49:27.1
  -16346:57:52.5
  -16360:45:44.7
  -16365:30:57.6
  -16366:30:04.2
  -16345:56:51.6
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:6763"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:6965: cat time15.2.out"
at_fn_check_prepare_trace "data-out.at:6965"
( $at_check_trace; cat time15.2.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "      0:00:00.00
      4:50:38.12
     12:31:35.23
     12:47:53.35
      1:26:00.46
     20:58:11.57
      7:36:05.19
     15:43:49.83
      4:25:09.01
      6:49:27.52
      2:57:52.02
     16:45:44.87
     21:30:57.82
      4:25:09.15
      6:49:27.11
      2:57:52.48
     16:45:44.66
     21:30:57.58
     22:30:04.18
      1:56:51.59
     24:00:00.00
     28:50:38.12
     36:31:35.23
     36:47:53.35
     25:26:00.46
     44:58:11.57
     31:36:05.19
     39:43:49.83
     28:25:09.01
     30:49:27.52
     26:57:52.02
     40:45:44.87
     45:30:57.82
     28:25:09.15
     30:49:27.11
     26:57:52.48
     40:45:44.66
     45:30:57.58
     46:30:04.18
     25:56:51.59
     48:00:00.00
     52:50:38.12
     60:31:35.23
     60:47:53.35
     49:26:00.46
     68:58:11.57
     55:36:05.19
     63:43:49.83
     52:25:09.01
     54:49:27.52
     50:57:52.02
     64:45:44.87
     69:30:57.82
     52:25:09.15
     54:49:27.11
     50:57:52.48
     64:45:44.66
     69:30:57.58
     70:30:04.18
     49:56:51.59
   1296:00:00.00
   1300:50:38.12
   1308:31:35.23
   1308:47:53.35
   1297:26:00.46
   1316:58:11.57
   1303:36:05.19
   1311:43:49.83
   1300:25:09.01
   1302:49:27.52
   1298:57:52.02
   1312:45:44.87
   1317:30:57.82
   1300:25:09.15
   1302:49:27.11
   1298:57:52.48
   1312:45:44.66
   1317:30:57.58
   1318:30:04.18
   1297:56:51.59
  16344:00:00.00
  16348:50:38.12
  16356:31:35.23
  16356:47:53.35
  16345:26:00.46
  16364:58:11.57
  16351:36:05.19
  16359:43:49.83
  16348:25:09.01
  16350:49:27.52
  16346:57:52.02
  16360:45:44.87
  16365:30:57.82
  16348:25:09.15
  16350:49:27.11
  16346:57:52.48
  16360:45:44.66
  16365:30:57.58
  16366:30:04.18
  16345:56:51.59
      0:00:00.00
     -4:50:38.12
    -12:31:35.23
    -12:47:53.35
     -1:26:00.46
    -20:58:11.57
     -7:36:05.19
    -15:43:49.83
     -4:25:09.01
     -6:49:27.52
     -2:57:52.02
    -16:45:44.87
    -21:30:57.82
     -4:25:09.15
     -6:49:27.11
     -2:57:52.48
    -16:45:44.66
    -21:30:57.58
    -22:30:04.18
     -1:56:51.59
    -24:00:00.00
    -28:50:38.12
    -36:31:35.23
    -36:47:53.35
    -25:26:00.46
    -44:58:11.57
    -31:36:05.19
    -39:43:49.83
    -28:25:09.01
    -30:49:27.52
    -26:57:52.02
    -40:45:44.87
    -45:30:57.82
    -28:25:09.15
    -30:49:27.11
    -26:57:52.48
    -40:45:44.66
    -45:30:57.58
    -46:30:04.18
    -25:56:51.59
    -48:00:00.00
    -52:50:38.12
    -60:31:35.23
    -60:47:53.35
    -49:26:00.46
    -68:58:11.57
    -55:36:05.19
    -63:43:49.83
    -52:25:09.01
    -54:49:27.52
    -50:57:52.02
    -64:45:44.87
    -69:30:57.82
    -52:25:09.15
    -54:49:27.11
    -50:57:52.48
    -64:45:44.66
    -69:30:57.58
    -70:30:04.18
    -49:56:51.59
  -1296:00:00.00
  -1300:50:38.12
  -1308:31:35.23
  -1308:47:53.35
  -1297:26:00.46
  -1316:58:11.57
  -1303:36:05.19
  -1311:43:49.83
  -1300:25:09.01
  -1302:49:27.52
  -1298:57:52.02
  -1312:45:44.87
  -1317:30:57.82
  -1300:25:09.15
  -1302:49:27.11
  -1298:57:52.48
  -1312:45:44.66
  -1317:30:57.58
  -1318:30:04.18
  -1297:56:51.59
 -16344:00:00.00
 -16348:50:38.12
 -16356:31:35.23
 -16356:47:53.35
 -16345:26:00.46
 -16364:58:11.57
 -16351:36:05.19
 -16359:43:49.83
 -16348:25:09.01
 -16350:49:27.52
 -16346:57:52.02
 -16360:45:44.87
 -16365:30:57.82
 -16348:25:09.15
 -16350:49:27.11
 -16346:57:52.48
 -16360:45:44.66
 -16365:30:57.58
 -16366:30:04.18
 -16345:56:51.59
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:6965"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:7167: cat time15.3.out"
at_fn_check_prepare_trace "data-out.at:7167"
( $at_check_trace; cat time15.3.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "     0:00:00.000
     4:50:38.123
    12:31:35.235
    12:47:53.345
     1:26:00.456
    20:58:11.567
     7:36:05.190
    15:43:49.831
     4:25:09.013
     6:49:27.524
     2:57:52.016
    16:45:44.865
    21:30:57.820
     4:25:09.154
     6:49:27.105
     2:57:52.482
    16:45:44.658
    21:30:57.582
    22:30:04.183
     1:56:51.593
    24:00:00.000
    28:50:38.123
    36:31:35.235
    36:47:53.345
    25:26:00.456
    44:58:11.567
    31:36:05.190
    39:43:49.831
    28:25:09.013
    30:49:27.524
    26:57:52.016
    40:45:44.865
    45:30:57.820
    28:25:09.154
    30:49:27.105
    26:57:52.482
    40:45:44.658
    45:30:57.582
    46:30:04.183
    25:56:51.593
    48:00:00.000
    52:50:38.123
    60:31:35.235
    60:47:53.345
    49:26:00.456
    68:58:11.567
    55:36:05.190
    63:43:49.831
    52:25:09.013
    54:49:27.524
    50:57:52.016
    64:45:44.865
    69:30:57.820
    52:25:09.154
    54:49:27.105
    50:57:52.482
    64:45:44.658
    69:30:57.582
    70:30:04.183
    49:56:51.593
  1296:00:00.000
  1300:50:38.123
  1308:31:35.235
  1308:47:53.345
  1297:26:00.456
  1316:58:11.567
  1303:36:05.190
  1311:43:49.831
  1300:25:09.013
  1302:49:27.524
  1298:57:52.016
  1312:45:44.865
  1317:30:57.820
  1300:25:09.154
  1302:49:27.105
  1298:57:52.482
  1312:45:44.658
  1317:30:57.582
  1318:30:04.183
  1297:56:51.593
 16344:00:00.000
 16348:50:38.123
 16356:31:35.235
 16356:47:53.345
 16345:26:00.456
 16364:58:11.567
 16351:36:05.190
 16359:43:49.831
 16348:25:09.013
 16350:49:27.524
 16346:57:52.016
 16360:45:44.865
 16365:30:57.820
 16348:25:09.154
 16350:49:27.105
 16346:57:52.482
 16360:45:44.658
 16365:30:57.582
 16366:30:04.183
 16345:56:51.593
     0:00:00.000
    -4:50:38.123
   -12:31:35.235
   -12:47:53.345
    -1:26:00.456
   -20:58:11.567
    -7:36:05.190
   -15:43:49.831
    -4:25:09.013
    -6:49:27.524
    -2:57:52.016
   -16:45:44.865
   -21:30:57.820
    -4:25:09.154
    -6:49:27.105
    -2:57:52.482
   -16:45:44.658
   -21:30:57.582
   -22:30:04.183
    -1:56:51.593
   -24:00:00.000
   -28:50:38.123
   -36:31:35.235
   -36:47:53.345
   -25:26:00.456
   -44:58:11.567
   -31:36:05.190
   -39:43:49.831
   -28:25:09.013
   -30:49:27.524
   -26:57:52.016
   -40:45:44.865
   -45:30:57.820
   -28:25:09.154
   -30:49:27.105
   -26:57:52.482
   -40:45:44.658
   -45:30:57.582
   -46:30:04.183
   -25:56:51.593
   -48:00:00.000
   -52:50:38.123
   -60:31:35.235
   -60:47:53.345
   -49:26:00.456
   -68:58:11.567
   -55:36:05.190
   -63:43:49.831
   -52:25:09.013
   -54:49:27.524
   -50:57:52.016
   -64:45:44.865
   -69:30:57.820
   -52:25:09.154
   -54:49:27.105
   -50:57:52.482
   -64:45:44.658
   -69:30:57.582
   -70:30:04.183
   -49:56:51.593
 -1296:00:00.000
 -1300:50:38.123
 -1308:31:35.235
 -1308:47:53.345
 -1297:26:00.456
 -1316:58:11.567
 -1303:36:05.190
 -1311:43:49.831
 -1300:25:09.013
 -1302:49:27.524
 -1298:57:52.016
 -1312:45:44.865
 -1317:30:57.820
 -1300:25:09.154
 -1302:49:27.105
 -1298:57:52.482
 -1312:45:44.658
 -1317:30:57.582
 -1318:30:04.183
 -1297:56:51.593
 -16344:00:00.00
 -16348:50:38.12
 -16356:31:35.23
 -16356:47:53.35
 -16345:26:00.46
 -16364:58:11.57
 -16351:36:05.19
 -16359:43:49.83
 -16348:25:09.01
 -16350:49:27.52
 -16346:57:52.02
 -16360:45:44.87
 -16365:30:57.82
 -16348:25:09.15
 -16350:49:27.11
 -16346:57:52.48
 -16360:45:44.66
 -16365:30:57.58
 -16366:30:04.18
 -16345:56:51.59
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:7167"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:7369: cat time15.4.out"
at_fn_check_prepare_trace "data-out.at:7369"
( $at_check_trace; cat time15.4.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "    0:00:00.0000
    4:50:38.1230
   12:31:35.2345
   12:47:53.3451
    1:26:00.4561
   20:58:11.5668
    7:36:05.1896
   15:43:49.8313
    4:25:09.0129
    6:49:27.5238
    2:57:52.0156
   16:45:44.8653
   21:30:57.8205
    4:25:09.1539
    6:49:27.1053
    2:57:52.4823
   16:45:44.6583
   21:30:57.5822
   22:30:04.1835
    1:56:51.5932
   24:00:00.0000
   28:50:38.1230
   36:31:35.2345
   36:47:53.3451
   25:26:00.4561
   44:58:11.5668
   31:36:05.1896
   39:43:49.8313
   28:25:09.0129
   30:49:27.5237
   26:57:52.0157
   40:45:44.8653
   45:30:57.8205
   28:25:09.1540
   30:49:27.1053
   26:57:52.4823
   40:45:44.6583
   45:30:57.5822
   46:30:04.1835
   25:56:51.5932
   48:00:00.0000
   52:50:38.1230
   60:31:35.2345
   60:47:53.3451
   49:26:00.4562
   68:58:11.5668
   55:36:05.1896
   63:43:49.8313
   52:25:09.0129
   54:49:27.5237
   50:57:52.0156
   64:45:44.8653
   69:30:57.8205
   52:25:09.1540
   54:49:27.1053
   50:57:52.4823
   64:45:44.6583
   69:30:57.5822
   70:30:04.1835
   49:56:51.5932
 1296:00:00.0000
 1300:50:38.1230
 1308:31:35.2345
 1308:47:53.3450
 1297:26:00.4561
 1316:58:11.5668
 1303:36:05.1896
 1311:43:49.8313
 1300:25:09.0129
 1302:49:27.5237
 1298:57:52.0157
 1312:45:44.8653
 1317:30:57.8205
 1300:25:09.1540
 1302:49:27.1053
 1298:57:52.4823
 1312:45:44.6583
 1317:30:57.5822
 1318:30:04.1835
 1297:56:51.5932
 16344:00:00.000
 16348:50:38.123
 16356:31:35.235
 16356:47:53.345
 16345:26:00.456
 16364:58:11.567
 16351:36:05.190
 16359:43:49.831
 16348:25:09.013
 16350:49:27.524
 16346:57:52.016
 16360:45:44.865
 16365:30:57.820
 16348:25:09.154
 16350:49:27.105
 16346:57:52.482
 16360:45:44.658
 16365:30:57.582
 16366:30:04.183
 16345:56:51.593
    0:00:00.0000
   -4:50:38.1230
  -12:31:35.2345
  -12:47:53.3451
   -1:26:00.4561
  -20:58:11.5668
   -7:36:05.1896
  -15:43:49.8313
   -4:25:09.0129
   -6:49:27.5238
   -2:57:52.0156
  -16:45:44.8653
  -21:30:57.8205
   -4:25:09.1539
   -6:49:27.1053
   -2:57:52.4823
  -16:45:44.6583
  -21:30:57.5822
  -22:30:04.1835
   -1:56:51.5932
  -24:00:00.0000
  -28:50:38.1230
  -36:31:35.2345
  -36:47:53.3451
  -25:26:00.4561
  -44:58:11.5668
  -31:36:05.1896
  -39:43:49.8313
  -28:25:09.0129
  -30:49:27.5237
  -26:57:52.0157
  -40:45:44.8653
  -45:30:57.8205
  -28:25:09.1540
  -30:49:27.1053
  -26:57:52.4823
  -40:45:44.6583
  -45:30:57.5822
  -46:30:04.1835
  -25:56:51.5932
  -48:00:00.0000
  -52:50:38.1230
  -60:31:35.2345
  -60:47:53.3451
  -49:26:00.4562
  -68:58:11.5668
  -55:36:05.1896
  -63:43:49.8313
  -52:25:09.0129
  -54:49:27.5237
  -50:57:52.0156
  -64:45:44.8653
  -69:30:57.8205
  -52:25:09.1540
  -54:49:27.1053
  -50:57:52.4823
  -64:45:44.6583
  -69:30:57.5822
  -70:30:04.1835
  -49:56:51.5932
 -1296:00:00.000
 -1300:50:38.123
 -1308:31:35.235
 -1308:47:53.345
 -1297:26:00.456
 -1316:58:11.567
 -1303:36:05.190
 -1311:43:49.831
 -1300:25:09.013
 -1302:49:27.524
 -1298:57:52.016
 -1312:45:44.865
 -1317:30:57.820
 -1300:25:09.154
 -1302:49:27.105
 -1298:57:52.482
 -1312:45:44.658
 -1317:30:57.582
 -1318:30:04.183
 -1297:56:51.593
 -16344:00:00.00
 -16348:50:38.12
 -16356:31:35.23
 -16356:47:53.35
 -16345:26:00.46
 -16364:58:11.57
 -16351:36:05.19
 -16359:43:49.83
 -16348:25:09.01
 -16350:49:27.52
 -16346:57:52.02
 -16360:45:44.87
 -16365:30:57.82
 -16348:25:09.15
 -16350:49:27.11
 -16346:57:52.48
 -16360:45:44.66
 -16365:30:57.58
 -16366:30:04.18
 -16345:56:51.59
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:7369"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:7571: cat time15.5.out"
at_fn_check_prepare_trace "data-out.at:7571"
( $at_check_trace; cat time15.5.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "   0:00:00.00000
   4:50:38.12301
  12:31:35.23453
  12:47:53.34505
   1:26:00.45615
  20:58:11.56677
   7:36:05.18964
  15:43:49.83132
   4:25:09.01293
   6:49:27.52375
   2:57:52.01565
  16:45:44.86529
  21:30:57.82047
   4:25:09.15395
   6:49:27.10533
   2:57:52.48229
  16:45:44.65827
  21:30:57.58219
  22:30:04.18347
   1:56:51.59319
  24:00:00.00000
  28:50:38.12301
  36:31:35.23453
  36:47:53.34505
  25:26:00.45615
  44:58:11.56677
  31:36:05.18964
  39:43:49.83132
  28:25:09.01293
  30:49:27.52375
  26:57:52.01565
  40:45:44.86529
  45:30:57.82047
  28:25:09.15395
  30:49:27.10533
  26:57:52.48229
  40:45:44.65827
  45:30:57.58219
  46:30:04.18347
  25:56:51.59319
  48:00:00.00000
  52:50:38.12301
  60:31:35.23453
  60:47:53.34505
  49:26:00.45615
  68:58:11.56677
  55:36:05.18964
  63:43:49.83132
  52:25:09.01293
  54:49:27.52375
  50:57:52.01565
  64:45:44.86529
  69:30:57.82047
  52:25:09.15395
  54:49:27.10533
  50:57:52.48229
  64:45:44.65827
  69:30:57.58219
  70:30:04.18347
  49:56:51.59319
 1296:00:00.0000
 1300:50:38.1230
 1308:31:35.2345
 1308:47:53.3450
 1297:26:00.4561
 1316:58:11.5668
 1303:36:05.1896
 1311:43:49.8313
 1300:25:09.0129
 1302:49:27.5237
 1298:57:52.0157
 1312:45:44.8653
 1317:30:57.8205
 1300:25:09.1540
 1302:49:27.1053
 1298:57:52.4823
 1312:45:44.6583
 1317:30:57.5822
 1318:30:04.1835
 1297:56:51.5932
 16344:00:00.000
 16348:50:38.123
 16356:31:35.235
 16356:47:53.345
 16345:26:00.456
 16364:58:11.567
 16351:36:05.190
 16359:43:49.831
 16348:25:09.013
 16350:49:27.524
 16346:57:52.016
 16360:45:44.865
 16365:30:57.820
 16348:25:09.154
 16350:49:27.105
 16346:57:52.482
 16360:45:44.658
 16365:30:57.582
 16366:30:04.183
 16345:56:51.593
   0:00:00.00000
  -4:50:38.12301
 -12:31:35.23453
 -12:47:53.34505
  -1:26:00.45615
 -20:58:11.56677
  -7:36:05.18964
 -15:43:49.83132
  -4:25:09.01293
  -6:49:27.52375
  -2:57:52.01565
 -16:45:44.86529
 -21:30:57.82047
  -4:25:09.15395
  -6:49:27.10533
  -2:57:52.48229
 -16:45:44.65827
 -21:30:57.58219
 -22:30:04.18347
  -1:56:51.59319
 -24:00:00.00000
 -28:50:38.12301
 -36:31:35.23453
 -36:47:53.34505
 -25:26:00.45615
 -44:58:11.56677
 -31:36:05.18964
 -39:43:49.83132
 -28:25:09.01293
 -30:49:27.52375
 -26:57:52.01565
 -40:45:44.86529
 -45:30:57.82047
 -28:25:09.15395
 -30:49:27.10533
 -26:57:52.48229
 -40:45:44.65827
 -45:30:57.58219
 -46:30:04.18347
 -25:56:51.59319
 -48:00:00.00000
 -52:50:38.12301
 -60:31:35.23453
 -60:47:53.34505
 -49:26:00.45615
 -68:58:11.56677
 -55:36:05.18964
 -63:43:49.83132
 -52:25:09.01293
 -54:49:27.52375
 -50:57:52.01565
 -64:45:44.86529
 -69:30:57.82047
 -52:25:09.15395
 -54:49:27.10533
 -50:57:52.48229
 -64:45:44.65827
 -69:30:57.58219
 -70:30:04.18347
 -49:56:51.59319
 -1296:00:00.000
 -1300:50:38.123
 -1308:31:35.235
 -1308:47:53.345
 -1297:26:00.456
 -1316:58:11.567
 -1303:36:05.190
 -1311:43:49.831
 -1300:25:09.013
 -1302:49:27.524
 -1298:57:52.016
 -1312:45:44.865
 -1317:30:57.820
 -1300:25:09.154
 -1302:49:27.105
 -1298:57:52.482
 -1312:45:44.658
 -1317:30:57.582
 -1318:30:04.183
 -1297:56:51.593
 -16344:00:00.00
 -16348:50:38.12
 -16356:31:35.23
 -16356:47:53.35
 -16345:26:00.46
 -16364:58:11.57
 -16351:36:05.19
 -16359:43:49.83
 -16348:25:09.01
 -16350:49:27.52
 -16346:57:52.02
 -16360:45:44.87
 -16365:30:57.82
 -16348:25:09.15
 -16350:49:27.11
 -16346:57:52.48
 -16360:45:44.66
 -16365:30:57.58
 -16366:30:04.18
 -16345:56:51.59
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:7571"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:7773: cat time15.6.out"
at_fn_check_prepare_trace "data-out.at:7773"
( $at_check_trace; cat time15.6.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "  0:00:00.000000
  4:50:38.123010
 12:31:35.234530
 12:47:53.345050
  1:26:00.456150
 20:58:11.566770
  7:36:05.189640
 15:43:49.831320
  4:25:09.012930
  6:49:27.523750
  2:57:52.015650
 16:45:44.865290
 21:30:57.820470
  4:25:09.153950
  6:49:27.105330
  2:57:52.482290
 16:45:44.658270
 21:30:57.582190
 22:30:04.183470
  1:56:51.593190
 24:00:00.000000
 28:50:38.123010
 36:31:35.234530
 36:47:53.345050
 25:26:00.456150
 44:58:11.566770
 31:36:05.189640
 39:43:49.831320
 28:25:09.012930
 30:49:27.523750
 26:57:52.015650
 40:45:44.865290
 45:30:57.820470
 28:25:09.153950
 30:49:27.105330
 26:57:52.482290
 40:45:44.658270
 45:30:57.582190
 46:30:04.183470
 25:56:51.593190
 48:00:00.000000
 52:50:38.123010
 60:31:35.234530
 60:47:53.345050
 49:26:00.456150
 68:58:11.566770
 55:36:05.189640
 63:43:49.831320
 52:25:09.012930
 54:49:27.523750
 50:57:52.015650
 64:45:44.865290
 69:30:57.820470
 52:25:09.153950
 54:49:27.105330
 50:57:52.482290
 64:45:44.658270
 69:30:57.582190
 70:30:04.183470
 49:56:51.593190
 1296:00:00.0000
 1300:50:38.1230
 1308:31:35.2345
 1308:47:53.3450
 1297:26:00.4561
 1316:58:11.5668
 1303:36:05.1896
 1311:43:49.8313
 1300:25:09.0129
 1302:49:27.5237
 1298:57:52.0157
 1312:45:44.8653
 1317:30:57.8205
 1300:25:09.1540
 1302:49:27.1053
 1298:57:52.4823
 1312:45:44.6583
 1317:30:57.5822
 1318:30:04.1835
 1297:56:51.5932
 16344:00:00.000
 16348:50:38.123
 16356:31:35.235
 16356:47:53.345
 16345:26:00.456
 16364:58:11.567
 16351:36:05.190
 16359:43:49.831
 16348:25:09.013
 16350:49:27.524
 16346:57:52.016
 16360:45:44.865
 16365:30:57.820
 16348:25:09.154
 16350:49:27.105
 16346:57:52.482
 16360:45:44.658
 16365:30:57.582
 16366:30:04.183
 16345:56:51.593
  0:00:00.000000
 -4:50:38.123010
 -12:31:35.23453
 -12:47:53.34505
 -1:26:00.456150
 -20:58:11.56677
 -7:36:05.189640
 -15:43:49.83132
 -4:25:09.012930
 -6:49:27.523750
 -2:57:52.015650
 -16:45:44.86529
 -21:30:57.82047
 -4:25:09.153950
 -6:49:27.105330
 -2:57:52.482290
 -16:45:44.65827
 -21:30:57.58219
 -22:30:04.18347
 -1:56:51.593190
 -24:00:00.00000
 -28:50:38.12301
 -36:31:35.23453
 -36:47:53.34505
 -25:26:00.45615
 -44:58:11.56677
 -31:36:05.18964
 -39:43:49.83132
 -28:25:09.01293
 -30:49:27.52375
 -26:57:52.01565
 -40:45:44.86529
 -45:30:57.82047
 -28:25:09.15395
 -30:49:27.10533
 -26:57:52.48229
 -40:45:44.65827
 -45:30:57.58219
 -46:30:04.18347
 -25:56:51.59319
 -48:00:00.00000
 -52:50:38.12301
 -60:31:35.23453
 -60:47:53.34505
 -49:26:00.45615
 -68:58:11.56677
 -55:36:05.18964
 -63:43:49.83132
 -52:25:09.01293
 -54:49:27.52375
 -50:57:52.01565
 -64:45:44.86529
 -69:30:57.82047
 -52:25:09.15395
 -54:49:27.10533
 -50:57:52.48229
 -64:45:44.65827
 -69:30:57.58219
 -70:30:04.18347
 -49:56:51.59319
 -1296:00:00.000
 -1300:50:38.123
 -1308:31:35.235
 -1308:47:53.345
 -1297:26:00.456
 -1316:58:11.567
 -1303:36:05.190
 -1311:43:49.831
 -1300:25:09.013
 -1302:49:27.524
 -1298:57:52.016
 -1312:45:44.865
 -1317:30:57.820
 -1300:25:09.154
 -1302:49:27.105
 -1298:57:52.482
 -1312:45:44.658
 -1317:30:57.582
 -1318:30:04.183
 -1297:56:51.593
 -16344:00:00.00
 -16348:50:38.12
 -16356:31:35.23
 -16356:47:53.35
 -16345:26:00.46
 -16364:58:11.57
 -16351:36:05.19
 -16359:43:49.83
 -16348:25:09.01
 -16350:49:27.52
 -16346:57:52.02
 -16360:45:44.87
 -16365:30:57.82
 -16348:25:09.15
 -16350:49:27.11
 -16346:57:52.48
 -16360:45:44.66
 -16365:30:57.58
 -16366:30:04.18
 -16345:56:51.59
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:7773"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:7975: cat dtime8.out"
at_fn_check_prepare_trace "data-out.at:7975"
( $at_check_trace; cat dtime8.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "  0 00:00
  0 04:50
  0 12:31
  0 12:47
  0 01:26
  0 20:58
  0 07:36
  0 15:43
  0 04:25
  0 06:49
  0 02:57
  0 16:45
  0 21:30
  0 04:25
  0 06:49
  0 02:57
  0 16:45
  0 21:30
  0 22:30
  0 01:56
  1 00:00
  1 04:50
  1 12:31
  1 12:47
  1 01:26
  1 20:58
  1 07:36
  1 15:43
  1 04:25
  1 06:49
  1 02:57
  1 16:45
  1 21:30
  1 04:25
  1 06:49
  1 02:57
  1 16:45
  1 21:30
  1 22:30
  1 01:56
  2 00:00
  2 04:50
  2 12:31
  2 12:47
  2 01:26
  2 20:58
  2 07:36
  2 15:43
  2 04:25
  2 06:49
  2 02:57
  2 16:45
  2 21:30
  2 04:25
  2 06:49
  2 02:57
  2 16:45
  2 21:30
  2 22:30
  2 01:56
 54 00:00
 54 04:50
 54 12:31
 54 12:47
 54 01:26
 54 20:58
 54 07:36
 54 15:43
 54 04:25
 54 06:49
 54 02:57
 54 16:45
 54 21:30
 54 04:25
 54 06:49
 54 02:57
 54 16:45
 54 21:30
 54 22:30
 54 01:56
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
  0 00:00
 -0 04:50
 -0 12:31
 -0 12:47
 -0 01:26
 -0 20:58
 -0 07:36
 -0 15:43
 -0 04:25
 -0 06:49
 -0 02:57
 -0 16:45
 -0 21:30
 -0 04:25
 -0 06:49
 -0 02:57
 -0 16:45
 -0 21:30
 -0 22:30
 -0 01:56
 -1 00:00
 -1 04:50
 -1 12:31
 -1 12:47
 -1 01:26
 -1 20:58
 -1 07:36
 -1 15:43
 -1 04:25
 -1 06:49
 -1 02:57
 -1 16:45
 -1 21:30
 -1 04:25
 -1 06:49
 -1 02:57
 -1 16:45
 -1 21:30
 -1 22:30
 -1 01:56
 -2 00:00
 -2 04:50
 -2 12:31
 -2 12:47
 -2 01:26
 -2 20:58
 -2 07:36
 -2 15:43
 -2 04:25
 -2 06:49
 -2 02:57
 -2 16:45
 -2 21:30
 -2 04:25
 -2 06:49
 -2 02:57
 -2 16:45
 -2 21:30
 -2 22:30
 -2 01:56
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:7975"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:8177: cat dtime9.out"
at_fn_check_prepare_trace "data-out.at:8177"
( $at_check_trace; cat dtime9.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "   0 00:00
   0 04:50
   0 12:31
   0 12:47
   0 01:26
   0 20:58
   0 07:36
   0 15:43
   0 04:25
   0 06:49
   0 02:57
   0 16:45
   0 21:30
   0 04:25
   0 06:49
   0 02:57
   0 16:45
   0 21:30
   0 22:30
   0 01:56
   1 00:00
   1 04:50
   1 12:31
   1 12:47
   1 01:26
   1 20:58
   1 07:36
   1 15:43
   1 04:25
   1 06:49
   1 02:57
   1 16:45
   1 21:30
   1 04:25
   1 06:49
   1 02:57
   1 16:45
   1 21:30
   1 22:30
   1 01:56
   2 00:00
   2 04:50
   2 12:31
   2 12:47
   2 01:26
   2 20:58
   2 07:36
   2 15:43
   2 04:25
   2 06:49
   2 02:57
   2 16:45
   2 21:30
   2 04:25
   2 06:49
   2 02:57
   2 16:45
   2 21:30
   2 22:30
   2 01:56
  54 00:00
  54 04:50
  54 12:31
  54 12:47
  54 01:26
  54 20:58
  54 07:36
  54 15:43
  54 04:25
  54 06:49
  54 02:57
  54 16:45
  54 21:30
  54 04:25
  54 06:49
  54 02:57
  54 16:45
  54 21:30
  54 22:30
  54 01:56
 681 00:00
 681 04:50
 681 12:31
 681 12:47
 681 01:26
 681 20:58
 681 07:36
 681 15:43
 681 04:25
 681 06:49
 681 02:57
 681 16:45
 681 21:30
 681 04:25
 681 06:49
 681 02:57
 681 16:45
 681 21:30
 681 22:30
 681 01:56
   0 00:00
  -0 04:50
  -0 12:31
  -0 12:47
  -0 01:26
  -0 20:58
  -0 07:36
  -0 15:43
  -0 04:25
  -0 06:49
  -0 02:57
  -0 16:45
  -0 21:30
  -0 04:25
  -0 06:49
  -0 02:57
  -0 16:45
  -0 21:30
  -0 22:30
  -0 01:56
  -1 00:00
  -1 04:50
  -1 12:31
  -1 12:47
  -1 01:26
  -1 20:58
  -1 07:36
  -1 15:43
  -1 04:25
  -1 06:49
  -1 02:57
  -1 16:45
  -1 21:30
  -1 04:25
  -1 06:49
  -1 02:57
  -1 16:45
  -1 21:30
  -1 22:30
  -1 01:56
  -2 00:00
  -2 04:50
  -2 12:31
  -2 12:47
  -2 01:26
  -2 20:58
  -2 07:36
  -2 15:43
  -2 04:25
  -2 06:49
  -2 02:57
  -2 16:45
  -2 21:30
  -2 04:25
  -2 06:49
  -2 02:57
  -2 16:45
  -2 21:30
  -2 22:30
  -2 01:56
 -54 00:00
 -54 04:50
 -54 12:31
 -54 12:47
 -54 01:26
 -54 20:58
 -54 07:36
 -54 15:43
 -54 04:25
 -54 06:49
 -54 02:57
 -54 16:45
 -54 21:30
 -54 04:25
 -54 06:49
 -54 02:57
 -54 16:45
 -54 21:30
 -54 22:30
 -54 01:56
 *********
 *********
 *********
 *********
 *********
 *********
 *********
 *********
 *********
 *********
 *********
 *********
 *********
 *********
 *********
 *********
 *********
 *********
 *********
 *********
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:8177"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:8379: cat dtime10.out"
at_fn_check_prepare_trace "data-out.at:8379"
( $at_check_trace; cat dtime10.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo " 0 00:00:00
 0 04:50:38
 0 12:31:35
 0 12:47:53
 0 01:26:00
 0 20:58:11
 0 07:36:05
 0 15:43:49
 0 04:25:09
 0 06:49:27
 0 02:57:52
 0 16:45:44
 0 21:30:57
 0 04:25:09
 0 06:49:27
 0 02:57:52
 0 16:45:44
 0 21:30:57
 0 22:30:04
 0 01:56:51
 1 00:00:00
 1 04:50:38
 1 12:31:35
 1 12:47:53
 1 01:26:00
 1 20:58:11
 1 07:36:05
 1 15:43:49
 1 04:25:09
 1 06:49:27
 1 02:57:52
 1 16:45:44
 1 21:30:57
 1 04:25:09
 1 06:49:27
 1 02:57:52
 1 16:45:44
 1 21:30:57
 1 22:30:04
 1 01:56:51
 2 00:00:00
 2 04:50:38
 2 12:31:35
 2 12:47:53
 2 01:26:00
 2 20:58:11
 2 07:36:05
 2 15:43:49
 2 04:25:09
 2 06:49:27
 2 02:57:52
 2 16:45:44
 2 21:30:57
 2 04:25:09
 2 06:49:27
 2 02:57:52
 2 16:45:44
 2 21:30:57
 2 22:30:04
 2 01:56:51
   54 00:00
   54 04:50
   54 12:31
   54 12:47
   54 01:26
   54 20:58
   54 07:36
   54 15:43
   54 04:25
   54 06:49
   54 02:57
   54 16:45
   54 21:30
   54 04:25
   54 06:49
   54 02:57
   54 16:45
   54 21:30
   54 22:30
   54 01:56
  681 00:00
  681 04:50
  681 12:31
  681 12:47
  681 01:26
  681 20:58
  681 07:36
  681 15:43
  681 04:25
  681 06:49
  681 02:57
  681 16:45
  681 21:30
  681 04:25
  681 06:49
  681 02:57
  681 16:45
  681 21:30
  681 22:30
  681 01:56
 0 00:00:00
   -0 04:50
   -0 12:31
   -0 12:47
   -0 01:26
   -0 20:58
   -0 07:36
   -0 15:43
   -0 04:25
   -0 06:49
   -0 02:57
   -0 16:45
   -0 21:30
   -0 04:25
   -0 06:49
   -0 02:57
   -0 16:45
   -0 21:30
   -0 22:30
   -0 01:56
   -1 00:00
   -1 04:50
   -1 12:31
   -1 12:47
   -1 01:26
   -1 20:58
   -1 07:36
   -1 15:43
   -1 04:25
   -1 06:49
   -1 02:57
   -1 16:45
   -1 21:30
   -1 04:25
   -1 06:49
   -1 02:57
   -1 16:45
   -1 21:30
   -1 22:30
   -1 01:56
   -2 00:00
   -2 04:50
   -2 12:31
   -2 12:47
   -2 01:26
   -2 20:58
   -2 07:36
   -2 15:43
   -2 04:25
   -2 06:49
   -2 02:57
   -2 16:45
   -2 21:30
   -2 04:25
   -2 06:49
   -2 02:57
   -2 16:45
   -2 21:30
   -2 22:30
   -2 01:56
  -54 00:00
  -54 04:50
  -54 12:31
  -54 12:47
  -54 01:26
  -54 20:58
  -54 07:36
  -54 15:43
  -54 04:25
  -54 06:49
  -54 02:57
  -54 16:45
  -54 21:30
  -54 04:25
  -54 06:49
  -54 02:57
  -54 16:45
  -54 21:30
  -54 22:30
  -54 01:56
 -681 00:00
 -681 04:50
 -681 12:31
 -681 12:47
 -681 01:26
 -681 20:58
 -681 07:36
 -681 15:43
 -681 04:25
 -681 06:49
 -681 02:57
 -681 16:45
 -681 21:30
 -681 04:25
 -681 06:49
 -681 02:57
 -681 16:45
 -681 21:30
 -681 22:30
 -681 01:56
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:8379"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:8581: cat dtime11.out"
at_fn_check_prepare_trace "data-out.at:8581"
( $at_check_trace; cat dtime11.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "  0 00:00:00
  0 04:50:38
  0 12:31:35
  0 12:47:53
  0 01:26:00
  0 20:58:11
  0 07:36:05
  0 15:43:49
  0 04:25:09
  0 06:49:27
  0 02:57:52
  0 16:45:44
  0 21:30:57
  0 04:25:09
  0 06:49:27
  0 02:57:52
  0 16:45:44
  0 21:30:57
  0 22:30:04
  0 01:56:51
  1 00:00:00
  1 04:50:38
  1 12:31:35
  1 12:47:53
  1 01:26:00
  1 20:58:11
  1 07:36:05
  1 15:43:49
  1 04:25:09
  1 06:49:27
  1 02:57:52
  1 16:45:44
  1 21:30:57
  1 04:25:09
  1 06:49:27
  1 02:57:52
  1 16:45:44
  1 21:30:57
  1 22:30:04
  1 01:56:51
  2 00:00:00
  2 04:50:38
  2 12:31:35
  2 12:47:53
  2 01:26:00
  2 20:58:11
  2 07:36:05
  2 15:43:49
  2 04:25:09
  2 06:49:27
  2 02:57:52
  2 16:45:44
  2 21:30:57
  2 04:25:09
  2 06:49:27
  2 02:57:52
  2 16:45:44
  2 21:30:57
  2 22:30:04
  2 01:56:51
 54 00:00:00
 54 04:50:38
 54 12:31:35
 54 12:47:53
 54 01:26:00
 54 20:58:11
 54 07:36:05
 54 15:43:49
 54 04:25:09
 54 06:49:27
 54 02:57:52
 54 16:45:44
 54 21:30:57
 54 04:25:09
 54 06:49:27
 54 02:57:52
 54 16:45:44
 54 21:30:57
 54 22:30:04
 54 01:56:51
   681 00:00
   681 04:50
   681 12:31
   681 12:47
   681 01:26
   681 20:58
   681 07:36
   681 15:43
   681 04:25
   681 06:49
   681 02:57
   681 16:45
   681 21:30
   681 04:25
   681 06:49
   681 02:57
   681 16:45
   681 21:30
   681 22:30
   681 01:56
  0 00:00:00
 -0 04:50:38
 -0 12:31:35
 -0 12:47:53
 -0 01:26:00
 -0 20:58:11
 -0 07:36:05
 -0 15:43:49
 -0 04:25:09
 -0 06:49:27
 -0 02:57:52
 -0 16:45:44
 -0 21:30:57
 -0 04:25:09
 -0 06:49:27
 -0 02:57:52
 -0 16:45:44
 -0 21:30:57
 -0 22:30:04
 -0 01:56:51
 -1 00:00:00
 -1 04:50:38
 -1 12:31:35
 -1 12:47:53
 -1 01:26:00
 -1 20:58:11
 -1 07:36:05
 -1 15:43:49
 -1 04:25:09
 -1 06:49:27
 -1 02:57:52
 -1 16:45:44
 -1 21:30:57
 -1 04:25:09
 -1 06:49:27
 -1 02:57:52
 -1 16:45:44
 -1 21:30:57
 -1 22:30:04
 -1 01:56:51
 -2 00:00:00
 -2 04:50:38
 -2 12:31:35
 -2 12:47:53
 -2 01:26:00
 -2 20:58:11
 -2 07:36:05
 -2 15:43:49
 -2 04:25:09
 -2 06:49:27
 -2 02:57:52
 -2 16:45:44
 -2 21:30:57
 -2 04:25:09
 -2 06:49:27
 -2 02:57:52
 -2 16:45:44
 -2 21:30:57
 -2 22:30:04
 -2 01:56:51
   -54 00:00
   -54 04:50
   -54 12:31
   -54 12:47
   -54 01:26
   -54 20:58
   -54 07:36
   -54 15:43
   -54 04:25
   -54 06:49
   -54 02:57
   -54 16:45
   -54 21:30
   -54 04:25
   -54 06:49
   -54 02:57
   -54 16:45
   -54 21:30
   -54 22:30
   -54 01:56
  -681 00:00
  -681 04:50
  -681 12:31
  -681 12:47
  -681 01:26
  -681 20:58
  -681 07:36
  -681 15:43
  -681 04:25
  -681 06:49
  -681 02:57
  -681 16:45
  -681 21:30
  -681 04:25
  -681 06:49
  -681 02:57
  -681 16:45
  -681 21:30
  -681 22:30
  -681 01:56
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:8581"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:8783: cat dtime12.out"
at_fn_check_prepare_trace "data-out.at:8783"
( $at_check_trace; cat dtime12.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "   0 00:00:00
   0 04:50:38
   0 12:31:35
   0 12:47:53
   0 01:26:00
   0 20:58:11
   0 07:36:05
   0 15:43:49
   0 04:25:09
   0 06:49:27
   0 02:57:52
   0 16:45:44
   0 21:30:57
   0 04:25:09
   0 06:49:27
   0 02:57:52
   0 16:45:44
   0 21:30:57
   0 22:30:04
   0 01:56:51
   1 00:00:00
   1 04:50:38
   1 12:31:35
   1 12:47:53
   1 01:26:00
   1 20:58:11
   1 07:36:05
   1 15:43:49
   1 04:25:09
   1 06:49:27
   1 02:57:52
   1 16:45:44
   1 21:30:57
   1 04:25:09
   1 06:49:27
   1 02:57:52
   1 16:45:44
   1 21:30:57
   1 22:30:04
   1 01:56:51
   2 00:00:00
   2 04:50:38
   2 12:31:35
   2 12:47:53
   2 01:26:00
   2 20:58:11
   2 07:36:05
   2 15:43:49
   2 04:25:09
   2 06:49:27
   2 02:57:52
   2 16:45:44
   2 21:30:57
   2 04:25:09
   2 06:49:27
   2 02:57:52
   2 16:45:44
   2 21:30:57
   2 22:30:04
   2 01:56:51
  54 00:00:00
  54 04:50:38
  54 12:31:35
  54 12:47:53
  54 01:26:00
  54 20:58:11
  54 07:36:05
  54 15:43:49
  54 04:25:09
  54 06:49:27
  54 02:57:52
  54 16:45:44
  54 21:30:57
  54 04:25:09
  54 06:49:27
  54 02:57:52
  54 16:45:44
  54 21:30:57
  54 22:30:04
  54 01:56:51
 681 00:00:00
 681 04:50:38
 681 12:31:35
 681 12:47:53
 681 01:26:00
 681 20:58:11
 681 07:36:05
 681 15:43:49
 681 04:25:09
 681 06:49:27
 681 02:57:52
 681 16:45:44
 681 21:30:57
 681 04:25:09
 681 06:49:27
 681 02:57:52
 681 16:45:44
 681 21:30:57
 681 22:30:04
 681 01:56:51
   0 00:00:00
  -0 04:50:38
  -0 12:31:35
  -0 12:47:53
  -0 01:26:00
  -0 20:58:11
  -0 07:36:05
  -0 15:43:49
  -0 04:25:09
  -0 06:49:27
  -0 02:57:52
  -0 16:45:44
  -0 21:30:57
  -0 04:25:09
  -0 06:49:27
  -0 02:57:52
  -0 16:45:44
  -0 21:30:57
  -0 22:30:04
  -0 01:56:51
  -1 00:00:00
  -1 04:50:38
  -1 12:31:35
  -1 12:47:53
  -1 01:26:00
  -1 20:58:11
  -1 07:36:05
  -1 15:43:49
  -1 04:25:09
  -1 06:49:27
  -1 02:57:52
  -1 16:45:44
  -1 21:30:57
  -1 04:25:09
  -1 06:49:27
  -1 02:57:52
  -1 16:45:44
  -1 21:30:57
  -1 22:30:04
  -1 01:56:51
  -2 00:00:00
  -2 04:50:38
  -2 12:31:35
  -2 12:47:53
  -2 01:26:00
  -2 20:58:11
  -2 07:36:05
  -2 15:43:49
  -2 04:25:09
  -2 06:49:27
  -2 02:57:52
  -2 16:45:44
  -2 21:30:57
  -2 04:25:09
  -2 06:49:27
  -2 02:57:52
  -2 16:45:44
  -2 21:30:57
  -2 22:30:04
  -2 01:56:51
 -54 00:00:00
 -54 04:50:38
 -54 12:31:35
 -54 12:47:53
 -54 01:26:00
 -54 20:58:11
 -54 07:36:05
 -54 15:43:49
 -54 04:25:09
 -54 06:49:27
 -54 02:57:52
 -54 16:45:44
 -54 21:30:57
 -54 04:25:09
 -54 06:49:27
 -54 02:57:52
 -54 16:45:44
 -54 21:30:57
 -54 22:30:04
 -54 01:56:51
   -681 00:00
   -681 04:50
   -681 12:31
   -681 12:47
   -681 01:26
   -681 20:58
   -681 07:36
   -681 15:43
   -681 04:25
   -681 06:49
   -681 02:57
   -681 16:45
   -681 21:30
   -681 04:25
   -681 06:49
   -681 02:57
   -681 16:45
   -681 21:30
   -681 22:30
   -681 01:56
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:8783"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:8985: cat dtime13.out"
at_fn_check_prepare_trace "data-out.at:8985"
( $at_check_trace; cat dtime13.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "    0 00:00:00
    0 04:50:38
    0 12:31:35
    0 12:47:53
    0 01:26:00
    0 20:58:11
    0 07:36:05
    0 15:43:49
    0 04:25:09
    0 06:49:27
    0 02:57:52
    0 16:45:44
    0 21:30:57
    0 04:25:09
    0 06:49:27
    0 02:57:52
    0 16:45:44
    0 21:30:57
    0 22:30:04
    0 01:56:51
    1 00:00:00
    1 04:50:38
    1 12:31:35
    1 12:47:53
    1 01:26:00
    1 20:58:11
    1 07:36:05
    1 15:43:49
    1 04:25:09
    1 06:49:27
    1 02:57:52
    1 16:45:44
    1 21:30:57
    1 04:25:09
    1 06:49:27
    1 02:57:52
    1 16:45:44
    1 21:30:57
    1 22:30:04
    1 01:56:51
    2 00:00:00
    2 04:50:38
    2 12:31:35
    2 12:47:53
    2 01:26:00
    2 20:58:11
    2 07:36:05
    2 15:43:49
    2 04:25:09
    2 06:49:27
    2 02:57:52
    2 16:45:44
    2 21:30:57
    2 04:25:09
    2 06:49:27
    2 02:57:52
    2 16:45:44
    2 21:30:57
    2 22:30:04
    2 01:56:51
   54 00:00:00
   54 04:50:38
   54 12:31:35
   54 12:47:53
   54 01:26:00
   54 20:58:11
   54 07:36:05
   54 15:43:49
   54 04:25:09
   54 06:49:27
   54 02:57:52
   54 16:45:44
   54 21:30:57
   54 04:25:09
   54 06:49:27
   54 02:57:52
   54 16:45:44
   54 21:30:57
   54 22:30:04
   54 01:56:51
  681 00:00:00
  681 04:50:38
  681 12:31:35
  681 12:47:53
  681 01:26:00
  681 20:58:11
  681 07:36:05
  681 15:43:49
  681 04:25:09
  681 06:49:27
  681 02:57:52
  681 16:45:44
  681 21:30:57
  681 04:25:09
  681 06:49:27
  681 02:57:52
  681 16:45:44
  681 21:30:57
  681 22:30:04
  681 01:56:51
    0 00:00:00
   -0 04:50:38
   -0 12:31:35
   -0 12:47:53
   -0 01:26:00
   -0 20:58:11
   -0 07:36:05
   -0 15:43:49
   -0 04:25:09
   -0 06:49:27
   -0 02:57:52
   -0 16:45:44
   -0 21:30:57
   -0 04:25:09
   -0 06:49:27
   -0 02:57:52
   -0 16:45:44
   -0 21:30:57
   -0 22:30:04
   -0 01:56:51
   -1 00:00:00
   -1 04:50:38
   -1 12:31:35
   -1 12:47:53
   -1 01:26:00
   -1 20:58:11
   -1 07:36:05
   -1 15:43:49
   -1 04:25:09
   -1 06:49:27
   -1 02:57:52
   -1 16:45:44
   -1 21:30:57
   -1 04:25:09
   -1 06:49:27
   -1 02:57:52
   -1 16:45:44
   -1 21:30:57
   -1 22:30:04
   -1 01:56:51
   -2 00:00:00
   -2 04:50:38
   -2 12:31:35
   -2 12:47:53
   -2 01:26:00
   -2 20:58:11
   -2 07:36:05
   -2 15:43:49
   -2 04:25:09
   -2 06:49:27
   -2 02:57:52
   -2 16:45:44
   -2 21:30:57
   -2 04:25:09
   -2 06:49:27
   -2 02:57:52
   -2 16:45:44
   -2 21:30:57
   -2 22:30:04
   -2 01:56:51
  -54 00:00:00
  -54 04:50:38
  -54 12:31:35
  -54 12:47:53
  -54 01:26:00
  -54 20:58:11
  -54 07:36:05
  -54 15:43:49
  -54 04:25:09
  -54 06:49:27
  -54 02:57:52
  -54 16:45:44
  -54 21:30:57
  -54 04:25:09
  -54 06:49:27
  -54 02:57:52
  -54 16:45:44
  -54 21:30:57
  -54 22:30:04
  -54 01:56:51
 -681 00:00:00
 -681 04:50:38
 -681 12:31:35
 -681 12:47:53
 -681 01:26:00
 -681 20:58:11
 -681 07:36:05
 -681 15:43:49
 -681 04:25:09
 -681 06:49:27
 -681 02:57:52
 -681 16:45:44
 -681 21:30:57
 -681 04:25:09
 -681 06:49:27
 -681 02:57:52
 -681 16:45:44
 -681 21:30:57
 -681 22:30:04
 -681 01:56:51
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:8985"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:9187: cat dtime13.1.out"
at_fn_check_prepare_trace "data-out.at:9187"
( $at_check_trace; cat dtime13.1.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "  0 00:00:00.0
  0 04:50:38.1
  0 12:31:35.2
  0 12:47:53.3
  0 01:26:00.5
  0 20:58:11.6
  0 07:36:05.2
  0 15:43:49.8
  0 04:25:09.0
  0 06:49:27.5
  0 02:57:52.0
  0 16:45:44.9
  0 21:30:57.8
  0 04:25:09.2
  0 06:49:27.1
  0 02:57:52.5
  0 16:45:44.7
  0 21:30:57.6
  0 22:30:04.2
  0 01:56:51.6
  1 00:00:00.0
  1 04:50:38.1
  1 12:31:35.2
  1 12:47:53.3
  1 01:26:00.5
  1 20:58:11.6
  1 07:36:05.2
  1 15:43:49.8
  1 04:25:09.0
  1 06:49:27.5
  1 02:57:52.0
  1 16:45:44.9
  1 21:30:57.8
  1 04:25:09.2
  1 06:49:27.1
  1 02:57:52.5
  1 16:45:44.7
  1 21:30:57.6
  1 22:30:04.2
  1 01:56:51.6
  2 00:00:00.0
  2 04:50:38.1
  2 12:31:35.2
  2 12:47:53.3
  2 01:26:00.5
  2 20:58:11.6
  2 07:36:05.2
  2 15:43:49.8
  2 04:25:09.0
  2 06:49:27.5
  2 02:57:52.0
  2 16:45:44.9
  2 21:30:57.8
  2 04:25:09.2
  2 06:49:27.1
  2 02:57:52.5
  2 16:45:44.7
  2 21:30:57.6
  2 22:30:04.2
  2 01:56:51.6
 54 00:00:00.0
 54 04:50:38.1
 54 12:31:35.2
 54 12:47:53.3
 54 01:26:00.5
 54 20:58:11.6
 54 07:36:05.2
 54 15:43:49.8
 54 04:25:09.0
 54 06:49:27.5
 54 02:57:52.0
 54 16:45:44.9
 54 21:30:57.8
 54 04:25:09.2
 54 06:49:27.1
 54 02:57:52.5
 54 16:45:44.7
 54 21:30:57.6
 54 22:30:04.2
 54 01:56:51.6
  681 00:00:00
  681 04:50:38
  681 12:31:35
  681 12:47:53
  681 01:26:00
  681 20:58:11
  681 07:36:05
  681 15:43:49
  681 04:25:09
  681 06:49:27
  681 02:57:52
  681 16:45:44
  681 21:30:57
  681 04:25:09
  681 06:49:27
  681 02:57:52
  681 16:45:44
  681 21:30:57
  681 22:30:04
  681 01:56:51
  0 00:00:00.0
 -0 04:50:38.1
 -0 12:31:35.2
 -0 12:47:53.3
 -0 01:26:00.5
 -0 20:58:11.6
 -0 07:36:05.2
 -0 15:43:49.8
 -0 04:25:09.0
 -0 06:49:27.5
 -0 02:57:52.0
 -0 16:45:44.9
 -0 21:30:57.8
 -0 04:25:09.2
 -0 06:49:27.1
 -0 02:57:52.5
 -0 16:45:44.7
 -0 21:30:57.6
 -0 22:30:04.2
 -0 01:56:51.6
 -1 00:00:00.0
 -1 04:50:38.1
 -1 12:31:35.2
 -1 12:47:53.3
 -1 01:26:00.5
 -1 20:58:11.6
 -1 07:36:05.2
 -1 15:43:49.8
 -1 04:25:09.0
 -1 06:49:27.5
 -1 02:57:52.0
 -1 16:45:44.9
 -1 21:30:57.8
 -1 04:25:09.2
 -1 06:49:27.1
 -1 02:57:52.5
 -1 16:45:44.7
 -1 21:30:57.6
 -1 22:30:04.2
 -1 01:56:51.6
 -2 00:00:00.0
 -2 04:50:38.1
 -2 12:31:35.2
 -2 12:47:53.3
 -2 01:26:00.5
 -2 20:58:11.6
 -2 07:36:05.2
 -2 15:43:49.8
 -2 04:25:09.0
 -2 06:49:27.5
 -2 02:57:52.0
 -2 16:45:44.9
 -2 21:30:57.8
 -2 04:25:09.2
 -2 06:49:27.1
 -2 02:57:52.5
 -2 16:45:44.7
 -2 21:30:57.6
 -2 22:30:04.2
 -2 01:56:51.6
  -54 00:00:00
  -54 04:50:38
  -54 12:31:35
  -54 12:47:53
  -54 01:26:00
  -54 20:58:11
  -54 07:36:05
  -54 15:43:49
  -54 04:25:09
  -54 06:49:27
  -54 02:57:52
  -54 16:45:44
  -54 21:30:57
  -54 04:25:09
  -54 06:49:27
  -54 02:57:52
  -54 16:45:44
  -54 21:30:57
  -54 22:30:04
  -54 01:56:51
 -681 00:00:00
 -681 04:50:38
 -681 12:31:35
 -681 12:47:53
 -681 01:26:00
 -681 20:58:11
 -681 07:36:05
 -681 15:43:49
 -681 04:25:09
 -681 06:49:27
 -681 02:57:52
 -681 16:45:44
 -681 21:30:57
 -681 04:25:09
 -681 06:49:27
 -681 02:57:52
 -681 16:45:44
 -681 21:30:57
 -681 22:30:04
 -681 01:56:51
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:9187"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:9389: cat dtime14.out"
at_fn_check_prepare_trace "data-out.at:9389"
( $at_check_trace; cat dtime14.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "     0 00:00:00
     0 04:50:38
     0 12:31:35
     0 12:47:53
     0 01:26:00
     0 20:58:11
     0 07:36:05
     0 15:43:49
     0 04:25:09
     0 06:49:27
     0 02:57:52
     0 16:45:44
     0 21:30:57
     0 04:25:09
     0 06:49:27
     0 02:57:52
     0 16:45:44
     0 21:30:57
     0 22:30:04
     0 01:56:51
     1 00:00:00
     1 04:50:38
     1 12:31:35
     1 12:47:53
     1 01:26:00
     1 20:58:11
     1 07:36:05
     1 15:43:49
     1 04:25:09
     1 06:49:27
     1 02:57:52
     1 16:45:44
     1 21:30:57
     1 04:25:09
     1 06:49:27
     1 02:57:52
     1 16:45:44
     1 21:30:57
     1 22:30:04
     1 01:56:51
     2 00:00:00
     2 04:50:38
     2 12:31:35
     2 12:47:53
     2 01:26:00
     2 20:58:11
     2 07:36:05
     2 15:43:49
     2 04:25:09
     2 06:49:27
     2 02:57:52
     2 16:45:44
     2 21:30:57
     2 04:25:09
     2 06:49:27
     2 02:57:52
     2 16:45:44
     2 21:30:57
     2 22:30:04
     2 01:56:51
    54 00:00:00
    54 04:50:38
    54 12:31:35
    54 12:47:53
    54 01:26:00
    54 20:58:11
    54 07:36:05
    54 15:43:49
    54 04:25:09
    54 06:49:27
    54 02:57:52
    54 16:45:44
    54 21:30:57
    54 04:25:09
    54 06:49:27
    54 02:57:52
    54 16:45:44
    54 21:30:57
    54 22:30:04
    54 01:56:51
   681 00:00:00
   681 04:50:38
   681 12:31:35
   681 12:47:53
   681 01:26:00
   681 20:58:11
   681 07:36:05
   681 15:43:49
   681 04:25:09
   681 06:49:27
   681 02:57:52
   681 16:45:44
   681 21:30:57
   681 04:25:09
   681 06:49:27
   681 02:57:52
   681 16:45:44
   681 21:30:57
   681 22:30:04
   681 01:56:51
     0 00:00:00
    -0 04:50:38
    -0 12:31:35
    -0 12:47:53
    -0 01:26:00
    -0 20:58:11
    -0 07:36:05
    -0 15:43:49
    -0 04:25:09
    -0 06:49:27
    -0 02:57:52
    -0 16:45:44
    -0 21:30:57
    -0 04:25:09
    -0 06:49:27
    -0 02:57:52
    -0 16:45:44
    -0 21:30:57
    -0 22:30:04
    -0 01:56:51
    -1 00:00:00
    -1 04:50:38
    -1 12:31:35
    -1 12:47:53
    -1 01:26:00
    -1 20:58:11
    -1 07:36:05
    -1 15:43:49
    -1 04:25:09
    -1 06:49:27
    -1 02:57:52
    -1 16:45:44
    -1 21:30:57
    -1 04:25:09
    -1 06:49:27
    -1 02:57:52
    -1 16:45:44
    -1 21:30:57
    -1 22:30:04
    -1 01:56:51
    -2 00:00:00
    -2 04:50:38
    -2 12:31:35
    -2 12:47:53
    -2 01:26:00
    -2 20:58:11
    -2 07:36:05
    -2 15:43:49
    -2 04:25:09
    -2 06:49:27
    -2 02:57:52
    -2 16:45:44
    -2 21:30:57
    -2 04:25:09
    -2 06:49:27
    -2 02:57:52
    -2 16:45:44
    -2 21:30:57
    -2 22:30:04
    -2 01:56:51
   -54 00:00:00
   -54 04:50:38
   -54 12:31:35
   -54 12:47:53
   -54 01:26:00
   -54 20:58:11
   -54 07:36:05
   -54 15:43:49
   -54 04:25:09
   -54 06:49:27
   -54 02:57:52
   -54 16:45:44
   -54 21:30:57
   -54 04:25:09
   -54 06:49:27
   -54 02:57:52
   -54 16:45:44
   -54 21:30:57
   -54 22:30:04
   -54 01:56:51
  -681 00:00:00
  -681 04:50:38
  -681 12:31:35
  -681 12:47:53
  -681 01:26:00
  -681 20:58:11
  -681 07:36:05
  -681 15:43:49
  -681 04:25:09
  -681 06:49:27
  -681 02:57:52
  -681 16:45:44
  -681 21:30:57
  -681 04:25:09
  -681 06:49:27
  -681 02:57:52
  -681 16:45:44
  -681 21:30:57
  -681 22:30:04
  -681 01:56:51
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:9389"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:9591: cat dtime14.1.out"
at_fn_check_prepare_trace "data-out.at:9591"
( $at_check_trace; cat dtime14.1.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "   0 00:00:00.0
   0 04:50:38.1
   0 12:31:35.2
   0 12:47:53.3
   0 01:26:00.5
   0 20:58:11.6
   0 07:36:05.2
   0 15:43:49.8
   0 04:25:09.0
   0 06:49:27.5
   0 02:57:52.0
   0 16:45:44.9
   0 21:30:57.8
   0 04:25:09.2
   0 06:49:27.1
   0 02:57:52.5
   0 16:45:44.7
   0 21:30:57.6
   0 22:30:04.2
   0 01:56:51.6
   1 00:00:00.0
   1 04:50:38.1
   1 12:31:35.2
   1 12:47:53.3
   1 01:26:00.5
   1 20:58:11.6
   1 07:36:05.2
   1 15:43:49.8
   1 04:25:09.0
   1 06:49:27.5
   1 02:57:52.0
   1 16:45:44.9
   1 21:30:57.8
   1 04:25:09.2
   1 06:49:27.1
   1 02:57:52.5
   1 16:45:44.7
   1 21:30:57.6
   1 22:30:04.2
   1 01:56:51.6
   2 00:00:00.0
   2 04:50:38.1
   2 12:31:35.2
   2 12:47:53.3
   2 01:26:00.5
   2 20:58:11.6
   2 07:36:05.2
   2 15:43:49.8
   2 04:25:09.0
   2 06:49:27.5
   2 02:57:52.0
   2 16:45:44.9
   2 21:30:57.8
   2 04:25:09.2
   2 06:49:27.1
   2 02:57:52.5
   2 16:45:44.7
   2 21:30:57.6
   2 22:30:04.2
   2 01:56:51.6
  54 00:00:00.0
  54 04:50:38.1
  54 12:31:35.2
  54 12:47:53.3
  54 01:26:00.5
  54 20:58:11.6
  54 07:36:05.2
  54 15:43:49.8
  54 04:25:09.0
  54 06:49:27.5
  54 02:57:52.0
  54 16:45:44.9
  54 21:30:57.8
  54 04:25:09.2
  54 06:49:27.1
  54 02:57:52.5
  54 16:45:44.7
  54 21:30:57.6
  54 22:30:04.2
  54 01:56:51.6
 681 00:00:00.0
 681 04:50:38.1
 681 12:31:35.2
 681 12:47:53.3
 681 01:26:00.5
 681 20:58:11.6
 681 07:36:05.2
 681 15:43:49.8
 681 04:25:09.0
 681 06:49:27.5
 681 02:57:52.0
 681 16:45:44.9
 681 21:30:57.8
 681 04:25:09.2
 681 06:49:27.1
 681 02:57:52.5
 681 16:45:44.7
 681 21:30:57.6
 681 22:30:04.2
 681 01:56:51.6
   0 00:00:00.0
  -0 04:50:38.1
  -0 12:31:35.2
  -0 12:47:53.3
  -0 01:26:00.5
  -0 20:58:11.6
  -0 07:36:05.2
  -0 15:43:49.8
  -0 04:25:09.0
  -0 06:49:27.5
  -0 02:57:52.0
  -0 16:45:44.9
  -0 21:30:57.8
  -0 04:25:09.2
  -0 06:49:27.1
  -0 02:57:52.5
  -0 16:45:44.7
  -0 21:30:57.6
  -0 22:30:04.2
  -0 01:56:51.6
  -1 00:00:00.0
  -1 04:50:38.1
  -1 12:31:35.2
  -1 12:47:53.3
  -1 01:26:00.5
  -1 20:58:11.6
  -1 07:36:05.2
  -1 15:43:49.8
  -1 04:25:09.0
  -1 06:49:27.5
  -1 02:57:52.0
  -1 16:45:44.9
  -1 21:30:57.8
  -1 04:25:09.2
  -1 06:49:27.1
  -1 02:57:52.5
  -1 16:45:44.7
  -1 21:30:57.6
  -1 22:30:04.2
  -1 01:56:51.6
  -2 00:00:00.0
  -2 04:50:38.1
  -2 12:31:35.2
  -2 12:47:53.3
  -2 01:26:00.5
  -2 20:58:11.6
  -2 07:36:05.2
  -2 15:43:49.8
  -2 04:25:09.0
  -2 06:49:27.5
  -2 02:57:52.0
  -2 16:45:44.9
  -2 21:30:57.8
  -2 04:25:09.2
  -2 06:49:27.1
  -2 02:57:52.5
  -2 16:45:44.7
  -2 21:30:57.6
  -2 22:30:04.2
  -2 01:56:51.6
 -54 00:00:00.0
 -54 04:50:38.1
 -54 12:31:35.2
 -54 12:47:53.3
 -54 01:26:00.5
 -54 20:58:11.6
 -54 07:36:05.2
 -54 15:43:49.8
 -54 04:25:09.0
 -54 06:49:27.5
 -54 02:57:52.0
 -54 16:45:44.9
 -54 21:30:57.8
 -54 04:25:09.2
 -54 06:49:27.1
 -54 02:57:52.5
 -54 16:45:44.7
 -54 21:30:57.6
 -54 22:30:04.2
 -54 01:56:51.6
  -681 00:00:00
  -681 04:50:38
  -681 12:31:35
  -681 12:47:53
  -681 01:26:00
  -681 20:58:11
  -681 07:36:05
  -681 15:43:49
  -681 04:25:09
  -681 06:49:27
  -681 02:57:52
  -681 16:45:44
  -681 21:30:57
  -681 04:25:09
  -681 06:49:27
  -681 02:57:52
  -681 16:45:44
  -681 21:30:57
  -681 22:30:04
  -681 01:56:51
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:9591"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:9793: cat dtime14.2.out"
at_fn_check_prepare_trace "data-out.at:9793"
( $at_check_trace; cat dtime14.2.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "  0 00:00:00.00
  0 04:50:38.12
  0 12:31:35.23
  0 12:47:53.35
  0 01:26:00.46
  0 20:58:11.57
  0 07:36:05.19
  0 15:43:49.83
  0 04:25:09.01
  0 06:49:27.52
  0 02:57:52.02
  0 16:45:44.87
  0 21:30:57.82
  0 04:25:09.15
  0 06:49:27.11
  0 02:57:52.48
  0 16:45:44.66
  0 21:30:57.58
  0 22:30:04.18
  0 01:56:51.59
  1 00:00:00.00
  1 04:50:38.12
  1 12:31:35.23
  1 12:47:53.35
  1 01:26:00.46
  1 20:58:11.57
  1 07:36:05.19
  1 15:43:49.83
  1 04:25:09.01
  1 06:49:27.52
  1 02:57:52.02
  1 16:45:44.87
  1 21:30:57.82
  1 04:25:09.15
  1 06:49:27.11
  1 02:57:52.48
  1 16:45:44.66
  1 21:30:57.58
  1 22:30:04.18
  1 01:56:51.59
  2 00:00:00.00
  2 04:50:38.12
  2 12:31:35.23
  2 12:47:53.35
  2 01:26:00.46
  2 20:58:11.57
  2 07:36:05.19
  2 15:43:49.83
  2 04:25:09.01
  2 06:49:27.52
  2 02:57:52.02
  2 16:45:44.87
  2 21:30:57.82
  2 04:25:09.15
  2 06:49:27.11
  2 02:57:52.48
  2 16:45:44.66
  2 21:30:57.58
  2 22:30:04.18
  2 01:56:51.59
 54 00:00:00.00
 54 04:50:38.12
 54 12:31:35.23
 54 12:47:53.35
 54 01:26:00.46
 54 20:58:11.57
 54 07:36:05.19
 54 15:43:49.83
 54 04:25:09.01
 54 06:49:27.52
 54 02:57:52.02
 54 16:45:44.87
 54 21:30:57.82
 54 04:25:09.15
 54 06:49:27.11
 54 02:57:52.48
 54 16:45:44.66
 54 21:30:57.58
 54 22:30:04.18
 54 01:56:51.59
 681 00:00:00.0
 681 04:50:38.1
 681 12:31:35.2
 681 12:47:53.3
 681 01:26:00.5
 681 20:58:11.6
 681 07:36:05.2
 681 15:43:49.8
 681 04:25:09.0
 681 06:49:27.5
 681 02:57:52.0
 681 16:45:44.9
 681 21:30:57.8
 681 04:25:09.2
 681 06:49:27.1
 681 02:57:52.5
 681 16:45:44.7
 681 21:30:57.6
 681 22:30:04.2
 681 01:56:51.6
  0 00:00:00.00
 -0 04:50:38.12
 -0 12:31:35.23
 -0 12:47:53.35
 -0 01:26:00.46
 -0 20:58:11.57
 -0 07:36:05.19
 -0 15:43:49.83
 -0 04:25:09.01
 -0 06:49:27.52
 -0 02:57:52.02
 -0 16:45:44.87
 -0 21:30:57.82
 -0 04:25:09.15
 -0 06:49:27.11
 -0 02:57:52.48
 -0 16:45:44.66
 -0 21:30:57.58
 -0 22:30:04.18
 -0 01:56:51.59
 -1 00:00:00.00
 -1 04:50:38.12
 -1 12:31:35.23
 -1 12:47:53.35
 -1 01:26:00.46
 -1 20:58:11.57
 -1 07:36:05.19
 -1 15:43:49.83
 -1 04:25:09.01
 -1 06:49:27.52
 -1 02:57:52.02
 -1 16:45:44.87
 -1 21:30:57.82
 -1 04:25:09.15
 -1 06:49:27.11
 -1 02:57:52.48
 -1 16:45:44.66
 -1 21:30:57.58
 -1 22:30:04.18
 -1 01:56:51.59
 -2 00:00:00.00
 -2 04:50:38.12
 -2 12:31:35.23
 -2 12:47:53.35
 -2 01:26:00.46
 -2 20:58:11.57
 -2 07:36:05.19
 -2 15:43:49.83
 -2 04:25:09.01
 -2 06:49:27.52
 -2 02:57:52.02
 -2 16:45:44.87
 -2 21:30:57.82
 -2 04:25:09.15
 -2 06:49:27.11
 -2 02:57:52.48
 -2 16:45:44.66
 -2 21:30:57.58
 -2 22:30:04.18
 -2 01:56:51.59
 -54 00:00:00.0
 -54 04:50:38.1
 -54 12:31:35.2
 -54 12:47:53.3
 -54 01:26:00.5
 -54 20:58:11.6
 -54 07:36:05.2
 -54 15:43:49.8
 -54 04:25:09.0
 -54 06:49:27.5
 -54 02:57:52.0
 -54 16:45:44.9
 -54 21:30:57.8
 -54 04:25:09.2
 -54 06:49:27.1
 -54 02:57:52.5
 -54 16:45:44.7
 -54 21:30:57.6
 -54 22:30:04.2
 -54 01:56:51.6
  -681 00:00:00
  -681 04:50:38
  -681 12:31:35
  -681 12:47:53
  -681 01:26:00
  -681 20:58:11
  -681 07:36:05
  -681 15:43:49
  -681 04:25:09
  -681 06:49:27
  -681 02:57:52
  -681 16:45:44
  -681 21:30:57
  -681 04:25:09
  -681 06:49:27
  -681 02:57:52
  -681 16:45:44
  -681 21:30:57
  -681 22:30:04
  -681 01:56:51
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:9793"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:9995: cat dtime15.out"
at_fn_check_prepare_trace "data-out.at:9995"
( $at_check_trace; cat dtime15.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "      0 00:00:00
      0 04:50:38
      0 12:31:35
      0 12:47:53
      0 01:26:00
      0 20:58:11
      0 07:36:05
      0 15:43:49
      0 04:25:09
      0 06:49:27
      0 02:57:52
      0 16:45:44
      0 21:30:57
      0 04:25:09
      0 06:49:27
      0 02:57:52
      0 16:45:44
      0 21:30:57
      0 22:30:04
      0 01:56:51
      1 00:00:00
      1 04:50:38
      1 12:31:35
      1 12:47:53
      1 01:26:00
      1 20:58:11
      1 07:36:05
      1 15:43:49
      1 04:25:09
      1 06:49:27
      1 02:57:52
      1 16:45:44
      1 21:30:57
      1 04:25:09
      1 06:49:27
      1 02:57:52
      1 16:45:44
      1 21:30:57
      1 22:30:04
      1 01:56:51
      2 00:00:00
      2 04:50:38
      2 12:31:35
      2 12:47:53
      2 01:26:00
      2 20:58:11
      2 07:36:05
      2 15:43:49
      2 04:25:09
      2 06:49:27
      2 02:57:52
      2 16:45:44
      2 21:30:57
      2 04:25:09
      2 06:49:27
      2 02:57:52
      2 16:45:44
      2 21:30:57
      2 22:30:04
      2 01:56:51
     54 00:00:00
     54 04:50:38
     54 12:31:35
     54 12:47:53
     54 01:26:00
     54 20:58:11
     54 07:36:05
     54 15:43:49
     54 04:25:09
     54 06:49:27
     54 02:57:52
     54 16:45:44
     54 21:30:57
     54 04:25:09
     54 06:49:27
     54 02:57:52
     54 16:45:44
     54 21:30:57
     54 22:30:04
     54 01:56:51
    681 00:00:00
    681 04:50:38
    681 12:31:35
    681 12:47:53
    681 01:26:00
    681 20:58:11
    681 07:36:05
    681 15:43:49
    681 04:25:09
    681 06:49:27
    681 02:57:52
    681 16:45:44
    681 21:30:57
    681 04:25:09
    681 06:49:27
    681 02:57:52
    681 16:45:44
    681 21:30:57
    681 22:30:04
    681 01:56:51
      0 00:00:00
     -0 04:50:38
     -0 12:31:35
     -0 12:47:53
     -0 01:26:00
     -0 20:58:11
     -0 07:36:05
     -0 15:43:49
     -0 04:25:09
     -0 06:49:27
     -0 02:57:52
     -0 16:45:44
     -0 21:30:57
     -0 04:25:09
     -0 06:49:27
     -0 02:57:52
     -0 16:45:44
     -0 21:30:57
     -0 22:30:04
     -0 01:56:51
     -1 00:00:00
     -1 04:50:38
     -1 12:31:35
     -1 12:47:53
     -1 01:26:00
     -1 20:58:11
     -1 07:36:05
     -1 15:43:49
     -1 04:25:09
     -1 06:49:27
     -1 02:57:52
     -1 16:45:44
     -1 21:30:57
     -1 04:25:09
     -1 06:49:27
     -1 02:57:52
     -1 16:45:44
     -1 21:30:57
     -1 22:30:04
     -1 01:56:51
     -2 00:00:00
     -2 04:50:38
     -2 12:31:35
     -2 12:47:53
     -2 01:26:00
     -2 20:58:11
     -2 07:36:05
     -2 15:43:49
     -2 04:25:09
     -2 06:49:27
     -2 02:57:52
     -2 16:45:44
     -2 21:30:57
     -2 04:25:09
     -2 06:49:27
     -2 02:57:52
     -2 16:45:44
     -2 21:30:57
     -2 22:30:04
     -2 01:56:51
    -54 00:00:00
    -54 04:50:38
    -54 12:31:35
    -54 12:47:53
    -54 01:26:00
    -54 20:58:11
    -54 07:36:05
    -54 15:43:49
    -54 04:25:09
    -54 06:49:27
    -54 02:57:52
    -54 16:45:44
    -54 21:30:57
    -54 04:25:09
    -54 06:49:27
    -54 02:57:52
    -54 16:45:44
    -54 21:30:57
    -54 22:30:04
    -54 01:56:51
   -681 00:00:00
   -681 04:50:38
   -681 12:31:35
   -681 12:47:53
   -681 01:26:00
   -681 20:58:11
   -681 07:36:05
   -681 15:43:49
   -681 04:25:09
   -681 06:49:27
   -681 02:57:52
   -681 16:45:44
   -681 21:30:57
   -681 04:25:09
   -681 06:49:27
   -681 02:57:52
   -681 16:45:44
   -681 21:30:57
   -681 22:30:04
   -681 01:56:51
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:9995"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:10197: cat dtime15.1.out"
at_fn_check_prepare_trace "data-out.at:10197"
( $at_check_trace; cat dtime15.1.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "    0 00:00:00.0
    0 04:50:38.1
    0 12:31:35.2
    0 12:47:53.3
    0 01:26:00.5
    0 20:58:11.6
    0 07:36:05.2
    0 15:43:49.8
    0 04:25:09.0
    0 06:49:27.5
    0 02:57:52.0
    0 16:45:44.9
    0 21:30:57.8
    0 04:25:09.2
    0 06:49:27.1
    0 02:57:52.5
    0 16:45:44.7
    0 21:30:57.6
    0 22:30:04.2
    0 01:56:51.6
    1 00:00:00.0
    1 04:50:38.1
    1 12:31:35.2
    1 12:47:53.3
    1 01:26:00.5
    1 20:58:11.6
    1 07:36:05.2
    1 15:43:49.8
    1 04:25:09.0
    1 06:49:27.5
    1 02:57:52.0
    1 16:45:44.9
    1 21:30:57.8
    1 04:25:09.2
    1 06:49:27.1
    1 02:57:52.5
    1 16:45:44.7
    1 21:30:57.6
    1 22:30:04.2
    1 01:56:51.6
    2 00:00:00.0
    2 04:50:38.1
    2 12:31:35.2
    2 12:47:53.3
    2 01:26:00.5
    2 20:58:11.6
    2 07:36:05.2
    2 15:43:49.8
    2 04:25:09.0
    2 06:49:27.5
    2 02:57:52.0
    2 16:45:44.9
    2 21:30:57.8
    2 04:25:09.2
    2 06:49:27.1
    2 02:57:52.5
    2 16:45:44.7
    2 21:30:57.6
    2 22:30:04.2
    2 01:56:51.6
   54 00:00:00.0
   54 04:50:38.1
   54 12:31:35.2
   54 12:47:53.3
   54 01:26:00.5
   54 20:58:11.6
   54 07:36:05.2
   54 15:43:49.8
   54 04:25:09.0
   54 06:49:27.5
   54 02:57:52.0
   54 16:45:44.9
   54 21:30:57.8
   54 04:25:09.2
   54 06:49:27.1
   54 02:57:52.5
   54 16:45:44.7
   54 21:30:57.6
   54 22:30:04.2
   54 01:56:51.6
  681 00:00:00.0
  681 04:50:38.1
  681 12:31:35.2
  681 12:47:53.3
  681 01:26:00.5
  681 20:58:11.6
  681 07:36:05.2
  681 15:43:49.8
  681 04:25:09.0
  681 06:49:27.5
  681 02:57:52.0
  681 16:45:44.9
  681 21:30:57.8
  681 04:25:09.2
  681 06:49:27.1
  681 02:57:52.5
  681 16:45:44.7
  681 21:30:57.6
  681 22:30:04.2
  681 01:56:51.6
    0 00:00:00.0
   -0 04:50:38.1
   -0 12:31:35.2
   -0 12:47:53.3
   -0 01:26:00.5
   -0 20:58:11.6
   -0 07:36:05.2
   -0 15:43:49.8
   -0 04:25:09.0
   -0 06:49:27.5
   -0 02:57:52.0
   -0 16:45:44.9
   -0 21:30:57.8
   -0 04:25:09.2
   -0 06:49:27.1
   -0 02:57:52.5
   -0 16:45:44.7
   -0 21:30:57.6
   -0 22:30:04.2
   -0 01:56:51.6
   -1 00:00:00.0
   -1 04:50:38.1
   -1 12:31:35.2
   -1 12:47:53.3
   -1 01:26:00.5
   -1 20:58:11.6
   -1 07:36:05.2
   -1 15:43:49.8
   -1 04:25:09.0
   -1 06:49:27.5
   -1 02:57:52.0
   -1 16:45:44.9
   -1 21:30:57.8
   -1 04:25:09.2
   -1 06:49:27.1
   -1 02:57:52.5
   -1 16:45:44.7
   -1 21:30:57.6
   -1 22:30:04.2
   -1 01:56:51.6
   -2 00:00:00.0
   -2 04:50:38.1
   -2 12:31:35.2
   -2 12:47:53.3
   -2 01:26:00.5
   -2 20:58:11.6
   -2 07:36:05.2
   -2 15:43:49.8
   -2 04:25:09.0
   -2 06:49:27.5
   -2 02:57:52.0
   -2 16:45:44.9
   -2 21:30:57.8
   -2 04:25:09.2
   -2 06:49:27.1
   -2 02:57:52.5
   -2 16:45:44.7
   -2 21:30:57.6
   -2 22:30:04.2
   -2 01:56:51.6
  -54 00:00:00.0
  -54 04:50:38.1
  -54 12:31:35.2
  -54 12:47:53.3
  -54 01:26:00.5
  -54 20:58:11.6
  -54 07:36:05.2
  -54 15:43:49.8
  -54 04:25:09.0
  -54 06:49:27.5
  -54 02:57:52.0
  -54 16:45:44.9
  -54 21:30:57.8
  -54 04:25:09.2
  -54 06:49:27.1
  -54 02:57:52.5
  -54 16:45:44.7
  -54 21:30:57.6
  -54 22:30:04.2
  -54 01:56:51.6
 -681 00:00:00.0
 -681 04:50:38.1
 -681 12:31:35.2
 -681 12:47:53.3
 -681 01:26:00.5
 -681 20:58:11.6
 -681 07:36:05.2
 -681 15:43:49.8
 -681 04:25:09.0
 -681 06:49:27.5
 -681 02:57:52.0
 -681 16:45:44.9
 -681 21:30:57.8
 -681 04:25:09.2
 -681 06:49:27.1
 -681 02:57:52.5
 -681 16:45:44.7
 -681 21:30:57.6
 -681 22:30:04.2
 -681 01:56:51.6
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:10197"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:10399: cat dtime15.2.out"
at_fn_check_prepare_trace "data-out.at:10399"
( $at_check_trace; cat dtime15.2.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "   0 00:00:00.00
   0 04:50:38.12
   0 12:31:35.23
   0 12:47:53.35
   0 01:26:00.46
   0 20:58:11.57
   0 07:36:05.19
   0 15:43:49.83
   0 04:25:09.01
   0 06:49:27.52
   0 02:57:52.02
   0 16:45:44.87
   0 21:30:57.82
   0 04:25:09.15
   0 06:49:27.11
   0 02:57:52.48
   0 16:45:44.66
   0 21:30:57.58
   0 22:30:04.18
   0 01:56:51.59
   1 00:00:00.00
   1 04:50:38.12
   1 12:31:35.23
   1 12:47:53.35
   1 01:26:00.46
   1 20:58:11.57
   1 07:36:05.19
   1 15:43:49.83
   1 04:25:09.01
   1 06:49:27.52
   1 02:57:52.02
   1 16:45:44.87
   1 21:30:57.82
   1 04:25:09.15
   1 06:49:27.11
   1 02:57:52.48
   1 16:45:44.66
   1 21:30:57.58
   1 22:30:04.18
   1 01:56:51.59
   2 00:00:00.00
   2 04:50:38.12
   2 12:31:35.23
   2 12:47:53.35
   2 01:26:00.46
   2 20:58:11.57
   2 07:36:05.19
   2 15:43:49.83
   2 04:25:09.01
   2 06:49:27.52
   2 02:57:52.02
   2 16:45:44.87
   2 21:30:57.82
   2 04:25:09.15
   2 06:49:27.11
   2 02:57:52.48
   2 16:45:44.66
   2 21:30:57.58
   2 22:30:04.18
   2 01:56:51.59
  54 00:00:00.00
  54 04:50:38.12
  54 12:31:35.23
  54 12:47:53.35
  54 01:26:00.46
  54 20:58:11.57
  54 07:36:05.19
  54 15:43:49.83
  54 04:25:09.01
  54 06:49:27.52
  54 02:57:52.02
  54 16:45:44.87
  54 21:30:57.82
  54 04:25:09.15
  54 06:49:27.11
  54 02:57:52.48
  54 16:45:44.66
  54 21:30:57.58
  54 22:30:04.18
  54 01:56:51.59
 681 00:00:00.00
 681 04:50:38.12
 681 12:31:35.23
 681 12:47:53.35
 681 01:26:00.46
 681 20:58:11.57
 681 07:36:05.19
 681 15:43:49.83
 681 04:25:09.01
 681 06:49:27.52
 681 02:57:52.02
 681 16:45:44.87
 681 21:30:57.82
 681 04:25:09.15
 681 06:49:27.11
 681 02:57:52.48
 681 16:45:44.66
 681 21:30:57.58
 681 22:30:04.18
 681 01:56:51.59
   0 00:00:00.00
  -0 04:50:38.12
  -0 12:31:35.23
  -0 12:47:53.35
  -0 01:26:00.46
  -0 20:58:11.57
  -0 07:36:05.19
  -0 15:43:49.83
  -0 04:25:09.01
  -0 06:49:27.52
  -0 02:57:52.02
  -0 16:45:44.87
  -0 21:30:57.82
  -0 04:25:09.15
  -0 06:49:27.11
  -0 02:57:52.48
  -0 16:45:44.66
  -0 21:30:57.58
  -0 22:30:04.18
  -0 01:56:51.59
  -1 00:00:00.00
  -1 04:50:38.12
  -1 12:31:35.23
  -1 12:47:53.35
  -1 01:26:00.46
  -1 20:58:11.57
  -1 07:36:05.19
  -1 15:43:49.83
  -1 04:25:09.01
  -1 06:49:27.52
  -1 02:57:52.02
  -1 16:45:44.87
  -1 21:30:57.82
  -1 04:25:09.15
  -1 06:49:27.11
  -1 02:57:52.48
  -1 16:45:44.66
  -1 21:30:57.58
  -1 22:30:04.18
  -1 01:56:51.59
  -2 00:00:00.00
  -2 04:50:38.12
  -2 12:31:35.23
  -2 12:47:53.35
  -2 01:26:00.46
  -2 20:58:11.57
  -2 07:36:05.19
  -2 15:43:49.83
  -2 04:25:09.01
  -2 06:49:27.52
  -2 02:57:52.02
  -2 16:45:44.87
  -2 21:30:57.82
  -2 04:25:09.15
  -2 06:49:27.11
  -2 02:57:52.48
  -2 16:45:44.66
  -2 21:30:57.58
  -2 22:30:04.18
  -2 01:56:51.59
 -54 00:00:00.00
 -54 04:50:38.12
 -54 12:31:35.23
 -54 12:47:53.35
 -54 01:26:00.46
 -54 20:58:11.57
 -54 07:36:05.19
 -54 15:43:49.83
 -54 04:25:09.01
 -54 06:49:27.52
 -54 02:57:52.02
 -54 16:45:44.87
 -54 21:30:57.82
 -54 04:25:09.15
 -54 06:49:27.11
 -54 02:57:52.48
 -54 16:45:44.66
 -54 21:30:57.58
 -54 22:30:04.18
 -54 01:56:51.59
 -681 00:00:00.0
 -681 04:50:38.1
 -681 12:31:35.2
 -681 12:47:53.3
 -681 01:26:00.5
 -681 20:58:11.6
 -681 07:36:05.2
 -681 15:43:49.8
 -681 04:25:09.0
 -681 06:49:27.5
 -681 02:57:52.0
 -681 16:45:44.9
 -681 21:30:57.8
 -681 04:25:09.2
 -681 06:49:27.1
 -681 02:57:52.5
 -681 16:45:44.7
 -681 21:30:57.6
 -681 22:30:04.2
 -681 01:56:51.6
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:10399"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:10601: cat dtime15.3.out"
at_fn_check_prepare_trace "data-out.at:10601"
( $at_check_trace; cat dtime15.3.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "  0 00:00:00.000
  0 04:50:38.123
  0 12:31:35.235
  0 12:47:53.345
  0 01:26:00.456
  0 20:58:11.567
  0 07:36:05.190
  0 15:43:49.831
  0 04:25:09.013
  0 06:49:27.524
  0 02:57:52.016
  0 16:45:44.865
  0 21:30:57.820
  0 04:25:09.154
  0 06:49:27.105
  0 02:57:52.482
  0 16:45:44.658
  0 21:30:57.582
  0 22:30:04.183
  0 01:56:51.593
  1 00:00:00.000
  1 04:50:38.123
  1 12:31:35.235
  1 12:47:53.345
  1 01:26:00.456
  1 20:58:11.567
  1 07:36:05.190
  1 15:43:49.831
  1 04:25:09.013
  1 06:49:27.524
  1 02:57:52.016
  1 16:45:44.865
  1 21:30:57.820
  1 04:25:09.154
  1 06:49:27.105
  1 02:57:52.482
  1 16:45:44.658
  1 21:30:57.582
  1 22:30:04.183
  1 01:56:51.593
  2 00:00:00.000
  2 04:50:38.123
  2 12:31:35.235
  2 12:47:53.345
  2 01:26:00.456
  2 20:58:11.567
  2 07:36:05.190
  2 15:43:49.831
  2 04:25:09.013
  2 06:49:27.524
  2 02:57:52.016
  2 16:45:44.865
  2 21:30:57.820
  2 04:25:09.154
  2 06:49:27.105
  2 02:57:52.482
  2 16:45:44.658
  2 21:30:57.582
  2 22:30:04.183
  2 01:56:51.593
 54 00:00:00.000
 54 04:50:38.123
 54 12:31:35.235
 54 12:47:53.345
 54 01:26:00.456
 54 20:58:11.567
 54 07:36:05.190
 54 15:43:49.831
 54 04:25:09.013
 54 06:49:27.524
 54 02:57:52.016
 54 16:45:44.865
 54 21:30:57.820
 54 04:25:09.154
 54 06:49:27.105
 54 02:57:52.482
 54 16:45:44.658
 54 21:30:57.582
 54 22:30:04.183
 54 01:56:51.593
 681 00:00:00.00
 681 04:50:38.12
 681 12:31:35.23
 681 12:47:53.35
 681 01:26:00.46
 681 20:58:11.57
 681 07:36:05.19
 681 15:43:49.83
 681 04:25:09.01
 681 06:49:27.52
 681 02:57:52.02
 681 16:45:44.87
 681 21:30:57.82
 681 04:25:09.15
 681 06:49:27.11
 681 02:57:52.48
 681 16:45:44.66
 681 21:30:57.58
 681 22:30:04.18
 681 01:56:51.59
  0 00:00:00.000
 -0 04:50:38.123
 -0 12:31:35.235
 -0 12:47:53.345
 -0 01:26:00.456
 -0 20:58:11.567
 -0 07:36:05.190
 -0 15:43:49.831
 -0 04:25:09.013
 -0 06:49:27.524
 -0 02:57:52.016
 -0 16:45:44.865
 -0 21:30:57.820
 -0 04:25:09.154
 -0 06:49:27.105
 -0 02:57:52.482
 -0 16:45:44.658
 -0 21:30:57.582
 -0 22:30:04.183
 -0 01:56:51.593
 -1 00:00:00.000
 -1 04:50:38.123
 -1 12:31:35.235
 -1 12:47:53.345
 -1 01:26:00.456
 -1 20:58:11.567
 -1 07:36:05.190
 -1 15:43:49.831
 -1 04:25:09.013
 -1 06:49:27.524
 -1 02:57:52.016
 -1 16:45:44.865
 -1 21:30:57.820
 -1 04:25:09.154
 -1 06:49:27.105
 -1 02:57:52.482
 -1 16:45:44.658
 -1 21:30:57.582
 -1 22:30:04.183
 -1 01:56:51.593
 -2 00:00:00.000
 -2 04:50:38.123
 -2 12:31:35.235
 -2 12:47:53.345
 -2 01:26:00.456
 -2 20:58:11.567
 -2 07:36:05.190
 -2 15:43:49.831
 -2 04:25:09.013
 -2 06:49:27.524
 -2 02:57:52.016
 -2 16:45:44.865
 -2 21:30:57.820
 -2 04:25:09.154
 -2 06:49:27.105
 -2 02:57:52.482
 -2 16:45:44.658
 -2 21:30:57.582
 -2 22:30:04.183
 -2 01:56:51.593
 -54 00:00:00.00
 -54 04:50:38.12
 -54 12:31:35.23
 -54 12:47:53.35
 -54 01:26:00.46
 -54 20:58:11.57
 -54 07:36:05.19
 -54 15:43:49.83
 -54 04:25:09.01
 -54 06:49:27.52
 -54 02:57:52.02
 -54 16:45:44.87
 -54 21:30:57.82
 -54 04:25:09.15
 -54 06:49:27.11
 -54 02:57:52.48
 -54 16:45:44.66
 -54 21:30:57.58
 -54 22:30:04.18
 -54 01:56:51.59
 -681 00:00:00.0
 -681 04:50:38.1
 -681 12:31:35.2
 -681 12:47:53.3
 -681 01:26:00.5
 -681 20:58:11.6
 -681 07:36:05.2
 -681 15:43:49.8
 -681 04:25:09.0
 -681 06:49:27.5
 -681 02:57:52.0
 -681 16:45:44.9
 -681 21:30:57.8
 -681 04:25:09.2
 -681 06:49:27.1
 -681 02:57:52.5
 -681 16:45:44.7
 -681 21:30:57.6
 -681 22:30:04.2
 -681 01:56:51.6
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:10601"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:10803: cat dtime16.out"
at_fn_check_prepare_trace "data-out.at:10803"
( $at_check_trace; cat dtime16.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "       0 00:00:00
       0 04:50:38
       0 12:31:35
       0 12:47:53
       0 01:26:00
       0 20:58:11
       0 07:36:05
       0 15:43:49
       0 04:25:09
       0 06:49:27
       0 02:57:52
       0 16:45:44
       0 21:30:57
       0 04:25:09
       0 06:49:27
       0 02:57:52
       0 16:45:44
       0 21:30:57
       0 22:30:04
       0 01:56:51
       1 00:00:00
       1 04:50:38
       1 12:31:35
       1 12:47:53
       1 01:26:00
       1 20:58:11
       1 07:36:05
       1 15:43:49
       1 04:25:09
       1 06:49:27
       1 02:57:52
       1 16:45:44
       1 21:30:57
       1 04:25:09
       1 06:49:27
       1 02:57:52
       1 16:45:44
       1 21:30:57
       1 22:30:04
       1 01:56:51
       2 00:00:00
       2 04:50:38
       2 12:31:35
       2 12:47:53
       2 01:26:00
       2 20:58:11
       2 07:36:05
       2 15:43:49
       2 04:25:09
       2 06:49:27
       2 02:57:52
       2 16:45:44
       2 21:30:57
       2 04:25:09
       2 06:49:27
       2 02:57:52
       2 16:45:44
       2 21:30:57
       2 22:30:04
       2 01:56:51
      54 00:00:00
      54 04:50:38
      54 12:31:35
      54 12:47:53
      54 01:26:00
      54 20:58:11
      54 07:36:05
      54 15:43:49
      54 04:25:09
      54 06:49:27
      54 02:57:52
      54 16:45:44
      54 21:30:57
      54 04:25:09
      54 06:49:27
      54 02:57:52
      54 16:45:44
      54 21:30:57
      54 22:30:04
      54 01:56:51
     681 00:00:00
     681 04:50:38
     681 12:31:35
     681 12:47:53
     681 01:26:00
     681 20:58:11
     681 07:36:05
     681 15:43:49
     681 04:25:09
     681 06:49:27
     681 02:57:52
     681 16:45:44
     681 21:30:57
     681 04:25:09
     681 06:49:27
     681 02:57:52
     681 16:45:44
     681 21:30:57
     681 22:30:04
     681 01:56:51
       0 00:00:00
      -0 04:50:38
      -0 12:31:35
      -0 12:47:53
      -0 01:26:00
      -0 20:58:11
      -0 07:36:05
      -0 15:43:49
      -0 04:25:09
      -0 06:49:27
      -0 02:57:52
      -0 16:45:44
      -0 21:30:57
      -0 04:25:09
      -0 06:49:27
      -0 02:57:52
      -0 16:45:44
      -0 21:30:57
      -0 22:30:04
      -0 01:56:51
      -1 00:00:00
      -1 04:50:38
      -1 12:31:35
      -1 12:47:53
      -1 01:26:00
      -1 20:58:11
      -1 07:36:05
      -1 15:43:49
      -1 04:25:09
      -1 06:49:27
      -1 02:57:52
      -1 16:45:44
      -1 21:30:57
      -1 04:25:09
      -1 06:49:27
      -1 02:57:52
      -1 16:45:44
      -1 21:30:57
      -1 22:30:04
      -1 01:56:51
      -2 00:00:00
      -2 04:50:38
      -2 12:31:35
      -2 12:47:53
      -2 01:26:00
      -2 20:58:11
      -2 07:36:05
      -2 15:43:49
      -2 04:25:09
      -2 06:49:27
      -2 02:57:52
      -2 16:45:44
      -2 21:30:57
      -2 04:25:09
      -2 06:49:27
      -2 02:57:52
      -2 16:45:44
      -2 21:30:57
      -2 22:30:04
      -2 01:56:51
     -54 00:00:00
     -54 04:50:38
     -54 12:31:35
     -54 12:47:53
     -54 01:26:00
     -54 20:58:11
     -54 07:36:05
     -54 15:43:49
     -54 04:25:09
     -54 06:49:27
     -54 02:57:52
     -54 16:45:44
     -54 21:30:57
     -54 04:25:09
     -54 06:49:27
     -54 02:57:52
     -54 16:45:44
     -54 21:30:57
     -54 22:30:04
     -54 01:56:51
    -681 00:00:00
    -681 04:50:38
    -681 12:31:35
    -681 12:47:53
    -681 01:26:00
    -681 20:58:11
    -681 07:36:05
    -681 15:43:49
    -681 04:25:09
    -681 06:49:27
    -681 02:57:52
    -681 16:45:44
    -681 21:30:57
    -681 04:25:09
    -681 06:49:27
    -681 02:57:52
    -681 16:45:44
    -681 21:30:57
    -681 22:30:04
    -681 01:56:51
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:10803"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:11005: cat dtime16.1.out"
at_fn_check_prepare_trace "data-out.at:11005"
( $at_check_trace; cat dtime16.1.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "     0 00:00:00.0
     0 04:50:38.1
     0 12:31:35.2
     0 12:47:53.3
     0 01:26:00.5
     0 20:58:11.6
     0 07:36:05.2
     0 15:43:49.8
     0 04:25:09.0
     0 06:49:27.5
     0 02:57:52.0
     0 16:45:44.9
     0 21:30:57.8
     0 04:25:09.2
     0 06:49:27.1
     0 02:57:52.5
     0 16:45:44.7
     0 21:30:57.6
     0 22:30:04.2
     0 01:56:51.6
     1 00:00:00.0
     1 04:50:38.1
     1 12:31:35.2
     1 12:47:53.3
     1 01:26:00.5
     1 20:58:11.6
     1 07:36:05.2
     1 15:43:49.8
     1 04:25:09.0
     1 06:49:27.5
     1 02:57:52.0
     1 16:45:44.9
     1 21:30:57.8
     1 04:25:09.2
     1 06:49:27.1
     1 02:57:52.5
     1 16:45:44.7
     1 21:30:57.6
     1 22:30:04.2
     1 01:56:51.6
     2 00:00:00.0
     2 04:50:38.1
     2 12:31:35.2
     2 12:47:53.3
     2 01:26:00.5
     2 20:58:11.6
     2 07:36:05.2
     2 15:43:49.8
     2 04:25:09.0
     2 06:49:27.5
     2 02:57:52.0
     2 16:45:44.9
     2 21:30:57.8
     2 04:25:09.2
     2 06:49:27.1
     2 02:57:52.5
     2 16:45:44.7
     2 21:30:57.6
     2 22:30:04.2
     2 01:56:51.6
    54 00:00:00.0
    54 04:50:38.1
    54 12:31:35.2
    54 12:47:53.3
    54 01:26:00.5
    54 20:58:11.6
    54 07:36:05.2
    54 15:43:49.8
    54 04:25:09.0
    54 06:49:27.5
    54 02:57:52.0
    54 16:45:44.9
    54 21:30:57.8
    54 04:25:09.2
    54 06:49:27.1
    54 02:57:52.5
    54 16:45:44.7
    54 21:30:57.6
    54 22:30:04.2
    54 01:56:51.6
   681 00:00:00.0
   681 04:50:38.1
   681 12:31:35.2
   681 12:47:53.3
   681 01:26:00.5
   681 20:58:11.6
   681 07:36:05.2
   681 15:43:49.8
   681 04:25:09.0
   681 06:49:27.5
   681 02:57:52.0
   681 16:45:44.9
   681 21:30:57.8
   681 04:25:09.2
   681 06:49:27.1
   681 02:57:52.5
   681 16:45:44.7
   681 21:30:57.6
   681 22:30:04.2
   681 01:56:51.6
     0 00:00:00.0
    -0 04:50:38.1
    -0 12:31:35.2
    -0 12:47:53.3
    -0 01:26:00.5
    -0 20:58:11.6
    -0 07:36:05.2
    -0 15:43:49.8
    -0 04:25:09.0
    -0 06:49:27.5
    -0 02:57:52.0
    -0 16:45:44.9
    -0 21:30:57.8
    -0 04:25:09.2
    -0 06:49:27.1
    -0 02:57:52.5
    -0 16:45:44.7
    -0 21:30:57.6
    -0 22:30:04.2
    -0 01:56:51.6
    -1 00:00:00.0
    -1 04:50:38.1
    -1 12:31:35.2
    -1 12:47:53.3
    -1 01:26:00.5
    -1 20:58:11.6
    -1 07:36:05.2
    -1 15:43:49.8
    -1 04:25:09.0
    -1 06:49:27.5
    -1 02:57:52.0
    -1 16:45:44.9
    -1 21:30:57.8
    -1 04:25:09.2
    -1 06:49:27.1
    -1 02:57:52.5
    -1 16:45:44.7
    -1 21:30:57.6
    -1 22:30:04.2
    -1 01:56:51.6
    -2 00:00:00.0
    -2 04:50:38.1
    -2 12:31:35.2
    -2 12:47:53.3
    -2 01:26:00.5
    -2 20:58:11.6
    -2 07:36:05.2
    -2 15:43:49.8
    -2 04:25:09.0
    -2 06:49:27.5
    -2 02:57:52.0
    -2 16:45:44.9
    -2 21:30:57.8
    -2 04:25:09.2
    -2 06:49:27.1
    -2 02:57:52.5
    -2 16:45:44.7
    -2 21:30:57.6
    -2 22:30:04.2
    -2 01:56:51.6
   -54 00:00:00.0
   -54 04:50:38.1
   -54 12:31:35.2
   -54 12:47:53.3
   -54 01:26:00.5
   -54 20:58:11.6
   -54 07:36:05.2
   -54 15:43:49.8
   -54 04:25:09.0
   -54 06:49:27.5
   -54 02:57:52.0
   -54 16:45:44.9
   -54 21:30:57.8
   -54 04:25:09.2
   -54 06:49:27.1
   -54 02:57:52.5
   -54 16:45:44.7
   -54 21:30:57.6
   -54 22:30:04.2
   -54 01:56:51.6
  -681 00:00:00.0
  -681 04:50:38.1
  -681 12:31:35.2
  -681 12:47:53.3
  -681 01:26:00.5
  -681 20:58:11.6
  -681 07:36:05.2
  -681 15:43:49.8
  -681 04:25:09.0
  -681 06:49:27.5
  -681 02:57:52.0
  -681 16:45:44.9
  -681 21:30:57.8
  -681 04:25:09.2
  -681 06:49:27.1
  -681 02:57:52.5
  -681 16:45:44.7
  -681 21:30:57.6
  -681 22:30:04.2
  -681 01:56:51.6
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:11005"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:11207: cat dtime16.2.out"
at_fn_check_prepare_trace "data-out.at:11207"
( $at_check_trace; cat dtime16.2.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "    0 00:00:00.00
    0 04:50:38.12
    0 12:31:35.23
    0 12:47:53.35
    0 01:26:00.46
    0 20:58:11.57
    0 07:36:05.19
    0 15:43:49.83
    0 04:25:09.01
    0 06:49:27.52
    0 02:57:52.02
    0 16:45:44.87
    0 21:30:57.82
    0 04:25:09.15
    0 06:49:27.11
    0 02:57:52.48
    0 16:45:44.66
    0 21:30:57.58
    0 22:30:04.18
    0 01:56:51.59
    1 00:00:00.00
    1 04:50:38.12
    1 12:31:35.23
    1 12:47:53.35
    1 01:26:00.46
    1 20:58:11.57
    1 07:36:05.19
    1 15:43:49.83
    1 04:25:09.01
    1 06:49:27.52
    1 02:57:52.02
    1 16:45:44.87
    1 21:30:57.82
    1 04:25:09.15
    1 06:49:27.11
    1 02:57:52.48
    1 16:45:44.66
    1 21:30:57.58
    1 22:30:04.18
    1 01:56:51.59
    2 00:00:00.00
    2 04:50:38.12
    2 12:31:35.23
    2 12:47:53.35
    2 01:26:00.46
    2 20:58:11.57
    2 07:36:05.19
    2 15:43:49.83
    2 04:25:09.01
    2 06:49:27.52
    2 02:57:52.02
    2 16:45:44.87
    2 21:30:57.82
    2 04:25:09.15
    2 06:49:27.11
    2 02:57:52.48
    2 16:45:44.66
    2 21:30:57.58
    2 22:30:04.18
    2 01:56:51.59
   54 00:00:00.00
   54 04:50:38.12
   54 12:31:35.23
   54 12:47:53.35
   54 01:26:00.46
   54 20:58:11.57
   54 07:36:05.19
   54 15:43:49.83
   54 04:25:09.01
   54 06:49:27.52
   54 02:57:52.02
   54 16:45:44.87
   54 21:30:57.82
   54 04:25:09.15
   54 06:49:27.11
   54 02:57:52.48
   54 16:45:44.66
   54 21:30:57.58
   54 22:30:04.18
   54 01:56:51.59
  681 00:00:00.00
  681 04:50:38.12
  681 12:31:35.23
  681 12:47:53.35
  681 01:26:00.46
  681 20:58:11.57
  681 07:36:05.19
  681 15:43:49.83
  681 04:25:09.01
  681 06:49:27.52
  681 02:57:52.02
  681 16:45:44.87
  681 21:30:57.82
  681 04:25:09.15
  681 06:49:27.11
  681 02:57:52.48
  681 16:45:44.66
  681 21:30:57.58
  681 22:30:04.18
  681 01:56:51.59
    0 00:00:00.00
   -0 04:50:38.12
   -0 12:31:35.23
   -0 12:47:53.35
   -0 01:26:00.46
   -0 20:58:11.57
   -0 07:36:05.19
   -0 15:43:49.83
   -0 04:25:09.01
   -0 06:49:27.52
   -0 02:57:52.02
   -0 16:45:44.87
   -0 21:30:57.82
   -0 04:25:09.15
   -0 06:49:27.11
   -0 02:57:52.48
   -0 16:45:44.66
   -0 21:30:57.58
   -0 22:30:04.18
   -0 01:56:51.59
   -1 00:00:00.00
   -1 04:50:38.12
   -1 12:31:35.23
   -1 12:47:53.35
   -1 01:26:00.46
   -1 20:58:11.57
   -1 07:36:05.19
   -1 15:43:49.83
   -1 04:25:09.01
   -1 06:49:27.52
   -1 02:57:52.02
   -1 16:45:44.87
   -1 21:30:57.82
   -1 04:25:09.15
   -1 06:49:27.11
   -1 02:57:52.48
   -1 16:45:44.66
   -1 21:30:57.58
   -1 22:30:04.18
   -1 01:56:51.59
   -2 00:00:00.00
   -2 04:50:38.12
   -2 12:31:35.23
   -2 12:47:53.35
   -2 01:26:00.46
   -2 20:58:11.57
   -2 07:36:05.19
   -2 15:43:49.83
   -2 04:25:09.01
   -2 06:49:27.52
   -2 02:57:52.02
   -2 16:45:44.87
   -2 21:30:57.82
   -2 04:25:09.15
   -2 06:49:27.11
   -2 02:57:52.48
   -2 16:45:44.66
   -2 21:30:57.58
   -2 22:30:04.18
   -2 01:56:51.59
  -54 00:00:00.00
  -54 04:50:38.12
  -54 12:31:35.23
  -54 12:47:53.35
  -54 01:26:00.46
  -54 20:58:11.57
  -54 07:36:05.19
  -54 15:43:49.83
  -54 04:25:09.01
  -54 06:49:27.52
  -54 02:57:52.02
  -54 16:45:44.87
  -54 21:30:57.82
  -54 04:25:09.15
  -54 06:49:27.11
  -54 02:57:52.48
  -54 16:45:44.66
  -54 21:30:57.58
  -54 22:30:04.18
  -54 01:56:51.59
 -681 00:00:00.00
 -681 04:50:38.12
 -681 12:31:35.23
 -681 12:47:53.35
 -681 01:26:00.46
 -681 20:58:11.57
 -681 07:36:05.19
 -681 15:43:49.83
 -681 04:25:09.01
 -681 06:49:27.52
 -681 02:57:52.02
 -681 16:45:44.87
 -681 21:30:57.82
 -681 04:25:09.15
 -681 06:49:27.11
 -681 02:57:52.48
 -681 16:45:44.66
 -681 21:30:57.58
 -681 22:30:04.18
 -681 01:56:51.59
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:11207"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:11409: cat dtime16.3.out"
at_fn_check_prepare_trace "data-out.at:11409"
( $at_check_trace; cat dtime16.3.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "   0 00:00:00.000
   0 04:50:38.123
   0 12:31:35.235
   0 12:47:53.345
   0 01:26:00.456
   0 20:58:11.567
   0 07:36:05.190
   0 15:43:49.831
   0 04:25:09.013
   0 06:49:27.524
   0 02:57:52.016
   0 16:45:44.865
   0 21:30:57.820
   0 04:25:09.154
   0 06:49:27.105
   0 02:57:52.482
   0 16:45:44.658
   0 21:30:57.582
   0 22:30:04.183
   0 01:56:51.593
   1 00:00:00.000
   1 04:50:38.123
   1 12:31:35.235
   1 12:47:53.345
   1 01:26:00.456
   1 20:58:11.567
   1 07:36:05.190
   1 15:43:49.831
   1 04:25:09.013
   1 06:49:27.524
   1 02:57:52.016
   1 16:45:44.865
   1 21:30:57.820
   1 04:25:09.154
   1 06:49:27.105
   1 02:57:52.482
   1 16:45:44.658
   1 21:30:57.582
   1 22:30:04.183
   1 01:56:51.593
   2 00:00:00.000
   2 04:50:38.123
   2 12:31:35.235
   2 12:47:53.345
   2 01:26:00.456
   2 20:58:11.567
   2 07:36:05.190
   2 15:43:49.831
   2 04:25:09.013
   2 06:49:27.524
   2 02:57:52.016
   2 16:45:44.865
   2 21:30:57.820
   2 04:25:09.154
   2 06:49:27.105
   2 02:57:52.482
   2 16:45:44.658
   2 21:30:57.582
   2 22:30:04.183
   2 01:56:51.593
  54 00:00:00.000
  54 04:50:38.123
  54 12:31:35.235
  54 12:47:53.345
  54 01:26:00.456
  54 20:58:11.567
  54 07:36:05.190
  54 15:43:49.831
  54 04:25:09.013
  54 06:49:27.524
  54 02:57:52.016
  54 16:45:44.865
  54 21:30:57.820
  54 04:25:09.154
  54 06:49:27.105
  54 02:57:52.482
  54 16:45:44.658
  54 21:30:57.582
  54 22:30:04.183
  54 01:56:51.593
 681 00:00:00.000
 681 04:50:38.123
 681 12:31:35.235
 681 12:47:53.345
 681 01:26:00.456
 681 20:58:11.567
 681 07:36:05.190
 681 15:43:49.831
 681 04:25:09.013
 681 06:49:27.524
 681 02:57:52.016
 681 16:45:44.865
 681 21:30:57.820
 681 04:25:09.154
 681 06:49:27.105
 681 02:57:52.482
 681 16:45:44.658
 681 21:30:57.582
 681 22:30:04.183
 681 01:56:51.593
   0 00:00:00.000
  -0 04:50:38.123
  -0 12:31:35.235
  -0 12:47:53.345
  -0 01:26:00.456
  -0 20:58:11.567
  -0 07:36:05.190
  -0 15:43:49.831
  -0 04:25:09.013
  -0 06:49:27.524
  -0 02:57:52.016
  -0 16:45:44.865
  -0 21:30:57.820
  -0 04:25:09.154
  -0 06:49:27.105
  -0 02:57:52.482
  -0 16:45:44.658
  -0 21:30:57.582
  -0 22:30:04.183
  -0 01:56:51.593
  -1 00:00:00.000
  -1 04:50:38.123
  -1 12:31:35.235
  -1 12:47:53.345
  -1 01:26:00.456
  -1 20:58:11.567
  -1 07:36:05.190
  -1 15:43:49.831
  -1 04:25:09.013
  -1 06:49:27.524
  -1 02:57:52.016
  -1 16:45:44.865
  -1 21:30:57.820
  -1 04:25:09.154
  -1 06:49:27.105
  -1 02:57:52.482
  -1 16:45:44.658
  -1 21:30:57.582
  -1 22:30:04.183
  -1 01:56:51.593
  -2 00:00:00.000
  -2 04:50:38.123
  -2 12:31:35.235
  -2 12:47:53.345
  -2 01:26:00.456
  -2 20:58:11.567
  -2 07:36:05.190
  -2 15:43:49.831
  -2 04:25:09.013
  -2 06:49:27.524
  -2 02:57:52.016
  -2 16:45:44.865
  -2 21:30:57.820
  -2 04:25:09.154
  -2 06:49:27.105
  -2 02:57:52.482
  -2 16:45:44.658
  -2 21:30:57.582
  -2 22:30:04.183
  -2 01:56:51.593
 -54 00:00:00.000
 -54 04:50:38.123
 -54 12:31:35.235
 -54 12:47:53.345
 -54 01:26:00.456
 -54 20:58:11.567
 -54 07:36:05.190
 -54 15:43:49.831
 -54 04:25:09.013
 -54 06:49:27.524
 -54 02:57:52.016
 -54 16:45:44.865
 -54 21:30:57.820
 -54 04:25:09.154
 -54 06:49:27.105
 -54 02:57:52.482
 -54 16:45:44.658
 -54 21:30:57.582
 -54 22:30:04.183
 -54 01:56:51.593
 -681 00:00:00.00
 -681 04:50:38.12
 -681 12:31:35.23
 -681 12:47:53.35
 -681 01:26:00.46
 -681 20:58:11.57
 -681 07:36:05.19
 -681 15:43:49.83
 -681 04:25:09.01
 -681 06:49:27.52
 -681 02:57:52.02
 -681 16:45:44.87
 -681 21:30:57.82
 -681 04:25:09.15
 -681 06:49:27.11
 -681 02:57:52.48
 -681 16:45:44.66
 -681 21:30:57.58
 -681 22:30:04.18
 -681 01:56:51.59
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:11409"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:11611: cat dtime16.4.out"
at_fn_check_prepare_trace "data-out.at:11611"
( $at_check_trace; cat dtime16.4.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "  0 00:00:00.0000
  0 04:50:38.1230
  0 12:31:35.2345
  0 12:47:53.3451
  0 01:26:00.4561
  0 20:58:11.5668
  0 07:36:05.1896
  0 15:43:49.8313
  0 04:25:09.0129
  0 06:49:27.5238
  0 02:57:52.0156
  0 16:45:44.8653
  0 21:30:57.8205
  0 04:25:09.1539
  0 06:49:27.1053
  0 02:57:52.4823
  0 16:45:44.6583
  0 21:30:57.5822
  0 22:30:04.1835
  0 01:56:51.5932
  1 00:00:00.0000
  1 04:50:38.1230
  1 12:31:35.2345
  1 12:47:53.3451
  1 01:26:00.4561
  1 20:58:11.5668
  1 07:36:05.1896
  1 15:43:49.8313
  1 04:25:09.0129
  1 06:49:27.5237
  1 02:57:52.0157
  1 16:45:44.8653
  1 21:30:57.8205
  1 04:25:09.1540
  1 06:49:27.1053
  1 02:57:52.4823
  1 16:45:44.6583
  1 21:30:57.5822
  1 22:30:04.1835
  1 01:56:51.5932
  2 00:00:00.0000
  2 04:50:38.1230
  2 12:31:35.2345
  2 12:47:53.3451
  2 01:26:00.4562
  2 20:58:11.5668
  2 07:36:05.1896
  2 15:43:49.8313
  2 04:25:09.0129
  2 06:49:27.5237
  2 02:57:52.0156
  2 16:45:44.8653
  2 21:30:57.8205
  2 04:25:09.1540
  2 06:49:27.1053
  2 02:57:52.4823
  2 16:45:44.6583
  2 21:30:57.5822
  2 22:30:04.1835
  2 01:56:51.5932
 54 00:00:00.0000
 54 04:50:38.1230
 54 12:31:35.2345
 54 12:47:53.3450
 54 01:26:00.4561
 54 20:58:11.5668
 54 07:36:05.1896
 54 15:43:49.8313
 54 04:25:09.0129
 54 06:49:27.5237
 54 02:57:52.0157
 54 16:45:44.8653
 54 21:30:57.8205
 54 04:25:09.1540
 54 06:49:27.1053
 54 02:57:52.4823
 54 16:45:44.6583
 54 21:30:57.5822
 54 22:30:04.1835
 54 01:56:51.5932
 681 00:00:00.000
 681 04:50:38.123
 681 12:31:35.235
 681 12:47:53.345
 681 01:26:00.456
 681 20:58:11.567
 681 07:36:05.190
 681 15:43:49.831
 681 04:25:09.013
 681 06:49:27.524
 681 02:57:52.016
 681 16:45:44.865
 681 21:30:57.820
 681 04:25:09.154
 681 06:49:27.105
 681 02:57:52.482
 681 16:45:44.658
 681 21:30:57.582
 681 22:30:04.183
 681 01:56:51.593
  0 00:00:00.0000
 -0 04:50:38.1230
 -0 12:31:35.2345
 -0 12:47:53.3451
 -0 01:26:00.4561
 -0 20:58:11.5668
 -0 07:36:05.1896
 -0 15:43:49.8313
 -0 04:25:09.0129
 -0 06:49:27.5238
 -0 02:57:52.0156
 -0 16:45:44.8653
 -0 21:30:57.8205
 -0 04:25:09.1539
 -0 06:49:27.1053
 -0 02:57:52.4823
 -0 16:45:44.6583
 -0 21:30:57.5822
 -0 22:30:04.1835
 -0 01:56:51.5932
 -1 00:00:00.0000
 -1 04:50:38.1230
 -1 12:31:35.2345
 -1 12:47:53.3451
 -1 01:26:00.4561
 -1 20:58:11.5668
 -1 07:36:05.1896
 -1 15:43:49.8313
 -1 04:25:09.0129
 -1 06:49:27.5237
 -1 02:57:52.0157
 -1 16:45:44.8653
 -1 21:30:57.8205
 -1 04:25:09.1540
 -1 06:49:27.1053
 -1 02:57:52.4823
 -1 16:45:44.6583
 -1 21:30:57.5822
 -1 22:30:04.1835
 -1 01:56:51.5932
 -2 00:00:00.0000
 -2 04:50:38.1230
 -2 12:31:35.2345
 -2 12:47:53.3451
 -2 01:26:00.4562
 -2 20:58:11.5668
 -2 07:36:05.1896
 -2 15:43:49.8313
 -2 04:25:09.0129
 -2 06:49:27.5237
 -2 02:57:52.0156
 -2 16:45:44.8653
 -2 21:30:57.8205
 -2 04:25:09.1540
 -2 06:49:27.1053
 -2 02:57:52.4823
 -2 16:45:44.6583
 -2 21:30:57.5822
 -2 22:30:04.1835
 -2 01:56:51.5932
 -54 00:00:00.000
 -54 04:50:38.123
 -54 12:31:35.235
 -54 12:47:53.345
 -54 01:26:00.456
 -54 20:58:11.567
 -54 07:36:05.190
 -54 15:43:49.831
 -54 04:25:09.013
 -54 06:49:27.524
 -54 02:57:52.016
 -54 16:45:44.865
 -54 21:30:57.820
 -54 04:25:09.154
 -54 06:49:27.105
 -54 02:57:52.482
 -54 16:45:44.658
 -54 21:30:57.582
 -54 22:30:04.183
 -54 01:56:51.593
 -681 00:00:00.00
 -681 04:50:38.12
 -681 12:31:35.23
 -681 12:47:53.35
 -681 01:26:00.46
 -681 20:58:11.57
 -681 07:36:05.19
 -681 15:43:49.83
 -681 04:25:09.01
 -681 06:49:27.52
 -681 02:57:52.02
 -681 16:45:44.87
 -681 21:30:57.82
 -681 04:25:09.15
 -681 06:49:27.11
 -681 02:57:52.48
 -681 16:45:44.66
 -681 21:30:57.58
 -681 22:30:04.18
 -681 01:56:51.59
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:11611"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:11813: cat dtime17.out"
at_fn_check_prepare_trace "data-out.at:11813"
( $at_check_trace; cat dtime17.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "        0 00:00:00
        0 04:50:38
        0 12:31:35
        0 12:47:53
        0 01:26:00
        0 20:58:11
        0 07:36:05
        0 15:43:49
        0 04:25:09
        0 06:49:27
        0 02:57:52
        0 16:45:44
        0 21:30:57
        0 04:25:09
        0 06:49:27
        0 02:57:52
        0 16:45:44
        0 21:30:57
        0 22:30:04
        0 01:56:51
        1 00:00:00
        1 04:50:38
        1 12:31:35
        1 12:47:53
        1 01:26:00
        1 20:58:11
        1 07:36:05
        1 15:43:49
        1 04:25:09
        1 06:49:27
        1 02:57:52
        1 16:45:44
        1 21:30:57
        1 04:25:09
        1 06:49:27
        1 02:57:52
        1 16:45:44
        1 21:30:57
        1 22:30:04
        1 01:56:51
        2 00:00:00
        2 04:50:38
        2 12:31:35
        2 12:47:53
        2 01:26:00
        2 20:58:11
        2 07:36:05
        2 15:43:49
        2 04:25:09
        2 06:49:27
        2 02:57:52
        2 16:45:44
        2 21:30:57
        2 04:25:09
        2 06:49:27
        2 02:57:52
        2 16:45:44
        2 21:30:57
        2 22:30:04
        2 01:56:51
       54 00:00:00
       54 04:50:38
       54 12:31:35
       54 12:47:53
       54 01:26:00
       54 20:58:11
       54 07:36:05
       54 15:43:49
       54 04:25:09
       54 06:49:27
       54 02:57:52
       54 16:45:44
       54 21:30:57
       54 04:25:09
       54 06:49:27
       54 02:57:52
       54 16:45:44
       54 21:30:57
       54 22:30:04
       54 01:56:51
      681 00:00:00
      681 04:50:38
      681 12:31:35
      681 12:47:53
      681 01:26:00
      681 20:58:11
      681 07:36:05
      681 15:43:49
      681 04:25:09
      681 06:49:27
      681 02:57:52
      681 16:45:44
      681 21:30:57
      681 04:25:09
      681 06:49:27
      681 02:57:52
      681 16:45:44
      681 21:30:57
      681 22:30:04
      681 01:56:51
        0 00:00:00
       -0 04:50:38
       -0 12:31:35
       -0 12:47:53
       -0 01:26:00
       -0 20:58:11
       -0 07:36:05
       -0 15:43:49
       -0 04:25:09
       -0 06:49:27
       -0 02:57:52
       -0 16:45:44
       -0 21:30:57
       -0 04:25:09
       -0 06:49:27
       -0 02:57:52
       -0 16:45:44
       -0 21:30:57
       -0 22:30:04
       -0 01:56:51
       -1 00:00:00
       -1 04:50:38
       -1 12:31:35
       -1 12:47:53
       -1 01:26:00
       -1 20:58:11
       -1 07:36:05
       -1 15:43:49
       -1 04:25:09
       -1 06:49:27
       -1 02:57:52
       -1 16:45:44
       -1 21:30:57
       -1 04:25:09
       -1 06:49:27
       -1 02:57:52
       -1 16:45:44
       -1 21:30:57
       -1 22:30:04
       -1 01:56:51
       -2 00:00:00
       -2 04:50:38
       -2 12:31:35
       -2 12:47:53
       -2 01:26:00
       -2 20:58:11
       -2 07:36:05
       -2 15:43:49
       -2 04:25:09
       -2 06:49:27
       -2 02:57:52
       -2 16:45:44
       -2 21:30:57
       -2 04:25:09
       -2 06:49:27
       -2 02:57:52
       -2 16:45:44
       -2 21:30:57
       -2 22:30:04
       -2 01:56:51
      -54 00:00:00
      -54 04:50:38
      -54 12:31:35
      -54 12:47:53
      -54 01:26:00
      -54 20:58:11
      -54 07:36:05
      -54 15:43:49
      -54 04:25:09
      -54 06:49:27
      -54 02:57:52
      -54 16:45:44
      -54 21:30:57
      -54 04:25:09
      -54 06:49:27
      -54 02:57:52
      -54 16:45:44
      -54 21:30:57
      -54 22:30:04
      -54 01:56:51
     -681 00:00:00
     -681 04:50:38
     -681 12:31:35
     -681 12:47:53
     -681 01:26:00
     -681 20:58:11
     -681 07:36:05
     -681 15:43:49
     -681 04:25:09
     -681 06:49:27
     -681 02:57:52
     -681 16:45:44
     -681 21:30:57
     -681 04:25:09
     -681 06:49:27
     -681 02:57:52
     -681 16:45:44
     -681 21:30:57
     -681 22:30:04
     -681 01:56:51
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:11813"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:12015: cat dtime17.1.out"
at_fn_check_prepare_trace "data-out.at:12015"
( $at_check_trace; cat dtime17.1.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "      0 00:00:00.0
      0 04:50:38.1
      0 12:31:35.2
      0 12:47:53.3
      0 01:26:00.5
      0 20:58:11.6
      0 07:36:05.2
      0 15:43:49.8
      0 04:25:09.0
      0 06:49:27.5
      0 02:57:52.0
      0 16:45:44.9
      0 21:30:57.8
      0 04:25:09.2
      0 06:49:27.1
      0 02:57:52.5
      0 16:45:44.7
      0 21:30:57.6
      0 22:30:04.2
      0 01:56:51.6
      1 00:00:00.0
      1 04:50:38.1
      1 12:31:35.2
      1 12:47:53.3
      1 01:26:00.5
      1 20:58:11.6
      1 07:36:05.2
      1 15:43:49.8
      1 04:25:09.0
      1 06:49:27.5
      1 02:57:52.0
      1 16:45:44.9
      1 21:30:57.8
      1 04:25:09.2
      1 06:49:27.1
      1 02:57:52.5
      1 16:45:44.7
      1 21:30:57.6
      1 22:30:04.2
      1 01:56:51.6
      2 00:00:00.0
      2 04:50:38.1
      2 12:31:35.2
      2 12:47:53.3
      2 01:26:00.5
      2 20:58:11.6
      2 07:36:05.2
      2 15:43:49.8
      2 04:25:09.0
      2 06:49:27.5
      2 02:57:52.0
      2 16:45:44.9
      2 21:30:57.8
      2 04:25:09.2
      2 06:49:27.1
      2 02:57:52.5
      2 16:45:44.7
      2 21:30:57.6
      2 22:30:04.2
      2 01:56:51.6
     54 00:00:00.0
     54 04:50:38.1
     54 12:31:35.2
     54 12:47:53.3
     54 01:26:00.5
     54 20:58:11.6
     54 07:36:05.2
     54 15:43:49.8
     54 04:25:09.0
     54 06:49:27.5
     54 02:57:52.0
     54 16:45:44.9
     54 21:30:57.8
     54 04:25:09.2
     54 06:49:27.1
     54 02:57:52.5
     54 16:45:44.7
     54 21:30:57.6
     54 22:30:04.2
     54 01:56:51.6
    681 00:00:00.0
    681 04:50:38.1
    681 12:31:35.2
    681 12:47:53.3
    681 01:26:00.5
    681 20:58:11.6
    681 07:36:05.2
    681 15:43:49.8
    681 04:25:09.0
    681 06:49:27.5
    681 02:57:52.0
    681 16:45:44.9
    681 21:30:57.8
    681 04:25:09.2
    681 06:49:27.1
    681 02:57:52.5
    681 16:45:44.7
    681 21:30:57.6
    681 22:30:04.2
    681 01:56:51.6
      0 00:00:00.0
     -0 04:50:38.1
     -0 12:31:35.2
     -0 12:47:53.3
     -0 01:26:00.5
     -0 20:58:11.6
     -0 07:36:05.2
     -0 15:43:49.8
     -0 04:25:09.0
     -0 06:49:27.5
     -0 02:57:52.0
     -0 16:45:44.9
     -0 21:30:57.8
     -0 04:25:09.2
     -0 06:49:27.1
     -0 02:57:52.5
     -0 16:45:44.7
     -0 21:30:57.6
     -0 22:30:04.2
     -0 01:56:51.6
     -1 00:00:00.0
     -1 04:50:38.1
     -1 12:31:35.2
     -1 12:47:53.3
     -1 01:26:00.5
     -1 20:58:11.6
     -1 07:36:05.2
     -1 15:43:49.8
     -1 04:25:09.0
     -1 06:49:27.5
     -1 02:57:52.0
     -1 16:45:44.9
     -1 21:30:57.8
     -1 04:25:09.2
     -1 06:49:27.1
     -1 02:57:52.5
     -1 16:45:44.7
     -1 21:30:57.6
     -1 22:30:04.2
     -1 01:56:51.6
     -2 00:00:00.0
     -2 04:50:38.1
     -2 12:31:35.2
     -2 12:47:53.3
     -2 01:26:00.5
     -2 20:58:11.6
     -2 07:36:05.2
     -2 15:43:49.8
     -2 04:25:09.0
     -2 06:49:27.5
     -2 02:57:52.0
     -2 16:45:44.9
     -2 21:30:57.8
     -2 04:25:09.2
     -2 06:49:27.1
     -2 02:57:52.5
     -2 16:45:44.7
     -2 21:30:57.6
     -2 22:30:04.2
     -2 01:56:51.6
    -54 00:00:00.0
    -54 04:50:38.1
    -54 12:31:35.2
    -54 12:47:53.3
    -54 01:26:00.5
    -54 20:58:11.6
    -54 07:36:05.2
    -54 15:43:49.8
    -54 04:25:09.0
    -54 06:49:27.5
    -54 02:57:52.0
    -54 16:45:44.9
    -54 21:30:57.8
    -54 04:25:09.2
    -54 06:49:27.1
    -54 02:57:52.5
    -54 16:45:44.7
    -54 21:30:57.6
    -54 22:30:04.2
    -54 01:56:51.6
   -681 00:00:00.0
   -681 04:50:38.1
   -681 12:31:35.2
   -681 12:47:53.3
   -681 01:26:00.5
   -681 20:58:11.6
   -681 07:36:05.2
   -681 15:43:49.8
   -681 04:25:09.0
   -681 06:49:27.5
   -681 02:57:52.0
   -681 16:45:44.9
   -681 21:30:57.8
   -681 04:25:09.2
   -681 06:49:27.1
   -681 02:57:52.5
   -681 16:45:44.7
   -681 21:30:57.6
   -681 22:30:04.2
   -681 01:56:51.6
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:12015"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:12217: cat dtime17.2.out"
at_fn_check_prepare_trace "data-out.at:12217"
( $at_check_trace; cat dtime17.2.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "     0 00:00:00.00
     0 04:50:38.12
     0 12:31:35.23
     0 12:47:53.35
     0 01:26:00.46
     0 20:58:11.57
     0 07:36:05.19
     0 15:43:49.83
     0 04:25:09.01
     0 06:49:27.52
     0 02:57:52.02
     0 16:45:44.87
     0 21:30:57.82
     0 04:25:09.15
     0 06:49:27.11
     0 02:57:52.48
     0 16:45:44.66
     0 21:30:57.58
     0 22:30:04.18
     0 01:56:51.59
     1 00:00:00.00
     1 04:50:38.12
     1 12:31:35.23
     1 12:47:53.35
     1 01:26:00.46
     1 20:58:11.57
     1 07:36:05.19
     1 15:43:49.83
     1 04:25:09.01
     1 06:49:27.52
     1 02:57:52.02
     1 16:45:44.87
     1 21:30:57.82
     1 04:25:09.15
     1 06:49:27.11
     1 02:57:52.48
     1 16:45:44.66
     1 21:30:57.58
     1 22:30:04.18
     1 01:56:51.59
     2 00:00:00.00
     2 04:50:38.12
     2 12:31:35.23
     2 12:47:53.35
     2 01:26:00.46
     2 20:58:11.57
     2 07:36:05.19
     2 15:43:49.83
     2 04:25:09.01
     2 06:49:27.52
     2 02:57:52.02
     2 16:45:44.87
     2 21:30:57.82
     2 04:25:09.15
     2 06:49:27.11
     2 02:57:52.48
     2 16:45:44.66
     2 21:30:57.58
     2 22:30:04.18
     2 01:56:51.59
    54 00:00:00.00
    54 04:50:38.12
    54 12:31:35.23
    54 12:47:53.35
    54 01:26:00.46
    54 20:58:11.57
    54 07:36:05.19
    54 15:43:49.83
    54 04:25:09.01
    54 06:49:27.52
    54 02:57:52.02
    54 16:45:44.87
    54 21:30:57.82
    54 04:25:09.15
    54 06:49:27.11
    54 02:57:52.48
    54 16:45:44.66
    54 21:30:57.58
    54 22:30:04.18
    54 01:56:51.59
   681 00:00:00.00
   681 04:50:38.12
   681 12:31:35.23
   681 12:47:53.35
   681 01:26:00.46
   681 20:58:11.57
   681 07:36:05.19
   681 15:43:49.83
   681 04:25:09.01
   681 06:49:27.52
   681 02:57:52.02
   681 16:45:44.87
   681 21:30:57.82
   681 04:25:09.15
   681 06:49:27.11
   681 02:57:52.48
   681 16:45:44.66
   681 21:30:57.58
   681 22:30:04.18
   681 01:56:51.59
     0 00:00:00.00
    -0 04:50:38.12
    -0 12:31:35.23
    -0 12:47:53.35
    -0 01:26:00.46
    -0 20:58:11.57
    -0 07:36:05.19
    -0 15:43:49.83
    -0 04:25:09.01
    -0 06:49:27.52
    -0 02:57:52.02
    -0 16:45:44.87
    -0 21:30:57.82
    -0 04:25:09.15
    -0 06:49:27.11
    -0 02:57:52.48
    -0 16:45:44.66
    -0 21:30:57.58
    -0 22:30:04.18
    -0 01:56:51.59
    -1 00:00:00.00
    -1 04:50:38.12
    -1 12:31:35.23
    -1 12:47:53.35
    -1 01:26:00.46
    -1 20:58:11.57
    -1 07:36:05.19
    -1 15:43:49.83
    -1 04:25:09.01
    -1 06:49:27.52
    -1 02:57:52.02
    -1 16:45:44.87
    -1 21:30:57.82
    -1 04:25:09.15
    -1 06:49:27.11
    -1 02:57:52.48
    -1 16:45:44.66
    -1 21:30:57.58
    -1 22:30:04.18
    -1 01:56:51.59
    -2 00:00:00.00
    -2 04:50:38.12
    -2 12:31:35.23
    -2 12:47:53.35
    -2 01:26:00.46
    -2 20:58:11.57
    -2 07:36:05.19
    -2 15:43:49.83
    -2 04:25:09.01
    -2 06:49:27.52
    -2 02:57:52.02
    -2 16:45:44.87
    -2 21:30:57.82
    -2 04:25:09.15
    -2 06:49:27.11
    -2 02:57:52.48
    -2 16:45:44.66
    -2 21:30:57.58
    -2 22:30:04.18
    -2 01:56:51.59
   -54 00:00:00.00
   -54 04:50:38.12
   -54 12:31:35.23
   -54 12:47:53.35
   -54 01:26:00.46
   -54 20:58:11.57
   -54 07:36:05.19
   -54 15:43:49.83
   -54 04:25:09.01
   -54 06:49:27.52
   -54 02:57:52.02
   -54 16:45:44.87
   -54 21:30:57.82
   -54 04:25:09.15
   -54 06:49:27.11
   -54 02:57:52.48
   -54 16:45:44.66
   -54 21:30:57.58
   -54 22:30:04.18
   -54 01:56:51.59
  -681 00:00:00.00
  -681 04:50:38.12
  -681 12:31:35.23
  -681 12:47:53.35
  -681 01:26:00.46
  -681 20:58:11.57
  -681 07:36:05.19
  -681 15:43:49.83
  -681 04:25:09.01
  -681 06:49:27.52
  -681 02:57:52.02
  -681 16:45:44.87
  -681 21:30:57.82
  -681 04:25:09.15
  -681 06:49:27.11
  -681 02:57:52.48
  -681 16:45:44.66
  -681 21:30:57.58
  -681 22:30:04.18
  -681 01:56:51.59
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:12217"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:12419: cat dtime17.3.out"
at_fn_check_prepare_trace "data-out.at:12419"
( $at_check_trace; cat dtime17.3.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "    0 00:00:00.000
    0 04:50:38.123
    0 12:31:35.235
    0 12:47:53.345
    0 01:26:00.456
    0 20:58:11.567
    0 07:36:05.190
    0 15:43:49.831
    0 04:25:09.013
    0 06:49:27.524
    0 02:57:52.016
    0 16:45:44.865
    0 21:30:57.820
    0 04:25:09.154
    0 06:49:27.105
    0 02:57:52.482
    0 16:45:44.658
    0 21:30:57.582
    0 22:30:04.183
    0 01:56:51.593
    1 00:00:00.000
    1 04:50:38.123
    1 12:31:35.235
    1 12:47:53.345
    1 01:26:00.456
    1 20:58:11.567
    1 07:36:05.190
    1 15:43:49.831
    1 04:25:09.013
    1 06:49:27.524
    1 02:57:52.016
    1 16:45:44.865
    1 21:30:57.820
    1 04:25:09.154
    1 06:49:27.105
    1 02:57:52.482
    1 16:45:44.658
    1 21:30:57.582
    1 22:30:04.183
    1 01:56:51.593
    2 00:00:00.000
    2 04:50:38.123
    2 12:31:35.235
    2 12:47:53.345
    2 01:26:00.456
    2 20:58:11.567
    2 07:36:05.190
    2 15:43:49.831
    2 04:25:09.013
    2 06:49:27.524
    2 02:57:52.016
    2 16:45:44.865
    2 21:30:57.820
    2 04:25:09.154
    2 06:49:27.105
    2 02:57:52.482
    2 16:45:44.658
    2 21:30:57.582
    2 22:30:04.183
    2 01:56:51.593
   54 00:00:00.000
   54 04:50:38.123
   54 12:31:35.235
   54 12:47:53.345
   54 01:26:00.456
   54 20:58:11.567
   54 07:36:05.190
   54 15:43:49.831
   54 04:25:09.013
   54 06:49:27.524
   54 02:57:52.016
   54 16:45:44.865
   54 21:30:57.820
   54 04:25:09.154
   54 06:49:27.105
   54 02:57:52.482
   54 16:45:44.658
   54 21:30:57.582
   54 22:30:04.183
   54 01:56:51.593
  681 00:00:00.000
  681 04:50:38.123
  681 12:31:35.235
  681 12:47:53.345
  681 01:26:00.456
  681 20:58:11.567
  681 07:36:05.190
  681 15:43:49.831
  681 04:25:09.013
  681 06:49:27.524
  681 02:57:52.016
  681 16:45:44.865
  681 21:30:57.820
  681 04:25:09.154
  681 06:49:27.105
  681 02:57:52.482
  681 16:45:44.658
  681 21:30:57.582
  681 22:30:04.183
  681 01:56:51.593
    0 00:00:00.000
   -0 04:50:38.123
   -0 12:31:35.235
   -0 12:47:53.345
   -0 01:26:00.456
   -0 20:58:11.567
   -0 07:36:05.190
   -0 15:43:49.831
   -0 04:25:09.013
   -0 06:49:27.524
   -0 02:57:52.016
   -0 16:45:44.865
   -0 21:30:57.820
   -0 04:25:09.154
   -0 06:49:27.105
   -0 02:57:52.482
   -0 16:45:44.658
   -0 21:30:57.582
   -0 22:30:04.183
   -0 01:56:51.593
   -1 00:00:00.000
   -1 04:50:38.123
   -1 12:31:35.235
   -1 12:47:53.345
   -1 01:26:00.456
   -1 20:58:11.567
   -1 07:36:05.190
   -1 15:43:49.831
   -1 04:25:09.013
   -1 06:49:27.524
   -1 02:57:52.016
   -1 16:45:44.865
   -1 21:30:57.820
   -1 04:25:09.154
   -1 06:49:27.105
   -1 02:57:52.482
   -1 16:45:44.658
   -1 21:30:57.582
   -1 22:30:04.183
   -1 01:56:51.593
   -2 00:00:00.000
   -2 04:50:38.123
   -2 12:31:35.235
   -2 12:47:53.345
   -2 01:26:00.456
   -2 20:58:11.567
   -2 07:36:05.190
   -2 15:43:49.831
   -2 04:25:09.013
   -2 06:49:27.524
   -2 02:57:52.016
   -2 16:45:44.865
   -2 21:30:57.820
   -2 04:25:09.154
   -2 06:49:27.105
   -2 02:57:52.482
   -2 16:45:44.658
   -2 21:30:57.582
   -2 22:30:04.183
   -2 01:56:51.593
  -54 00:00:00.000
  -54 04:50:38.123
  -54 12:31:35.235
  -54 12:47:53.345
  -54 01:26:00.456
  -54 20:58:11.567
  -54 07:36:05.190
  -54 15:43:49.831
  -54 04:25:09.013
  -54 06:49:27.524
  -54 02:57:52.016
  -54 16:45:44.865
  -54 21:30:57.820
  -54 04:25:09.154
  -54 06:49:27.105
  -54 02:57:52.482
  -54 16:45:44.658
  -54 21:30:57.582
  -54 22:30:04.183
  -54 01:56:51.593
 -681 00:00:00.000
 -681 04:50:38.123
 -681 12:31:35.235
 -681 12:47:53.345
 -681 01:26:00.456
 -681 20:58:11.567
 -681 07:36:05.190
 -681 15:43:49.831
 -681 04:25:09.013
 -681 06:49:27.524
 -681 02:57:52.016
 -681 16:45:44.865
 -681 21:30:57.820
 -681 04:25:09.154
 -681 06:49:27.105
 -681 02:57:52.482
 -681 16:45:44.658
 -681 21:30:57.582
 -681 22:30:04.183
 -681 01:56:51.593
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:12419"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:12621: cat dtime17.4.out"
at_fn_check_prepare_trace "data-out.at:12621"
( $at_check_trace; cat dtime17.4.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "   0 00:00:00.0000
   0 04:50:38.1230
   0 12:31:35.2345
   0 12:47:53.3451
   0 01:26:00.4561
   0 20:58:11.5668
   0 07:36:05.1896
   0 15:43:49.8313
   0 04:25:09.0129
   0 06:49:27.5238
   0 02:57:52.0156
   0 16:45:44.8653
   0 21:30:57.8205
   0 04:25:09.1539
   0 06:49:27.1053
   0 02:57:52.4823
   0 16:45:44.6583
   0 21:30:57.5822
   0 22:30:04.1835
   0 01:56:51.5932
   1 00:00:00.0000
   1 04:50:38.1230
   1 12:31:35.2345
   1 12:47:53.3451
   1 01:26:00.4561
   1 20:58:11.5668
   1 07:36:05.1896
   1 15:43:49.8313
   1 04:25:09.0129
   1 06:49:27.5237
   1 02:57:52.0157
   1 16:45:44.8653
   1 21:30:57.8205
   1 04:25:09.1540
   1 06:49:27.1053
   1 02:57:52.4823
   1 16:45:44.6583
   1 21:30:57.5822
   1 22:30:04.1835
   1 01:56:51.5932
   2 00:00:00.0000
   2 04:50:38.1230
   2 12:31:35.2345
   2 12:47:53.3451
   2 01:26:00.4562
   2 20:58:11.5668
   2 07:36:05.1896
   2 15:43:49.8313
   2 04:25:09.0129
   2 06:49:27.5237
   2 02:57:52.0156
   2 16:45:44.8653
   2 21:30:57.8205
   2 04:25:09.1540
   2 06:49:27.1053
   2 02:57:52.4823
   2 16:45:44.6583
   2 21:30:57.5822
   2 22:30:04.1835
   2 01:56:51.5932
  54 00:00:00.0000
  54 04:50:38.1230
  54 12:31:35.2345
  54 12:47:53.3450
  54 01:26:00.4561
  54 20:58:11.5668
  54 07:36:05.1896
  54 15:43:49.8313
  54 04:25:09.0129
  54 06:49:27.5237
  54 02:57:52.0157
  54 16:45:44.8653
  54 21:30:57.8205
  54 04:25:09.1540
  54 06:49:27.1053
  54 02:57:52.4823
  54 16:45:44.6583
  54 21:30:57.5822
  54 22:30:04.1835
  54 01:56:51.5932
 681 00:00:00.0000
 681 04:50:38.1230
 681 12:31:35.2345
 681 12:47:53.3450
 681 01:26:00.4562
 681 20:58:11.5668
 681 07:36:05.1896
 681 15:43:49.8313
 681 04:25:09.0129
 681 06:49:27.5237
 681 02:57:52.0156
 681 16:45:44.8653
 681 21:30:57.8205
 681 04:25:09.1539
 681 06:49:27.1053
 681 02:57:52.4823
 681 16:45:44.6583
 681 21:30:57.5822
 681 22:30:04.1835
 681 01:56:51.5932
   0 00:00:00.0000
  -0 04:50:38.1230
  -0 12:31:35.2345
  -0 12:47:53.3451
  -0 01:26:00.4561
  -0 20:58:11.5668
  -0 07:36:05.1896
  -0 15:43:49.8313
  -0 04:25:09.0129
  -0 06:49:27.5238
  -0 02:57:52.0156
  -0 16:45:44.8653
  -0 21:30:57.8205
  -0 04:25:09.1539
  -0 06:49:27.1053
  -0 02:57:52.4823
  -0 16:45:44.6583
  -0 21:30:57.5822
  -0 22:30:04.1835
  -0 01:56:51.5932
  -1 00:00:00.0000
  -1 04:50:38.1230
  -1 12:31:35.2345
  -1 12:47:53.3451
  -1 01:26:00.4561
  -1 20:58:11.5668
  -1 07:36:05.1896
  -1 15:43:49.8313
  -1 04:25:09.0129
  -1 06:49:27.5237
  -1 02:57:52.0157
  -1 16:45:44.8653
  -1 21:30:57.8205
  -1 04:25:09.1540
  -1 06:49:27.1053
  -1 02:57:52.4823
  -1 16:45:44.6583
  -1 21:30:57.5822
  -1 22:30:04.1835
  -1 01:56:51.5932
  -2 00:00:00.0000
  -2 04:50:38.1230
  -2 12:31:35.2345
  -2 12:47:53.3451
  -2 01:26:00.4562
  -2 20:58:11.5668
  -2 07:36:05.1896
  -2 15:43:49.8313
  -2 04:25:09.0129
  -2 06:49:27.5237
  -2 02:57:52.0156
  -2 16:45:44.8653
  -2 21:30:57.8205
  -2 04:25:09.1540
  -2 06:49:27.1053
  -2 02:57:52.4823
  -2 16:45:44.6583
  -2 21:30:57.5822
  -2 22:30:04.1835
  -2 01:56:51.5932
 -54 00:00:00.0000
 -54 04:50:38.1230
 -54 12:31:35.2345
 -54 12:47:53.3450
 -54 01:26:00.4561
 -54 20:58:11.5668
 -54 07:36:05.1896
 -54 15:43:49.8313
 -54 04:25:09.0129
 -54 06:49:27.5237
 -54 02:57:52.0157
 -54 16:45:44.8653
 -54 21:30:57.8205
 -54 04:25:09.1540
 -54 06:49:27.1053
 -54 02:57:52.4823
 -54 16:45:44.6583
 -54 21:30:57.5822
 -54 22:30:04.1835
 -54 01:56:51.5932
 -681 00:00:00.000
 -681 04:50:38.123
 -681 12:31:35.235
 -681 12:47:53.345
 -681 01:26:00.456
 -681 20:58:11.567
 -681 07:36:05.190
 -681 15:43:49.831
 -681 04:25:09.013
 -681 06:49:27.524
 -681 02:57:52.016
 -681 16:45:44.865
 -681 21:30:57.820
 -681 04:25:09.154
 -681 06:49:27.105
 -681 02:57:52.482
 -681 16:45:44.658
 -681 21:30:57.582
 -681 22:30:04.183
 -681 01:56:51.593
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:12621"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:12823: cat dtime17.5.out"
at_fn_check_prepare_trace "data-out.at:12823"
( $at_check_trace; cat dtime17.5.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "  0 00:00:00.00000
  0 04:50:38.12301
  0 12:31:35.23453
  0 12:47:53.34505
  0 01:26:00.45615
  0 20:58:11.56677
  0 07:36:05.18964
  0 15:43:49.83132
  0 04:25:09.01293
  0 06:49:27.52375
  0 02:57:52.01565
  0 16:45:44.86529
  0 21:30:57.82047
  0 04:25:09.15395
  0 06:49:27.10533
  0 02:57:52.48229
  0 16:45:44.65827
  0 21:30:57.58219
  0 22:30:04.18347
  0 01:56:51.59319
  1 00:00:00.00000
  1 04:50:38.12301
  1 12:31:35.23453
  1 12:47:53.34505
  1 01:26:00.45615
  1 20:58:11.56677
  1 07:36:05.18964
  1 15:43:49.83132
  1 04:25:09.01293
  1 06:49:27.52375
  1 02:57:52.01565
  1 16:45:44.86529
  1 21:30:57.82047
  1 04:25:09.15395
  1 06:49:27.10533
  1 02:57:52.48229
  1 16:45:44.65827
  1 21:30:57.58219
  1 22:30:04.18347
  1 01:56:51.59319
  2 00:00:00.00000
  2 04:50:38.12301
  2 12:31:35.23453
  2 12:47:53.34505
  2 01:26:00.45615
  2 20:58:11.56677
  2 07:36:05.18964
  2 15:43:49.83132
  2 04:25:09.01293
  2 06:49:27.52375
  2 02:57:52.01565
  2 16:45:44.86529
  2 21:30:57.82047
  2 04:25:09.15395
  2 06:49:27.10533
  2 02:57:52.48229
  2 16:45:44.65827
  2 21:30:57.58219
  2 22:30:04.18347
  2 01:56:51.59319
 54 00:00:00.00000
 54 04:50:38.12301
 54 12:31:35.23453
 54 12:47:53.34505
 54 01:26:00.45615
 54 20:58:11.56677
 54 07:36:05.18964
 54 15:43:49.83132
 54 04:25:09.01293
 54 06:49:27.52375
 54 02:57:52.01565
 54 16:45:44.86529
 54 21:30:57.82047
 54 04:25:09.15395
 54 06:49:27.10533
 54 02:57:52.48229
 54 16:45:44.65827
 54 21:30:57.58219
 54 22:30:04.18347
 54 01:56:51.59319
 681 00:00:00.0000
 681 04:50:38.1230
 681 12:31:35.2345
 681 12:47:53.3450
 681 01:26:00.4562
 681 20:58:11.5668
 681 07:36:05.1896
 681 15:43:49.8313
 681 04:25:09.0129
 681 06:49:27.5237
 681 02:57:52.0156
 681 16:45:44.8653
 681 21:30:57.8205
 681 04:25:09.1539
 681 06:49:27.1053
 681 02:57:52.4823
 681 16:45:44.6583
 681 21:30:57.5822
 681 22:30:04.1835
 681 01:56:51.5932
  0 00:00:00.00000
 -0 04:50:38.12301
 -0 12:31:35.23453
 -0 12:47:53.34505
 -0 01:26:00.45615
 -0 20:58:11.56677
 -0 07:36:05.18964
 -0 15:43:49.83132
 -0 04:25:09.01293
 -0 06:49:27.52375
 -0 02:57:52.01565
 -0 16:45:44.86529
 -0 21:30:57.82047
 -0 04:25:09.15395
 -0 06:49:27.10533
 -0 02:57:52.48229
 -0 16:45:44.65827
 -0 21:30:57.58219
 -0 22:30:04.18347
 -0 01:56:51.59319
 -1 00:00:00.00000
 -1 04:50:38.12301
 -1 12:31:35.23453
 -1 12:47:53.34505
 -1 01:26:00.45615
 -1 20:58:11.56677
 -1 07:36:05.18964
 -1 15:43:49.83132
 -1 04:25:09.01293
 -1 06:49:27.52375
 -1 02:57:52.01565
 -1 16:45:44.86529
 -1 21:30:57.82047
 -1 04:25:09.15395
 -1 06:49:27.10533
 -1 02:57:52.48229
 -1 16:45:44.65827
 -1 21:30:57.58219
 -1 22:30:04.18347
 -1 01:56:51.59319
 -2 00:00:00.00000
 -2 04:50:38.12301
 -2 12:31:35.23453
 -2 12:47:53.34505
 -2 01:26:00.45615
 -2 20:58:11.56677
 -2 07:36:05.18964
 -2 15:43:49.83132
 -2 04:25:09.01293
 -2 06:49:27.52375
 -2 02:57:52.01565
 -2 16:45:44.86529
 -2 21:30:57.82047
 -2 04:25:09.15395
 -2 06:49:27.10533
 -2 02:57:52.48229
 -2 16:45:44.65827
 -2 21:30:57.58219
 -2 22:30:04.18347
 -2 01:56:51.59319
 -54 00:00:00.0000
 -54 04:50:38.1230
 -54 12:31:35.2345
 -54 12:47:53.3450
 -54 01:26:00.4561
 -54 20:58:11.5668
 -54 07:36:05.1896
 -54 15:43:49.8313
 -54 04:25:09.0129
 -54 06:49:27.5237
 -54 02:57:52.0157
 -54 16:45:44.8653
 -54 21:30:57.8205
 -54 04:25:09.1540
 -54 06:49:27.1053
 -54 02:57:52.4823
 -54 16:45:44.6583
 -54 21:30:57.5822
 -54 22:30:04.1835
 -54 01:56:51.5932
 -681 00:00:00.000
 -681 04:50:38.123
 -681 12:31:35.235
 -681 12:47:53.345
 -681 01:26:00.456
 -681 20:58:11.567
 -681 07:36:05.190
 -681 15:43:49.831
 -681 04:25:09.013
 -681 06:49:27.524
 -681 02:57:52.016
 -681 16:45:44.865
 -681 21:30:57.820
 -681 04:25:09.154
 -681 06:49:27.105
 -681 02:57:52.482
 -681 16:45:44.658
 -681 21:30:57.582
 -681 22:30:04.183
 -681 01:56:51.593
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:12823"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:13025: cat dtime18.out"
at_fn_check_prepare_trace "data-out.at:13025"
( $at_check_trace; cat dtime18.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "         0 00:00:00
         0 04:50:38
         0 12:31:35
         0 12:47:53
         0 01:26:00
         0 20:58:11
         0 07:36:05
         0 15:43:49
         0 04:25:09
         0 06:49:27
         0 02:57:52
         0 16:45:44
         0 21:30:57
         0 04:25:09
         0 06:49:27
         0 02:57:52
         0 16:45:44
         0 21:30:57
         0 22:30:04
         0 01:56:51
         1 00:00:00
         1 04:50:38
         1 12:31:35
         1 12:47:53
         1 01:26:00
         1 20:58:11
         1 07:36:05
         1 15:43:49
         1 04:25:09
         1 06:49:27
         1 02:57:52
         1 16:45:44
         1 21:30:57
         1 04:25:09
         1 06:49:27
         1 02:57:52
         1 16:45:44
         1 21:30:57
         1 22:30:04
         1 01:56:51
         2 00:00:00
         2 04:50:38
         2 12:31:35
         2 12:47:53
         2 01:26:00
         2 20:58:11
         2 07:36:05
         2 15:43:49
         2 04:25:09
         2 06:49:27
         2 02:57:52
         2 16:45:44
         2 21:30:57
         2 04:25:09
         2 06:49:27
         2 02:57:52
         2 16:45:44
         2 21:30:57
         2 22:30:04
         2 01:56:51
        54 00:00:00
        54 04:50:38
        54 12:31:35
        54 12:47:53
        54 01:26:00
        54 20:58:11
        54 07:36:05
        54 15:43:49
        54 04:25:09
        54 06:49:27
        54 02:57:52
        54 16:45:44
        54 21:30:57
        54 04:25:09
        54 06:49:27
        54 02:57:52
        54 16:45:44
        54 21:30:57
        54 22:30:04
        54 01:56:51
       681 00:00:00
       681 04:50:38
       681 12:31:35
       681 12:47:53
       681 01:26:00
       681 20:58:11
       681 07:36:05
       681 15:43:49
       681 04:25:09
       681 06:49:27
       681 02:57:52
       681 16:45:44
       681 21:30:57
       681 04:25:09
       681 06:49:27
       681 02:57:52
       681 16:45:44
       681 21:30:57
       681 22:30:04
       681 01:56:51
         0 00:00:00
        -0 04:50:38
        -0 12:31:35
        -0 12:47:53
        -0 01:26:00
        -0 20:58:11
        -0 07:36:05
        -0 15:43:49
        -0 04:25:09
        -0 06:49:27
        -0 02:57:52
        -0 16:45:44
        -0 21:30:57
        -0 04:25:09
        -0 06:49:27
        -0 02:57:52
        -0 16:45:44
        -0 21:30:57
        -0 22:30:04
        -0 01:56:51
        -1 00:00:00
        -1 04:50:38
        -1 12:31:35
        -1 12:47:53
        -1 01:26:00
        -1 20:58:11
        -1 07:36:05
        -1 15:43:49
        -1 04:25:09
        -1 06:49:27
        -1 02:57:52
        -1 16:45:44
        -1 21:30:57
        -1 04:25:09
        -1 06:49:27
        -1 02:57:52
        -1 16:45:44
        -1 21:30:57
        -1 22:30:04
        -1 01:56:51
        -2 00:00:00
        -2 04:50:38
        -2 12:31:35
        -2 12:47:53
        -2 01:26:00
        -2 20:58:11
        -2 07:36:05
        -2 15:43:49
        -2 04:25:09
        -2 06:49:27
        -2 02:57:52
        -2 16:45:44
        -2 21:30:57
        -2 04:25:09
        -2 06:49:27
        -2 02:57:52
        -2 16:45:44
        -2 21:30:57
        -2 22:30:04
        -2 01:56:51
       -54 00:00:00
       -54 04:50:38
       -54 12:31:35
       -54 12:47:53
       -54 01:26:00
       -54 20:58:11
       -54 07:36:05
       -54 15:43:49
       -54 04:25:09
       -54 06:49:27
       -54 02:57:52
       -54 16:45:44
       -54 21:30:57
       -54 04:25:09
       -54 06:49:27
       -54 02:57:52
       -54 16:45:44
       -54 21:30:57
       -54 22:30:04
       -54 01:56:51
      -681 00:00:00
      -681 04:50:38
      -681 12:31:35
      -681 12:47:53
      -681 01:26:00
      -681 20:58:11
      -681 07:36:05
      -681 15:43:49
      -681 04:25:09
      -681 06:49:27
      -681 02:57:52
      -681 16:45:44
      -681 21:30:57
      -681 04:25:09
      -681 06:49:27
      -681 02:57:52
      -681 16:45:44
      -681 21:30:57
      -681 22:30:04
      -681 01:56:51
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:13025"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:13227: cat dtime18.1.out"
at_fn_check_prepare_trace "data-out.at:13227"
( $at_check_trace; cat dtime18.1.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "       0 00:00:00.0
       0 04:50:38.1
       0 12:31:35.2
       0 12:47:53.3
       0 01:26:00.5
       0 20:58:11.6
       0 07:36:05.2
       0 15:43:49.8
       0 04:25:09.0
       0 06:49:27.5
       0 02:57:52.0
       0 16:45:44.9
       0 21:30:57.8
       0 04:25:09.2
       0 06:49:27.1
       0 02:57:52.5
       0 16:45:44.7
       0 21:30:57.6
       0 22:30:04.2
       0 01:56:51.6
       1 00:00:00.0
       1 04:50:38.1
       1 12:31:35.2
       1 12:47:53.3
       1 01:26:00.5
       1 20:58:11.6
       1 07:36:05.2
       1 15:43:49.8
       1 04:25:09.0
       1 06:49:27.5
       1 02:57:52.0
       1 16:45:44.9
       1 21:30:57.8
       1 04:25:09.2
       1 06:49:27.1
       1 02:57:52.5
       1 16:45:44.7
       1 21:30:57.6
       1 22:30:04.2
       1 01:56:51.6
       2 00:00:00.0
       2 04:50:38.1
       2 12:31:35.2
       2 12:47:53.3
       2 01:26:00.5
       2 20:58:11.6
       2 07:36:05.2
       2 15:43:49.8
       2 04:25:09.0
       2 06:49:27.5
       2 02:57:52.0
       2 16:45:44.9
       2 21:30:57.8
       2 04:25:09.2
       2 06:49:27.1
       2 02:57:52.5
       2 16:45:44.7
       2 21:30:57.6
       2 22:30:04.2
       2 01:56:51.6
      54 00:00:00.0
      54 04:50:38.1
      54 12:31:35.2
      54 12:47:53.3
      54 01:26:00.5
      54 20:58:11.6
      54 07:36:05.2
      54 15:43:49.8
      54 04:25:09.0
      54 06:49:27.5
      54 02:57:52.0
      54 16:45:44.9
      54 21:30:57.8
      54 04:25:09.2
      54 06:49:27.1
      54 02:57:52.5
      54 16:45:44.7
      54 21:30:57.6
      54 22:30:04.2
      54 01:56:51.6
     681 00:00:00.0
     681 04:50:38.1
     681 12:31:35.2
     681 12:47:53.3
     681 01:26:00.5
     681 20:58:11.6
     681 07:36:05.2
     681 15:43:49.8
     681 04:25:09.0
     681 06:49:27.5
     681 02:57:52.0
     681 16:45:44.9
     681 21:30:57.8
     681 04:25:09.2
     681 06:49:27.1
     681 02:57:52.5
     681 16:45:44.7
     681 21:30:57.6
     681 22:30:04.2
     681 01:56:51.6
       0 00:00:00.0
      -0 04:50:38.1
      -0 12:31:35.2
      -0 12:47:53.3
      -0 01:26:00.5
      -0 20:58:11.6
      -0 07:36:05.2
      -0 15:43:49.8
      -0 04:25:09.0
      -0 06:49:27.5
      -0 02:57:52.0
      -0 16:45:44.9
      -0 21:30:57.8
      -0 04:25:09.2
      -0 06:49:27.1
      -0 02:57:52.5
      -0 16:45:44.7
      -0 21:30:57.6
      -0 22:30:04.2
      -0 01:56:51.6
      -1 00:00:00.0
      -1 04:50:38.1
      -1 12:31:35.2
      -1 12:47:53.3
      -1 01:26:00.5
      -1 20:58:11.6
      -1 07:36:05.2
      -1 15:43:49.8
      -1 04:25:09.0
      -1 06:49:27.5
      -1 02:57:52.0
      -1 16:45:44.9
      -1 21:30:57.8
      -1 04:25:09.2
      -1 06:49:27.1
      -1 02:57:52.5
      -1 16:45:44.7
      -1 21:30:57.6
      -1 22:30:04.2
      -1 01:56:51.6
      -2 00:00:00.0
      -2 04:50:38.1
      -2 12:31:35.2
      -2 12:47:53.3
      -2 01:26:00.5
      -2 20:58:11.6
      -2 07:36:05.2
      -2 15:43:49.8
      -2 04:25:09.0
      -2 06:49:27.5
      -2 02:57:52.0
      -2 16:45:44.9
      -2 21:30:57.8
      -2 04:25:09.2
      -2 06:49:27.1
      -2 02:57:52.5
      -2 16:45:44.7
      -2 21:30:57.6
      -2 22:30:04.2
      -2 01:56:51.6
     -54 00:00:00.0
     -54 04:50:38.1
     -54 12:31:35.2
     -54 12:47:53.3
     -54 01:26:00.5
     -54 20:58:11.6
     -54 07:36:05.2
     -54 15:43:49.8
     -54 04:25:09.0
     -54 06:49:27.5
     -54 02:57:52.0
     -54 16:45:44.9
     -54 21:30:57.8
     -54 04:25:09.2
     -54 06:49:27.1
     -54 02:57:52.5
     -54 16:45:44.7
     -54 21:30:57.6
     -54 22:30:04.2
     -54 01:56:51.6
    -681 00:00:00.0
    -681 04:50:38.1
    -681 12:31:35.2
    -681 12:47:53.3
    -681 01:26:00.5
    -681 20:58:11.6
    -681 07:36:05.2
    -681 15:43:49.8
    -681 04:25:09.0
    -681 06:49:27.5
    -681 02:57:52.0
    -681 16:45:44.9
    -681 21:30:57.8
    -681 04:25:09.2
    -681 06:49:27.1
    -681 02:57:52.5
    -681 16:45:44.7
    -681 21:30:57.6
    -681 22:30:04.2
    -681 01:56:51.6
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:13227"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:13429: cat dtime18.2.out"
at_fn_check_prepare_trace "data-out.at:13429"
( $at_check_trace; cat dtime18.2.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "      0 00:00:00.00
      0 04:50:38.12
      0 12:31:35.23
      0 12:47:53.35
      0 01:26:00.46
      0 20:58:11.57
      0 07:36:05.19
      0 15:43:49.83
      0 04:25:09.01
      0 06:49:27.52
      0 02:57:52.02
      0 16:45:44.87
      0 21:30:57.82
      0 04:25:09.15
      0 06:49:27.11
      0 02:57:52.48
      0 16:45:44.66
      0 21:30:57.58
      0 22:30:04.18
      0 01:56:51.59
      1 00:00:00.00
      1 04:50:38.12
      1 12:31:35.23
      1 12:47:53.35
      1 01:26:00.46
      1 20:58:11.57
      1 07:36:05.19
      1 15:43:49.83
      1 04:25:09.01
      1 06:49:27.52
      1 02:57:52.02
      1 16:45:44.87
      1 21:30:57.82
      1 04:25:09.15
      1 06:49:27.11
      1 02:57:52.48
      1 16:45:44.66
      1 21:30:57.58
      1 22:30:04.18
      1 01:56:51.59
      2 00:00:00.00
      2 04:50:38.12
      2 12:31:35.23
      2 12:47:53.35
      2 01:26:00.46
      2 20:58:11.57
      2 07:36:05.19
      2 15:43:49.83
      2 04:25:09.01
      2 06:49:27.52
      2 02:57:52.02
      2 16:45:44.87
      2 21:30:57.82
      2 04:25:09.15
      2 06:49:27.11
      2 02:57:52.48
      2 16:45:44.66
      2 21:30:57.58
      2 22:30:04.18
      2 01:56:51.59
     54 00:00:00.00
     54 04:50:38.12
     54 12:31:35.23
     54 12:47:53.35
     54 01:26:00.46
     54 20:58:11.57
     54 07:36:05.19
     54 15:43:49.83
     54 04:25:09.01
     54 06:49:27.52
     54 02:57:52.02
     54 16:45:44.87
     54 21:30:57.82
     54 04:25:09.15
     54 06:49:27.11
     54 02:57:52.48
     54 16:45:44.66
     54 21:30:57.58
     54 22:30:04.18
     54 01:56:51.59
    681 00:00:00.00
    681 04:50:38.12
    681 12:31:35.23
    681 12:47:53.35
    681 01:26:00.46
    681 20:58:11.57
    681 07:36:05.19
    681 15:43:49.83
    681 04:25:09.01
    681 06:49:27.52
    681 02:57:52.02
    681 16:45:44.87
    681 21:30:57.82
    681 04:25:09.15
    681 06:49:27.11
    681 02:57:52.48
    681 16:45:44.66
    681 21:30:57.58
    681 22:30:04.18
    681 01:56:51.59
      0 00:00:00.00
     -0 04:50:38.12
     -0 12:31:35.23
     -0 12:47:53.35
     -0 01:26:00.46
     -0 20:58:11.57
     -0 07:36:05.19
     -0 15:43:49.83
     -0 04:25:09.01
     -0 06:49:27.52
     -0 02:57:52.02
     -0 16:45:44.87
     -0 21:30:57.82
     -0 04:25:09.15
     -0 06:49:27.11
     -0 02:57:52.48
     -0 16:45:44.66
     -0 21:30:57.58
     -0 22:30:04.18
     -0 01:56:51.59
     -1 00:00:00.00
     -1 04:50:38.12
     -1 12:31:35.23
     -1 12:47:53.35
     -1 01:26:00.46
     -1 20:58:11.57
     -1 07:36:05.19
     -1 15:43:49.83
     -1 04:25:09.01
     -1 06:49:27.52
     -1 02:57:52.02
     -1 16:45:44.87
     -1 21:30:57.82
     -1 04:25:09.15
     -1 06:49:27.11
     -1 02:57:52.48
     -1 16:45:44.66
     -1 21:30:57.58
     -1 22:30:04.18
     -1 01:56:51.59
     -2 00:00:00.00
     -2 04:50:38.12
     -2 12:31:35.23
     -2 12:47:53.35
     -2 01:26:00.46
     -2 20:58:11.57
     -2 07:36:05.19
     -2 15:43:49.83
     -2 04:25:09.01
     -2 06:49:27.52
     -2 02:57:52.02
     -2 16:45:44.87
     -2 21:30:57.82
     -2 04:25:09.15
     -2 06:49:27.11
     -2 02:57:52.48
     -2 16:45:44.66
     -2 21:30:57.58
     -2 22:30:04.18
     -2 01:56:51.59
    -54 00:00:00.00
    -54 04:50:38.12
    -54 12:31:35.23
    -54 12:47:53.35
    -54 01:26:00.46
    -54 20:58:11.57
    -54 07:36:05.19
    -54 15:43:49.83
    -54 04:25:09.01
    -54 06:49:27.52
    -54 02:57:52.02
    -54 16:45:44.87
    -54 21:30:57.82
    -54 04:25:09.15
    -54 06:49:27.11
    -54 02:57:52.48
    -54 16:45:44.66
    -54 21:30:57.58
    -54 22:30:04.18
    -54 01:56:51.59
   -681 00:00:00.00
   -681 04:50:38.12
   -681 12:31:35.23
   -681 12:47:53.35
   -681 01:26:00.46
   -681 20:58:11.57
   -681 07:36:05.19
   -681 15:43:49.83
   -681 04:25:09.01
   -681 06:49:27.52
   -681 02:57:52.02
   -681 16:45:44.87
   -681 21:30:57.82
   -681 04:25:09.15
   -681 06:49:27.11
   -681 02:57:52.48
   -681 16:45:44.66
   -681 21:30:57.58
   -681 22:30:04.18
   -681 01:56:51.59
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:13429"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:13631: cat dtime18.3.out"
at_fn_check_prepare_trace "data-out.at:13631"
( $at_check_trace; cat dtime18.3.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "     0 00:00:00.000
     0 04:50:38.123
     0 12:31:35.235
     0 12:47:53.345
     0 01:26:00.456
     0 20:58:11.567
     0 07:36:05.190
     0 15:43:49.831
     0 04:25:09.013
     0 06:49:27.524
     0 02:57:52.016
     0 16:45:44.865
     0 21:30:57.820
     0 04:25:09.154
     0 06:49:27.105
     0 02:57:52.482
     0 16:45:44.658
     0 21:30:57.582
     0 22:30:04.183
     0 01:56:51.593
     1 00:00:00.000
     1 04:50:38.123
     1 12:31:35.235
     1 12:47:53.345
     1 01:26:00.456
     1 20:58:11.567
     1 07:36:05.190
     1 15:43:49.831
     1 04:25:09.013
     1 06:49:27.524
     1 02:57:52.016
     1 16:45:44.865
     1 21:30:57.820
     1 04:25:09.154
     1 06:49:27.105
     1 02:57:52.482
     1 16:45:44.658
     1 21:30:57.582
     1 22:30:04.183
     1 01:56:51.593
     2 00:00:00.000
     2 04:50:38.123
     2 12:31:35.235
     2 12:47:53.345
     2 01:26:00.456
     2 20:58:11.567
     2 07:36:05.190
     2 15:43:49.831
     2 04:25:09.013
     2 06:49:27.524
     2 02:57:52.016
     2 16:45:44.865
     2 21:30:57.820
     2 04:25:09.154
     2 06:49:27.105
     2 02:57:52.482
     2 16:45:44.658
     2 21:30:57.582
     2 22:30:04.183
     2 01:56:51.593
    54 00:00:00.000
    54 04:50:38.123
    54 12:31:35.235
    54 12:47:53.345
    54 01:26:00.456
    54 20:58:11.567
    54 07:36:05.190
    54 15:43:49.831
    54 04:25:09.013
    54 06:49:27.524
    54 02:57:52.016
    54 16:45:44.865
    54 21:30:57.820
    54 04:25:09.154
    54 06:49:27.105
    54 02:57:52.482
    54 16:45:44.658
    54 21:30:57.582
    54 22:30:04.183
    54 01:56:51.593
   681 00:00:00.000
   681 04:50:38.123
   681 12:31:35.235
   681 12:47:53.345
   681 01:26:00.456
   681 20:58:11.567
   681 07:36:05.190
   681 15:43:49.831
   681 04:25:09.013
   681 06:49:27.524
   681 02:57:52.016
   681 16:45:44.865
   681 21:30:57.820
   681 04:25:09.154
   681 06:49:27.105
   681 02:57:52.482
   681 16:45:44.658
   681 21:30:57.582
   681 22:30:04.183
   681 01:56:51.593
     0 00:00:00.000
    -0 04:50:38.123
    -0 12:31:35.235
    -0 12:47:53.345
    -0 01:26:00.456
    -0 20:58:11.567
    -0 07:36:05.190
    -0 15:43:49.831
    -0 04:25:09.013
    -0 06:49:27.524
    -0 02:57:52.016
    -0 16:45:44.865
    -0 21:30:57.820
    -0 04:25:09.154
    -0 06:49:27.105
    -0 02:57:52.482
    -0 16:45:44.658
    -0 21:30:57.582
    -0 22:30:04.183
    -0 01:56:51.593
    -1 00:00:00.000
    -1 04:50:38.123
    -1 12:31:35.235
    -1 12:47:53.345
    -1 01:26:00.456
    -1 20:58:11.567
    -1 07:36:05.190
    -1 15:43:49.831
    -1 04:25:09.013
    -1 06:49:27.524
    -1 02:57:52.016
    -1 16:45:44.865
    -1 21:30:57.820
    -1 04:25:09.154
    -1 06:49:27.105
    -1 02:57:52.482
    -1 16:45:44.658
    -1 21:30:57.582
    -1 22:30:04.183
    -1 01:56:51.593
    -2 00:00:00.000
    -2 04:50:38.123
    -2 12:31:35.235
    -2 12:47:53.345
    -2 01:26:00.456
    -2 20:58:11.567
    -2 07:36:05.190
    -2 15:43:49.831
    -2 04:25:09.013
    -2 06:49:27.524
    -2 02:57:52.016
    -2 16:45:44.865
    -2 21:30:57.820
    -2 04:25:09.154
    -2 06:49:27.105
    -2 02:57:52.482
    -2 16:45:44.658
    -2 21:30:57.582
    -2 22:30:04.183
    -2 01:56:51.593
   -54 00:00:00.000
   -54 04:50:38.123
   -54 12:31:35.235
   -54 12:47:53.345
   -54 01:26:00.456
   -54 20:58:11.567
   -54 07:36:05.190
   -54 15:43:49.831
   -54 04:25:09.013
   -54 06:49:27.524
   -54 02:57:52.016
   -54 16:45:44.865
   -54 21:30:57.820
   -54 04:25:09.154
   -54 06:49:27.105
   -54 02:57:52.482
   -54 16:45:44.658
   -54 21:30:57.582
   -54 22:30:04.183
   -54 01:56:51.593
  -681 00:00:00.000
  -681 04:50:38.123
  -681 12:31:35.235
  -681 12:47:53.345
  -681 01:26:00.456
  -681 20:58:11.567
  -681 07:36:05.190
  -681 15:43:49.831
  -681 04:25:09.013
  -681 06:49:27.524
  -681 02:57:52.016
  -681 16:45:44.865
  -681 21:30:57.820
  -681 04:25:09.154
  -681 06:49:27.105
  -681 02:57:52.482
  -681 16:45:44.658
  -681 21:30:57.582
  -681 22:30:04.183
  -681 01:56:51.593
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:13631"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:13833: cat dtime18.4.out"
at_fn_check_prepare_trace "data-out.at:13833"
( $at_check_trace; cat dtime18.4.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "    0 00:00:00.0000
    0 04:50:38.1230
    0 12:31:35.2345
    0 12:47:53.3451
    0 01:26:00.4561
    0 20:58:11.5668
    0 07:36:05.1896
    0 15:43:49.8313
    0 04:25:09.0129
    0 06:49:27.5238
    0 02:57:52.0156
    0 16:45:44.8653
    0 21:30:57.8205
    0 04:25:09.1539
    0 06:49:27.1053
    0 02:57:52.4823
    0 16:45:44.6583
    0 21:30:57.5822
    0 22:30:04.1835
    0 01:56:51.5932
    1 00:00:00.0000
    1 04:50:38.1230
    1 12:31:35.2345
    1 12:47:53.3451
    1 01:26:00.4561
    1 20:58:11.5668
    1 07:36:05.1896
    1 15:43:49.8313
    1 04:25:09.0129
    1 06:49:27.5237
    1 02:57:52.0157
    1 16:45:44.8653
    1 21:30:57.8205
    1 04:25:09.1540
    1 06:49:27.1053
    1 02:57:52.4823
    1 16:45:44.6583
    1 21:30:57.5822
    1 22:30:04.1835
    1 01:56:51.5932
    2 00:00:00.0000
    2 04:50:38.1230
    2 12:31:35.2345
    2 12:47:53.3451
    2 01:26:00.4562
    2 20:58:11.5668
    2 07:36:05.1896
    2 15:43:49.8313
    2 04:25:09.0129
    2 06:49:27.5237
    2 02:57:52.0156
    2 16:45:44.8653
    2 21:30:57.8205
    2 04:25:09.1540
    2 06:49:27.1053
    2 02:57:52.4823
    2 16:45:44.6583
    2 21:30:57.5822
    2 22:30:04.1835
    2 01:56:51.5932
   54 00:00:00.0000
   54 04:50:38.1230
   54 12:31:35.2345
   54 12:47:53.3450
   54 01:26:00.4561
   54 20:58:11.5668
   54 07:36:05.1896
   54 15:43:49.8313
   54 04:25:09.0129
   54 06:49:27.5237
   54 02:57:52.0157
   54 16:45:44.8653
   54 21:30:57.8205
   54 04:25:09.1540
   54 06:49:27.1053
   54 02:57:52.4823
   54 16:45:44.6583
   54 21:30:57.5822
   54 22:30:04.1835
   54 01:56:51.5932
  681 00:00:00.0000
  681 04:50:38.1230
  681 12:31:35.2345
  681 12:47:53.3450
  681 01:26:00.4562
  681 20:58:11.5668
  681 07:36:05.1896
  681 15:43:49.8313
  681 04:25:09.0129
  681 06:49:27.5237
  681 02:57:52.0156
  681 16:45:44.8653
  681 21:30:57.8205
  681 04:25:09.1539
  681 06:49:27.1053
  681 02:57:52.4823
  681 16:45:44.6583
  681 21:30:57.5822
  681 22:30:04.1835
  681 01:56:51.5932
    0 00:00:00.0000
   -0 04:50:38.1230
   -0 12:31:35.2345
   -0 12:47:53.3451
   -0 01:26:00.4561
   -0 20:58:11.5668
   -0 07:36:05.1896
   -0 15:43:49.8313
   -0 04:25:09.0129
   -0 06:49:27.5238
   -0 02:57:52.0156
   -0 16:45:44.8653
   -0 21:30:57.8205
   -0 04:25:09.1539
   -0 06:49:27.1053
   -0 02:57:52.4823
   -0 16:45:44.6583
   -0 21:30:57.5822
   -0 22:30:04.1835
   -0 01:56:51.5932
   -1 00:00:00.0000
   -1 04:50:38.1230
   -1 12:31:35.2345
   -1 12:47:53.3451
   -1 01:26:00.4561
   -1 20:58:11.5668
   -1 07:36:05.1896
   -1 15:43:49.8313
   -1 04:25:09.0129
   -1 06:49:27.5237
   -1 02:57:52.0157
   -1 16:45:44.8653
   -1 21:30:57.8205
   -1 04:25:09.1540
   -1 06:49:27.1053
   -1 02:57:52.4823
   -1 16:45:44.6583
   -1 21:30:57.5822
   -1 22:30:04.1835
   -1 01:56:51.5932
   -2 00:00:00.0000
   -2 04:50:38.1230
   -2 12:31:35.2345
   -2 12:47:53.3451
   -2 01:26:00.4562
   -2 20:58:11.5668
   -2 07:36:05.1896
   -2 15:43:49.8313
   -2 04:25:09.0129
   -2 06:49:27.5237
   -2 02:57:52.0156
   -2 16:45:44.8653
   -2 21:30:57.8205
   -2 04:25:09.1540
   -2 06:49:27.1053
   -2 02:57:52.4823
   -2 16:45:44.6583
   -2 21:30:57.5822
   -2 22:30:04.1835
   -2 01:56:51.5932
  -54 00:00:00.0000
  -54 04:50:38.1230
  -54 12:31:35.2345
  -54 12:47:53.3450
  -54 01:26:00.4561
  -54 20:58:11.5668
  -54 07:36:05.1896
  -54 15:43:49.8313
  -54 04:25:09.0129
  -54 06:49:27.5237
  -54 02:57:52.0157
  -54 16:45:44.8653
  -54 21:30:57.8205
  -54 04:25:09.1540
  -54 06:49:27.1053
  -54 02:57:52.4823
  -54 16:45:44.6583
  -54 21:30:57.5822
  -54 22:30:04.1835
  -54 01:56:51.5932
 -681 00:00:00.0000
 -681 04:50:38.1230
 -681 12:31:35.2345
 -681 12:47:53.3450
 -681 01:26:00.4562
 -681 20:58:11.5668
 -681 07:36:05.1896
 -681 15:43:49.8313
 -681 04:25:09.0129
 -681 06:49:27.5237
 -681 02:57:52.0156
 -681 16:45:44.8653
 -681 21:30:57.8205
 -681 04:25:09.1539
 -681 06:49:27.1053
 -681 02:57:52.4823
 -681 16:45:44.6583
 -681 21:30:57.5822
 -681 22:30:04.1835
 -681 01:56:51.5932
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:13833"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:14035: cat dtime18.5.out"
at_fn_check_prepare_trace "data-out.at:14035"
( $at_check_trace; cat dtime18.5.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "   0 00:00:00.00000
   0 04:50:38.12301
   0 12:31:35.23453
   0 12:47:53.34505
   0 01:26:00.45615
   0 20:58:11.56677
   0 07:36:05.18964
   0 15:43:49.83132
   0 04:25:09.01293
   0 06:49:27.52375
   0 02:57:52.01565
   0 16:45:44.86529
   0 21:30:57.82047
   0 04:25:09.15395
   0 06:49:27.10533
   0 02:57:52.48229
   0 16:45:44.65827
   0 21:30:57.58219
   0 22:30:04.18347
   0 01:56:51.59319
   1 00:00:00.00000
   1 04:50:38.12301
   1 12:31:35.23453
   1 12:47:53.34505
   1 01:26:00.45615
   1 20:58:11.56677
   1 07:36:05.18964
   1 15:43:49.83132
   1 04:25:09.01293
   1 06:49:27.52375
   1 02:57:52.01565
   1 16:45:44.86529
   1 21:30:57.82047
   1 04:25:09.15395
   1 06:49:27.10533
   1 02:57:52.48229
   1 16:45:44.65827
   1 21:30:57.58219
   1 22:30:04.18347
   1 01:56:51.59319
   2 00:00:00.00000
   2 04:50:38.12301
   2 12:31:35.23453
   2 12:47:53.34505
   2 01:26:00.45615
   2 20:58:11.56677
   2 07:36:05.18964
   2 15:43:49.83132
   2 04:25:09.01293
   2 06:49:27.52375
   2 02:57:52.01565
   2 16:45:44.86529
   2 21:30:57.82047
   2 04:25:09.15395
   2 06:49:27.10533
   2 02:57:52.48229
   2 16:45:44.65827
   2 21:30:57.58219
   2 22:30:04.18347
   2 01:56:51.59319
  54 00:00:00.00000
  54 04:50:38.12301
  54 12:31:35.23453
  54 12:47:53.34505
  54 01:26:00.45615
  54 20:58:11.56677
  54 07:36:05.18964
  54 15:43:49.83132
  54 04:25:09.01293
  54 06:49:27.52375
  54 02:57:52.01565
  54 16:45:44.86529
  54 21:30:57.82047
  54 04:25:09.15395
  54 06:49:27.10533
  54 02:57:52.48229
  54 16:45:44.65827
  54 21:30:57.58219
  54 22:30:04.18347
  54 01:56:51.59319
 681 00:00:00.00000
 681 04:50:38.12301
 681 12:31:35.23453
 681 12:47:53.34505
 681 01:26:00.45615
 681 20:58:11.56677
 681 07:36:05.18964
 681 15:43:49.83132
 681 04:25:09.01293
 681 06:49:27.52375
 681 02:57:52.01565
 681 16:45:44.86529
 681 21:30:57.82047
 681 04:25:09.15395
 681 06:49:27.10533
 681 02:57:52.48229
 681 16:45:44.65827
 681 21:30:57.58219
 681 22:30:04.18347
 681 01:56:51.59319
   0 00:00:00.00000
  -0 04:50:38.12301
  -0 12:31:35.23453
  -0 12:47:53.34505
  -0 01:26:00.45615
  -0 20:58:11.56677
  -0 07:36:05.18964
  -0 15:43:49.83132
  -0 04:25:09.01293
  -0 06:49:27.52375
  -0 02:57:52.01565
  -0 16:45:44.86529
  -0 21:30:57.82047
  -0 04:25:09.15395
  -0 06:49:27.10533
  -0 02:57:52.48229
  -0 16:45:44.65827
  -0 21:30:57.58219
  -0 22:30:04.18347
  -0 01:56:51.59319
  -1 00:00:00.00000
  -1 04:50:38.12301
  -1 12:31:35.23453
  -1 12:47:53.34505
  -1 01:26:00.45615
  -1 20:58:11.56677
  -1 07:36:05.18964
  -1 15:43:49.83132
  -1 04:25:09.01293
  -1 06:49:27.52375
  -1 02:57:52.01565
  -1 16:45:44.86529
  -1 21:30:57.82047
  -1 04:25:09.15395
  -1 06:49:27.10533
  -1 02:57:52.48229
  -1 16:45:44.65827
  -1 21:30:57.58219
  -1 22:30:04.18347
  -1 01:56:51.59319
  -2 00:00:00.00000
  -2 04:50:38.12301
  -2 12:31:35.23453
  -2 12:47:53.34505
  -2 01:26:00.45615
  -2 20:58:11.56677
  -2 07:36:05.18964
  -2 15:43:49.83132
  -2 04:25:09.01293
  -2 06:49:27.52375
  -2 02:57:52.01565
  -2 16:45:44.86529
  -2 21:30:57.82047
  -2 04:25:09.15395
  -2 06:49:27.10533
  -2 02:57:52.48229
  -2 16:45:44.65827
  -2 21:30:57.58219
  -2 22:30:04.18347
  -2 01:56:51.59319
 -54 00:00:00.00000
 -54 04:50:38.12301
 -54 12:31:35.23453
 -54 12:47:53.34505
 -54 01:26:00.45615
 -54 20:58:11.56677
 -54 07:36:05.18964
 -54 15:43:49.83132
 -54 04:25:09.01293
 -54 06:49:27.52375
 -54 02:57:52.01565
 -54 16:45:44.86529
 -54 21:30:57.82047
 -54 04:25:09.15395
 -54 06:49:27.10533
 -54 02:57:52.48229
 -54 16:45:44.65827
 -54 21:30:57.58219
 -54 22:30:04.18347
 -54 01:56:51.59319
 -681 00:00:00.0000
 -681 04:50:38.1230
 -681 12:31:35.2345
 -681 12:47:53.3450
 -681 01:26:00.4562
 -681 20:58:11.5668
 -681 07:36:05.1896
 -681 15:43:49.8313
 -681 04:25:09.0129
 -681 06:49:27.5237
 -681 02:57:52.0156
 -681 16:45:44.8653
 -681 21:30:57.8205
 -681 04:25:09.1539
 -681 06:49:27.1053
 -681 02:57:52.4823
 -681 16:45:44.6583
 -681 21:30:57.5822
 -681 22:30:04.1835
 -681 01:56:51.5932
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:14035"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:14237: cat dtime18.6.out"
at_fn_check_prepare_trace "data-out.at:14237"
( $at_check_trace; cat dtime18.6.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "  0 00:00:00.000000
  0 04:50:38.123010
  0 12:31:35.234530
  0 12:47:53.345050
  0 01:26:00.456150
  0 20:58:11.566770
  0 07:36:05.189640
  0 15:43:49.831320
  0 04:25:09.012930
  0 06:49:27.523750
  0 02:57:52.015650
  0 16:45:44.865290
  0 21:30:57.820470
  0 04:25:09.153950
  0 06:49:27.105330
  0 02:57:52.482290
  0 16:45:44.658270
  0 21:30:57.582190
  0 22:30:04.183470
  0 01:56:51.593190
  1 00:00:00.000000
  1 04:50:38.123010
  1 12:31:35.234530
  1 12:47:53.345050
  1 01:26:00.456150
  1 20:58:11.566770
  1 07:36:05.189640
  1 15:43:49.831320
  1 04:25:09.012930
  1 06:49:27.523750
  1 02:57:52.015650
  1 16:45:44.865290
  1 21:30:57.820470
  1 04:25:09.153950
  1 06:49:27.105330
  1 02:57:52.482290
  1 16:45:44.658270
  1 21:30:57.582190
  1 22:30:04.183470
  1 01:56:51.593190
  2 00:00:00.000000
  2 04:50:38.123010
  2 12:31:35.234530
  2 12:47:53.345050
  2 01:26:00.456150
  2 20:58:11.566770
  2 07:36:05.189640
  2 15:43:49.831320
  2 04:25:09.012930
  2 06:49:27.523750
  2 02:57:52.015650
  2 16:45:44.865290
  2 21:30:57.820470
  2 04:25:09.153950
  2 06:49:27.105330
  2 02:57:52.482290
  2 16:45:44.658270
  2 21:30:57.582190
  2 22:30:04.183470
  2 01:56:51.593190
 54 00:00:00.000000
 54 04:50:38.123010
 54 12:31:35.234530
 54 12:47:53.345050
 54 01:26:00.456150
 54 20:58:11.566770
 54 07:36:05.189640
 54 15:43:49.831320
 54 04:25:09.012930
 54 06:49:27.523750
 54 02:57:52.015650
 54 16:45:44.865290
 54 21:30:57.820470
 54 04:25:09.153950
 54 06:49:27.105330
 54 02:57:52.482290
 54 16:45:44.658270
 54 21:30:57.582190
 54 22:30:04.183470
 54 01:56:51.593190
 681 00:00:00.00000
 681 04:50:38.12301
 681 12:31:35.23453
 681 12:47:53.34505
 681 01:26:00.45615
 681 20:58:11.56677
 681 07:36:05.18964
 681 15:43:49.83132
 681 04:25:09.01293
 681 06:49:27.52375
 681 02:57:52.01565
 681 16:45:44.86529
 681 21:30:57.82047
 681 04:25:09.15395
 681 06:49:27.10533
 681 02:57:52.48229
 681 16:45:44.65827
 681 21:30:57.58219
 681 22:30:04.18347
 681 01:56:51.59319
  0 00:00:00.000000
 -0 04:50:38.123010
 -0 12:31:35.234530
 -0 12:47:53.345050
 -0 01:26:00.456150
 -0 20:58:11.566770
 -0 07:36:05.189640
 -0 15:43:49.831320
 -0 04:25:09.012930
 -0 06:49:27.523750
 -0 02:57:52.015650
 -0 16:45:44.865290
 -0 21:30:57.820470
 -0 04:25:09.153950
 -0 06:49:27.105330
 -0 02:57:52.482290
 -0 16:45:44.658270
 -0 21:30:57.582190
 -0 22:30:04.183470
 -0 01:56:51.593190
 -1 00:00:00.000000
 -1 04:50:38.123010
 -1 12:31:35.234530
 -1 12:47:53.345050
 -1 01:26:00.456150
 -1 20:58:11.566770
 -1 07:36:05.189640
 -1 15:43:49.831320
 -1 04:25:09.012930
 -1 06:49:27.523750
 -1 02:57:52.015650
 -1 16:45:44.865290
 -1 21:30:57.820470
 -1 04:25:09.153950
 -1 06:49:27.105330
 -1 02:57:52.482290
 -1 16:45:44.658270
 -1 21:30:57.582190
 -1 22:30:04.183470
 -1 01:56:51.593190
 -2 00:00:00.000000
 -2 04:50:38.123010
 -2 12:31:35.234530
 -2 12:47:53.345050
 -2 01:26:00.456150
 -2 20:58:11.566770
 -2 07:36:05.189640
 -2 15:43:49.831320
 -2 04:25:09.012930
 -2 06:49:27.523750
 -2 02:57:52.015650
 -2 16:45:44.865290
 -2 21:30:57.820470
 -2 04:25:09.153950
 -2 06:49:27.105330
 -2 02:57:52.482290
 -2 16:45:44.658270
 -2 21:30:57.582190
 -2 22:30:04.183470
 -2 01:56:51.593190
 -54 00:00:00.00000
 -54 04:50:38.12301
 -54 12:31:35.23453
 -54 12:47:53.34505
 -54 01:26:00.45615
 -54 20:58:11.56677
 -54 07:36:05.18964
 -54 15:43:49.83132
 -54 04:25:09.01293
 -54 06:49:27.52375
 -54 02:57:52.01565
 -54 16:45:44.86529
 -54 21:30:57.82047
 -54 04:25:09.15395
 -54 06:49:27.10533
 -54 02:57:52.48229
 -54 16:45:44.65827
 -54 21:30:57.58219
 -54 22:30:04.18347
 -54 01:56:51.59319
 -681 00:00:00.0000
 -681 04:50:38.1230
 -681 12:31:35.2345
 -681 12:47:53.3450
 -681 01:26:00.4562
 -681 20:58:11.5668
 -681 07:36:05.1896
 -681 15:43:49.8313
 -681 04:25:09.0129
 -681 06:49:27.5237
 -681 02:57:52.0156
 -681 16:45:44.8653
 -681 21:30:57.8205
 -681 04:25:09.1539
 -681 06:49:27.1053
 -681 02:57:52.4823
 -681 16:45:44.6583
 -681 21:30:57.5822
 -681 22:30:04.1835
 -681 01:56:51.5932
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:14237"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:14439: cat mtime5.out"
at_fn_check_prepare_trace "data-out.at:14439"
( $at_check_trace; cat mtime5.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo " 00:00
 *****
 *****
 *****
 86:00
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 00:00
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:14439"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:14641: cat mtime6.out"
at_fn_check_prepare_trace "data-out.at:14641"
( $at_check_trace; cat mtime6.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "  00:00
 290:38
 751:35
 767:53
  86:00
 ******
 456:05
 943:49
 265:09
 409:27
 177:52
 ******
 ******
 265:09
 409:27
 177:52
 ******
 ******
 ******
 116:51
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
  00:00
 ******
 ******
 ******
 -86:00
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:14641"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:14843: cat mtime7.out"
at_fn_check_prepare_trace "data-out.at:14843"
( $at_check_trace; cat mtime7.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "   00:00
  290:38
  751:35
  767:53
   86:00
 1258:11
  456:05
  943:49
  265:09
  409:27
  177:52
 1005:44
 1290:57
  265:09
  409:27
  177:52
 1005:44
 1290:57
 1350:04
  116:51
 1440:00
 1730:38
 2191:35
 2207:53
 1526:00
 2698:11
 1896:05
 2383:49
 1705:09
 1849:27
 1617:52
 2445:44
 2730:57
 1705:09
 1849:27
 1617:52
 2445:44
 2730:57
 2790:04
 1556:51
 2880:00
 3170:38
 3631:35
 3647:53
 2966:00
 4138:11
 3336:05
 3823:49
 3145:09
 3289:27
 3057:52
 3885:44
 4170:57
 3145:09
 3289:27
 3057:52
 3885:44
 4170:57
 4230:04
 2996:51
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
   00:00
 -290:38
 -751:35
 -767:53
  -86:00
 *******
 -456:05
 -943:49
 -265:09
 -409:27
 -177:52
 *******
 *******
 -265:09
 -409:27
 -177:52
 *******
 *******
 *******
 -116:51
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:14843"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:15045: cat mtime7.1.out"
at_fn_check_prepare_trace "data-out.at:15045"
( $at_check_trace; cat mtime7.1.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo " 00:00.0
  290:38
  751:35
  767:53
 86:00.5
 1258:11
  456:05
  943:49
  265:09
  409:27
  177:52
 1005:44
 1290:57
  265:09
  409:27
  177:52
 1005:44
 1290:57
 1350:04
  116:51
 1440:00
 1730:38
 2191:35
 2207:53
 1526:00
 2698:11
 1896:05
 2383:49
 1705:09
 1849:27
 1617:52
 2445:44
 2730:57
 1705:09
 1849:27
 1617:52
 2445:44
 2730:57
 2790:04
 1556:51
 2880:00
 3170:38
 3631:35
 3647:53
 2966:00
 4138:11
 3336:05
 3823:49
 3145:09
 3289:27
 3057:52
 3885:44
 4170:57
 3145:09
 3289:27
 3057:52
 3885:44
 4170:57
 4230:04
 2996:51
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 00:00.0
 -290:38
 -751:35
 -767:53
  -86:00
 *******
 -456:05
 -943:49
 -265:09
 -409:27
 -177:52
 *******
 *******
 -265:09
 -409:27
 -177:52
 *******
 *******
 *******
 -116:51
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:15045"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:15247: cat mtime8.out"
at_fn_check_prepare_trace "data-out.at:15247"
( $at_check_trace; cat mtime8.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "    00:00
   290:38
   751:35
   767:53
    86:00
  1258:11
   456:05
   943:49
   265:09
   409:27
   177:52
  1005:44
  1290:57
   265:09
   409:27
   177:52
  1005:44
  1290:57
  1350:04
   116:51
  1440:00
  1730:38
  2191:35
  2207:53
  1526:00
  2698:11
  1896:05
  2383:49
  1705:09
  1849:27
  1617:52
  2445:44
  2730:57
  1705:09
  1849:27
  1617:52
  2445:44
  2730:57
  2790:04
  1556:51
  2880:00
  3170:38
  3631:35
  3647:53
  2966:00
  4138:11
  3336:05
  3823:49
  3145:09
  3289:27
  3057:52
  3885:44
  4170:57
  3145:09
  3289:27
  3057:52
  3885:44
  4170:57
  4230:04
  2996:51
 77760:00
 78050:38
 78511:35
 78527:53
 77846:00
 79018:11
 78216:05
 78703:49
 78025:09
 78169:27
 77937:52
 78765:44
 79050:57
 78025:09
 78169:27
 77937:52
 78765:44
 79050:57
 79110:04
 77876:51
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
    00:00
  -290:38
  -751:35
  -767:53
   -86:00
 -1258:11
  -456:05
  -943:49
  -265:09
  -409:27
  -177:52
 -1005:44
 -1290:57
  -265:09
  -409:27
  -177:52
 -1005:44
 -1290:57
 -1350:04
  -116:51
 -1440:00
 -1730:38
 -2191:35
 -2207:53
 -1526:00
 -2698:11
 -1896:05
 -2383:49
 -1705:09
 -1849:27
 -1617:52
 -2445:44
 -2730:57
 -1705:09
 -1849:27
 -1617:52
 -2445:44
 -2730:57
 -2790:04
 -1556:51
 -2880:00
 -3170:38
 -3631:35
 -3647:53
 -2966:00
 -4138:11
 -3336:05
 -3823:49
 -3145:09
 -3289:27
 -3057:52
 -3885:44
 -4170:57
 -3145:09
 -3289:27
 -3057:52
 -3885:44
 -4170:57
 -4230:04
 -2996:51
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:15247"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:15449: cat mtime8.1.out"
at_fn_check_prepare_trace "data-out.at:15449"
( $at_check_trace; cat mtime8.1.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "  00:00.0
 290:38.1
 751:35.2
 767:53.3
  86:00.5
  1258:11
 456:05.2
 943:49.8
 265:09.0
 409:27.5
 177:52.0
  1005:44
  1290:57
 265:09.2
 409:27.1
 177:52.5
  1005:44
  1290:57
  1350:04
 116:51.6
  1440:00
  1730:38
  2191:35
  2207:53
  1526:00
  2698:11
  1896:05
  2383:49
  1705:09
  1849:27
  1617:52
  2445:44
  2730:57
  1705:09
  1849:27
  1617:52
  2445:44
  2730:57
  2790:04
  1556:51
  2880:00
  3170:38
  3631:35
  3647:53
  2966:00
  4138:11
  3336:05
  3823:49
  3145:09
  3289:27
  3057:52
  3885:44
  4170:57
  3145:09
  3289:27
  3057:52
  3885:44
  4170:57
  4230:04
  2996:51
 77760:00
 78050:38
 78511:35
 78527:53
 77846:00
 79018:11
 78216:05
 78703:49
 78025:09
 78169:27
 77937:52
 78765:44
 79050:57
 78025:09
 78169:27
 77937:52
 78765:44
 79050:57
 79110:04
 77876:51
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
  00:00.0
  -290:38
  -751:35
  -767:53
 -86:00.5
 -1258:11
  -456:05
  -943:49
  -265:09
  -409:27
  -177:52
 -1005:44
 -1290:57
  -265:09
  -409:27
  -177:52
 -1005:44
 -1290:57
 -1350:04
  -116:51
 -1440:00
 -1730:38
 -2191:35
 -2207:53
 -1526:00
 -2698:11
 -1896:05
 -2383:49
 -1705:09
 -1849:27
 -1617:52
 -2445:44
 -2730:57
 -1705:09
 -1849:27
 -1617:52
 -2445:44
 -2730:57
 -2790:04
 -1556:51
 -2880:00
 -3170:38
 -3631:35
 -3647:53
 -2966:00
 -4138:11
 -3336:05
 -3823:49
 -3145:09
 -3289:27
 -3057:52
 -3885:44
 -4170:57
 -3145:09
 -3289:27
 -3057:52
 -3885:44
 -4170:57
 -4230:04
 -2996:51
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:15449"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:15651: cat mtime8.2.out"
at_fn_check_prepare_trace "data-out.at:15651"
( $at_check_trace; cat mtime8.2.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo " 00:00.00
 290:38.1
 751:35.2
 767:53.3
 86:00.46
  1258:11
 456:05.2
 943:49.8
 265:09.0
 409:27.5
 177:52.0
  1005:44
  1290:57
 265:09.2
 409:27.1
 177:52.5
  1005:44
  1290:57
  1350:04
 116:51.6
  1440:00
  1730:38
  2191:35
  2207:53
  1526:00
  2698:11
  1896:05
  2383:49
  1705:09
  1849:27
  1617:52
  2445:44
  2730:57
  1705:09
  1849:27
  1617:52
  2445:44
  2730:57
  2790:04
  1556:51
  2880:00
  3170:38
  3631:35
  3647:53
  2966:00
  4138:11
  3336:05
  3823:49
  3145:09
  3289:27
  3057:52
  3885:44
  4170:57
  3145:09
  3289:27
  3057:52
  3885:44
  4170:57
  4230:04
  2996:51
 77760:00
 78050:38
 78511:35
 78527:53
 77846:00
 79018:11
 78216:05
 78703:49
 78025:09
 78169:27
 77937:52
 78765:44
 79050:57
 78025:09
 78169:27
 77937:52
 78765:44
 79050:57
 79110:04
 77876:51
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 00:00.00
  -290:38
  -751:35
  -767:53
 -86:00.5
 -1258:11
  -456:05
  -943:49
  -265:09
  -409:27
  -177:52
 -1005:44
 -1290:57
  -265:09
  -409:27
  -177:52
 -1005:44
 -1290:57
 -1350:04
  -116:51
 -1440:00
 -1730:38
 -2191:35
 -2207:53
 -1526:00
 -2698:11
 -1896:05
 -2383:49
 -1705:09
 -1849:27
 -1617:52
 -2445:44
 -2730:57
 -1705:09
 -1849:27
 -1617:52
 -2445:44
 -2730:57
 -2790:04
 -1556:51
 -2880:00
 -3170:38
 -3631:35
 -3647:53
 -2966:00
 -4138:11
 -3336:05
 -3823:49
 -3145:09
 -3289:27
 -3057:52
 -3885:44
 -4170:57
 -3145:09
 -3289:27
 -3057:52
 -3885:44
 -4170:57
 -4230:04
 -2996:51
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
 ********
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:15651"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:15853: cat mtime9.out"
at_fn_check_prepare_trace "data-out.at:15853"
( $at_check_trace; cat mtime9.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "     00:00
    290:38
    751:35
    767:53
     86:00
   1258:11
    456:05
    943:49
    265:09
    409:27
    177:52
   1005:44
   1290:57
    265:09
    409:27
    177:52
   1005:44
   1290:57
   1350:04
    116:51
   1440:00
   1730:38
   2191:35
   2207:53
   1526:00
   2698:11
   1896:05
   2383:49
   1705:09
   1849:27
   1617:52
   2445:44
   2730:57
   1705:09
   1849:27
   1617:52
   2445:44
   2730:57
   2790:04
   1556:51
   2880:00
   3170:38
   3631:35
   3647:53
   2966:00
   4138:11
   3336:05
   3823:49
   3145:09
   3289:27
   3057:52
   3885:44
   4170:57
   3145:09
   3289:27
   3057:52
   3885:44
   4170:57
   4230:04
   2996:51
  77760:00
  78050:38
  78511:35
  78527:53
  77846:00
  79018:11
  78216:05
  78703:49
  78025:09
  78169:27
  77937:52
  78765:44
  79050:57
  78025:09
  78169:27
  77937:52
  78765:44
  79050:57
  79110:04
  77876:51
 980640:00
 980930:38
 981391:35
 981407:53
 980726:00
 981898:11
 981096:05
 981583:49
 980905:09
 981049:27
 980817:52
 981645:44
 981930:57
 980905:09
 981049:27
 980817:52
 981645:44
 981930:57
 981990:04
 980756:51
     00:00
   -290:38
   -751:35
   -767:53
    -86:00
  -1258:11
   -456:05
   -943:49
   -265:09
   -409:27
   -177:52
  -1005:44
  -1290:57
   -265:09
   -409:27
   -177:52
  -1005:44
  -1290:57
  -1350:04
   -116:51
  -1440:00
  -1730:38
  -2191:35
  -2207:53
  -1526:00
  -2698:11
  -1896:05
  -2383:49
  -1705:09
  -1849:27
  -1617:52
  -2445:44
  -2730:57
  -1705:09
  -1849:27
  -1617:52
  -2445:44
  -2730:57
  -2790:04
  -1556:51
  -2880:00
  -3170:38
  -3631:35
  -3647:53
  -2966:00
  -4138:11
  -3336:05
  -3823:49
  -3145:09
  -3289:27
  -3057:52
  -3885:44
  -4170:57
  -3145:09
  -3289:27
  -3057:52
  -3885:44
  -4170:57
  -4230:04
  -2996:51
 -77760:00
 -78050:38
 -78511:35
 -78527:53
 -77846:00
 -79018:11
 -78216:05
 -78703:49
 -78025:09
 -78169:27
 -77937:52
 -78765:44
 -79050:57
 -78025:09
 -78169:27
 -77937:52
 -78765:44
 -79050:57
 -79110:04
 -77876:51
 *********
 *********
 *********
 *********
 *********
 *********
 *********
 *********
 *********
 *********
 *********
 *********
 *********
 *********
 *********
 *********
 *********
 *********
 *********
 *********
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:15853"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:16055: cat mtime9.1.out"
at_fn_check_prepare_trace "data-out.at:16055"
( $at_check_trace; cat mtime9.1.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "   00:00.0
  290:38.1
  751:35.2
  767:53.3
   86:00.5
 1258:11.6
  456:05.2
  943:49.8
  265:09.0
  409:27.5
  177:52.0
 1005:44.9
 1290:57.8
  265:09.2
  409:27.1
  177:52.5
 1005:44.7
 1290:57.6
 1350:04.2
  116:51.6
 1440:00.0
 1730:38.1
 2191:35.2
 2207:53.3
 1526:00.5
 2698:11.6
 1896:05.2
 2383:49.8
 1705:09.0
 1849:27.5
 1617:52.0
 2445:44.9
 2730:57.8
 1705:09.2
 1849:27.1
 1617:52.5
 2445:44.7
 2730:57.6
 2790:04.2
 1556:51.6
 2880:00.0
 3170:38.1
 3631:35.2
 3647:53.3
 2966:00.5
 4138:11.6
 3336:05.2
 3823:49.8
 3145:09.0
 3289:27.5
 3057:52.0
 3885:44.9
 4170:57.8
 3145:09.2
 3289:27.1
 3057:52.5
 3885:44.7
 4170:57.6
 4230:04.2
 2996:51.6
  77760:00
  78050:38
  78511:35
  78527:53
  77846:00
  79018:11
  78216:05
  78703:49
  78025:09
  78169:27
  77937:52
  78765:44
  79050:57
  78025:09
  78169:27
  77937:52
  78765:44
  79050:57
  79110:04
  77876:51
 980640:00
 980930:38
 981391:35
 981407:53
 980726:00
 981898:11
 981096:05
 981583:49
 980905:09
 981049:27
 980817:52
 981645:44
 981930:57
 980905:09
 981049:27
 980817:52
 981645:44
 981930:57
 981990:04
 980756:51
   00:00.0
 -290:38.1
 -751:35.2
 -767:53.3
  -86:00.5
  -1258:11
 -456:05.2
 -943:49.8
 -265:09.0
 -409:27.5
 -177:52.0
  -1005:44
  -1290:57
 -265:09.2
 -409:27.1
 -177:52.5
  -1005:44
  -1290:57
  -1350:04
 -116:51.6
  -1440:00
  -1730:38
  -2191:35
  -2207:53
  -1526:00
  -2698:11
  -1896:05
  -2383:49
  -1705:09
  -1849:27
  -1617:52
  -2445:44
  -2730:57
  -1705:09
  -1849:27
  -1617:52
  -2445:44
  -2730:57
  -2790:04
  -1556:51
  -2880:00
  -3170:38
  -3631:35
  -3647:53
  -2966:00
  -4138:11
  -3336:05
  -3823:49
  -3145:09
  -3289:27
  -3057:52
  -3885:44
  -4170:57
  -3145:09
  -3289:27
  -3057:52
  -3885:44
  -4170:57
  -4230:04
  -2996:51
 -77760:00
 -78050:38
 -78511:35
 -78527:53
 -77846:00
 -79018:11
 -78216:05
 -78703:49
 -78025:09
 -78169:27
 -77937:52
 -78765:44
 -79050:57
 -78025:09
 -78169:27
 -77937:52
 -78765:44
 -79050:57
 -79110:04
 -77876:51
 *********
 *********
 *********
 *********
 *********
 *********
 *********
 *********
 *********
 *********
 *********
 *********
 *********
 *********
 *********
 *********
 *********
 *********
 *********
 *********
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:16055"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:16257: cat mtime9.2.out"
at_fn_check_prepare_trace "data-out.at:16257"
( $at_check_trace; cat mtime9.2.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "  00:00.00
 290:38.12
 751:35.23
 767:53.35
  86:00.46
 1258:11.6
 456:05.19
 943:49.83
 265:09.01
 409:27.52
 177:52.02
 1005:44.9
 1290:57.8
 265:09.15
 409:27.11
 177:52.48
 1005:44.7
 1290:57.6
 1350:04.2
 116:51.59
 1440:00.0
 1730:38.1
 2191:35.2
 2207:53.3
 1526:00.5
 2698:11.6
 1896:05.2
 2383:49.8
 1705:09.0
 1849:27.5
 1617:52.0
 2445:44.9
 2730:57.8
 1705:09.2
 1849:27.1
 1617:52.5
 2445:44.7
 2730:57.6
 2790:04.2
 1556:51.6
 2880:00.0
 3170:38.1
 3631:35.2
 3647:53.3
 2966:00.5
 4138:11.6
 3336:05.2
 3823:49.8
 3145:09.0
 3289:27.5
 3057:52.0
 3885:44.9
 4170:57.8
 3145:09.2
 3289:27.1
 3057:52.5
 3885:44.7
 4170:57.6
 4230:04.2
 2996:51.6
  77760:00
  78050:38
  78511:35
  78527:53
  77846:00
  79018:11
  78216:05
  78703:49
  78025:09
  78169:27
  77937:52
  78765:44
  79050:57
  78025:09
  78169:27
  77937:52
  78765:44
  79050:57
  79110:04
  77876:51
 980640:00
 980930:38
 981391:35
 981407:53
 980726:00
 981898:11
 981096:05
 981583:49
 980905:09
 981049:27
 980817:52
 981645:44
 981930:57
 980905:09
 981049:27
 980817:52
 981645:44
 981930:57
 981990:04
 980756:51
  00:00.00
 -290:38.1
 -751:35.2
 -767:53.3
 -86:00.46
  -1258:11
 -456:05.2
 -943:49.8
 -265:09.0
 -409:27.5
 -177:52.0
  -1005:44
  -1290:57
 -265:09.2
 -409:27.1
 -177:52.5
  -1005:44
  -1290:57
  -1350:04
 -116:51.6
  -1440:00
  -1730:38
  -2191:35
  -2207:53
  -1526:00
  -2698:11
  -1896:05
  -2383:49
  -1705:09
  -1849:27
  -1617:52
  -2445:44
  -2730:57
  -1705:09
  -1849:27
  -1617:52
  -2445:44
  -2730:57
  -2790:04
  -1556:51
  -2880:00
  -3170:38
  -3631:35
  -3647:53
  -2966:00
  -4138:11
  -3336:05
  -3823:49
  -3145:09
  -3289:27
  -3057:52
  -3885:44
  -4170:57
  -3145:09
  -3289:27
  -3057:52
  -3885:44
  -4170:57
  -4230:04
  -2996:51
 -77760:00
 -78050:38
 -78511:35
 -78527:53
 -77846:00
 -79018:11
 -78216:05
 -78703:49
 -78025:09
 -78169:27
 -77937:52
 -78765:44
 -79050:57
 -78025:09
 -78169:27
 -77937:52
 -78765:44
 -79050:57
 -79110:04
 -77876:51
 *********
 *********
 *********
 *********
 *********
 *********
 *********
 *********
 *********
 *********
 *********
 *********
 *********
 *********
 *********
 *********
 *********
 *********
 *********
 *********
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:16257"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:16459: cat mtime9.3.out"
at_fn_check_prepare_trace "data-out.at:16459"
( $at_check_trace; cat mtime9.3.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo " 00:00.000
 290:38.12
 751:35.23
 767:53.35
 86:00.456
 1258:11.6
 456:05.19
 943:49.83
 265:09.01
 409:27.52
 177:52.02
 1005:44.9
 1290:57.8
 265:09.15
 409:27.11
 177:52.48
 1005:44.7
 1290:57.6
 1350:04.2
 116:51.59
 1440:00.0
 1730:38.1
 2191:35.2
 2207:53.3
 1526:00.5
 2698:11.6
 1896:05.2
 2383:49.8
 1705:09.0
 1849:27.5
 1617:52.0
 2445:44.9
 2730:57.8
 1705:09.2
 1849:27.1
 1617:52.5
 2445:44.7
 2730:57.6
 2790:04.2
 1556:51.6
 2880:00.0
 3170:38.1
 3631:35.2
 3647:53.3
 2966:00.5
 4138:11.6
 3336:05.2
 3823:49.8
 3145:09.0
 3289:27.5
 3057:52.0
 3885:44.9
 4170:57.8
 3145:09.2
 3289:27.1
 3057:52.5
 3885:44.7
 4170:57.6
 4230:04.2
 2996:51.6
  77760:00
  78050:38
  78511:35
  78527:53
  77846:00
  79018:11
  78216:05
  78703:49
  78025:09
  78169:27
  77937:52
  78765:44
  79050:57
  78025:09
  78169:27
  77937:52
  78765:44
  79050:57
  79110:04
  77876:51
 980640:00
 980930:38
 981391:35
 981407:53
 980726:00
 981898:11
 981096:05
 981583:49
 980905:09
 981049:27
 980817:52
 981645:44
 981930:57
 980905:09
 981049:27
 980817:52
 981645:44
 981930:57
 981990:04
 980756:51
 00:00.000
 -290:38.1
 -751:35.2
 -767:53.3
 -86:00.46
  -1258:11
 -456:05.2
 -943:49.8
 -265:09.0
 -409:27.5
 -177:52.0
  -1005:44
  -1290:57
 -265:09.2
 -409:27.1
 -177:52.5
  -1005:44
  -1290:57
  -1350:04
 -116:51.6
  -1440:00
  -1730:38
  -2191:35
  -2207:53
  -1526:00
  -2698:11
  -1896:05
  -2383:49
  -1705:09
  -1849:27
  -1617:52
  -2445:44
  -2730:57
  -1705:09
  -1849:27
  -1617:52
  -2445:44
  -2730:57
  -2790:04
  -1556:51
  -2880:00
  -3170:38
  -3631:35
  -3647:53
  -2966:00
  -4138:11
  -3336:05
  -3823:49
  -3145:09
  -3289:27
  -3057:52
  -3885:44
  -4170:57
  -3145:09
  -3289:27
  -3057:52
  -3885:44
  -4170:57
  -4230:04
  -2996:51
 -77760:00
 -78050:38
 -78511:35
 -78527:53
 -77846:00
 -79018:11
 -78216:05
 -78703:49
 -78025:09
 -78169:27
 -77937:52
 -78765:44
 -79050:57
 -78025:09
 -78169:27
 -77937:52
 -78765:44
 -79050:57
 -79110:04
 -77876:51
 *********
 *********
 *********
 *********
 *********
 *********
 *********
 *********
 *********
 *********
 *********
 *********
 *********
 *********
 *********
 *********
 *********
 *********
 *********
 *********
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:16459"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:16661: cat mtime10.out"
at_fn_check_prepare_trace "data-out.at:16661"
( $at_check_trace; cat mtime10.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "      00:00
     290:38
     751:35
     767:53
      86:00
    1258:11
     456:05
     943:49
     265:09
     409:27
     177:52
    1005:44
    1290:57
     265:09
     409:27
     177:52
    1005:44
    1290:57
    1350:04
     116:51
    1440:00
    1730:38
    2191:35
    2207:53
    1526:00
    2698:11
    1896:05
    2383:49
    1705:09
    1849:27
    1617:52
    2445:44
    2730:57
    1705:09
    1849:27
    1617:52
    2445:44
    2730:57
    2790:04
    1556:51
    2880:00
    3170:38
    3631:35
    3647:53
    2966:00
    4138:11
    3336:05
    3823:49
    3145:09
    3289:27
    3057:52
    3885:44
    4170:57
    3145:09
    3289:27
    3057:52
    3885:44
    4170:57
    4230:04
    2996:51
   77760:00
   78050:38
   78511:35
   78527:53
   77846:00
   79018:11
   78216:05
   78703:49
   78025:09
   78169:27
   77937:52
   78765:44
   79050:57
   78025:09
   78169:27
   77937:52
   78765:44
   79050:57
   79110:04
   77876:51
  980640:00
  980930:38
  981391:35
  981407:53
  980726:00
  981898:11
  981096:05
  981583:49
  980905:09
  981049:27
  980817:52
  981645:44
  981930:57
  980905:09
  981049:27
  980817:52
  981645:44
  981930:57
  981990:04
  980756:51
      00:00
    -290:38
    -751:35
    -767:53
     -86:00
   -1258:11
    -456:05
    -943:49
    -265:09
    -409:27
    -177:52
   -1005:44
   -1290:57
    -265:09
    -409:27
    -177:52
   -1005:44
   -1290:57
   -1350:04
    -116:51
   -1440:00
   -1730:38
   -2191:35
   -2207:53
   -1526:00
   -2698:11
   -1896:05
   -2383:49
   -1705:09
   -1849:27
   -1617:52
   -2445:44
   -2730:57
   -1705:09
   -1849:27
   -1617:52
   -2445:44
   -2730:57
   -2790:04
   -1556:51
   -2880:00
   -3170:38
   -3631:35
   -3647:53
   -2966:00
   -4138:11
   -3336:05
   -3823:49
   -3145:09
   -3289:27
   -3057:52
   -3885:44
   -4170:57
   -3145:09
   -3289:27
   -3057:52
   -3885:44
   -4170:57
   -4230:04
   -2996:51
  -77760:00
  -78050:38
  -78511:35
  -78527:53
  -77846:00
  -79018:11
  -78216:05
  -78703:49
  -78025:09
  -78169:27
  -77937:52
  -78765:44
  -79050:57
  -78025:09
  -78169:27
  -77937:52
  -78765:44
  -79050:57
  -79110:04
  -77876:51
 -980640:00
 -980930:38
 -981391:35
 -981407:53
 -980726:00
 -981898:11
 -981096:05
 -981583:49
 -980905:09
 -981049:27
 -980817:52
 -981645:44
 -981930:57
 -980905:09
 -981049:27
 -980817:52
 -981645:44
 -981930:57
 -981990:04
 -980756:51
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:16661"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:16863: cat mtime10.1.out"
at_fn_check_prepare_trace "data-out.at:16863"
( $at_check_trace; cat mtime10.1.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "    00:00.0
   290:38.1
   751:35.2
   767:53.3
    86:00.5
  1258:11.6
   456:05.2
   943:49.8
   265:09.0
   409:27.5
   177:52.0
  1005:44.9
  1290:57.8
   265:09.2
   409:27.1
   177:52.5
  1005:44.7
  1290:57.6
  1350:04.2
   116:51.6
  1440:00.0
  1730:38.1
  2191:35.2
  2207:53.3
  1526:00.5
  2698:11.6
  1896:05.2
  2383:49.8
  1705:09.0
  1849:27.5
  1617:52.0
  2445:44.9
  2730:57.8
  1705:09.2
  1849:27.1
  1617:52.5
  2445:44.7
  2730:57.6
  2790:04.2
  1556:51.6
  2880:00.0
  3170:38.1
  3631:35.2
  3647:53.3
  2966:00.5
  4138:11.6
  3336:05.2
  3823:49.8
  3145:09.0
  3289:27.5
  3057:52.0
  3885:44.9
  4170:57.8
  3145:09.2
  3289:27.1
  3057:52.5
  3885:44.7
  4170:57.6
  4230:04.2
  2996:51.6
 77760:00.0
 78050:38.1
 78511:35.2
 78527:53.3
 77846:00.5
 79018:11.6
 78216:05.2
 78703:49.8
 78025:09.0
 78169:27.5
 77937:52.0
 78765:44.9
 79050:57.8
 78025:09.2
 78169:27.1
 77937:52.5
 78765:44.7
 79050:57.6
 79110:04.2
 77876:51.6
  980640:00
  980930:38
  981391:35
  981407:53
  980726:00
  981898:11
  981096:05
  981583:49
  980905:09
  981049:27
  980817:52
  981645:44
  981930:57
  980905:09
  981049:27
  980817:52
  981645:44
  981930:57
  981990:04
  980756:51
    00:00.0
  -290:38.1
  -751:35.2
  -767:53.3
   -86:00.5
 -1258:11.6
  -456:05.2
  -943:49.8
  -265:09.0
  -409:27.5
  -177:52.0
 -1005:44.9
 -1290:57.8
  -265:09.2
  -409:27.1
  -177:52.5
 -1005:44.7
 -1290:57.6
 -1350:04.2
  -116:51.6
 -1440:00.0
 -1730:38.1
 -2191:35.2
 -2207:53.3
 -1526:00.5
 -2698:11.6
 -1896:05.2
 -2383:49.8
 -1705:09.0
 -1849:27.5
 -1617:52.0
 -2445:44.9
 -2730:57.8
 -1705:09.2
 -1849:27.1
 -1617:52.5
 -2445:44.7
 -2730:57.6
 -2790:04.2
 -1556:51.6
 -2880:00.0
 -3170:38.1
 -3631:35.2
 -3647:53.3
 -2966:00.5
 -4138:11.6
 -3336:05.2
 -3823:49.8
 -3145:09.0
 -3289:27.5
 -3057:52.0
 -3885:44.9
 -4170:57.8
 -3145:09.2
 -3289:27.1
 -3057:52.5
 -3885:44.7
 -4170:57.6
 -4230:04.2
 -2996:51.6
  -77760:00
  -78050:38
  -78511:35
  -78527:53
  -77846:00
  -79018:11
  -78216:05
  -78703:49
  -78025:09
  -78169:27
  -77937:52
  -78765:44
  -79050:57
  -78025:09
  -78169:27
  -77937:52
  -78765:44
  -79050:57
  -79110:04
  -77876:51
 -980640:00
 -980930:38
 -981391:35
 -981407:53
 -980726:00
 -981898:11
 -981096:05
 -981583:49
 -980905:09
 -981049:27
 -980817:52
 -981645:44
 -981930:57
 -980905:09
 -981049:27
 -980817:52
 -981645:44
 -981930:57
 -981990:04
 -980756:51
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:16863"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:17065: cat mtime10.2.out"
at_fn_check_prepare_trace "data-out.at:17065"
( $at_check_trace; cat mtime10.2.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "   00:00.00
  290:38.12
  751:35.23
  767:53.35
   86:00.46
 1258:11.57
  456:05.19
  943:49.83
  265:09.01
  409:27.52
  177:52.02
 1005:44.87
 1290:57.82
  265:09.15
  409:27.11
  177:52.48
 1005:44.66
 1290:57.58
 1350:04.18
  116:51.59
 1440:00.00
 1730:38.12
 2191:35.23
 2207:53.35
 1526:00.46
 2698:11.57
 1896:05.19
 2383:49.83
 1705:09.01
 1849:27.52
 1617:52.02
 2445:44.87
 2730:57.82
 1705:09.15
 1849:27.11
 1617:52.48
 2445:44.66
 2730:57.58
 2790:04.18
 1556:51.59
 2880:00.00
 3170:38.12
 3631:35.23
 3647:53.35
 2966:00.46
 4138:11.57
 3336:05.19
 3823:49.83
 3145:09.01
 3289:27.52
 3057:52.02
 3885:44.87
 4170:57.82
 3145:09.15
 3289:27.11
 3057:52.48
 3885:44.66
 4170:57.58
 4230:04.18
 2996:51.59
 77760:00.0
 78050:38.1
 78511:35.2
 78527:53.3
 77846:00.5
 79018:11.6
 78216:05.2
 78703:49.8
 78025:09.0
 78169:27.5
 77937:52.0
 78765:44.9
 79050:57.8
 78025:09.2
 78169:27.1
 77937:52.5
 78765:44.7
 79050:57.6
 79110:04.2
 77876:51.6
  980640:00
  980930:38
  981391:35
  981407:53
  980726:00
  981898:11
  981096:05
  981583:49
  980905:09
  981049:27
  980817:52
  981645:44
  981930:57
  980905:09
  981049:27
  980817:52
  981645:44
  981930:57
  981990:04
  980756:51
   00:00.00
 -290:38.12
 -751:35.23
 -767:53.35
  -86:00.46
 -1258:11.6
 -456:05.19
 -943:49.83
 -265:09.01
 -409:27.52
 -177:52.02
 -1005:44.9
 -1290:57.8
 -265:09.15
 -409:27.11
 -177:52.48
 -1005:44.7
 -1290:57.6
 -1350:04.2
 -116:51.59
 -1440:00.0
 -1730:38.1
 -2191:35.2
 -2207:53.3
 -1526:00.5
 -2698:11.6
 -1896:05.2
 -2383:49.8
 -1705:09.0
 -1849:27.5
 -1617:52.0
 -2445:44.9
 -2730:57.8
 -1705:09.2
 -1849:27.1
 -1617:52.5
 -2445:44.7
 -2730:57.6
 -2790:04.2
 -1556:51.6
 -2880:00.0
 -3170:38.1
 -3631:35.2
 -3647:53.3
 -2966:00.5
 -4138:11.6
 -3336:05.2
 -3823:49.8
 -3145:09.0
 -3289:27.5
 -3057:52.0
 -3885:44.9
 -4170:57.8
 -3145:09.2
 -3289:27.1
 -3057:52.5
 -3885:44.7
 -4170:57.6
 -4230:04.2
 -2996:51.6
  -77760:00
  -78050:38
  -78511:35
  -78527:53
  -77846:00
  -79018:11
  -78216:05
  -78703:49
  -78025:09
  -78169:27
  -77937:52
  -78765:44
  -79050:57
  -78025:09
  -78169:27
  -77937:52
  -78765:44
  -79050:57
  -79110:04
  -77876:51
 -980640:00
 -980930:38
 -981391:35
 -981407:53
 -980726:00
 -981898:11
 -981096:05
 -981583:49
 -980905:09
 -981049:27
 -980817:52
 -981645:44
 -981930:57
 -980905:09
 -981049:27
 -980817:52
 -981645:44
 -981930:57
 -981990:04
 -980756:51
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:17065"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:17267: cat mtime10.3.out"
at_fn_check_prepare_trace "data-out.at:17267"
( $at_check_trace; cat mtime10.3.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "  00:00.000
 290:38.123
 751:35.235
 767:53.345
  86:00.456
 1258:11.57
 456:05.190
 943:49.831
 265:09.013
 409:27.524
 177:52.016
 1005:44.87
 1290:57.82
 265:09.154
 409:27.105
 177:52.482
 1005:44.66
 1290:57.58
 1350:04.18
 116:51.593
 1440:00.00
 1730:38.12
 2191:35.23
 2207:53.35
 1526:00.46
 2698:11.57
 1896:05.19
 2383:49.83
 1705:09.01
 1849:27.52
 1617:52.02
 2445:44.87
 2730:57.82
 1705:09.15
 1849:27.11
 1617:52.48
 2445:44.66
 2730:57.58
 2790:04.18
 1556:51.59
 2880:00.00
 3170:38.12
 3631:35.23
 3647:53.35
 2966:00.46
 4138:11.57
 3336:05.19
 3823:49.83
 3145:09.01
 3289:27.52
 3057:52.02
 3885:44.87
 4170:57.82
 3145:09.15
 3289:27.11
 3057:52.48
 3885:44.66
 4170:57.58
 4230:04.18
 2996:51.59
 77760:00.0
 78050:38.1
 78511:35.2
 78527:53.3
 77846:00.5
 79018:11.6
 78216:05.2
 78703:49.8
 78025:09.0
 78169:27.5
 77937:52.0
 78765:44.9
 79050:57.8
 78025:09.2
 78169:27.1
 77937:52.5
 78765:44.7
 79050:57.6
 79110:04.2
 77876:51.6
  980640:00
  980930:38
  981391:35
  981407:53
  980726:00
  981898:11
  981096:05
  981583:49
  980905:09
  981049:27
  980817:52
  981645:44
  981930:57
  980905:09
  981049:27
  980817:52
  981645:44
  981930:57
  981990:04
  980756:51
  00:00.000
 -290:38.12
 -751:35.23
 -767:53.35
 -86:00.456
 -1258:11.6
 -456:05.19
 -943:49.83
 -265:09.01
 -409:27.52
 -177:52.02
 -1005:44.9
 -1290:57.8
 -265:09.15
 -409:27.11
 -177:52.48
 -1005:44.7
 -1290:57.6
 -1350:04.2
 -116:51.59
 -1440:00.0
 -1730:38.1
 -2191:35.2
 -2207:53.3
 -1526:00.5
 -2698:11.6
 -1896:05.2
 -2383:49.8
 -1705:09.0
 -1849:27.5
 -1617:52.0
 -2445:44.9
 -2730:57.8
 -1705:09.2
 -1849:27.1
 -1617:52.5
 -2445:44.7
 -2730:57.6
 -2790:04.2
 -1556:51.6
 -2880:00.0
 -3170:38.1
 -3631:35.2
 -3647:53.3
 -2966:00.5
 -4138:11.6
 -3336:05.2
 -3823:49.8
 -3145:09.0
 -3289:27.5
 -3057:52.0
 -3885:44.9
 -4170:57.8
 -3145:09.2
 -3289:27.1
 -3057:52.5
 -3885:44.7
 -4170:57.6
 -4230:04.2
 -2996:51.6
  -77760:00
  -78050:38
  -78511:35
  -78527:53
  -77846:00
  -79018:11
  -78216:05
  -78703:49
  -78025:09
  -78169:27
  -77937:52
  -78765:44
  -79050:57
  -78025:09
  -78169:27
  -77937:52
  -78765:44
  -79050:57
  -79110:04
  -77876:51
 -980640:00
 -980930:38
 -981391:35
 -981407:53
 -980726:00
 -981898:11
 -981096:05
 -981583:49
 -980905:09
 -981049:27
 -980817:52
 -981645:44
 -981930:57
 -980905:09
 -981049:27
 -980817:52
 -981645:44
 -981930:57
 -981990:04
 -980756:51
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:17267"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:17469: cat mtime10.4.out"
at_fn_check_prepare_trace "data-out.at:17469"
( $at_check_trace; cat mtime10.4.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo " 00:00.0000
 290:38.123
 751:35.235
 767:53.345
 86:00.4561
 1258:11.57
 456:05.190
 943:49.831
 265:09.013
 409:27.524
 177:52.016
 1005:44.87
 1290:57.82
 265:09.154
 409:27.105
 177:52.482
 1005:44.66
 1290:57.58
 1350:04.18
 116:51.593
 1440:00.00
 1730:38.12
 2191:35.23
 2207:53.35
 1526:00.46
 2698:11.57
 1896:05.19
 2383:49.83
 1705:09.01
 1849:27.52
 1617:52.02
 2445:44.87
 2730:57.82
 1705:09.15
 1849:27.11
 1617:52.48
 2445:44.66
 2730:57.58
 2790:04.18
 1556:51.59
 2880:00.00
 3170:38.12
 3631:35.23
 3647:53.35
 2966:00.46
 4138:11.57
 3336:05.19
 3823:49.83
 3145:09.01
 3289:27.52
 3057:52.02
 3885:44.87
 4170:57.82
 3145:09.15
 3289:27.11
 3057:52.48
 3885:44.66
 4170:57.58
 4230:04.18
 2996:51.59
 77760:00.0
 78050:38.1
 78511:35.2
 78527:53.3
 77846:00.5
 79018:11.6
 78216:05.2
 78703:49.8
 78025:09.0
 78169:27.5
 77937:52.0
 78765:44.9
 79050:57.8
 78025:09.2
 78169:27.1
 77937:52.5
 78765:44.7
 79050:57.6
 79110:04.2
 77876:51.6
  980640:00
  980930:38
  981391:35
  981407:53
  980726:00
  981898:11
  981096:05
  981583:49
  980905:09
  981049:27
  980817:52
  981645:44
  981930:57
  980905:09
  981049:27
  980817:52
  981645:44
  981930:57
  981990:04
  980756:51
 00:00.0000
 -290:38.12
 -751:35.23
 -767:53.35
 -86:00.456
 -1258:11.6
 -456:05.19
 -943:49.83
 -265:09.01
 -409:27.52
 -177:52.02
 -1005:44.9
 -1290:57.8
 -265:09.15
 -409:27.11
 -177:52.48
 -1005:44.7
 -1290:57.6
 -1350:04.2
 -116:51.59
 -1440:00.0
 -1730:38.1
 -2191:35.2
 -2207:53.3
 -1526:00.5
 -2698:11.6
 -1896:05.2
 -2383:49.8
 -1705:09.0
 -1849:27.5
 -1617:52.0
 -2445:44.9
 -2730:57.8
 -1705:09.2
 -1849:27.1
 -1617:52.5
 -2445:44.7
 -2730:57.6
 -2790:04.2
 -1556:51.6
 -2880:00.0
 -3170:38.1
 -3631:35.2
 -3647:53.3
 -2966:00.5
 -4138:11.6
 -3336:05.2
 -3823:49.8
 -3145:09.0
 -3289:27.5
 -3057:52.0
 -3885:44.9
 -4170:57.8
 -3145:09.2
 -3289:27.1
 -3057:52.5
 -3885:44.7
 -4170:57.6
 -4230:04.2
 -2996:51.6
  -77760:00
  -78050:38
  -78511:35
  -78527:53
  -77846:00
  -79018:11
  -78216:05
  -78703:49
  -78025:09
  -78169:27
  -77937:52
  -78765:44
  -79050:57
  -78025:09
  -78169:27
  -77937:52
  -78765:44
  -79050:57
  -79110:04
  -77876:51
 -980640:00
 -980930:38
 -981391:35
 -981407:53
 -980726:00
 -981898:11
 -981096:05
 -981583:49
 -980905:09
 -981049:27
 -980817:52
 -981645:44
 -981930:57
 -980905:09
 -981049:27
 -980817:52
 -981645:44
 -981930:57
 -981990:04
 -980756:51
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:17469"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:17671: cat mtime11.out"
at_fn_check_prepare_trace "data-out.at:17671"
( $at_check_trace; cat mtime11.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "       00:00
      290:38
      751:35
      767:53
       86:00
     1258:11
      456:05
      943:49
      265:09
      409:27
      177:52
     1005:44
     1290:57
      265:09
      409:27
      177:52
     1005:44
     1290:57
     1350:04
      116:51
     1440:00
     1730:38
     2191:35
     2207:53
     1526:00
     2698:11
     1896:05
     2383:49
     1705:09
     1849:27
     1617:52
     2445:44
     2730:57
     1705:09
     1849:27
     1617:52
     2445:44
     2730:57
     2790:04
     1556:51
     2880:00
     3170:38
     3631:35
     3647:53
     2966:00
     4138:11
     3336:05
     3823:49
     3145:09
     3289:27
     3057:52
     3885:44
     4170:57
     3145:09
     3289:27
     3057:52
     3885:44
     4170:57
     4230:04
     2996:51
    77760:00
    78050:38
    78511:35
    78527:53
    77846:00
    79018:11
    78216:05
    78703:49
    78025:09
    78169:27
    77937:52
    78765:44
    79050:57
    78025:09
    78169:27
    77937:52
    78765:44
    79050:57
    79110:04
    77876:51
   980640:00
   980930:38
   981391:35
   981407:53
   980726:00
   981898:11
   981096:05
   981583:49
   980905:09
   981049:27
   980817:52
   981645:44
   981930:57
   980905:09
   981049:27
   980817:52
   981645:44
   981930:57
   981990:04
   980756:51
       00:00
     -290:38
     -751:35
     -767:53
      -86:00
    -1258:11
     -456:05
     -943:49
     -265:09
     -409:27
     -177:52
    -1005:44
    -1290:57
     -265:09
     -409:27
     -177:52
    -1005:44
    -1290:57
    -1350:04
     -116:51
    -1440:00
    -1730:38
    -2191:35
    -2207:53
    -1526:00
    -2698:11
    -1896:05
    -2383:49
    -1705:09
    -1849:27
    -1617:52
    -2445:44
    -2730:57
    -1705:09
    -1849:27
    -1617:52
    -2445:44
    -2730:57
    -2790:04
    -1556:51
    -2880:00
    -3170:38
    -3631:35
    -3647:53
    -2966:00
    -4138:11
    -3336:05
    -3823:49
    -3145:09
    -3289:27
    -3057:52
    -3885:44
    -4170:57
    -3145:09
    -3289:27
    -3057:52
    -3885:44
    -4170:57
    -4230:04
    -2996:51
   -77760:00
   -78050:38
   -78511:35
   -78527:53
   -77846:00
   -79018:11
   -78216:05
   -78703:49
   -78025:09
   -78169:27
   -77937:52
   -78765:44
   -79050:57
   -78025:09
   -78169:27
   -77937:52
   -78765:44
   -79050:57
   -79110:04
   -77876:51
  -980640:00
  -980930:38
  -981391:35
  -981407:53
  -980726:00
  -981898:11
  -981096:05
  -981583:49
  -980905:09
  -981049:27
  -980817:52
  -981645:44
  -981930:57
  -980905:09
  -981049:27
  -980817:52
  -981645:44
  -981930:57
  -981990:04
  -980756:51
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:17671"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:17873: cat mtime11.1.out"
at_fn_check_prepare_trace "data-out.at:17873"
( $at_check_trace; cat mtime11.1.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "     00:00.0
    290:38.1
    751:35.2
    767:53.3
     86:00.5
   1258:11.6
    456:05.2
    943:49.8
    265:09.0
    409:27.5
    177:52.0
   1005:44.9
   1290:57.8
    265:09.2
    409:27.1
    177:52.5
   1005:44.7
   1290:57.6
   1350:04.2
    116:51.6
   1440:00.0
   1730:38.1
   2191:35.2
   2207:53.3
   1526:00.5
   2698:11.6
   1896:05.2
   2383:49.8
   1705:09.0
   1849:27.5
   1617:52.0
   2445:44.9
   2730:57.8
   1705:09.2
   1849:27.1
   1617:52.5
   2445:44.7
   2730:57.6
   2790:04.2
   1556:51.6
   2880:00.0
   3170:38.1
   3631:35.2
   3647:53.3
   2966:00.5
   4138:11.6
   3336:05.2
   3823:49.8
   3145:09.0
   3289:27.5
   3057:52.0
   3885:44.9
   4170:57.8
   3145:09.2
   3289:27.1
   3057:52.5
   3885:44.7
   4170:57.6
   4230:04.2
   2996:51.6
  77760:00.0
  78050:38.1
  78511:35.2
  78527:53.3
  77846:00.5
  79018:11.6
  78216:05.2
  78703:49.8
  78025:09.0
  78169:27.5
  77937:52.0
  78765:44.9
  79050:57.8
  78025:09.2
  78169:27.1
  77937:52.5
  78765:44.7
  79050:57.6
  79110:04.2
  77876:51.6
 980640:00.0
 980930:38.1
 981391:35.2
 981407:53.3
 980726:00.5
 981898:11.6
 981096:05.2
 981583:49.8
 980905:09.0
 981049:27.5
 980817:52.0
 981645:44.9
 981930:57.8
 980905:09.2
 981049:27.1
 980817:52.5
 981645:44.7
 981930:57.6
 981990:04.2
 980756:51.6
     00:00.0
   -290:38.1
   -751:35.2
   -767:53.3
    -86:00.5
  -1258:11.6
   -456:05.2
   -943:49.8
   -265:09.0
   -409:27.5
   -177:52.0
  -1005:44.9
  -1290:57.8
   -265:09.2
   -409:27.1
   -177:52.5
  -1005:44.7
  -1290:57.6
  -1350:04.2
   -116:51.6
  -1440:00.0
  -1730:38.1
  -2191:35.2
  -2207:53.3
  -1526:00.5
  -2698:11.6
  -1896:05.2
  -2383:49.8
  -1705:09.0
  -1849:27.5
  -1617:52.0
  -2445:44.9
  -2730:57.8
  -1705:09.2
  -1849:27.1
  -1617:52.5
  -2445:44.7
  -2730:57.6
  -2790:04.2
  -1556:51.6
  -2880:00.0
  -3170:38.1
  -3631:35.2
  -3647:53.3
  -2966:00.5
  -4138:11.6
  -3336:05.2
  -3823:49.8
  -3145:09.0
  -3289:27.5
  -3057:52.0
  -3885:44.9
  -4170:57.8
  -3145:09.2
  -3289:27.1
  -3057:52.5
  -3885:44.7
  -4170:57.6
  -4230:04.2
  -2996:51.6
 -77760:00.0
 -78050:38.1
 -78511:35.2
 -78527:53.3
 -77846:00.5
 -79018:11.6
 -78216:05.2
 -78703:49.8
 -78025:09.0
 -78169:27.5
 -77937:52.0
 -78765:44.9
 -79050:57.8
 -78025:09.2
 -78169:27.1
 -77937:52.5
 -78765:44.7
 -79050:57.6
 -79110:04.2
 -77876:51.6
  -980640:00
  -980930:38
  -981391:35
  -981407:53
  -980726:00
  -981898:11
  -981096:05
  -981583:49
  -980905:09
  -981049:27
  -980817:52
  -981645:44
  -981930:57
  -980905:09
  -981049:27
  -980817:52
  -981645:44
  -981930:57
  -981990:04
  -980756:51
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:17873"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:18075: cat mtime11.2.out"
at_fn_check_prepare_trace "data-out.at:18075"
( $at_check_trace; cat mtime11.2.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "    00:00.00
   290:38.12
   751:35.23
   767:53.35
    86:00.46
  1258:11.57
   456:05.19
   943:49.83
   265:09.01
   409:27.52
   177:52.02
  1005:44.87
  1290:57.82
   265:09.15
   409:27.11
   177:52.48
  1005:44.66
  1290:57.58
  1350:04.18
   116:51.59
  1440:00.00
  1730:38.12
  2191:35.23
  2207:53.35
  1526:00.46
  2698:11.57
  1896:05.19
  2383:49.83
  1705:09.01
  1849:27.52
  1617:52.02
  2445:44.87
  2730:57.82
  1705:09.15
  1849:27.11
  1617:52.48
  2445:44.66
  2730:57.58
  2790:04.18
  1556:51.59
  2880:00.00
  3170:38.12
  3631:35.23
  3647:53.35
  2966:00.46
  4138:11.57
  3336:05.19
  3823:49.83
  3145:09.01
  3289:27.52
  3057:52.02
  3885:44.87
  4170:57.82
  3145:09.15
  3289:27.11
  3057:52.48
  3885:44.66
  4170:57.58
  4230:04.18
  2996:51.59
 77760:00.00
 78050:38.12
 78511:35.23
 78527:53.35
 77846:00.46
 79018:11.57
 78216:05.19
 78703:49.83
 78025:09.01
 78169:27.52
 77937:52.02
 78765:44.87
 79050:57.82
 78025:09.15
 78169:27.11
 77937:52.48
 78765:44.66
 79050:57.58
 79110:04.18
 77876:51.59
 980640:00.0
 980930:38.1
 981391:35.2
 981407:53.3
 980726:00.5
 981898:11.6
 981096:05.2
 981583:49.8
 980905:09.0
 981049:27.5
 980817:52.0
 981645:44.9
 981930:57.8
 980905:09.2
 981049:27.1
 980817:52.5
 981645:44.7
 981930:57.6
 981990:04.2
 980756:51.6
    00:00.00
  -290:38.12
  -751:35.23
  -767:53.35
   -86:00.46
 -1258:11.57
  -456:05.19
  -943:49.83
  -265:09.01
  -409:27.52
  -177:52.02
 -1005:44.87
 -1290:57.82
  -265:09.15
  -409:27.11
  -177:52.48
 -1005:44.66
 -1290:57.58
 -1350:04.18
  -116:51.59
 -1440:00.00
 -1730:38.12
 -2191:35.23
 -2207:53.35
 -1526:00.46
 -2698:11.57
 -1896:05.19
 -2383:49.83
 -1705:09.01
 -1849:27.52
 -1617:52.02
 -2445:44.87
 -2730:57.82
 -1705:09.15
 -1849:27.11
 -1617:52.48
 -2445:44.66
 -2730:57.58
 -2790:04.18
 -1556:51.59
 -2880:00.00
 -3170:38.12
 -3631:35.23
 -3647:53.35
 -2966:00.46
 -4138:11.57
 -3336:05.19
 -3823:49.83
 -3145:09.01
 -3289:27.52
 -3057:52.02
 -3885:44.87
 -4170:57.82
 -3145:09.15
 -3289:27.11
 -3057:52.48
 -3885:44.66
 -4170:57.58
 -4230:04.18
 -2996:51.59
 -77760:00.0
 -78050:38.1
 -78511:35.2
 -78527:53.3
 -77846:00.5
 -79018:11.6
 -78216:05.2
 -78703:49.8
 -78025:09.0
 -78169:27.5
 -77937:52.0
 -78765:44.9
 -79050:57.8
 -78025:09.2
 -78169:27.1
 -77937:52.5
 -78765:44.7
 -79050:57.6
 -79110:04.2
 -77876:51.6
  -980640:00
  -980930:38
  -981391:35
  -981407:53
  -980726:00
  -981898:11
  -981096:05
  -981583:49
  -980905:09
  -981049:27
  -980817:52
  -981645:44
  -981930:57
  -980905:09
  -981049:27
  -980817:52
  -981645:44
  -981930:57
  -981990:04
  -980756:51
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:18075"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:18277: cat mtime11.3.out"
at_fn_check_prepare_trace "data-out.at:18277"
( $at_check_trace; cat mtime11.3.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "   00:00.000
  290:38.123
  751:35.235
  767:53.345
   86:00.456
 1258:11.567
  456:05.190
  943:49.831
  265:09.013
  409:27.524
  177:52.016
 1005:44.865
 1290:57.820
  265:09.154
  409:27.105
  177:52.482
 1005:44.658
 1290:57.582
 1350:04.183
  116:51.593
 1440:00.000
 1730:38.123
 2191:35.235
 2207:53.345
 1526:00.456
 2698:11.567
 1896:05.190
 2383:49.831
 1705:09.013
 1849:27.524
 1617:52.016
 2445:44.865
 2730:57.820
 1705:09.154
 1849:27.105
 1617:52.482
 2445:44.658
 2730:57.582
 2790:04.183
 1556:51.593
 2880:00.000
 3170:38.123
 3631:35.235
 3647:53.345
 2966:00.456
 4138:11.567
 3336:05.190
 3823:49.831
 3145:09.013
 3289:27.524
 3057:52.016
 3885:44.865
 4170:57.820
 3145:09.154
 3289:27.105
 3057:52.482
 3885:44.658
 4170:57.582
 4230:04.183
 2996:51.593
 77760:00.00
 78050:38.12
 78511:35.23
 78527:53.35
 77846:00.46
 79018:11.57
 78216:05.19
 78703:49.83
 78025:09.01
 78169:27.52
 77937:52.02
 78765:44.87
 79050:57.82
 78025:09.15
 78169:27.11
 77937:52.48
 78765:44.66
 79050:57.58
 79110:04.18
 77876:51.59
 980640:00.0
 980930:38.1
 981391:35.2
 981407:53.3
 980726:00.5
 981898:11.6
 981096:05.2
 981583:49.8
 980905:09.0
 981049:27.5
 980817:52.0
 981645:44.9
 981930:57.8
 980905:09.2
 981049:27.1
 980817:52.5
 981645:44.7
 981930:57.6
 981990:04.2
 980756:51.6
   00:00.000
 -290:38.123
 -751:35.235
 -767:53.345
  -86:00.456
 -1258:11.57
 -456:05.190
 -943:49.831
 -265:09.013
 -409:27.524
 -177:52.016
 -1005:44.87
 -1290:57.82
 -265:09.154
 -409:27.105
 -177:52.482
 -1005:44.66
 -1290:57.58
 -1350:04.18
 -116:51.593
 -1440:00.00
 -1730:38.12
 -2191:35.23
 -2207:53.35
 -1526:00.46
 -2698:11.57
 -1896:05.19
 -2383:49.83
 -1705:09.01
 -1849:27.52
 -1617:52.02
 -2445:44.87
 -2730:57.82
 -1705:09.15
 -1849:27.11
 -1617:52.48
 -2445:44.66
 -2730:57.58
 -2790:04.18
 -1556:51.59
 -2880:00.00
 -3170:38.12
 -3631:35.23
 -3647:53.35
 -2966:00.46
 -4138:11.57
 -3336:05.19
 -3823:49.83
 -3145:09.01
 -3289:27.52
 -3057:52.02
 -3885:44.87
 -4170:57.82
 -3145:09.15
 -3289:27.11
 -3057:52.48
 -3885:44.66
 -4170:57.58
 -4230:04.18
 -2996:51.59
 -77760:00.0
 -78050:38.1
 -78511:35.2
 -78527:53.3
 -77846:00.5
 -79018:11.6
 -78216:05.2
 -78703:49.8
 -78025:09.0
 -78169:27.5
 -77937:52.0
 -78765:44.9
 -79050:57.8
 -78025:09.2
 -78169:27.1
 -77937:52.5
 -78765:44.7
 -79050:57.6
 -79110:04.2
 -77876:51.6
  -980640:00
  -980930:38
  -981391:35
  -981407:53
  -980726:00
  -981898:11
  -981096:05
  -981583:49
  -980905:09
  -981049:27
  -980817:52
  -981645:44
  -981930:57
  -980905:09
  -981049:27
  -980817:52
  -981645:44
  -981930:57
  -981990:04
  -980756:51
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:18277"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:18479: cat mtime11.4.out"
at_fn_check_prepare_trace "data-out.at:18479"
( $at_check_trace; cat mtime11.4.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "  00:00.0000
 290:38.1230
 751:35.2345
 767:53.3451
  86:00.4561
 1258:11.567
 456:05.1896
 943:49.8313
 265:09.0129
 409:27.5238
 177:52.0156
 1005:44.865
 1290:57.820
 265:09.1539
 409:27.1053
 177:52.4823
 1005:44.658
 1290:57.582
 1350:04.183
 116:51.5932
 1440:00.000
 1730:38.123
 2191:35.235
 2207:53.345
 1526:00.456
 2698:11.567
 1896:05.190
 2383:49.831
 1705:09.013
 1849:27.524
 1617:52.016
 2445:44.865
 2730:57.820
 1705:09.154
 1849:27.105
 1617:52.482
 2445:44.658
 2730:57.582
 2790:04.183
 1556:51.593
 2880:00.000
 3170:38.123
 3631:35.235
 3647:53.345
 2966:00.456
 4138:11.567
 3336:05.190
 3823:49.831
 3145:09.013
 3289:27.524
 3057:52.016
 3885:44.865
 4170:57.820
 3145:09.154
 3289:27.105
 3057:52.482
 3885:44.658
 4170:57.582
 4230:04.183
 2996:51.593
 77760:00.00
 78050:38.12
 78511:35.23
 78527:53.35
 77846:00.46
 79018:11.57
 78216:05.19
 78703:49.83
 78025:09.01
 78169:27.52
 77937:52.02
 78765:44.87
 79050:57.82
 78025:09.15
 78169:27.11
 77937:52.48
 78765:44.66
 79050:57.58
 79110:04.18
 77876:51.59
 980640:00.0
 980930:38.1
 981391:35.2
 981407:53.3
 980726:00.5
 981898:11.6
 981096:05.2
 981583:49.8
 980905:09.0
 981049:27.5
 980817:52.0
 981645:44.9
 981930:57.8
 980905:09.2
 981049:27.1
 980817:52.5
 981645:44.7
 981930:57.6
 981990:04.2
 980756:51.6
  00:00.0000
 -290:38.123
 -751:35.235
 -767:53.345
 -86:00.4561
 -1258:11.57
 -456:05.190
 -943:49.831
 -265:09.013
 -409:27.524
 -177:52.016
 -1005:44.87
 -1290:57.82
 -265:09.154
 -409:27.105
 -177:52.482
 -1005:44.66
 -1290:57.58
 -1350:04.18
 -116:51.593
 -1440:00.00
 -1730:38.12
 -2191:35.23
 -2207:53.35
 -1526:00.46
 -2698:11.57
 -1896:05.19
 -2383:49.83
 -1705:09.01
 -1849:27.52
 -1617:52.02
 -2445:44.87
 -2730:57.82
 -1705:09.15
 -1849:27.11
 -1617:52.48
 -2445:44.66
 -2730:57.58
 -2790:04.18
 -1556:51.59
 -2880:00.00
 -3170:38.12
 -3631:35.23
 -3647:53.35
 -2966:00.46
 -4138:11.57
 -3336:05.19
 -3823:49.83
 -3145:09.01
 -3289:27.52
 -3057:52.02
 -3885:44.87
 -4170:57.82
 -3145:09.15
 -3289:27.11
 -3057:52.48
 -3885:44.66
 -4170:57.58
 -4230:04.18
 -2996:51.59
 -77760:00.0
 -78050:38.1
 -78511:35.2
 -78527:53.3
 -77846:00.5
 -79018:11.6
 -78216:05.2
 -78703:49.8
 -78025:09.0
 -78169:27.5
 -77937:52.0
 -78765:44.9
 -79050:57.8
 -78025:09.2
 -78169:27.1
 -77937:52.5
 -78765:44.7
 -79050:57.6
 -79110:04.2
 -77876:51.6
  -980640:00
  -980930:38
  -981391:35
  -981407:53
  -980726:00
  -981898:11
  -981096:05
  -981583:49
  -980905:09
  -981049:27
  -980817:52
  -981645:44
  -981930:57
  -980905:09
  -981049:27
  -980817:52
  -981645:44
  -981930:57
  -981990:04
  -980756:51
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:18479"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:18681: cat mtime11.5.out"
at_fn_check_prepare_trace "data-out.at:18681"
( $at_check_trace; cat mtime11.5.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo " 00:00.00000
 290:38.1230
 751:35.2345
 767:53.3451
 86:00.45615
 1258:11.567
 456:05.1896
 943:49.8313
 265:09.0129
 409:27.5238
 177:52.0156
 1005:44.865
 1290:57.820
 265:09.1539
 409:27.1053
 177:52.4823
 1005:44.658
 1290:57.582
 1350:04.183
 116:51.5932
 1440:00.000
 1730:38.123
 2191:35.235
 2207:53.345
 1526:00.456
 2698:11.567
 1896:05.190
 2383:49.831
 1705:09.013
 1849:27.524
 1617:52.016
 2445:44.865
 2730:57.820
 1705:09.154
 1849:27.105
 1617:52.482
 2445:44.658
 2730:57.582
 2790:04.183
 1556:51.593
 2880:00.000
 3170:38.123
 3631:35.235
 3647:53.345
 2966:00.456
 4138:11.567
 3336:05.190
 3823:49.831
 3145:09.013
 3289:27.524
 3057:52.016
 3885:44.865
 4170:57.820
 3145:09.154
 3289:27.105
 3057:52.482
 3885:44.658
 4170:57.582
 4230:04.183
 2996:51.593
 77760:00.00
 78050:38.12
 78511:35.23
 78527:53.35
 77846:00.46
 79018:11.57
 78216:05.19
 78703:49.83
 78025:09.01
 78169:27.52
 77937:52.02
 78765:44.87
 79050:57.82
 78025:09.15
 78169:27.11
 77937:52.48
 78765:44.66
 79050:57.58
 79110:04.18
 77876:51.59
 980640:00.0
 980930:38.1
 981391:35.2
 981407:53.3
 980726:00.5
 981898:11.6
 981096:05.2
 981583:49.8
 980905:09.0
 981049:27.5
 980817:52.0
 981645:44.9
 981930:57.8
 980905:09.2
 981049:27.1
 980817:52.5
 981645:44.7
 981930:57.6
 981990:04.2
 980756:51.6
 00:00.00000
 -290:38.123
 -751:35.235
 -767:53.345
 -86:00.4561
 -1258:11.57
 -456:05.190
 -943:49.831
 -265:09.013
 -409:27.524
 -177:52.016
 -1005:44.87
 -1290:57.82
 -265:09.154
 -409:27.105
 -177:52.482
 -1005:44.66
 -1290:57.58
 -1350:04.18
 -116:51.593
 -1440:00.00
 -1730:38.12
 -2191:35.23
 -2207:53.35
 -1526:00.46
 -2698:11.57
 -1896:05.19
 -2383:49.83
 -1705:09.01
 -1849:27.52
 -1617:52.02
 -2445:44.87
 -2730:57.82
 -1705:09.15
 -1849:27.11
 -1617:52.48
 -2445:44.66
 -2730:57.58
 -2790:04.18
 -1556:51.59
 -2880:00.00
 -3170:38.12
 -3631:35.23
 -3647:53.35
 -2966:00.46
 -4138:11.57
 -3336:05.19
 -3823:49.83
 -3145:09.01
 -3289:27.52
 -3057:52.02
 -3885:44.87
 -4170:57.82
 -3145:09.15
 -3289:27.11
 -3057:52.48
 -3885:44.66
 -4170:57.58
 -4230:04.18
 -2996:51.59
 -77760:00.0
 -78050:38.1
 -78511:35.2
 -78527:53.3
 -77846:00.5
 -79018:11.6
 -78216:05.2
 -78703:49.8
 -78025:09.0
 -78169:27.5
 -77937:52.0
 -78765:44.9
 -79050:57.8
 -78025:09.2
 -78169:27.1
 -77937:52.5
 -78765:44.7
 -79050:57.6
 -79110:04.2
 -77876:51.6
  -980640:00
  -980930:38
  -981391:35
  -981407:53
  -980726:00
  -981898:11
  -981096:05
  -981583:49
  -980905:09
  -981049:27
  -980817:52
  -981645:44
  -981930:57
  -980905:09
  -981049:27
  -980817:52
  -981645:44
  -981930:57
  -981990:04
  -980756:51
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:18681"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:18883: cat mtime12.5.out"
at_fn_check_prepare_trace "data-out.at:18883"
( $at_check_trace; cat mtime12.5.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "  00:00.00000
 290:38.12301
 751:35.23453
 767:53.34505
  86:00.45615
 1258:11.5668
 456:05.18964
 943:49.83132
 265:09.01293
 409:27.52375
 177:52.01565
 1005:44.8653
 1290:57.8205
 265:09.15395
 409:27.10533
 177:52.48229
 1005:44.6583
 1290:57.5822
 1350:04.1835
 116:51.59319
 1440:00.0000
 1730:38.1230
 2191:35.2345
 2207:53.3451
 1526:00.4561
 2698:11.5668
 1896:05.1896
 2383:49.8313
 1705:09.0129
 1849:27.5237
 1617:52.0157
 2445:44.8653
 2730:57.8205
 1705:09.1540
 1849:27.1053
 1617:52.4823
 2445:44.6583
 2730:57.5822
 2790:04.1835
 1556:51.5932
 2880:00.0000
 3170:38.1230
 3631:35.2345
 3647:53.3451
 2966:00.4562
 4138:11.5668
 3336:05.1896
 3823:49.8313
 3145:09.0129
 3289:27.5237
 3057:52.0156
 3885:44.8653
 4170:57.8205
 3145:09.1540
 3289:27.1053
 3057:52.4823
 3885:44.6583
 4170:57.5822
 4230:04.1835
 2996:51.5932
 77760:00.000
 78050:38.123
 78511:35.235
 78527:53.345
 77846:00.456
 79018:11.567
 78216:05.190
 78703:49.831
 78025:09.013
 78169:27.524
 77937:52.016
 78765:44.865
 79050:57.820
 78025:09.154
 78169:27.105
 77937:52.482
 78765:44.658
 79050:57.582
 79110:04.183
 77876:51.593
 980640:00.00
 980930:38.12
 981391:35.23
 981407:53.35
 980726:00.46
 981898:11.57
 981096:05.19
 981583:49.83
 980905:09.01
 981049:27.52
 980817:52.02
 981645:44.87
 981930:57.82
 980905:09.15
 981049:27.11
 980817:52.48
 981645:44.66
 981930:57.58
 981990:04.18
 980756:51.59
  00:00.00000
 -290:38.1230
 -751:35.2345
 -767:53.3451
 -86:00.45615
 -1258:11.567
 -456:05.1896
 -943:49.8313
 -265:09.0129
 -409:27.5238
 -177:52.0156
 -1005:44.865
 -1290:57.820
 -265:09.1539
 -409:27.1053
 -177:52.4823
 -1005:44.658
 -1290:57.582
 -1350:04.183
 -116:51.5932
 -1440:00.000
 -1730:38.123
 -2191:35.235
 -2207:53.345
 -1526:00.456
 -2698:11.567
 -1896:05.190
 -2383:49.831
 -1705:09.013
 -1849:27.524
 -1617:52.016
 -2445:44.865
 -2730:57.820
 -1705:09.154
 -1849:27.105
 -1617:52.482
 -2445:44.658
 -2730:57.582
 -2790:04.183
 -1556:51.593
 -2880:00.000
 -3170:38.123
 -3631:35.235
 -3647:53.345
 -2966:00.456
 -4138:11.567
 -3336:05.190
 -3823:49.831
 -3145:09.013
 -3289:27.524
 -3057:52.016
 -3885:44.865
 -4170:57.820
 -3145:09.154
 -3289:27.105
 -3057:52.482
 -3885:44.658
 -4170:57.582
 -4230:04.183
 -2996:51.593
 -77760:00.00
 -78050:38.12
 -78511:35.23
 -78527:53.35
 -77846:00.46
 -79018:11.57
 -78216:05.19
 -78703:49.83
 -78025:09.01
 -78169:27.52
 -77937:52.02
 -78765:44.87
 -79050:57.82
 -78025:09.15
 -78169:27.11
 -77937:52.48
 -78765:44.66
 -79050:57.58
 -79110:04.18
 -77876:51.59
 -980640:00.0
 -980930:38.1
 -981391:35.2
 -981407:53.3
 -980726:00.5
 -981898:11.6
 -981096:05.2
 -981583:49.8
 -980905:09.0
 -981049:27.5
 -980817:52.0
 -981645:44.9
 -981930:57.8
 -980905:09.2
 -981049:27.1
 -980817:52.5
 -981645:44.7
 -981930:57.6
 -981990:04.2
 -980756:51.6
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:18883"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:19085: cat mtime13.5.out"
at_fn_check_prepare_trace "data-out.at:19085"
( $at_check_trace; cat mtime13.5.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "   00:00.00000
  290:38.12301
  751:35.23453
  767:53.34505
   86:00.45615
 1258:11.56677
  456:05.18964
  943:49.83132
  265:09.01293
  409:27.52375
  177:52.01565
 1005:44.86529
 1290:57.82047
  265:09.15395
  409:27.10533
  177:52.48229
 1005:44.65827
 1290:57.58219
 1350:04.18347
  116:51.59319
 1440:00.00000
 1730:38.12301
 2191:35.23453
 2207:53.34505
 1526:00.45615
 2698:11.56677
 1896:05.18964
 2383:49.83132
 1705:09.01293
 1849:27.52375
 1617:52.01565
 2445:44.86529
 2730:57.82047
 1705:09.15395
 1849:27.10533
 1617:52.48229
 2445:44.65827
 2730:57.58219
 2790:04.18347
 1556:51.59319
 2880:00.00000
 3170:38.12301
 3631:35.23453
 3647:53.34505
 2966:00.45615
 4138:11.56677
 3336:05.18964
 3823:49.83132
 3145:09.01293
 3289:27.52375
 3057:52.01565
 3885:44.86529
 4170:57.82047
 3145:09.15395
 3289:27.10533
 3057:52.48229
 3885:44.65827
 4170:57.58219
 4230:04.18347
 2996:51.59319
 77760:00.0000
 78050:38.1230
 78511:35.2345
 78527:53.3450
 77846:00.4561
 79018:11.5668
 78216:05.1896
 78703:49.8313
 78025:09.0129
 78169:27.5237
 77937:52.0157
 78765:44.8653
 79050:57.8205
 78025:09.1540
 78169:27.1053
 77937:52.4823
 78765:44.6583
 79050:57.5822
 79110:04.1835
 77876:51.5932
 980640:00.000
 980930:38.123
 981391:35.235
 981407:53.345
 980726:00.456
 981898:11.567
 981096:05.190
 981583:49.831
 980905:09.013
 981049:27.524
 980817:52.016
 981645:44.865
 981930:57.820
 980905:09.154
 981049:27.105
 980817:52.482
 981645:44.658
 981930:57.582
 981990:04.183
 980756:51.593
   00:00.00000
 -290:38.12301
 -751:35.23453
 -767:53.34505
  -86:00.45615
 -1258:11.5668
 -456:05.18964
 -943:49.83132
 -265:09.01293
 -409:27.52375
 -177:52.01565
 -1005:44.8653
 -1290:57.8205
 -265:09.15395
 -409:27.10533
 -177:52.48229
 -1005:44.6583
 -1290:57.5822
 -1350:04.1835
 -116:51.59319
 -1440:00.0000
 -1730:38.1230
 -2191:35.2345
 -2207:53.3451
 -1526:00.4561
 -2698:11.5668
 -1896:05.1896
 -2383:49.8313
 -1705:09.0129
 -1849:27.5237
 -1617:52.0157
 -2445:44.8653
 -2730:57.8205
 -1705:09.1540
 -1849:27.1053
 -1617:52.4823
 -2445:44.6583
 -2730:57.5822
 -2790:04.1835
 -1556:51.5932
 -2880:00.0000
 -3170:38.1230
 -3631:35.2345
 -3647:53.3451
 -2966:00.4562
 -4138:11.5668
 -3336:05.1896
 -3823:49.8313
 -3145:09.0129
 -3289:27.5237
 -3057:52.0156
 -3885:44.8653
 -4170:57.8205
 -3145:09.1540
 -3289:27.1053
 -3057:52.4823
 -3885:44.6583
 -4170:57.5822
 -4230:04.1835
 -2996:51.5932
 -77760:00.000
 -78050:38.123
 -78511:35.235
 -78527:53.345
 -77846:00.456
 -79018:11.567
 -78216:05.190
 -78703:49.831
 -78025:09.013
 -78169:27.524
 -77937:52.016
 -78765:44.865
 -79050:57.820
 -78025:09.154
 -78169:27.105
 -77937:52.482
 -78765:44.658
 -79050:57.582
 -79110:04.183
 -77876:51.593
 -980640:00.00
 -980930:38.12
 -981391:35.23
 -981407:53.35
 -980726:00.46
 -981898:11.57
 -981096:05.19
 -981583:49.83
 -980905:09.01
 -981049:27.52
 -980817:52.02
 -981645:44.87
 -981930:57.82
 -980905:09.15
 -981049:27.11
 -980817:52.48
 -981645:44.66
 -981930:57.58
 -981990:04.18
 -980756:51.59
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:19085"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:19287: cat mtime14.5.out"
at_fn_check_prepare_trace "data-out.at:19287"
( $at_check_trace; cat mtime14.5.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "    00:00.00000
   290:38.12301
   751:35.23453
   767:53.34505
    86:00.45615
  1258:11.56677
   456:05.18964
   943:49.83132
   265:09.01293
   409:27.52375
   177:52.01565
  1005:44.86529
  1290:57.82047
   265:09.15395
   409:27.10533
   177:52.48229
  1005:44.65827
  1290:57.58219
  1350:04.18347
   116:51.59319
  1440:00.00000
  1730:38.12301
  2191:35.23453
  2207:53.34505
  1526:00.45615
  2698:11.56677
  1896:05.18964
  2383:49.83132
  1705:09.01293
  1849:27.52375
  1617:52.01565
  2445:44.86529
  2730:57.82047
  1705:09.15395
  1849:27.10533
  1617:52.48229
  2445:44.65827
  2730:57.58219
  2790:04.18347
  1556:51.59319
  2880:00.00000
  3170:38.12301
  3631:35.23453
  3647:53.34505
  2966:00.45615
  4138:11.56677
  3336:05.18964
  3823:49.83132
  3145:09.01293
  3289:27.52375
  3057:52.01565
  3885:44.86529
  4170:57.82047
  3145:09.15395
  3289:27.10533
  3057:52.48229
  3885:44.65827
  4170:57.58219
  4230:04.18347
  2996:51.59319
 77760:00.00000
 78050:38.12301
 78511:35.23453
 78527:53.34505
 77846:00.45615
 79018:11.56677
 78216:05.18964
 78703:49.83132
 78025:09.01293
 78169:27.52375
 77937:52.01565
 78765:44.86529
 79050:57.82047
 78025:09.15395
 78169:27.10533
 77937:52.48229
 78765:44.65827
 79050:57.58219
 79110:04.18347
 77876:51.59319
 980640:00.0000
 980930:38.1230
 981391:35.2345
 981407:53.3450
 980726:00.4562
 981898:11.5668
 981096:05.1896
 981583:49.8313
 980905:09.0129
 981049:27.5237
 980817:52.0156
 981645:44.8653
 981930:57.8205
 980905:09.1539
 981049:27.1053
 980817:52.4823
 981645:44.6583
 981930:57.5822
 981990:04.1835
 980756:51.5932
    00:00.00000
  -290:38.12301
  -751:35.23453
  -767:53.34505
   -86:00.45615
 -1258:11.56677
  -456:05.18964
  -943:49.83132
  -265:09.01293
  -409:27.52375
  -177:52.01565
 -1005:44.86529
 -1290:57.82047
  -265:09.15395
  -409:27.10533
  -177:52.48229
 -1005:44.65827
 -1290:57.58219
 -1350:04.18347
  -116:51.59319
 -1440:00.00000
 -1730:38.12301
 -2191:35.23453
 -2207:53.34505
 -1526:00.45615
 -2698:11.56677
 -1896:05.18964
 -2383:49.83132
 -1705:09.01293
 -1849:27.52375
 -1617:52.01565
 -2445:44.86529
 -2730:57.82047
 -1705:09.15395
 -1849:27.10533
 -1617:52.48229
 -2445:44.65827
 -2730:57.58219
 -2790:04.18347
 -1556:51.59319
 -2880:00.00000
 -3170:38.12301
 -3631:35.23453
 -3647:53.34505
 -2966:00.45615
 -4138:11.56677
 -3336:05.18964
 -3823:49.83132
 -3145:09.01293
 -3289:27.52375
 -3057:52.01565
 -3885:44.86529
 -4170:57.82047
 -3145:09.15395
 -3289:27.10533
 -3057:52.48229
 -3885:44.65827
 -4170:57.58219
 -4230:04.18347
 -2996:51.59319
 -77760:00.0000
 -78050:38.1230
 -78511:35.2345
 -78527:53.3450
 -77846:00.4561
 -79018:11.5668
 -78216:05.1896
 -78703:49.8313
 -78025:09.0129
 -78169:27.5237
 -77937:52.0157
 -78765:44.8653
 -79050:57.8205
 -78025:09.1540
 -78169:27.1053
 -77937:52.4823
 -78765:44.6583
 -79050:57.5822
 -79110:04.1835
 -77876:51.5932
 -980640:00.000
 -980930:38.123
 -981391:35.235
 -981407:53.345
 -980726:00.456
 -981898:11.567
 -981096:05.190
 -981583:49.831
 -980905:09.013
 -981049:27.524
 -980817:52.016
 -981645:44.865
 -981930:57.820
 -980905:09.154
 -981049:27.105
 -980817:52.482
 -981645:44.658
 -981930:57.582
 -981990:04.183
 -980756:51.593
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:19287"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:19489: cat mtime15.5.out"
at_fn_check_prepare_trace "data-out.at:19489"
( $at_check_trace; cat mtime15.5.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "     00:00.00000
    290:38.12301
    751:35.23453
    767:53.34505
     86:00.45615
   1258:11.56677
    456:05.18964
    943:49.83132
    265:09.01293
    409:27.52375
    177:52.01565
   1005:44.86529
   1290:57.82047
    265:09.15395
    409:27.10533
    177:52.48229
   1005:44.65827
   1290:57.58219
   1350:04.18347
    116:51.59319
   1440:00.00000
   1730:38.12301
   2191:35.23453
   2207:53.34505
   1526:00.45615
   2698:11.56677
   1896:05.18964
   2383:49.83132
   1705:09.01293
   1849:27.52375
   1617:52.01565
   2445:44.86529
   2730:57.82047
   1705:09.15395
   1849:27.10533
   1617:52.48229
   2445:44.65827
   2730:57.58219
   2790:04.18347
   1556:51.59319
   2880:00.00000
   3170:38.12301
   3631:35.23453
   3647:53.34505
   2966:00.45615
   4138:11.56677
   3336:05.18964
   3823:49.83132
   3145:09.01293
   3289:27.52375
   3057:52.01565
   3885:44.86529
   4170:57.82047
   3145:09.15395
   3289:27.10533
   3057:52.48229
   3885:44.65827
   4170:57.58219
   4230:04.18347
   2996:51.59319
  77760:00.00000
  78050:38.12301
  78511:35.23453
  78527:53.34505
  77846:00.45615
  79018:11.56677
  78216:05.18964
  78703:49.83132
  78025:09.01293
  78169:27.52375
  77937:52.01565
  78765:44.86529
  79050:57.82047
  78025:09.15395
  78169:27.10533
  77937:52.48229
  78765:44.65827
  79050:57.58219
  79110:04.18347
  77876:51.59319
 980640:00.00000
 980930:38.12301
 981391:35.23453
 981407:53.34505
 980726:00.45615
 981898:11.56677
 981096:05.18964
 981583:49.83132
 980905:09.01293
 981049:27.52375
 980817:52.01565
 981645:44.86529
 981930:57.82047
 980905:09.15395
 981049:27.10533
 980817:52.48229
 981645:44.65827
 981930:57.58219
 981990:04.18347
 980756:51.59319
     00:00.00000
   -290:38.12301
   -751:35.23453
   -767:53.34505
    -86:00.45615
  -1258:11.56677
   -456:05.18964
   -943:49.83132
   -265:09.01293
   -409:27.52375
   -177:52.01565
  -1005:44.86529
  -1290:57.82047
   -265:09.15395
   -409:27.10533
   -177:52.48229
  -1005:44.65827
  -1290:57.58219
  -1350:04.18347
   -116:51.59319
  -1440:00.00000
  -1730:38.12301
  -2191:35.23453
  -2207:53.34505
  -1526:00.45615
  -2698:11.56677
  -1896:05.18964
  -2383:49.83132
  -1705:09.01293
  -1849:27.52375
  -1617:52.01565
  -2445:44.86529
  -2730:57.82047
  -1705:09.15395
  -1849:27.10533
  -1617:52.48229
  -2445:44.65827
  -2730:57.58219
  -2790:04.18347
  -1556:51.59319
  -2880:00.00000
  -3170:38.12301
  -3631:35.23453
  -3647:53.34505
  -2966:00.45615
  -4138:11.56677
  -3336:05.18964
  -3823:49.83132
  -3145:09.01293
  -3289:27.52375
  -3057:52.01565
  -3885:44.86529
  -4170:57.82047
  -3145:09.15395
  -3289:27.10533
  -3057:52.48229
  -3885:44.65827
  -4170:57.58219
  -4230:04.18347
  -2996:51.59319
 -77760:00.00000
 -78050:38.12301
 -78511:35.23453
 -78527:53.34505
 -77846:00.45615
 -79018:11.56677
 -78216:05.18964
 -78703:49.83132
 -78025:09.01293
 -78169:27.52375
 -77937:52.01565
 -78765:44.86529
 -79050:57.82047
 -78025:09.15395
 -78169:27.10533
 -77937:52.48229
 -78765:44.65827
 -79050:57.58219
 -79110:04.18347
 -77876:51.59319
 -980640:00.0000
 -980930:38.1230
 -981391:35.2345
 -981407:53.3450
 -980726:00.4562
 -981898:11.5668
 -981096:05.1896
 -981583:49.8313
 -980905:09.0129
 -981049:27.5237
 -980817:52.0156
 -981645:44.8653
 -981930:57.8205
 -980905:09.1539
 -981049:27.1053
 -980817:52.4823
 -981645:44.6583
 -981930:57.5822
 -981990:04.1835
 -980756:51.5932
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:19489"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:19691: cat mtime16.5.out"
at_fn_check_prepare_trace "data-out.at:19691"
( $at_check_trace; cat mtime16.5.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "      00:00.00000
     290:38.12301
     751:35.23453
     767:53.34505
      86:00.45615
    1258:11.56677
     456:05.18964
     943:49.83132
     265:09.01293
     409:27.52375
     177:52.01565
    1005:44.86529
    1290:57.82047
     265:09.15395
     409:27.10533
     177:52.48229
    1005:44.65827
    1290:57.58219
    1350:04.18347
     116:51.59319
    1440:00.00000
    1730:38.12301
    2191:35.23453
    2207:53.34505
    1526:00.45615
    2698:11.56677
    1896:05.18964
    2383:49.83132
    1705:09.01293
    1849:27.52375
    1617:52.01565
    2445:44.86529
    2730:57.82047
    1705:09.15395
    1849:27.10533
    1617:52.48229
    2445:44.65827
    2730:57.58219
    2790:04.18347
    1556:51.59319
    2880:00.00000
    3170:38.12301
    3631:35.23453
    3647:53.34505
    2966:00.45615
    4138:11.56677
    3336:05.18964
    3823:49.83132
    3145:09.01293
    3289:27.52375
    3057:52.01565
    3885:44.86529
    4170:57.82047
    3145:09.15395
    3289:27.10533
    3057:52.48229
    3885:44.65827
    4170:57.58219
    4230:04.18347
    2996:51.59319
   77760:00.00000
   78050:38.12301
   78511:35.23453
   78527:53.34505
   77846:00.45615
   79018:11.56677
   78216:05.18964
   78703:49.83132
   78025:09.01293
   78169:27.52375
   77937:52.01565
   78765:44.86529
   79050:57.82047
   78025:09.15395
   78169:27.10533
   77937:52.48229
   78765:44.65827
   79050:57.58219
   79110:04.18347
   77876:51.59319
  980640:00.00000
  980930:38.12301
  981391:35.23453
  981407:53.34505
  980726:00.45615
  981898:11.56677
  981096:05.18964
  981583:49.83132
  980905:09.01293
  981049:27.52375
  980817:52.01565
  981645:44.86529
  981930:57.82047
  980905:09.15395
  981049:27.10533
  980817:52.48229
  981645:44.65827
  981930:57.58219
  981990:04.18347
  980756:51.59319
      00:00.00000
    -290:38.12301
    -751:35.23453
    -767:53.34505
     -86:00.45615
   -1258:11.56677
    -456:05.18964
    -943:49.83132
    -265:09.01293
    -409:27.52375
    -177:52.01565
   -1005:44.86529
   -1290:57.82047
    -265:09.15395
    -409:27.10533
    -177:52.48229
   -1005:44.65827
   -1290:57.58219
   -1350:04.18347
    -116:51.59319
   -1440:00.00000
   -1730:38.12301
   -2191:35.23453
   -2207:53.34505
   -1526:00.45615
   -2698:11.56677
   -1896:05.18964
   -2383:49.83132
   -1705:09.01293
   -1849:27.52375
   -1617:52.01565
   -2445:44.86529
   -2730:57.82047
   -1705:09.15395
   -1849:27.10533
   -1617:52.48229
   -2445:44.65827
   -2730:57.58219
   -2790:04.18347
   -1556:51.59319
   -2880:00.00000
   -3170:38.12301
   -3631:35.23453
   -3647:53.34505
   -2966:00.45615
   -4138:11.56677
   -3336:05.18964
   -3823:49.83132
   -3145:09.01293
   -3289:27.52375
   -3057:52.01565
   -3885:44.86529
   -4170:57.82047
   -3145:09.15395
   -3289:27.10533
   -3057:52.48229
   -3885:44.65827
   -4170:57.58219
   -4230:04.18347
   -2996:51.59319
  -77760:00.00000
  -78050:38.12301
  -78511:35.23453
  -78527:53.34505
  -77846:00.45615
  -79018:11.56677
  -78216:05.18964
  -78703:49.83132
  -78025:09.01293
  -78169:27.52375
  -77937:52.01565
  -78765:44.86529
  -79050:57.82047
  -78025:09.15395
  -78169:27.10533
  -77937:52.48229
  -78765:44.65827
  -79050:57.58219
  -79110:04.18347
  -77876:51.59319
 -980640:00.00000
 -980930:38.12301
 -981391:35.23453
 -981407:53.34505
 -980726:00.45615
 -981898:11.56677
 -981096:05.18964
 -981583:49.83132
 -980905:09.01293
 -981049:27.52375
 -980817:52.01565
 -981645:44.86529
 -981930:57.82047
 -980905:09.15395
 -981049:27.10533
 -980817:52.48229
 -981645:44.65827
 -981930:57.58219
 -981990:04.18347
 -980756:51.59319
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:19691"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_27
#AT_START_28
at_fn_group_banner 28 'data-out.at:19895' \
  "MONTH output" "                                   " 3
at_xfail=no
(
  $as_echo "28. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >month-out.sps <<'_ATEOF'
set mxerr=1000000.
set mxwarns=10000000.
data list notable/x 1-10.
begin data.

0
0.5
0.9
1
2
3
4
4.1
4.5
4.9
5
6
7
7.1
7.5
7.9
8
9
10
11
12
13
end data.
print outfile='month-out.out'/x(month3).
print outfile='month-out.out'/x(month4).
print outfile='month-out.out'/x(month5).
print outfile='month-out.out'/x(month6).
print outfile='month-out.out'/x(month7).
print outfile='month-out.out'/x(month8).
print outfile='month-out.out'/x(month9).
print outfile='month-out.out'/x(month10).
print outfile='month-out.out'/x(month11).
print outfile='month-out.out'/x(month12).
print outfile='month-out.out'/x(month13).
print outfile='month-out.out'/x(month14).
print outfile='month-out.out'/x(month15).
print outfile='month-out.out'/x(month16).
print outfile='month-out.out'/x(month17).
print outfile='month-out.out'/x(month18).
print outfile='month-out.out'/x(month19).
print outfile='month-out.out'/x(month20).
print outfile='month-out.out'/x(month21).
print outfile='month-out.out'/x(month22).
print outfile='month-out.out'/x(month23).
print outfile='month-out.out'/x(month24).
print outfile='month-out.out'/x(month25).
print outfile='month-out.out'/x(month26).
print outfile='month-out.out'/x(month27).
print outfile='month-out.out'/x(month28).
print outfile='month-out.out'/x(month29).
print outfile='month-out.out'/x(month30).
print outfile='month-out.out'/x(month31).
print outfile='month-out.out'/x(month32).
print outfile='month-out.out'/x(month33).
print outfile='month-out.out'/x(month34).
print outfile='month-out.out'/x(month35).
print outfile='month-out.out'/x(month36).
print outfile='month-out.out'/x(month37).
print outfile='month-out.out'/x(month38).
print outfile='month-out.out'/x(month39).
print outfile='month-out.out'/x(month40).
execute.
_ATEOF

{ set +x
$as_echo "$at_srcdir/data-out.at:19966: pspp -O format=csv month-out.sps"
at_fn_check_prepare_trace "data-out.at:19966"
( $at_check_trace; pspp -O format=csv month-out.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; tee stdout <"$at_stdout"
at_fn_check_status 1 $at_status "$at_srcdir/data-out.at:19966"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:19967: sed '/^ *
*\$/d' stdout | sort | uniq -c | sed 's/^[ 	]*//'"
at_fn_check_prepare_notrace 'a shell pipeline' "data-out.at:19967"
( $at_check_trace; sed '/^ *
*$/d' stdout | sort | uniq -c | sed 's/^[ 	]*//'
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "38 error: Month number 0.000000 is not between 1 and 12.
38 error: Month number 0.500000 is not between 1 and 12.
38 error: Month number 0.900000 is not between 1 and 12.
38 error: Month number 13.000000 is not between 1 and 12.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:19967"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:19974: cat month-out.out"
at_fn_check_prepare_trace "data-out.at:19974"
( $at_check_trace; cat month-out.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "   .
    .
     .
      .
       .
        .
         .
          .
           .
            .
             .
              .
               .
                .
                 .
                  .
                   .
                    .
                     .
                      .
                       .
                        .
                         .
                          .
                           .
                            .
                             .
                              .
                               .
                                .
                                 .
                                  .
                                   .
                                    .
                                     .
                                      .
                                       .
                                        .
   .
    .
     .
      .
       .
        .
         .
          .
           .
            .
             .
              .
               .
                .
                 .
                  .
                   .
                    .
                     .
                      .
                       .
                        .
                         .
                          .
                           .
                            .
                             .
                              .
                               .
                                .
                                 .
                                  .
                                   .
                                    .
                                     .
                                      .
                                       .
                                        .
   .
    .
     .
      .
       .
        .
         .
          .
           .
            .
             .
              .
               .
                .
                 .
                  .
                   .
                    .
                     .
                      .
                       .
                        .
                         .
                          .
                           .
                            .
                             .
                              .
                               .
                                .
                                 .
                                  .
                                   .
                                    .
                                     .
                                      .
                                       .
                                        .
   .
    .
     .
      .
       .
        .
         .
          .
           .
            .
             .
              .
               .
                .
                 .
                  .
                   .
                    .
                     .
                      .
                       .
                        .
                         .
                          .
                           .
                            .
                             .
                              .
                               .
                                .
                                 .
                                  .
                                   .
                                    .
                                     .
                                      .
                                       .
                                        .
 JAN
 JANU
 JANUA
 JANUAR
 JANUARY
 JANUARY 
 JANUARY  
 JANUARY   
 JANUARY    
 JANUARY     
 JANUARY      
 JANUARY       
 JANUARY        
 JANUARY         
 JANUARY          
 JANUARY           
 JANUARY            
 JANUARY             
 JANUARY              
 JANUARY               
 JANUARY                
 JANUARY                 
 JANUARY                  
 JANUARY                   
 JANUARY                    
 JANUARY                     
 JANUARY                      
 JANUARY                       
 JANUARY                        
 JANUARY                         
 JANUARY                          
 JANUARY                           
 JANUARY                            
 JANUARY                             
 JANUARY                              
 JANUARY                               
 JANUARY                                
 JANUARY                                 
 FEB
 FEBR
 FEBRU
 FEBRUA
 FEBRUAR
 FEBRUARY
 FEBRUARY 
 FEBRUARY  
 FEBRUARY   
 FEBRUARY    
 FEBRUARY     
 FEBRUARY      
 FEBRUARY       
 FEBRUARY        
 FEBRUARY         
 FEBRUARY          
 FEBRUARY           
 FEBRUARY            
 FEBRUARY             
 FEBRUARY              
 FEBRUARY               
 FEBRUARY                
 FEBRUARY                 
 FEBRUARY                  
 FEBRUARY                   
 FEBRUARY                    
 FEBRUARY                     
 FEBRUARY                      
 FEBRUARY                       
 FEBRUARY                        
 FEBRUARY                         
 FEBRUARY                          
 FEBRUARY                           
 FEBRUARY                            
 FEBRUARY                             
 FEBRUARY                              
 FEBRUARY                               
 FEBRUARY                                
 MAR
 MARC
 MARCH
 MARCH 
 MARCH  
 MARCH   
 MARCH    
 MARCH     
 MARCH      
 MARCH       
 MARCH        
 MARCH         
 MARCH          
 MARCH           
 MARCH            
 MARCH             
 MARCH              
 MARCH               
 MARCH                
 MARCH                 
 MARCH                  
 MARCH                   
 MARCH                    
 MARCH                     
 MARCH                      
 MARCH                       
 MARCH                        
 MARCH                         
 MARCH                          
 MARCH                           
 MARCH                            
 MARCH                             
 MARCH                              
 MARCH                               
 MARCH                                
 MARCH                                 
 MARCH                                  
 MARCH                                   
 APR
 APRI
 APRIL
 APRIL 
 APRIL  
 APRIL   
 APRIL    
 APRIL     
 APRIL      
 APRIL       
 APRIL        
 APRIL         
 APRIL          
 APRIL           
 APRIL            
 APRIL             
 APRIL              
 APRIL               
 APRIL                
 APRIL                 
 APRIL                  
 APRIL                   
 APRIL                    
 APRIL                     
 APRIL                      
 APRIL                       
 APRIL                        
 APRIL                         
 APRIL                          
 APRIL                           
 APRIL                            
 APRIL                             
 APRIL                              
 APRIL                               
 APRIL                                
 APRIL                                 
 APRIL                                  
 APRIL                                   
 APR
 APRI
 APRIL
 APRIL 
 APRIL  
 APRIL   
 APRIL    
 APRIL     
 APRIL      
 APRIL       
 APRIL        
 APRIL         
 APRIL          
 APRIL           
 APRIL            
 APRIL             
 APRIL              
 APRIL               
 APRIL                
 APRIL                 
 APRIL                  
 APRIL                   
 APRIL                    
 APRIL                     
 APRIL                      
 APRIL                       
 APRIL                        
 APRIL                         
 APRIL                          
 APRIL                           
 APRIL                            
 APRIL                             
 APRIL                              
 APRIL                               
 APRIL                                
 APRIL                                 
 APRIL                                  
 APRIL                                   
 APR
 APRI
 APRIL
 APRIL 
 APRIL  
 APRIL   
 APRIL    
 APRIL     
 APRIL      
 APRIL       
 APRIL        
 APRIL         
 APRIL          
 APRIL           
 APRIL            
 APRIL             
 APRIL              
 APRIL               
 APRIL                
 APRIL                 
 APRIL                  
 APRIL                   
 APRIL                    
 APRIL                     
 APRIL                      
 APRIL                       
 APRIL                        
 APRIL                         
 APRIL                          
 APRIL                           
 APRIL                            
 APRIL                             
 APRIL                              
 APRIL                               
 APRIL                                
 APRIL                                 
 APRIL                                  
 APRIL                                   
 APR
 APRI
 APRIL
 APRIL 
 APRIL  
 APRIL   
 APRIL    
 APRIL     
 APRIL      
 APRIL       
 APRIL        
 APRIL         
 APRIL          
 APRIL           
 APRIL            
 APRIL             
 APRIL              
 APRIL               
 APRIL                
 APRIL                 
 APRIL                  
 APRIL                   
 APRIL                    
 APRIL                     
 APRIL                      
 APRIL                       
 APRIL                        
 APRIL                         
 APRIL                          
 APRIL                           
 APRIL                            
 APRIL                             
 APRIL                              
 APRIL                               
 APRIL                                
 APRIL                                 
 APRIL                                  
 APRIL                                   
 MAY
 MAY 
 MAY  
 MAY   
 MAY    
 MAY     
 MAY      
 MAY       
 MAY        
 MAY         
 MAY          
 MAY           
 MAY            
 MAY             
 MAY              
 MAY               
 MAY                
 MAY                 
 MAY                  
 MAY                   
 MAY                    
 MAY                     
 MAY                      
 MAY                       
 MAY                        
 MAY                         
 MAY                          
 MAY                           
 MAY                            
 MAY                             
 MAY                              
 MAY                               
 MAY                                
 MAY                                 
 MAY                                  
 MAY                                   
 MAY                                    
 MAY                                     
 JUN
 JUNE
 JUNE 
 JUNE  
 JUNE   
 JUNE    
 JUNE     
 JUNE      
 JUNE       
 JUNE        
 JUNE         
 JUNE          
 JUNE           
 JUNE            
 JUNE             
 JUNE              
 JUNE               
 JUNE                
 JUNE                 
 JUNE                  
 JUNE                   
 JUNE                    
 JUNE                     
 JUNE                      
 JUNE                       
 JUNE                        
 JUNE                         
 JUNE                          
 JUNE                           
 JUNE                            
 JUNE                             
 JUNE                              
 JUNE                               
 JUNE                                
 JUNE                                 
 JUNE                                  
 JUNE                                   
 JUNE                                    
 JUL
 JULY
 JULY 
 JULY  
 JULY   
 JULY    
 JULY     
 JULY      
 JULY       
 JULY        
 JULY         
 JULY          
 JULY           
 JULY            
 JULY             
 JULY              
 JULY               
 JULY                
 JULY                 
 JULY                  
 JULY                   
 JULY                    
 JULY                     
 JULY                      
 JULY                       
 JULY                        
 JULY                         
 JULY                          
 JULY                           
 JULY                            
 JULY                             
 JULY                              
 JULY                               
 JULY                                
 JULY                                 
 JULY                                  
 JULY                                   
 JULY                                    
 JUL
 JULY
 JULY 
 JULY  
 JULY   
 JULY    
 JULY     
 JULY      
 JULY       
 JULY        
 JULY         
 JULY          
 JULY           
 JULY            
 JULY             
 JULY              
 JULY               
 JULY                
 JULY                 
 JULY                  
 JULY                   
 JULY                    
 JULY                     
 JULY                      
 JULY                       
 JULY                        
 JULY                         
 JULY                          
 JULY                           
 JULY                            
 JULY                             
 JULY                              
 JULY                               
 JULY                                
 JULY                                 
 JULY                                  
 JULY                                   
 JULY                                    
 JUL
 JULY
 JULY 
 JULY  
 JULY   
 JULY    
 JULY     
 JULY      
 JULY       
 JULY        
 JULY         
 JULY          
 JULY           
 JULY            
 JULY             
 JULY              
 JULY               
 JULY                
 JULY                 
 JULY                  
 JULY                   
 JULY                    
 JULY                     
 JULY                      
 JULY                       
 JULY                        
 JULY                         
 JULY                          
 JULY                           
 JULY                            
 JULY                             
 JULY                              
 JULY                               
 JULY                                
 JULY                                 
 JULY                                  
 JULY                                   
 JULY                                    
 JUL
 JULY
 JULY 
 JULY  
 JULY   
 JULY    
 JULY     
 JULY      
 JULY       
 JULY        
 JULY         
 JULY          
 JULY           
 JULY            
 JULY             
 JULY              
 JULY               
 JULY                
 JULY                 
 JULY                  
 JULY                   
 JULY                    
 JULY                     
 JULY                      
 JULY                       
 JULY                        
 JULY                         
 JULY                          
 JULY                           
 JULY                            
 JULY                             
 JULY                              
 JULY                               
 JULY                                
 JULY                                 
 JULY                                  
 JULY                                   
 JULY                                    
 AUG
 AUGU
 AUGUS
 AUGUST
 AUGUST 
 AUGUST  
 AUGUST   
 AUGUST    
 AUGUST     
 AUGUST      
 AUGUST       
 AUGUST        
 AUGUST         
 AUGUST          
 AUGUST           
 AUGUST            
 AUGUST             
 AUGUST              
 AUGUST               
 AUGUST                
 AUGUST                 
 AUGUST                  
 AUGUST                   
 AUGUST                    
 AUGUST                     
 AUGUST                      
 AUGUST                       
 AUGUST                        
 AUGUST                         
 AUGUST                          
 AUGUST                           
 AUGUST                            
 AUGUST                             
 AUGUST                              
 AUGUST                               
 AUGUST                                
 AUGUST                                 
 AUGUST                                  
 SEP
 SEPT
 SEPTE
 SEPTEM
 SEPTEMB
 SEPTEMBE
 SEPTEMBER
 SEPTEMBER 
 SEPTEMBER  
 SEPTEMBER   
 SEPTEMBER    
 SEPTEMBER     
 SEPTEMBER      
 SEPTEMBER       
 SEPTEMBER        
 SEPTEMBER         
 SEPTEMBER          
 SEPTEMBER           
 SEPTEMBER            
 SEPTEMBER             
 SEPTEMBER              
 SEPTEMBER               
 SEPTEMBER                
 SEPTEMBER                 
 SEPTEMBER                  
 SEPTEMBER                   
 SEPTEMBER                    
 SEPTEMBER                     
 SEPTEMBER                      
 SEPTEMBER                       
 SEPTEMBER                        
 SEPTEMBER                         
 SEPTEMBER                          
 SEPTEMBER                           
 SEPTEMBER                            
 SEPTEMBER                             
 SEPTEMBER                              
 SEPTEMBER                               
 OCT
 OCTO
 OCTOB
 OCTOBE
 OCTOBER
 OCTOBER 
 OCTOBER  
 OCTOBER   
 OCTOBER    
 OCTOBER     
 OCTOBER      
 OCTOBER       
 OCTOBER        
 OCTOBER         
 OCTOBER          
 OCTOBER           
 OCTOBER            
 OCTOBER             
 OCTOBER              
 OCTOBER               
 OCTOBER                
 OCTOBER                 
 OCTOBER                  
 OCTOBER                   
 OCTOBER                    
 OCTOBER                     
 OCTOBER                      
 OCTOBER                       
 OCTOBER                        
 OCTOBER                         
 OCTOBER                          
 OCTOBER                           
 OCTOBER                            
 OCTOBER                             
 OCTOBER                              
 OCTOBER                               
 OCTOBER                                
 OCTOBER                                 
 NOV
 NOVE
 NOVEM
 NOVEMB
 NOVEMBE
 NOVEMBER
 NOVEMBER 
 NOVEMBER  
 NOVEMBER   
 NOVEMBER    
 NOVEMBER     
 NOVEMBER      
 NOVEMBER       
 NOVEMBER        
 NOVEMBER         
 NOVEMBER          
 NOVEMBER           
 NOVEMBER            
 NOVEMBER             
 NOVEMBER              
 NOVEMBER               
 NOVEMBER                
 NOVEMBER                 
 NOVEMBER                  
 NOVEMBER                   
 NOVEMBER                    
 NOVEMBER                     
 NOVEMBER                      
 NOVEMBER                       
 NOVEMBER                        
 NOVEMBER                         
 NOVEMBER                          
 NOVEMBER                           
 NOVEMBER                            
 NOVEMBER                             
 NOVEMBER                              
 NOVEMBER                               
 NOVEMBER                                
 DEC
 DECE
 DECEM
 DECEMB
 DECEMBE
 DECEMBER
 DECEMBER 
 DECEMBER  
 DECEMBER   
 DECEMBER    
 DECEMBER     
 DECEMBER      
 DECEMBER       
 DECEMBER        
 DECEMBER         
 DECEMBER          
 DECEMBER           
 DECEMBER            
 DECEMBER             
 DECEMBER              
 DECEMBER               
 DECEMBER                
 DECEMBER                 
 DECEMBER                  
 DECEMBER                   
 DECEMBER                    
 DECEMBER                     
 DECEMBER                      
 DECEMBER                       
 DECEMBER                        
 DECEMBER                         
 DECEMBER                          
 DECEMBER                           
 DECEMBER                            
 DECEMBER                             
 DECEMBER                              
 DECEMBER                               
 DECEMBER                                
   .
    .
     .
      .
       .
        .
         .
          .
           .
            .
             .
              .
               .
                .
                 .
                  .
                   .
                    .
                     .
                      .
                       .
                        .
                         .
                          .
                           .
                            .
                             .
                              .
                               .
                                .
                                 .
                                  .
                                   .
                                    .
                                     .
                                      .
                                       .
                                        .
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:19974"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_28
#AT_START_29
at_fn_group_banner 29 'data-out.at:20852' \
  "WKDAY output" "                                   " 3
at_xfail=no
(
  $as_echo "29. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >wkday-out.sps <<'_ATEOF'
set mxwarns=10000000.
set mxerrs=10000000.
data list notable/x 1-10.
begin data.

0
0.5
0.9
1
2
3
4
4.1
4.5
4.9
5
6
7
7.1
7.5
7.9
8
end data.
do repeat format=wkday2 to wkday40.
print outfile='wkday-out.out'/x(format).
end repeat.
execute.
_ATEOF

{ set +x
$as_echo "$at_srcdir/data-out.at:20883: pspp -O format=csv wkday-out.sps"
at_fn_check_prepare_trace "data-out.at:20883"
( $at_check_trace; pspp -O format=csv wkday-out.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; tee stdout <"$at_stdout"
at_fn_check_status 1 $at_status "$at_srcdir/data-out.at:20883"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:20884: sed '/^ *
*\$/d' stdout | sort | uniq -c | sed 's/^[ 	]*//'"
at_fn_check_prepare_notrace 'a shell pipeline' "data-out.at:20884"
( $at_check_trace; sed '/^ *
*$/d' stdout | sort | uniq -c | sed 's/^[ 	]*//'
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "39 error: Weekday number 0.000000 is not between 1 and 7.
39 error: Weekday number 0.500000 is not between 1 and 7.
39 error: Weekday number 0.900000 is not between 1 and 7.
39 error: Weekday number 8.000000 is not between 1 and 7.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:20884"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-out.at:20891: cat wkday-out.out"
at_fn_check_prepare_trace "data-out.at:20891"
( $at_check_trace; cat wkday-out.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "  .
   .
    .
     .
      .
       .
        .
         .
          .
           .
            .
             .
              .
               .
                .
                 .
                  .
                   .
                    .
                     .
                      .
                       .
                        .
                         .
                          .
                           .
                            .
                             .
                              .
                               .
                                .
                                 .
                                  .
                                   .
                                    .
                                     .
                                      .
                                       .
                                        .
  .
   .
    .
     .
      .
       .
        .
         .
          .
           .
            .
             .
              .
               .
                .
                 .
                  .
                   .
                    .
                     .
                      .
                       .
                        .
                         .
                          .
                           .
                            .
                             .
                              .
                               .
                                .
                                 .
                                  .
                                   .
                                    .
                                     .
                                      .
                                       .
                                        .
  .
   .
    .
     .
      .
       .
        .
         .
          .
           .
            .
             .
              .
               .
                .
                 .
                  .
                   .
                    .
                     .
                      .
                       .
                        .
                         .
                          .
                           .
                            .
                             .
                              .
                               .
                                .
                                 .
                                  .
                                   .
                                    .
                                     .
                                      .
                                       .
                                        .
  .
   .
    .
     .
      .
       .
        .
         .
          .
           .
            .
             .
              .
               .
                .
                 .
                  .
                   .
                    .
                     .
                      .
                       .
                        .
                         .
                          .
                           .
                            .
                             .
                              .
                               .
                                .
                                 .
                                  .
                                   .
                                    .
                                     .
                                      .
                                       .
                                        .
 SU
 SUN
 SUND
 SUNDA
 SUNDAY
 SUNDAY 
 SUNDAY  
 SUNDAY   
 SUNDAY    
 SUNDAY     
 SUNDAY      
 SUNDAY       
 SUNDAY        
 SUNDAY         
 SUNDAY          
 SUNDAY           
 SUNDAY            
 SUNDAY             
 SUNDAY              
 SUNDAY               
 SUNDAY                
 SUNDAY                 
 SUNDAY                  
 SUNDAY                   
 SUNDAY                    
 SUNDAY                     
 SUNDAY                      
 SUNDAY                       
 SUNDAY                        
 SUNDAY                         
 SUNDAY                          
 SUNDAY                           
 SUNDAY                            
 SUNDAY                             
 SUNDAY                              
 SUNDAY                               
 SUNDAY                                
 SUNDAY                                 
 SUNDAY                                  
 MO
 MON
 MOND
 MONDA
 MONDAY
 MONDAY 
 MONDAY  
 MONDAY   
 MONDAY    
 MONDAY     
 MONDAY      
 MONDAY       
 MONDAY        
 MONDAY         
 MONDAY          
 MONDAY           
 MONDAY            
 MONDAY             
 MONDAY              
 MONDAY               
 MONDAY                
 MONDAY                 
 MONDAY                  
 MONDAY                   
 MONDAY                    
 MONDAY                     
 MONDAY                      
 MONDAY                       
 MONDAY                        
 MONDAY                         
 MONDAY                          
 MONDAY                           
 MONDAY                            
 MONDAY                             
 MONDAY                              
 MONDAY                               
 MONDAY                                
 MONDAY                                 
 MONDAY                                  
 TU
 TUE
 TUES
 TUESD
 TUESDA
 TUESDAY
 TUESDAY 
 TUESDAY  
 TUESDAY   
 TUESDAY    
 TUESDAY     
 TUESDAY      
 TUESDAY       
 TUESDAY        
 TUESDAY         
 TUESDAY          
 TUESDAY           
 TUESDAY            
 TUESDAY             
 TUESDAY              
 TUESDAY               
 TUESDAY                
 TUESDAY                 
 TUESDAY                  
 TUESDAY                   
 TUESDAY                    
 TUESDAY                     
 TUESDAY                      
 TUESDAY                       
 TUESDAY                        
 TUESDAY                         
 TUESDAY                          
 TUESDAY                           
 TUESDAY                            
 TUESDAY                             
 TUESDAY                              
 TUESDAY                               
 TUESDAY                                
 TUESDAY                                 
 WE
 WED
 WEDN
 WEDNE
 WEDNES
 WEDNESD
 WEDNESDA
 WEDNESDAY
 WEDNESDAY 
 WEDNESDAY  
 WEDNESDAY   
 WEDNESDAY    
 WEDNESDAY     
 WEDNESDAY      
 WEDNESDAY       
 WEDNESDAY        
 WEDNESDAY         
 WEDNESDAY          
 WEDNESDAY           
 WEDNESDAY            
 WEDNESDAY             
 WEDNESDAY              
 WEDNESDAY               
 WEDNESDAY                
 WEDNESDAY                 
 WEDNESDAY                  
 WEDNESDAY                   
 WEDNESDAY                    
 WEDNESDAY                     
 WEDNESDAY                      
 WEDNESDAY                       
 WEDNESDAY                        
 WEDNESDAY                         
 WEDNESDAY                          
 WEDNESDAY                           
 WEDNESDAY                            
 WEDNESDAY                             
 WEDNESDAY                              
 WEDNESDAY                               
 WE
 WED
 WEDN
 WEDNE
 WEDNES
 WEDNESD
 WEDNESDA
 WEDNESDAY
 WEDNESDAY 
 WEDNESDAY  
 WEDNESDAY   
 WEDNESDAY    
 WEDNESDAY     
 WEDNESDAY      
 WEDNESDAY       
 WEDNESDAY        
 WEDNESDAY         
 WEDNESDAY          
 WEDNESDAY           
 WEDNESDAY            
 WEDNESDAY             
 WEDNESDAY              
 WEDNESDAY               
 WEDNESDAY                
 WEDNESDAY                 
 WEDNESDAY                  
 WEDNESDAY                   
 WEDNESDAY                    
 WEDNESDAY                     
 WEDNESDAY                      
 WEDNESDAY                       
 WEDNESDAY                        
 WEDNESDAY                         
 WEDNESDAY                          
 WEDNESDAY                           
 WEDNESDAY                            
 WEDNESDAY                             
 WEDNESDAY                              
 WEDNESDAY                               
 WE
 WED
 WEDN
 WEDNE
 WEDNES
 WEDNESD
 WEDNESDA
 WEDNESDAY
 WEDNESDAY 
 WEDNESDAY  
 WEDNESDAY   
 WEDNESDAY    
 WEDNESDAY     
 WEDNESDAY      
 WEDNESDAY       
 WEDNESDAY        
 WEDNESDAY         
 WEDNESDAY          
 WEDNESDAY           
 WEDNESDAY            
 WEDNESDAY             
 WEDNESDAY              
 WEDNESDAY               
 WEDNESDAY                
 WEDNESDAY                 
 WEDNESDAY                  
 WEDNESDAY                   
 WEDNESDAY                    
 WEDNESDAY                     
 WEDNESDAY                      
 WEDNESDAY                       
 WEDNESDAY                        
 WEDNESDAY                         
 WEDNESDAY                          
 WEDNESDAY                           
 WEDNESDAY                            
 WEDNESDAY                             
 WEDNESDAY                              
 WEDNESDAY                               
 WE
 WED
 WEDN
 WEDNE
 WEDNES
 WEDNESD
 WEDNESDA
 WEDNESDAY
 WEDNESDAY 
 WEDNESDAY  
 WEDNESDAY   
 WEDNESDAY    
 WEDNESDAY     
 WEDNESDAY      
 WEDNESDAY       
 WEDNESDAY        
 WEDNESDAY         
 WEDNESDAY          
 WEDNESDAY           
 WEDNESDAY            
 WEDNESDAY             
 WEDNESDAY              
 WEDNESDAY               
 WEDNESDAY                
 WEDNESDAY                 
 WEDNESDAY                  
 WEDNESDAY                   
 WEDNESDAY                    
 WEDNESDAY                     
 WEDNESDAY                      
 WEDNESDAY                       
 WEDNESDAY                        
 WEDNESDAY                         
 WEDNESDAY                          
 WEDNESDAY                           
 WEDNESDAY                            
 WEDNESDAY                             
 WEDNESDAY                              
 WEDNESDAY                               
 TH
 THU
 THUR
 THURS
 THURSD
 THURSDA
 THURSDAY
 THURSDAY 
 THURSDAY  
 THURSDAY   
 THURSDAY    
 THURSDAY     
 THURSDAY      
 THURSDAY       
 THURSDAY        
 THURSDAY         
 THURSDAY          
 THURSDAY           
 THURSDAY            
 THURSDAY             
 THURSDAY              
 THURSDAY               
 THURSDAY                
 THURSDAY                 
 THURSDAY                  
 THURSDAY                   
 THURSDAY                    
 THURSDAY                     
 THURSDAY                      
 THURSDAY                       
 THURSDAY                        
 THURSDAY                         
 THURSDAY                          
 THURSDAY                           
 THURSDAY                            
 THURSDAY                             
 THURSDAY                              
 THURSDAY                               
 THURSDAY                                
 FR
 FRI
 FRID
 FRIDA
 FRIDAY
 FRIDAY 
 FRIDAY  
 FRIDAY   
 FRIDAY    
 FRIDAY     
 FRIDAY      
 FRIDAY       
 FRIDAY        
 FRIDAY         
 FRIDAY          
 FRIDAY           
 FRIDAY            
 FRIDAY             
 FRIDAY              
 FRIDAY               
 FRIDAY                
 FRIDAY                 
 FRIDAY                  
 FRIDAY                   
 FRIDAY                    
 FRIDAY                     
 FRIDAY                      
 FRIDAY                       
 FRIDAY                        
 FRIDAY                         
 FRIDAY                          
 FRIDAY                           
 FRIDAY                            
 FRIDAY                             
 FRIDAY                              
 FRIDAY                               
 FRIDAY                                
 FRIDAY                                 
 FRIDAY                                  
 SA
 SAT
 SATU
 SATUR
 SATURD
 SATURDA
 SATURDAY
 SATURDAY 
 SATURDAY  
 SATURDAY   
 SATURDAY    
 SATURDAY     
 SATURDAY      
 SATURDAY       
 SATURDAY        
 SATURDAY         
 SATURDAY          
 SATURDAY           
 SATURDAY            
 SATURDAY             
 SATURDAY              
 SATURDAY               
 SATURDAY                
 SATURDAY                 
 SATURDAY                  
 SATURDAY                   
 SATURDAY                    
 SATURDAY                     
 SATURDAY                      
 SATURDAY                       
 SATURDAY                        
 SATURDAY                         
 SATURDAY                          
 SATURDAY                           
 SATURDAY                            
 SATURDAY                             
 SATURDAY                              
 SATURDAY                               
 SATURDAY                                
 SA
 SAT
 SATU
 SATUR
 SATURD
 SATURDA
 SATURDAY
 SATURDAY 
 SATURDAY  
 SATURDAY   
 SATURDAY    
 SATURDAY     
 SATURDAY      
 SATURDAY       
 SATURDAY        
 SATURDAY         
 SATURDAY          
 SATURDAY           
 SATURDAY            
 SATURDAY             
 SATURDAY              
 SATURDAY               
 SATURDAY                
 SATURDAY                 
 SATURDAY                  
 SATURDAY                   
 SATURDAY                    
 SATURDAY                     
 SATURDAY                      
 SATURDAY                       
 SATURDAY                        
 SATURDAY                         
 SATURDAY                          
 SATURDAY                           
 SATURDAY                            
 SATURDAY                             
 SATURDAY                              
 SATURDAY                               
 SATURDAY                                
 SA
 SAT
 SATU
 SATUR
 SATURD
 SATURDA
 SATURDAY
 SATURDAY 
 SATURDAY  
 SATURDAY   
 SATURDAY    
 SATURDAY     
 SATURDAY      
 SATURDAY       
 SATURDAY        
 SATURDAY         
 SATURDAY          
 SATURDAY           
 SATURDAY            
 SATURDAY             
 SATURDAY              
 SATURDAY               
 SATURDAY                
 SATURDAY                 
 SATURDAY                  
 SATURDAY                   
 SATURDAY                    
 SATURDAY                     
 SATURDAY                      
 SATURDAY                       
 SATURDAY                        
 SATURDAY                         
 SATURDAY                          
 SATURDAY                           
 SATURDAY                            
 SATURDAY                             
 SATURDAY                              
 SATURDAY                               
 SATURDAY                                
 SA
 SAT
 SATU
 SATUR
 SATURD
 SATURDA
 SATURDAY
 SATURDAY 
 SATURDAY  
 SATURDAY   
 SATURDAY    
 SATURDAY     
 SATURDAY      
 SATURDAY       
 SATURDAY        
 SATURDAY         
 SATURDAY          
 SATURDAY           
 SATURDAY            
 SATURDAY             
 SATURDAY              
 SATURDAY               
 SATURDAY                
 SATURDAY                 
 SATURDAY                  
 SATURDAY                   
 SATURDAY                    
 SATURDAY                     
 SATURDAY                      
 SATURDAY                       
 SATURDAY                        
 SATURDAY                         
 SATURDAY                          
 SATURDAY                           
 SATURDAY                            
 SATURDAY                             
 SATURDAY                              
 SATURDAY                               
 SATURDAY                                
  .
   .
    .
     .
      .
       .
        .
         .
          .
           .
            .
             .
              .
               .
                .
                 .
                  .
                   .
                    .
                     .
                      .
                       .
                        .
                         .
                          .
                           .
                            .
                             .
                              .
                               .
                                .
                                 .
                                  .
                                   .
                                    .
                                     .
                                      .
                                       .
                                        .
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:20891"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_29
#AT_START_30
at_fn_group_banner 30 'data-out.at:21600' \
  "AHEX output bug" "                                " 3
at_xfail=no
(
  $as_echo "30. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >ahex.sps <<'_ATEOF'

DATA LIST NOTABLE /s (a8).
BEGIN DATA.
abcdefgh
END DATA.
FORMATS s (AHEX16).
LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/data-out.at:21610: pspp -O format=csv ahex.sps"
at_fn_check_prepare_trace "data-out.at:21610"
( $at_check_trace; pspp -O format=csv ahex.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
s
6162636465666768
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-out.at:21610"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_30
#AT_START_31
at_fn_group_banner 31 'datasheet-test.at:28' \
  "3x3, 0 backing rows, backing widths " "           " 4
at_xfail=no
(
  $as_echo "31. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/datasheet-test.at:28: datasheet-test --verbosity=0 --max-rows=3 --max-columns=3 \\
   			    --backing-rows=0 --backing-widths="
at_fn_check_prepare_notrace 'an embedded newline' "datasheet-test.at:28"
( $at_check_trace; datasheet-test --verbosity=0 --max-rows=3 --max-columns=3 \
   			    --backing-rows=0 --backing-widths=
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/datasheet-test.at:28"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_31
#AT_START_32
at_fn_group_banner 32 'datasheet-test.at:29' \
  "3x3, 3 backing rows, backing widths 0,0,0" "      " 4
at_xfail=no
(
  $as_echo "32. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/datasheet-test.at:29: datasheet-test --verbosity=0 --max-rows=3 --max-columns=3 \\
   			    --backing-rows=3 --backing-widths=0,0,0"
at_fn_check_prepare_notrace 'an embedded newline' "datasheet-test.at:29"
( $at_check_trace; datasheet-test --verbosity=0 --max-rows=3 --max-columns=3 \
   			    --backing-rows=3 --backing-widths=0,0,0
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/datasheet-test.at:29"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_32
#AT_START_33
at_fn_group_banner 33 'datasheet-test.at:30' \
  "3x3, 3 backing rows, backing widths 0" "          " 4
at_xfail=no
(
  $as_echo "33. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/datasheet-test.at:30: datasheet-test --verbosity=0 --max-rows=3 --max-columns=3 \\
   			    --backing-rows=3 --backing-widths=0"
at_fn_check_prepare_notrace 'an embedded newline' "datasheet-test.at:30"
( $at_check_trace; datasheet-test --verbosity=0 --max-rows=3 --max-columns=3 \
   			    --backing-rows=3 --backing-widths=0
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/datasheet-test.at:30"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_33
#AT_START_34
at_fn_group_banner 34 'datasheet-test.at:31' \
  "3x3, 3 backing rows, backing widths 5" "          " 4
at_xfail=no
(
  $as_echo "34. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/datasheet-test.at:31: datasheet-test --verbosity=0 --max-rows=3 --max-columns=3 \\
   			    --backing-rows=3 --backing-widths=5"
at_fn_check_prepare_notrace 'an embedded newline' "datasheet-test.at:31"
( $at_check_trace; datasheet-test --verbosity=0 --max-rows=3 --max-columns=3 \
   			    --backing-rows=3 --backing-widths=5
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/datasheet-test.at:31"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_34
#AT_START_35
at_fn_group_banner 35 'datasheet-test.at:32' \
  "3x3, 1 backing rows, backing widths 0,9,0" "      " 4
at_xfail=no
(
  $as_echo "35. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/datasheet-test.at:32: datasheet-test --verbosity=0 --max-rows=3 --max-columns=3 \\
   			    --backing-rows=1 --backing-widths=0,9,0"
at_fn_check_prepare_notrace 'an embedded newline' "datasheet-test.at:32"
( $at_check_trace; datasheet-test --verbosity=0 --max-rows=3 --max-columns=3 \
   			    --backing-rows=1 --backing-widths=0,9,0
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/datasheet-test.at:32"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_35
#AT_START_36
at_fn_group_banner 36 'dictionary.at:19' \
  "dictionary case-insensitivity" "                  " 5
at_xfail=no
(
  $as_echo "36. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >dictionary.sps <<'_ATEOF'
DATA LIST LIST /aèiöu aeiou.
BEGIN DATA
1 2
END DATA.
LIST AÈIÖU
RENAME VARIABLE (aèiöu=AÈIÖU).
LIST.
RENAME VARIABLE (aeiou=aèiöu).
_ATEOF


{ set +x
$as_echo "$at_srcdir/dictionary.at:31: pspp -O format=csv dictionary.sps"
at_fn_check_prepare_trace "dictionary.at:31"
( $at_check_trace; pspp -O format=csv dictionary.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Reading free-form data from INLINE.
Variable,Format
aèiöu,F8.0
aeiou,F8.0

Table: Data List
aèiöu
1.00

Table: Data List
AÈIÖU,aeiou
1.00,2.00

dictionary.sps:8: error: RENAME VARIABLES: Renaming would duplicate variable name aèiöu.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/dictionary.at:31"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_36
#AT_START_37
at_fn_group_banner 37 'file.at:19' \
  "Write error - directory exists" "                 " 6
at_xfail=no
(
  $as_echo "37. $at_setup_line: testing $at_desc ..."
  $at_traceon


mkdir foobar.sav

cat >file.sps <<'_ATEOF'
DATA LIST NOTABLE/x 1.
BEGIN DATA.
5
END DATA.
SAVE OUTFILE='foobar.sav'.
_ATEOF


{ set +x
$as_echo "$at_srcdir/file.at:31: pspp -O format=csv file.sps"
at_fn_check_prepare_trace "file.at:31"
( $at_check_trace; pspp -O format=csv file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "error: Opening foobar.sav for writing: Is a directory.

error: Error opening \`foobar.sav' for writing as a system file: Is a directory.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/file.at:31"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_37
#AT_START_38
at_fn_group_banner 38 'file.at:40' \
  "Write error - no permission" "                    " 6
at_xfail=no
(
  $as_echo "38. $at_setup_line: testing $at_desc ..."
  $at_traceon


mkdir  directory
touch directory/foobar.sav
chmod 000 directory

cat >file.sps <<'_ATEOF'
DATA LIST NOTABLE/x 1.
BEGIN DATA.
5
END DATA.
SAVE OUTFILE='directory/foobar.sav'.
_ATEOF


{ set +x
$as_echo "$at_srcdir/file.at:54: pspp -O format=csv file.sps"
at_fn_check_prepare_trace "file.at:54"
( $at_check_trace; pspp -O format=csv file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "error: Creating temporary file to replace directory/foobar.sav: Permission denied.

error: Error opening \`directory/foobar.sav' for writing as a system file: Permission denied.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/file.at:54"
$at_failed && at_fn_log_failure
$at_traceon; }


chmod 700 directory

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_38
#AT_START_39
at_fn_group_banner 39 'file.at:66' \
  "Write error - temp file disappeared" "            " 6
at_xfail=no
(
  $as_echo "39. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >file.sps <<'_ATEOF'
DATA LIST NOTABLE/x 1.
BEGIN DATA.
5
END DATA.
XSAVE OUTFILE='foobar.sav'.
HOST COMMAND=['rm foobar.savtmp*'].
EXECUTE.
_ATEOF


{ set +x
$as_echo "$at_srcdir/file.at:78: pspp -O format=csv file.sps"
at_fn_check_prepare_trace "file.at:78"
( $at_check_trace; pspp -O format=csv file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 1 $at_status "$at_srcdir/file.at:78"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_39
#AT_START_40
at_fn_group_banner 40 'file.at:84' \
  "Write fifo" "                                     " 6
at_xfail=no
(
  $as_echo "40. $at_setup_line: testing $at_desc ..."
  $at_traceon


$as_echo "file.at:87" >"$at_check_line_file"
(case $host in *-*-mingw*) true ;; *) false ;; esac) \
  && at_fn_check_skip 77 "$at_srcdir/file.at:87"

cat >file.sps <<'_ATEOF'
DATA LIST NOTABLE/x 1.
BEGIN DATA.
5
END DATA.
SAVE OUTFILE='foobar.sav'.
_ATEOF


mkfifo foobar.sav
cat foobar.sav > /dev/null &
pid=$!

{ set +x
$as_echo "$at_srcdir/file.at:101: pspp -O format=csv file.sps"
at_fn_check_prepare_trace "file.at:101"
( $at_check_trace; pspp -O format=csv file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/file.at:101"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_40
#AT_START_41
at_fn_group_banner 41 'file.at:107' \
  "Reading from pipe" "                              " 6
at_xfail=no
(
  $as_echo "41. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >pipe.sps <<'_ATEOF'
data list file='printf "1 2\n 3 4\n 5 6\n" |' notable list /x * y *.
list.
_ATEOF


{ set +x
$as_echo "$at_srcdir/file.at:114: pspp -O format=csv pipe.sps"
at_fn_check_prepare_trace "file.at:114"
( $at_check_trace; pspp -O format=csv pipe.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
x,y
1.00,2.00
3.00,4.00
5.00,6.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/file.at:114"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_41
#AT_START_42
at_fn_group_banner 42 'format-guesser.at:19' \
  "format guesser" "                                 " 7
at_xfail=no
(
  $as_echo "42. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >format-guesser.txt <<'_ATEOF'
# No data.
=> F8.2
"" => F8.2
"." => F8.2

# Numeric formats.
"1.2" => F3.1
"$1.2" => DOLLAR4.1
"1.2%" => PCT4.1
"$1.2%" => A5
"1e5" => E3.0
"1e+5" => E4.0
"1+5" => E3.0
"1-5" => E3.0
"1.2e5" => E5.1
"1.3e+5" => E6.1
"1.4+5" => E5.1
"1e" => A2
"1e+" => A3
"1+" => A2
"1-" => A2
"1.5-5" => E5.1
"1,123" => COMMA5.0         # Is , is grouping or decimal? Assume grouping.
"1.123" => F5.3		    # Ditto.
"1,12" => F4.2		    # Not a group of 3, so last delim must be decimal.
"1.12" => F4.2		    # Ditto.
"1,1234" => F6.4	    # Not a group of 3, so last delim must be decimal.
"1.1234" => F6.4	    # Ditto.
"$1.234" => DOLLAR6.3       # Dollar sign means decimal has to be '.'.
"$1,234" => DOLLAR6.0       # Ditto.
"1.234%" => PCT6.3          # Percent sign means decimal has to be '.'.
"1,234%" => PCT6.0          # Ditto.
"1,123.456" => COMMA9.3	    # Both '.' and ',', so last delim must be decimal.
"1.123,456" => DOT9.3	    # Ditto.
"1,123,456.45" => COMMA12.2 # Ditto.
"1.123.456,45" => DOT12.2   # Ditto.
"1,123,456" => COMMA9.0	    # Ditto.
"1.123.456" => DOT9.0	    # Ditto.

# Date and time formats.
"01-OCT-1978" => DATE11
"01-x-1978" => EDATE9		# Roman numeral for month.
"01-13-99" => ADATE8
"1-13-99" => ADATE7 (ADATE8)
"13-01-99" => EDATE8
"13-1-99" => EDATE7 (EDATE8)
"32-1-1" => SDATE6 (SDATE8)
"1q01" => QYR4
"1Q01" => QYR4
"1 q 01" => QYR6
"1 Q 01" => QYR6
"1q2001" => QYR6
"1Q2001" => QYR6
"1 q 2001" => QYR8
"1 Q 2001" => QYR8
"oct 05" => MOYR6
"oct 2005" => MOYR8
"1-1-01 1:2" => A10 		# Minute needs at least two digits.
"1-1-01 1:02" => DATETIME11.0 (DATETIME17.0)
"1-1-01 1:02:3" => A13		# Second needs at least two digits.
"1-1-01 1:02:03" => DATETIME20.0
"1-1-01 1:02:03.1" => DATETIME20.1 (DATETIME22.1)
"1-1-01 +1:02:03.1" => DATETIME20.1 (DATETIME22.1)
"1-1-01 -1:02:03.1" => DATETIME20.1 (DATETIME22.1)
# XXX YMDHMS formats
# XXX MTIME formats
"1:30" => TIME4.0 (TIME5.0)
"1:30:05" => TIME8.0
"-1:30" => TIME5.0
"+1:30" => TIME5.0
"-1:30:15" => TIME8.0
"+1:30:15" => TIME8.0
"-1:30:15.5" => TIME10.1
"+1:30:15.75" => TIME11.2
"1 1:30" => DTIME6.0 (DTIME8.0)
"+1 1:30" => DTIME7.0 (DTIME8.0)
"-1 1:30" => DTIME7.0 (DTIME8.0)
"-1-13-99" => A8
"+1-13-99" => A8
"1+13+99" => A7
"1:00:01.03" => TIME10.2 (TIME11.2)
"12 1:00:01.3" => DTIME12.1 (DTIME13.1)
"jan" => MONTH3
"Feb" => MONTH3
"MAR" => MONTH3
"i" => A1			# Not detected as MONTH format.
"v" => A1
"ix" => A2
"x" => A1
"january" => MONTH7
"janaury" => MONTH7		# Only first three letters are significant.
"february" => MONTH8
"febraury" => MONTH8
"march" => MONTH5
"marhc" => MONTH5
"april" => MONTH5
"may" => MONTH3
"june" => MONTH4
"july" => MONTH4
"august" => MONTH6
"september" => MONTH9
"october" => MONTH7
"november" => MONTH8
"decmeber" => MONTH8
"december" => MONTH8
"monady" => WKDAY6
"tuseday" => WKDAY7
"wedensday" => WKDAY9
"thurdsay" => WKDAY8
"fridya" => WKDAY6
"saturady" => WKDAY8
"sudnay" => WKDAY6

# Ambiguous; bias in favor of more sensible DD/MM/YY format:
"1/1/1978" => EDATE8
"01/01/01" => EDATE8

# Several ambiguous dates can be clarified by one unambiguous example:
"1/1/1978" "1/2/1978" "1/3/1978" "1/13/1978" => ADATE9 # MM/DD/YY
"01/01/01" "02/01/01" "03/01/01" "13/01/01" => EDATE8  # DD/MM/YY
"01/01/01" "02/01/01" "03/01/01" "2013/01/01" => SDATE10 # YY/MM/DD
_ATEOF

{ set +x
$as_echo "$at_srcdir/format-guesser.at:143: (echo \"SET DECIMAL=DOT.\"
           sed -e 's/#.*//
s/[ 	]*\$//
/^\$/d
s,^\\(.*\\)=> \\(.*\\)\$,DEBUG FORMAT GUESSER \\1.,') \\
           < format-guesser.txt > format-guesser.sps"
at_fn_check_prepare_notrace 'an embedded newline' "format-guesser.at:143"
( $at_check_trace; (echo "SET DECIMAL=DOT."
           sed -e 's/#.*//
s/[ 	]*$//
/^$/d
s,^\(.*\)=> \(.*\)$,DEBUG FORMAT GUESSER \1.,') \
           < format-guesser.txt > format-guesser.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/format-guesser.at:143"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/format-guesser.at:149: pspp --testing-mode -O format=csv format-guesser.sps"
at_fn_check_prepare_trace "format-guesser.at:149"
( $at_check_trace; pspp --testing-mode -O format=csv format-guesser.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/format-guesser.at:149"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/format-guesser.at:151: sed -e 's/#.*//
s/[ 	]*\$//
/^\$/d' < format-guesser.txt > expout"
at_fn_check_prepare_notrace 'an embedded newline' "format-guesser.at:151"
( $at_check_trace; sed -e 's/#.*//
s/[ 	]*$//
/^$/d' < format-guesser.txt > expout
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/format-guesser.at:151"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/format-guesser.at:154: cat stderr"
at_fn_check_prepare_trace "format-guesser.at:154"
( $at_check_trace; cat stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/format-guesser.at:154"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_42
#AT_START_43
at_fn_group_banner 43 'mdd-file.at:19' \
  "write MDD file" "                                 " 8
at_xfail=no
(
  $as_echo "43. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >test.sps <<'_ATEOF'
DATA LIST LIST NOTABLE / variable001 * variable002 * variable003 * variable004 * .
BEGIN DATA.
    1.00     1.00    1.0     2.00
    1.00     1.00    2.0    30.00
    1.00     2.00    1.0     8.00
    1.00     2.00    2.0    20.00
    2.00     1.00    1.0     2.00
    2.00     1.00    2.0    22.00
    2.00     2.00    1.0     1.00
    2.00     2.00    2.0     3.00
END DATA.

SAVE DATA COLLECTION /OUTFILE='test.sav' /METADATA='test.mdd'.
_ATEOF

{ set +x
$as_echo "$at_srcdir/mdd-file.at:36: pspp -o pspp.csv test.sps"
at_fn_check_prepare_trace "mdd-file.at:36"
( $at_check_trace; pspp -o pspp.csv test.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/mdd-file.at:36"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/mdd-file.at:37: test -e test.sav"
at_fn_check_prepare_trace "mdd-file.at:37"
( $at_check_trace; test -e test.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/mdd-file.at:37"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/mdd-file.at:38: test -e test.mdd"
at_fn_check_prepare_trace "mdd-file.at:38"
( $at_check_trace; test -e test.mdd
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/mdd-file.at:38"
$at_failed && at_fn_log_failure
$at_traceon; }


if test $HAVE_XMLLINT = yes; then
    { set +x
$as_echo "$at_srcdir/mdd-file.at:41: \$XMLLINT --format test.mdd"
at_fn_check_prepare_dynamic "$XMLLINT --format test.mdd" "mdd-file.at:41"
( $at_check_trace; $XMLLINT --format test.mdd
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/mdd-file.at:41"
$at_failed && at_fn_log_failure
$at_traceon; }

fi
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_43
#AT_START_44
at_fn_group_banner 44 'pc+-file-reader.at:19' \
  "variable labels and missing values" "             " 9
at_xfail=no
(
  $as_echo "44. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >pc+-file.sack <<'_ATEOF'
2; 0;
@MAIN; @MAIN_END - @MAIN;
@VARS; @VARS_END - @VARS;
@LABELS; @LABELS_END - @LABELS;
@DATA; @DATA_END - @DATA;
(0; 0) * 11;
i8 0 * 128;

MAIN:
    i16 1;             s62 "PCSPSS PSPP synthetic test product";
    PCSYSMIS;
    0; 0; i16 1;       i16 0;
    i16 15;
    1;
    i16 0;             1;
    s8 "11/28/14";
    s8 "15:11:00";
    s64 "PSPP synthetic test file";
MAIN_END:

VARS:
    0; 0; 0; 0x050800; s8 "$CASENUM"; PCSYSMIS;
    0; 0; 0; 0x010800; s8 "$DATE"; PCSYSMIS;
    0; 0; 0; 0x050802; s8 "$WEIGHT"; PCSYSMIS;

        0; 0; 0; 0x050800; s8 "NUM1"; PCSYSMIS;

        0; 0; @NUM2_LABEL - @LABELS_OFS; 0x050800; s8 "NUM2"; PCSYSMIS;

        0; 0; 0; 0x050800; s8 "NUM3"; 1.0;

        0; 0; @NUM4_LABEL - @LABELS_OFS; 0x050800; s8 "NUM4"; 2.0;

        0; 0; 0; 0x010800; s8 "STR1"; PCSYSMIS;

        0; 0; @STR2_LABEL - @LABELS_OFS; 0x010400; s8 "STR2"; PCSYSMIS;

        0; 0; 0; 0x010500; s8 "STR3"; s8 "MISS";

        0; 0; @STR4_LABEL - @LABELS_OFS; 0x010100; s8 "STR4"; s8 "OTHR";

        0; 0; 0; 0x010b00; s8 "STR5"; PCSYSMIS;
    0 * 8;

        0; 0; @STR6_LABEL - @LABELS_OFS; 0x010b00; s8 "STR6"; PCSYSMIS;
    0 * 8;
VARS_END:

LABELS:
    3; i8 0 0 0; LABELS_OFS: i8 0;
    NUM2_LABEL: COUNT8("Numeric variable 2's label");
    NUM4_LABEL: COUNT8("Another numeric variable label");
    STR2_LABEL: COUNT8("STR2's variable label");
    STR4_LABEL: COUNT8("STR4's variable label");
    STR6_LABEL: COUNT8("Another string variable's label");
LABELS_END:

DATA:
    0.0; "11/28/14"; 1.0;
    0.0; 1.0; 2.0; PCSYSMIS; s8 "abcdefgh"; s8 "ijkl"; s8 "mnopq"; s8 "r";
    s16 "stuvwxyzAB"; s16 "CDEFGHIJKLM";
DATA_END:
_ATEOF

{ set +x
$as_echo "$at_srcdir/pc+-file-reader.at:99: sack --le pc+-file.sack > pc+-file.sav"
at_fn_check_prepare_trace "pc+-file-reader.at:99"
( $at_check_trace; sack --le pc+-file.sack > pc+-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/pc+-file-reader.at:99"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >pc+-file.sps <<'_ATEOF'
GET FILE='pc+-file.sav' ENCODING='us-ascii'.
DISPLAY FILE LABEL.
DISPLAY DICTIONARY.
LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/pc+-file-reader.at:106: pspp -o pspp.csv pc+-file.sps"
at_fn_check_prepare_trace "pc+-file-reader.at:106"
( $at_check_trace; pspp -o pspp.csv pc+-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/pc+-file-reader.at:106"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/pc+-file-reader.at:107: cat pspp.csv"
at_fn_check_prepare_trace "pc+-file-reader.at:107"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "File label: PSPP synthetic test file

Variable,Description,Position
NUM1,Format: F8.0,1
NUM2,\"Label: Numeric variable 2's label
Format: F8.0\",2
NUM3,\"Format: F8.0
Missing Values: 1\",3
NUM4,\"Label: Another numeric variable label
Format: F8.0
Missing Values: 2\",4
STR1,Format: A8,5
STR2,\"Label: STR2's variable label
Format: A4\",6
STR3,\"Format: A5
Missing Values: \"\"MISS \"\"\",7
STR4,\"Label: STR4's variable label
Format: A1
Missing Values: \"\"O\"\"\",8
STR5,Format: A11,9
STR6,\"Label: Another string variable's label
Format: A11\",10

Table: Data List
NUM1,NUM2,NUM3,NUM4,STR1,STR2,STR3,STR4,STR5,STR6
0,1,2,.,abcdefgh,ijkl,mnopq,r,stuvwxyzAB ,CDEFGHIJKLM
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/pc+-file-reader.at:107"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_44
#AT_START_45
at_fn_group_banner 45 'pc+-file-reader.at:137' \
  "value labels" "                                   " 9
at_xfail=no
(
  $as_echo "45. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >pc+-file.sack <<'_ATEOF'
2; 0;
@MAIN; @MAIN_END - @MAIN;
@VARS; @VARS_END - @VARS;
@LABELS; @LABELS_END - @LABELS;
@DATA; @DATA_END - @DATA;
(0; 0) * 11;
i8 0 * 128;

MAIN:
    i16 1;             s62 "PCSPSS PSPP synthetic test product";
    PCSYSMIS;
    0; 0; i16 1;       i16 0;
    i16 16;
    1;
    i16 0;             1;
    s8 "11/28/14";
    s8 "15:11:00";
    s64 "PSPP synthetic test file";
MAIN_END:

VARS:
    0; 0; 0; 0x050800; s8 "$CASENUM"; PCSYSMIS;
    0; 0; 0; 0x010800; s8 "$DATE"; PCSYSMIS;
    0; 0; 0; 0x050802; s8 "$WEIGHT"; PCSYSMIS;

        @N1 - @LOFF; @N1E - @LOFF; 0; 0x050800; s8 "NUM1"; PCSYSMIS;
    @N2 - @LOFF; @N2E - @LOFF; 0; 0x050800; s8 "NUM2"; PCSYSMIS;
    @N3 - @LOFF; @N3E - @LOFF; 0; 0x050800; s8 "NUM3"; PCSYSMIS;
    @N4 - @LOFF; @N4E - @LOFF; 0; 0x050800; s8 "NUM4"; PCSYSMIS;
    @N5 - @LOFF; @N5E - @LOFF; 0; 0x050800; s8 "NUM5"; PCSYSMIS;

        @S1 - @LOFF; @S1E - @LOFF; 0; 0x010100; s8 "STR1"; PCSYSMIS;
    @S2 - @LOFF; @S2E - @LOFF; 0; 0x010200; s8 "STR2"; PCSYSMIS;
    @S3 - @LOFF; @S3E - @LOFF; 0; 0x010300; s8 "STR3"; PCSYSMIS;
    @S4 - @LOFF; @S4E - @LOFF; 0; 0x010400; s8 "STR4"; PCSYSMIS;
    @S5 - @LOFF; @S5E - @LOFF; 0; 0x010500; s8 "STR5"; PCSYSMIS;
    @S6 - @LOFF; @S6E - @LOFF; 0; 0x010600; s8 "STR6"; PCSYSMIS;
    @S7 - @LOFF; @S7E - @LOFF; 0; 0x010700; s8 "STR7"; PCSYSMIS;
    @S8 - @LOFF; @S8E - @LOFF; 0; 0x010800; s8 "STR8"; PCSYSMIS;
VARS_END:

LABELS:
    3; i8 0 0 0; LOFF: i8 0;

    N1: 1.0; COUNT8("one"); N1E:
    N2: 2.0; COUNT8("two"); 3.0; COUNT8("three"); N2E:
    N3:
        3.0; COUNT8("three");
    N4: N5:
        4.0; COUNT8("four");
    N3E: N4E:
	5.0; COUNT8("five");
    N5E:

    S1: s8 "a"; COUNT8("value label for `a'"); S1E:
    S2: s8 "ab"; COUNT8("value label for `ab'"); S2E:
    S3: s8 "abc"; COUNT8("value label for `abc'"); S3E:
    S4: S5: S6: S7:
        s8 "abcdefgh"; COUNT8("value label for abcdefgh"); S4E:
    S8:
        s8 "ijklmnop"; COUNT8("value label for ijklmnop"); S5E:
        s8 "qrstuvwx"; COUNT8("value label for qrstuvwx"); S6E:
        s8 "yzABCDEF"; COUNT8("value label for yzABCDEF"); S7E:
        s8 "GHIJKLMN"; COUNT8("value label for GHIJKLMN"); S8E:
LABELS_END:

DATA:
    1.0; "11/28/14"; 1.0;
    1.0; 2.0; 3.0; 4.0; 5.0;
    s8 "a"; s8 "bc"; s8 "cde"; s8 "fghj"; s8 "klmno"; s8 "pqrstu";
    s8 "vwxyzAB"; s8 "CDEFGHIJ";
DATA_END:
_ATEOF

{ set +x
$as_echo "$at_srcdir/pc+-file-reader.at:219: sack --le pc+-file.sack > pc+-file.sav"
at_fn_check_prepare_trace "pc+-file-reader.at:219"
( $at_check_trace; sack --le pc+-file.sack > pc+-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/pc+-file-reader.at:219"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >pc+-file.sps <<'_ATEOF'
GET FILE='pc+-file.sav' ENCODING='us-ascii'.
DISPLAY FILE LABEL.
DISPLAY DICTIONARY.
LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/pc+-file-reader.at:226: pspp -o pspp.csv pc+-file.sps"
at_fn_check_prepare_trace "pc+-file-reader.at:226"
( $at_check_trace; pspp -o pspp.csv pc+-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/pc+-file-reader.at:226"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/pc+-file-reader.at:227: cat pspp.csv"
at_fn_check_prepare_trace "pc+-file-reader.at:227"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "File label: PSPP synthetic test file

Variable,Description,Position
NUM1,\"Format: F8.0

Value,Label
1,one\",1
NUM2,\"Format: F8.0

Value,Label
2,two
3,three\",2
NUM3,\"Format: F8.0

Value,Label
3,three
4,four\",3
NUM4,\"Format: F8.0

Value,Label
4,four\",4
NUM5,\"Format: F8.0

Value,Label
4,four
5,five\",5
STR1,\"Format: A1

Value,Label
a,value label for \`a'\",6
STR2,\"Format: A2

Value,Label
ab,value label for \`ab'\",7
STR3,\"Format: A3

Value,Label
abc,value label for \`abc'\",8
STR4,\"Format: A4

Value,Label
abcd,value label for abcdefgh\",9
STR5,\"Format: A5

Value,Label
abcde,value label for abcdefgh
ijklm,value label for ijklmnop\",10
STR6,\"Format: A6

Value,Label
abcdef,value label for abcdefgh
ijklmn,value label for ijklmnop
qrstuv,value label for qrstuvwx\",11
STR7,\"Format: A7

Value,Label
abcdefg,value label for abcdefgh
ijklmno,value label for ijklmnop
qrstuvw,value label for qrstuvwx
yzABCDE,value label for yzABCDEF\",12
STR8,\"Format: A8

Value,Label
GHIJKLMN,value label for GHIJKLMN
ijklmnop,value label for ijklmnop
qrstuvwx,value label for qrstuvwx
yzABCDEF,value label for yzABCDEF\",13

Table: Data List
NUM1,NUM2,NUM3,NUM4,NUM5,STR1,STR2,STR3,STR4,STR5,STR6,STR7,STR8
1,2,3,4,5,a,bc,cde,fghj,klmno,pqrstu,vwxyzAB,CDEFGHIJ
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/pc+-file-reader.at:227"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_45
#AT_START_46
at_fn_group_banner 46 'pc+-file-reader.at:302' \
  "compressed data" "                                " 9
at_xfail=no
(
  $as_echo "46. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >pc+-file.sack <<'_ATEOF'
2; 0;
@MAIN; @MAIN_END - @MAIN;
@VARS; @VARS_END - @VARS;
0; 0;
@DATA; @DATA_END - @DATA;
(0; 0) * 11;
i8 0 * 128;

MAIN:
    i16 1;             s62 "PCSPSS PSPP synthetic test product";
    PCSYSMIS;
    0; 0; i16 1;       i16 1;
    i16 9;
    2;
    i16 0;             2;
    s8 "11/28/14";
    s8 "15:11:00";
    s64 "PSPP synthetic test file";
MAIN_END:

VARS:
    0; 0; 0; 0x050800; s8 "$CASENUM"; PCSYSMIS;
    0; 0; 0; 0x010800; s8 "$DATE"; PCSYSMIS;
    0; 0; 0; 0x050802; s8 "$WEIGHT"; PCSYSMIS;

        0; 0; 0; 0x050800; s8 "NUM1"; PCSYSMIS;
    0; 0; 0; 0x050800; s8 "NUM2"; PCSYSMIS;

        0; 0; 0; 0x010400; s8 "STR4"; PCSYSMIS;
    0; 0; 0; 0x010800; s8 "STR8"; PCSYSMIS;
    0; 0; 0; 0x010f00; s8 "STR15"; PCSYSMIS;
    0 * 8;
VARS_END:

DATA:
    i8 101 1 101 100 255 1 1 1;
        s8 "11/28/14"; s8 "abcd"; s8 "efghj"; s8 "efghijkl";
    i8 1; i8 102 1 101 1 0 1 1;
         s8 "ABCDEFG"; s8 "11/28/14"; 1000.0; s8 "PQRS"; s8 "TUVWXYZa";
    i8 1 1 0 0 0 0 0 0;
        s16 "bcdefghijklmnop";
DATA_END:
_ATEOF

{ set +x
$as_echo "$at_srcdir/pc+-file-reader.at:354: sack --le pc+-file.sack > pc+-file.sav"
at_fn_check_prepare_trace "pc+-file-reader.at:354"
( $at_check_trace; sack --le pc+-file.sack > pc+-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/pc+-file-reader.at:354"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >pc+-file.sps <<'_ATEOF'
GET FILE='pc+-file.sav' ENCODING='us-ascii'.
DISPLAY FILE LABEL.
DISPLAY DICTIONARY.
LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/pc+-file-reader.at:361: pspp -o pspp.csv pc+-file.sps"
at_fn_check_prepare_trace "pc+-file-reader.at:361"
( $at_check_trace; pspp -o pspp.csv pc+-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/pc+-file-reader.at:361"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/pc+-file-reader.at:362: cat pspp.csv"
at_fn_check_prepare_trace "pc+-file-reader.at:362"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "File label: PSPP synthetic test file

Variable,Description,Position
NUM1,Format: F8.0,1
NUM2,Format: F8.0,2
STR4,Format: A4,3
STR8,Format: A8,4
STR15,Format: A15,5

Table: Data List
NUM1,NUM2,STR4,STR8,STR15
-5,150,abcd,efghj   ,efghijklABCDEFG
1000,.,PQRS,TUVWXYZa,bcdefghijklmnop
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/pc+-file-reader.at:362"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_46
#AT_START_47
at_fn_group_banner 47 'pc+-file-reader.at:379' \
  "weighted" "                                       " 9
at_xfail=no
(
  $as_echo "47. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >pc+-file.sack <<'_ATEOF'
2; 0;
@MAIN; @MAIN_END - @MAIN;
@VARS; @VARS_END - @VARS;
0; 0;
@DATA; @DATA_END - @DATA;
(0; 0) * 11;
i8 0 * 128;

MAIN:
    i16 1;             s62 "PCSPSS PSPP synthetic test product";
    PCSYSMIS;
    0; 0; i16 1;       i16 0;
    i16 7;
    i16 1; i16 6;
    i16 0;             i16 1; i16 0;
    s8 "11/28/14";
    s8 "15:11:00";
    s64 "PSPP synthetic test file";
MAIN_END:

VARS:
    0; 0; 0; 0x050800; s8 "$CASENUM"; PCSYSMIS;
    0; 0; 0; 0x010800; s8 "$DATE"; PCSYSMIS;
    0; 0; 0; 0x050802; s8 "$WEIGHT"; PCSYSMIS;

        0; 0; 0; 0x050800; s8 "NUM1"; PCSYSMIS;
    0; 0; 0; 0x050800; s8 "NUM2"; PCSYSMIS;
    0; 0; 0; 0x050800; s8 "NUM3"; PCSYSMIS;
    0; 0; 0; 0x050800; s8 "NUM4"; PCSYSMIS;
VARS_END:

DATA:
    0.0; "11/28/14"; 1.0; 2.0; 3.0; 4.0; 5.0;
DATA_END:
_ATEOF

{ set +x
$as_echo "$at_srcdir/pc+-file-reader.at:422: sack --le pc+-file.sack > pc+-file.sav"
at_fn_check_prepare_trace "pc+-file-reader.at:422"
( $at_check_trace; sack --le pc+-file.sack > pc+-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/pc+-file-reader.at:422"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >pc+-file.sps <<'_ATEOF'
SYSFILE INFO FILE='pc+-file.sav' ENCODING='us-ascii'.
_ATEOF

{ set +x
$as_echo "$at_srcdir/pc+-file-reader.at:426: pspp -O format=csv pc+-file.sps"
at_fn_check_prepare_trace "pc+-file-reader.at:426"
( $at_check_trace; pspp -O format=csv pc+-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "File:,pc+-file.sav
Label:,PSPP synthetic test file
Created:,11/28/14 15:11:00 by PCSPSS PSPP synthetic test product
Integer Format:,Little Endian
Real Format:,IEEE 754 LE.
Variables:,4
Cases:,1
Type:,SPSS/PC+ System File
Weight:,NUM3
Compression:,None
Encoding:,us-ascii

Variable,Description,Position
NUM1,\"Format: F8.0
Measure: Scale
Role: Input
Display Alignment: Right
Display Width: 8\",1
NUM2,\"Format: F8.0
Measure: Scale
Role: Input
Display Alignment: Right
Display Width: 8\",2
NUM3,\"Format: F8.0
Measure: Scale
Role: Input
Display Alignment: Right
Display Width: 8\",3
NUM4,\"Format: F8.0
Measure: Scale
Role: Input
Display Alignment: Right
Display Width: 8\",4
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/pc+-file-reader.at:426"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_47
#AT_START_48
at_fn_group_banner 48 'pc+-file-reader.at:465' \
  "unspecified character encoding" "                 " 10
at_xfail=no
(
  $as_echo "48. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >pc+-file.sack <<'_ATEOF'
2; 0;
@MAIN; @MAIN_END - @MAIN;
@VARS; @VARS_END - @VARS;
0; 0;
@DATA; @DATA_END - @DATA;
(0; 0) * 11;
i8 0 * 128;

MAIN:
    i16 1;             s62 "PCSPSS PSPP synthetic test product";
    PCSYSMIS;
    0; 0; i16 1;       i16 0;
    i16 7;
    1;
    i16 0;             1;
    s8 "11/28/14";
    s8 "15:11:00";
    s64 "PSPP synthetic test file";
MAIN_END:

VARS:
    0; 0; 0; 0x050800; s8 "$CASENUM"; PCSYSMIS;
    0; 0; 0; 0x010800; s8 "$DATE"; PCSYSMIS;
    0; 0; 0; 0x050802; s8 "$WEIGHT"; PCSYSMIS;

        0; 0; 0; 0x050800; s8 "NUM1"; PCSYSMIS;
    0; 0; 0; 0x050800; s8 "NUM2"; PCSYSMIS;
    0; 0; 0; 0x050800; s8 "NUM3"; PCSYSMIS;
    0; 0; 0; 0x050800; s8 "NUM4"; PCSYSMIS;
VARS_END:

DATA:
    0.0; "11/28/14"; 1.0; 2.0; 3.0; 4.0; 5.0;
DATA_END:
_ATEOF

{ set +x
$as_echo "$at_srcdir/pc+-file-reader.at:508: sack --le pc+-file.sack > pc+-file.sav"
at_fn_check_prepare_trace "pc+-file-reader.at:508"
( $at_check_trace; sack --le pc+-file.sack > pc+-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/pc+-file-reader.at:508"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >pc+-file.sps <<'_ATEOF'
GET FILE='pc+-file.sav'.
DISPLAY FILE LABEL.
DISPLAY DICTIONARY.
LIST.

SYSFILE INFO FILE='pc+-file.sav' ENCODING='us-ascii'.
_ATEOF

{ set +x
$as_echo "$at_srcdir/pc+-file-reader.at:517: pspp -O format=csv pc+-file.sps"
at_fn_check_prepare_trace "pc+-file-reader.at:517"
( $at_check_trace; pspp -O format=csv pc+-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; tee stdout <"$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/pc+-file-reader.at:517"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/pc+-file-reader.at:518: sed 's/default encoding.*For/default encoding.  For/' stdout"
at_fn_check_prepare_trace "pc+-file-reader.at:518"
( $at_check_trace; sed 's/default encoding.*For/default encoding.  For/' stdout
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "\"warning: \`pc+-file.sav': Using default encoding.  For best results, specify an encoding explicitly.  Use SYSFILE INFO with ENCODING=\"\"DETECT\"\" to analyze the possible encodings.\"

File label: PSPP synthetic test file

Variable,Description,Position
NUM1,Format: F8.0,1
NUM2,Format: F8.0,2
NUM3,Format: F8.0,3
NUM4,Format: F8.0,4

Table: Data List
NUM1,NUM2,NUM3,NUM4
2,3,4,5

File:,pc+-file.sav
Label:,PSPP synthetic test file
Created:,11/28/14 15:11:00 by PCSPSS PSPP synthetic test product
Integer Format:,Little Endian
Real Format:,IEEE 754 LE.
Variables:,4
Cases:,1
Type:,SPSS/PC+ System File
Weight:,Not weighted.
Compression:,None
Encoding:,us-ascii

Variable,Description,Position
NUM1,\"Format: F8.0
Measure: Scale
Role: Input
Display Alignment: Right
Display Width: 8\",1
NUM2,\"Format: F8.0
Measure: Scale
Role: Input
Display Alignment: Right
Display Width: 8\",2
NUM3,\"Format: F8.0
Measure: Scale
Role: Input
Display Alignment: Right
Display Width: 8\",3
NUM4,\"Format: F8.0
Measure: Scale
Role: Input
Display Alignment: Right
Display Width: 8\",4
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/pc+-file-reader.at:518"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_48
#AT_START_49
at_fn_group_banner 49 'pc+-file-reader.at:569' \
  "unexpected fixed values" "                        " 10
at_xfail=no
(
  $as_echo "49. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >pc+-file.sack <<'_ATEOF'
>>1; 2;<<
@MAIN; @MAIN_END - @MAIN;
@VARS; @VARS_END - @VARS;
0; 0;
@DATA; @DATA_END - @DATA;
(0; 0) * 11;
i8 0 * 128;

MAIN:
    i16 1;             s62 "PCSPSS PSPP synthetic test product";
    >>1.0<<;
    0; >>2<<; i16 1;       i16 0;
    i16 7;
    1;
    i16 0;             3;
    s8 "11/28/14";
    s8 "15:11:00";
    s64 "PSPP synthetic test file";
MAIN_END:

VARS:
    0; 0; 0; 0x050800; s8 "$CASENUM"; PCSYSMIS;
    0; 0; 0; 0x010800; s8 "$DATE"; PCSYSMIS;
    0; 0; 0; 0x050802; s8 "$WEIGHT"; PCSYSMIS;

        0; 0; 0; 0x050800; s8 "NUM1"; PCSYSMIS;
    0; 0; 0; 0x050800; s8 "NUM2"; PCSYSMIS;
    0; 0; 0; 0x050800; s8 "NUM3"; PCSYSMIS;
    0; 0; 0; 0x050800; s8 "NUM4"; PCSYSMIS;
VARS_END:

DATA:
    0.0; "11/28/14"; 1.0; 2.0; 3.0; 4.0; 5.0;
DATA_END:
_ATEOF

{ set +x
$as_echo "$at_srcdir/pc+-file-reader.at:612: sack --le pc+-file.sack > pc+-file.sav"
at_fn_check_prepare_trace "pc+-file-reader.at:612"
( $at_check_trace; sack --le pc+-file.sack > pc+-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/pc+-file-reader.at:612"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >pc+-file.sps <<'_ATEOF'
GET FILE='pc+-file.sav' ENCODING='us-ascii'.
_ATEOF

{ set +x
$as_echo "$at_srcdir/pc+-file-reader.at:616: pspp -O format=csv pc+-file.sps"
at_fn_check_prepare_trace "pc+-file-reader.at:616"
( $at_check_trace; pspp -O format=csv pc+-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "\"warning: \`pc+-file.sav' near offset 0x0: Directory fields have unexpected values (1,2).\"

warning: \`pc+-file.sav' near offset 0x100: Record 0 specifies unexpected system missing value 1 (0x1p+0).

\"warning: \`pc+-file.sav' near offset 0x100: Record 0 reserved fields have unexpected values (1,1,0,2,0,0).\"

warning: \`pc+-file.sav' near offset 0x100: Record 0 case counts differ (1 versus 3).
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/pc+-file-reader.at:616"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_49
#AT_START_50
at_fn_group_banner 50 'pc+-file-reader.at:627' \
  "short main header" "                              " 10
at_xfail=no
(
  $as_echo "50. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >pc+-file.sack <<'_ATEOF'
2; 0;
@MAIN; @MAIN_END - @MAIN;
@VARS; @VARS_END - @VARS;
0; 0;
@DATA; @DATA_END - @DATA;
(0; 0) * 11;
i8 0 * 128;

MAIN:
    i16 1;             s62 "PCSPSS PSPP synthetic test product";
    PCSYSMIS;
    0; 0; i16 1;       i16 0;
    i16 7;
    1;
    i16 0;             1;
    s8 "11/28/14";
    s8 "15:11:00";
MAIN_END:

VARS:
    0; 0; 0; 0x050800; s8 "$CASENUM"; PCSYSMIS;
    0; 0; 0; 0x010800; s8 "$DATE"; PCSYSMIS;
    0; 0; 0; 0x050802; s8 "$WEIGHT"; PCSYSMIS;

        0; 0; 0; 0x050800; s8 "NUM1"; PCSYSMIS;
    0; 0; 0; 0x050800; s8 "NUM2"; PCSYSMIS;
    0; 0; 0; 0x050800; s8 "NUM3"; PCSYSMIS;
    0; 0; 0; 0x050800; s8 "NUM4"; PCSYSMIS;
VARS_END:

DATA:
    0.0; "11/28/14"; 1.0; 2.0; 3.0; 4.0; 5.0;
DATA_END:
_ATEOF

{ set +x
$as_echo "$at_srcdir/pc+-file-reader.at:669: sack --le pc+-file.sack > pc+-file.sav"
at_fn_check_prepare_trace "pc+-file-reader.at:669"
( $at_check_trace; sack --le pc+-file.sack > pc+-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/pc+-file-reader.at:669"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >pc+-file.sps <<'_ATEOF'
GET FILE='pc+-file.sav' ENCODING='us-ascii'.
_ATEOF

{ set +x
$as_echo "$at_srcdir/pc+-file-reader.at:673: pspp -O format=csv pc+-file.sps"
at_fn_check_prepare_trace "pc+-file-reader.at:673"
( $at_check_trace; pspp -O format=csv pc+-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "error: \`pc+-file.sav' near offset 0x100: This is not an SPSS/PC+ system file.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/pc+-file-reader.at:673"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_50
#AT_START_51
at_fn_group_banner 51 'pc+-file-reader.at:678' \
  "long main header" "                               " 10
at_xfail=no
(
  $as_echo "51. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >pc+-file.sack <<'_ATEOF'
2; 0;
@MAIN; @MAIN_END - @MAIN;
@VARS; @VARS_END - @VARS;
0; 0;
@DATA; @DATA_END - @DATA;
(0; 0) * 11;
i8 0 * 128;

MAIN:
    i16 1;             s62 "PCSPSS PSPP synthetic test product";
    PCSYSMIS;
    0; 0; i16 1;       i16 0;
    i16 7;
    1;
    i16 0;             1;
    s8 "11/28/14";
    s8 "15:11:00";
    >>s80 "PSPP synthetic test file"<<;
MAIN_END:

VARS:
    0; 0; 0; 0x050800; s8 "$CASENUM"; PCSYSMIS;
    0; 0; 0; 0x010800; s8 "$DATE"; PCSYSMIS;
    0; 0; 0; 0x050802; s8 "$WEIGHT"; PCSYSMIS;

        0; 0; 0; 0x050800; s8 "NUM1"; PCSYSMIS;
    0; 0; 0; 0x050800; s8 "NUM2"; PCSYSMIS;
    0; 0; 0; 0x050800; s8 "NUM3"; PCSYSMIS;
    0; 0; 0; 0x050800; s8 "NUM4"; PCSYSMIS;
VARS_END:

DATA:
    0.0; "11/28/14"; 1.0; 2.0; 3.0; 4.0; 5.0;
DATA_END:
_ATEOF

{ set +x
$as_echo "$at_srcdir/pc+-file-reader.at:721: sack --le pc+-file.sack > pc+-file.sav"
at_fn_check_prepare_trace "pc+-file-reader.at:721"
( $at_check_trace; sack --le pc+-file.sack > pc+-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/pc+-file-reader.at:721"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >pc+-file.sps <<'_ATEOF'
GET FILE='pc+-file.sav' ENCODING='us-ascii'.
_ATEOF

{ set +x
$as_echo "$at_srcdir/pc+-file-reader.at:725: pspp -O format=csv pc+-file.sps"
at_fn_check_prepare_trace "pc+-file-reader.at:725"
( $at_check_trace; pspp -O format=csv pc+-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "warning: \`pc+-file.sav' near offset 0x100: Record 0 has unexpected length 192.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/pc+-file-reader.at:725"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_51
#AT_START_52
at_fn_group_banner 52 'pc+-file-reader.at:730' \
  "invalid compression type" "                       " 10
at_xfail=no
(
  $as_echo "52. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >pc+-file.sack <<'_ATEOF'
2; 0;
@MAIN; @MAIN_END - @MAIN;
@VARS; @VARS_END - @VARS;
0; 0;
@DATA; @DATA_END - @DATA;
(0; 0) * 11;
i8 0 * 128;

MAIN:
    i16 1;             s62 "PCSPSS PSPP synthetic test product";
    PCSYSMIS;
    0; 0; i16 1;       i16 >>2<<;
    i16 7;
    1;
    i16 0;             1;
    s8 "11/28/14";
    s8 "15:11:00";
    s64 "PSPP synthetic test file";
MAIN_END:

VARS:
    0; 0; 0; 0x050800; s8 "$CASENUM"; PCSYSMIS;
    0; 0; 0; 0x010800; s8 "$DATE"; PCSYSMIS;
    0; 0; 0; 0x050802; s8 "$WEIGHT"; PCSYSMIS;

        0; 0; 0; 0x050800; s8 "NUM1"; PCSYSMIS;
    0; 0; 0; 0x050800; s8 "NUM2"; PCSYSMIS;
    0; 0; 0; 0x050800; s8 "NUM3"; PCSYSMIS;
    0; 0; 0; 0x050800; s8 "NUM4"; PCSYSMIS;
VARS_END:

DATA:
    0.0; "11/28/14"; 1.0; 2.0; 3.0; 4.0; 5.0;
DATA_END:
_ATEOF

{ set +x
$as_echo "$at_srcdir/pc+-file-reader.at:773: sack --le pc+-file.sack > pc+-file.sav"
at_fn_check_prepare_trace "pc+-file-reader.at:773"
( $at_check_trace; sack --le pc+-file.sack > pc+-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/pc+-file-reader.at:773"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >pc+-file.sps <<'_ATEOF'
GET FILE='pc+-file.sav' ENCODING='us-ascii'.
_ATEOF

{ set +x
$as_echo "$at_srcdir/pc+-file-reader.at:777: pspp -O format=csv pc+-file.sps"
at_fn_check_prepare_trace "pc+-file-reader.at:777"
( $at_check_trace; pspp -O format=csv pc+-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "error: \`pc+-file.sav' near offset 0x100: Invalid compression type 2.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/pc+-file-reader.at:777"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_52
#AT_START_53
at_fn_group_banner 53 'pc+-file-reader.at:782' \
  "unrealistic number of cases" "                    " 10
at_xfail=no
(
  $as_echo "53. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >pc+-file.sack <<'_ATEOF'
2; 0;
@MAIN; @MAIN_END - @MAIN;
@VARS; @VARS_END - @VARS;
0; 0;
@DATA; @DATA_END - @DATA;
(0; 0) * 11;
i8 0 * 128;

MAIN:
    i16 1;             s62 "PCSPSS PSPP synthetic test product";
    PCSYSMIS;
    0; 0; i16 1;       i16 0;
    i16 7;
    1000;
    i16 0;             1000;
    s8 "11/28/14";
    s8 "15:11:00";
    s64 "PSPP synthetic test file";
MAIN_END:

VARS:
    0; 0; 0; 0x050800; s8 "$CASENUM"; PCSYSMIS;
    0; 0; 0; 0x010800; s8 "$DATE"; PCSYSMIS;
    0; 0; 0; 0x050802; s8 "$WEIGHT"; PCSYSMIS;

        0; 0; 0; 0x050800; s8 "NUM1"; PCSYSMIS;
    0; 0; 0; 0x050800; s8 "NUM2"; PCSYSMIS;
    0; 0; 0; 0x050800; s8 "NUM3"; PCSYSMIS;
    0; 0; 0; 0x050800; s8 "NUM4"; PCSYSMIS;
VARS_END:

DATA:
    0.0; "11/28/14"; 1.0; 2.0; 3.0; 4.0; 5.0;
DATA_END:
_ATEOF

{ set +x
$as_echo "$at_srcdir/pc+-file-reader.at:825: sack --le pc+-file.sack > pc+-file.sav"
at_fn_check_prepare_trace "pc+-file-reader.at:825"
( $at_check_trace; sack --le pc+-file.sack > pc+-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/pc+-file-reader.at:825"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >pc+-file.sps <<'_ATEOF'
GET FILE='pc+-file.sav' ENCODING='us-ascii'.
_ATEOF

{ set +x
$as_echo "$at_srcdir/pc+-file-reader.at:829: pspp -O format=csv pc+-file.sps"
at_fn_check_prepare_trace "pc+-file-reader.at:829"
( $at_check_trace; pspp -O format=csv pc+-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "warning: \`pc+-file.sav' near offset 0x100: Record 0 claims 1000 cases with 7 values per case (requiring at least 56000 bytes) but data record is only 56 bytes long.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/pc+-file-reader.at:829"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_53
#AT_START_54
at_fn_group_banner 54 'pc+-file-reader.at:834' \
  "labels bad offsets" "                             " 10
at_xfail=no
(
  $as_echo "54. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >pc+-file.sack <<'_ATEOF'
2; 0;
@MAIN; @MAIN_END - @MAIN;
@VARS; @VARS_END - @VARS;
@LABELS; @LABELS_END - @LABELS;
@DATA; @DATA_END - @DATA;
(0; 0) * 11;
i8 0 * 128;

MAIN:
    i16 1;             s62 "PCSPSS PSPP synthetic test product";
    PCSYSMIS;
    0; 0; i16 1;       i16 0;
    i16 7;
    1;
    i16 0;             1;
    s8 "11/28/14";
    s8 "15:11:00";
    s64 "PSPP synthetic test file";
MAIN_END:

VARS:
    0; 0; 0; 0x050800; s8 "$CASENUM"; PCSYSMIS;
    0; 0; 0; 0x010800; s8 "$DATE"; PCSYSMIS;
    0; 0; 0; 0x050802; s8 "$WEIGHT"; PCSYSMIS;

        @N1L - @LOFF; @N1E - @LOFF; 1000; 0x050800; s8 "NUM1"; PCSYSMIS;
    @N1L - @LOFF - 1; @LABELS_END - @LOFF; 0; 0x050800; s8 "NUM2"; PCSYSMIS;
    @N1L - @LOFF + 1; @LABELS_END - @LOFF; 0; 0x050800; s8 "NUM3"; PCSYSMIS;
    0; 0; @LABELS_END - @LOFF - 1; 0x050800; s8 "NUM4"; PCSYSMIS;
VARS_END:

LABELS:
    3; i8 0 0 0; LOFF: i8 0;
    N1L: PCSYSMIS;
LABELS_END:

DATA:
    0.0; "11/28/14"; 1.0; 2.0; 3.0; 4.0; 5.0; N1E:
DATA_END:
_ATEOF

{ set +x
$as_echo "$at_srcdir/pc+-file-reader.at:882: sack --le pc+-file.sack > pc+-file.sav"
at_fn_check_prepare_trace "pc+-file-reader.at:882"
( $at_check_trace; sack --le pc+-file.sack > pc+-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/pc+-file-reader.at:882"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >pc+-file.sps <<'_ATEOF'
GET FILE='pc+-file.sav' ENCODING='us-ascii'.
_ATEOF

{ set +x
$as_echo "$at_srcdir/pc+-file-reader.at:886: pspp -O format=csv pc+-file.sps"
at_fn_check_prepare_trace "pc+-file-reader.at:886"
( $at_check_trace; pspp -O format=csv pc+-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "warning: \`pc+-file.sav' near offset 0x210: Variable label claimed to start at offset 1007 in labels record but labels record is only 16 bytes.

warning: \`pc+-file.sav' near offset 0x210: Value labels claimed to end at offset 72 in labels record but labels record is only 16 bytes.

\"warning: \`pc+-file.sav' near offset 0x2a0: Value labels end with partial label (0 bytes left in record, label length 255).\"

warning: \`pc+-file.sav' near offset 0x299: 7 leftover bytes following value labels.

warning: \`pc+-file.sav' near offset 0x29f: Variable label with length 255 starting at offset 16 in labels record overruns end of 16-byte labels record.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/pc+-file-reader.at:886"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_54
#AT_START_55
at_fn_group_banner 55 'pc+-file-reader.at:899' \
  "record 1 bad length" "                            " 10
at_xfail=no
(
  $as_echo "55. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >pc+-file.sack <<'_ATEOF'
2; 0;
@MAIN; @MAIN_END - @MAIN;
@VARS; @VARS_END - @VARS;
0; 0;
@DATA; @DATA_END - @DATA;
(0; 0) * 11;
i8 0 * 128;

MAIN:
    i16 1;             s62 "PCSPSS PSPP synthetic test product";
    PCSYSMIS;
    0; 0; i16 1;       i16 0;
    i16 7;
    1;
    i16 0;             1;
    s8 "11/28/14";
    s8 "15:11:00";
    s64 "PSPP synthetic test file";
MAIN_END:

VARS:
    0; 0; 0; 0x050800; s8 "$CASENUM"; PCSYSMIS;
    0; 0; 0; 0x010800; s8 "$DATE"; PCSYSMIS;
    0; 0; 0; 0x050802; s8 "$WEIGHT"; PCSYSMIS;

        0; 0; 0; 0x050800; s8 "NUM2"; PCSYSMIS;
    0; 0; 0; 0x050800; s8 "NUM3"; PCSYSMIS;
    0; 0; 0; 0x050800; s8 "NUM4"; PCSYSMIS;
VARS_END:

DATA:
    0.0; "11/28/14"; 1.0; 2.0; 3.0; 4.0; 5.0;
DATA_END:
_ATEOF

{ set +x
$as_echo "$at_srcdir/pc+-file-reader.at:941: sack --le pc+-file.sack > pc+-file.sav"
at_fn_check_prepare_trace "pc+-file-reader.at:941"
( $at_check_trace; sack --le pc+-file.sack > pc+-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/pc+-file-reader.at:941"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >pc+-file.sps <<'_ATEOF'
GET FILE='pc+-file.sav' ENCODING='us-ascii'.
_ATEOF

{ set +x
$as_echo "$at_srcdir/pc+-file-reader.at:945: pspp -O format=csv pc+-file.sps"
at_fn_check_prepare_trace "pc+-file-reader.at:945"
( $at_check_trace; pspp -O format=csv pc+-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "error: \`pc+-file.sav' near offset 0x1b0: Record 1 has length 192 (expected 224).

pc+-file.sps:1: error: GET: \`pc+-file.sav': Data file dictionary has no variables.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/pc+-file-reader.at:945"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_55
#AT_START_56
at_fn_group_banner 56 'pc+-file-reader.at:952' \
  "bad variable format" "                            " 10
at_xfail=no
(
  $as_echo "56. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >pc+-file.sack <<'_ATEOF'
2; 0;
@MAIN; @MAIN_END - @MAIN;
@VARS; @VARS_END - @VARS;
0; 0;
@DATA; @DATA_END - @DATA;
(0; 0) * 11;
i8 0 * 128;

MAIN:
    i16 1;             s62 "PCSPSS PSPP synthetic test product";
    PCSYSMIS;
    0; 0; i16 1;       i16 0;
    i16 7;
    1;
    i16 0;             1;
    s8 "11/28/14";
    s8 "15:11:00";
    s64 "PSPP synthetic test file";
MAIN_END:

VARS:
    0; 0; 0; 0x050800; s8 "$CASENUM"; PCSYSMIS;
    0; 0; 0; 0x010800; s8 "$DATE"; PCSYSMIS;
    0; 0; 0; 0x050802; s8 "$WEIGHT"; PCSYSMIS;

        0; 0; 0; 0xff0000; s8 "NUM1"; PCSYSMIS;
    0; 0; 0; 0x050800; s8 "NUM2"; PCSYSMIS;
    0; 0; 0; 0x050800; s8 "NUM3"; PCSYSMIS;
    0; 0; 0; 0x050800; s8 "NUM4"; PCSYSMIS;
VARS_END:

DATA:
    0.0; "11/28/14"; 1.0; 2.0; 3.0; 4.0; 5.0;
DATA_END:
_ATEOF

{ set +x
$as_echo "$at_srcdir/pc+-file-reader.at:995: sack --le pc+-file.sack > pc+-file.sav"
at_fn_check_prepare_trace "pc+-file-reader.at:995"
( $at_check_trace; sack --le pc+-file.sack > pc+-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/pc+-file-reader.at:995"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >pc+-file.sps <<'_ATEOF'
GET FILE='pc+-file.sav' ENCODING='us-ascii'.
_ATEOF

{ set +x
$as_echo "$at_srcdir/pc+-file-reader.at:999: pspp -O format=csv pc+-file.sps"
at_fn_check_prepare_trace "pc+-file-reader.at:999"
( $at_check_trace; pspp -O format=csv pc+-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "error: \`pc+-file.sav' near offset 0x210: Variable 3 has invalid type 255.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/pc+-file-reader.at:999"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_56
#AT_START_57
at_fn_group_banner 57 'pc+-file-reader.at:1004' \
  "bad variable name" "                              " 10
at_xfail=no
(
  $as_echo "57. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >pc+-file.sack <<'_ATEOF'
2; 0;
@MAIN; @MAIN_END - @MAIN;
@VARS; @VARS_END - @VARS;
0; 0;
@DATA; @DATA_END - @DATA;
(0; 0) * 11;
i8 0 * 128;

MAIN:
    i16 1;             s62 "PCSPSS PSPP synthetic test product";
    PCSYSMIS;
    0; 0; i16 1;       i16 0;
    i16 7;
    1;
    i16 0;             1;
    s8 "11/28/14";
    s8 "15:11:00";
    s64 "PSPP synthetic test file";
MAIN_END:

VARS:
    0; 0; 0; 0x050800; s8 "$CASENUM"; PCSYSMIS;
    0; 0; 0; 0x010800; s8 "$DATE"; PCSYSMIS;
    0; 0; 0; 0x050802; s8 "$WEIGHT"; PCSYSMIS;

        0; 0; 0; 0x050000; s8 "#NUM"; PCSYSMIS;
    0; 0; 0; 0x050800; s8 "NUM2"; PCSYSMIS;
    0; 0; 0; 0x050800; s8 "NUM3"; PCSYSMIS;
    0; 0; 0; 0x050800; s8 "NUM4"; PCSYSMIS;
VARS_END:

DATA:
    0.0; "11/28/14"; 1.0; 2.0; 3.0; 4.0; 5.0;
DATA_END:
_ATEOF

{ set +x
$as_echo "$at_srcdir/pc+-file-reader.at:1047: sack --le pc+-file.sack > pc+-file.sav"
at_fn_check_prepare_trace "pc+-file-reader.at:1047"
( $at_check_trace; sack --le pc+-file.sack > pc+-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/pc+-file-reader.at:1047"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >pc+-file.sps <<'_ATEOF'
GET FILE='pc+-file.sav' ENCODING='us-ascii'.
_ATEOF

{ set +x
$as_echo "$at_srcdir/pc+-file-reader.at:1051: pspp -O format=csv pc+-file.sps"
at_fn_check_prepare_trace "pc+-file-reader.at:1051"
( $at_check_trace; pspp -O format=csv pc+-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "error: \`pc+-file.sav' near offset 0x210: Invalid variable name \`#NUM'.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/pc+-file-reader.at:1051"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_57
#AT_START_58
at_fn_group_banner 58 'pc+-file-reader.at:1056' \
  "duplicate variable name" "                        " 10
at_xfail=no
(
  $as_echo "58. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >pc+-file.sack <<'_ATEOF'
2; 0;
@MAIN; @MAIN_END - @MAIN;
@VARS; @VARS_END - @VARS;
0; 0;
@DATA; @DATA_END - @DATA;
(0; 0) * 11;
i8 0 * 128;

MAIN:
    i16 1;             s62 "PCSPSS PSPP synthetic test product";
    PCSYSMIS;
    0; 0; i16 1;       i16 0;
    i16 7;
    1;
    i16 0;             1;
    s8 "11/28/14";
    s8 "15:11:00";
    s64 "PSPP synthetic test file";
MAIN_END:

VARS:
    0; 0; 0; 0x050800; s8 "$CASENUM"; PCSYSMIS;
    0; 0; 0; 0x010800; s8 "$DATE"; PCSYSMIS;
    0; 0; 0; 0x050802; s8 "$WEIGHT"; PCSYSMIS;

        0; 0; 0; 0x050000; s8 "NUM1"; PCSYSMIS;
    0; 0; 0; 0x050800; s8 "NUM1"; PCSYSMIS;
    0; 0; 0; 0x050800; s8 "NUM1"; PCSYSMIS;
    0; 0; 0; 0x050800; s8 "NUM1"; PCSYSMIS;
VARS_END:

DATA:
    0.0; "11/28/14"; 1.0; 2.0; 3.0; 4.0; 5.0;
DATA_END:
_ATEOF

{ set +x
$as_echo "$at_srcdir/pc+-file-reader.at:1099: sack --le pc+-file.sack > pc+-file.sav"
at_fn_check_prepare_trace "pc+-file-reader.at:1099"
( $at_check_trace; sack --le pc+-file.sack > pc+-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/pc+-file-reader.at:1099"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >pc+-file.sps <<'_ATEOF'
GET FILE='pc+-file.sav' ENCODING='us-ascii'.
_ATEOF

{ set +x
$as_echo "$at_srcdir/pc+-file-reader.at:1103: pspp -O format=csv pc+-file.sps"
at_fn_check_prepare_trace "pc+-file-reader.at:1103"
( $at_check_trace; pspp -O format=csv pc+-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "warning: \`pc+-file.sav' near offset 0x230: Renaming variable with duplicate name \`NUM1' to \`VAR001'.

warning: \`pc+-file.sav' near offset 0x250: Renaming variable with duplicate name \`NUM1' to \`VAR002'.

warning: \`pc+-file.sav' near offset 0x270: Renaming variable with duplicate name \`NUM1' to \`VAR003'.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/pc+-file-reader.at:1103"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_58
#AT_START_59
at_fn_group_banner 59 'pc+-file-reader.at:1112' \
  "partial case" "                                   " 10
at_xfail=no
(
  $as_echo "59. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >pc+-file.sack <<'_ATEOF'
2; 0;
@MAIN; @MAIN_END - @MAIN;
@VARS; @VARS_END - @VARS;
0; 0;
@DATA; @DATA_END - @DATA;
(0; 0) * 11;
i8 0 * 128;

MAIN:
    i16 1;             s62 "PCSPSS PSPP synthetic test product";
    PCSYSMIS;
    0; 0; i16 1;       i16 0;
    i16 7;
    3;
    i16 0;             3;
    s8 "11/28/14";
    s8 "15:11:00";
    s64 "PSPP synthetic test file";
MAIN_END:

VARS:
    0; 0; 0; 0x050800; s8 "$CASENUM"; PCSYSMIS;
    0; 0; 0; 0x010800; s8 "$DATE"; PCSYSMIS;
    0; 0; 0; 0x050802; s8 "$WEIGHT"; PCSYSMIS;

        0; 0; 0; 0x050000; s8 "NUM1"; PCSYSMIS;
    0; 0; 0; 0x050800; s8 "NUM2"; PCSYSMIS;
    0; 0; 0; 0x050800; s8 "NUM3"; PCSYSMIS;
    0; 0; 0; 0x050800; s8 "NUM4"; PCSYSMIS;
VARS_END:

DATA:
    1.0; "11/28/14"; 1.0; 2.0; 3.0; 4.0; 5.0;
    2.0; "11/28/14"; 1.0; 6.0; 7.0; 8.0; 9.0;
    3.0; "11/28/14"; 1.0; 10.0;
DATA_END:
_ATEOF

{ set +x
$as_echo "$at_srcdir/pc+-file-reader.at:1157: sack --le pc+-file.sack > pc+-file.sav"
at_fn_check_prepare_trace "pc+-file-reader.at:1157"
( $at_check_trace; sack --le pc+-file.sack > pc+-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/pc+-file-reader.at:1157"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >pc+-file.sps <<'_ATEOF'
GET FILE='pc+-file.sav' ENCODING='us-ascii'.
LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/pc+-file-reader.at:1162: pspp -O format=csv pc+-file.sps"
at_fn_check_prepare_trace "pc+-file-reader.at:1162"
( $at_check_trace; pspp -O format=csv pc+-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "warning: \`pc+-file.sav' near offset 0x100: Record 0 claims 3 cases with 7 values per case (requiring at least 168 bytes) but data record is only 144 bytes long.

error: \`pc+-file.sav' near offset 0x320: File ends in partial case.

error: Error reading case from file \`pc+-file.sav'.

Table: Data List
NUM1,NUM2,NUM3,NUM4
2,3,4,5
6,7,8,9
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/pc+-file-reader.at:1162"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_59
#AT_START_60
at_fn_group_banner 60 'pc+-file-reader.at:1176' \
  "case extends past end of data record" "           " 10
at_xfail=no
(
  $as_echo "60. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >pc+-file.sack <<'_ATEOF'
2; 0;
@MAIN; @MAIN_END - @MAIN;
@VARS; @VARS_END - @VARS;
0; 0;
@DATA; @DATA_END - @DATA;
(0; 0) * 11;
i8 0 * 128;

MAIN:
    i16 1;             s62 "PCSPSS PSPP synthetic test product";
    PCSYSMIS;
    0; 0; i16 1;       i16 0;
    i16 7;
    3;
    i16 0;             3;
    s8 "11/28/14";
    s8 "15:11:00";
    s64 "PSPP synthetic test file";
MAIN_END:

VARS:
    0; 0; 0; 0x050800; s8 "$CASENUM"; PCSYSMIS;
    0; 0; 0; 0x010800; s8 "$DATE"; PCSYSMIS;
    0; 0; 0; 0x050802; s8 "$WEIGHT"; PCSYSMIS;

        0; 0; 0; 0x050000; s8 "NUM1"; PCSYSMIS;
    0; 0; 0; 0x050800; s8 "NUM2"; PCSYSMIS;
    0; 0; 0; 0x050800; s8 "NUM3"; PCSYSMIS;
    0; 0; 0; 0x050800; s8 "NUM4"; PCSYSMIS;
VARS_END:

DATA:
    1.0; "11/28/14"; 1.0; 2.0; 3.0; 4.0; 5.0;
    2.0; "11/28/14"; 1.0; 6.0; 7.0; 8.0; 9.0;
    3.0; "11/28/14"; 1.0; 10.0;
DATA_END:
    11.0; 12.0; 13.0;
_ATEOF

{ set +x
$as_echo "$at_srcdir/pc+-file-reader.at:1222: sack --le pc+-file.sack > pc+-file.sav"
at_fn_check_prepare_trace "pc+-file-reader.at:1222"
( $at_check_trace; sack --le pc+-file.sack > pc+-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/pc+-file-reader.at:1222"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >pc+-file.sps <<'_ATEOF'
GET FILE='pc+-file.sav' ENCODING='us-ascii'.
LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/pc+-file-reader.at:1227: pspp -O format=csv pc+-file.sps"
at_fn_check_prepare_trace "pc+-file-reader.at:1227"
( $at_check_trace; pspp -O format=csv pc+-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "warning: \`pc+-file.sav' near offset 0x100: Record 0 claims 3 cases with 7 values per case (requiring at least 168 bytes) but data record is only 144 bytes long.

error: \`pc+-file.sav' near offset 0x338: Case beginning at offset 0x00000300 extends past end of data record at offset 0x00000320.

error: Error reading case from file \`pc+-file.sav'.

Table: Data List
NUM1,NUM2,NUM3,NUM4
2,3,4,5
6,7,8,9
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/pc+-file-reader.at:1227"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_60
#AT_START_61
at_fn_group_banner 61 'pc+-file-reader.at:1241' \
  "corrupt compressed data" "                        " 10
at_xfail=no
(
  $as_echo "61. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >pc+-file.sack <<'_ATEOF'
2; 0;
@MAIN; @MAIN_END - @MAIN;
@VARS; @VARS_END - @VARS;
0; 0;
@DATA; @DATA_END - @DATA;
(0; 0) * 11;
i8 0 * 128;

MAIN:
    i16 1;             s62 "PCSPSS PSPP synthetic test product";
    PCSYSMIS;
    0; 0; i16 1;       i16 1;
    i16 9;
    2;
    i16 0;             2;
    s8 "11/28/14";
    s8 "15:11:00";
    s64 "PSPP synthetic test file";
MAIN_END:

VARS:
    0; 0; 0; 0x050800; s8 "$CASENUM"; PCSYSMIS;
    0; 0; 0; 0x010800; s8 "$DATE"; PCSYSMIS;
    0; 0; 0; 0x050802; s8 "$WEIGHT"; PCSYSMIS;

        0; 0; 0; 0x050800; s8 "NUM1"; PCSYSMIS;
    0; 0; 0; 0x050800; s8 "NUM2"; PCSYSMIS;

        0; 0; 0; 0x010400; s8 "STR4"; PCSYSMIS;
    0; 0; 0; 0x010800; s8 "STR8"; PCSYSMIS;
    0; 0; 0; 0x010f00; s8 "STR15"; PCSYSMIS;
    0 * 8;
VARS_END:

DATA:
    i8 101 1 101 100 255 1 1 1;
        s8 "11/28/14"; s8 "abcd"; s8 "efghj"; s8 "efghijkl";
    i8 1; i8 102 101 101 1 0 1 1;
         s8 "ABCDEFG"; 1000.0; s8 "PQRS"; s8 "TUVWXYZa";
    i8 1 1 0 0 0 0 0 0;
        s16 "bcdefghijklmnop";
DATA_END:
_ATEOF

{ set +x
$as_echo "$at_srcdir/pc+-file-reader.at:1293: sack --le pc+-file.sack > pc+-file.sav"
at_fn_check_prepare_trace "pc+-file-reader.at:1293"
( $at_check_trace; sack --le pc+-file.sack > pc+-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/pc+-file-reader.at:1293"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >pc+-file.sps <<'_ATEOF'
GET FILE='pc+-file.sav' ENCODING='us-ascii'.
DISPLAY FILE LABEL.
DISPLAY DICTIONARY.
LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/pc+-file-reader.at:1300: pspp -O format=csv pc+-file.sps"
at_fn_check_prepare_trace "pc+-file-reader.at:1300"
( $at_check_trace; pspp -O format=csv pc+-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "File label: PSPP synthetic test file

Variable,Description,Position
NUM1,Format: F8.0,1
NUM2,Format: F8.0,2
STR4,Format: A4,3
STR8,Format: A8,4
STR15,Format: A15,5

warning: \`pc+-file.sav' near offset 0x308: Possible compressed data corruption: string contains compressed integer (opcode 101).

Table: Data List
NUM1,NUM2,STR4,STR8,STR15
-5,150,abcd,efghj   ,efghijklABCDEFG
1000,.,PQRS,TUVWXYZa,bcdefghijklmnop
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/pc+-file-reader.at:1300"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_61
#AT_START_62
at_fn_group_banner 62 'pc+-file-reader.at:1319' \
  "invalid weight index" "                           " 10
at_xfail=no
(
  $as_echo "62. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >pc+-file.sack <<'_ATEOF'
2; 0;
@MAIN; @MAIN_END - @MAIN;
@VARS; @VARS_END - @VARS;
0; 0;
@DATA; @DATA_END - @DATA;
(0; 0) * 11;
i8 0 * 128;

MAIN:
    i16 1;             s62 "PCSPSS PSPP synthetic test product";
    PCSYSMIS;
    0; 0; i16 1;       i16 0;
    i16 7;
    i16 1; i16 10;
    i16 0;             i16 1; i16 0;
    s8 "11/28/14";
    s8 "15:11:00";
    s64 "PSPP synthetic test file";
MAIN_END:

VARS:
    0; 0; 0; 0x050800; s8 "$CASENUM"; PCSYSMIS;
    0; 0; 0; 0x010800; s8 "$DATE"; PCSYSMIS;
    0; 0; 0; 0x050802; s8 "$WEIGHT"; PCSYSMIS;

        0; 0; 0; 0x050800; s8 "NUM1"; PCSYSMIS;
    0; 0; 0; 0x050800; s8 "NUM2"; PCSYSMIS;
    0; 0; 0; 0x050800; s8 "NUM3"; PCSYSMIS;
    0; 0; 0; 0x050800; s8 "NUM4"; PCSYSMIS;
VARS_END:

DATA:
    0.0; "11/28/14"; 1.0; 2.0; 3.0; 4.0; 5.0;
DATA_END:
_ATEOF

{ set +x
$as_echo "$at_srcdir/pc+-file-reader.at:1362: sack --le pc+-file.sack > pc+-file.sav"
at_fn_check_prepare_trace "pc+-file-reader.at:1362"
( $at_check_trace; sack --le pc+-file.sack > pc+-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/pc+-file-reader.at:1362"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >pc+-file.sps <<'_ATEOF'
GET FILE='pc+-file.sav' ENCODING='us-ascii'.
_ATEOF

{ set +x
$as_echo "$at_srcdir/pc+-file-reader.at:1366: pspp -O format=csv pc+-file.sps"
at_fn_check_prepare_trace "pc+-file-reader.at:1366"
( $at_check_trace; pspp -O format=csv pc+-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "warning: \`pc+-file.sav': Invalid weight index 10.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/pc+-file-reader.at:1366"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_62
#AT_START_63
at_fn_group_banner 63 'pc+-file-reader.at:1371' \
  "string weight" "                                  " 10
at_xfail=no
(
  $as_echo "63. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >pc+-file.sack <<'_ATEOF'
2; 0;
@MAIN; @MAIN_END - @MAIN;
@VARS; @VARS_END - @VARS;
0; 0;
@DATA; @DATA_END - @DATA;
(0; 0) * 11;
i8 0 * 128;

MAIN:
    i16 1;             s62 "PCSPSS PSPP synthetic test product";
    PCSYSMIS;
    0; 0; i16 1;       i16 0;
    i16 7;
    i16 1; i16 6;
    i16 0;             i16 1; i16 0;
    s8 "11/28/14";
    s8 "15:11:00";
    s64 "PSPP synthetic test file";
MAIN_END:

VARS:
    0; 0; 0; 0x050800; s8 "$CASENUM"; PCSYSMIS;
    0; 0; 0; 0x010800; s8 "$DATE"; PCSYSMIS;
    0; 0; 0; 0x050802; s8 "$WEIGHT"; PCSYSMIS;

        0; 0; 0; 0x050800; s8 "NUM1"; PCSYSMIS;
    0; 0; 0; 0x050800; s8 "NUM2"; PCSYSMIS;
    0; 0; 0; 0x010800; s8 "STR1"; PCSYSMIS;
    0; 0; 0; 0x050800; s8 "NUM4"; PCSYSMIS;
VARS_END:

DATA:
    0.0; "11/28/14"; 1.0; s8 "acbdefgh"; 3.0; 4.0; 5.0;
DATA_END:
_ATEOF

{ set +x
$as_echo "$at_srcdir/pc+-file-reader.at:1414: sack --le pc+-file.sack > pc+-file.sav"
at_fn_check_prepare_trace "pc+-file-reader.at:1414"
( $at_check_trace; sack --le pc+-file.sack > pc+-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/pc+-file-reader.at:1414"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >pc+-file.sps <<'_ATEOF'
GET FILE='pc+-file.sav' ENCODING='us-ascii'.
_ATEOF

{ set +x
$as_echo "$at_srcdir/pc+-file-reader.at:1418: pspp -O format=csv pc+-file.sps"
at_fn_check_prepare_trace "pc+-file-reader.at:1418"
( $at_check_trace; pspp -O format=csv pc+-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "warning: \`pc+-file.sav' near offset 0x250: Cannot weight by string variable \`STR1'.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/pc+-file-reader.at:1418"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_63
#AT_START_64
at_fn_group_banner 64 'por-file.at:19' \
  "overwriting portable file" "                      " 11
at_xfail=no
(
  $as_echo "64. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >output.por <<'_ATEOF'
abcdef
_ATEOF

cp output.por output.por.backup
cat >porfile.sps <<'_ATEOF'
DATA LIST NOTABLE/x 1.
BEGIN DATA.
5
END DATA.
EXPORT OUTFILE='output.por'.
_ATEOF

{ set +x
$as_echo "$at_srcdir/por-file.at:30: pspp -O format=csv porfile.sps"
at_fn_check_prepare_trace "por-file.at:30"
( $at_check_trace; pspp -O format=csv porfile.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/por-file.at:30"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/por-file.at:31: cmp output.por output.por.backup"
at_fn_check_prepare_trace "por-file.at:31"
( $at_check_trace; cmp output.por output.por.backup
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 1 $at_status "$at_srcdir/por-file.at:31"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_64
#AT_START_65
at_fn_group_banner 65 'por-file.at:34' \
  "overwriting portable file atomically" "           " 11
at_xfail=no
(
  $as_echo "65. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >output.por <<'_ATEOF'
abcdef
_ATEOF

cp output.por output.por.backup
cat >porfile.sps <<'_ATEOF'
DATA LIST NOTABLE/x 1.
BEGIN DATA.
5
END DATA.
XEXPORT OUTFILE='output.por'.
HOST COMMAND=['kill -TERM $PPID'].
_ATEOF

{ set +x
$as_echo "$at_srcdir/por-file.at:46: pspp -O format=csv porfile.sps"
at_fn_check_prepare_trace "por-file.at:46"
( $at_check_trace; pspp -O format=csv porfile.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 143 $at_status "$at_srcdir/por-file.at:46"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/por-file.at:47: cmp output.por output.por.backup"
at_fn_check_prepare_trace "por-file.at:47"
( $at_check_trace; cmp output.por output.por.backup
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/por-file.at:47"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/por-file.at:48: for file in *.tmp*; do if test -e \$file; then echo \$file; exit 1; fi; done"
at_fn_check_prepare_dynamic "for file in *.tmp*; do if test -e $file; then echo $file; exit 1; fi; done" "por-file.at:48"
( $at_check_trace; for file in *.tmp*; do if test -e $file; then echo $file; exit 1; fi; done
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/por-file.at:48"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_65
#AT_START_66
at_fn_group_banner 66 'por-file.at:52' \
  "write to same portable file being read" "         " 11
at_xfail=no
(
  $as_echo "66. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >export.sps <<'_ATEOF'
DATA LIST NOTABLE/x 1.
BEGIN DATA.
2
END DATA.
EXPORT OUTFILE='data.por'.
_ATEOF

{ set +x
$as_echo "$at_srcdir/por-file.at:60: pspp -O format=csv export.sps"
at_fn_check_prepare_trace "por-file.at:60"
( $at_check_trace; pspp -O format=csv export.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/por-file.at:60"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/por-file.at:61: test -s data.por"
at_fn_check_prepare_trace "por-file.at:61"
( $at_check_trace; test -s data.por
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/por-file.at:61"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/por-file.at:62: for file in *.tmp*; do if test -e \$file; then echo \$file; exit 1; fi; done"
at_fn_check_prepare_dynamic "for file in *.tmp*; do if test -e $file; then echo $file; exit 1; fi; done" "por-file.at:62"
( $at_check_trace; for file in *.tmp*; do if test -e $file; then echo $file; exit 1; fi; done
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/por-file.at:62"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >export2.sps <<'_ATEOF'
IMPORT FILE='data.por'.
COMPUTE y = x * 2.
EXPORT OUTFILE='data.por'.
_ATEOF

{ set +x
$as_echo "$at_srcdir/por-file.at:69: pspp -O format=csv export2.sps"
at_fn_check_prepare_trace "por-file.at:69"
( $at_check_trace; pspp -O format=csv export2.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/por-file.at:69"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/por-file.at:70: for file in *.tmp*; do if test -e \$file; then echo \$file; exit 1; fi; done"
at_fn_check_prepare_dynamic "for file in *.tmp*; do if test -e $file; then echo $file; exit 1; fi; done" "por-file.at:70"
( $at_check_trace; for file in *.tmp*; do if test -e $file; then echo $file; exit 1; fi; done
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/por-file.at:70"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >export3.sps <<'_ATEOF'
IMPORT FILE='data.por'.
LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/por-file.at:76: pspp -O format=csv export3.sps"
at_fn_check_prepare_trace "por-file.at:76"
( $at_check_trace; pspp -O format=csv export3.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
X,Y
2,4.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/por-file.at:76"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_66
#AT_START_67
at_fn_group_banner 67 'por-file.at:86' \
  "write portable file with value labels" "          " 11
at_xfail=no
(
  $as_echo "67. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >export.sps <<'_ATEOF'
DATA LIST NOTABLE/var1 TO var5 1-5.
VALUE LABELS
	/var1 1 'one'
	/var2 2 'two'
	/var3 3 'three'
	/var4 4 'four'
	/var5 5 'five'.
BEGIN DATA.
12345
END DATA.
EXPORT OUTFILE='data.por'.
_ATEOF

{ set +x
$as_echo "$at_srcdir/por-file.at:100: pspp -O format=csv export.sps"
at_fn_check_prepare_trace "por-file.at:100"
( $at_check_trace; pspp -O format=csv export.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/por-file.at:100"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >import.sps <<'_ATEOF'
IMPORT FILE='data.por'.
DISPLAY DICTIONARY.
LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/por-file.at:106: pspp -O format=csv import.sps"
at_fn_check_prepare_trace "por-file.at:106"
( $at_check_trace; pspp -O format=csv import.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Variable,Description,Position
VAR1,\"Format: F1.0

Value,Label
1,one\",1
VAR2,\"Format: F1.0

Value,Label
2,two\",2
VAR3,\"Format: F1.0

Value,Label
3,three\",3
VAR4,\"Format: F1.0

Value,Label
4,four\",4
VAR5,\"Format: F1.0

Value,Label
5,five\",5

Table: Data List
VAR1,VAR2,VAR3,VAR4,VAR5
1,2,3,4,5
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/por-file.at:106"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >sys-file-info.sps <<'_ATEOF'
SYSFILE INFO FILE='data.por'
_ATEOF

{ set +x
$as_echo "$at_srcdir/por-file.at:135: pspp -O format=csv sys-file-info.sps | sed '/Encoding/d
/Integer Format/d
/Real Format/d
/Created/d
/Product/d
'"
at_fn_check_prepare_notrace 'an embedded newline' "por-file.at:135"
( $at_check_trace; pspp -O format=csv sys-file-info.sps | sed '/Encoding/d
/Integer Format/d
/Real Format/d
/Created/d
/Product/d
'
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "File:,data.por
Label:,No label.
Variables:,5
Cases:,Unknown
Type:,SPSS Portable File
Weight:,Not weighted.
Compression:,None

Variable,Description,Position
VAR1,\"Format: F1.0
Measure: Scale
Role: Input
Display Alignment: Right
Display Width: 8

Value,Label
1,one\",1
VAR2,\"Format: F1.0
Measure: Scale
Role: Input
Display Alignment: Right
Display Width: 8

Value,Label
2,two\",2
VAR3,\"Format: F1.0
Measure: Scale
Role: Input
Display Alignment: Right
Display Width: 8

Value,Label
3,three\",3
VAR4,\"Format: F1.0
Measure: Scale
Role: Input
Display Alignment: Right
Display Width: 8

Value,Label
4,four\",4
VAR5,\"Format: F1.0
Measure: Scale
Role: Input
Display Alignment: Right
Display Width: 8

Value,Label
5,five\",5
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/por-file.at:135"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_67
#AT_START_68
at_fn_group_banner 68 'sys-file-reader.at:19' \
  "variable labels and missing values" "             " 12
at_xfail=no
(
  $as_echo "68. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 28; 0; 0; 1; 100.0; "01 Jan 11"; "20:53:52";
"PSPP synthetic test file: "; i8 244; i8 245; i8 246; i8 248; s34 "";
i8 0 *3;

2; 0; 0; 0; 0x050800 *2; s8 "NUM1";

2; 0; 1; 0; 0x050800 *2; s8 "NUM2";
32; "Numeric variable 2's label ("; i8 249; i8 250; i8 251; ")";

2; 0; 0; 1; 0x050800 *2; s8 "NUM3";
1.0;

2; 0; 1; 1; 0x050800 *2; s8 "NUM4";
30; "Another numeric variable label"; i8 0 * 2;
1.0;

2; 0; 0; 2; 0x050800 *2; s8 "NUM5"; 1.0; 2.0;

2; 0; 0; 3; 0x050800 *2; s8 "NUM6"; 1.0; 2.0; 3.0;

2; 0; 0; -2; 0x050800 *2; s8 "NUM7"; 1.0; 3.0;

2; 0; 0; -3; 0x050800 *2; s8 "NUM8"; 1.0; 3.0; 5.0;
2; 0; 0; -3; 0x050800 *2; s8 "NUM9"; 1.0; HIGHEST; -5.0;
2; 0; 0; -3; 0x050800 *2; "NUM"; i8 192; i8 200; i8 204; i8 209; i8 210;
LOWEST; 1.0; 5.0;

2; 4; 0; 0; 0x010400 *2; s8 "STR1";

2; 4; 1; 0; 0x010400 *2; s8 "STR2";
25; "String variable 2's label"; i8 0 * 3;

2; 4; 0; 1; 0x010400 *2; s8 "STR3"; s8 "MISS";

2; 4; 1; 1; 0x010400 *2; s8 "STR4";
29; "Another string variable label"; i8 0 * 3;
s8 "OTHR";

2; 4; 0; 2; 0x010400 *2; s8 "STR5"; s8 "MISS"; s8 "OTHR";

2; 4; 0; 3; 0x010400 *2; s8 "STR6"; s8 "MISS"; s8 "OTHR"; s8 "MORE";

2; 11; 0; 1; 0x010b00 *2; s8 "STR7"; "first8by";
2; -1; 0; 0; 0; 0; s8 "";

2; 9; 0; 0; 0x010900 *2; s8 "STR8";
2; -1; 0; 0; 0; 0; s8 "";
2; 10; 0; 0; 0x010a00 *2; s8 "STR9";
2; -1; 0; 0; 0; 0; s8 "";
2; 11; 0; 0; 0x010b00 *2; s8 "STR10";
2; -1; 0; 0; 0; 0; s8 "";

2; 25; 1; 0; 0x011900 *2; s8 "STR11"; 14; "25-byte string"; i8 0 * 2;
( 2; -1; 0; 0; 0; 0; s8 ""; ) * 2;
2; -1; 1; 0; 0; 0; s8 ""; 20; "dummy variable label";

7; 3; 4; 8; 1; 2; 3; -1; 1; 1; ENDIAN; 1252;

7; 4; 8; 3; SYSMIS; HIGHEST; LOWEST;

7; 22; 1; COUNT (
COUNT("STR8"); i8 1; 8; "abcdefgh";

COUNT("STR9"); i8 2; 8; "abcdefgh"; 8; "01234567";

COUNT("STR10"); i8 3; 8; "abcdefgh"; 8; "01234567"; 8; "0       ";
);

7; 20; 1; 12; "windows-1252";

999; 0;

1.0; 2.0; 3.0; 4.0; 5.0; 6.0; 7.0; 8.0; 9.0; 10.0;
s8 "abcd"; s8 "efgh"; s8 "ijkl"; s8 "mnop"; s8 "qrst"; s8 "uvwx";
s16 "yzABCDEFGHI"; s16 "JKLMNOPQR"; s16 "STUVWXYZ01";
s16 "23456789abc"; s32 "defghijklmnopqstuvwxyzABC";
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:141: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:141"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:141"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
DISPLAY FILE LABEL.
DISPLAY DICTIONARY.
LIST.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:148: pspp -o pspp.csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:148"
( $at_check_trace; pspp -o pspp.csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:148"
$at_failed && at_fn_log_failure
$at_traceon; }

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:149: cat pspp.csv"
at_fn_check_prepare_trace "sys-file-reader.at:149"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "File label: PSPP synthetic test file: ôõöø

Variable,Description,Position
num1,Format: F8.0,1
num2,\"Label: Numeric variable 2's label (ùúû)
Format: F8.0\",2
num3,\"Format: F8.0
Missing Values: 1\",3
num4,\"Label: Another numeric variable label
Format: F8.0
Missing Values: 1\",4
num5,\"Format: F8.0
Missing Values: 1; 2\",5
num6,\"Format: F8.0
Missing Values: 1; 2; 3\",6
num7,\"Format: F8.0
Missing Values: 1 THRU 3\",7
num8,\"Format: F8.0
Missing Values: 1 THRU 3; 5\",8
num9,\"Format: F8.0
Missing Values: 1 THRU HIGHEST; -5\",9
numàèìñò,\"Format: F8.0
Missing Values: LOWEST THRU 1; 5\",10
str1,Format: A4,11
str2,\"Label: String variable 2's label
Format: A4\",12
str3,\"Format: A4
Missing Values: \"\"MISS\"\"\",13
str4,\"Label: Another string variable label
Format: A4
Missing Values: \"\"OTHR\"\"\",14
str5,\"Format: A4
Missing Values: \"\"MISS\"\"; \"\"OTHR\"\"\",15
str6,\"Format: A4
Missing Values: \"\"MISS\"\"; \"\"OTHR\"\"; \"\"MORE\"\"\",16
str7,\"Format: A11
Missing Values: \"\"first8by\"\"\",17
str8,\"Format: A9
Missing Values: \"\"abcdefgh\"\"\",18
str9,\"Format: A10
Missing Values: \"\"abcdefgh\"\"; \"\"01234567\"\"\",19
str10,\"Format: A11
Missing Values: \"\"abcdefgh\"\"; \"\"01234567\"\"; \"\"0       \"\"\",20
str11,\"Label: 25-byte string
Format: A25\",21

Table: Data List
num1,num2,num3,num4,num5,num6,num7,num8,num9,numàèìñò,str1,str2,str3,str4,str5,str6,str7,str8,str9,str10,str11
1,2,3,4,5,6,7,8,9,10,abcd,efgh,ijkl,mnop,qrst,uvwx,yzABCDEFGHI,JKLMNOPQR,STUVWXYZ01,23456789abc,defghijklmnopqstuvwxyzABC
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:149"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_68
#AT_START_69
at_fn_group_banner 69 'sys-file-reader.at:203' \
  "unspecified number of variable positions" "       " 12
at_xfail=no
(
  $as_echo "69. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; -1; 0; 0; 1; 100.0; "01 Jan 11"; "20:53:52"; s64 "PSPP synthetic test file";
i8 0 *3;

2; 0; 0; 0; 0x050800 *2; s8 "NUM1";

2; 0; 1; 0; 0x050800 *2; s8 "NUM2";
26; "Numeric variable 2's label"; i8 0 *2;

7; 20; 1; 12; "windows-1252";

999; 0;

1.0; 2.0;
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:234: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:234"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:234"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
DISPLAY DICTIONARY.
LIST.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:240: pspp -o pspp.csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:240"
( $at_check_trace; pspp -o pspp.csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:240"
$at_failed && at_fn_log_failure
$at_traceon; }

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:241: cat pspp.csv"
at_fn_check_prepare_trace "sys-file-reader.at:241"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Variable,Description,Position
num1,Format: F8.0,1
num2,\"Label: Numeric variable 2's label
Format: F8.0\",2

Table: Data List
num1,num2
1,2
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:241"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_69
#AT_START_70
at_fn_group_banner 70 'sys-file-reader.at:254' \
  "wrong number of variable positions but version 13" "" 12
at_xfail=no
(
  $as_echo "70. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; -1; 0; 0; 1; 100.0; "01 Jan 11"; "20:53:52"; s64 "PSPP synthetic test file";
i8 0 *3;

2; 0; 0; 0; 0x050800 *2; s8 "NUM1";

2; 0; 1; 0; 0x050800 *2; s8 "NUM2";
26; "Numeric variable 2's label"; i8 0 *2;

7; 3; 4; 8; 13; 2; 3; -1; 1; 1; ENDIAN; 1252;

7; 20; 1; 12; "windows-1252";

999; 0;

1.0; 2.0;
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:288: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:288"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:288"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
DISPLAY DICTIONARY.
LIST.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:294: pspp -o pspp.csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:294"
( $at_check_trace; pspp -o pspp.csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:294"
$at_failed && at_fn_log_failure
$at_traceon; }

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:295: cat pspp.csv"
at_fn_check_prepare_trace "sys-file-reader.at:295"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Variable,Description,Position
num1,Format: F8.0,1
num2,\"Label: Numeric variable 2's label
Format: F8.0\",2

Table: Data List
num1,num2
1,2
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:295"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_70
#AT_START_71
at_fn_group_banner 71 'sys-file-reader.at:308' \
  "value labels" "                                   " 12
at_xfail=no
(
  $as_echo "71. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 22; 0; 0; 1; 100.0; "01 Jan 11"; "20:53:52"; s64 "PSPP synthetic test file";
i8 0 *3;

2; 0; 0; 0; 0x050800 *2; s8 "NUM1";
2; 0; 0; 0; 0x050800 *2; s8 "NUM2";
2; 0; 0; 0; 0x050800 *2; s8 "NUM3";
2; 0; 0; 0; 0x050800 *2; s8 "NUM4";
2; 0; 0; 0; 0x050800 *2; s8 "NUM5";

2; 1; 0; 0; 0x010100 *2; s8 "STR1"; 2; 2; 0; 0; 0x010200 *2; s8 "STR2"; 2; 3; 0; 0; 0x010300 *2; s8 "STR3"; 2; 4; 0; 0; 0x010400 *2; s8 "STR4"; 2; 4; 0; 0; 0x010400 *2; s8 "STR5"; 2; 6; 0; 0; 0x010600 *2; s8 "STR6"; 2; 7; 0; 0; 0x010700 *2; s8 "STR7"; 2; 8; 0; 0; 0x010800 *2; s8 "STR8"; 2; 9; 0; 0; 0x010900 *2; "STR9"; i8 230; s3 ""; 2; -1; 0; 0; 0; 0; s8 "";
2; 12; 0; 0; 0x010c00 *2; s8 "STR12"; 2; -1; 0; 0; 0; 0; s8 "";
2; 16; 0; 0; 0x011000 *2; s8 "STR16"; 2; -1; 0; 0; 0; 0; s8 "";
2; 17; 0; 0; 0x011100 *2; s8 "STR17"; ( 2; -1; 0; 0; 0; 0; s8 ""; ) * 2;

3; 1; 1.0; i8 17; i8 238; i8 228; i8 232; i8 237; s19 " (in Russian)"; 4; 1; 1;

3; 2; 1.0; i8 3; s7 "one"; 2.0; i8 3; s7 "two"; 4; 1; 2;

3; 1; 3.0; i8 5; s7 "three"; 4; 1; 3;
3; 1; 4.0; i8 4; s7 "four"; 4; 1; 3;

3; 1; 5.0; i8 4; s7 "five"; 4; 1; 4;
3; 1; 6.0; i8 3; s7 "six"; 4; 1; 5;
3; 2; 7.0; i8 5; s7 "seven"; 8.0; i8 5; s7 "eight"; 4; 2; 4; 5;
3; 1; 9.0; i8 4; s7 "nine"; 4; 1; 4;
3; 1; 10.0; i8 3; s7 "ten"; 4; 1; 5;

3; 1; s8 "a"; i8 19; s23 "value label for `a'"; 4; 1; 6;

3; 2;
s8 "bc"; i8 20; s23 "value label for `bc'";
s8 "de"; i8 20; s23 "value label for `de'";
4; 1; 7;

3; 1; s8 "fgh"; i8 21; s23 "value label for `fgh'"; 4; 1; 8;
3; 1; s8 "ijk"; i8 21; s23 "value label for `ijk'"; 4; 1; 8;

3; 1; s8 "lmno"; i8 22; s23 "value label for `lmno'"; 4; 1; 9;
3; 1; s8 "pqrs"; i8 22; s23 "value label for `pqrs'"; 4; 1; 10;
3; 2;
s8 "tuvw"; i8 22; s23 "value label for `tuvw'";
s8 "xyzA"; i8 22; s23 "value label for `xyzA'";
4; 2; 9; 10;
3; 1; s8 "BCDE"; i8 22; s23 "value label for `BCDE'"; 4; 1; 9;
3; 1; s8 "FGHI"; i8 22; s23 "value label for `FGHI'"; 4; 1; 10;

3; 1; s8 "JKLMNO"; i8 24; s31 "value label for `JKLMNO'"; 4; 1; 11;
3; 1; s8 "JKLMNOP"; i8 25; s31 "value label for `JKLMNOP'"; 4; 1; 12;
3; 1; s8 "JKLMNOPQ"; i8 26; s31 "value label for `JKLMNOPQ'"; 4; 1; 13;

7; 3; 4; 8; 1; 2; 3; -1; 1; 1; ENDIAN; 1251;

7; 20; 1; 12; "windows-1251";

7; 21; 1; COUNT (
COUNT("STR9"; i8 230); 9; 1; COUNT("RSTUVWXYZ"); COUNT("value label for `RSTUVWXYZ'");

COUNT("STR12"); 12; 2;
COUNT("0123456789ab"); COUNT("value label for `0123456789ab'");
COUNT("cdefghijklmn"); COUNT("value label for `cdefghijklmn'");

COUNT("STR16"); 16; 3;
COUNT("opqrstuvwxyzABCD"); COUNT("value label for `opqrstuvwxyzABCD'");
COUNT("EFGHIJKLMNOPQRST"); COUNT("value label for `EFGHIJKLMNOPQRST'");
COUNT("UVWXYZ0123456789"); COUNT("value label for `UVWXYZ0123456789' with Cyrillic letters: `"; i8 244; i8 245; i8 246; "'");

COUNT("STR17"); 17; 1;
COUNT("abcdefghijklmnopq"); COUNT("value label for `abcdefghijklmnopq'");
);

999; 0;
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:422: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:422"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:422"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
DISPLAY DICTIONARY.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:427: pspp -o pspp.csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:427"
( $at_check_trace; pspp -o pspp.csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:427"
$at_failed && at_fn_log_failure
$at_traceon; }

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:428: cat pspp.csv"
at_fn_check_prepare_trace "sys-file-reader.at:428"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Variable,Description,Position
num1,\"Format: F8.0

Value,Label
1,один (in Russian)\",1
num2,\"Format: F8.0

Value,Label
1,one
2,two\",2
num3,\"Format: F8.0

Value,Label
3,three
4,four\",3
num4,\"Format: F8.0

Value,Label
5,five
7,seven
8,eight
9,nine\",4
num5,\"Format: F8.0

Value,Label
6,six
7,seven
8,eight
10,ten\",5
str1,\"Format: A1

Value,Label
a,value label for \`a'\",6
str2,\"Format: A2

Value,Label
bc,value label for \`bc'
de,value label for \`de'\",7
str3,\"Format: A3

Value,Label
fgh,value label for \`fgh'
ijk,value label for \`ijk'\",8
str4,\"Format: A4

Value,Label
BCDE,value label for \`BCDE'
lmno,value label for \`lmno'
tuvw,value label for \`tuvw'
xyzA,value label for \`xyzA'\",9
str5,\"Format: A4

Value,Label
FGHI,value label for \`FGHI'
pqrs,value label for \`pqrs'
tuvw,value label for \`tuvw'
xyzA,value label for \`xyzA'\",10
str6,\"Format: A6

Value,Label
JKLMNO,value label for \`JKLMNO'\",11
str7,\"Format: A7

Value,Label
JKLMNOP,value label for \`JKLMNOP'\",12
str8,\"Format: A8

Value,Label
JKLMNOPQ,value label for \`JKLMNOPQ'\",13
str9ж,\"Format: A9

Value,Label
RSTUVWXYZ,value label for \`RSTUVWXYZ'\",14
str12,\"Format: A12

Value,Label
0123456789ab,value label for \`0123456789ab'
cdefghijklmn,value label for \`cdefghijklmn'\",15
str16,\"Format: A16

Value,Label
EFGHIJKLMNOPQRST,value label for \`EFGHIJKLMNOPQRST'
UVWXYZ0123456789,value label for \`UVWXYZ0123456789' with Cyrillic letters: \`фхц'
opqrstuvwxyzABCD,value label for \`opqrstuvwxyzABCD'\",16
str17,\"Format: A17

Value,Label
abcdefghijklmnopq,value label for \`abcdefghijklmnopq'\",17
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:428"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_71
#AT_START_72
at_fn_group_banner 72 'sys-file-reader.at:521' \
  "documents" "                                      " 12
at_xfail=no
(
  $as_echo "72. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 1; 0; 0; 1; 100.0; "01 Jan 11"; "20:53:52"; s64 "PSPP synthetic test file";
i8 0 *3;

2; 0; 0; 0; 0x050800 *2; s8 "NUM1";

7; 3; 4; 8; 1; 2; 3; -1; 1; 1; ENDIAN; 1252;

6; 5;
s80 "First line of documents";
s80 "Second line of documents";
"abb"; i8 233; " appliqu"; i8 233; " attach"; i8 233; " blas"; i8 233; " caf"; i8 233; " canap"; i8 233; " clich"; i8 233; " consomm"; i8 233;
s25 "";
s80 "";
s80 "Last line of documents";

7; 20; 1; 12; "windows-1252";

999; 0;

1.0;
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:560: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:560"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:560"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
DISPLAY DOCUMENTS.
LIST.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:566: pspp -o pspp.csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:566"
( $at_check_trace; pspp -o pspp.csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:566"
$at_failed && at_fn_log_failure
$at_traceon; }

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:567: cat pspp.csv"
at_fn_check_prepare_trace "sys-file-reader.at:567"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Documents in the active dataset:

First line of documents

Second line of documents

abbé appliqué attaché blasé café canapé cliché consommé



Last line of documents

Table: Data List
num1
1
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:567"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_72
#AT_START_73
at_fn_group_banner 73 'sys-file-reader.at:587' \
  "empty document record" "                          " 12
at_xfail=no
(
  $as_echo "73. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 1; 0; 0; 1; 100.0; "01 Jan 11"; "20:53:52"; s64 "PSPP synthetic test file";
i8 0 *3;

2; 0; 0; 0; 0x050800 *2; s8 "NUM1";

7; 3; 4; 8; 1; 2; 3; -1; 1; 1; ENDIAN; 1252;

6; 0;

7; 20; 1; 12; "windows-1252";

999; 0;

1.0;
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:620: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:620"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:620"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
LIST.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:625: pspp -o pspp.csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:625"
( $at_check_trace; pspp -o pspp.csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:625"
$at_failed && at_fn_log_failure
$at_traceon; }

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:626: cat pspp.csv"
at_fn_check_prepare_trace "sys-file-reader.at:626"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
num1
1
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:626"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_73
#AT_START_74
at_fn_group_banner 74 'sys-file-reader.at:634' \
  "multiple response sets" "                         " 12
at_xfail=no
(
  $as_echo "74. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 16; 0; 0; 0; 100.0; "01 Jan 11"; "20:53:52"; s64 "PSPP synthetic test file";
i8 0 *3;

2; 0; 0; 0; 0x050800 *2; i8 0x82; i8 0xa0; s6 "";
2; 0; 0; 0; 0x050800 *2; s8 "B";
2; 0; 0; 0; 0x050800 *2; s8 "C";

2; 0; 0; 0; 0x050800 *2; s8 "D";
2; 0; 0; 0; 0x050800 *2; s8 "E";
2; 0; 0; 0; 0x050800 *2; s8 "F";
2; 0; 0; 0; 0x050800 *2; s8 "G";

2; 4; 0; 0; 0x010400 *2; s8 "H";
2; 4; 0; 0; 0x010400 *2; s8 "I";
2; 4; 0; 0; 0x010400 *2; s8 "J";

2; 0; 0; 0; 0x050800 *2; s8 "K";
2; 0; 0; 0; 0x050800 *2; s8 "L";
2; 0; 0; 0; 0x050800 *2; s8 "M";

2; 6; 0; 0; 0x010600 *2; s8 "N";
2; 6; 0; 0; 0x010600 *2; s8 "O";
2; 6; 0; 0; 0x010600 *2; s8 "P";

7; 3; 4; 8; 1; 2; 3; -1; 1; 1; ENDIAN; 932;

7; 7; 1;
COUNT(
  "$a=C 10 my mcgroup "; i8 0x82; i8 0xa0; " b c"; i8 10;
  "$b=D2 55 0  g e f d"; i8 10; i8 10;
  "$c=D4 "; i8 0x82; i8 0xcd; i8 0x82; i8 0xa2; " 10 mdgroup #2 h i j"; i8 10);

7; 19; 1;
COUNT(
  i8 10;
  "$d=E 1 2 34 13 third mdgroup k l m"; i8 10;
  "$e=E 11 6 choice 0  n o p"; i8 10; i8 10; i8 10; i8 10);

7; 20; 1; 9; "shift_jis";

999; 0;
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:696: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:696"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:696"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
MRSETS /DISPLAY NAME=ALL.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:701: pspp -o pspp.csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:701"
( $at_check_trace; pspp -o pspp.csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:701"
$at_failed && at_fn_log_failure
$at_traceon; }

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:702: cat pspp.csv"
at_fn_check_prepare_trace "sys-file-reader.at:702"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Multiple Response Sets
Name,Variables,Details
\$a,\"あ
b
c
\",\"Multiple category set
Label: my mcgroup
\"
\$b,\"g
e
f
d
\",\"Multiple dichotomy set
Counted value: 55
Category label source: Variable labels
\"
\$c,\"h
i
j
\",\"Multiple dichotomy set
Label: mdgroup #2
Label source: Provided by user
Counted value: \`はい'
Category label source: Variable labels
\"
\$d,\"k
l
m
\",\"Multiple dichotomy set
Label: third mdgroup
Label source: Provided by user
Counted value: 34
Category label source: Value labels of counted value
\"
\$e,\"n
o
p
\",\"Multiple dichotomy set
Label source: First variable label among variables
Counted value: \`choice'
Category label source: Value labels of counted value
\"
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:702"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_74
#AT_START_75
at_fn_group_banner 75 'sys-file-reader.at:751' \
  "extra product info" "                             " 12
at_xfail=no
(
  $as_echo "75. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 4; 0; 0; 0; 100.0; "01 Jan 11"; "20:53:52"; "PSPP synthetic"; i8 13; s49 "test file";
i8 0 *3;

2; 0; 0; 0; 0x050800 *2; s8 "A";
2; 0; 0; 0; 0x050800 *2; s8 "B";
2; 0; 0; 0; 0x050800 *2; s8 "C";
2; 0; 0; 0; 0x050800 *2; s8 "D";

7; 10; 1; COUNT ("Extra product info"; i8 13; "another line"; i8 13; "blah");

7; 20; 1; 12; "windows-1252";

999; 0;
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:781: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:781"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:781"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
SYSFILE INFO FILE='sys-file.sav'.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:785: pspp -o pspp.csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:785"
( $at_check_trace; pspp -o pspp.csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:785"
$at_failed && at_fn_log_failure
$at_traceon; }

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:786: sed 7q pspp.csv"
at_fn_check_prepare_trace "sys-file-reader.at:786"
( $at_check_trace; sed 7q pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "File:,sys-file.sav
Label:,\"PSPP synthetic
test file\"
Created:,01 Jan 11 20:53:52 by \$(#) SPSS DATA FILE PSPP synthetic test file
Product:,\"Extra product info
another line
blah\"
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:786"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_75
#AT_START_76
at_fn_group_banner 76 'sys-file-reader.at:798' \
  "variable display parameters, without width" "     " 12
at_xfail=no
(
  $as_echo "76. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 19; 0; 0; 0; 100.0; "01 Jan 11"; "20:53:52"; s64 "PSPP synthetic test file";
i8 0 *3;

2; 0; 0; 0; 0x050800 *2; s8 "A";
2; 0; 0; 0; 0x050800 *2; s8 "B";
2; 0; 0; 0; 0x050800 *2; s8 "C";
2; 0; 0; 0; 0x050800 *2; s8 "D";

2; 3; 0; 0; 0x010300 *2; s8 "H";
2; 3; 0; 0; 0x010300 *2; s8 "I";
2; 3; 0; 0; 0x010300 *2; s8 "J";
2; 3; 0; 0; 0x010300 *2; s8 "K";

2; 9; 0; 0; 0x010900 *2; s8 "L";
2; -1; 0; 0; 0; 0; s8 "";
2; 10; 0; 0; 0x010a00 *2; s8 "M";
2; -1; 0; 0; 0; 0; s8 "";
2; 17; 0; 0; 0x011100 *2; s8 "N";
( 2; -1; 0; 0; 0; 0; s8 "" ) * 2;
2; 25; 0; 0; 0x011900 *2; s8 "O";
( 2; -1; 0; 0; 0; 0; s8 "" ) * 3;

7; 11; 4; 24;
1; 0;
2; 0;
3; 0;
1; 1;
2; 1;
3; 1;
1; 2;
2; 2;
3; 2;
0; 0;
0; 1;
0; 2;

7; 20; 1; 12; "windows-1252";

999; 0;
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:856: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:856"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:856"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
DISPLAY DICTIONARY.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:861: pspp -o pspp.csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:861"
( $at_check_trace; pspp -o pspp.csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:861"
$at_failed && at_fn_log_failure
$at_traceon; }

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:862: cat pspp.csv"
at_fn_check_prepare_trace "sys-file-reader.at:862"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Variable,Description,Position
a,\"Format: F8.0
Measure: Nominal
Display Alignment: Left\",1
b,\"Format: F8.0
Measure: Ordinal
Display Alignment: Left\",2
c,\"Format: F8.0
Measure: Scale
Display Alignment: Left\",3
d,\"Format: F8.0
Measure: Nominal
Display Alignment: Right\",4
h,\"Format: A3
Measure: Ordinal
Display Alignment: Right\",5
i,\"Format: A3
Measure: Scale
Display Alignment: Right\",6
j,\"Format: A3
Measure: Nominal
Display Alignment: Center\",7
k,\"Format: A3
Measure: Ordinal
Display Alignment: Center\",8
l,\"Format: A9
Measure: Scale
Display Alignment: Center\",9
m,\"Format: A10
Measure: Nominal
Display Alignment: Left\",10
n,\"Format: A17
Measure: Nominal
Display Alignment: Right\",11
o,\"Format: A25
Measure: Nominal
Display Alignment: Center\",12
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:862"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_76
#AT_START_77
at_fn_group_banner 77 'sys-file-reader.at:904' \
  "variable display parameters, with width" "        " 12
at_xfail=no
(
  $as_echo "77. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 19; 0; 0; 0; 100.0; "01 Jan 11"; "20:53:52"; s64 "PSPP synthetic test file";
i8 0 *3;

2; 0; 0; 0; 0x050800 *2; s8 "A";
2; 0; 0; 0; 0x050800 *2; s8 "B";
2; 0; 0; 0; 0x050800 *2; s8 "C";
2; 0; 0; 0; 0x050800 *2; s8 "D";

2; 3; 0; 0; 0x010300 *2; s8 "H";
2; 3; 0; 0; 0x010300 *2; s8 "I";
2; 3; 0; 0; 0x010300 *2; s8 "J";
2; 3; 0; 0; 0x010300 *2; s8 "K";

2; 9; 0; 0; 0x010900 *2; s8 "L";
2; -1; 0; 0; 0; 0; s8 "";
2; 10; 0; 0; 0x010a00 *2; s8 "M";
2; -1; 0; 0; 0; 0; s8 "";
2; 17; 0; 0; 0x011100 *2; s8 "N";
( 2; -1; 0; 0; 0; 0; s8 "" ) * 2;
2; 25; 0; 0; 0x011900 *2; s8 "O";
( 2; -1; 0; 0; 0; 0; s8 "" ) * 3;

7; 11; 4; 36;
1; 1; 0;
2; 2; 0;
3; 3; 0;
1; 4; 1;
2; 5; 1;
3; 6; 1;
1; 7; 2;
2; 8; 2;
3; 9; 2;
0; 10; 0;
0; 11; 1;
0; 12; 2;

7; 20; 1; 12; "windows-1252";

999; 0;
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:962: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:962"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:962"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
DISPLAY DICTIONARY.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:967: pspp -o pspp.csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:967"
( $at_check_trace; pspp -o pspp.csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:967"
$at_failed && at_fn_log_failure
$at_traceon; }

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:968: cat pspp.csv"
at_fn_check_prepare_trace "sys-file-reader.at:968"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Variable,Description,Position
a,\"Format: F8.0
Measure: Nominal
Display Alignment: Left
Display Width: 1\",1
b,\"Format: F8.0
Measure: Ordinal
Display Alignment: Left
Display Width: 2\",2
c,\"Format: F8.0
Measure: Scale
Display Alignment: Left
Display Width: 3\",3
d,\"Format: F8.0
Measure: Nominal
Display Alignment: Right
Display Width: 4\",4
h,\"Format: A3
Measure: Ordinal
Display Alignment: Right
Display Width: 5\",5
i,\"Format: A3
Measure: Scale
Display Alignment: Right
Display Width: 6\",6
j,\"Format: A3
Measure: Nominal
Display Alignment: Center
Display Width: 7\",7
k,\"Format: A3
Measure: Ordinal
Display Alignment: Center
Display Width: 8\",8
l,\"Format: A9
Measure: Scale
Display Alignment: Center
Display Width: 9\",9
m,\"Format: A10
Measure: Nominal
Display Alignment: Left
Display Width: 10\",10
n,\"Format: A17
Measure: Nominal
Display Alignment: Right
Display Width: 11\",11
o,\"Format: A25
Measure: Nominal
Display Alignment: Center
Display Width: 12\",12
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:968"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_77
#AT_START_78
at_fn_group_banner 78 'sys-file-reader.at:1022' \
  "long variable names" "                            " 12
at_xfail=no
(
  $as_echo "78. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 7; 0; 0; 0; 100.0; "01 Jan 11"; "20:53:52"; s64 "PSPP synthetic test file";
i8 0 *3;

2; 0; 0; 0; 0x050800 *2; s8 "LONGVARI";
2; 0; 0; 0; 0x050800 *2; s8 "LONGVA_A";
2; 0; 0; 0; 0x050800 *2; s8 "LONGVA_B";
2; 0; 0; 0; 0x050800 *2; s8 "LONGVA_C";
2; 0; 0; 0; 0x050800 *2; "CO"; i8 214; "RDINA";
2; 0; 0; 0; 0x050800 *2; "CO"; i8 214; "RDI_A";
2; 0; 0; 0; 0x050800 *2; "CO"; i8 214; "RDI_B";

7; 3; 4; 8; 1; 2; 3; -1; 1; 1; ENDIAN; 1252;

7; 4; 8; 3; SYSMIS; HIGHEST; LOWEST;

7; 13; 1; COUNT (
"LONGVARI=LongVariableName1"; i8 9;
"LONGVA_A=LongVariableName2"; i8 9;
"LONGVA_B=LongVariableName3"; i8 9;
"LONGVA_C=LongVariableName4"; i8 9;
"CO"; i8 214; "RDINA=Co"; i8 246; "rdinate_X"; i8 9;
"CO"; i8 214; "RDI_A=Co"; i8 246; "rdinate_Y"; i8 9;
"CO"; i8 214; "RDI_B=Co"; i8 246; "rdinate_Z";
);

7; 20; 1; 12; "windows-1252";

999; 0;
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:1069: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:1069"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:1069"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
DISPLAY DICTIONARY.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:1074: pspp -o pspp.csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:1074"
( $at_check_trace; pspp -o pspp.csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:1074"
$at_failed && at_fn_log_failure
$at_traceon; }

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:1075: cat pspp.csv"
at_fn_check_prepare_trace "sys-file-reader.at:1075"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Variable,Description,Position
LongVariableName1,Format: F8.0,1
LongVariableName2,Format: F8.0,2
LongVariableName3,Format: F8.0,3
LongVariableName4,Format: F8.0,4
Coördinate_X,Format: F8.0,5
Coördinate_Y,Format: F8.0,6
Coördinate_Z,Format: F8.0,7
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:1075"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_78
#AT_START_79
at_fn_group_banner 79 'sys-file-reader.at:1088' \
  "very long strings" "                              " 12
at_xfail=no
(
  $as_echo "79. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 109; 0; 0; 1; 100.0; "01 Jan 11"; "20:53:52"; s64 "PSPP synthetic test file";
i8 0 *3;

2; 255; 0; 0; 0x01FF00 *2; "S"; i8 201; s6 "Q256";
(2; -1; 0; 0; 0; 0; s8 "") * 31;
2; 4; 0; 0; 0x010400 *2; "S"; i8 201; "Q256_1";

2; 255; 0; 0; 0x01FF00 *2; s8 "STR600";
(2; -1; 0; 0; 0; 0; s8 "") * 31;
2; 255; 0; 0; 0x01FF00 *2; s8 "STR600_1";
(2; -1; 0; 0; 0; 0; s8 "") * 31;
2; 96; 0; 0; 0x016000 *2; s8 "STR600_2";
(2; -1; 0; 0; 0; 0; s8 "") * 11;

7; 3; 4; 8; 1; 2; 3; -1; 1; 1; ENDIAN; 1252;

7; 14; 1; COUNT (
"S"; i8 201; "Q256=00256"; i8 0; i8 9;
"STR600=00600"; i8 0; i8 9;
);

7; 20; 1; 12; "windows-1252";

999; 0;

"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789@#" * 4;
"abcdefgh";
"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789@#" * 9;
"abcdefghijklmnopqrstuvwxyzABCDEF";
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:1137: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:1137"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:1137"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
DISPLAY DICTIONARY.
LIST.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:1143: pspp -o pspp.csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:1143"
( $at_check_trace; pspp -o pspp.csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:1143"
$at_failed && at_fn_log_failure
$at_traceon; }

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:1144: cat pspp.csv"
at_fn_check_prepare_trace "sys-file-reader.at:1144"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Variable,Description,Position
séq256,Format: A256,1
str600,Format: A600,2

Table: Data List
séq256,str600
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789@#abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789@#abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789@#abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789@a,abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789@#abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789@#abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789@#abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789@#abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789@#abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789@#abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789@#abcdefghijklmnopqrstuvwxyz
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:1144"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_79
#AT_START_80
at_fn_group_banner 80 'sys-file-reader.at:1156' \
  "data file and variable attributes" "              " 12
at_xfail=no
(
  $as_echo "80. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 3; 0; 0; 0; 100.0; "01 Jan 11"; "20:53:52"; s64 "PSPP synthetic test file";
i8 0 *3;

2; 0; 0; 0; 0x050800 *2; s8 "FIRSTVAR";
2; 0; 0; 0; 0x050800 *2; s8 "SECONDVA";
2; 0; 0; 0; 0x050800 *2; s8 "THIRDVAR";

7; 3; 4; 8; 1; 2; 3; -1; 1; 1; ENDIAN; 1252;

7; 13; 1; COUNT (
"FIRSTVAR=FirstVariable"; i8 9;
"SECONDVA=S"; i8 233; "condVariable"; i8 9;
"THIRDVAR=ThirdVariable"; i8 9
);

7; 17; 1; COUNT (
"Attr1('Value1'"; i8 10; "''d"; i8 233; "claration''"; i8 10; ")";
"S"; i8 233; "condAttr('123'"; i8 10; "'456'"; i8 10; ")";
);

7; 18; 1; COUNT (
"FirstVariable:";
  "ad"; i8 232; "le('23'"; i8 10; "'34'"; i8 10; ")";
  "bert('123'"; i8 10; ")";
  "$@Role('1'"; i8 10; ")";
"/S"; i8 233; "condVariable:";
  "xyzzy('quux'"; i8 10; ")";
);

7; 18; 1; COUNT ("ThirdVariable:fizz('buzz'"; i8 10; ")";);

7; 20; 1; 12; "windows-1252";

999; 0;
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:1213: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:1213"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:1213"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
DISPLAY @ATTRIBUTES.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:1218: pspp -o pspp.csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:1218"
( $at_check_trace; pspp -o pspp.csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:1218"
$at_failed && at_fn_log_failure
$at_traceon; }

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:1219: cat pspp.csv"
at_fn_check_prepare_trace "sys-file-reader.at:1219"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Variable,Description
FirstVariable,\"Attribute,Value
\$@Role,1
adèle[1],23
adèle[2],34
bert,123\"
SécondVariable,\"Attribute,Value
xyzzy,quux\"
ThirdVariable,\"Attribute,Value
fizz,buzz\"

Table: Custom data file attributes.
Attribute,Value
Attr1[1],Value1
Attr1[2],'déclaration'
SécondAttr[1],123
SécondAttr[2],456
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:1219"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
DISPLAY DICTIONARY.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:1242: pspp -o pspp.csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:1242"
( $at_check_trace; pspp -o pspp.csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:1242"
$at_failed && at_fn_log_failure
$at_traceon; }

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:1243: cat pspp.csv"
at_fn_check_prepare_trace "sys-file-reader.at:1243"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Variable,Description,Position
FirstVariable,\"Format: F8.0
Role: Output

Attribute,Value
adèle[1],23
adèle[2],34
bert,123\",1
SécondVariable,\"Format: F8.0
Role: Input

Attribute,Value
xyzzy,quux\",2
ThirdVariable,\"Format: F8.0
Role: Input

Attribute,Value
fizz,buzz\",3

Table: Custom data file attributes.
Attribute,Value
Attr1[1],Value1
Attr1[2],'déclaration'
SécondAttr[1],123
SécondAttr[2],456
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:1243"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_80
#AT_START_81
at_fn_group_banner 81 'sys-file-reader.at:1273' \
  "variable roles" "                                 " 12
at_xfail=no
(
  $as_echo "81. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 7; 0; 0; 0; 100.0; "01 Jan 11"; "20:53:52"; s64 "PSPP synthetic test file";
i8 0 *3;

2; 0; 0; 0; 0x050800 *2; s8 "I";
2; 0; 0; 0; 0x050800 *2; s8 "O";
2; 0; 0; 0; 0x050800 *2; s8 "B";
2; 0; 0; 0; 0x050800 *2; s8 "N";
2; 0; 0; 0; 0x050800 *2; s8 "P";
2; 0; 0; 0; 0x050800 *2; s8 "S";
2; 0; 0; 0; 0x050800 *2; s8 "X";

7; 3; 4; 8; 1; 2; 3; -1; 1; 1; ENDIAN; 1252;

7; 18; 1; COUNT (
"I:$@Role('0'"; i8 10; ")";
"/O:$@Role('1'"; i8 10; ")";
"/B:$@Role('2'"; i8 10; ")";
"/N:$@Role('3'"; i8 10; ")";
"/P:$@Role('4'"; i8 10; ")";
"/S:$@Role('5'"; i8 10; ")";
"/X:$@Role('6'"; i8 10; ")";
);

7; 20; 1; 12; "windows-1252";

999; 0;
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:1317: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:1317"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:1317"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
DISPLAY DICTIONARY.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:1322: pspp -o pspp.csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:1322"
( $at_check_trace; pspp -o pspp.csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "warning: \`sys-file.sav': Invalid role for variable x.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:1322"
$at_failed && at_fn_log_failure
$at_traceon; }

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:1325: cat pspp.csv"
at_fn_check_prepare_trace "sys-file-reader.at:1325"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "warning: \`sys-file.sav': Invalid role for variable x.

Variable,Description,Position
i,\"Format: F8.0
Role: Input\",1
o,\"Format: F8.0
Role: Output\",2
b,\"Format: F8.0
Role: Both\",3
n,\"Format: F8.0
Role: None\",4
p,\"Format: F8.0
Role: Partition\",5
s,\"Format: F8.0
Role: Split\",6
x,\"Format: F8.0
Role: Input\",7
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:1325"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_81
#AT_START_82
at_fn_group_banner 82 'sys-file-reader.at:1347' \
  "compressed data" "                                " 12
at_xfail=no
(
  $as_echo "82. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 6; 1; 0; -1; 100.0; "01 Jan 11"; "20:53:52"; s64 "PSPP synthetic test file";
i8 0 *3;

2; 0; 0; 0; 0x050800 *2; s8 "NUM1";
2; 0; 0; 0; 0x050800 *2; s8 "NUM2";

2; 4; 0; 0; 0x010400 *2; s8 "STR4";
2; 8; 0; 0; 0x010800 *2; s8 "STR8";
2; 15; 0; 0; 0x010f00 *2; s8 "STR15";
2; -1; 0; 0; 0; 0; s8 "";

7; 20; 1; 12; "windows-1252";

999; 0;

i8 1 100 254 253 254 253; i8 255 251; "abcdefgh"; s8 "0123";
i8 253 253 253 254; i8 101 102 253 253; s8 "jklm"; s8 "nopqrstu";
s8 "vwxyzABC"; s8 "DEFG"; s8 "HIJKLMNO";
i8 254 253 252 0 0 0 0 0; s8 "PQRSTUVW";

_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:1385: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:1385"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:1385"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
DISPLAY DICTIONARY.
LIST.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:1391: pspp -o pspp.csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:1391"
( $at_check_trace; pspp -o pspp.csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:1391"
$at_failed && at_fn_log_failure
$at_traceon; }

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:1392: cat pspp.csv"
at_fn_check_prepare_trace "sys-file-reader.at:1392"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Variable,Description,Position
num1,Format: F8.0,1
num2,Format: F8.0,2
str4,Format: A4,3
str8,Format: A8,4
str15,Format: A15,5

Table: Data List
num1,num2,str4,str8,str15
-99,0,,abcdefgh,0123   
.,151,jklm,nopqrstu,vwxyzABC       
1,2,DEFG,HIJKLMNO,PQRSTUV
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:1392"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_82
#AT_START_83
at_fn_group_banner 83 'sys-file-reader.at:1409' \
  "compressed data, zero bias" "                     " 12
at_xfail=no
(
  $as_echo "83. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 6; 1; 0; -1; 0.0; "01 Jan 11"; "20:53:52"; s64 "PSPP synthetic test file";
i8 0 *3;

2; 0; 0; 0; 0x050800 *2; s8 "NUM1";
2; 0; 0; 0; 0x050800 *2; s8 "NUM2";

2; 4; 0; 0; 0x010400 *2; s8 "STR4";
2; 8; 0; 0; 0x010800 *2; s8 "STR8";
2; 15; 0; 0; 0x010f00 *2; s8 "STR15";
2; -1; 0; 0; 0; 0; s8 "";

7; 20; 1; 12; "windows-1252";

999; 0;

i8 1 100 254 253 254 253; i8 255 251; "abcdefgh"; s8 "0123";
i8 253 253 253 254; i8 101 102 253 253; s8 "jklm"; s8 "nopqrstu";
s8 "vwxyzABC"; s8 "DEFG"; s8 "HIJKLMNO";
i8 254 253 252 0 0 0 0 0; s8 "PQRSTUVW";

_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:1447: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:1447"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:1447"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
DISPLAY DICTIONARY.
LIST.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:1453: pspp -o pspp.csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:1453"
( $at_check_trace; pspp -o pspp.csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:1453"
$at_failed && at_fn_log_failure
$at_traceon; }

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:1454: cat pspp.csv"
at_fn_check_prepare_trace "sys-file-reader.at:1454"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Variable,Description,Position
num1,Format: F8.0,1
num2,Format: F8.0,2
str4,Format: A4,3
str8,Format: A8,4
str15,Format: A15,5

Table: Data List
num1,num2,str4,str8,str15
1,100,,abcdefgh,0123   
.,251,jklm,nopqrstu,vwxyzABC       
101,102,DEFG,HIJKLMNO,PQRSTUV
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:1454"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_83
#AT_START_84
at_fn_group_banner 84 'sys-file-reader.at:1471' \
  "compressed data, other bias" "                    " 12
at_xfail=no
(
  $as_echo "84. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 6; 1; 0; -1; 50.0; "01 Jan 11"; "20:53:52"; s64 "PSPP synthetic test file";
i8 0 *3;

2; 0; 0; 0; 0x050800 *2; s8 "NUM1";
2; 0; 0; 0; 0x050800 *2; s8 "NUM2";

2; 4; 0; 0; 0x010400 *2; s8 "STR4";
2; 8; 0; 0; 0x010800 *2; s8 "STR8";
2; 15; 0; 0; 0x010f00 *2; s8 "STR15";
2; -1; 0; 0; 0; 0; s8 "";

7; 20; 1; 12; "windows-1252";

999; 0;

i8 1 100 254 253 254 253; i8 255 251; "abcdefgh"; s8 "0123";
i8 253 253 253 254; i8 101 102 253 253; s8 "jklm"; s8 "nopqrstu";
s8 "vwxyzABC"; s8 "DEFG"; s8 "HIJKLMNO";
i8 254 253 252 0 0 0 0 0; s8 "PQRSTUVW";

_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:1509: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:1509"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:1509"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
DISPLAY DICTIONARY.
LIST.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:1515: pspp -o pspp.csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:1515"
( $at_check_trace; pspp -o pspp.csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "warning: \`sys-file.sav' near offset 0x54: Compression bias is not the usual value of 100, or system file uses unrecognized floating-point format.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:1515"
$at_failed && at_fn_log_failure
$at_traceon; }

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:1518: cat pspp.csv"
at_fn_check_prepare_trace "sys-file-reader.at:1518"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "\"warning: \`sys-file.sav' near offset 0x54: Compression bias is not the usual value of 100, or system file uses unrecognized floating-point format.\"

Variable,Description,Position
num1,Format: F8.0,1
num2,Format: F8.0,2
str4,Format: A4,3
str8,Format: A8,4
str15,Format: A15,5

Table: Data List
num1,num2,str4,str8,str15
-49,50,,abcdefgh,0123   
.,201,jklm,nopqrstu,vwxyzABC       
51,52,DEFG,HIJKLMNO,PQRSTUV
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:1518"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_84
#AT_START_85
at_fn_group_banner 85 'sys-file-reader.at:1606' \
  "zcompressed data" "                               " 12
at_xfail=no
(
  $as_echo "85. $at_setup_line: testing $at_desc ..."
  $at_traceon


zcompressed_sack > sys-file.sack
for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:1610: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:1610"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:1610"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
DISPLAY DICTIONARY.
LIST.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:1616: pspp -o pspp.csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:1616"
( $at_check_trace; pspp -o pspp.csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:1616"
$at_failed && at_fn_log_failure
$at_traceon; }

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:1617: cat pspp.csv"
at_fn_check_prepare_trace "sys-file-reader.at:1617"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Variable,Description,Position
num1,Format: F8.0,1
num2,Format: F8.0,2
str4,Format: A4,3
str8,Format: A8,4
str15,Format: A15,5

Table: Data List
num1,num2,str4,str8,str15
-99,0,,abcdefgh,0123   
.,151,jklm,nopqrstu,vwxyzABC       
1,2,DEFG,HIJKLMNO,PQRSTUV
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:1617"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_85
#AT_START_86
at_fn_group_banner 86 'sys-file-reader.at:1636' \
  "no variables" "                                   " 13
at_xfail=no
(
  $as_echo "86. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 0; 0; 0; 0; 100.0; "01 Jan 11"; "20:53:52"; s64 "PSPP synthetic test file";
i8 0 *3;

7; 20; 1; 12; "windows-1252";

999; 0;
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:1657: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:1657"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:1657"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:1661: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:1661"
( $at_check_trace; pspp -O format=csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "sys-file.sps:1: error: GET: \`sys-file.sav': Data file dictionary has no variables.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/sys-file-reader.at:1661"
$at_failed && at_fn_log_failure
$at_traceon; }


      { set +x
$as_echo "$at_srcdir/sys-file-reader.at:1667: pspp-convert sys-file.sav sys-file.txt"
at_fn_check_prepare_trace "sys-file-reader.at:1667"
( $at_check_trace; pspp-convert sys-file.sav sys-file.txt
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:1667"
$at_failed && at_fn_log_failure
$at_traceon; }

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:1668: cat sys-file.txt"
at_fn_check_prepare_trace "sys-file-reader.at:1668"
( $at_check_trace; cat sys-file.txt
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:1668"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_86
#AT_START_87
at_fn_group_banner 87 'sys-file-reader.at:1673' \
  "unspecified character encoding" "                 " 13
at_xfail=no
(
  $as_echo "87. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 4; 0; 0; 0; 100.0; "01 Jan 11"; "20:53:52";
"PSPP synthetic test file: "; i8 244; i8 245; i8 246; i8 248; s34 "";
i8 0 *3;

2; 0; 0; 0; 0x050800 *2; s8 "A";
2; 0; 0; 0; 0x050800 *2; s8 "B";
2; 0; 0; 0; 0x050800 *2; s8 "C";
2; 0; 0; 0; 0x050800 *2; s8 "D";

999; 0;
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:1698: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:1698"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:1698"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET 'sys-file.sav'.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:1702: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:1702"
( $at_check_trace; pspp -O format=csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; tee stdout <"$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:1702"
$at_failed && at_fn_log_failure
$at_traceon; }

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:1703: sed 's/default encoding.*For/default encoding.  For/' stdout"
at_fn_check_prepare_trace "sys-file-reader.at:1703"
( $at_check_trace; sed 's/default encoding.*For/default encoding.  For/' stdout
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "\"warning: \`sys-file.sav': This system file does not indicate its own character encoding.  Using default encoding.  For best results, specify an encoding explicitly.  Use SYSFILE INFO with ENCODING=\"\"DETECT\"\" to analyze the possible encodings.\"
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:1703"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_87
#AT_START_88
at_fn_group_banner 88 'sys-file-reader.at:1709' \
  "misplaced type 4 record" "                        " 13
at_xfail=no
(
  $as_echo "88. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 1; 1; 0; -1; 100.0; "01 Jan 11"; "20:53:52"; s64 ""; i8 0 *3;

2; 0; 0; 0; 0x050800 *2; s8 "NUM1";

>>4<<;
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:1723: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:1723"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:1723"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:1726: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:1726"
( $at_check_trace; pspp -O format=csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "error: \`sys-file.sav' near offset 0xd4: Misplaced type 4 record.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/sys-file-reader.at:1726"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_88
#AT_START_89
at_fn_group_banner 89 'sys-file-reader.at:1732' \
  "bad record type" "                                " 13
at_xfail=no
(
  $as_echo "89. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 1; 1; 0; -1; 100.0; "01 Jan 11"; "20:53:52"; s64 ""; i8 0 *3;

2; 0; 0; 0; 0x050800 *2; s8 "NUM1";

>>8<<;
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:1746: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:1746"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:1746"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:1749: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:1749"
( $at_check_trace; pspp -O format=csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "error: \`sys-file.sav' near offset 0xd4: Unrecognized record type 8.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/sys-file-reader.at:1749"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_89
#AT_START_90
at_fn_group_banner 90 'sys-file-reader.at:1755' \
  "wrong number of variable positions" "             " 13
at_xfail=no
(
  $as_echo "90. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; >>2<<; 1; 0; -1; 100.0; "01 Jan 11"; "20:53:52"; s64 ""; i8 0 *3;

2; 0; 0; 0; 0x050800 *2; s8 "NUM1";

7; 20; 1; 12; "windows-1252";

999; 0;
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:1772: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:1772"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:1772"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:1775: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:1775"
( $at_check_trace; pspp -O format=csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "warning: \`sys-file.sav': File header claims 2 variable positions but 1 were read from file.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:1775"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_90
#AT_START_91
at_fn_group_banner 91 'sys-file-reader.at:1781' \
  "variable name may not begin with \`#'" "           " 13
at_xfail=no
(
  $as_echo "91. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 1; 1; 0; -1; 100.0; "01 Jan 11"; "20:53:52"; s64 ""; i8 0 *3;

2; 0; 0; 0; 0x050800 *2; s8 >>"$UM1"<<;

7; 20; 1; 12; "windows-1252";

999; 0;
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:1798: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:1798"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:1798"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:1801: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:1801"
( $at_check_trace; pspp -O format=csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "error: \`sys-file.sav' near offset 0xb4: Invalid variable name \`\$UM1'.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/sys-file-reader.at:1801"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_91
#AT_START_92
at_fn_group_banner 92 'sys-file-reader.at:1807' \
  "variable name may not be reserved word" "         " 13
at_xfail=no
(
  $as_echo "92. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 1; 1; 0; -1; 100.0; "01 Jan 11"; "20:53:52"; s64 ""; i8 0 *3;

2; 0; 0; 0; 0x050800 *2; s8 >>"TO"<<;

7; 20; 1; 12; "windows-1252";

999; 0;
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:1824: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:1824"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:1824"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:1827: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:1827"
( $at_check_trace; pspp -O format=csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "error: \`sys-file.sav' near offset 0xb4: Invalid variable name \`TO'.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/sys-file-reader.at:1827"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_92
#AT_START_93
at_fn_group_banner 93 'sys-file-reader.at:1833' \
  "variable width must be between 0 and 255" "       " 13
at_xfail=no
(
  $as_echo "93. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 1; 1; 0; -1; 100.0; "01 Jan 11"; "20:53:52"; s64 ""; i8 0 *3;

2; 256; 0; 0; 0x050800 *2; s8 "VAR1";

7; 20; 1; 12; "windows-1252";

999; 0;
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:1850: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:1850"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:1850"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:1853: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:1853"
( $at_check_trace; pspp -O format=csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "error: \`sys-file.sav' near offset 0xb4: Bad width 256 for variable VAR1.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/sys-file-reader.at:1853"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_93
#AT_START_94
at_fn_group_banner 94 'sys-file-reader.at:1861' \
  "duplicate variable name" "                        " 13
at_xfail=no
(
  $as_echo "94. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 2; 1; 0; -1; 100.0; "01 Jan 11"; "20:53:52"; s64 ""; i8 0 *3;

2; 0; 0; 0; 0x050800 *2; s8 "VAR1";
2; 0; 0; 0; 0x050800 *2; s8 "VAR1";

7; 20; 1; 12; "windows-1252";

999; 0;
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:1879: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:1879"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:1879"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
DISPLAY DICTIONARY.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:1883: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:1883"
( $at_check_trace; pspp -O format=csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "warning: \`sys-file.sav' near offset 0xd4: Renaming variable with duplicate name \`VAR1' to \`VAR001'.

Variable,Description,Position
var1,Format: F8.0,1
var001,Format: F8.0,2
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:1883"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_94
#AT_START_95
at_fn_group_banner 95 'sys-file-reader.at:1893' \
  "variable label indicator not 0 or 1" "            " 13
at_xfail=no
(
  $as_echo "95. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 2; 1; 0; -1; 100.0; "01 Jan 11"; "20:53:52"; s64 ""; i8 0 *3;

2; 0; >>2<<; 0; 0x050800 *2; s8 "VAR1";

7; 20; 1; 12; "windows-1252";

999; 0;
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:1910: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:1910"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:1910"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:1913: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:1913"
( $at_check_trace; pspp -O format=csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "error: \`sys-file.sav' near offset 0xb4: Variable label indicator field is not 0 or 1.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/sys-file-reader.at:1913"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_95
#AT_START_96
at_fn_group_banner 96 'sys-file-reader.at:1919' \
  "invalid numeric missing value indicator" "        " 13
at_xfail=no
(
  $as_echo "96. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 2; 1; 0; -1; 100.0; "01 Jan 11"; "20:53:52"; s64 ""; i8 0 *3;

2; 0; 0; >>-1<<; 0x050800 *2; s8 "VAR1";

7; 20; 1; 12; "windows-1252";

999; 0;
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:1936: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:1936"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:1936"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:1939: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:1939"
( $at_check_trace; pspp -O format=csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "\"error: \`sys-file.sav' near offset 0xb4: Numeric missing value indicator field is not -3, -2, 0, 1, 2, or 3.\"
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/sys-file-reader.at:1939"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_96
#AT_START_97
at_fn_group_banner 97 'sys-file-reader.at:1945' \
  "invalid string missing value indicator" "         " 13
at_xfail=no
(
  $as_echo "97. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 2; 1; 0; -1; 100.0; "01 Jan 11"; "20:53:52"; s64 ""; i8 0 *3;

2; 8; 0; >>4<<; 0x010800 *2; s8 "VAR1";

7; 20; 1; 12; "windows-1252";

999; 0;
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:1962: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:1962"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:1962"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:1965: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:1965"
( $at_check_trace; pspp -O format=csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "\"error: \`sys-file.sav' near offset 0xb4: String missing value indicator field is not 0, 1, 2, or 3.\"
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/sys-file-reader.at:1965"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_97
#AT_START_98
at_fn_group_banner 98 'sys-file-reader.at:1971' \
  "missing string continuation record" "             " 13
at_xfail=no
(
  $as_echo "98. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 2; 1; 0; -1; 100.0; "01 Jan 11"; "20:53:52"; s64 ""; i8 0 *3;

2; 10; 0; 0; 0x010a00 *2; s8 "VAR1";
>>2; 0; 0; 0; 0x050800 *2; s8 "VAR2";<<

7; 20; 1; 12; "windows-1252";

999; 0;
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:1989: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:1989"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:1989"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:1992: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:1992"
( $at_check_trace; pspp -O format=csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "error: \`sys-file.sav' near offset 0xb4: Missing string continuation record.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/sys-file-reader.at:1992"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_98
#AT_START_99
at_fn_group_banner 99 'sys-file-reader.at:1998' \
  "invalid variable format" "                        " 13
at_xfail=no
(
  $as_echo "99. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 4; 1; 0; -1; 100.0; "01 Jan 11"; "20:53:52"; s64 ""; i8 0 *3;

2; 0; 0; 0; >>0xff0800; 0<<; s8 "NUM1";

2; 0; 0; 0; >>0x010800<<; >>0x021000<<; s8 "VAR1";

2; 4; 0; 0; >>0x050800<<; >>0x110a01<<; s8 "STR1";

2; 4; 0; 0; >>0x010800<<; >>0x020400<<; s8 "STR2";

7; 20; 1; 12; "windows-1252";

999; 0;
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:2026: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:2026"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:2026"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:2029: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:2029"
( $at_check_trace; pspp -O format=csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "warning: \`sys-file.sav' near offset 0xc0: Variable NUM1 with width 0 has invalid print format 0xff0800.

warning: \`sys-file.sav' near offset 0xe0: Variable VAR1 with width 0 has invalid print format 0x10800.

warning: \`sys-file.sav' near offset 0xe4: Variable VAR1 with width 0 has invalid write format 0x21000.

warning: \`sys-file.sav' near offset 0x100: Variable STR1 with width 4 has invalid print format 0x50800.

warning: \`sys-file.sav' near offset 0x104: Variable STR1 with width 4 has invalid write format 0x110a01.

warning: \`sys-file.sav' near offset 0x120: Variable STR2 with width 4 has invalid print format 0x10800.

warning: \`sys-file.sav' near offset 0x124: Variable STR2 with width 4 has invalid write format 0x20400.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:2029"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_99
#AT_START_100
at_fn_group_banner 100 'sys-file-reader.at:2047' \
  "invalid long string missing values" "             " 13
at_xfail=no
(
  $as_echo "100. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 7; 0; 0; 1; 100.0; "01 Jan 11"; "20:53:52";
"PSPP synthetic test file: "; i8 244; i8 245; i8 246; i8 248; s34 "";
i8 0 *3;

2; 0; 0; 0; 0x050800 *2; s8 "NUM1";

2; 9; 0; 0; 0x010900 *2; s8 "STR1";
2; -1; 0; 0; 0; 0; s8 "";
2; 10; 0; 0; 0x010a00 *2; s8 "STR2";
2; -1; 0; 0; 0; 0; s8 "";
2; 11; 0; 0; 0x010b00 *2; s8 "STR3";
2; -1; 0; 0; 0; 0; s8 "";

7; 3; 4; 8; 1; 2; 3; -1; 1; 1; ENDIAN; 1252;

7; 4; 8; 3; SYSMIS; HIGHEST; LOWEST;

7; 22; 1; COUNT (
COUNT("STR1"); i8 >>0<<;

COUNT("STR2"); i8 4;
8; "abcdefgh"; 8; "ijklmnop"; 8; "qrstuvwx"; 8; "yz012345";

COUNT(>>"Nonexistent"<<); i8 1; 8; "abcdefgh";

COUNT(>>"NUM1"<<); i8 1; 8; "abcdefgh";

COUNT("STR3"); i8 1; >>COUNT("abcdefghijkl")<<;
);

7; 20; 1; 12; "windows-1252";

999; 0;
s8 "abcd"; s8 "efgh"; s8 "ijkl"; s8 "mnop"; s8 "qrst"; s8 "uvwx";
s16 "yzABCDEFGHI"; s16 "JKLMNOPQR"; s16 "STUVWXYZ01";
s16 "23456789abc"; s32 "defghijklmnopqstuvwxyzABC";
_ATEOF


for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:2110: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:2110"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:2110"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
DISPLAY DICTIONARY.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:2115: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:2115"
( $at_check_trace; pspp -O format=csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "\"warning: \`sys-file.sav' near offset 0x1f8: Long string missing values record says variable STR1 has 0 missing values, but only 1 to 3 missing values are allowed.\"

\"warning: \`sys-file.sav' near offset 0x201: Long string missing values record says variable STR2 has 4 missing values, but only 1 to 3 missing values are allowed.\"

warning: \`sys-file.sav' near offset 0x242: Ignoring long string missing value record for unknown variable Nonexistent.

warning: \`sys-file.sav' near offset 0x257: Ignoring long string missing value record for numeric variable NUM1.

\"warning: \`sys-file.sav' near offset 0x270: Ignoring long string missing value 0 for variable str3, with width 11, that has bad value width 12.\"

Variable,Description,Position
num1,Format: F8.0,1
str1,Format: A9,2
str2,\"Format: A10
Missing Values: \"\"abcdefgh\"\"; \"\"ijklmnop\"\"; \"\"qrstuvwx\"\"\",3
str3,Format: A11,4
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:2115"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_100
#AT_START_101
at_fn_group_banner 101 'sys-file-reader.at:2136' \
  "weighting variable must be numeric" "             " 13
at_xfail=no
(
  $as_echo "101. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 2; 1; >>2<<; -1; 100.0; "01 Jan 11"; "20:53:52"; s64 ""; i8 0 *3;

2; 0; 0; 0; 0x050800 *2; s8 "NUM1";

2; 4; 0; 0; 0x010400 *2; s8 "STR1";

7; 20; 1; 12; "windows-1252";

999; 0;
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:2156: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:2156"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:2156"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
DISPLAY DICTIONARY.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:2160: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:2160"
( $at_check_trace; pspp -O format=csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "warning: \`sys-file.sav': Ignoring string variable \`STR1' set as weighting variable.

Variable,Description,Position
num1,Format: F8.0,1
str1,Format: A4,2
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:2160"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_101
#AT_START_102
at_fn_group_banner 102 'sys-file-reader.at:2170' \
  "bad weighting variable index" "                   " 13
at_xfail=no
(
  $as_echo "102. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 2; 1; >>3<<; -1; 100.0; "01 Jan 11"; "20:53:52"; s64 ""; i8 0 *3;

2; 0; 0; 0; 0x050800 *2; s8 "NUM1";

2; 4; 0; 0; 0x010400 *2; s8 "STR1";

7; 20; 1; 12; "windows-1252";

999; 0;
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:2190: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:2190"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:2190"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:2193: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:2193"
( $at_check_trace; pspp -O format=csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "error: \`sys-file.sav' near offset 0x4c: Variable index 3 not in valid range 1...2.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/sys-file-reader.at:2193"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_102
#AT_START_103
at_fn_group_banner 103 'sys-file-reader.at:2199' \
  "variable index is long string contination" "      " 13
at_xfail=no
(
  $as_echo "103. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 3; 1; >>3<<; -1; 100.0; "01 Jan 11"; "20:53:52"; s64 ""; i8 0 *3;

2; 0; 0; 0; 0x050800 *2; s8 "NUM1";

2; 9; 0; 0; 0x010900 *2; s8 "STR1";
(2; -1; 0; 0; 0; 0; s8 "");

7; 20; 1; 12; "windows-1252";

999; 0;
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:2220: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:2220"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:2220"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:2223: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:2223"
( $at_check_trace; pspp -O format=csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "error: \`sys-file.sav' near offset 0x4c: Variable index 3 refers to long string continuation.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/sys-file-reader.at:2223"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_103
#AT_START_104
at_fn_group_banner 104 'sys-file-reader.at:2229' \
  "multiple documents records" "                     " 13
at_xfail=no
(
  $as_echo "104. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 2; 1; 0; -1; 100.0; "01 Jan 11"; "20:53:52"; s64 ""; i8 0 *3;

2; 0; 0; 0; 0x050800 *2; s8 "NUM1";

(6; 1; s80 "One line of documents") >>* 2<<;

999; 0;

7; 20; 1; 12; "windows-1252";

1.0;
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:2252: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:2252"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:2252"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:2256: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:2256"
( $at_check_trace; pspp -O format=csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "error: \`sys-file.sav' near offset 0x12c: Duplicate type 6 (document) record.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/sys-file-reader.at:2256"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_104
#AT_START_105
at_fn_group_banner 105 'sys-file-reader.at:2263' \
  "extension record too large" "                     " 13
at_xfail=no
(
  $as_echo "105. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 2; 1; 0; -1; 100.0; "01 Jan 11"; "20:53:52"; s64 ""; i8 0 *3;

2; 0; 0; 0; 0x050800 *2; s8 "NUM1";

7; 3; >>0xfffff000 * 2<<;
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:2277: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:2277"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:2277"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:2281: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:2281"
( $at_check_trace; pspp -O format=csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "error: \`sys-file.sav' near offset 0xd8: Record type 7 subtype 3 too large.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/sys-file-reader.at:2281"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_105
#AT_START_106
at_fn_group_banner 106 'sys-file-reader.at:2287' \
  "unknown extension record" "                       " 13
at_xfail=no
(
  $as_echo "106. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 1; 1; 0; -1; 100.0; "01 Jan 11"; "20:53:52"; s64 ""; i8 0 *3;

2; 0; 0; 0; 0x050800 *2; s8 "NUM1";

7; 30; 1; 1; i8 0;

7; 20; 1; 12; "windows-1252";

999; 0;
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:2307: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:2307"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:2307"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:2311: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:2311"
( $at_check_trace; pspp -O format=csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "\"warning: \`sys-file.sav' near offset 0xd8: Unrecognized record type 7, subtype 30.  For help, please send this file to ${PACKAGE_BUGREPORT} and mention that you were using ${PACKAGE_STRING}.\"
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:2311"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_106
#AT_START_107
at_fn_group_banner 107 'sys-file-reader.at:2317' \
  "bad machine integer info size" "                  " 13
at_xfail=no
(
  $as_echo "107. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 1; 1; 0; -1; 100.0; "01 Jan 11"; "20:53:52"; s64 ""; i8 0 *3;

2; 0; 0; 0; 0x050800 *2; s8 "NUM1";

7; 3; 4; >>9<<; 1; 2; 3; -1; 1; 1; ENDIAN; 1252; >>1234<<;

7; 20; 1; 12; "windows-1252";

999; 0;
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:2337: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:2337"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:2337"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:2341: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:2341"
( $at_check_trace; pspp -O format=csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "\"warning: \`sys-file.sav' near offset 0xd8: Record type 7, subtype 3 has bad count 9 (expected 8).\"
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:2341"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_107
#AT_START_108
at_fn_group_banner 108 'sys-file-reader.at:2347' \
  "bad machine integer info float format" "          " 13
at_xfail=no
(
  $as_echo "108. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 2; 1; 0; -1; 100.0; "01 Jan 11"; "20:53:52"; s64 ""; i8 0 *3;

2; 0; 0; 0; 0x050800 *2; s8 "NUM1";

7; 3; 4; 8; 1; 2; 3; -1; >>2<<; 1; ENDIAN; 1252;

7; 20; 1; 12; "windows-1252";

999; 0;
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:2367: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:2367"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:2367"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:2371: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:2371"
( $at_check_trace; pspp -O format=csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "error: \`sys-file.sav' near offset 0xd8: Floating-point representation indicated by system file (2) differs from expected (1).
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/sys-file-reader.at:2371"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_108
#AT_START_109
at_fn_group_banner 109 'sys-file-reader.at:2377' \
  "bad machine integer info endianness" "            " 13
at_xfail=no
(
  $as_echo "109. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 1; 1; 0; -1; 100.0; "01 Jan 11"; "20:53:52"; s64 ""; i8 0 *3;

2; 0; 0; 0; 0x050800 *2; s8 "NUM1";

7; 3; 4; 8; 1; 2; 3; -1; 1; 1; >>3<<; 1252;

7; 20; 1; 12; "windows-1252";

999; 0;
_ATEOF

for variant in "be 1" "le 2"; do
  set $variant
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:2398: sack --\$1 sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$1 sys-file.sack > sys-file.sav" "sys-file-reader.at:2398"
( $at_check_trace; sack --$1 sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:2398"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
DISPLAY DICTIONARY.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:2403: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:2403"
( $at_check_trace; pspp -O format=csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "warning: \`sys-file.sav' near offset 0xd8: Integer format indicated by system file (3) differs from expected ($2).

Variable,Description,Position
num1,Format: F8.0,1
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:2403"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_109
#AT_START_110
at_fn_group_banner 110 'sys-file-reader.at:2413' \
  "bad machine floating-point info size" "           " 13
at_xfail=no
(
  $as_echo "110. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 1; 1; 0; -1; 100.0; "01 Jan 11"; "20:53:52"; s64 ""; i8 0 *3;

2; 0; 0; 0; 0x050800 *2; s8 "NUM1";

7; 4; 8; >>4<<; SYSMIS; HIGHEST; LOWEST; 0.0;

7; 20; 1; 12; "windows-1252";

999; 0;
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:2433: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:2433"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:2433"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:2437: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:2437"
( $at_check_trace; pspp -O format=csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "\"warning: \`sys-file.sav' near offset 0xd8: Record type 7, subtype 4 has bad count 4 (expected 3).\"
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:2437"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_110
#AT_START_111
at_fn_group_banner 111 'sys-file-reader.at:2443' \
  "wrong special floating point values" "            " 13
at_xfail=no
(
  $as_echo "111. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 1; 1; 0; -1; 100.0; "01 Jan 11"; "20:53:52"; s64 ""; i8 0 *3;

2; 0; 0; 0; 0x050800 *2; s8 "NUM1";

7; 4; 8; 3; >>0.0<<; >>1.0<<; >>2.0<<;

7; 20; 1; 12; "windows-1252";

999; 0;
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:2463: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:2463"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:2463"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:2466: pspp -O format=csv sys-file.sps | sed 's/ (.*/.../'"
at_fn_check_prepare_notrace 'a shell pipeline' "sys-file-reader.at:2466"
( $at_check_trace; pspp -O format=csv sys-file.sps | sed 's/ (.*/.../'
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "\"warning: \`sys-file.sav' near offset 0xd8: File specifies unexpected value 0...

\"warning: \`sys-file.sav' near offset 0xd8: File specifies unexpected value 1...

\"warning: \`sys-file.sav' near offset 0xd8: File specifies unexpected value 2...
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:2466"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_111
#AT_START_112
at_fn_group_banner 112 'sys-file-reader.at:2476' \
  "bad mrsets name" "                                " 13
at_xfail=no
(
  $as_echo "112. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 16; 0; 0; 0; 100.0; "01 Jan 11"; "20:53:52"; s64 "PSPP synthetic test file";
i8 0 *3;

2; 0; 0; 0; 0x050800 *2; i8 0x82; i8 0xa0; s6 "";
2; 0; 0; 0; 0x050800 *2; s8 "B";
2; 0; 0; 0; 0x050800 *2; s8 "C";

2; 0; 0; 0; 0x050800 *2; s8 "D";
2; 0; 0; 0; 0x050800 *2; s8 "E";
2; 0; 0; 0; 0x050800 *2; s8 "F";
2; 0; 0; 0; 0x050800 *2; s8 "G";

2; 4; 0; 0; 0x010400 *2; s8 "H";
2; 4; 0; 0; 0x010400 *2; s8 "I";
2; 4; 0; 0; 0x010400 *2; s8 "J";

2; 0; 0; 0; 0x050800 *2; s8 "K";
2; 0; 0; 0; 0x050800 *2; s8 "L";
2; 0; 0; 0; 0x050800 *2; s8 "M";

2; 6; 0; 0; 0x010600 *2; s8 "N";
2; 6; 0; 0; 0x010600 *2; s8 "O";
2; 6; 0; 0; 0x010600 *2; s8 "P";

7; 3; 4; 8; 1; 2; 3; -1; 1; 1; ENDIAN; 932;

7; 7; 1;
COUNT(
  "$a=C 10 my mcgroup "; i8 0x82; i8 0xa0; " b c"; i8 10;
  "b=D2 55 0  g e f d"; i8 10;
  "$c=D4 "; i8 0x82; i8 0xcd; i8 0x82; i8 0xa2; " 10 mdgroup #2 h i j"; i8 10);

7; 19; 1;
COUNT(
  "$d=E 1 2 34 13 third mdgroup k l m"; i8 10;
  "e=E 11 6 choice 0  n o p"; i8 10);

7; 20; 1; 9; "shift_jis";

999; 0;
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:2537: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:2537"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:2537"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
MRSETS /DISPLAY NAME=ALL.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:2541: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:2541"
( $at_check_trace; pspp -O format=csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "warning: \`sys-file.sav': Invalid multiple response set name \`b'.

warning: \`sys-file.sav': Invalid multiple response set name \`e'.

Table: Multiple Response Sets
Name,Variables,Details
\$a,\"あ
b
c
\",\"Multiple category set
Label: my mcgroup
\"
\$c,\"h
i
j
\",\"Multiple dichotomy set
Label: mdgroup #2
Label source: Provided by user
Counted value: \`はい'
Category label source: Variable labels
\"
\$d,\"k
l
m
\",\"Multiple dichotomy set
Label: third mdgroup
Label source: Provided by user
Counted value: 34
Category label source: Value labels of counted value
\"
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:2541"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_112
#AT_START_113
at_fn_group_banner 113 'sys-file-reader.at:2576' \
  "missing space after C in mrsets" "                " 13
at_xfail=no
(
  $as_echo "113. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 1; 1; 0; -1; 100.0; "01 Jan 11"; "20:53:52"; s64 ""; i8 0 *3;

2; 0; 0; 0; 0x050800 *2; s8 "NUM1";

7; 7; 1; COUNT("$a=Cx");

7; 20; 1; 12; "windows-1252";

999; 0;
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:2595: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:2595"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:2595"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:2598: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:2598"
( $at_check_trace; pspp -O format=csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "warning: \`sys-file.sav' near offset 0xd8: Missing space following \`C' at offset 4 in MRSETS record.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:2598"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_113
#AT_START_114
at_fn_group_banner 114 'sys-file-reader.at:2604' \
  "missing space after E in mrsets" "                " 13
at_xfail=no
(
  $as_echo "114. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 1; 1; 0; -1; 100.0; "01 Jan 11"; "20:53:52"; s64 ""; i8 0 *3;

2; 0; 0; 0; 0x050800 *2; s8 "NUM1";

7; 7; 1; COUNT("$a=Ex");

7; 20; 1; 12; "windows-1252";

999; 0;
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:2623: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:2623"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:2623"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:2626: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:2626"
( $at_check_trace; pspp -O format=csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "warning: \`sys-file.sav' near offset 0xd8: Missing space following \`E' at offset 4 in MRSETS record.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:2626"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_114
#AT_START_115
at_fn_group_banner 115 'sys-file-reader.at:2632' \
  "missing label source in mrsets" "                 " 13
at_xfail=no
(
  $as_echo "115. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 1; 1; 0; -1; 100.0; "01 Jan 11"; "20:53:52"; s64 ""; i8 0 *3;

2; 0; 0; 0; 0x050800 *2; s8 "NUM1";

7; 7; 1; COUNT("$a=E ");

7; 20; 1; 12; "windows-1252";

999; 0;
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:2651: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:2651"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:2651"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:2654: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:2654"
( $at_check_trace; pspp -O format=csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "warning: \`sys-file.sav' near offset 0xd8: Missing label source value following \`E' at offset 5 in MRSETS record.

warning: \`sys-file.sav' near offset 0xd8: Expecting digit at offset 5 in MRSETS record.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:2654"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_115
#AT_START_116
at_fn_group_banner 116 'sys-file-reader.at:2662' \
  "unexpected label source in mrsets" "              " 13
at_xfail=no
(
  $as_echo "116. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 1; 1; 0; -1; 100.0; "01 Jan 11"; "20:53:52"; s64 ""; i8 0 *3;

2; 0; 0; 0; 0x050800 *2; s8 "NUM1";

7; 7; 1; COUNT("$a=E 2");

7; 20; 1; 12; "windows-1252";

999; 0;
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:2681: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:2681"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:2681"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:2684: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:2684"
( $at_check_trace; pspp -O format=csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "warning: \`sys-file.sav' near offset 0xd8: Unexpected label source value following \`E' at offset 7 in MRSETS record.

warning: \`sys-file.sav' near offset 0xd8: Expecting digit at offset 7 in MRSETS record.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:2684"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_116
#AT_START_117
at_fn_group_banner 117 'sys-file-reader.at:2692' \
  "bad type character in mrsets" "                   " 13
at_xfail=no
(
  $as_echo "117. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 1; 1; 0; -1; 100.0; "01 Jan 11"; "20:53:52"; s64 ""; i8 0 *3;

2; 0; 0; 0; 0x050800 *2; s8 "NUM1";

7; 7; 1; COUNT("$a=");

7; 20; 1; 12; "windows-1252";

999; 0;
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:2711: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:2711"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:2711"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:2714: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:2714"
( $at_check_trace; pspp -O format=csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "\"warning: \`sys-file.sav' near offset 0xd8: Missing \`C', \`D', or \`E' at offset 3 in MRSETS record.\"
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:2714"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_117
#AT_START_118
at_fn_group_banner 118 'sys-file-reader.at:2720' \
  "bad counted string length in mrsets" "            " 13
at_xfail=no
(
  $as_echo "118. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 1; 1; 0; -1; 100.0; "01 Jan 11"; "20:53:52"; s64 ""; i8 0 *3;

2; 0; 0; 0; 0x050800 *2; s8 "NUM1";

7; 7; 1; COUNT("$a=Dx");

7; 20; 1; 12; "windows-1252";

999; 0;
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:2739: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:2739"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:2739"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:2742: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:2742"
( $at_check_trace; pspp -O format=csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "warning: \`sys-file.sav' near offset 0xd8: Expecting digit at offset 4 in MRSETS record.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:2742"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_118
#AT_START_119
at_fn_group_banner 119 'sys-file-reader.at:2748' \
  "missing space in counted string in mrsets" "      " 13
at_xfail=no
(
  $as_echo "119. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 1; 1; 0; -1; 100.0; "01 Jan 11"; "20:53:52"; s64 ""; i8 0 *3;

2; 0; 0; 0; 0x050800 *2; s8 "NUM1";

7; 7; 1; COUNT("$a=D1x");

7; 20; 1; 12; "windows-1252";

999; 0;
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:2767: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:2767"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:2767"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:2770: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:2770"
( $at_check_trace; pspp -O format=csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "warning: \`sys-file.sav' near offset 0xd8: Expecting space at offset 5 in MRSETS record.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:2770"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_119
#AT_START_120
at_fn_group_banner 120 'sys-file-reader.at:2776' \
  "counted string too long in mrsets" "              " 13
at_xfail=no
(
  $as_echo "120. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 1; 1; 0; -1; 100.0; "01 Jan 11"; "20:53:52"; s64 ""; i8 0 *3;

2; 0; 0; 0; 0x050800 *2; s8 "NUM1";

7; 7; 1; COUNT("$a=D4 abc");

7; 20; 1; 12; "windows-1252";

999; 0;
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:2795: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:2795"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:2795"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:2798: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:2798"
( $at_check_trace; pspp -O format=csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "warning: \`sys-file.sav' near offset 0xd8: 4-byte string starting at offset 6 exceeds record length 9.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:2798"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_120
#AT_START_121
at_fn_group_banner 121 'sys-file-reader.at:2804' \
  "missing space after counted string in mrsets" "   " 13
at_xfail=no
(
  $as_echo "121. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 1; 1; 0; -1; 100.0; "01 Jan 11"; "20:53:52"; s64 ""; i8 0 *3;

2; 0; 0; 0; 0x050800 *2; s8 "NUM1";

7; 7; 1; COUNT("$a=D3 abcx");

7; 20; 1; 12; "windows-1252";

999; 0;
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:2823: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:2823"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:2823"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:2826: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:2826"
( $at_check_trace; pspp -O format=csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "warning: \`sys-file.sav' near offset 0xd8: Expecting space at offset 9 following 3-byte string.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:2826"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_121
#AT_START_122
at_fn_group_banner 122 'sys-file-reader.at:2832' \
  "missing newline after variable name in mrsets" "  " 13
at_xfail=no
(
  $as_echo "122. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 1; 1; 0; -1; 100.0; "01 Jan 11"; "20:53:52"; s64 ""; i8 0 *3;

2; 0; 0; 0; 0x050800 *2; s8 "NUM1";

7; 7; 1; COUNT("$a=C 0  NUM1");

7; 20; 1; 12; "windows-1252";

999; 0;
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:2851: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:2851"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:2851"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:2854: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:2854"
( $at_check_trace; pspp -O format=csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "warning: \`sys-file.sav' near offset 0xd8: Missing new-line parsing variable names at offset 13 in MRSETS record.

warning: \`sys-file.sav': MRSET \$a has only one variable.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:2854"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_122
#AT_START_123
at_fn_group_banner 123 'sys-file-reader.at:2862' \
  "duplicate variable name in mrsets" "              " 13
at_xfail=no
(
  $as_echo "123. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 1; 1; 0; -1; 100.0; "01 Jan 11"; "20:53:52"; s64 ""; i8 0 *3;

2; 0; 0; 0; 0x050800 *2; s8 "NUM1";

7; 7; 1; COUNT("$a=C 0  NUM1 NUM1"; i8 10);

7; 20; 1; 12; "windows-1252";

999; 0;
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:2881: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:2881"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:2881"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:2884: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:2884"
( $at_check_trace; pspp -O format=csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "warning: \`sys-file.sav': MRSET \$a contains duplicate variable name NUM1.

warning: \`sys-file.sav': MRSET \$a has only one variable.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:2884"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_123
#AT_START_124
at_fn_group_banner 124 'sys-file-reader.at:2892' \
  "mixed variable types in mrsets" "                 " 13
at_xfail=no
(
  $as_echo "124. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 2; 1; 0; -1; 100.0; "01 Jan 11"; "20:53:52"; s64 ""; i8 0 *3;

2; 0; 0; 0; 0x050800 *2; s8 "NUM1";
2; 8; 0; 0; 0x010800 *2; s8 "STR1";

7; 7; 1; COUNT("$a=C 0  NUM1 STR1"; i8 10);

7; 20; 1; 12; "windows-1252";

999; 0;
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:2912: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:2912"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:2912"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:2915: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:2915"
( $at_check_trace; pspp -O format=csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "warning: \`sys-file.sav': MRSET \$a contains both string and numeric variables.

warning: \`sys-file.sav': MRSET \$a has only one variable.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:2915"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_124
#AT_START_125
at_fn_group_banner 125 'sys-file-reader.at:2923' \
  "missing newline after variable name in mrsets" "  " 13
at_xfail=no
(
  $as_echo "125. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 1; 1; 0; -1; 100.0; "01 Jan 11"; "20:53:52"; s64 ""; i8 0 *3;

2; 0; 0; 0; 0x050800 *2; s8 "NUM1";

7; 7; 1; COUNT("$a=C 0  NUM1"; i8 10);

7; 20; 1; 12; "windows-1252";

999; 0;
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:2942: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:2942"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:2942"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:2945: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:2945"
( $at_check_trace; pspp -O format=csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "warning: \`sys-file.sav': MRSET \$a has only one variable.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:2945"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_125
#AT_START_126
at_fn_group_banner 126 'sys-file-reader.at:2951' \
  "zero or one variable in mrset" "                  " 13
at_xfail=no
(
  $as_echo "126. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 1; 1; 0; -1; 100.0; "01 Jan 11"; "20:53:52"; s64 ""; i8 0 *3;

2; 0; 0; 0; 0x050800 *2; s8 "NUM1";

7; 7; 1; COUNT("$a=C 0  NUM1"; i8 10; "$b=C 0  "; i8 10);

7; 20; 1; 12; "windows-1252";

999; 0;
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:2970: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:2970"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:2970"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:2973: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:2973"
( $at_check_trace; pspp -O format=csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "warning: \`sys-file.sav': MRSET \$a has only one variable.

warning: \`sys-file.sav': MRSET \$b has no variables.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:2973"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_126
#AT_START_127
at_fn_group_banner 127 'sys-file-reader.at:2981' \
  "wrong display parameter size" "                   " 13
at_xfail=no
(
  $as_echo "127. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 1; 1; 0; -1; 100.0; "01 Jan 11"; "20:53:52"; s64 ""; i8 0 *3;

2; 0; 0; 0; 0x050800 *2; s8 "NUM1";

7; 11; >>8<<; 2; 1.0; 1.0;

7; 20; 1; 12; "windows-1252";

999; 0;
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:3001: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:3001"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:3001"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:3004: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:3004"
( $at_check_trace; pspp -O format=csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "\"warning: \`sys-file.sav' near offset 0xd8: Record type 7, subtype 11 has bad size 8 (expected 4).\"
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:3004"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_127
#AT_START_128
at_fn_group_banner 128 'sys-file-reader.at:3010' \
  "wrong display parameter count" "                  " 13
at_xfail=no
(
  $as_echo "128. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 1; 1; 0; -1; 100.0; "01 Jan 11"; "20:53:52"; s64 ""; i8 0 *3;

2; 0; 0; 0; 0x050800 *2; s8 "NUM1";

7; 11; 4; >>4<<; 1; 1; 2; 2;

7; 20; 1; 12; "windows-1252";

999; 0;
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:3030: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:3030"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:3030"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:3033: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:3033"
( $at_check_trace; pspp -O format=csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "warning: \`sys-file.sav' near offset 0xd8: Extension 11 has bad count 4 (for 1 variables).
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:3033"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_128
#AT_START_129
at_fn_group_banner 129 'sys-file-reader.at:3039' \
  "wrong display measurement level" "                " 13
at_xfail=no
(
  $as_echo "129. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 1; 1; 0; -1; 100.0; "01 Jan 11"; "20:53:52"; s64 ""; i8 0 *3;

2; 0; 0; 0; 0x050800 *2; s8 "NUM1";

7; 11; 4; 2; >>4<<; 0;

7; 20; 1; 12; "windows-1252";

999; 0;
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:3059: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:3059"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:3059"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:3062: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:3062"
( $at_check_trace; pspp -O format=csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "warning: \`sys-file.sav' near offset 0xd8: Invalid variable display parameters for variable 0 (NUM1).  Default parameters substituted.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:3062"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_129
#AT_START_130
at_fn_group_banner 130 'sys-file-reader.at:3068' \
  "wrong display alignment" "                        " 13
at_xfail=no
(
  $as_echo "130. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 1; 1; 0; -1; 100.0; "01 Jan 11"; "20:53:52"; s64 ""; i8 0 *3;

2; 0; 0; 0; 0x050800 *2; s8 "NUM1";

7; 11; 4; 2; 1; >>-1<<;

7; 20; 1; 12; "windows-1252";

999; 0;
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:3088: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:3088"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:3088"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:3091: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:3091"
( $at_check_trace; pspp -O format=csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "warning: \`sys-file.sav' near offset 0xd8: Invalid variable display parameters for variable 0 (NUM1).  Default parameters substituted.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:3091"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_130
#AT_START_131
at_fn_group_banner 131 'sys-file-reader.at:3097' \
  "bad variable name in variable/value pair" "       " 13
at_xfail=no
(
  $as_echo "131. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 1; 1; 0; -1; 100.0; "01 Jan 11"; "20:53:52"; s64 ""; i8 0 *3;

2; 0; 0; 0; 0x050800 *2; s8 "LONGVARI";

7; 13; 1; COUNT (>>"xyzzy"<<);

7; 20; 1; 12; "windows-1252";

999; 0;
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:3117: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:3117"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:3117"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:3121: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:3121"
( $at_check_trace; pspp -O format=csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "warning: \`sys-file.sav' near offset 0xde: Dictionary record refers to unknown variable xyzzy.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:3121"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_131
#AT_START_132
at_fn_group_banner 132 'sys-file-reader.at:3127' \
  "duplicate long variable name" "                   " 13
at_xfail=no
(
  $as_echo "132. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 4; 1; 0; -1; 100.0; "01 Jan 11"; "20:53:52"; s64 ""; i8 0 *3;

2; 0; 0; 0; 0x050800 *2; s8 "LONGVARI";
2; 0; 0; 0; 0x050800 *2; s8 "LONGVA_A";
2; 0; 0; 0; 0x050800 *2; s8 "LONGVA_B";
2; 0; 0; 0; 0x050800 *2; s8 "LONGVA_C";

7; 13; 1; COUNT (
"LONGVARI=_Invalid"; i8 9;
"LONGVARI=$Invalid"; i8 9;
"LONGVARI=#Invalid"; i8 9;
"LONGVA_A=LongVariableName"; i8 9;
"LONGVA_B=LONGVARIABLENAME"; i8 9;
);

7; 20; 1; 12; "windows-1252";

999; 0;
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:3156: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:3156"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:3156"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:3160: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:3160"
( $at_check_trace; pspp -O format=csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "warning: \`sys-file.sav' near offset 0x138: Long variable mapping from LONGVARI to invalid variable name \`_Invalid'.

warning: \`sys-file.sav' near offset 0x138: Long variable mapping from LONGVARI to invalid variable name \`\$Invalid'.

warning: \`sys-file.sav' near offset 0x138: Long variable mapping from LONGVARI to invalid variable name \`#Invalid'.

warning: \`sys-file.sav' near offset 0x138: Duplicate long variable name \`LONGVARIABLENAME'.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:3160"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_132
#AT_START_133
at_fn_group_banner 133 'sys-file-reader.at:3172' \
  "bad very long string length" "                    " 13
at_xfail=no
(
  $as_echo "133. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 1; 1; 0; -1; 100.0; "01 Jan 11"; "20:53:52"; s64 ""; i8 0 *3;

2; 0; 0; 0; 0x050800 *2; s8 "NUM1";

7; 14; 1; COUNT (
"NUM1=00000"; i8 0; i8 9;
"NUM1=00255"; i8 0; i8 9;
"NUM1=00256"; i8 0; i8 9;
);

7; 20; 1; 12; "windows-1252";

999; 0;
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:3196: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:3196"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:3196"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:3200: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:3200"
( $at_check_trace; pspp -O format=csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "warning: \`sys-file.sav' near offset 0xd8: NUM1 listed as string of invalid length 00000 in very long string record.

\"warning: \`sys-file.sav' near offset 0xd8: NUM1 listed in very long string record with width 00255, which requires only one segment.\"

error: \`sys-file.sav' near offset 0xd8: Very long string NUM1 overflows dictionary.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/sys-file-reader.at:3200"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_133
#AT_START_134
at_fn_group_banner 134 'sys-file-reader.at:3210' \
  "bad very long string segment width" "             " 13
at_xfail=no
(
  $as_echo "134. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 1; 1; 0; -1; 100.0; "01 Jan 11"; "20:53:52"; s64 ""; i8 0 *3;

2; 255; 0; 0; 0x01ff00 *2; s8 "STR1";
(2; -1; 0; 0; 0; 0; s8 "") * 31;
2; >>9<<; 0; 0; 0x010900 *2; s8 "STR1_A";
>>2; -1; 0; 0; 0; 0; s8 "";<<

7; 14; 1; COUNT (
"STR1=00256"; i8 0; i8 9;
);

7; 20; 1; 12; "windows-1252";

999; 0;
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:3235: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:3235"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:3235"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:3239: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:3239"
( $at_check_trace; pspp -O format=csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "error: \`sys-file.sav' near offset 0x4f8: Very long string with width 256 has segment 1 of width 9 (expected 4).
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/sys-file-reader.at:3239"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_134
#AT_START_135
at_fn_group_banner 135 'sys-file-reader.at:3245' \
  "too many value labels" "                          " 13
at_xfail=no
(
  $as_echo "135. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 1; 1; 0; -1; 100.0; "01 Jan 11"; "20:53:52"; s64 ""; i8 0 *3;

2; 0; 0; 0; 0x050800 *2; s8 "NUM1";
3; >>0x7fffffff<<;
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:3257: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:3257"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:3257"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:3261: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:3261"
( $at_check_trace; pspp -O format=csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "error: \`sys-file.sav' near offset 0xd4: Invalid number of labels 2147483647.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/sys-file-reader.at:3261"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_135
#AT_START_136
at_fn_group_banner 136 'sys-file-reader.at:3267' \
  "missing type 4 record" "                          " 13
at_xfail=no
(
  $as_echo "136. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 1; 1; 0; -1; 100.0; "01 Jan 11"; "20:53:52"; s64 ""; i8 0 *3;

2; 0; 0; 0; 0x050800 *2; s8 "NUM1";

3; 1; 1.0; i8 3; s7 "one";

7; 20; 1; 12; "windows-1252";

>>999; 0<<;
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:3287: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:3287"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:3287"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:3291: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:3291"
( $at_check_trace; pspp -O format=csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "error: \`sys-file.sav' near offset 0xe8: Variable index record (type 4) does not immediately follow value label record (type 3) as it should.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/sys-file-reader.at:3291"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_136
#AT_START_137
at_fn_group_banner 137 'sys-file-reader.at:3297' \
  "value label with no associated variables" "       " 13
at_xfail=no
(
  $as_echo "137. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 1; 1; 0; -1; 100.0; "01 Jan 11"; "20:53:52"; s64 ""; i8 0 *3;

2; 0; 0; 0; 0x050800 *2; s8 "NUM1";

3; 1; 1.0; i8 3; s7 "one"; 4; >>0<<;
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:3311: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:3311"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:3311"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:3315: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:3315"
( $at_check_trace; pspp -O format=csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "error: \`sys-file.sav' near offset 0xec: Number of variables associated with a value label (0) is not between 1 and the number of variables (1).
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/sys-file-reader.at:3315"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_137
#AT_START_138
at_fn_group_banner 138 'sys-file-reader.at:3321' \
  "type 4 record names long string variable" "       " 13
at_xfail=no
(
  $as_echo "138. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 2; 1; 0; -1; 100.0; "01 Jan 11"; "20:53:52"; s64 ""; i8 0 *3;

2; 9; 0; 0; 0x010900 *2; s8 "STR1";
2; -1; 0; 0; 0; 0; s8 "";

3; 1; s8 "xyzzy"; i8 3; s7 "one"; 4; 1; >>1<<;

7; 20; 1; 12; "windows-1252";

999; 0;
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:3342: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:3342"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:3342"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:3346: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:3346"
( $at_check_trace; pspp -O format=csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "error: \`sys-file.sav' near offset 0xf4: Value labels may not be added to long string variables (e.g. STR1) using records types 3 and 4.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/sys-file-reader.at:3346"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_138
#AT_START_139
at_fn_group_banner 139 'sys-file-reader.at:3352' \
  "variables for value label must all be same type" "" 13
at_xfail=no
(
  $as_echo "139. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 2; 1; 0; -1; 100.0; "01 Jan 11"; "20:53:52"; s64 ""; i8 0 *3;

2; 6; 0; 0; 0x010600 *2; s8 "STR1";
2; 0; 0; 0; 0x050800 *2; s8 "NUM1";

3; 1; s8 "xyzzy"; i8 3; s7 "one"; 4; 2; >>1; 2<<;

7; 20; 1; 12; "windows-1252";

999; 0;
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:3373: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:3373"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:3373"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:3377: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:3377"
( $at_check_trace; pspp -O format=csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "\"error: \`sys-file.sav' near offset 0xf4: Variables associated with value label are not all of identical type.  Variable STR1 is string, but variable NUM1 is numeric.\"
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/sys-file-reader.at:3377"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_139
#AT_START_140
at_fn_group_banner 140 'sys-file-reader.at:3383' \
  "duplicate value labels type" "                    " 13
at_xfail=no
(
  $as_echo "140. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 2; 1; 0; -1; 100.0; "01 Jan 11"; "20:53:52"; s64 ""; i8 0 *3;

2; 6; 0; 0; 0x010600 *2; s8 "STR1";
2; 0; 0; 0; 0x050800 *2; s8 "NUM1";

3; 1; s8 "xyzzy"; i8 3; s7 "one"; 4; 2; >>1; 1<<;
3; 1; 1.0; i8 3; s7 "one"; 4; 2; >>2; 2<<;

7; 20; 1; 12; "windows-1252";

999; 0;
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:3405: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:3405"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:3405"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:3409: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:3409"
( $at_check_trace; pspp -O format=csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "warning: \`sys-file.sav' near offset 0xf4: Duplicate value label for \`xyzzy ' on STR1.

warning: \`sys-file.sav' near offset 0x11c: Duplicate value label for 1 on NUM1.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:3409"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_140
#AT_START_141
at_fn_group_banner 141 'sys-file-reader.at:3417' \
  "missing attribute value" "                        " 13
at_xfail=no
(
  $as_echo "141. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 1; 1; 0; -1; 100.0; "01 Jan 11"; "20:53:52"; s64 ""; i8 0 *3;

2; 0; 0; 0; 0x050800 *2; s8 "FIRSTVAR";

7; 17; 1; COUNT (
"Attr1("
);

7; 18; 1; COUNT (
"FIRSTVAR:";
  "fred('23'"; i8 10
);

7; 20; 1; 12; "windows-1252";

999; 0;
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:3445: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:3445"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:3445"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:3449: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:3449"
( $at_check_trace; pspp -O format=csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "warning: \`sys-file.sav' near offset 0xde: Error parsing attribute value Attr1[1].

warning: \`sys-file.sav' near offset 0x101: Error parsing attribute value fred[2].
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:3449"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_141
#AT_START_142
at_fn_group_banner 142 'sys-file-reader.at:3457' \
  "unquoted attribute value" "                       " 13
at_xfail=no
(
  $as_echo "142. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 1; 1; 0; -1; 100.0; "01 Jan 11"; "20:53:52"; s64 ""; i8 0 *3;

2; 0; 0; 0; 0x050800 *2; s8 "FIRSTVAR";

7; 17; 1; COUNT (
"Attr1(value"; i8 10;
")"
);

7; 18; 1; COUNT (
"FIRSTVAR:";
  "fred(23"; i8 10; ")"
);

7; 20; 1; 12; "windows-1252";

999; 0;
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:3486: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:3486"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:3486"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:3490: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:3490"
( $at_check_trace; pspp -O format=csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "warning: \`sys-file.sav' near offset 0xe4: Attribute value Attr1[1] is not quoted: value.

warning: \`sys-file.sav' near offset 0x106: Attribute value fred[1] is not quoted: 23.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:3490"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_142
#AT_START_143
at_fn_group_banner 143 'sys-file-reader.at:3498' \
  "duplicate attribute name" "                       " 13
at_xfail=no
(
  $as_echo "143. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 1; 1; 0; -1; 100.0; "01 Jan 11"; "20:53:52"; s64 ""; i8 0 *3;

2; 0; 0; 0; 0x050800 *2; s8 "FIRSTVAR";

7; 17; 1; COUNT (
"Attr1('value'"; i8 10; ")";
"Attr1('value'"; i8 10; ")";
);

7; 18; 1; COUNT (
"FIRSTVAR:";
  "fred('23'"; i8 10; ")";
  "fred('23'"; i8 10; ")";
);

7; 20; 1; 12; "windows-1252";

999; 0;
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:3528: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:3528"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:3528"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:3532: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:3532"
( $at_check_trace; pspp -O format=csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "warning: \`sys-file.sav' near offset 0xf6: Duplicate attribute Attr1.

warning: \`sys-file.sav' near offset 0x125: Duplicate attribute fred.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:3532"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_143
#AT_START_144
at_fn_group_banner 144 'sys-file-reader.at:3540' \
  "bad variable name in long string value label" "   " 13
at_xfail=no
(
  $as_echo "144. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 3; 1; 0; -1; 100.0; "01 Jan 11"; "20:53:52"; s64 ""; i8 0 *3;

2; 0; 0; 0; 0x050800 *2; s8 "NUM1";
2; 14; 0; 0; 0x010e00 *2; s8 "STR14";
2; -1; 0; 0; 0; 0; s8 "";

7; 21; 1; COUNT (
COUNT(>>"STR9"<<); 9;
1; COUNT("RSTUVWXYZ"); COUNT("value label for `RSTUVWXYZ'");

COUNT(>>"NUM1"<<); 0;
1; COUNT("xyz"); COUNT("value label for 1.0");

COUNT("STR14"); >>9<<;
1; COUNT("RSTUVWXYZ"); COUNT("value label for `RSTUVWXYZ'");

COUNT("STR14"); 14;
1; COUNT(>>"RSTUVWXYZ"<<); COUNT("value label for `RSTUVWXYZ'");

COUNT("STR14"); 14; 2;
COUNT("abcdefghijklmn"); COUNT("value label for `abcdefghijklmn'");
>>COUNT("abcdefghijklmn"); COUNT("another value label for `abcdefghijklmn'")<<;
);

7; 20; 1; 12; "windows-1252";

999; 0;
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:3582: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:3582"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:3582"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:3585: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:3585"
( $at_check_trace; pspp -O format=csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "warning: \`sys-file.sav' near offset 0x128: Ignoring long string value label record for unknown variable STR9.

warning: \`sys-file.sav' near offset 0x164: Ignoring long string value label record for numeric variable NUM1.

warning: \`sys-file.sav' near offset 0x193: Ignoring long string value label record for variable STR14 because the record's width (9) does not match the variable's width (14).

\"warning: \`sys-file.sav' near offset 0x1d4: Ignoring long string value label 0 for variable str14, with width 14, that has bad value width 9.\"

warning: \`sys-file.sav' near offset 0x259: Duplicate value label for \`abcdefghijklmn' on str14.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:3585"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_144
#AT_START_145
at_fn_group_banner 145 'sys-file-reader.at:3599' \
  "fewer data records than indicated by file header" "" 13
at_xfail=no
(
  $as_echo "145. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 2; 0; 0; >>5<<; 100.0; "01 Jan 11"; "20:53:52"; s64 ""; i8 0 *3;

2; 0; 0; 0; 0x050800 *2; s8 "NUM1";
2; 0; 0; 0; 0x050800 *2; s8 "NUM2";

7; 20; 1; 12; "windows-1252";

999; 0;
1.0; 2.0;
3.0; 4.0;
5.0; 6.0;
7.0; 8.0;
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:3622: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:3622"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:3622"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
LIST.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:3626: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:3626"
( $at_check_trace; pspp -O format=csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "error: Error reading case from file \`sys-file.sav'.

Table: Data List
num1,num2
1,2
3,4
5,6
7,8
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/sys-file-reader.at:3626"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_145
#AT_START_146
at_fn_group_banner 146 'sys-file-reader.at:3639' \
  "partial data record between variables" "          " 13
at_xfail=no
(
  $as_echo "146. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 2; 0; 0; -1; 100.0; "01 Jan 11"; "20:53:52"; s64 ""; i8 0 *3;

2; 0; 0; 0; 0x050800 *2; s8 "NUM1";
2; 0; 0; 0; 0x050800 *2; s8 "NUM2";

7; 20; 1; 12; "windows-1252";

999; 0;
1.0; 2.0;
3.0;
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:3659: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:3659"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:3659"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
LIST.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:3663: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:3663"
( $at_check_trace; pspp -O format=csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "error: \`sys-file.sav' near offset 0x12c: File ends in partial case.

Table: Data List
num1,num2
1,2
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/sys-file-reader.at:3663"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_146
#AT_START_147
at_fn_group_banner 147 'sys-file-reader.at:3673' \
  "partial data record within long string" "         " 13
at_xfail=no
(
  $as_echo "147. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 2; 0; 0; -1; 100.0; "01 Jan 11"; "20:53:52"; s64 ""; i8 0 *3;

2; 14; 0; 0; 0x010e00 *2; s8 "STR14";
2; -1; 0; 0; 0; 0; s8 "";

7; 20; 1; 12; "windows-1252";

999; 0;
s14 "one data item";
s8 "partial";
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:3693: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:3693"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:3693"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
LIST.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:3697: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:3697"
( $at_check_trace; pspp -O format=csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "error: \`sys-file.sav' near offset 0x12a: Unexpected end of file.

Table: Data List
str14
one data item 
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/sys-file-reader.at:3697"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_147
#AT_START_148
at_fn_group_banner 148 'sys-file-reader.at:3707' \
  "partial compressed data record" "                 " 13
at_xfail=no
(
  $as_echo "148. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL2"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 6; 1; 0; -1; 100.0; "01 Jan 11"; "20:53:52"; s64 "PSPP synthetic test file";
i8 0 *3;

2; 0; 0; 0; 0x050800 *2; s8 "NUM1";
2; 0; 0; 0; 0x050800 *2; s8 "NUM2";

2; 4; 0; 0; 0x010400 *2; s8 "STR4";
2; 8; 0; 0; 0x010800 *2; s8 "STR8";
2; 15; 0; 0; 0x010f00 *2; s8 "STR15";
2; -1; 0; 0; 0; 0; s8 "";

7; 20; 1; 12; "windows-1252";

999; 0;

i8 1 100 254 253 254 253; i8 255 251; "abcdefgh"; s8 "0123";
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:3741: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:3741"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:3741"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
LIST.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:3745: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:3745"
( $at_check_trace; pspp -O format=csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "error: \`sys-file.sav' near offset 0x1ac: File ends in partial case.

Table: Data List
num1,num2,str4,str8,str15
-99,0,,abcdefgh,0123   
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/sys-file-reader.at:3745"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_148
#AT_START_149
at_fn_group_banner 149 'sys-file-reader.at:3755' \
  "zcompressed data - bad zheader_ofs" "             " 13
at_xfail=no
(
  $as_echo "149. $at_setup_line: testing $at_desc ..."
  $at_traceon


zcompressed_sack | sed 's/.*zheader_ofs.*/>>i64 0<<;/' > sys-file.sack
for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:3759: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:3759"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:3759"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:3762: pspp -o pspp.csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:3762"
( $at_check_trace; pspp -o pspp.csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "error: \`sys-file.sav' near offset 0x194: Wrong ZLIB data header offset 0 (expected 0x194).
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/sys-file-reader.at:3762"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_149
#AT_START_150
at_fn_group_banner 150 'sys-file-reader.at:3767' \
  "zcompressed data - bad ztrailer_ofs" "            " 13
at_xfail=no
(
  $as_echo "150. $at_setup_line: testing $at_desc ..."
  $at_traceon


zcompressed_sack | sed 's/.*ztrailer_ofs.*/>>i64 0<<;/' > sys-file.sack
for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:3771: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:3771"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:3771"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:3774: pspp -o pspp.csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:3774"
( $at_check_trace; pspp -o pspp.csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "error: \`sys-file.sav' near offset 0x194: Impossible ZLIB trailer offset 0x0.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/sys-file-reader.at:3774"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_150
#AT_START_151
at_fn_group_banner 151 'sys-file-reader.at:3781' \
  "zcompressed data - invalid ztrailer_len" "        " 13
at_xfail=no
(
  $as_echo "151. $at_setup_line: testing $at_desc ..."
  $at_traceon


zcompressed_sack | sed 's/.*ztrailer_len.*/>>i64 12<<;/' > sys-file.sack
for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:3785: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:3785"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:3785"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:3788: pspp -o pspp.csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:3788"
( $at_check_trace; pspp -o pspp.csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "error: \`sys-file.sav' near offset 0x194: Invalid ZLIB trailer length 12.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/sys-file-reader.at:3788"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_151
#AT_START_152
at_fn_group_banner 152 'sys-file-reader.at:3794' \
  "zcompressed data - wrong ztrailer_len" "          " 13
at_xfail=no
(
  $as_echo "152. $at_setup_line: testing $at_desc ..."
  $at_traceon


zcompressed_sack | sed 's/.*ztrailer_len.*/>>i64 72<<;/' > sys-file.sack
for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:3798: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:3798"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:3798"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:3801: pspp -o pspp.csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:3801"
( $at_check_trace; pspp -o pspp.csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "warning: \`sys-file.sav' near offset 0x1ac: End of ZLIB trailer (0x24d) is not file size (0x235).
error: \`sys-file.sav' near offset 0x21d: 72-byte ZLIB trailer specifies 1 data blocks (expected 2).
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/sys-file-reader.at:3801"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_152
#AT_START_153
at_fn_group_banner 153 'sys-file-reader.at:3807' \
  "zcompressed data - wrong ztrailer_bias" "         " 13
at_xfail=no
(
  $as_echo "153. $at_setup_line: testing $at_desc ..."
  $at_traceon


zcompressed_sack | sed 's/.*ztrailer_bias.*/>>i64 0<<;/' > sys-file.sack
for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:3811: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:3811"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:3811"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:3814: pspp -o pspp.csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:3814"
( $at_check_trace; pspp -o pspp.csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "error: \`sys-file.sav' near offset 0x20d: ZLIB trailer bias (0) differs from file header bias (100.00).
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/sys-file-reader.at:3814"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_153
#AT_START_154
at_fn_group_banner 154 'sys-file-reader.at:3819' \
  "zcompressed data - wrong ztrailer_zero" "         " 13
at_xfail=no
(
  $as_echo "154. $at_setup_line: testing $at_desc ..."
  $at_traceon


zcompressed_sack | sed 's/.*ztrailer_zero.*/>>i64 100<<;/' > sys-file.sack
for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:3823: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:3823"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:3823"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:3826: pspp -o pspp.csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:3826"
( $at_check_trace; pspp -o pspp.csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "warning: \`sys-file.sav' near offset 0x215: ZLIB trailer \"zero\" field has nonzero value 100.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:3826"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_154
#AT_START_155
at_fn_group_banner 155 'sys-file-reader.at:3831' \
  "zcompressed data - wrong block_size" "            " 13
at_xfail=no
(
  $as_echo "155. $at_setup_line: testing $at_desc ..."
  $at_traceon


zcompressed_sack | sed 's/.*block_size.*/>>0x1000<<;/' > sys-file.sack
for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:3835: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:3835"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:3835"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:3838: pspp -o pspp.csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:3838"
( $at_check_trace; pspp -o pspp.csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "warning: \`sys-file.sav' near offset 0x219: ZLIB trailer specifies unexpected 4096-byte block size.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:3838"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_155
#AT_START_156
at_fn_group_banner 156 'sys-file-reader.at:3843' \
  "zcompressed data - wrong n_blocks" "              " 13
at_xfail=no
(
  $as_echo "156. $at_setup_line: testing $at_desc ..."
  $at_traceon


zcompressed_sack | sed 's/.*n_blocks.*/>>2<<;/' > sys-file.sack
for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:3847: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:3847"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:3847"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:3850: pspp -o pspp.csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:3850"
( $at_check_trace; pspp -o pspp.csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "error: \`sys-file.sav' near offset 0x21d: 48-byte ZLIB trailer specifies 2 data blocks (expected 1).
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/sys-file-reader.at:3850"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_156
#AT_START_157
at_fn_group_banner 157 'sys-file-reader.at:3855' \
  "zcompressed data - wrong uncompressed_ofs" "      " 13
at_xfail=no
(
  $as_echo "157. $at_setup_line: testing $at_desc ..."
  $at_traceon


zcompressed_sack | sed 's/.*uncompressed_ofs.*/i64 >>0x177<<;/' > sys-file.sack
for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:3859: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:3859"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:3859"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:3862: pspp -o pspp.csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:3862"
( $at_check_trace; pspp -o pspp.csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "error: \`sys-file.sav' near offset 0x21d: ZLIB block descriptor 0 reported uncompressed data offset 0x177, when 0x194 was expected.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/sys-file-reader.at:3862"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_157
#AT_START_158
at_fn_group_banner 158 'sys-file-reader.at:3867' \
  "zcompressed data - wrong compressed_ofs" "        " 13
at_xfail=no
(
  $as_echo "158. $at_setup_line: testing $at_desc ..."
  $at_traceon


zcompressed_sack | sed 's/.*# compressed_ofs.*/i64 >>0x191<<;/' > sys-file.sack
for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:3871: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:3871"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:3871"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:3874: pspp -o pspp.csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:3874"
( $at_check_trace; pspp -o pspp.csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "error: \`sys-file.sav' near offset 0x21d: ZLIB block descriptor 0 reported compressed data offset 0x191, when 0x1ac was expected.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/sys-file-reader.at:3874"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_158
#AT_START_159
at_fn_group_banner 159 'sys-file-reader.at:3879' \
  "zcompressed data - compressed sizes don't add up" "" 13
at_xfail=no
(
  $as_echo "159. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sys-file.sack <<'_ATEOF'
"$FL3"; s60 "$(#) SPSS DATA FILE PSPP synthetic test file";
2; 6; 2; 0; -1; 100.0; "01 Jan 11"; "20:53:52"; s64 "PSPP synthetic test file";
i8 0 *3;

2; 0; 0; 0; 0x050800 *2; s8 "NUM1";
2; 0; 0; 0; 0x050800 *2; s8 "NUM2";

2; 4; 0; 0; 0x010400 *2; s8 "STR4";
2; 8; 0; 0; 0x010800 *2; s8 "STR8";
2; 15; 0; 0; 0x010f00 *2; s8 "STR15";
2; -1; 0; 0; 0; 0; s8 "";

7; 20; 1; 12; "windows-1252";

999; 0;

i64 0x194;    # zheader_ofs
i64 0x1ac;    # ztrailer_ofs
i64 72;       # ztrailer_len


i64 -100;     # ztrailer_bias
i64 0;        # ztrailer_zero
0x3ff000;     # block_size
2;            # n_blocks

i64 0x194;    # uncompressed_ofs
i64 0x1ac;    # compressed_ofs
0x100000;     # uncompressed_size
0x12345;      # compressed_size

i64 0x100194; # uncompressed_ofs
i64 0x12421;  # compressed_ofs
0x100000;     # uncompressed_size
0x12345;      # compressed_size
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:3936: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:3936"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:3936"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:3939: pspp -o pspp.csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:3939"
( $at_check_trace; pspp -o pspp.csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "warning: \`sys-file.sav' near offset 0x1c4: ZLIB block descriptor 0 reported block size 0x100000, when 0x3ff000 was expected.
error: \`sys-file.sav' near offset 0x1dc: ZLIB block descriptor 1 reported compressed data offset 0x12421, when 0x124f1 was expected.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/sys-file-reader.at:3939"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_159
#AT_START_160
at_fn_group_banner 160 'sys-file-reader.at:3945' \
  "zcompressed data - uncompressed_size > block_size" "" 13
at_xfail=no
(
  $as_echo "160. $at_setup_line: testing $at_desc ..."
  $at_traceon


zcompressed_sack | sed 's/.*uncompressed_size.*/>>0x400000<<;/' > sys-file.sack
for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:3949: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:3949"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:3949"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:3952: pspp -o pspp.csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:3952"
( $at_check_trace; pspp -o pspp.csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "warning: \`sys-file.sav' near offset 0x21d: ZLIB block descriptor 0 reported block size 0x400000, when at most 0x3ff000 was expected.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:3952"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_160
#AT_START_161
at_fn_group_banner 161 'sys-file-reader.at:3957' \
  "zcompressed data - compression expands data too much" "" 13
at_xfail=no
(
  $as_echo "161. $at_setup_line: testing $at_desc ..."
  $at_traceon


zcompressed_sack | sed 's/.*uncompressed_size.*/>>50<<;/
s/.*# compressed_size.*/>>100<<;/' > sys-file.sack
for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:3962: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:3962"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:3962"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:3965: pspp -o pspp.csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:3965"
( $at_check_trace; pspp -o pspp.csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "error: \`sys-file.sav' near offset 0x21d: ZLIB block descriptor 0 reports compressed size 100 and uncompressed size 50.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/sys-file-reader.at:3965"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_161
#AT_START_162
at_fn_group_banner 162 'sys-file-reader.at:3970' \
  "zcompressed data - compressed sizes don't add up" "" 13
at_xfail=no
(
  $as_echo "162. $at_setup_line: testing $at_desc ..."
  $at_traceon


zcompressed_sack | sed 's/.*# compressed_size.*/>>88<<;/' > sys-file.sack
for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:3974: sack --\$variant sys-file.sack > sys-file.sav"
at_fn_check_prepare_dynamic "sack --$variant sys-file.sack > sys-file.sav" "sys-file-reader.at:3974"
( $at_check_trace; sack --$variant sys-file.sack > sys-file.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:3974"
$at_failed && at_fn_log_failure
$at_traceon; }

  cat >sys-file.sps <<'_ATEOF'
GET FILE='sys-file.sav'.
_ATEOF

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:3977: pspp -o pspp.csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:3977"
( $at_check_trace; pspp -o pspp.csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "error: \`sys-file.sav' near offset 0x235: ZLIB trailer is at offset 0x205 but 0x204 would be expected from block descriptors.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/sys-file-reader.at:3977"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_162
#AT_START_163
at_fn_group_banner 163 'sys-file-reader.at:3987' \
  "integer overflows in long string missing values" "" 13
at_xfail=no
(
  $as_echo "163. $at_setup_line: testing $at_desc ..."
  $at_traceon


cp $top_srcdir/tests/data/CVE-2017-10791.sav .
{ set +x
$as_echo "$at_srcdir/sys-file-reader.at:3990: pspp-convert -O csv -e ASCII CVE-2017-10791.sav -"
at_fn_check_prepare_trace "sys-file-reader.at:3990"
( $at_check_trace; pspp-convert -O csv -e ASCII CVE-2017-10791.sav -
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo >>"$at_stderr"; $as_echo "\`CVE-2017-10791.sav' near offset 0x217: Extension record subtype 21 ends unexpectedly.
" | \
  $at_diff - "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:3990"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_163
#AT_START_164
at_fn_group_banner 164 'sys-file-reader.at:4000' \
  "null dereference skipping bad extension record 18" "" 13
at_xfail=no
(
  $as_echo "164. $at_setup_line: testing $at_desc ..."
  $at_traceon


cp $top_srcdir/tests/data/CVE-2017-10792.sav .
{ set +x
$as_echo "$at_srcdir/sys-file-reader.at:4003: pspp-convert -O csv -e ASCII CVE-2017-10792.sav -"
at_fn_check_prepare_trace "sys-file-reader.at:4003"
( $at_check_trace; pspp-convert -O csv -e ASCII CVE-2017-10792.sav -
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo >>"$at_stderr"; $as_echo "\`CVE-2017-10792.sav' near offset 0x1c0: Record type 7, subtype 18 has bad size 4 (expected 1).
" | \
  $at_diff - "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:4003"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_164
#AT_START_165
at_fn_group_banner 165 'sys-file.at:20' \
  "write and read numeric data" "                    " 14
at_xfail=no
(
  $as_echo "165. $at_setup_line: testing $at_desc ..."
  $at_traceon


for variant in 'UNCOMPRESSED $FL2' 'ZCOMPRESSED $FL3'; do
    set $variant
    compression=$1 magic=$2
    cat >sysfile.sps <<EOF
DATA LIST LIST NOTABLE / variable001 * variable002 * variable003 * variable004 * .
BEGIN DATA.
    1.00     1.00    1.0     2.00
    1.00     1.00    2.0    30.00
    1.00     2.00    1.0     8.00
    1.00     2.00    2.0    20.00
    2.00     1.00    1.0     2.00
    2.00     1.00    2.0    22.00
    2.00     2.00    1.0     1.00
    2.00     2.00    2.0     3.00
END DATA.

SAVE/$compression /OUTFILE='foo.sav'.

GET /FILE='foo.sav'.

LIST.
EOF
    { set +x
$as_echo "$at_srcdir/sys-file.at:44: pspp -o pspp.csv sysfile.sps"
at_fn_check_prepare_trace "sys-file.at:44"
( $at_check_trace; pspp -o pspp.csv sysfile.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file.at:44"
$at_failed && at_fn_log_failure
$at_traceon; }

    { set +x
$as_echo "$at_srcdir/sys-file.at:45: cat pspp.csv"
at_fn_check_prepare_trace "sys-file.at:45"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
variable001,variable002,variable003,variable004
1.00,1.00,1.00,2.00
1.00,1.00,2.00,30.00
1.00,2.00,1.00,8.00
1.00,2.00,2.00,20.00
2.00,1.00,1.00,2.00
2.00,1.00,2.00,22.00
2.00,2.00,1.00,1.00
2.00,2.00,2.00,3.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file.at:45"
$at_failed && at_fn_log_failure
$at_traceon; }

    { set +x
$as_echo "$at_srcdir/sys-file.at:57: dd if=foo.sav bs=1 count=4; echo"
at_fn_check_prepare_trace "sys-file.at:57"
( $at_check_trace; dd if=foo.sav bs=1 count=4; echo
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo >>"$at_stdout"; $as_echo "$magic
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file.at:57"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_165
#AT_START_166
at_fn_group_banner 166 'sys-file.at:62' \
  "write and read long string value labels and missing values" "" 14
at_xfail=no
(
  $as_echo "166. $at_setup_line: testing $at_desc ..."
  $at_traceon


for variant in 'UNCOMPRESSED $FL2' 'ZCOMPRESSED $FL3'; do
    set $variant
    compression=$1 magic=$2
    cat >sysfile.sps <<EOF
DATA LIST LIST NOTABLE/s1 s2 s3 (a9).
BEGIN DATA
a b c
END DATA.

VALUE LABELS
    /s1 'abc' 'First value label'
	'abcdefgh' 'Second value label'
	'abcdefghi' 'Third value label'
    /s2 '0' 'Fourth value label'
	'01234567' 'Fifth value label'
	'012345678' 'Sixth value label'.

MISSING VALUES
     s1 ('0')
    /s2 ('12' '123')
    /s3 ('1234' '12345' '12345678').

SAVE/$compression /OUTFILE='foo.sav'.
GET /FILE='foo.sav'.
DISPLAY DICTIONARY.
EOF
    { set +x
$as_echo "$at_srcdir/sys-file.at:90: pspp -o pspp.csv sysfile.sps"
at_fn_check_prepare_trace "sys-file.at:90"
( $at_check_trace; pspp -o pspp.csv sysfile.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file.at:90"
$at_failed && at_fn_log_failure
$at_traceon; }

    { set +x
$as_echo "$at_srcdir/sys-file.at:91: cat pspp.csv"
at_fn_check_prepare_trace "sys-file.at:91"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Variable,Description,Position
s1,\"Format: A9
Missing Values: \"\"0       \"\"

Value,Label
abc      ,First value label
abcdefgh ,Second value label
abcdefghi,Third value label\",1
s2,\"Format: A9
Missing Values: \"\"12      \"\"; \"\"123     \"\"

Value,Label
0        ,Fourth value label
01234567 ,Fifth value label
012345678,Sixth value label\",2
s3,\"Format: A9
Missing Values: \"\"1234    \"\"; \"\"12345   \"\"; \"\"12345678\"\"\",3
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file.at:91"
$at_failed && at_fn_log_failure
$at_traceon; }

    { set +x
$as_echo "$at_srcdir/sys-file.at:110: dd if=foo.sav bs=1 count=4; echo"
at_fn_check_prepare_trace "sys-file.at:110"
( $at_check_trace; dd if=foo.sav bs=1 count=4; echo
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo >>"$at_stdout"; $as_echo "$magic
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file.at:110"
$at_failed && at_fn_log_failure
$at_traceon; }

done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_166
#AT_START_167
at_fn_group_banner 167 'sys-file.at:115' \
  "write and read compressed files" "                " 14
at_xfail=no
(
  $as_echo "167. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sysfile.sps <<'_ATEOF'
DATA LIST LIST NOTABLE /x * y (a200).
BEGIN DATA.
1.2 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
.   yyyyyyyyyyyyyyy
0   ddddddddddddddddddddddddddddddd
101 z
END DATA.

SAVE OUTFILE='com.sav' /COMPRESS .

GET FILE='com.sav'.

LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/sys-file.at:132: pspp -o pspp.csv sysfile.sps"
at_fn_check_prepare_trace "sys-file.at:132"
( $at_check_trace; pspp -o pspp.csv sysfile.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file.at:132"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/sys-file.at:134: dd if=com.sav bs=1 skip=72 count=4 2> /dev/null > com.sav.subset"
at_fn_check_prepare_trace "sys-file.at:134"
( $at_check_trace; dd if=com.sav bs=1 skip=72 count=4 2> /dev/null > com.sav.subset
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file.at:134"
$at_failed && at_fn_log_failure
$at_traceon; }

od com.sav.subset
{ set +x
$as_echo "$at_srcdir/sys-file.at:136: (printf '\\000\\000\\000\\001' | cmp -l com.sav.subset -) ||
   (printf '\\001\\000\\000\\000' | cmp -l com.sav.subset -)"
at_fn_check_prepare_notrace 'an embedded newline' "sys-file.at:136"
( $at_check_trace; (printf '\000\000\000\001' | cmp -l com.sav.subset -) ||
   (printf '\001\000\000\000' | cmp -l com.sav.subset -)
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/sys-file.at:136"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_167
#AT_START_168
at_fn_group_banner 168 'sys-file.at:142' \
  "overwriting system file" "                        " 14
at_xfail=no
(
  $as_echo "168. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >output.sav <<'_ATEOF'
abcdef
_ATEOF

cp output.sav output.sav.backup
cat >sysfile.sps <<'_ATEOF'
DATA LIST NOTABLE/x 1.
BEGIN DATA.
5
END DATA.
SAVE OUTFILE='output.sav'.
_ATEOF

{ set +x
$as_echo "$at_srcdir/sys-file.at:153: pspp -O format=csv sysfile.sps"
at_fn_check_prepare_trace "sys-file.at:153"
( $at_check_trace; pspp -O format=csv sysfile.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file.at:153"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/sys-file.at:154: cmp output.sav output.sav.backup"
at_fn_check_prepare_trace "sys-file.at:154"
( $at_check_trace; cmp output.sav output.sav.backup
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 1 $at_status "$at_srcdir/sys-file.at:154"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_168
#AT_START_169
at_fn_group_banner 169 'sys-file.at:157' \
  "overwriting system file atomically" "             " 14
at_xfail=no
(
  $as_echo "169. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >output.sav <<'_ATEOF'
abcdef
_ATEOF

cp output.sav output.sav.backup
cat >sysfile.sps <<'_ATEOF'
DATA LIST NOTABLE/x 1.
BEGIN DATA.
5
END DATA.
XSAVE OUTFILE='output.sav'.
HOST COMMAND=['kill -TERM $PPID'].
_ATEOF

{ set +x
$as_echo "$at_srcdir/sys-file.at:169: pspp -O format=csv sysfile.sps"
at_fn_check_prepare_trace "sys-file.at:169"
( $at_check_trace; pspp -O format=csv sysfile.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 143 $at_status "$at_srcdir/sys-file.at:169"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/sys-file.at:170: cmp output.sav output.sav.backup"
at_fn_check_prepare_trace "sys-file.at:170"
( $at_check_trace; cmp output.sav output.sav.backup
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file.at:170"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/sys-file.at:171: for file in *.tmp*; do if test -e \$file; then echo \$file; exit 1; fi; done"
at_fn_check_prepare_dynamic "for file in *.tmp*; do if test -e $file; then echo $file; exit 1; fi; done" "sys-file.at:171"
( $at_check_trace; for file in *.tmp*; do if test -e $file; then echo $file; exit 1; fi; done
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file.at:171"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_169
#AT_START_170
at_fn_group_banner 170 'sys-file.at:176' \
  "write to same system file being read" "           " 14
at_xfail=no
(
  $as_echo "170. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >save.sps <<'_ATEOF'
DATA LIST NOTABLE/x 1.
BEGIN DATA.
3
END DATA.
SAVE OUTFILE='data.sav'.
_ATEOF

{ set +x
$as_echo "$at_srcdir/sys-file.at:184: pspp -O format=csv save.sps"
at_fn_check_prepare_trace "sys-file.at:184"
( $at_check_trace; pspp -O format=csv save.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file.at:184"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/sys-file.at:185: test -s data.sav"
at_fn_check_prepare_trace "sys-file.at:185"
( $at_check_trace; test -s data.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file.at:185"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/sys-file.at:186: for file in *.tmp*; do if test -e \$file; then echo \$file; exit 1; fi; done"
at_fn_check_prepare_dynamic "for file in *.tmp*; do if test -e $file; then echo $file; exit 1; fi; done" "sys-file.at:186"
( $at_check_trace; for file in *.tmp*; do if test -e $file; then echo $file; exit 1; fi; done
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file.at:186"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >save2.sps <<'_ATEOF'
GET FILE='data.sav'.
COMPUTE y = x * 3.
SAVE OUTFILE='data.sav'.
_ATEOF

{ set +x
$as_echo "$at_srcdir/sys-file.at:193: pspp -O format=csv save2.sps"
at_fn_check_prepare_trace "sys-file.at:193"
( $at_check_trace; pspp -O format=csv save2.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file.at:193"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/sys-file.at:194: for file in *.tmp*; do if test -e \$file; then echo \$file; exit 1; fi; done"
at_fn_check_prepare_dynamic "for file in *.tmp*; do if test -e $file; then echo $file; exit 1; fi; done" "sys-file.at:194"
( $at_check_trace; for file in *.tmp*; do if test -e $file; then echo $file; exit 1; fi; done
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file.at:194"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >save3.sps <<'_ATEOF'
GET FILE='data.sav'.
LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/sys-file.at:200: pspp -O format=csv save3.sps"
at_fn_check_prepare_trace "sys-file.at:200"
( $at_check_trace; pspp -O format=csv save3.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
x,y
3,9.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file.at:200"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_170
#AT_START_171
at_fn_group_banner 171 'sys-file.at:207' \
  "nonempty case_map doesn't crash" "                " 14
at_xfail=no
(
  $as_echo "171. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >save.sps <<'_ATEOF'
INPUT PROGRAM.
    COMPUTE #I = 1.
    COMPUTE X = #I + 1.
    END CASE.
    END FILE.
END INPUT PROGRAM.

SAVE OUTFILE='tiny.sav'.
_ATEOF

{ set +x
$as_echo "$at_srcdir/sys-file.at:219: pspp -O format=csv save.sps"
at_fn_check_prepare_trace "sys-file.at:219"
( $at_check_trace; pspp -O format=csv save.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file.at:219"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >get.sps <<'_ATEOF'
GET FILE='tiny.sav'.
LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/sys-file.at:224: pspp -O format=csv get.sps"
at_fn_check_prepare_trace "sys-file.at:224"
( $at_check_trace; pspp -O format=csv get.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
X
2.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file.at:224"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_171
#AT_START_172
at_fn_group_banner 172 'sys-file.at:233' \
  "system files with -1 case_size" "                 " 14
at_xfail=no
(
  $as_echo "172. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >save.sps <<'_ATEOF'
DATA LIST LIST NOTABLE /cont (A32) size pop count.
VAR LABEL
    cont 'continents of the world'
    size 'sq km'
    pop 'population'
    count 'number of countries'.
SAVE OUTFILE='cont.sav'.
BEGIN DATA.
Asia, 44579000, 3.7E+009, 44.00
Africa, 30065000, 7.8E+008, 53.00
"North America", 24256000, 4.8E+008, 23.00
"South America", 17819000, 3.4E+008, 12.00
Antarctica, 13209000, .00, .00
Europe, 9938000, 7.3E+008, 46.00
Australia/Oceania, 7687000, 31000000, 14.00
END DATA.
_ATEOF

{ set +x
$as_echo "$at_srcdir/sys-file.at:253: pspp -O format=csv save.sps"
at_fn_check_prepare_trace "sys-file.at:253"
( $at_check_trace; pspp -O format=csv save.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file.at:253"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/sys-file.at:254: test -f cont.sav"
at_fn_check_prepare_trace "sys-file.at:254"
( $at_check_trace; test -f cont.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file.at:254"
$at_failed && at_fn_log_failure
$at_traceon; }


{ set +x
$as_echo "$at_srcdir/sys-file.at:258: (dd if=cont.sav bs=1 count=68;
    printf '\\377\\377\\377\\377';
    dd if=cont.sav bs=1 skip=72) > cont2.sav"
at_fn_check_prepare_notrace 'an embedded newline' "sys-file.at:258"
( $at_check_trace; (dd if=cont.sav bs=1 count=68;
    printf '\377\377\377\377';
    dd if=cont.sav bs=1 skip=72) > cont2.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file.at:258"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/sys-file.at:262: cmp cont.sav cont2.sav"
at_fn_check_prepare_trace "sys-file.at:262"
( $at_check_trace; cmp cont.sav cont2.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "cont.sav cont2.sav differ: char 69, line 1
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/sys-file.at:262"
$at_failed && at_fn_log_failure
$at_traceon; }


cat >get.sps <<'_ATEOF'
GET FILE='cont2.sav'.
DISPLAY LABELS.
LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/sys-file.at:271: pspp -o pspp.csv get.sps"
at_fn_check_prepare_trace "sys-file.at:271"
( $at_check_trace; pspp -o pspp.csv get.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file.at:271"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/sys-file.at:272: cat pspp.csv"
at_fn_check_prepare_trace "sys-file.at:272"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Variable,Label,Position
cont,continents of the world,1
size,sq km,2
pop,population,3
count,number of countries,4

Table: Data List
cont,size,pop,count
Asia                            ,44579000,3.7E+009,44.00
Africa                          ,30065000,7.8E+008,53.00
North America                   ,24256000,4.8E+008,23.00
South America                   ,17819000,3.4E+008,12.00
Antarctica                      ,13209000,.00,.00
Europe                          ,9938000,7.3E+008,46.00
Australia/Oceania               ,7687000,31000000,14.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file.at:272"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_172
#AT_START_173
at_fn_group_banner 173 'sys-file.at:291' \
  "write v2 system file" "                           " 14
at_xfail=no
(
  $as_echo "173. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sysfile.sps <<'_ATEOF'
DATA LIST LIST NOTABLE / X * variable001 * variable002 * variable003 * .
BEGIN DATA.
    1.00     1.00    1.0     2.00
    1.00     1.00    2.0    30.00
    1.00     2.00    1.0     8.00
    1.00     2.00    2.0    20.00
    2.00     1.00    1.0     2.00
    2.00     1.00    2.0    22.00
    2.00     2.00    1.0     1.00
    2.00     2.00    2.0     3.00
END DATA.

SAVE /OUTFILE='foo.sav'
     /VERSION=2
     .

GET /FILE='foo.sav'.

LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/sys-file.at:314: pspp -O format=csv sysfile.sps"
at_fn_check_prepare_trace "sys-file.at:314"
( $at_check_trace; pspp -O format=csv sysfile.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
x,variable,variab_a,variab_b
1.00,1.00,1.00,2.00
1.00,1.00,2.00,30.00
1.00,2.00,1.00,8.00
1.00,2.00,2.00,20.00
2.00,1.00,1.00,2.00
2.00,1.00,2.00,22.00
2.00,2.00,1.00,1.00
2.00,2.00,2.00,3.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file.at:314"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/sys-file.at:327: grep 'X=X' foo.sav"
at_fn_check_prepare_trace "sys-file.at:327"
( $at_check_trace; grep 'X=X' foo.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:

at_fn_check_status 1 $at_status "$at_srcdir/sys-file.at:327"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_173
#AT_START_174
at_fn_group_banner 174 'sys-file.at:332' \
  "read very long strings written by SPSS 13" "      " 15
at_xfail=no
(
  $as_echo "174. $at_setup_line: testing $at_desc ..."
  $at_traceon

{ set +x
$as_echo "$at_srcdir/sys-file.at:333: cp \$top_srcdir/tests/data/v13.sav ."
at_fn_check_prepare_dynamic "cp $top_srcdir/tests/data/v13.sav ." "sys-file.at:333"
( $at_check_trace; cp $top_srcdir/tests/data/v13.sav .
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file.at:333"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >sys-file.sps <<'_ATEOF'
GET FILE='v13.sav' ENCODING='utf-8'.
DISPLAY VARIABLES.
LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/sys-file.at:339: pspp -o pspp.csv sys-file.sps"
at_fn_check_prepare_trace "sys-file.at:339"
( $at_check_trace; pspp -o pspp.csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file.at:339"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/sys-file.at:340: cat pspp.csv"
at_fn_check_prepare_trace "sys-file.at:340"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Variable,Description,Position
N,\"Format: F8.2
Display Width: 10\",1
A255,\"Format: A255
Display Width: 32\",2
A258,\"Format: A258
Display Width: 32\",3
A2000,\"Format: A2000
Display Width: 32\",4

Table: Data List
N,A255,A258,A2000
1.00,a1AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA,b1BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB,c1CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
2.00,a2XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX,b2YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY,c2ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file.at:340"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_174
#AT_START_175
at_fn_group_banner 175 'sys-file.at:358' \
  "read very long strings written by SPSS 14" "      " 15
at_xfail=no
(
  $as_echo "175. $at_setup_line: testing $at_desc ..."
  $at_traceon

{ set +x
$as_echo "$at_srcdir/sys-file.at:359: cp \$top_srcdir/tests/data/v14.sav ."
at_fn_check_prepare_dynamic "cp $top_srcdir/tests/data/v14.sav ." "sys-file.at:359"
( $at_check_trace; cp $top_srcdir/tests/data/v14.sav .
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file.at:359"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >sys-file.sps <<'_ATEOF'
GET FILE='v14.sav' ENCODING='utf-8'.
DISPLAY VARIABLES.
LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/sys-file.at:365: pspp -o pspp.csv sys-file.sps"
at_fn_check_prepare_trace "sys-file.at:365"
( $at_check_trace; pspp -o pspp.csv sys-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file.at:365"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/sys-file.at:366: cat pspp.csv"
at_fn_check_prepare_trace "sys-file.at:366"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Variable,Description,Position
vl255,\"Format: A255
Display Width: 26\",1
vl256,\"Format: A256
Display Width: 26\",2
vl1335,\"Format: A1335
Display Width: 26\",3
vl2000,\"Format: A2000
Display Width: 26\",4

Table: Data List
vl255,vl256,vl1335,vl2000
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM,MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM,MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM,MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file.at:366"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_175
#AT_START_176
at_fn_group_banner 176 'sys-file.at:427' \
  "save very long string -- uncompressed" "          " 15
at_xfail=no
(
  $as_echo "176. $at_setup_line: testing $at_desc ..."
  $at_traceon

   vls_gen_data
   cat >save.sps <<'_ATEOF'
DATA LIST FIXED NOTABLE FILE='data.txt'
    /a 2-11 (a)
     b (a256)
     c (a200)
     d (a32767).

SAVE OUTFILE='foo.sav' /UNCOMPRESSED.
_ATEOF

   { set +x
$as_echo "$at_srcdir/sys-file.at:427: pspp -O format=csv save.sps"
at_fn_check_prepare_trace "sys-file.at:427"
( $at_check_trace; pspp -O format=csv save.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file.at:427"
$at_failed && at_fn_log_failure
$at_traceon; }

   cat >get.sps <<'_ATEOF'
GET FILE='foo.sav'.

DISPLAY VARIABLES.

PRINT OUTFILE='out.txt'
	/a (a10) b (a256) c (a200)
	d (a32767)
	.

EXECUTE.
_ATEOF

   { set +x
$as_echo "$at_srcdir/sys-file.at:427: pspp -o pspp.csv get.sps"
at_fn_check_prepare_trace "sys-file.at:427"
( $at_check_trace; pspp -o pspp.csv get.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file.at:427"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/sys-file.at:427: cat pspp.csv"
at_fn_check_prepare_trace "sys-file.at:427"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Variable,Description,Position
a,Format: A10,1
b,Format: A256,2
c,Format: A200,3
d,Format: A32767,4
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file.at:427"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_176
#AT_START_177
at_fn_group_banner 177 'sys-file.at:428' \
  "save very long string -- compressed" "            " 15
at_xfail=no
(
  $as_echo "177. $at_setup_line: testing $at_desc ..."
  $at_traceon

   vls_gen_data
   cat >save.sps <<'_ATEOF'
DATA LIST FIXED NOTABLE FILE='data.txt'
    /a 2-11 (a)
     b (a256)
     c (a200)
     d (a32767).

SAVE OUTFILE='foo.sav' /COMPRESSED.
_ATEOF

   { set +x
$as_echo "$at_srcdir/sys-file.at:428: pspp -O format=csv save.sps"
at_fn_check_prepare_trace "sys-file.at:428"
( $at_check_trace; pspp -O format=csv save.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file.at:428"
$at_failed && at_fn_log_failure
$at_traceon; }

   cat >get.sps <<'_ATEOF'
GET FILE='foo.sav'.

DISPLAY VARIABLES.

PRINT OUTFILE='out.txt'
	/a (a10) b (a256) c (a200)
	d (a32767)
	.

EXECUTE.
_ATEOF

   { set +x
$as_echo "$at_srcdir/sys-file.at:428: pspp -o pspp.csv get.sps"
at_fn_check_prepare_trace "sys-file.at:428"
( $at_check_trace; pspp -o pspp.csv get.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file.at:428"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/sys-file.at:428: cat pspp.csv"
at_fn_check_prepare_trace "sys-file.at:428"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Variable,Description,Position
a,Format: A10,1
b,Format: A256,2
c,Format: A200,3
d,Format: A32767,4
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file.at:428"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_177
#AT_START_178
at_fn_group_banner 178 'sys-file.at:433' \
  "system file character encoding" "                 " 15
at_xfail=no
(
  $as_echo "178. $at_setup_line: testing $at_desc ..."
  $at_traceon

{ set +x
$as_echo "$at_srcdir/sys-file.at:434: i18n-test supports_encodings windows-1252"
at_fn_check_prepare_trace "sys-file.at:434"
( $at_check_trace; i18n-test supports_encodings windows-1252
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file.at:434"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >save.sps <<'_ATEOF'
SET LOCALE='windows-1252'.
DATA LIST LIST NOTABLE /àéîöçxyzabc * roué (A9) croûton (A1000).
FILE LABEL 'clientèle confrère cortège crèche'.
DOCUMENT coördinate smörgåsbord
épée séance soufflé soirée
jalapeño vicuña.
VALUE LABEL
      /àéîöçxyzabc 1 'éclair élan'
      /roué 'abcdefghi' 'sauté précis'.
VARIABLE LABEL
      roué 'Provençal soupçon'.
DATAFILE ATTRIBUTE
      ATTRIBUTE=Furtwängler('kindergärtner').
VARIABLE ATTRIBUTE
      VARIABLES=àéîöçxyzabc
      ATTRIBUTE=Atatürk('Düsseldorf Gewürztraminer').
BEGIN DATA.
1 a x
2 b y
3 c z
END DATA.
SAVE OUTFILE='foo.sav'.
_ATEOF

{ set +x
$as_echo "$at_srcdir/sys-file.at:459: pspp -O format=csv save.sps"
at_fn_check_prepare_trace "sys-file.at:459"
( $at_check_trace; pspp -O format=csv save.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file.at:459"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >get.sps <<'_ATEOF'
GET FILE='foo.sav'.
DISPLAY FILE LABEL.
DISPLAY DOCUMENTS.
DISPLAY DICTIONARY.
_ATEOF

{ set +x
$as_echo "$at_srcdir/sys-file.at:466: pspp -o pspp.csv get.sps"
at_fn_check_prepare_trace "sys-file.at:466"
( $at_check_trace; pspp -o pspp.csv get.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file.at:466"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/sys-file.at:467: sed 's/(Entered [^)]*)/(Entered <date>)/' pspp.csv"
at_fn_check_prepare_trace "sys-file.at:467"
( $at_check_trace; sed 's/(Entered [^)]*)/(Entered <date>)/' pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "File label: clientèle confrère cortège crèche

Documents in the active dataset:

DOCUMENT coördinate smörgåsbord

épée séance soufflé soirée

jalapeño vicuña.

(Entered <date>)

Variable,Description,Position
àéîöçxyzabc,\"Format: F8.2

Value,Label
1.00,éclair élan

Attribute,Value
Atatürk,Düsseldorf Gewürztraminer\",1
roué,\"Label: Provençal soupçon
Format: A9

Value,Label
abcdefghi,sauté précis\",2
croûton,Format: A1000,3

Table: Custom data file attributes.
Attribute,Value
Furtwängler,kindergärtner
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file.at:467"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_178
#AT_START_179
at_fn_group_banner 179 'encrypted-file.at:19' \
  "decrypt an encrypted system file" "               " 16
at_xfail=no
(
  $as_echo "179. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/encrypted-file.at:21: pspp-convert \$srcdir/data/hotel-encrypted.sav hotel.sav -p pspp"
at_fn_check_prepare_dynamic "pspp-convert $srcdir/data/hotel-encrypted.sav hotel.sav -p pspp" "encrypted-file.at:21"
( $at_check_trace; pspp-convert $srcdir/data/hotel-encrypted.sav hotel.sav -p pspp
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/encrypted-file.at:21"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/encrypted-file.at:22: pspp-convert hotel.sav hotel.csv"
at_fn_check_prepare_trace "encrypted-file.at:22"
( $at_check_trace; pspp-convert hotel.sav hotel.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/encrypted-file.at:22"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/encrypted-file.at:23: cat hotel.csv"
at_fn_check_prepare_trace "encrypted-file.at:23"
( $at_check_trace; cat hotel.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "v1,v2,v3,v4,v5
4,2,3,4,1
1,1,3,1,1
5,2,2,3,4
3,1,3,1,2
5,3,1,5,3
1,2,5,4,2
3,2,4,3,1
1,4,5,2,1
3,2,3,1,2
2,5,4,2,1
4,2,2,3,5
2,1,4,1,1
1,2,5,5,2
2,3,3,3,1
4,1,1,1,3
1,1,5,1,2
2,5,5,2,2
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/encrypted-file.at:23"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_179
#AT_START_180
at_fn_group_banner 180 'encrypted-file.at:45' \
  "decrypt an encrypted syntax file" "               " 16
at_xfail=no
(
  $as_echo "180. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/encrypted-file.at:47: pspp-convert \$srcdir/data/test-encrypted.sps test.sps -p password"
at_fn_check_prepare_dynamic "pspp-convert $srcdir/data/test-encrypted.sps test.sps -p password" "encrypted-file.at:47"
( $at_check_trace; pspp-convert $srcdir/data/test-encrypted.sps test.sps -p password
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/encrypted-file.at:47"
$at_failed && at_fn_log_failure
$at_traceon; }


# The sample file is not ideal: lines end in CRLF and its last line
# lacks a new-line, so "sed" and "echo" make it easier to work with.
{ set +x
$as_echo "$at_srcdir/encrypted-file.at:51: tr -d \"\\r\" < test.sps; echo"
at_fn_check_prepare_trace "encrypted-file.at:51"
( $at_check_trace; tr -d "\r" < test.sps; echo
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "* Encoding: windows-1252.
DATA LIST LIST /name (a25) quantity (f8).
BEGIN DATA.
widgets 10345
oojars 2345
dubreys 98
thingumies 518
END DATA.
 
LIST.
 
DESCRIPTIVES /quantity
 /statistics ALL.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/encrypted-file.at:51"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_180
#AT_START_181
at_fn_group_banner 181 'command.at:20' \
  "command parser crash bug" "                       " 17
at_xfail=no
(
  $as_echo "181. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >command.sps <<'_ATEOF'
DATA rubbish.
EXECUTE.
_ATEOF

{ set +x
$as_echo "$at_srcdir/command.at:25: pspp -O format=csv command.sps"
at_fn_check_prepare_trace "command.at:25"
( $at_check_trace; pspp -O format=csv command.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "command.sps:1: error: Unknown command \`DATA rubbish'.

command.sps:2: error: EXECUTE: EXECUTE is allowed only after the active dataset has been defined.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/command.at:25"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_181
#AT_START_182
at_fn_group_banner 182 'command.at:36' \
  "FINISH executes immediately" "                    " 17
at_xfail=no
(
  $as_echo "182. $at_setup_line: testing $at_desc ..."
  $at_traceon

{ set +x
$as_echo "$at_srcdir/command.at:37: (echo \"FINISH.\"; while echo ; do true; done) | pspp"
at_fn_check_prepare_notrace 'a shell pipeline' "command.at:37"
( $at_check_trace; (echo "FINISH."; while echo ; do true; done) | pspp
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/command.at:37"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_182
#AT_START_183
at_fn_group_banner 183 'command.at:42' \
  "ERASE -- safer mode" "                            " 18
at_xfail=no
(
  $as_echo "183. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >foobar <<'_ATEOF'
contents
_ATEOF

cat >erase.sps <<'_ATEOF'
set safer on

erase FILE='foobar'.
_ATEOF

{ set +x
$as_echo "$at_srcdir/command.at:50: pspp -O format=csv erase.sps"
at_fn_check_prepare_trace "command.at:50"
( $at_check_trace; pspp -O format=csv erase.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "erase.sps:3: error: ERASE: This command not allowed when the SAFER option is set.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/command.at:50"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/command.at:53: cat foobar"
at_fn_check_prepare_trace "command.at:53"
( $at_check_trace; cat foobar
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "contents
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/command.at:53"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_183
#AT_START_184
at_fn_group_banner 184 'command.at:57' \
  "ERASE -- not safer mode" "                        " 18
at_xfail=no
(
  $as_echo "184. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >foobar <<'_ATEOF'
contents
_ATEOF

{ set +x
$as_echo "$at_srcdir/command.at:60: test -e foobar"
at_fn_check_prepare_trace "command.at:60"
( $at_check_trace; test -e foobar
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/command.at:60"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >erase.sps <<'_ATEOF'
erase FILE='foobar'.
_ATEOF

{ set +x
$as_echo "$at_srcdir/command.at:64: pspp -O format=csv erase.sps"
at_fn_check_prepare_trace "command.at:64"
( $at_check_trace; pspp -O format=csv erase.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/command.at:64"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/command.at:65: test ! -e foobar"
at_fn_check_prepare_trace "command.at:65"
( $at_check_trace; test ! -e foobar
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/command.at:65"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_184
#AT_START_185
at_fn_group_banner 185 'command.at:70' \
  "N OF CASES" "                                     " 19
at_xfail=no
(
  $as_echo "185. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >n-of-cases.sps <<'_ATEOF'
INPUT PROGRAM.
LOOP #i = 1 TO 100.
COMPUTE x=#i.
END CASE.
END LOOP.
END FILE.
END INPUT PROGRAM.

N OF CASES 15.

LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/command.at:84: pspp -O format=csv n-of-cases.sps"
at_fn_check_prepare_trace "command.at:84"
( $at_check_trace; pspp -O format=csv n-of-cases.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
x
1.00
2.00
3.00
4.00
5.00
6.00
7.00
8.00
9.00
10.00
11.00
12.00
13.00
14.00
15.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/command.at:84"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_185
#AT_START_186
at_fn_group_banner 186 'command.at:109' \
  "COMMENT at end of file" "                         " 20
at_xfail=no
(
  $as_echo "186. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >comment.sps <<'_ATEOF'
COMMENT this is a comment at end of file.
_ATEOF

{ set +x
$as_echo "$at_srcdir/command.at:113: pspp -O format=csv comment.sps"
at_fn_check_prepare_trace "command.at:113"
( $at_check_trace; pspp -O format=csv comment.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/command.at:113"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_186
#AT_START_187
at_fn_group_banner 187 'do-if.at:19' \
  "DO IF" "                                          " 21
at_xfail=no
(
  $as_echo "187. $at_setup_line: testing $at_desc ..."
  $at_traceon

(for a in 0 1 ' '; do
    for b in 0 1 ' '; do
	for c in 0 1 ' '; do
	    for d in 0 1 ' '; do
		abcd=$a$b$c$d
		echo "$abcd" 1>&3
		if test "$a" = "1"; then
		    echo " $abcd A"
		elif test "$a" = " "; then
		    :
		elif test "$b" = "1"; then
		    echo " $abcd B"
		elif test "$b" = " "; then
		    :
		elif test "$c" = "1"; then
		    echo " $abcd C"
		elif test "$c" = " "; then
		    :
		elif test "$d" = "1"; then
		    echo " $abcd D"
		elif test "$d" = " "; then
		    :
		else
		    echo " $abcd E"
		fi
	    done
	done
    done
done) >expout 3>do-if.txt || exit 99
cat >do-if.sps <<'_ATEOF'
DATA LIST FILE="do-if.txt"/A B C D 1-4 ABCD 1-4 (A).
DO IF A.
PRINT OUTFILE="do-if.out"/ABCD 'A'.
ELSE IF B.
PRINT OUTFILE="do-if.out"/ABCD 'B'.
ELSE IF C.
PRINT OUTFILE="do-if.out"/ABCD 'C'.
ELSE IF D.
PRINT OUTFILE="do-if.out"/ABCD 'D'.
ELSE.
PRINT OUTFILE="do-if.out"/ABCD 'E'.
END IF.
EXECUTE.
_ATEOF

{ set +x
$as_echo "$at_srcdir/do-if.at:64: pspp do-if.sps"
at_fn_check_prepare_trace "do-if.at:64"
( $at_check_trace; pspp do-if.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/do-if.at:64"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/do-if.at:65: cat do-if.out"
at_fn_check_prepare_trace "do-if.at:65"
( $at_check_trace; cat do-if.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/do-if.at:65"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_187
#AT_START_188
at_fn_group_banner 188 'do-if.at:68' \
  "unpaired END IF crash" "                          " 21
at_xfail=no
(
  $as_echo "188. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >do-if.sps <<'_ATEOF'
DATA LIST LIST NOTABLE/a b c.
END IF.
_ATEOF

{ set +x
$as_echo "$at_srcdir/do-if.at:73: pspp -O format=csv do-if.sps"
at_fn_check_prepare_trace "do-if.at:73"
( $at_check_trace; pspp -O format=csv do-if.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "do-if.sps:2: error: END IF: This command cannot appear outside DO IF...END IF.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/do-if.at:73"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_188
#AT_START_189
at_fn_group_banner 189 'do-if.at:80' \
  "ELSE without DO IF" "                             " 21
at_xfail=no
(
  $as_echo "189. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >do-if.sps <<'_ATEOF'
DATA lIST NOTABLE LIST /QUA BRA *.
BEGIN DATA
4  1
6  3
END DATA

ELSE QUA 'A string'.

EXECUTE.
_ATEOF

{ set +x
$as_echo "$at_srcdir/do-if.at:92: pspp -O format=csv do-if.sps"
at_fn_check_prepare_trace "do-if.at:92"
( $at_check_trace; pspp -O format=csv do-if.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "do-if.sps:7: error: ELSE: This command cannot appear outside DO IF...END IF.

do-if.sps:9: error: Stopping syntax file processing here to avoid a cascade of dependent command failures.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/do-if.at:92"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_189
#AT_START_190
at_fn_group_banner 190 'do-repeat.at:19' \
  "DO REPEAT -- simple" "                            " 22
at_xfail=no
(
  $as_echo "190. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >do-repeat.sps <<'_ATEOF'
INPUT PROGRAM.
STRING y(A1).
DO REPEAT xval = 1 2 3 / yval = 'a' 'b' 'c' / var = a b c.
COMPUTE x=xval.
COMPUTE y=yval.
COMPUTE var=xval.
END CASE.
END REPEAT.
END FILE.
END INPUT PROGRAM.
LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/do-repeat.at:33: pspp -o pspp.csv do-repeat.sps"
at_fn_check_prepare_trace "do-repeat.at:33"
( $at_check_trace; pspp -o pspp.csv do-repeat.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/do-repeat.at:33"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/do-repeat.at:34: cat pspp.csv"
at_fn_check_prepare_trace "do-repeat.at:34"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
y,x,a,b,c
a,1.00,1.00,.  ,.  
b,2.00,.  ,2.00,.  
c,3.00,.  ,.  ,3.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/do-repeat.at:34"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_190
#AT_START_191
at_fn_group_banner 191 'do-repeat.at:43' \
  "DO REPEAT -- containing BEGIN DATA" "             " 22
at_xfail=no
(
  $as_echo "191. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >do-repeat.sps <<'_ATEOF'
DO REPEAT offset = 1 2 3.
DATA LIST NOTABLE /x 1-2.
BEGIN DATA.
10
20
30
END DATA.
COMPUTE x = x + offset.
LIST.
END REPEAT.
_ATEOF

{ set +x
$as_echo "$at_srcdir/do-repeat.at:56: pspp -o pspp.csv do-repeat.sps"
at_fn_check_prepare_trace "do-repeat.at:56"
( $at_check_trace; pspp -o pspp.csv do-repeat.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/do-repeat.at:56"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/do-repeat.at:57: cat pspp.csv"
at_fn_check_prepare_trace "do-repeat.at:57"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
x
11
21
31

Table: Data List
x
12
22
32

Table: Data List
x
13
23
33
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/do-repeat.at:57"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_191
#AT_START_192
at_fn_group_banner 192 'do-repeat.at:78' \
  "DO REPEAT -- dummy vars not expanded in include files" "" 22
at_xfail=no
(
  $as_echo "192. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >include.sps <<'_ATEOF'
COMPUTE y = y + x + 10.
_ATEOF

cat >do-repeat.sps <<'_ATEOF'
INPUT PROGRAM.
COMPUTE x = 0.
COMPUTE y = 0.
END CASE.
END FILE.
END INPUT PROGRAM.

DO REPEAT x = 1 2 3.
INCLUDE include.sps.
END REPEAT.

LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/do-repeat.at:96: pspp -o pspp.csv do-repeat.sps"
at_fn_check_prepare_trace "do-repeat.at:96"
( $at_check_trace; pspp -o pspp.csv do-repeat.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "do-repeat.sps:8: warning: DO REPEAT: Dummy variable name \`x' hides dictionary variable \`x'.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/do-repeat.at:96"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/do-repeat.at:99: cat pspp.csv"
at_fn_check_prepare_trace "do-repeat.at:99"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "do-repeat.sps:8: warning: DO REPEAT: Dummy variable name \`x' hides dictionary variable \`x'.

Table: Data List
x,y
.00,30.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/do-repeat.at:99"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_192
#AT_START_193
at_fn_group_banner 193 'do-repeat.at:108' \
  "DO REPEAT -- nested" "                            " 22
at_xfail=no
(
  $as_echo "193. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >do-repeat.sps <<'_ATEOF'
DATA LIST NOTABLE /a 1.
BEGIN DATA.
0
END DATA.

DO REPEAT h = h0 TO h3 / x = 0 TO 3 / y = 8, 7.5, 6, 5.
	COMPUTE h = x + y.
END REPEAT.

VECTOR v(6).
COMPUTE #idx = 0.
DO REPEAT i = 1 TO 2.
	DO REPEAT j = 3 TO 5.
		COMPUTE #x = i + j.
		COMPUTE #idx = #idx + 1.
		COMPUTE v(#idx) = #x.
	END REPEAT.
END REPEAT.

LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/do-repeat.at:131: pspp -o pspp.csv do-repeat.sps"
at_fn_check_prepare_trace "do-repeat.at:131"
( $at_check_trace; pspp -o pspp.csv do-repeat.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/do-repeat.at:131"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/do-repeat.at:132: cat pspp.csv"
at_fn_check_prepare_trace "do-repeat.at:132"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
a,h0,h1,h2,h3,v1,v2,v3,v4,v5,v6
0,8.00,8.50,8.00,8.00,4.00,5.00,6.00,5.00,6.00,7.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/do-repeat.at:132"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_193
#AT_START_194
at_fn_group_banner 194 'do-repeat.at:141' \
  "DO REPEAT -- empty" "                             " 22
at_xfail=no
(
  $as_echo "194. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >do-repeat.sps <<'_ATEOF'
DATA LIST NOTABLE /a 1.
BEGIN DATA.
0
END DATA.

DO REPEAT h = a.
END REPEAT.
_ATEOF

{ set +x
$as_echo "$at_srcdir/do-repeat.at:151: pspp -o pspp.csv do-repeat.sps"
at_fn_check_prepare_trace "do-repeat.at:151"
( $at_check_trace; pspp -o pspp.csv do-repeat.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/do-repeat.at:151"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/do-repeat.at:152: cat pspp.csv"
at_fn_check_prepare_trace "do-repeat.at:152"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/do-repeat.at:152"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_194
#AT_START_195
at_fn_group_banner 195 'do-repeat.at:158' \
  "DO REPEAT -- missing END REPEAT" "                " 22
at_xfail=no
(
  $as_echo "195. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >do-repeat.sps <<'_ATEOF'
DATA LIST NOTABLE /x 1.
DO REPEAT y = 1 TO 10.
_ATEOF

{ set +x
$as_echo "$at_srcdir/do-repeat.at:163: pspp -O format=csv do-repeat.sps"
at_fn_check_prepare_trace "do-repeat.at:163"
( $at_check_trace; pspp -O format=csv do-repeat.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "error: DO REPEAT: Syntax error at end of input: expecting END.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/do-repeat.at:163"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_195
#AT_START_196
at_fn_group_banner 196 'loop.at:29' \
  "LOOP with index" "                                " 23
at_xfail=no
(
  $as_echo "196. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >loop.sps <<'_ATEOF'
data list notable /x 1 y 2 z 3.
begin data.
121
252
393
404
end data.

loop #i=x to y by z.
print /#i.
end loop.
print/'--------'.
execute.
_ATEOF

{ set +x
$as_echo "$at_srcdir/loop.at:38: pspp -o pspp.csv loop.sps"
at_fn_check_prepare_trace "loop.at:38"
( $at_check_trace; pspp -o pspp.csv loop.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/loop.at:38"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/loop.at:39: cat pspp.csv"
at_fn_check_prepare_trace "loop.at:39"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "1.00 

2.00 

--------

2.00 

4.00 

--------

3.00 

6.00 

9.00 

--------

--------
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/loop.at:39"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_196
#AT_START_197
at_fn_group_banner 197 'loop.at:64' \
  "LOOP with IF condition" "                         " 23
at_xfail=no
(
  $as_echo "197. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >loop.sps <<'_ATEOF'
data list notable /x 1 y 2 z 3.
begin data.
121
252
393
404
end data.

compute #j=x.
loop if #j <= y.
print /#j.
compute #j = #j + z.
end loop.
print/'--------'.
execute.
_ATEOF

{ set +x
$as_echo "$at_srcdir/loop.at:75: pspp -o pspp.csv loop.sps"
at_fn_check_prepare_trace "loop.at:75"
( $at_check_trace; pspp -o pspp.csv loop.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/loop.at:75"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/loop.at:76: cat pspp.csv"
at_fn_check_prepare_trace "loop.at:76"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "1.00 

2.00 

--------

2.00 

4.00 

--------

3.00 

6.00 

9.00 

--------

--------
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/loop.at:76"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_197
#AT_START_198
at_fn_group_banner 198 'loop.at:101' \
  "LOOP with END IF condition" "                     " 23
at_xfail=no
(
  $as_echo "198. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >loop.sps <<'_ATEOF'
data list notable /x 1 y 2 z 3.
begin data.
121
252
393
404
end data.

compute #k=x.
loop.
print /#k.
compute #k = #k + z.
end loop if #k > y.
print/'--------'.
execute.
_ATEOF

{ set +x
$as_echo "$at_srcdir/loop.at:112: pspp -o pspp.csv loop.sps"
at_fn_check_prepare_trace "loop.at:112"
( $at_check_trace; pspp -o pspp.csv loop.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/loop.at:112"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/loop.at:113: cat pspp.csv"
at_fn_check_prepare_trace "loop.at:113"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "1.00 

2.00 

--------

2.00 

4.00 

--------

3.00 

6.00 

9.00 

--------

4.00 

--------
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/loop.at:113"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_198
#AT_START_199
at_fn_group_banner 199 'loop.at:140' \
  "LOOP with index and IF based on index" "          " 23
at_xfail=no
(
  $as_echo "199. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >loop.sps <<'_ATEOF'
data list notable /x 1 y 2 z 3.
begin data.
121
252
393
404
end data.

loop #m=x to y by z if #m < 4.
print /#m.
end loop.
print/'--------'.
execute.
_ATEOF

{ set +x
$as_echo "$at_srcdir/loop.at:149: pspp -o pspp.csv loop.sps"
at_fn_check_prepare_trace "loop.at:149"
( $at_check_trace; pspp -o pspp.csv loop.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/loop.at:149"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/loop.at:150: cat pspp.csv"
at_fn_check_prepare_trace "loop.at:150"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "1.00 

2.00 

--------

2.00 

--------

3.00 

--------

--------
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/loop.at:150"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_199
#AT_START_200
at_fn_group_banner 200 'loop.at:169' \
  "LOOP with index and END IF based on index" "      " 23
at_xfail=no
(
  $as_echo "200. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >loop.sps <<'_ATEOF'
data list notable /x 1 y 2 z 3.
begin data.
121
252
393
404
end data.

loop #n=x to y by z.
print /#n.
end loop if #n >= 4.
print/'--------'.
execute.
_ATEOF

{ set +x
$as_echo "$at_srcdir/loop.at:178: pspp -o pspp.csv loop.sps"
at_fn_check_prepare_trace "loop.at:178"
( $at_check_trace; pspp -o pspp.csv loop.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/loop.at:178"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/loop.at:179: cat pspp.csv"
at_fn_check_prepare_trace "loop.at:179"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "1.00 

2.00 

--------

2.00 

4.00 

--------

3.00 

6.00 

--------

--------
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/loop.at:179"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_200
#AT_START_201
at_fn_group_banner 201 'loop.at:202' \
  "LOOP with index and IF and END IF based on index" "" 23
at_xfail=no
(
  $as_echo "201. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >loop.sps <<'_ATEOF'
data list notable /x 1 y 2 z 3.
begin data.
121
252
393
404
end data.

loop #o=x to y by z if mod(#o,2) = 0.
print /#o.
end loop if #o >= 4.
print/'--------'.
execute.
_ATEOF

{ set +x
$as_echo "$at_srcdir/loop.at:211: pspp -o pspp.csv loop.sps"
at_fn_check_prepare_trace "loop.at:211"
( $at_check_trace; pspp -o pspp.csv loop.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/loop.at:211"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/loop.at:212: cat pspp.csv"
at_fn_check_prepare_trace "loop.at:212"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "--------

2.00 

4.00 

--------

--------

--------
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/loop.at:212"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_201
#AT_START_202
at_fn_group_banner 202 'loop.at:227' \
  "LOOP with no conditions containing BREAK" "       " 23
at_xfail=no
(
  $as_echo "202. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >loop.sps <<'_ATEOF'
data list notable /x 1 y 2 z 3.
begin data.
121
252
393
404
end data.

compute #p = x.
loop.
print /#p.
compute #p = #p + z.
do if #p >= y.
break.
end if.
end loop.
print/'--------'.
execute.
_ATEOF

{ set +x
$as_echo "$at_srcdir/loop.at:241: pspp -o pspp.csv loop.sps"
at_fn_check_prepare_trace "loop.at:241"
( $at_check_trace; pspp -o pspp.csv loop.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/loop.at:241"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/loop.at:242: cat pspp.csv"
at_fn_check_prepare_trace "loop.at:242"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "1.00 

--------

2.00 

4.00 

--------

3.00 

6.00 

--------

4.00 

--------
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/loop.at:242"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_202
#AT_START_203
at_fn_group_banner 203 'loop.at:265' \
  "LOOP with no conditions that ends due to MXLOOPS" "" 23
at_xfail=no
(
  $as_echo "203. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >loop.sps <<'_ATEOF'
data list notable /x 1 y 2 z 3.
begin data.
121
252
393
404
end data.

set mxloops=2.
loop.
compute #p = #p + 1.
print /x #p.
end loop.
print/'--------'.
execute.
_ATEOF

{ set +x
$as_echo "$at_srcdir/loop.at:276: pspp -o pspp.csv loop.sps"
at_fn_check_prepare_trace "loop.at:276"
( $at_check_trace; pspp -o pspp.csv loop.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/loop.at:276"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/loop.at:277: cat pspp.csv"
at_fn_check_prepare_trace "loop.at:277"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "1     1.00 

1     2.00 

--------

2     3.00 

2     4.00 

--------

3     5.00 

3     6.00 

--------

4     7.00 

4     8.00 

--------
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/loop.at:277"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_203
#AT_START_204
at_fn_group_banner 204 'temporary.at:20' \
  "TEMPORARY as first transformation" "              " 24
at_xfail=no
(
  $as_echo "204. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >temporary.sps <<'_ATEOF'
DATA LIST LIST NOTABLE /X *.
BEGIN DATA.
1
2
3
4
5
6
7
8
9
END DATA.

TEMPORARY.
SELECT IF x > 5 .
LIST.

LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/temporary.at:41: pspp -o pspp.csv temporary.sps"
at_fn_check_prepare_trace "temporary.at:41"
( $at_check_trace; pspp -o pspp.csv temporary.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/temporary.at:41"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/temporary.at:42: cat pspp.csv"
at_fn_check_prepare_trace "temporary.at:42"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
X
6.00
7.00
8.00
9.00

Table: Data List
X
1.00
2.00
3.00
4.00
5.00
6.00
7.00
8.00
9.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/temporary.at:42"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_204
#AT_START_205
at_fn_group_banner 205 'data-list.at:19' \
  "DATA LIST LIST with empty fields" "               " 26
at_xfail=no
(
  $as_echo "205. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >data-list.pspp <<'_ATEOF'
DATA LIST LIST NOTABLE /A B C (F1.0).
BEGIN DATA.
,,
,,3
,2,
,2,3
1,,
1,,3
1,2,
1,2,3
END DATA.

LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/data-list.at:35: pspp -O format=csv data-list.pspp"
at_fn_check_prepare_trace "data-list.at:35"
( $at_check_trace; pspp -O format=csv data-list.pspp
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
A,B,C
.,.,.
.,.,3
.,2,.
.,2,3
1,.,.
1,.,3
1,2,.
1,2,3
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-list.at:35"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_205
#AT_START_206
at_fn_group_banner 206 'data-list.at:50' \
  "DATA LIST LIST with explicit delimiters" "        " 26
at_xfail=no
(
  $as_echo "206. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >data-list.pspp <<'_ATEOF'
data list list ('|','X') /A B C D.
begin data.
1|23X45|2.03x
2X22|34|23|
3|34|34X34
end data.

list.
_ATEOF

{ set +x
$as_echo "$at_srcdir/data-list.at:61: pspp -O format=csv data-list.pspp"
at_fn_check_prepare_trace "data-list.at:61"
( $at_check_trace; pspp -O format=csv data-list.pspp
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Reading free-form data from INLINE.
Variable,Format
A,F8.0
B,F8.0
C,F8.0
D,F8.0

data-list.pspp:3.9-3.13: warning: Data for variable D is not valid as format F: Number followed by garbage.

Table: Data List
A,B,C,D
1.00,23.00,45.00,.  
2.00,22.00,34.00,23.00
3.00,34.00,34.00,34.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-list.at:61"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_206
#AT_START_207
at_fn_group_banner 207 'data-list.at:79' \
  "DATA LIST FREE with SKIP" "                       " 26
at_xfail=no
(
  $as_echo "207. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >data-list.pspp <<'_ATEOF'
data list free skip=1/A B C D.
begin data.
# This record is ignored.
,1,2,x
,4,,5
6
7,
8 9
0,1 ,,,
,,,,
2

3
4
5
end data.
list.
_ATEOF

{ set +x
$as_echo "$at_srcdir/data-list.at:99: pspp -O format=csv data-list.pspp"
at_fn_check_prepare_trace "data-list.at:99"
( $at_check_trace; pspp -O format=csv data-list.pspp
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "data-list.pspp:4.6: warning: Data for variable D is not valid as format F: Field contents are not numeric.

Table: Data List
A,B,C,D
.  ,1.00,2.00,.  
.  ,4.00,.  ,5.00
6.00,7.00,8.00,9.00
.00,1.00,.  ,.  
.  ,.  ,.  ,.  
2.00,3.00,4.00,5.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-list.at:99"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_207
#AT_START_208
at_fn_group_banner 208 'data-list.at:113' \
  "DATA LIST LIST with SKIP and tab delimiter" "     " 26
at_xfail=no
(
  $as_echo "208. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >data-list.pspp <<'_ATEOF'
data list list (tab) notable skip=2/A B C D.
begin data.
# These records
# are skipped.
1	2	3	4
1	2	3	
1	2		4
1	2		
1		3	4
1		3	
1			4
1			
	2	3	4
	2	3	
	2		4
	2		
		3	4
		3	
			4
			
end data.
list.
_ATEOF

{ set +x
$as_echo "$at_srcdir/data-list.at:138: pspp -O format=csv data-list.pspp"
at_fn_check_prepare_trace "data-list.at:138"
( $at_check_trace; pspp -O format=csv data-list.pspp
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
A,B,C,D
1.00,2.00,3.00,4.00
1.00,2.00,3.00,.  
1.00,2.00,.  ,4.00
1.00,2.00,.  ,.  
1.00,.  ,3.00,4.00
1.00,.  ,3.00,.  
1.00,.  ,.  ,4.00
1.00,.  ,.  ,.  
.  ,2.00,3.00,4.00
.  ,2.00,3.00,.  
.  ,2.00,.  ,4.00
.  ,2.00,.  ,.  
.  ,.  ,3.00,4.00
.  ,.  ,3.00,.  
.  ,.  ,.  ,4.00
.  ,.  ,.  ,.  
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-list.at:138"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_208
#AT_START_209
at_fn_group_banner 209 'data-list.at:162' \
  "DATA LIST FREE with explicit delimiter at end of line" "" 26
at_xfail=no
(
  $as_echo "209. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >data-list.pspp <<'_ATEOF'
DATA LIST FREE(',')/x y z.
BEGIN DATA.
1,2,3
4,5,6
7,8,9
END DATA.
LIST.

DATA LIST FREE(',')/x y z.
BEGIN DATA.
11,12,13,
14,15,16,
17,18,19,
END DATA.
LIST.

DATA LIST FREE(TAB)/x y z.
BEGIN DATA.
21	22	23
24	25	26
27	28	29
END DATA.
LIST.

DATA LIST FREE(TAB)/x y z.
BEGIN DATA.
31	32	33	
34	35	36	
37	38	39	
END DATA.
LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/data-list.at:196: pspp -O format=csv data-list.pspp"
at_fn_check_prepare_trace "data-list.at:196"
( $at_check_trace; pspp -O format=csv data-list.pspp
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
x,y,z
1.00,2.00,3.00
4.00,5.00,6.00
7.00,8.00,9.00

Table: Data List
x,y,z
11.00,12.00,13.00
14.00,15.00,16.00
17.00,18.00,19.00

Table: Data List
x,y,z
21.00,22.00,23.00
24.00,25.00,26.00
27.00,28.00,29.00

Table: Data List
x,y,z
31.00,32.00,33.00
34.00,35.00,36.00
37.00,38.00,39.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-list.at:196"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_209
#AT_START_210
at_fn_group_banner 210 'data-list.at:223' \
  "DATA LIST FIXED with multiple records per case" " " 26
at_xfail=no
(
  $as_echo "210. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >data-list.pspp <<'_ATEOF'
data list fixed notable
        /1 start 1-20 (adate)
        /2 end 1-20 (adate)
        /3 count 1-3.
begin data.
07-22-2007
10-06-2007
x
07-14-1789
08-26-1789
xy
01-01-1972
12-31-1999
682
end data.
list.
_ATEOF

{ set +x
$as_echo "$at_srcdir/data-list.at:242: pspp -O format=csv data-list.pspp"
at_fn_check_prepare_trace "data-list.at:242"
( $at_check_trace; pspp -O format=csv data-list.pspp
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "data-list.pspp:8.1-8.3: warning: Data for variable count is not valid as format F: Field contents are not numeric.

data-list.pspp:11.1-11.3: warning: Data for variable count is not valid as format F: Field contents are not numeric.

Table: Data List
start,end,count
07/22/2007,10/06/2007,.
07/14/1789,08/26/1789,.
01/01/1972,12/31/1999,682
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-list.at:242"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_210
#AT_START_211
at_fn_group_banner 211 'data-list.at:255' \
  "DATA LIST FIXED with empty trailing record" "     " 26
at_xfail=no
(
  $as_echo "211. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >data-list.pspp <<'_ATEOF'
data list fixed notable records=2/x 1 y 2.
begin data.
12

34

56

78

90

end data.
list.
_ATEOF

{ set +x
$as_echo "$at_srcdir/data-list.at:272: pspp -O format=csv data-list.pspp"
at_fn_check_prepare_trace "data-list.at:272"
( $at_check_trace; pspp -O format=csv data-list.pspp
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
x,y
1,2
3,4
5,6
7,8
9,0
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-list.at:272"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_211
#AT_START_212
at_fn_group_banner 212 'data-list.at:285' \
  "DATA LIST with various line-ends" "               " 26
at_xfail=no
(
  $as_echo "212. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >data-list.sps <<'_ATEOF'
data list list notable file='input.txt'/a b c.
list.
_ATEOF

printf '1 2 3\n4 5 6\r\n7\r8\r9\r\n10 11 12\n13 14 15 \r\n16\r\r17\r18\n' > input.txt
{ set +x
$as_echo "$at_srcdir/data-list.at:294: cksum input.txt"
at_fn_check_prepare_trace "data-list.at:294"
( $at_check_trace; cksum input.txt
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "1732021750 50 input.txt
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-list.at:294"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-list.at:296: pspp -o pspp.csv data-list.sps"
at_fn_check_prepare_trace "data-list.at:296"
( $at_check_trace; pspp -o pspp.csv data-list.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-list.at:296"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-list.at:297: cat pspp.csv"
at_fn_check_prepare_trace "data-list.at:297"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
a,b,c
1.00,2.00,3.00
4.00,5.00,6.00
7.00,8.00,9.00
10.00,11.00,12.00
13.00,14.00,15.00
16.00,17.00,18.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-list.at:297"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_212
#AT_START_213
at_fn_group_banner 213 'data-list.at:309' \
  "DATA LIST properly expands tabs in input" "       " 26
at_xfail=no
(
  $as_echo "213. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >data-list.sps <<'_ATEOF'
data list notable /X 1-50 (a).
begin data.
	1	12	123	1234	12345    .
end data.
print /x.
print outfile='print.txt' /x.
write outfile='write.txt' /x.
execute.
_ATEOF

{ set +x
$as_echo "$at_srcdir/data-list.at:320: sed -n '/12345/l' data-list.sps"
at_fn_check_prepare_trace "data-list.at:320"
( $at_check_trace; sed -n '/12345/l' data-list.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "\\t1\\t12\\t123\\t1234\\t12345    .\$
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-list.at:320"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-list.at:323: pspp -o pspp.csv data-list.sps"
at_fn_check_prepare_trace "data-list.at:323"
( $at_check_trace; pspp -o pspp.csv data-list.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-list.at:323"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-list.at:325: cat pspp.csv"
at_fn_check_prepare_trace "data-list.at:325"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "1       12      123     1234    12345    . 
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-list.at:325"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-list.at:330: cat print.txt"
at_fn_check_prepare_trace "data-list.at:330"
( $at_check_trace; cat print.txt
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "         1       12      123     1234    12345    . 
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-list.at:330"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-list.at:334: cat write.txt"
at_fn_check_prepare_trace "data-list.at:334"
( $at_check_trace; cat write.txt
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "        1       12      123     1234    12345    .
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-list.at:334"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_213
#AT_START_214
at_fn_group_banner 214 'data-list.at:339' \
  "DATA LIST FREE and LIST report missing delimiters" "" 26
at_xfail=no
(
  $as_echo "214. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >data-list.sps <<'_ATEOF'
DATA LIST FREE NOTABLE/s (a10).
LIST.
BEGIN DATA.
'y'z
END DATA.
_ATEOF

{ set +x
$as_echo "$at_srcdir/data-list.at:347: pspp -O format=csv data-list.sps"
at_fn_check_prepare_trace "data-list.at:347"
( $at_check_trace; pspp -O format=csv data-list.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "data-list.sps:4: warning: Missing delimiter following quoted string.

Table: Data List
s
y         
z         
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-list.at:347"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_214
#AT_START_215
at_fn_group_banner 215 'data-list.at:357' \
  "DATA LIST FREE and LIST assume a width if omitted" "" 26
at_xfail=no
(
  $as_echo "215. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >data-list.sps <<'_ATEOF'
DATA LIST FREE TABLE/s (a) d (datetime) f (f).
_ATEOF

{ set +x
$as_echo "$at_srcdir/data-list.at:361: pspp -O format=csv data-list.sps"
at_fn_check_prepare_trace "data-list.at:361"
( $at_check_trace; pspp -O format=csv data-list.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Reading free-form data from INLINE.
Variable,Format
s,A1
d,DATETIME17.0
f,F1.0
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-list.at:361"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_215
#AT_START_216
at_fn_group_banner 216 'data-list.at:370' \
  "DATA LIST Decimal comma" "                        " 26
at_xfail=no
(
  $as_echo "216. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >data-list.sps <<'_ATEOF'
SET DECIMAL=COMMA.

DATA LIST NOTABLE LIST /A *.
BEGIN DATA
1
2
3
3,5
4
4,5
5
6
END DATA

LIST /FORMAT=NUMBERED.
_ATEOF


{ set +x
$as_echo "$at_srcdir/data-list.at:389: pspp -O format=csv data-list.sps"
at_fn_check_prepare_trace "data-list.at:389"
( $at_check_trace; pspp -O format=csv data-list.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
Case Number,A
1,\"1,00\"
2,\"2,00\"
3,\"3,00\"
4,\"3,50\"
5,\"4,00\"
6,\"4,50\"
7,\"5,00\"
8,\"6,00\"
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-list.at:389"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_216
#AT_START_217
at_fn_group_banner 217 'data-list.at:405' \
  "DATA LIST - Negative SKIP" "                      " 26
at_xfail=no
(
  $as_echo "217. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >data-list.sps <<'_ATEOF'
DATA LIST LIST FILE='f.in' NOTABLE SKIP=-1 /a b c d.

EXECUTE.
_ATEOF


{ set +x
$as_echo "$at_srcdir/data-list.at:412: pspp -O format=csv data-list.sps"
at_fn_check_prepare_trace "data-list.at:412"
( $at_check_trace; pspp -O format=csv data-list.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "data-list.sps:1: error: DATA LIST: The SKIP value must be nonnegative.

data-list.sps:3: error: Stopping syntax file processing here to avoid a cascade of dependent command failures.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/data-list.at:412"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_217
#AT_START_218
at_fn_group_banner 218 'data-list.at:421' \
  "DATA LIST - Negative RECORDS" "                   " 26
at_xfail=no
(
  $as_echo "218. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >data-list.sps <<'_ATEOF'
DATA LIST LIST FILE='f.in' NOTABLE RECORDS=-1 /a b c d.

EXECUTE.
_ATEOF


{ set +x
$as_echo "$at_srcdir/data-list.at:428: pspp -O format=csv data-list.sps"
at_fn_check_prepare_trace "data-list.at:428"
( $at_check_trace; pspp -O format=csv data-list.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "data-list.sps:1: error: DATA LIST: The RECORDS value must be nonnegative.

data-list.sps:3: error: Stopping syntax file processing here to avoid a cascade of dependent command failures.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/data-list.at:428"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_218
#AT_START_219
at_fn_group_banner 219 'data-reader.at:21' \
  "BEGIN DATA as part of a procedure" "              " 27
at_xfail=no
(
  $as_echo "219. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >begin-data.sps <<'_ATEOF'
TITLE 'Test BEGIN DATA ... END DATA'.

DATA LIST /a b 1-2.
LIST.
BEGIN DATA.
12
34
56
78
90
END DATA.
_ATEOF

{ set +x
$as_echo "$at_srcdir/data-reader.at:35: pspp -O format=csv begin-data.sps"
at_fn_check_prepare_trace "data-reader.at:35"
( $at_check_trace; pspp -O format=csv begin-data.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Title: Test BEGIN DATA ... END DATA

Table: Reading 1 record from INLINE.
Variable,Record,Columns,Format
a,1,1-  1,F1.0
b,1,2-  2,F1.0

Table: Data List
a,b
1,2
3,4
5,6
7,8
9,0
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-reader.at:35"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_219
#AT_START_220
at_fn_group_banner 220 'data-reader.at:54' \
  "BEGIN DATA as an independent command" "           " 27
at_xfail=no
(
  $as_echo "220. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >begin-data.sps <<'_ATEOF'
data list /A B 1-2.
begin data.
09
87
65
43
21
end data.
list.
_ATEOF

{ set +x
$as_echo "$at_srcdir/data-reader.at:66: pspp -O format=csv begin-data.sps"
at_fn_check_prepare_trace "data-reader.at:66"
( $at_check_trace; pspp -O format=csv begin-data.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Reading 1 record from INLINE.
Variable,Record,Columns,Format
A,1,1-  1,F1.0
B,1,2-  2,F1.0

Table: Data List
A,B
0,9
8,7
6,5
4,3
2,1
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-reader.at:66"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_220
#AT_START_221
at_fn_group_banner 221 'data-reader.at:211' \
  "read and write files with MODE=BINARY" "          " 27
at_xfail=no
(
  $as_echo "221. $at_setup_line: testing $at_desc ..."
  $at_traceon


   cat >input.txt <<'_ATEOF'
07-22-2007
10-06-2007
321
07-14-1789
08-26-1789
4
01-01-1972
12-31-1999
682
_ATEOF

   cat >make-binary.pl <<'_ATEOF'
use strict;
use warnings;

# ASCII to EBCDIC translation table
our ($ascii2ebcdic) = ""
. "\x00\x01\x02\x03\x37\x2d\x2e\x2f"
. "\x16\x05\x25\x0b\x0c\x0d\x0e\x0f"
. "\x10\x11\x12\x13\x3c\x3d\x32\x26"
. "\x18\x19\x3f\x27\x1c\x1d\x1e\x1f"
. "\x40\x5a\x7f\x7b\x5b\x6c\x50\x7d"
. "\x4d\x5d\x5c\x4e\x6b\x60\x4b\x61"
. "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
. "\xf8\xf9\x7a\x5e\x4c\x7e\x6e\x6f"
. "\x7c\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
. "\xc8\xc9\xd1\xd2\xd3\xd4\xd5\xd6"
. "\xd7\xd8\xd9\xe2\xe3\xe4\xe5\xe6"
. "\xe7\xe8\xe9\xad\xe0\xbd\x9a\x6d"
. "\x79\x81\x82\x83\x84\x85\x86\x87"
. "\x88\x89\x91\x92\x93\x94\x95\x96"
. "\x97\x98\x99\xa2\xa3\xa4\xa5\xa6"
. "\xa7\xa8\xa9\xc0\x4f\xd0\x5f\x07"
. "\x20\x21\x22\x23\x24\x15\x06\x17"
. "\x28\x29\x2a\x2b\x2c\x09\x0a\x1b"
. "\x30\x31\x1a\x33\x34\x35\x36\x08"
. "\x38\x39\x3a\x3b\x04\x14\x3e\xe1"
. "\x41\x42\x43\x44\x45\x46\x47\x48"
. "\x49\x51\x52\x53\x54\x55\x56\x57"
. "\x58\x59\x62\x63\x64\x65\x66\x67"
. "\x68\x69\x70\x71\x72\x73\x74\x75"
. "\x76\x77\x78\x80\x8a\x8b\x8c\x8d"
. "\x8e\x8f\x90\x6a\x9b\x9c\x9d\x9e"
. "\x9f\xa0\xaa\xab\xac\x4a\xae\xaf"
. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
. "\xb8\xb9\xba\xbb\xbc\xa1\xbe\xbf"
. "\xca\xcb\xcc\xcd\xce\xcf\xda\xdb"
. "\xdc\xdd\xde\xdf\xea\xeb\xec\xed"
. "\xee\xef\xfa\xfb\xfc\xfd\xfe\xff";
length ($ascii2ebcdic) == 256 || die;

open (INPUT, '<', 'input.txt') or die "input.txt: open: $!\n";
my (@data) = <INPUT> or die;
close (INPUT) or die;
chomp $_ foreach @data;

our @records;

for $_ (@data) {
       my ($reclen) = pack ("V", length);
       print $reclen, $_, $reclen;
   }

sub a2e {
    local ($_) = @_;
    my ($s) = "";
    foreach (split (//)) {
        $s .= substr ($ascii2ebcdic, ord, 1);
    }
    return $s;
}

sub min {
    my ($a, $b) = @_;
    return $a < $b ? $a : $b
}

sub dump_records {
    while (@records) {
	my ($n) = min (int (rand (5)) + 1, scalar (@records));
	my (@r) = splice (@records, 0, $n);
	my ($len) = 0;
	$len += length foreach @r;
	print pack ("n xx", $len + 4);
	print foreach @r;
    }
}
_ATEOF

   { set +x
$as_echo "$at_srcdir/data-reader.at:211: \$PERL make-binary.pl < input.txt > input.bin"
at_fn_check_prepare_dynamic "$PERL make-binary.pl < input.txt > input.bin" "data-reader.at:211"
( $at_check_trace; $PERL make-binary.pl < input.txt > input.bin
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-reader.at:211"
$at_failed && at_fn_log_failure
$at_traceon; }

   cat >data-reader.sps <<'_ATEOF'
FILE HANDLE input/NAME='input.bin'/MODE=BINARY.
DATA LIST FIXED FILE=input NOTABLE
	/1 start 1-10 (ADATE)
	/2 end 1-10 (ADATE)
	/3 count 1-3.
LIST.

* Output the data to a new file in the same format.
FILE HANDLE OUTPUT/NAME='output.bin'/MODE=BINARY.
COMPUTE count=count + 1.
PRINT OUTFILE=output/start end count.
EXECUTE.
_ATEOF

   { set +x
$as_echo "$at_srcdir/data-reader.at:211: pspp -O format=csv data-reader.sps"
at_fn_check_prepare_trace "data-reader.at:211"
( $at_check_trace; pspp -O format=csv data-reader.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
start,end,count
07/22/2007,10/06/2007,321
07/14/1789,08/26/1789,4
01/01/1972,12/31/1999,682
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-reader.at:211"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/data-reader.at:211: test -s output.bin"
at_fn_check_prepare_trace "data-reader.at:211"
( $at_check_trace; test -s output.bin
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-reader.at:211"
$at_failed && at_fn_log_failure
$at_traceon; }

   cat >data-reader-2.sps <<'_ATEOF'
* Re-read the new data and list it, to verify that it was written correctly.
FILE HANDLE OUTPUT/NAME='output.bin'/MODE=BINARY.
DATA LIST FIXED FILE=output NOTABLE/
	start 2-11 (ADATE)
	end 13-22 (ADATE)
	count 24-26.
LIST.
_ATEOF

   { set +x
$as_echo "$at_srcdir/data-reader.at:211: pspp -O format=csv data-reader-2.sps"
at_fn_check_prepare_trace "data-reader.at:211"
( $at_check_trace; pspp -O format=csv data-reader-2.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
start,end,count
07/22/2007,10/06/2007,322
07/14/1789,08/26/1789,5
01/01/1972,12/31/1999,683
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-reader.at:211"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_221
#AT_START_222
at_fn_group_banner 222 'data-reader.at:217' \
  "read and write files with MODE=360 /RECFORM=FIXED /LRECL=32" "" 27
at_xfail=no
(
  $as_echo "222. $at_setup_line: testing $at_desc ..."
  $at_traceon

{ set +x
$as_echo "$at_srcdir/data-reader.at:217: i18n-test supports_encodings EBCDIC-US"
at_fn_check_prepare_trace "data-reader.at:217"
( $at_check_trace; i18n-test supports_encodings EBCDIC-US
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-reader.at:217"
$at_failed && at_fn_log_failure
$at_traceon; }

   cat >input.txt <<'_ATEOF'
07-22-2007
10-06-2007
321
07-14-1789
08-26-1789
4
01-01-1972
12-31-1999
682
_ATEOF

   cat >make-binary.pl <<'_ATEOF'
use strict;
use warnings;

# ASCII to EBCDIC translation table
our ($ascii2ebcdic) = ""
. "\x00\x01\x02\x03\x37\x2d\x2e\x2f"
. "\x16\x05\x25\x0b\x0c\x0d\x0e\x0f"
. "\x10\x11\x12\x13\x3c\x3d\x32\x26"
. "\x18\x19\x3f\x27\x1c\x1d\x1e\x1f"
. "\x40\x5a\x7f\x7b\x5b\x6c\x50\x7d"
. "\x4d\x5d\x5c\x4e\x6b\x60\x4b\x61"
. "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
. "\xf8\xf9\x7a\x5e\x4c\x7e\x6e\x6f"
. "\x7c\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
. "\xc8\xc9\xd1\xd2\xd3\xd4\xd5\xd6"
. "\xd7\xd8\xd9\xe2\xe3\xe4\xe5\xe6"
. "\xe7\xe8\xe9\xad\xe0\xbd\x9a\x6d"
. "\x79\x81\x82\x83\x84\x85\x86\x87"
. "\x88\x89\x91\x92\x93\x94\x95\x96"
. "\x97\x98\x99\xa2\xa3\xa4\xa5\xa6"
. "\xa7\xa8\xa9\xc0\x4f\xd0\x5f\x07"
. "\x20\x21\x22\x23\x24\x15\x06\x17"
. "\x28\x29\x2a\x2b\x2c\x09\x0a\x1b"
. "\x30\x31\x1a\x33\x34\x35\x36\x08"
. "\x38\x39\x3a\x3b\x04\x14\x3e\xe1"
. "\x41\x42\x43\x44\x45\x46\x47\x48"
. "\x49\x51\x52\x53\x54\x55\x56\x57"
. "\x58\x59\x62\x63\x64\x65\x66\x67"
. "\x68\x69\x70\x71\x72\x73\x74\x75"
. "\x76\x77\x78\x80\x8a\x8b\x8c\x8d"
. "\x8e\x8f\x90\x6a\x9b\x9c\x9d\x9e"
. "\x9f\xa0\xaa\xab\xac\x4a\xae\xaf"
. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
. "\xb8\xb9\xba\xbb\xbc\xa1\xbe\xbf"
. "\xca\xcb\xcc\xcd\xce\xcf\xda\xdb"
. "\xdc\xdd\xde\xdf\xea\xeb\xec\xed"
. "\xee\xef\xfa\xfb\xfc\xfd\xfe\xff";
length ($ascii2ebcdic) == 256 || die;

open (INPUT, '<', 'input.txt') or die "input.txt: open: $!\n";
my (@data) = <INPUT> or die;
close (INPUT) or die;
chomp $_ foreach @data;

our @records;

my ($lrecl) = 32;
   for $_ (@data) {
       my ($out) = substr ($_, 0, $lrecl);
       $out .= ' ' x ($lrecl - length ($out));
       length ($out) == 32 or die;
       print +a2e ($out);
   }

sub a2e {
    local ($_) = @_;
    my ($s) = "";
    foreach (split (//)) {
        $s .= substr ($ascii2ebcdic, ord, 1);
    }
    return $s;
}

sub min {
    my ($a, $b) = @_;
    return $a < $b ? $a : $b
}

sub dump_records {
    while (@records) {
	my ($n) = min (int (rand (5)) + 1, scalar (@records));
	my (@r) = splice (@records, 0, $n);
	my ($len) = 0;
	$len += length foreach @r;
	print pack ("n xx", $len + 4);
	print foreach @r;
    }
}
_ATEOF

   { set +x
$as_echo "$at_srcdir/data-reader.at:217: \$PERL make-binary.pl < input.txt > input.bin"
at_fn_check_prepare_dynamic "$PERL make-binary.pl < input.txt > input.bin" "data-reader.at:217"
( $at_check_trace; $PERL make-binary.pl < input.txt > input.bin
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-reader.at:217"
$at_failed && at_fn_log_failure
$at_traceon; }

   cat >data-reader.sps <<'_ATEOF'
FILE HANDLE input/NAME='input.bin'/MODE=360 /RECFORM=FIXED /LRECL=32.
DATA LIST FIXED FILE=input NOTABLE
	/1 start 1-10 (ADATE)
	/2 end 1-10 (ADATE)
	/3 count 1-3.
LIST.

* Output the data to a new file in the same format.
FILE HANDLE OUTPUT/NAME='output.bin'/MODE=360 /RECFORM=FIXED /LRECL=32.
COMPUTE count=count + 1.
PRINT OUTFILE=output/start end count.
EXECUTE.
_ATEOF

   { set +x
$as_echo "$at_srcdir/data-reader.at:217: pspp -O format=csv data-reader.sps"
at_fn_check_prepare_trace "data-reader.at:217"
( $at_check_trace; pspp -O format=csv data-reader.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
start,end,count
07/22/2007,10/06/2007,321
07/14/1789,08/26/1789,4
01/01/1972,12/31/1999,682
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-reader.at:217"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/data-reader.at:217: test -s output.bin"
at_fn_check_prepare_trace "data-reader.at:217"
( $at_check_trace; test -s output.bin
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-reader.at:217"
$at_failed && at_fn_log_failure
$at_traceon; }

   cat >data-reader-2.sps <<'_ATEOF'
* Re-read the new data and list it, to verify that it was written correctly.
FILE HANDLE OUTPUT/NAME='output.bin'/MODE=360 /RECFORM=FIXED /LRECL=32.
DATA LIST FIXED FILE=output NOTABLE/
	start 2-11 (ADATE)
	end 13-22 (ADATE)
	count 24-26.
LIST.
_ATEOF

   { set +x
$as_echo "$at_srcdir/data-reader.at:217: pspp -O format=csv data-reader-2.sps"
at_fn_check_prepare_trace "data-reader.at:217"
( $at_check_trace; pspp -O format=csv data-reader-2.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
start,end,count
07/22/2007,10/06/2007,322
07/14/1789,08/26/1789,5
01/01/1972,12/31/1999,683
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-reader.at:217"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_222
#AT_START_223
at_fn_group_banner 223 'data-reader.at:227' \
  "read and write files with MODE=360 /RECFORM=VARIABLE" "" 27
at_xfail=no
(
  $as_echo "223. $at_setup_line: testing $at_desc ..."
  $at_traceon

{ set +x
$as_echo "$at_srcdir/data-reader.at:227: i18n-test supports_encodings EBCDIC-US"
at_fn_check_prepare_trace "data-reader.at:227"
( $at_check_trace; i18n-test supports_encodings EBCDIC-US
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-reader.at:227"
$at_failed && at_fn_log_failure
$at_traceon; }

   cat >input.txt <<'_ATEOF'
07-22-2007
10-06-2007
321
07-14-1789
08-26-1789
4
01-01-1972
12-31-1999
682
_ATEOF

   cat >make-binary.pl <<'_ATEOF'
use strict;
use warnings;

# ASCII to EBCDIC translation table
our ($ascii2ebcdic) = ""
. "\x00\x01\x02\x03\x37\x2d\x2e\x2f"
. "\x16\x05\x25\x0b\x0c\x0d\x0e\x0f"
. "\x10\x11\x12\x13\x3c\x3d\x32\x26"
. "\x18\x19\x3f\x27\x1c\x1d\x1e\x1f"
. "\x40\x5a\x7f\x7b\x5b\x6c\x50\x7d"
. "\x4d\x5d\x5c\x4e\x6b\x60\x4b\x61"
. "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
. "\xf8\xf9\x7a\x5e\x4c\x7e\x6e\x6f"
. "\x7c\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
. "\xc8\xc9\xd1\xd2\xd3\xd4\xd5\xd6"
. "\xd7\xd8\xd9\xe2\xe3\xe4\xe5\xe6"
. "\xe7\xe8\xe9\xad\xe0\xbd\x9a\x6d"
. "\x79\x81\x82\x83\x84\x85\x86\x87"
. "\x88\x89\x91\x92\x93\x94\x95\x96"
. "\x97\x98\x99\xa2\xa3\xa4\xa5\xa6"
. "\xa7\xa8\xa9\xc0\x4f\xd0\x5f\x07"
. "\x20\x21\x22\x23\x24\x15\x06\x17"
. "\x28\x29\x2a\x2b\x2c\x09\x0a\x1b"
. "\x30\x31\x1a\x33\x34\x35\x36\x08"
. "\x38\x39\x3a\x3b\x04\x14\x3e\xe1"
. "\x41\x42\x43\x44\x45\x46\x47\x48"
. "\x49\x51\x52\x53\x54\x55\x56\x57"
. "\x58\x59\x62\x63\x64\x65\x66\x67"
. "\x68\x69\x70\x71\x72\x73\x74\x75"
. "\x76\x77\x78\x80\x8a\x8b\x8c\x8d"
. "\x8e\x8f\x90\x6a\x9b\x9c\x9d\x9e"
. "\x9f\xa0\xaa\xab\xac\x4a\xae\xaf"
. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
. "\xb8\xb9\xba\xbb\xbc\xa1\xbe\xbf"
. "\xca\xcb\xcc\xcd\xce\xcf\xda\xdb"
. "\xdc\xdd\xde\xdf\xea\xeb\xec\xed"
. "\xee\xef\xfa\xfb\xfc\xfd\xfe\xff";
length ($ascii2ebcdic) == 256 || die;

open (INPUT, '<', 'input.txt') or die "input.txt: open: $!\n";
my (@data) = <INPUT> or die;
close (INPUT) or die;
chomp $_ foreach @data;

our @records;

for $_ (@data) {
       push (@records, pack ("n xx", length ($_) + 4) . a2e ($_));
   }
   dump_records ();

sub a2e {
    local ($_) = @_;
    my ($s) = "";
    foreach (split (//)) {
        $s .= substr ($ascii2ebcdic, ord, 1);
    }
    return $s;
}

sub min {
    my ($a, $b) = @_;
    return $a < $b ? $a : $b
}

sub dump_records {
    while (@records) {
	my ($n) = min (int (rand (5)) + 1, scalar (@records));
	my (@r) = splice (@records, 0, $n);
	my ($len) = 0;
	$len += length foreach @r;
	print pack ("n xx", $len + 4);
	print foreach @r;
    }
}
_ATEOF

   { set +x
$as_echo "$at_srcdir/data-reader.at:227: \$PERL make-binary.pl < input.txt > input.bin"
at_fn_check_prepare_dynamic "$PERL make-binary.pl < input.txt > input.bin" "data-reader.at:227"
( $at_check_trace; $PERL make-binary.pl < input.txt > input.bin
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-reader.at:227"
$at_failed && at_fn_log_failure
$at_traceon; }

   cat >data-reader.sps <<'_ATEOF'
FILE HANDLE input/NAME='input.bin'/MODE=360 /RECFORM=VARIABLE.
DATA LIST FIXED FILE=input NOTABLE
	/1 start 1-10 (ADATE)
	/2 end 1-10 (ADATE)
	/3 count 1-3.
LIST.

* Output the data to a new file in the same format.
FILE HANDLE OUTPUT/NAME='output.bin'/MODE=360 /RECFORM=VARIABLE.
COMPUTE count=count + 1.
PRINT OUTFILE=output/start end count.
EXECUTE.
_ATEOF

   { set +x
$as_echo "$at_srcdir/data-reader.at:227: pspp -O format=csv data-reader.sps"
at_fn_check_prepare_trace "data-reader.at:227"
( $at_check_trace; pspp -O format=csv data-reader.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
start,end,count
07/22/2007,10/06/2007,321
07/14/1789,08/26/1789,4
01/01/1972,12/31/1999,682
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-reader.at:227"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/data-reader.at:227: test -s output.bin"
at_fn_check_prepare_trace "data-reader.at:227"
( $at_check_trace; test -s output.bin
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-reader.at:227"
$at_failed && at_fn_log_failure
$at_traceon; }

   cat >data-reader-2.sps <<'_ATEOF'
* Re-read the new data and list it, to verify that it was written correctly.
FILE HANDLE OUTPUT/NAME='output.bin'/MODE=360 /RECFORM=VARIABLE.
DATA LIST FIXED FILE=output NOTABLE/
	start 2-11 (ADATE)
	end 13-22 (ADATE)
	count 24-26.
LIST.
_ATEOF

   { set +x
$as_echo "$at_srcdir/data-reader.at:227: pspp -O format=csv data-reader-2.sps"
at_fn_check_prepare_trace "data-reader.at:227"
( $at_check_trace; pspp -O format=csv data-reader-2.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
start,end,count
07/22/2007,10/06/2007,322
07/14/1789,08/26/1789,5
01/01/1972,12/31/1999,683
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-reader.at:227"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_223
#AT_START_224
at_fn_group_banner 224 'data-reader.at:234' \
  "read and write files with MODE=360 /RECFORM=SPANNED" "" 27
at_xfail=no
(
  $as_echo "224. $at_setup_line: testing $at_desc ..."
  $at_traceon

{ set +x
$as_echo "$at_srcdir/data-reader.at:234: i18n-test supports_encodings EBCDIC-US"
at_fn_check_prepare_trace "data-reader.at:234"
( $at_check_trace; i18n-test supports_encodings EBCDIC-US
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-reader.at:234"
$at_failed && at_fn_log_failure
$at_traceon; }

   cat >input.txt <<'_ATEOF'
07-22-2007
10-06-2007
321
07-14-1789
08-26-1789
4
01-01-1972
12-31-1999
682
_ATEOF

   cat >make-binary.pl <<'_ATEOF'
use strict;
use warnings;

# ASCII to EBCDIC translation table
our ($ascii2ebcdic) = ""
. "\x00\x01\x02\x03\x37\x2d\x2e\x2f"
. "\x16\x05\x25\x0b\x0c\x0d\x0e\x0f"
. "\x10\x11\x12\x13\x3c\x3d\x32\x26"
. "\x18\x19\x3f\x27\x1c\x1d\x1e\x1f"
. "\x40\x5a\x7f\x7b\x5b\x6c\x50\x7d"
. "\x4d\x5d\x5c\x4e\x6b\x60\x4b\x61"
. "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
. "\xf8\xf9\x7a\x5e\x4c\x7e\x6e\x6f"
. "\x7c\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
. "\xc8\xc9\xd1\xd2\xd3\xd4\xd5\xd6"
. "\xd7\xd8\xd9\xe2\xe3\xe4\xe5\xe6"
. "\xe7\xe8\xe9\xad\xe0\xbd\x9a\x6d"
. "\x79\x81\x82\x83\x84\x85\x86\x87"
. "\x88\x89\x91\x92\x93\x94\x95\x96"
. "\x97\x98\x99\xa2\xa3\xa4\xa5\xa6"
. "\xa7\xa8\xa9\xc0\x4f\xd0\x5f\x07"
. "\x20\x21\x22\x23\x24\x15\x06\x17"
. "\x28\x29\x2a\x2b\x2c\x09\x0a\x1b"
. "\x30\x31\x1a\x33\x34\x35\x36\x08"
. "\x38\x39\x3a\x3b\x04\x14\x3e\xe1"
. "\x41\x42\x43\x44\x45\x46\x47\x48"
. "\x49\x51\x52\x53\x54\x55\x56\x57"
. "\x58\x59\x62\x63\x64\x65\x66\x67"
. "\x68\x69\x70\x71\x72\x73\x74\x75"
. "\x76\x77\x78\x80\x8a\x8b\x8c\x8d"
. "\x8e\x8f\x90\x6a\x9b\x9c\x9d\x9e"
. "\x9f\xa0\xaa\xab\xac\x4a\xae\xaf"
. "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
. "\xb8\xb9\xba\xbb\xbc\xa1\xbe\xbf"
. "\xca\xcb\xcc\xcd\xce\xcf\xda\xdb"
. "\xdc\xdd\xde\xdf\xea\xeb\xec\xed"
. "\xee\xef\xfa\xfb\xfc\xfd\xfe\xff";
length ($ascii2ebcdic) == 256 || die;

open (INPUT, '<', 'input.txt') or die "input.txt: open: $!\n";
my (@data) = <INPUT> or die;
close (INPUT) or die;
chomp $_ foreach @data;

our @records;

for my $line (@data) {
       local ($_) = $line;
       my (@r);
       while (length) {
	   my ($n) = min (int (rand (5)), length);
	   push (@r, substr ($_, 0, $n, ''));
       }
       foreach my $i (0...$#r) {
	   my $scc = ($#r == 0 ? 0
		      : $i == 0 ? 1
		      : $i == $#r ? 2
		      : 3);
	   push (@records,
		 pack ("nCx", length ($r[$i]) + 4, $scc) . a2e ($r[$i]));
       }
   }
   dump_records ();

sub a2e {
    local ($_) = @_;
    my ($s) = "";
    foreach (split (//)) {
        $s .= substr ($ascii2ebcdic, ord, 1);
    }
    return $s;
}

sub min {
    my ($a, $b) = @_;
    return $a < $b ? $a : $b
}

sub dump_records {
    while (@records) {
	my ($n) = min (int (rand (5)) + 1, scalar (@records));
	my (@r) = splice (@records, 0, $n);
	my ($len) = 0;
	$len += length foreach @r;
	print pack ("n xx", $len + 4);
	print foreach @r;
    }
}
_ATEOF

   { set +x
$as_echo "$at_srcdir/data-reader.at:234: \$PERL make-binary.pl < input.txt > input.bin"
at_fn_check_prepare_dynamic "$PERL make-binary.pl < input.txt > input.bin" "data-reader.at:234"
( $at_check_trace; $PERL make-binary.pl < input.txt > input.bin
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-reader.at:234"
$at_failed && at_fn_log_failure
$at_traceon; }

   cat >data-reader.sps <<'_ATEOF'
FILE HANDLE input/NAME='input.bin'/MODE=360 /RECFORM=SPANNED.
DATA LIST FIXED FILE=input NOTABLE
	/1 start 1-10 (ADATE)
	/2 end 1-10 (ADATE)
	/3 count 1-3.
LIST.

* Output the data to a new file in the same format.
FILE HANDLE OUTPUT/NAME='output.bin'/MODE=360 /RECFORM=SPANNED.
COMPUTE count=count + 1.
PRINT OUTFILE=output/start end count.
EXECUTE.
_ATEOF

   { set +x
$as_echo "$at_srcdir/data-reader.at:234: pspp -O format=csv data-reader.sps"
at_fn_check_prepare_trace "data-reader.at:234"
( $at_check_trace; pspp -O format=csv data-reader.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
start,end,count
07/22/2007,10/06/2007,321
07/14/1789,08/26/1789,4
01/01/1972,12/31/1999,682
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-reader.at:234"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/data-reader.at:234: test -s output.bin"
at_fn_check_prepare_trace "data-reader.at:234"
( $at_check_trace; test -s output.bin
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-reader.at:234"
$at_failed && at_fn_log_failure
$at_traceon; }

   cat >data-reader-2.sps <<'_ATEOF'
* Re-read the new data and list it, to verify that it was written correctly.
FILE HANDLE OUTPUT/NAME='output.bin'/MODE=360 /RECFORM=SPANNED.
DATA LIST FIXED FILE=output NOTABLE/
	start 2-11 (ADATE)
	end 13-22 (ADATE)
	count 24-26.
LIST.
_ATEOF

   { set +x
$as_echo "$at_srcdir/data-reader.at:234: pspp -O format=csv data-reader-2.sps"
at_fn_check_prepare_trace "data-reader.at:234"
( $at_check_trace; pspp -O format=csv data-reader-2.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
start,end,count
07/22/2007,10/06/2007,322
07/14/1789,08/26/1789,5
01/01/1972,12/31/1999,683
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/data-reader.at:234"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_224
#AT_START_225
at_fn_group_banner 225 'dataset.at:19' \
  "DATASET COPY" "                                   " 28
at_xfail=no
(
  $as_echo "225. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >dataset.pspp <<'_ATEOF'
DATASET NAME initial.
DATA LIST NOTABLE /x 1.
COMPUTE x = x + 1.
DATASET COPY clone.
BEGIN DATA.
1
2
3
4
5
END DATA.

NEW FILE.
DATA LIST NOTABLE /y 1.
BEGIN DATA.
6
7
8
END DATA.
LIST.
DATASET DISPLAY.

DATASET ACTIVATE clone.
DATASET DISPLAY.
LIST.

DATASET ACTIVATE initial.
DATASET DISPLAY.
LIST.

COMPUTE z=y.
DATASET COPY clone.

DATASET ACTIVATE clone.
LIST.
DATASET COPY clone.
DATASET DISPLAY.

DATASET CLOSE initial.
DATASET DISPLAY.
_ATEOF

{ set +x
$as_echo "$at_srcdir/dataset.at:62: pspp -O format=csv dataset.pspp"
at_fn_check_prepare_trace "dataset.at:62"
( $at_check_trace; pspp -O format=csv dataset.pspp
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
y
6
7
8

Table: Open datasets.
Dataset
clone
initial (active dataset)

Table: Open datasets.
Dataset
clone (active dataset)
initial

Table: Data List
x
2
3
4
5
6

Table: Open datasets.
Dataset
clone
initial (active dataset)

Table: Data List
y
6
7
8

Table: Data List
y,z
6,6.00
7,7.00
8,8.00

Table: Open datasets.
Dataset
unnamed dataset (active dataset)
initial

Table: Open datasets.
Dataset
unnamed dataset (active dataset)
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/dataset.at:62"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_225
#AT_START_226
at_fn_group_banner 226 'dataset.at:115' \
  "DATASET DECLARE" "                                " 28
at_xfail=no
(
  $as_echo "226. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >dataset.pspp <<'_ATEOF'
DATASET DECLARE second.
DATASET DISPLAY.
DATA LIST NOTABLE/x 1.
BEGIN DATA.
1
END DATA.
LIST.
DATASET ACTIVATE second.
DATASET DISPLAY.
LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/dataset.at:128: pspp -O format=csv dataset.pspp"
at_fn_check_prepare_trace "dataset.at:128"
( $at_check_trace; pspp -O format=csv dataset.pspp
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Open datasets.
Dataset
unnamed dataset (active dataset)
second

Table: Data List
x
1

Table: Open datasets.
Dataset
second (active dataset)

dataset.pspp:10: error: LIST: LIST is allowed only after the active dataset has been defined.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/dataset.at:128"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_226
#AT_START_227
at_fn_group_banner 227 'dataset.at:146' \
  "DATASET NAME deletes duplicate name" "            " 28
at_xfail=no
(
  $as_echo "227. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >dataset.pspp <<'_ATEOF'
DATASET NAME a.
DATASET DECLARE b.
DATASET DECLARE c.
DATASET DISPLAY.

DATASET NAME b.
DATASET NAME c.
DATASET DISPLAY.
_ATEOF

{ set +x
$as_echo "$at_srcdir/dataset.at:157: pspp -O format=csv dataset.pspp"
at_fn_check_prepare_trace "dataset.at:157"
( $at_check_trace; pspp -O format=csv dataset.pspp
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Open datasets.
Dataset
a (active dataset)
b
c

Table: Open datasets.
Dataset
c (active dataset)
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/dataset.at:157"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_227
#AT_START_228
at_fn_group_banner 228 'dataset.at:170' \
  "DATASET ACTIVATE deletes unnamed dataset" "       " 28
at_xfail=no
(
  $as_echo "228. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >dataset.pspp <<'_ATEOF'
DATASET DECLARE x.
DATASET DISPLAY.

DATASET ACTIVATE x.
DATASET DISPLAY.
_ATEOF

{ set +x
$as_echo "$at_srcdir/dataset.at:178: pspp -O format=csv dataset.pspp"
at_fn_check_prepare_trace "dataset.at:178"
( $at_check_trace; pspp -O format=csv dataset.pspp
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Open datasets.
Dataset
unnamed dataset (active dataset)
x

Table: Open datasets.
Dataset
x (active dataset)
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/dataset.at:178"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_228
#AT_START_229
at_fn_group_banner 229 'dataset.at:190' \
  "DATASET ACTIVATE executes pending transformations" "" 28
at_xfail=no
(
  $as_echo "229. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >dataset.pspp <<'_ATEOF'
DATASET NAME one.
DATASET DECLARE another.
DATASET DISPLAY.

DATA LIST NOTABLE /x 1.
PRINT/x.
DATASET ACTIVATE another.
BEGIN DATA.
1
2
3
4
5
END DATA.

LIST.

DATASET ACTIVATE one.
LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/dataset.at:212: pspp -O format=csv dataset.pspp"
at_fn_check_prepare_trace "dataset.at:212"
( $at_check_trace; pspp -O format=csv dataset.pspp
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Open datasets.
Dataset
another
one (active dataset)

1 

2 

3 

4 

5 

dataset.pspp:16: error: LIST: LIST is allowed only after the active dataset has been defined.

Table: Data List
x
1
2
3
4
5
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/dataset.at:212"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_229
#AT_START_230
at_fn_group_banner 230 'dataset.at:240' \
  "DATASET CLOSE" "                                  " 28
at_xfail=no
(
  $as_echo "230. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >dataset.pspp <<'_ATEOF'
DATASET DISPLAY
DATASET CLOSE *.
DATASET DISPLAY.

DATASET NAME this.
DATASET DISPLAY.
DATASET CLOSE this.
DATASET DISPLAY.

DATASET NAME this.
DATASET DISPLAY.
DATASET CLOSE *.
DATASET DISPLAY.

DATASET DECLARE that.
DATASET DECLARE theother.
DATASET DECLARE yetanother.
DATASET DISPLAY.
DATASET CLOSE ALL.
DATASET DISPLAY.

DATASET NAME this.
DATASET DECLARE that.
DATASET DECLARE theother.
DATASET DECLARE yetanother.
DATASET DISPLAY.
DATASET CLOSE ALL.
DATASET DISPLAY.
_ATEOF

{ set +x
$as_echo "$at_srcdir/dataset.at:271: pspp -O format=csv dataset.pspp"
at_fn_check_prepare_trace "dataset.at:271"
( $at_check_trace; pspp -O format=csv dataset.pspp
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Open datasets.
Dataset
unnamed dataset (active dataset)

Table: Open datasets.
Dataset
unnamed dataset (active dataset)

Table: Open datasets.
Dataset
this (active dataset)

Table: Open datasets.
Dataset
unnamed dataset (active dataset)

Table: Open datasets.
Dataset
this (active dataset)

Table: Open datasets.
Dataset
unnamed dataset (active dataset)

Table: Open datasets.
Dataset
unnamed dataset (active dataset)
that
theother
yetanother

Table: Open datasets.
Dataset
unnamed dataset (active dataset)

Table: Open datasets.
Dataset
that
theother
this (active dataset)
yetanother

Table: Open datasets.
Dataset
unnamed dataset (active dataset)
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/dataset.at:271"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_230
#AT_START_231
at_fn_group_banner 231 'file-handle.at:19' \
  "FILE HANDLE" "                                    " 29
at_xfail=no
(
  $as_echo "231. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >wiggle.txt <<'_ATEOF'
1
2
5
109
_ATEOF

cat >file-handle.sps <<'_ATEOF'
FILE HANDLE myhandle /NAME='wiggle.txt'.
DATA LIST LIST FILE=myhandle /x *.
LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/file-handle.at:31: pspp -O format=csv file-handle.sps"
at_fn_check_prepare_trace "file-handle.at:31"
( $at_check_trace; pspp -O format=csv file-handle.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Reading free-form data from myhandle.
Variable,Format
x,F8.0

Table: Data List
x
1.00
2.00
5.00
109.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/file-handle.at:31"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_231
#AT_START_232
at_fn_group_banner 232 'get-data-spreadsheet.at:167' \
  "GET DATA /TYPE=GNM with CELLRANGE" "              " 30
at_xfail=no
(
  $as_echo "232. $at_setup_line: testing $at_desc ..."
  $at_traceon

     { set +x
$as_echo "$at_srcdir/get-data-spreadsheet.at:167: gzip -c \$top_srcdir/tests/language/data-io/Book1.gnm.unzipped > Book1.gnumeric"
at_fn_check_prepare_dynamic "gzip -c $top_srcdir/tests/language/data-io/Book1.gnm.unzipped > Book1.gnumeric" "get-data-spreadsheet.at:167"
( $at_check_trace; gzip -c $top_srcdir/tests/language/data-io/Book1.gnm.unzipped > Book1.gnumeric
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get-data-spreadsheet.at:167"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >get-data.sps <<'_ATEOF'
GET DATA /TYPE=GNM /FILE='Book1.gnumeric'  /READNAMES=off /SHEET=name 'This' /CELLRANGE=range 'g9:i13' .
DISPLAY VARIABLES.
LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/get-data-spreadsheet.at:167: pspp -o pspp.csv get-data.sps"
at_fn_check_prepare_trace "get-data-spreadsheet.at:167"
( $at_check_trace; pspp -o pspp.csv get-data.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get-data-spreadsheet.at:167"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/get-data-spreadsheet.at:167: cat pspp.csv"
at_fn_check_prepare_trace "get-data-spreadsheet.at:167"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Variable,Description,Position
VAR001,Format: F8.2,1
VAR002,Format: A8,2
VAR003,Format: F8.2,3

Table: Data List
VAR001,VAR002,VAR003
.00,fred    ,20.00
1.00,11      ,21.00
2.00,twelve  ,22.00
3.00,13      ,23.00
4.00,14      ,24.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get-data-spreadsheet.at:167"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_232
#AT_START_233
at_fn_group_banner 233 'get-data-spreadsheet.at:167' \
  "GET DATA /TYPE=GNM with CELLRANGE and READNAMES" "" 30
at_xfail=no
(
  $as_echo "233. $at_setup_line: testing $at_desc ..."
  $at_traceon

     { set +x
$as_echo "$at_srcdir/get-data-spreadsheet.at:167: gzip -c \$top_srcdir/tests/language/data-io/Book1.gnm.unzipped > Book1.gnumeric"
at_fn_check_prepare_dynamic "gzip -c $top_srcdir/tests/language/data-io/Book1.gnm.unzipped > Book1.gnumeric" "get-data-spreadsheet.at:167"
( $at_check_trace; gzip -c $top_srcdir/tests/language/data-io/Book1.gnm.unzipped > Book1.gnumeric
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get-data-spreadsheet.at:167"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >get-data.sps <<'_ATEOF'
GET DATA /TYPE=GNM /FILE='Book1.gnumeric'  /READNAMES=on /SHEET=name 'This' /CELLRANGE=range 'g8:i13' .
DISPLAY VARIABLES.
LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/get-data-spreadsheet.at:167: pspp -o pspp.csv get-data.sps"
at_fn_check_prepare_trace "get-data-spreadsheet.at:167"
( $at_check_trace; pspp -o pspp.csv get-data.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get-data-spreadsheet.at:167"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/get-data-spreadsheet.at:167: cat pspp.csv"
at_fn_check_prepare_trace "get-data-spreadsheet.at:167"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Variable,Description,Position
V1,Format: F8.2,1
V2,Format: A8,2
VAR001,Format: F8.2,3

Table: Data List
V1,V2,VAR001
.00,fred    ,20.00
1.00,11      ,21.00
2.00,twelve  ,22.00
3.00,13      ,23.00
4.00,14      ,24.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get-data-spreadsheet.at:167"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_233
#AT_START_234
at_fn_group_banner 234 'get-data-spreadsheet.at:167' \
  "GET DATA /TYPE=GNM without CELLRANGE" "           " 30
at_xfail=no
(
  $as_echo "234. $at_setup_line: testing $at_desc ..."
  $at_traceon

     { set +x
$as_echo "$at_srcdir/get-data-spreadsheet.at:167: gzip -c \$top_srcdir/tests/language/data-io/Book1.gnm.unzipped > Book1.gnumeric"
at_fn_check_prepare_dynamic "gzip -c $top_srcdir/tests/language/data-io/Book1.gnm.unzipped > Book1.gnumeric" "get-data-spreadsheet.at:167"
( $at_check_trace; gzip -c $top_srcdir/tests/language/data-io/Book1.gnm.unzipped > Book1.gnumeric
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get-data-spreadsheet.at:167"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >get-data.sps <<'_ATEOF'
GET DATA /TYPE=GNM /FILE='Book1.gnumeric' /SHEET=index 3.
DISPLAY VARIABLES.
LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/get-data-spreadsheet.at:167: pspp -O format=csv get-data.sps"
at_fn_check_prepare_trace "get-data-spreadsheet.at:167"
( $at_check_trace; pspp -O format=csv get-data.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Variable,Description,Position
name,Format: A8,1
id,Format: F8.2,2
height,Format: F8.2,3

warning: Cannot convert the value in the spreadsheet cell C4 to format (F8.2): Field contents are not numeric.

Table: Data List
name,id,height
fred    ,.00,23.40
bert    ,1.00,.56
charlie ,2.00,.  
dick    ,3.00,-34.09
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get-data-spreadsheet.at:167"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_234
#AT_START_235
at_fn_group_banner 235 'get-data-spreadsheet.at:167' \
  "GET DATA /TYPE=GNM with missing data" "           " 30
at_xfail=no
(
  $as_echo "235. $at_setup_line: testing $at_desc ..."
  $at_traceon

     { set +x
$as_echo "$at_srcdir/get-data-spreadsheet.at:167: gzip -c \$top_srcdir/tests/language/data-io/Book1.gnm.unzipped > Book1.gnumeric"
at_fn_check_prepare_dynamic "gzip -c $top_srcdir/tests/language/data-io/Book1.gnm.unzipped > Book1.gnumeric" "get-data-spreadsheet.at:167"
( $at_check_trace; gzip -c $top_srcdir/tests/language/data-io/Book1.gnm.unzipped > Book1.gnumeric
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get-data-spreadsheet.at:167"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >get-data.sps <<'_ATEOF'
* This sheet has no data in one of its variables
GET DATA /TYPE=GNM /FILE='Book1.gnumeric' /READNAMES=on /SHEET=index 5.
DISPLAY VARIABLES.
LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/get-data-spreadsheet.at:167: pspp -o pspp.csv get-data.sps"
at_fn_check_prepare_trace "get-data-spreadsheet.at:167"
( $at_check_trace; pspp -o pspp.csv get-data.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get-data-spreadsheet.at:167"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/get-data-spreadsheet.at:167: cat pspp.csv"
at_fn_check_prepare_trace "get-data-spreadsheet.at:167"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Variable,Description,Position
vone,Format: F8.2,1
vtwo,Format: F8.2,2
vthree,Format: A8,3
v4,Format: F8.2,4

Table: Data List
vone,vtwo,vthree,v4
1.00,3.00,,5.00
2.00,4.00,,6.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get-data-spreadsheet.at:167"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_235
#AT_START_236
at_fn_group_banner 236 'get-data-spreadsheet.at:167' \
  "GET DATA /TYPE=GNM with no options" "             " 30
at_xfail=no
(
  $as_echo "236. $at_setup_line: testing $at_desc ..."
  $at_traceon

     { set +x
$as_echo "$at_srcdir/get-data-spreadsheet.at:167: gzip -c \$top_srcdir/tests/language/data-io/Book1.gnm.unzipped > Book1.gnumeric"
at_fn_check_prepare_dynamic "gzip -c $top_srcdir/tests/language/data-io/Book1.gnm.unzipped > Book1.gnumeric" "get-data-spreadsheet.at:167"
( $at_check_trace; gzip -c $top_srcdir/tests/language/data-io/Book1.gnm.unzipped > Book1.gnumeric
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get-data-spreadsheet.at:167"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >get-data.sps <<'_ATEOF'
* This sheet is empty
GET DATA /TYPE=GNM /FILE='Book1.gnumeric'.
DISPLAY DICTIONARY.
LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/get-data-spreadsheet.at:167: pspp -o pspp.csv get-data.sps"
at_fn_check_prepare_trace "get-data-spreadsheet.at:167"
( $at_check_trace; pspp -o pspp.csv get-data.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/get-data-spreadsheet.at:167"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_236
#AT_START_237
at_fn_group_banner 237 'get-data-spreadsheet.at:167' \
  "GET DATA /TYPE=GNM with empty sheet" "            " 30
at_xfail=no
(
  $as_echo "237. $at_setup_line: testing $at_desc ..."
  $at_traceon

     { set +x
$as_echo "$at_srcdir/get-data-spreadsheet.at:167: gzip -c \$top_srcdir/tests/language/data-io/Book1.gnm.unzipped > Book1.gnumeric"
at_fn_check_prepare_dynamic "gzip -c $top_srcdir/tests/language/data-io/Book1.gnm.unzipped > Book1.gnumeric" "get-data-spreadsheet.at:167"
( $at_check_trace; gzip -c $top_srcdir/tests/language/data-io/Book1.gnm.unzipped > Book1.gnumeric
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get-data-spreadsheet.at:167"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >get-data.sps <<'_ATEOF'
* This sheet is empty
GET DATA /TYPE=GNM /FILE='Book1.gnumeric' /SHEET=name 'Empty'.
_ATEOF

{ set +x
$as_echo "$at_srcdir/get-data-spreadsheet.at:167: pspp -o pspp.csv get-data.sps"
at_fn_check_prepare_trace "get-data-spreadsheet.at:167"
( $at_check_trace; pspp -o pspp.csv get-data.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "warning: Selected sheet or range of spreadsheet \`Book1.gnumeric' is empty.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get-data-spreadsheet.at:167"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_237
#AT_START_238
at_fn_group_banner 238 'get-data-spreadsheet.at:167' \
  "GET DATA /TYPE=GNM with nonexistent sheet" "      " 30
at_xfail=no
(
  $as_echo "238. $at_setup_line: testing $at_desc ..."
  $at_traceon

     { set +x
$as_echo "$at_srcdir/get-data-spreadsheet.at:167: gzip -c \$top_srcdir/tests/language/data-io/Book1.gnm.unzipped > Book1.gnumeric"
at_fn_check_prepare_dynamic "gzip -c $top_srcdir/tests/language/data-io/Book1.gnm.unzipped > Book1.gnumeric" "get-data-spreadsheet.at:167"
( $at_check_trace; gzip -c $top_srcdir/tests/language/data-io/Book1.gnm.unzipped > Book1.gnumeric
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get-data-spreadsheet.at:167"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >get-data.sps <<'_ATEOF'
* This sheet doesnt exist.
GET DATA /TYPE=GNM /FILE='Book1.gnumeric' /SHEET=name 'foobarxx'.
_ATEOF

{ set +x
$as_echo "$at_srcdir/get-data-spreadsheet.at:167: pspp -o pspp.csv get-data.sps"
at_fn_check_prepare_trace "get-data-spreadsheet.at:167"
( $at_check_trace; pspp -o pspp.csv get-data.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "warning: Selected sheet or range of spreadsheet \`Book1.gnumeric' is empty.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get-data-spreadsheet.at:167"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_238
#AT_START_239
at_fn_group_banner 239 'get-data-spreadsheet.at:170' \
  "GET DATA /TYPE=GNM sheet index bug" "             " 30
at_xfail=no
(
  $as_echo "239. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >minimal3.gnumeric <<'_ATEOF'
<?xml version="1.0" encoding="UTF-8"?>
<gnm:Workbook xmlns:gnm="http://www.gnumeric.org/v10.dtd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.gnumeric.org/v9.xsd">
  <gnm:Version Epoch="1" Major="10" Minor="8" Full="1.10.8"/>
  <gnm:SheetNameIndex>
    <gnm:SheetName gnm:Cols="256" gnm:Rows="65536">Sheet1</gnm:SheetName>
    <gnm:SheetName gnm:Cols="256" gnm:Rows="65536">Sheet2</gnm:SheetName>
    <gnm:SheetName gnm:Cols="256" gnm:Rows="65536">Sheet3</gnm:SheetName>
  </gnm:SheetNameIndex>
  <gnm:Sheets>
    <gnm:Sheet DisplayFormulas="0" HideZero="0" HideGrid="0" HideColHeader="0" HideRowHeader="0" DisplayOutlines="1" OutlineSymbolsBelow="1" OutlineSymbolsRight="1" Visibility="GNM_SHEET_VISIBILITY_VISIBLE" GridColor="0:0:0">
      <gnm:Name>Sheet1</gnm:Name>
      <gnm:MaxCol>2</gnm:MaxCol>
      <gnm:MaxRow>3</gnm:MaxRow>
      <gnm:Names>
        <gnm:Name>
          <gnm:name>Print_Area</gnm:name>
          <gnm:value>#REF!</gnm:value>
          <gnm:position>A1</gnm:position>
        </gnm:Name>
        <gnm:Name>
          <gnm:name>Sheet_Title</gnm:name>
          <gnm:value>&quot;Sheet1&quot;</gnm:value>
          <gnm:position>A1</gnm:position>
        </gnm:Name>
      </gnm:Names>
      <gnm:Cols DefaultSizePts="48">
        <gnm:ColInfo No="0" Unit="94.5" HardSize="1"/>
        <gnm:ColInfo No="1" Unit="48" Count="2"/>
      </gnm:Cols>
      <gnm:Rows DefaultSizePts="12.75">
        <gnm:RowInfo No="0" Unit="13.5" Count="4"/>
      </gnm:Rows>
      <gnm:Cells>
        <gnm:Cell Row="0" Col="0" ValueType="60">Name</gnm:Cell>
        <gnm:Cell Row="0" Col="1" ValueType="60">x</gnm:Cell>
        <gnm:Cell Row="0" Col="2" ValueType="60">y</gnm:Cell>
        <gnm:Cell Row="1" Col="0" ValueType="60">Sheet One</gnm:Cell>
        <gnm:Cell Row="1" Col="1" ValueType="40">1</gnm:Cell>
        <gnm:Cell Row="1" Col="2" ValueType="40">2</gnm:Cell>
        <gnm:Cell Row="2" Col="0" ValueType="60">foo</gnm:Cell>
        <gnm:Cell Row="2" Col="1" ValueType="40">3</gnm:Cell>
        <gnm:Cell Row="2" Col="2" ValueType="40">4</gnm:Cell>
        <gnm:Cell Row="3" Col="0" ValueType="60">bar</gnm:Cell>
        <gnm:Cell Row="3" Col="1" ValueType="40">5</gnm:Cell>
        <gnm:Cell Row="3" Col="2" ValueType="40">6</gnm:Cell>
      </gnm:Cells>
    </gnm:Sheet>
    <gnm:Sheet DisplayFormulas="0" HideZero="0" HideGrid="0" HideColHeader="0" HideRowHeader="0" DisplayOutlines="1" OutlineSymbolsBelow="1" OutlineSymbolsRight="1" Visibility="GNM_SHEET_VISIBILITY_VISIBLE" GridColor="0:0:0">
      <gnm:Name>Sheet2</gnm:Name>
      <gnm:MaxCol>2</gnm:MaxCol>
      <gnm:MaxRow>2</gnm:MaxRow>
      <gnm:Names>
        <gnm:Name>
          <gnm:name>Print_Area</gnm:name>
          <gnm:value>#REF!</gnm:value>
          <gnm:position>A1</gnm:position>
        </gnm:Name>
        <gnm:Name>
          <gnm:name>Sheet_Title</gnm:name>
          <gnm:value>&quot;Sheet2&quot;</gnm:value>
          <gnm:position>A1</gnm:position>
        </gnm:Name>
      </gnm:Names>
      <gnm:Cols DefaultSizePts="48">
        <gnm:ColInfo No="0" Unit="48"/>
        <gnm:ColInfo No="1" Unit="57.75"/>
        <gnm:ColInfo No="2" Unit="54.75"/>
      </gnm:Cols>
      <gnm:Rows DefaultSizePts="12.75">
        <gnm:RowInfo No="0" Unit="13.5" Count="3"/>
      </gnm:Rows>
      <gnm:Cells>
        <gnm:Cell Row="0" Col="0" ValueType="60">Comment</gnm:Cell>
        <gnm:Cell Row="0" Col="1" ValueType="60">DOB</gnm:Cell>
        <gnm:Cell Row="0" Col="2" ValueType="60">wealth</gnm:Cell>
        <gnm:Cell Row="1" Col="0" ValueType="60">Sheet Two</gnm:Cell>
        <gnm:Cell Row="1" Col="1" ValueType="60">24/5/1966</gnm:Cell>
        <gnm:Cell Row="1" Col="2" ValueType="40" ValueFormat="_($* 0.00_);_($* (0.00);_($* &quot;-&quot;??_);_(@_)">0.02</gnm:Cell>
        <gnm:Cell Row="2" Col="0" ValueType="60">wee</gnm:Cell>
        <gnm:Cell Row="2" Col="1" ValueType="40" ValueFormat="dd/mm/yyyy">37145</gnm:Cell>
        <gnm:Cell Row="2" Col="2" ValueType="40" ValueFormat="_($* 0.00_);_($* (0.00);_($* &quot;-&quot;??_);_(@_)">3000</gnm:Cell>
      </gnm:Cells>
    </gnm:Sheet>
    <gnm:Sheet DisplayFormulas="0" HideZero="0" HideGrid="0" HideColHeader="0" HideRowHeader="0" DisplayOutlines="1" OutlineSymbolsBelow="1" OutlineSymbolsRight="1" Visibility="GNM_SHEET_VISIBILITY_VISIBLE" GridColor="0:0:0">
      <gnm:Name>Sheet3</gnm:Name>
      <gnm:MaxCol>2</gnm:MaxCol>
      <gnm:MaxRow>2</gnm:MaxRow>
      <gnm:Names>
        <gnm:Name>
          <gnm:name>Print_Area</gnm:name>
          <gnm:value>#REF!</gnm:value>
          <gnm:position>A1</gnm:position>
        </gnm:Name>
        <gnm:Name>
          <gnm:name>Sheet_Title</gnm:name>
          <gnm:value>&quot;Sheet3&quot;</gnm:value>
          <gnm:position>A1</gnm:position>
        </gnm:Name>
      </gnm:Names>
      <gnm:Cols DefaultSizePts="48">
        <gnm:ColInfo No="0" Unit="48" Count="3"/>
      </gnm:Cols>
      <gnm:Rows DefaultSizePts="12.75">
        <gnm:RowInfo No="0" Unit="13.5"/>
        <gnm:RowInfo No="1" Unit="12.75" Count="2"/>
      </gnm:Rows>
      <gnm:Cells>
        <gnm:Cell Row="0" Col="0" ValueType="40">3</gnm:Cell>
        <gnm:Cell Row="0" Col="1" ValueType="40">4</gnm:Cell>
        <gnm:Cell Row="0" Col="2" ValueType="40">5</gnm:Cell>
        <gnm:Cell Row="1" Col="0" ValueType="40">6</gnm:Cell>
        <gnm:Cell Row="1" Col="1" ValueType="40">7</gnm:Cell>
        <gnm:Cell Row="1" Col="2" ValueType="40">8</gnm:Cell>
        <gnm:Cell Row="2" Col="0" ValueType="40">9</gnm:Cell>
        <gnm:Cell Row="2" Col="1" ValueType="40">10</gnm:Cell>
        <gnm:Cell Row="2" Col="2" ValueType="40">11</gnm:Cell>
      </gnm:Cells>
    </gnm:Sheet>
  </gnm:Sheets>
</gnm:Workbook>
_ATEOF


cat >gnum.sps <<'_ATEOF'
GET DATA
	/TYPE=GNM
        /FILE='minimal3.gnumeric'
	/SHEET=index 3
	/READNAMES=off
	.

LIST.
_ATEOF


{ set +x
$as_echo "$at_srcdir/get-data-spreadsheet.at:305: pspp -O format=csv gnum.sps"
at_fn_check_prepare_trace "get-data-spreadsheet.at:305"
( $at_check_trace; pspp -O format=csv gnum.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
VAR001,VAR002,VAR003
3       ,4.00,5.00
6       ,7.00,8.00
9       ,10.00,11.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get-data-spreadsheet.at:305"
$at_failed && at_fn_log_failure
$at_traceon; }



  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_239
#AT_START_240
at_fn_group_banner 240 'get-data-spreadsheet.at:318' \
  "GET DATA /TYPE=GNM assert-fail" "                 " 30
at_xfail=no
(
  $as_echo "240. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >read.sps <<'_ATEOF'
GET DATA
	/TYPE=GNM
	/FILE='crash.gnumeric'
	.
list.
_ATEOF



cat >crash.gnumeric <<'_ATEOF'
<?xml version="1.0" encoding="UTF-8"?>
<gnm:Workbook xmlns:gnm="http://www.gnumeric.org/v10.dtd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.gnumeric.org/v9.xsd">
  <office:document-meta xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:ooo="http://openoffice.org/2004/office" office:version="1.1">
  </office:document-meta>
  <gnm:SheetNameIndex>
    <gnm:SheetName gnm:Cols="256" gnm:Rows="65536">Sheet1</gnm:SheetName>
  </gnm:SheetNameIndex>
  <gnm:Sheets>
    <gnm:Sheet DisplayFormulas="0" HideZero="0" HideGrid="0" HideColHeader="0" HideRowHeader="0" DisplayOutlines="1" OutlineSymbolsBelow="1" OutlineSymbolsRight="1" Visibility="GNM_SHEET_VISIBILITY_VISIBLE" GridColor="0:0:0">
      <gnm:Name>Sheet1</gnm:Name>
      <gnm:MaxCol>2</gnm:MaxCol>
      <gnm:MaxRow>4</gnm:MaxRow>
      <gnm:Styles>
        <gnm:StyleRegion startCol="0" startRow="0" endCol="255" endRow="65535">
          <gnm:Style HAlign="1" VAlign="2" WrapText="0" ShrinkToFit="0" Rotation="0" Shade="0" Indent="0" Locked="1" Hidden="0" Fore="0:0:0" Back="FFFF:FFFF:FFFF" PatternColor="0:0:0" Format="General">
          </gnm:Style>
        </gnm:StyleRegion>
      </gnm:Styles>
      <gnm:Cells>
        <gnm:Cell Row="1" Col="1" ValueType="60">one</gnm:Cell>
        <gnm:Cell Row="1" Col="2" ValueType="60">two</gnm:Cell>
        <gnm:Cell Row="2" Col="1" ValueType="40">1</gnm:Cell>
        <gnm:Cell Row="2" Col="2" ValueType="40">2</gnm:Cell>
        <gnm:Cell Row="3" Col="1" ValueType="40">1</gnm:Cell>
        <gnm:Cell Row="3" Col="2" ValueType="40">2</gnm:Cell>
        <gnm:Cell Row="4" Col="1" ValueType="40">1</gnm:Cell>
        <gnm:Cell Row="4" Col="2" ValueType="40">2</gnm:Cell>
      </gnm:Cells>
    </gnm:Sheet>
  </gnm:Sheets>
</gnm:Workbook>
_ATEOF


{ set +x
$as_echo "$at_srcdir/get-data-spreadsheet.at:362: pspp -O format=csv read.sps"
at_fn_check_prepare_trace "get-data-spreadsheet.at:362"
( $at_check_trace; pspp -O format=csv read.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/get-data-spreadsheet.at:362"
$at_failed && at_fn_log_failure
$at_traceon; }



  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_240
#AT_START_241
at_fn_group_banner 241 'get-data-spreadsheet.at:371' \
  "GET DATA /TYPE=ODS with CELLRANGE" "              " 31
at_xfail=no
(
  $as_echo "241. $at_setup_line: testing $at_desc ..."
  $at_traceon

       { set +x
$as_echo "$at_srcdir/get-data-spreadsheet.at:371: cp \$top_srcdir/tests/language/data-io/test.ods test.ods"
at_fn_check_prepare_dynamic "cp $top_srcdir/tests/language/data-io/test.ods test.ods" "get-data-spreadsheet.at:371"
( $at_check_trace; cp $top_srcdir/tests/language/data-io/test.ods test.ods
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get-data-spreadsheet.at:371"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >get-data.sps <<'_ATEOF'
GET DATA /TYPE=ODS /FILE='test.ods'  /READNAMES=off /SHEET=name 'This' /CELLRANGE=range 'g9:i13' .
DISPLAY VARIABLES.
LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/get-data-spreadsheet.at:371: pspp -o pspp.csv get-data.sps"
at_fn_check_prepare_trace "get-data-spreadsheet.at:371"
( $at_check_trace; pspp -o pspp.csv get-data.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get-data-spreadsheet.at:371"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/get-data-spreadsheet.at:371: cat pspp.csv"
at_fn_check_prepare_trace "get-data-spreadsheet.at:371"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Variable,Description,Position
VAR001,Format: F8.2,1
VAR002,Format: A8,2
VAR003,Format: F8.2,3

Table: Data List
VAR001,VAR002,VAR003
.00,fred    ,20.00
1.00,11      ,21.00
2.00,twelve  ,22.00
3.00,13      ,23.00
4.00,14      ,24.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get-data-spreadsheet.at:371"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_241
#AT_START_242
at_fn_group_banner 242 'get-data-spreadsheet.at:371' \
  "GET DATA /TYPE=ODS with CELLRANGE and READNAMES" "" 31
at_xfail=no
(
  $as_echo "242. $at_setup_line: testing $at_desc ..."
  $at_traceon

       { set +x
$as_echo "$at_srcdir/get-data-spreadsheet.at:371: cp \$top_srcdir/tests/language/data-io/test.ods test.ods"
at_fn_check_prepare_dynamic "cp $top_srcdir/tests/language/data-io/test.ods test.ods" "get-data-spreadsheet.at:371"
( $at_check_trace; cp $top_srcdir/tests/language/data-io/test.ods test.ods
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get-data-spreadsheet.at:371"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >get-data.sps <<'_ATEOF'
GET DATA /TYPE=ODS /FILE='test.ods'  /READNAMES=on /SHEET=name 'This' /CELLRANGE=range 'g8:i13' .
DISPLAY VARIABLES.
LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/get-data-spreadsheet.at:371: pspp -o pspp.csv get-data.sps"
at_fn_check_prepare_trace "get-data-spreadsheet.at:371"
( $at_check_trace; pspp -o pspp.csv get-data.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get-data-spreadsheet.at:371"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/get-data-spreadsheet.at:371: cat pspp.csv"
at_fn_check_prepare_trace "get-data-spreadsheet.at:371"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Variable,Description,Position
V1,Format: F8.2,1
V2,Format: A8,2
VAR001,Format: F8.2,3

Table: Data List
V1,V2,VAR001
.00,fred    ,20.00
1.00,11      ,21.00
2.00,twelve  ,22.00
3.00,13      ,23.00
4.00,14      ,24.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get-data-spreadsheet.at:371"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_242
#AT_START_243
at_fn_group_banner 243 'get-data-spreadsheet.at:371' \
  "GET DATA /TYPE=ODS without CELLRANGE" "           " 31
at_xfail=no
(
  $as_echo "243. $at_setup_line: testing $at_desc ..."
  $at_traceon

       { set +x
$as_echo "$at_srcdir/get-data-spreadsheet.at:371: cp \$top_srcdir/tests/language/data-io/test.ods test.ods"
at_fn_check_prepare_dynamic "cp $top_srcdir/tests/language/data-io/test.ods test.ods" "get-data-spreadsheet.at:371"
( $at_check_trace; cp $top_srcdir/tests/language/data-io/test.ods test.ods
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get-data-spreadsheet.at:371"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >get-data.sps <<'_ATEOF'
GET DATA /TYPE=ODS /FILE='test.ods' /SHEET=index 3.
DISPLAY VARIABLES.
LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/get-data-spreadsheet.at:371: pspp -O format=csv get-data.sps"
at_fn_check_prepare_trace "get-data-spreadsheet.at:371"
( $at_check_trace; pspp -O format=csv get-data.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Variable,Description,Position
name,Format: A8,1
id,Format: F8.2,2
height,Format: F8.2,3

warning: Cannot convert the value in the spreadsheet cell C4 to format (F8.2): Field contents are not numeric.

Table: Data List
name,id,height
fred    ,.00,23.40
bert    ,1.00,.56
charlie ,2.00,.  
dick    ,3.00,-34.09
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get-data-spreadsheet.at:371"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_243
#AT_START_244
at_fn_group_banner 244 'get-data-spreadsheet.at:371' \
  "GET DATA /TYPE=ODS with missing data" "           " 31
at_xfail=no
(
  $as_echo "244. $at_setup_line: testing $at_desc ..."
  $at_traceon

       { set +x
$as_echo "$at_srcdir/get-data-spreadsheet.at:371: cp \$top_srcdir/tests/language/data-io/test.ods test.ods"
at_fn_check_prepare_dynamic "cp $top_srcdir/tests/language/data-io/test.ods test.ods" "get-data-spreadsheet.at:371"
( $at_check_trace; cp $top_srcdir/tests/language/data-io/test.ods test.ods
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get-data-spreadsheet.at:371"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >get-data.sps <<'_ATEOF'
* This sheet has no data in one of its variables
GET DATA /TYPE=ODS /FILE='test.ods' /READNAMES=on /SHEET=index 5.
DISPLAY VARIABLES.
LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/get-data-spreadsheet.at:371: pspp -o pspp.csv get-data.sps"
at_fn_check_prepare_trace "get-data-spreadsheet.at:371"
( $at_check_trace; pspp -o pspp.csv get-data.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get-data-spreadsheet.at:371"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/get-data-spreadsheet.at:371: cat pspp.csv"
at_fn_check_prepare_trace "get-data-spreadsheet.at:371"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Variable,Description,Position
vone,Format: F8.2,1
vtwo,Format: F8.2,2
vthree,Format: A8,3
v4,Format: F8.2,4

Table: Data List
vone,vtwo,vthree,v4
1.00,3.00,,5.00
2.00,4.00,,6.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get-data-spreadsheet.at:371"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_244
#AT_START_245
at_fn_group_banner 245 'get-data-spreadsheet.at:371' \
  "GET DATA /TYPE=ODS with no options" "             " 31
at_xfail=no
(
  $as_echo "245. $at_setup_line: testing $at_desc ..."
  $at_traceon

       { set +x
$as_echo "$at_srcdir/get-data-spreadsheet.at:371: cp \$top_srcdir/tests/language/data-io/test.ods test.ods"
at_fn_check_prepare_dynamic "cp $top_srcdir/tests/language/data-io/test.ods test.ods" "get-data-spreadsheet.at:371"
( $at_check_trace; cp $top_srcdir/tests/language/data-io/test.ods test.ods
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get-data-spreadsheet.at:371"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >get-data.sps <<'_ATEOF'
* This sheet is empty
GET DATA /TYPE=ODS /FILE='test.ods'.
DISPLAY DICTIONARY.
LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/get-data-spreadsheet.at:371: pspp -o pspp.csv get-data.sps"
at_fn_check_prepare_trace "get-data-spreadsheet.at:371"
( $at_check_trace; pspp -o pspp.csv get-data.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/get-data-spreadsheet.at:371"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_245
#AT_START_246
at_fn_group_banner 246 'get-data-spreadsheet.at:371' \
  "GET DATA /TYPE=ODS with empty sheet" "            " 31
at_xfail=no
(
  $as_echo "246. $at_setup_line: testing $at_desc ..."
  $at_traceon

       { set +x
$as_echo "$at_srcdir/get-data-spreadsheet.at:371: cp \$top_srcdir/tests/language/data-io/test.ods test.ods"
at_fn_check_prepare_dynamic "cp $top_srcdir/tests/language/data-io/test.ods test.ods" "get-data-spreadsheet.at:371"
( $at_check_trace; cp $top_srcdir/tests/language/data-io/test.ods test.ods
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get-data-spreadsheet.at:371"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >get-data.sps <<'_ATEOF'
* This sheet is empty
GET DATA /TYPE=ODS /FILE='test.ods' /SHEET=name 'Empty'.
_ATEOF

{ set +x
$as_echo "$at_srcdir/get-data-spreadsheet.at:371: pspp -o pspp.csv get-data.sps"
at_fn_check_prepare_trace "get-data-spreadsheet.at:371"
( $at_check_trace; pspp -o pspp.csv get-data.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "warning: Selected sheet or range of spreadsheet \`test.ods' is empty.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get-data-spreadsheet.at:371"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_246
#AT_START_247
at_fn_group_banner 247 'get-data-spreadsheet.at:371' \
  "GET DATA /TYPE=ODS with nonexistent sheet" "      " 31
at_xfail=no
(
  $as_echo "247. $at_setup_line: testing $at_desc ..."
  $at_traceon

       { set +x
$as_echo "$at_srcdir/get-data-spreadsheet.at:371: cp \$top_srcdir/tests/language/data-io/test.ods test.ods"
at_fn_check_prepare_dynamic "cp $top_srcdir/tests/language/data-io/test.ods test.ods" "get-data-spreadsheet.at:371"
( $at_check_trace; cp $top_srcdir/tests/language/data-io/test.ods test.ods
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get-data-spreadsheet.at:371"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >get-data.sps <<'_ATEOF'
* This sheet doesnt exist.
GET DATA /TYPE=ODS /FILE='test.ods' /SHEET=name 'foobarxx'.
_ATEOF

{ set +x
$as_echo "$at_srcdir/get-data-spreadsheet.at:371: pspp -o pspp.csv get-data.sps"
at_fn_check_prepare_trace "get-data-spreadsheet.at:371"
( $at_check_trace; pspp -o pspp.csv get-data.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "warning: Selected sheet or range of spreadsheet \`test.ods' is empty.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get-data-spreadsheet.at:371"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_247
#AT_START_248
at_fn_group_banner 248 'get-data-spreadsheet.at:374' \
  "GET DATA /TYPE=ODS crash" "                       " 31
at_xfail=no
(
  $as_echo "248. $at_setup_line: testing $at_desc ..."
  $at_traceon



{ set +x
$as_echo "$at_srcdir/get-data-spreadsheet.at:377: cp \$top_srcdir/tests/language/data-io/newone.ods this.ods"
at_fn_check_prepare_dynamic "cp $top_srcdir/tests/language/data-io/newone.ods this.ods" "get-data-spreadsheet.at:377"
( $at_check_trace; cp $top_srcdir/tests/language/data-io/newone.ods this.ods
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get-data-spreadsheet.at:377"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >crash.sps <<'_ATEOF'
GET DATA /TYPE=ODS /FILE='this.ods' /CELLRANGE=RANGE 'A1:C8'  /READNAMES=ON
LIST.
_ATEOF


{ set +x
$as_echo "$at_srcdir/get-data-spreadsheet.at:384: pspp -O format=csv crash.sps"
at_fn_check_prepare_trace "get-data-spreadsheet.at:384"
( $at_check_trace; pspp -O format=csv crash.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/get-data-spreadsheet.at:384"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_248
#AT_START_249
at_fn_group_banner 249 'get-data-spreadsheet.at:389' \
  "GET DATA /TYPE=ODS readnames" "                   " 31
at_xfail=no
(
  $as_echo "249. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/get-data-spreadsheet.at:393: cp \$top_srcdir/tests/language/data-io/readnames.ods this.ods"
at_fn_check_prepare_dynamic "cp $top_srcdir/tests/language/data-io/readnames.ods this.ods" "get-data-spreadsheet.at:393"
( $at_check_trace; cp $top_srcdir/tests/language/data-io/readnames.ods this.ods
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get-data-spreadsheet.at:393"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >readnames.sps <<'_ATEOF'
GET DATA /TYPE=ODS /FILE='this.ods' /CELLRANGE=RANGE 'A1:H8' /READNAMES=ON
DISPLAY DICTIONARY.
LIST.
_ATEOF



{ set +x
$as_echo "$at_srcdir/get-data-spreadsheet.at:402: pspp -O format=csv readnames.sps"
at_fn_check_prepare_trace "get-data-spreadsheet.at:402"
( $at_check_trace; pspp -O format=csv readnames.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Variable,Description,Position
freda,Format: F8.2,1
fred,Format: F8.2,2
fred_A,Format: F8.2,3
fred_B,Format: F8.2,4
fred_C,Format: F8.2,5
fred_D,Format: F8.2,6
fred_E,Format: F8.2,7

Table: Data List
freda,fred,fred_A,fred_B,fred_C,fred_D,fred_E
1.00,2.00,3.00,4.00,5.00,6.00,7.00
8.00,9.00,10.00,11.00,12.00,13.00,14.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get-data-spreadsheet.at:402"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_249
#AT_START_250
at_fn_group_banner 250 'get-data-psql.at:140' \
  "GET DATA /TYPE=PSQL" "                            " 32
at_xfail=no
(
  $as_echo "250. $at_setup_line: testing $at_desc ..."
  $at_traceon

$as_echo "get-data-psql.at:141" >"$at_check_line_file"
(test "$PSQL_SUPPORT" = no) \
  && at_fn_check_skip 77 "$at_srcdir/get-data-psql.at:141"
   PATH=$PG_PATH:$PATH
   export PATH
   PGDATA=`pwd`/cluster
   export PGDATA
   PGPORT=$PG_PORT
   export PGPORT
   socket_dir=`mktemp -d`
   PGHOST="$socket_dir"
   export PGHOST
   { set +x
$as_echo "$at_srcdir/get-data-psql.at:141: initdb -A trust"
at_fn_check_prepare_trace "get-data-psql.at:141"
( $at_check_trace; initdb -A trust
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/get-data-psql.at:141"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/get-data-psql.at:141: pg_ctl start -w -o \"-k \$socket_dir -h ''\""
at_fn_check_prepare_dynamic "pg_ctl start -w -o \"-k $socket_dir -h ''\"" "get-data-psql.at:141"
( $at_check_trace; pg_ctl start -w -o "-k $socket_dir -h ''"
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/get-data-psql.at:141"
$at_failed && at_fn_log_failure
$at_traceon; }

   trap 'pg_ctl stop -W -o "-k $socket_dir -h ''"' 0
   { set +x
$as_echo "$at_srcdir/get-data-psql.at:141: createdb -h \"\$socket_dir\" -p \$PG_PORT \$PG_DBASE"
at_fn_check_prepare_dynamic "createdb -h \"$socket_dir\" -p $PG_PORT $PG_DBASE" "get-data-psql.at:141"
( $at_check_trace; createdb -h "$socket_dir" -p $PG_PORT $PG_DBASE
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/get-data-psql.at:141"
$at_failed && at_fn_log_failure
$at_traceon; }

   cat >populate.sql <<'_ATEOF'
CREATE TABLE empty (a int, b date, c numeric(23, 4));

      -- a largeish table to check big queries work ok.
      CREATE TABLE large (x int);
      INSERT INTO large  (select * from generate_series(1, 1000));


      CREATE TABLE thing (
       bool    bool                      ,
       bytea   bytea                     ,
       char    char                      ,
       int8    int8                      ,
       int2    int2                      ,
       int4    int4                      ,
       numeric       numeric(50,6)       ,
       text    text                      ,
       oid     oid                       ,
       float4  float4                    ,
       float8  float8                    ,
       money   money                     ,
       pbchar  bpchar                    ,
       varchar varchar                   ,
       date    date                      ,
       time    time                      ,
       timestamp     timestamp           ,
       timestamptz   timestamptz         ,
       interval      interval            ,
       timetz        timetz
      );

      INSERT INTO thing VALUES (
       false,
       '0',
       'a',
       '0',
       0,
       0,
       -256.098,
       'this-long-text',
       0,
       0,
       0,
       '0.01',
       'a',
       'A',
       '1-Jan-2000',
       '00:00',
       'January 8 04:05:06 1999',
       'January 8 04:05:06 1999 PST',
       '1 minutes',
       '10:09 UTC+4'
      );

      INSERT INTO thing VALUES (
       null,
       null,
       null,
       null,
       null,
       null,
       null,
       null,
       null,
       null,
       null,
       null,
       null,
       null,
       null,
       null,
       null,
       null,
       null,
       null
      );

      INSERT INTO thing VALUES (
       true,
       '1',
       'b',
       '1',
       1,
       1,
       65535.00001,
       'that-long-text',
       1,
       1,
       1,
       '1.23',
       'b',
       'B',
       '10-Jan-1963',
       '01:05:02',
       '10-Jan-1963 23:58:00',
       '10-Jan-1963 23:58:00 CET',
       '2 year 1 month 12 days 1 hours 3 minutes 4 seconds',
       '01:05:02 UTC-7'
      );
_ATEOF

   { set +x
$as_echo "$at_srcdir/get-data-psql.at:141: psql -h \"\$socket_dir\" -p \$PG_PORT \$PG_DBASE < populate.sql"
at_fn_check_prepare_dynamic "psql -h \"$socket_dir\" -p $PG_PORT $PG_DBASE < populate.sql" "get-data-psql.at:141"
( $at_check_trace; psql -h "$socket_dir" -p $PG_PORT $PG_DBASE < populate.sql
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/get-data-psql.at:141"
$at_failed && at_fn_log_failure
$at_traceon; }


{ set +x
$as_echo "$at_srcdir/get-data-psql.at:144: cat > ordinary-query.sps <<EOF
GET DATA /TYPE=psql
	/CONNECT=\"host=\$socket_dir port=\$PGPORT dbname=\$PG_DBASE\"
	/UNENCRYPTED
	/SQL=\"select * from thing\".

DISPLAY DICTIONARY.

LIST.
EOF
"
at_fn_check_prepare_notrace 'an embedded newline' "get-data-psql.at:144"
( $at_check_trace; cat > ordinary-query.sps <<EOF
GET DATA /TYPE=psql
	/CONNECT="host=$socket_dir port=$PGPORT dbname=$PG_DBASE"
	/UNENCRYPTED
	/SQL="select * from thing".

DISPLAY DICTIONARY.

LIST.
EOF

) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get-data-psql.at:144"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/get-data-psql.at:155: pspp -o pspp.csv ordinary-query.sps"
at_fn_check_prepare_trace "get-data-psql.at:155"
( $at_check_trace; pspp -o pspp.csv ordinary-query.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get-data-psql.at:155"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/get-data-psql.at:156: cat pspp.csv"
at_fn_check_prepare_trace "get-data-psql.at:156"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Variable,Description,Position
bool,Format: F8.2,1
bytea,Format: AHEX2,2
char,Format: A8,3
int8,Format: F8.2,4
int2,Format: F8.2,5
int4,Format: F8.2,6
numeric,Format: E40.6,7
text,Format: A16,8
oid,Format: F8.2,9
float4,Format: F8.2,10
float8,Format: F8.2,11
money,Format: DOLLAR8.2,12
pbchar,Format: A8,13
varchar,Format: A8,14
date,Format: DATE11,15
time,Format: TIME11.0,16
timestamp,Format: DATETIME22.0,17
timestamptz,Format: DATETIME22.0,18
interval,Format: DTIME13.0,19
interval_months,Format: F3.0,20
timetz,Format: TIME11.0,21
timetz_zone,Format: F8.2,22

Table: Data List
bool,bytea,char,int8,int2,int4,numeric,text,oid,float4,float8,money,pbchar,varchar,date,time,timestamp,timestamptz,interval,interval_months,timetz,timetz_zone
.00,30,a       ,.00,.00,.00,-2.560980E+002,this-long-text  ,.00,.00,.00,\$.01,a       ,A       ,01-JAN-2000,0:00:00,08-JAN-1999 04:05:06,08-JAN-1999 12:05:06,0 00:01:00,0,10:09:00,4.00
.  ,20,,.  ,.  ,.  ,.          ,,.  ,.  ,.  ,.  ,,,.,.,.,.,.,.,.,.  
1.00,31,b       ,1.00,1.00,1.00,6.553500E+004,that-long-text  ,.00,1.00,1.00,\$1.23,b       ,B       ,10-JAN-1963,1:05:02,10-JAN-1963 23:58:00,10-JAN-1963 22:58:00,12 01:03:04,25,1:05:02,-7.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get-data-psql.at:156"
$at_failed && at_fn_log_failure
$at_traceon; }


{ set +x
$as_echo "$at_srcdir/get-data-psql.at:189: cat > empty-result.sps <<EOF
GET DATA /TYPE=psql
	/CONNECT=\"host=\$socket_dir port=\$PGPORT dbname=\$PG_DBASE\"
	/UNENCRYPTED
	/SQL=\"select * from empty\".

DISPLAY DICTIONARY.

LIST.
EOF
"
at_fn_check_prepare_notrace 'an embedded newline' "get-data-psql.at:189"
( $at_check_trace; cat > empty-result.sps <<EOF
GET DATA /TYPE=psql
	/CONNECT="host=$socket_dir port=$PGPORT dbname=$PG_DBASE"
	/UNENCRYPTED
	/SQL="select * from empty".

DISPLAY DICTIONARY.

LIST.
EOF

) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get-data-psql.at:189"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/get-data-psql.at:200: pspp -o pspp.csv empty-result.sps"
at_fn_check_prepare_trace "get-data-psql.at:200"
( $at_check_trace; pspp -o pspp.csv empty-result.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get-data-psql.at:200"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/get-data-psql.at:201: cat pspp.csv"
at_fn_check_prepare_trace "get-data-psql.at:201"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Variable,Description,Position
a,Format: F8.2,1
b,Format: DATE11,2
c,Format: E40.2,3
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get-data-psql.at:201"
$at_failed && at_fn_log_failure
$at_traceon; }


{ set +x
$as_echo "$at_srcdir/get-data-psql.at:209: cat > large-result.sps <<EOF
GET DATA /TYPE=psql
	/CONNECT=\"host=\$socket_dir port=\$PGPORT dbname=\$PG_DBASE\"
	/UNENCRYPTED
	/SQL=\"select * from large\".

NUMERIC diff.
COMPUTE diff = x - lag (x).

TEMPORARY.
SELECT IF (diff <> 1).
LIST.

TEMPORARY.
N OF CASES 6.
LIST.

SORT CASES BY x (D).

TEMPORARY.
N OF CASES 6.
LIST.
EOF
"
at_fn_check_prepare_notrace 'an embedded newline' "get-data-psql.at:209"
( $at_check_trace; cat > large-result.sps <<EOF
GET DATA /TYPE=psql
	/CONNECT="host=$socket_dir port=$PGPORT dbname=$PG_DBASE"
	/UNENCRYPTED
	/SQL="select * from large".

NUMERIC diff.
COMPUTE diff = x - lag (x).

TEMPORARY.
SELECT IF (diff <> 1).
LIST.

TEMPORARY.
N OF CASES 6.
LIST.

SORT CASES BY x (D).

TEMPORARY.
N OF CASES 6.
LIST.
EOF

) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get-data-psql.at:209"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/get-data-psql.at:233: pspp -o pspp.csv large-result.sps"
at_fn_check_prepare_trace "get-data-psql.at:233"
( $at_check_trace; pspp -o pspp.csv large-result.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get-data-psql.at:233"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/get-data-psql.at:234: cat pspp.csv"
at_fn_check_prepare_trace "get-data-psql.at:234"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
x,diff
1.00,.  
2.00,1.00
3.00,1.00
4.00,1.00
5.00,1.00
6.00,1.00

Table: Data List
x,diff
1000.00,1.00
999.00,1.00
998.00,1.00
997.00,1.00
996.00,1.00
995.00,1.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get-data-psql.at:234"
$at_failed && at_fn_log_failure
$at_traceon; }


cat >all-null-string.sql <<'_ATEOF'
-- a table which has a text field containing only null, or zero
   -- length entries.

   CREATE TABLE foo (int4  int4, text text);

   INSERT INTO foo VALUES ('12', '');

   INSERT INTO foo VALUES (null, '');
_ATEOF

{ set +x
$as_echo "$at_srcdir/get-data-psql.at:266: psql -h \"\$socket_dir\" -p \$PG_PORT \$PG_DBASE < all-null-string.sql"
at_fn_check_prepare_dynamic "psql -h \"$socket_dir\" -p $PG_PORT $PG_DBASE < all-null-string.sql" "get-data-psql.at:266"
( $at_check_trace; psql -h "$socket_dir" -p $PG_PORT $PG_DBASE < all-null-string.sql
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/get-data-psql.at:266"
$at_failed && at_fn_log_failure
$at_traceon; }


{ set +x
$as_echo "$at_srcdir/get-data-psql.at:269: cat > get-data.sps <<EOF
GET DATA /TYPE=psql
	/CONNECT=\"host=\$socket_dir port=\$PGPORT dbname=\$PG_DBASE\"
	/UNENCRYPTED
	/SQL=\"select * from foo\".

DISPLAY DICTIONARY.

LIST.
EOF
"
at_fn_check_prepare_notrace 'an embedded newline' "get-data-psql.at:269"
( $at_check_trace; cat > get-data.sps <<EOF
GET DATA /TYPE=psql
	/CONNECT="host=$socket_dir port=$PGPORT dbname=$PG_DBASE"
	/UNENCRYPTED
	/SQL="select * from foo".

DISPLAY DICTIONARY.

LIST.
EOF

) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get-data-psql.at:269"
$at_failed && at_fn_log_failure  \
"get-data.sps"
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/get-data-psql.at:280: pspp -o pspp.csv get-data.sps"
at_fn_check_prepare_trace "get-data-psql.at:280"
( $at_check_trace; pspp -o pspp.csv get-data.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get-data-psql.at:280"
$at_failed && at_fn_log_failure  \
"get-data.sps"
$at_traceon; }


rm -rf "$socket_dir"
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_250
#AT_START_251
at_fn_group_banner 251 'get-data-txt.at:23' \
  "GET DATA /TYPE=TXT with explicit delimiters" "    " 33
at_xfail=no
(
  $as_echo "251. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >get-data.sps <<'_ATEOF'
get data /type=txt /file=inline /delimiters="|X"
 /variables=A f7.2 B f7.2 C f7.2 D f7.2.
begin data.
1|23X45|2.03
2X22|34|23|
3|34|34X34
end data.

list.
_ATEOF

{ set +x
$as_echo "$at_srcdir/get-data-txt.at:35: pspp -o pspp.csv get-data.sps"
at_fn_check_prepare_trace "get-data-txt.at:35"
( $at_check_trace; pspp -o pspp.csv get-data.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get-data-txt.at:35"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/get-data-txt.at:36: cat pspp.csv"
at_fn_check_prepare_trace "get-data-txt.at:36"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
A,B,C,D
1.00,23.00,45.00,2.03
2.00,22.00,34.00,23.00
3.00,34.00,34.00,34.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get-data-txt.at:36"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_251
#AT_START_252
at_fn_group_banner 252 'get-data-txt.at:45' \
  "GET DATA /TYPE=TXT with FIRSTCASE" "              " 33
at_xfail=no
(
  $as_echo "252. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >get-data.sps <<'_ATEOF'
get data /type=txt /file=inline /delimiters=', ' /delcase=variables 4
 /firstcase=2 /variables=A f7.2 B f7.2 C f7.2 D f7.2.
begin data.
# This record is ignored.
,1,2,3
,4,,5
6
7,

8 9
0,1,,,

,,,,

2

3
4
5
end data.
list.
_ATEOF

{ set +x
$as_echo "$at_srcdir/get-data-txt.at:69: pspp -o pspp.csv get-data.sps"
at_fn_check_prepare_trace "get-data-txt.at:69"
( $at_check_trace; pspp -o pspp.csv get-data.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/get-data-txt.at:69"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/get-data-txt.at:70: cat pspp.csv"
at_fn_check_prepare_trace "get-data-txt.at:70"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
A,B,C,D
.  ,1.00,2.00,3.00
.  ,4.00,.  ,5.00
6.00,7.00,.  ,8.00
9.00,.00,1.00,.  
.  ,.  ,.  ,.  
.  ,.  ,.  ,2.00
.  ,3.00,4.00,5.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get-data-txt.at:70"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_252
#AT_START_253
at_fn_group_banner 253 'get-data-txt.at:83' \
  "GET DATA /TYPE=TXT with FIRSTCASE and tab delimiter" "" 33
at_xfail=no
(
  $as_echo "253. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >get-data.sps <<'_ATEOF'
get data /type=txt /file=inline /delimiters='\t' /delcase=variables 4
 /firstcase=3 /variables=A f7.2 B f7.2 C f7.2 D f7.2.
begin data.
# These records
# are skipped.
1	2	3	4
1	2	3	4	
1	2		4
1	2		4	
1		3	4
1		3	4	
1			4
1			4	
	2	3	4
	2	3	4	
	2		4
	2		4	
		3	4
		3	4	
			4
			4	
end data.
list.
_ATEOF

{ set +x
$as_echo "$at_srcdir/get-data-txt.at:109: pspp -o pspp.csv get-data.sps"
at_fn_check_prepare_trace "get-data-txt.at:109"
( $at_check_trace; pspp -o pspp.csv get-data.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get-data-txt.at:109"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/get-data-txt.at:110: cat pspp.csv"
at_fn_check_prepare_trace "get-data-txt.at:110"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
A,B,C,D
1.00,2.00,3.00,4.00
1.00,2.00,3.00,4.00
1.00,2.00,.  ,4.00
1.00,2.00,.  ,4.00
1.00,.  ,3.00,4.00
1.00,.  ,3.00,4.00
1.00,.  ,.  ,4.00
1.00,.  ,.  ,4.00
.  ,2.00,3.00,4.00
.  ,2.00,3.00,4.00
.  ,2.00,.  ,4.00
.  ,2.00,.  ,4.00
.  ,.  ,3.00,4.00
.  ,.  ,3.00,4.00
.  ,.  ,.  ,4.00
.  ,.  ,.  ,4.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get-data-txt.at:110"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_253
#AT_START_254
at_fn_group_banner 254 'get-data-txt.at:132' \
  "GET DATA /TYPE=TXT with multiple records per case" "" 33
at_xfail=no
(
  $as_echo "254. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >get-data.sps <<'_ATEOF'
get data /type=txt /file=inline /arrangement=fixed /fixcase=3 /variables=
	/1 start 0-19 adate8
	/2 end 0-19 adate
	/3 count 0-2 f.
begin data.
07-22-2007
10-06-2007
321
07-14-1789
08-26-1789
4
01-01-1972
12-31-1999
682
end data.
list.
_ATEOF

{ set +x
$as_echo "$at_srcdir/get-data-txt.at:151: pspp -o pspp.csv get-data.sps"
at_fn_check_prepare_trace "get-data-txt.at:151"
( $at_check_trace; pspp -o pspp.csv get-data.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get-data-txt.at:151"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/get-data-txt.at:152: cat pspp.csv"
at_fn_check_prepare_trace "get-data-txt.at:152"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
start,end,count
07/22/07,10/06/2007,321
********,08/26/1789,4
01/01/72,12/31/1999,682
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get-data-txt.at:152"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_254
#AT_START_255
at_fn_group_banner 255 'get-data-txt.at:161' \
  "GET DATA /TYPE=TXT with empty trailing record" "  " 33
at_xfail=no
(
  $as_echo "255. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >get-data.sps <<'_ATEOF'
get data /type=txt /file=inline /arrangement=fixed /fixcase=2 /variables=
	/1 x 0 f
           y 1 f.
begin data.
12

34

56

78

90

end data.
list.
_ATEOF

{ set +x
$as_echo "$at_srcdir/get-data-txt.at:180: pspp -o pspp.csv get-data.sps"
at_fn_check_prepare_trace "get-data-txt.at:180"
( $at_check_trace; pspp -o pspp.csv get-data.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get-data-txt.at:180"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/get-data-txt.at:181: cat pspp.csv"
at_fn_check_prepare_trace "get-data-txt.at:181"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
x,y
1,2
3,4
5,6
7,8
9,0
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get-data-txt.at:181"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_255
#AT_START_256
at_fn_group_banner 256 'get-data-txt.at:194' \
  "GET DATA /TYPE=TXT password example" "            " 33
at_xfail=no
(
  $as_echo "256. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >passwd.data <<'_ATEOF'
root:$1$nyeSP5gD$pDq/:0:0:,,,:/root:/bin/bash
blp:$1$BrP/pFg4$g7OG:1000:1000:Ben Pfaff,,,:/home/blp:/bin/bash
john:$1$JBuq/Fioq$g4A:1001:1001:John Darrington,,,:/home/john:/bin/bash
jhs:$1$D3li4hPL$88X1:1002:1002:Jason Stover,,,:/home/jhs:/bin/csh
_ATEOF

cat >passwd.sps <<'_ATEOF'
GET DATA /TYPE=TXT /FILE='passwd.data' /DELIMITERS=':'
        /VARIABLES=username A20
                   password A40
                   uid F10
                   gid F10
                   gecos A40
                   home A40
                   shell A40.
LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/get-data-txt.at:212: pspp -o pspp.csv passwd.sps"
at_fn_check_prepare_trace "get-data-txt.at:212"
( $at_check_trace; pspp -o pspp.csv passwd.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get-data-txt.at:212"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/get-data-txt.at:213: cat pspp.csv"
at_fn_check_prepare_trace "get-data-txt.at:213"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
username,password,uid,gid,gecos,home,shell
root                ,\$1\$nyeSP5gD\$pDq/                        ,0,0,\",,,                                     \",/root                                   ,/bin/bash                               
blp                 ,\$1\$BrP/pFg4\$g7OG                        ,1000,1000,\"Ben Pfaff,,,                            \",/home/blp                               ,/bin/bash                               
john                ,\$1\$JBuq/Fioq\$g4A                        ,1001,1001,\"John Darrington,,,                      \",/home/john                              ,/bin/bash                               
jhs                 ,\$1\$D3li4hPL\$88X1                        ,1002,1002,\"Jason Stover,,,                         \",/home/jhs                               ,/bin/csh                                
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get-data-txt.at:213"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_256
#AT_START_257
at_fn_group_banner 257 'get-data-txt.at:225' \
  "GET DATA /TYPE=TXT cars example" "                " 33
at_xfail=no
(
  $as_echo "257. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >cars.data <<'_ATEOF'
model   year    mileage price   type    age
Civic   2002    29883   15900   Si      2
Civic   2003    13415   15900   EX      1
Civic   1992    107000  3800    n/a     12
Accord  2002    26613   17900   EX      1
_ATEOF

cat >cars.sps <<'_ATEOF'
GET DATA /TYPE=TXT /FILE='cars.data' /DELIMITERS=' ' /FIRSTCASE=2
        /VARIABLES=model A8
                   year F4
                   mileage F6
                   price F5
                   type A4
                   age F2.
LIST.

GET DATA /TYPE=TXT /FILE='cars.data' /ARRANGEMENT=FIXED /FIRSTCASE=2
        /VARIABLES=model 0-7 A
                   year 8-15 F
                   mileage 16-23 F
                   price 24-31 F
                   type 32-39 A
                   age 40-47 F.
LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/get-data-txt.at:252: pspp -o pspp.csv cars.sps"
at_fn_check_prepare_trace "get-data-txt.at:252"
( $at_check_trace; pspp -o pspp.csv cars.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get-data-txt.at:252"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/get-data-txt.at:253: cat pspp.csv"
at_fn_check_prepare_trace "get-data-txt.at:253"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
model,year,mileage,price,type,age
Civic   ,2002,29883,15900,Si  ,2
Civic   ,2003,13415,15900,EX  ,1
Civic   ,1992,107000,3800,n/a ,12
Accord  ,2002,26613,17900,EX  ,1

Table: Data List
model,year,mileage,price,type,age
Civic   ,2002,29883,15900,Si      ,2
Civic   ,2003,13415,15900,EX      ,1
Civic   ,1992,107000,3800,n/a     ,12
Accord  ,2002,26613,17900,EX      ,1
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get-data-txt.at:253"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_257
#AT_START_258
at_fn_group_banner 258 'get-data-txt.at:272' \
  "GET DATA /TYPE=TXT pets example" "                " 33
at_xfail=no
(
  $as_echo "258. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >pets.data <<'_ATEOF'
'Pet''s Name', "Age", "Color", "Date Received", "Price", "Height", "Type"
, (Years), , , (Dollars), ,
"Rover", 4.5, Brown, "12 Feb 2004", 80, '1''4"', "Dog"
"Charlie", , Gold, "5 Apr 2007", 12.3, "3""", "Fish"
"Molly", 2, Black, "12 Dec 2006", 25, '5"', "Cat"
"Gilly", , White, "10 Apr 2007", 10, "3""", "Guinea Pig"
_ATEOF

cat >pets.sps <<'_ATEOF'
GET DATA /TYPE=TXT /FILE='pets.data' /DELIMITERS=', ' /QUALIFIER='''"'
        /FIRSTCASE=3
        /VARIABLES=name A10
                   age F3.1
                   color A5
                   received EDATE10
                   price F5.2
                   height a5
                   type a10.
LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/get-data-txt.at:293: pspp -o pspp.csv pets.sps"
at_fn_check_prepare_trace "get-data-txt.at:293"
( $at_check_trace; pspp -o pspp.csv pets.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get-data-txt.at:293"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/get-data-txt.at:294: cat pspp.csv"
at_fn_check_prepare_trace "get-data-txt.at:294"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
name,age,color,received,price,height,type
Rover     ,4.5,Brown,12.02.2004,80.00,\"1'4\"\" \",Dog       
Charlie   ,. ,Gold ,05.04.2007,12.30,\"3\"\"   \",Fish      
Molly     ,2.0,Black,12.12.2006,25.00,\"5\"\"   \",Cat       
Gilly     ,. ,White,10.04.2007,10.00,\"3\"\"   \",Guinea Pig
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get-data-txt.at:294"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_258
#AT_START_259
at_fn_group_banner 259 'get-data-txt.at:305' \
  "GET DATA /TYPE=TXT with IMPORTCASE" "             " 33
at_xfail=no
(
  $as_echo "259. $at_setup_line: testing $at_desc ..."
  $at_traceon

{ set +x
$as_echo "$at_srcdir/get-data-txt.at:306: \$PERL > test.data <<'EOF'
for (\$i = 1; \$i <= 100; \$i++) {
    printf \"%02d\\n\", \$i;
}
EOF
"
at_fn_check_prepare_notrace 'an embedded newline' "get-data-txt.at:306"
( $at_check_trace; $PERL > test.data <<'EOF'
for ($i = 1; $i <= 100; $i++) {
    printf "%02d\n", $i;
}
EOF

) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get-data-txt.at:306"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >get-data.sps <<'_ATEOF'
get data /type=txt /file='test.data' /importcase=first 10 /variables x f8.0.
get data /type=txt /file='test.data' /importcase=percent 1 /variables x f8.0.
get data /type=txt /file='test.data' /importcase=percent 35 /variables x f8.0.
get data /type=txt /file='test.data' /importcase=percent 95 /variables x f8.0.
get data /type=txt /file='test.data' /importcase=percent 100 /variables x f8.0.
_ATEOF

{ set +x
$as_echo "$at_srcdir/get-data-txt.at:319: pspp -O format=csv get-data.sps"
at_fn_check_prepare_trace "get-data-txt.at:319"
( $at_check_trace; pspp -O format=csv get-data.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "get-data.sps:1: warning: GET DATA: Ignoring obsolete IMPORTCASES subcommand.  (N OF CASES or SAMPLE may be used to substitute.)

get-data.sps:2: warning: GET DATA: Ignoring obsolete IMPORTCASES subcommand.  (N OF CASES or SAMPLE may be used to substitute.)

get-data.sps:3: warning: GET DATA: Ignoring obsolete IMPORTCASES subcommand.  (N OF CASES or SAMPLE may be used to substitute.)

get-data.sps:4: warning: GET DATA: Ignoring obsolete IMPORTCASES subcommand.  (N OF CASES or SAMPLE may be used to substitute.)

get-data.sps:5: warning: GET DATA: Ignoring obsolete IMPORTCASES subcommand.  (N OF CASES or SAMPLE may be used to substitute.)
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get-data-txt.at:319"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_259
#AT_START_260
at_fn_group_banner 260 'get-data-txt.at:332' \
  "GET DATA /TYPE=TXT with ENCODING subcommand" "    " 33
at_xfail=no
(
  $as_echo "260. $at_setup_line: testing $at_desc ..."
  $at_traceon

{ set +x
$as_echo "$at_srcdir/get-data-txt.at:333: i18n-test supports_encodings UTF-8 ISO-8859-1"
at_fn_check_prepare_trace "get-data-txt.at:333"
( $at_check_trace; i18n-test supports_encodings UTF-8 ISO-8859-1
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get-data-txt.at:333"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >get-data.sps <<'_ATEOF'
set locale='utf-8'
get data /type=txt /file='data.txt' /encoding='iso-8859-1'
  /delimiters="," /variables=s a8.
list.
_ATEOF

printf '\351' > data.txt	# é in ISO-8859-1.
{ set +x
$as_echo "$at_srcdir/get-data-txt.at:341: pspp -o pspp.csv get-data.sps"
at_fn_check_prepare_trace "get-data-txt.at:341"
( $at_check_trace; pspp -o pspp.csv get-data.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get-data-txt.at:341"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/get-data-txt.at:342: cat pspp.csv"
at_fn_check_prepare_trace "get-data-txt.at:342"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
s
é      
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get-data-txt.at:342"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_260
#AT_START_261
at_fn_group_banner 261 'get-data-txt.at:350' \
  "GET DATA /TYPE= truncated" "                      " 33
at_xfail=no
(
  $as_echo "261. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >x.sps <<'_ATEOF'
GET DATA /TYPE=
.
_ATEOF


{ set +x
$as_echo "$at_srcdir/get-data-txt.at:357: pspp -o pspp.csv x.sps"
at_fn_check_prepare_trace "get-data-txt.at:357"
( $at_check_trace; pspp -o pspp.csv x.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 1 $at_status "$at_srcdir/get-data-txt.at:357"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_261
#AT_START_262
at_fn_group_banner 262 'get-data-txt.at:363' \
  "GET DATA /TYPE=txt bug" "                         " 33
at_xfail=no
(
  $as_echo "262. $at_setup_line: testing $at_desc ..."
  $at_traceon



cat >thing.txt <<'_ATEOF'
foo, title, last
1, this, 1
2, that, 2
3, other, 3
_ATEOF


cat >x.sps <<'_ATEOF'
GET DATA
  /TYPE=TXT
  /FILE="thing.txt"
  /ARRANGEMENT=DELIMITED
  /DELCASE=LINE
  /FIRSTCASE=2
  /DELIMITERS=","
  /VARIABLES=foo F1.0
    title A8
    last F2.0.

list.
_ATEOF


{ set +x
$as_echo "$at_srcdir/get-data-txt.at:388: pspp -O format=csv x.sps"
at_fn_check_prepare_trace "get-data-txt.at:388"
( $at_check_trace; pspp -O format=csv x.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
foo,title,last
1,this   ,1
2,that   ,2
3,other  ,3
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get-data-txt.at:388"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_262
#AT_START_263
at_fn_group_banner 263 'get-data-txt.at:400' \
  "GET DATA /TYPE=txt another bug" "                 " 33
at_xfail=no
(
  $as_echo "263. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >crash.sps <<'_ATEOF'
get data /type=txt /file=inline /variables=C f7.2 D f7>2.
begin data.
3 2
4 2
5 2
end data.
_ATEOF


{ set +x
$as_echo "$at_srcdir/get-data-txt.at:411: pspp -O format=csv crash.sps"
at_fn_check_prepare_trace "get-data-txt.at:411"
( $at_check_trace; pspp -O format=csv crash.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 1 $at_status "$at_srcdir/get-data-txt.at:411"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_263
#AT_START_264
at_fn_group_banner 264 'get.at:21' \
  "GET data works in multiple procedures" "          " 34
at_xfail=no
(
  $as_echo "264. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >get.sps <<'_ATEOF'
DATA LIST LIST NOTABLE /LOCATION * EDITOR * SHELL * FREQ * .
BEGIN DATA.
    1.00     1.00    1.0     2.00
    1.00     1.00    2.0    30.00
    1.00     2.00    1.0     8.00
    1.00     2.00    2.0    20.00
    2.00     1.00    1.0     2.00
    2.00     1.00    2.0    22.00
    2.00     2.00    1.0     1.00
    2.00     2.00    2.0     3.00
END DATA.

SAVE /OUTFILE='foo.sav'.

GET /FILE='foo.sav'.

* This one's ok
LIST.

* But this one get rubbish
LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/get.at:45: pspp -o pspp.csv get.sps"
at_fn_check_prepare_trace "get.at:45"
( $at_check_trace; pspp -o pspp.csv get.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get.at:45"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/get.at:46: cat pspp.csv"
at_fn_check_prepare_trace "get.at:46"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
LOCATION,EDITOR,SHELL,FREQ
1.00,1.00,1.00,2.00
1.00,1.00,2.00,30.00
1.00,2.00,1.00,8.00
1.00,2.00,2.00,20.00
2.00,1.00,1.00,2.00
2.00,1.00,2.00,22.00
2.00,2.00,1.00,1.00
2.00,2.00,2.00,3.00

Table: Data List
LOCATION,EDITOR,SHELL,FREQ
1.00,1.00,1.00,2.00
1.00,1.00,2.00,30.00
1.00,2.00,1.00,8.00
1.00,2.00,2.00,20.00
2.00,1.00,1.00,2.00
2.00,1.00,2.00,22.00
2.00,2.00,1.00,1.00
2.00,2.00,2.00,3.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get.at:46"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_264
#AT_START_265
at_fn_group_banner 265 'get.at:72' \
  "GET nonexistent file doesn't crash" "             " 34
at_xfail=no
(
  $as_echo "265. $at_setup_line: testing $at_desc ..."
  $at_traceon

{ set +x
$as_echo "$at_srcdir/get.at:75: echo \"GET /FILE='nonexistent.sav'.\" | pspp -O format=csv"
at_fn_check_prepare_notrace 'a shell pipeline' "get.at:75"
( $at_check_trace; echo "GET /FILE='nonexistent.sav'." | pspp -O format=csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "error: An error occurred while opening \`nonexistent.sav': No such file or directory.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/get.at:75"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_265
#AT_START_266
at_fn_group_banner 266 'get.at:106' \
  "GET with /KEEP=ALL crashes -- uncompressed" "     " 34
at_xfail=no
(
  $as_echo "266. $at_setup_line: testing $at_desc ..."
  $at_traceon

   cat >get.sps <<'_ATEOF'
DATA LIST LIST NOTABLE
	/a b c d e f g h i j k l m n o p q r s t u v w x y z (F2.0).
BEGIN DATA.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
END DATA.
LIST.
SAVE OUTFILE='test.sav'/uncompressed.
GET FILE='test.sav'/KEEP=x y z all.
LIST.
_ATEOF

   { set +x
$as_echo "$at_srcdir/get.at:106: pspp -o pspp.csv get.sps"
at_fn_check_prepare_trace "get.at:106"
( $at_check_trace; pspp -o pspp.csv get.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get.at:106"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/get.at:106: cat pspp.csv"
at_fn_check_prepare_trace "get.at:106"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z
1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26

Table: Data List
x,y,z,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w
24,25,26,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get.at:106"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_266
#AT_START_267
at_fn_group_banner 267 'get.at:107' \
  "GET with /KEEP=ALL crashes -- compressed" "       " 34
at_xfail=no
(
  $as_echo "267. $at_setup_line: testing $at_desc ..."
  $at_traceon

   cat >get.sps <<'_ATEOF'
DATA LIST LIST NOTABLE
	/a b c d e f g h i j k l m n o p q r s t u v w x y z (F2.0).
BEGIN DATA.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
END DATA.
LIST.
SAVE OUTFILE='test.sav'/compressed.
GET FILE='test.sav'/KEEP=x y z all.
LIST.
_ATEOF

   { set +x
$as_echo "$at_srcdir/get.at:107: pspp -o pspp.csv get.sps"
at_fn_check_prepare_trace "get.at:107"
( $at_check_trace; pspp -o pspp.csv get.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get.at:107"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/get.at:107: cat pspp.csv"
at_fn_check_prepare_trace "get.at:107"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z
1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26

Table: Data List
x,y,z,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w
24,25,26,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get.at:107"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_267
#AT_START_268
at_fn_group_banner 268 'get.at:111' \
  "GET data no type" "                               " 34
at_xfail=no
(
  $as_echo "268. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >get.sps <<'_ATEOF'
get data /file='anything'.
_ATEOF


{ set +x
$as_echo "$at_srcdir/get.at:116: pspp get.sps"
at_fn_check_prepare_trace "get.at:116"
( $at_check_trace; pspp get.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 1 $at_status "$at_srcdir/get.at:116"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_268
#AT_START_269
at_fn_group_banner 269 'inpt-pgm.at:21' \
  "INPUT PROGRAM invalid syntax crash" "             " 35
at_xfail=no
(
  $as_echo "269. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >input-program.sps <<'_ATEOF'
INPUT PROGRAM.
DATA LIST NOTABLE /a 1-9.
BEGIN DATA
123456789
END DATA.
END INPUT PROGRAM.
_ATEOF

{ set +x
$as_echo "$at_srcdir/inpt-pgm.at:30: pspp -O format=csv input-program.sps"
at_fn_check_prepare_trace "inpt-pgm.at:30"
( $at_check_trace; pspp -O format=csv input-program.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "input-program.sps:3: error: BEGIN DATA: BEGIN DATA is not allowed inside INPUT PROGRAM.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/inpt-pgm.at:30"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_269
#AT_START_270
at_fn_group_banner 270 'inpt-pgm.at:37' \
  "INPUT PROGRAM invalid syntax crash" "             " 35
at_xfail=no
(
  $as_echo "270. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >input-program.sps <<'_ATEOF'
INPUT PROGRAM.
DATA LIST LIST NOTABLE /x.
END FILE.
END INPUT PROGRAM.

DESCRIPTIVES x.
_ATEOF

{ set +x
$as_echo "$at_srcdir/inpt-pgm.at:46: pspp -O format=csv input-program.sps"
at_fn_check_prepare_trace "inpt-pgm.at:46"
( $at_check_trace; pspp -O format=csv input-program.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "error: DESCRIPTIVES: Syntax error at end of input: expecting BEGIN.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/inpt-pgm.at:46"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_270
#AT_START_271
at_fn_group_banner 271 'inpt-pgm.at:52' \
  "INPUT PROGRAM infinite loop" "                    " 35
at_xfail=no
(
  $as_echo "271. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >input-program.sps <<'_ATEOF'
INPUT PROGRAM.
STRING firstname lastname (a24) / address (a80).
END INPUT PROGRAM.
EXECUTE.
_ATEOF

{ set +x
$as_echo "$at_srcdir/inpt-pgm.at:59: pspp -O format=csv input-program.sps"
at_fn_check_prepare_trace "inpt-pgm.at:59"
( $at_check_trace; pspp -O format=csv input-program.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "input-program.sps:3: error: Input program must contain DATA LIST or END FILE.

input-program.sps:4: error: EXECUTE: EXECUTE is allowed only after the active dataset has been defined.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/inpt-pgm.at:59"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_271
#AT_START_272
at_fn_group_banner 272 'inpt-pgm.at:69' \
  "INPUT PROGRAM with VECTOR and EXECUTE" "          " 35
at_xfail=no
(
  $as_echo "272. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >input-program.sps <<'_ATEOF'
INPUT PROGRAM.
VECTOR vec(5).
LOOP #c = 1 to 10.
 LOOP #v = 1 to 5.
  COMPUTE vec(#v) = #v.
 END LOOP.
 END CASE.
END LOOP.
END FILE.
END INPUT PROGRAM.
DATASET COPY x.
LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/inpt-pgm.at:84: pspp -O format=csv input-program.sps"
at_fn_check_prepare_trace "inpt-pgm.at:84"
( $at_check_trace; pspp -O format=csv input-program.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
vec1,vec2,vec3,vec4,vec5
1.00,2.00,3.00,4.00,5.00
1.00,2.00,3.00,4.00,5.00
1.00,2.00,3.00,4.00,5.00
1.00,2.00,3.00,4.00,5.00
1.00,2.00,3.00,4.00,5.00
1.00,2.00,3.00,4.00,5.00
1.00,2.00,3.00,4.00,5.00
1.00,2.00,3.00,4.00,5.00
1.00,2.00,3.00,4.00,5.00
1.00,2.00,3.00,4.00,5.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/inpt-pgm.at:84"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_272
#AT_START_273
at_fn_group_banner 273 'list.at:19' \
  "LIST plain cases" "                               " 36
at_xfail=no
(
  $as_echo "273. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >data.txt <<'_ATEOF'
   18    1
   19    7
   20   26
   21   76
   22   57
   23   58
   24   38
   25   38
   26   30
   27   21
   28   23
_ATEOF

cat >list.sps <<'_ATEOF'
DATA LIST FILE='data.txt'/avar 1-5 bvar 6-10.
WEIGHT BY bvar.
LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/list.at:38: pspp -o pspp.csv list.sps"
at_fn_check_prepare_trace "list.at:38"
( $at_check_trace; pspp -o pspp.csv list.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/list.at:38"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/list.at:39: cat pspp.csv"
at_fn_check_prepare_trace "list.at:39"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Reading 1 record from \`data.txt'.
Variable,Record,Columns,Format
avar,1,1-  5,F5.0
bvar,1,6- 10,F5.0

Table: Data List
avar,bvar
18,1
19,7
20,26
21,76
22,57
23,58
24,38
25,38
26,30
27,21
28,23
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/list.at:39"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_273
#AT_START_274
at_fn_group_banner 274 'list.at:61' \
  "LIST numbered cases" "                            " 36
at_xfail=no
(
  $as_echo "274. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >data.txt <<'_ATEOF'
   18    1
   19    7
   20   26
   21   76
   22   57
   23   58
   24   38
   25   38
   26   30
   27   21
   28   23
_ATEOF

cat >list.sps <<'_ATEOF'
DATA LIST FILE='data.txt'/avar 1-5 bvar 6-10.
WEIGHT BY bvar.
LIST/FORMAT NUMBERED.
_ATEOF

{ set +x
$as_echo "$at_srcdir/list.at:80: pspp -o pspp.csv list.sps"
at_fn_check_prepare_trace "list.at:80"
( $at_check_trace; pspp -o pspp.csv list.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/list.at:80"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/list.at:81: cat pspp.csv"
at_fn_check_prepare_trace "list.at:81"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Reading 1 record from \`data.txt'.
Variable,Record,Columns,Format
avar,1,1-  5,F5.0
bvar,1,6- 10,F5.0

Table: Data List
Case Number,avar,bvar
1,18,1
2,19,7
3,20,26
4,21,76
5,22,57
6,23,58
7,24,38
8,25,38
9,26,30
10,27,21
11,28,23
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/list.at:81"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_274
#AT_START_275
at_fn_group_banner 275 'list.at:105' \
  "LIST with split file" "                           " 36
at_xfail=no
(
  $as_echo "275. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >data.txt <<'_ATEOF'
a 1
a 2
a 3
b 1
c 4
c 5
_ATEOF

cat >list.sps <<'_ATEOF'
DATA LIST LIST NOTABLE FILE='data.txt'/s (a1) n.
SPLIT FILE BY s.
LIST n.
_ATEOF

{ set +x
$as_echo "$at_srcdir/list.at:119: pspp -o pspp.csv list.sps"
at_fn_check_prepare_trace "list.at:119"
( $at_check_trace; pspp -o pspp.csv list.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/list.at:119"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/list.at:120: cat pspp.csv"
at_fn_check_prepare_trace "list.at:120"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Variable,Value,Label
s,a,

Table: Data List
n
1.00
2.00
3.00

Variable,Value,Label
s,b,

Table: Data List
n
1.00

Variable,Value,Label
s,c,

Table: Data List
n
4.00
5.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/list.at:120"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_275
#AT_START_276
at_fn_group_banner 276 'list.at:147' \
  "LIST lots of variables" "                         " 36
at_xfail=no
(
  $as_echo "276. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >data.txt <<'_ATEOF'
767532466348513789073483106409
888693089424177542378334186760
492611507909187152726427852242
819848892023195875879332001491
452777898709563729845541516650
239961967077732760663525115073
_ATEOF

cat >list.sps <<'_ATEOF'
DATA LIST FILE='data.txt' NOTABLE/x01 to x30 1-30.
LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/list.at:160: pspp -o pspp.csv list.sps"
at_fn_check_prepare_trace "list.at:160"
( $at_check_trace; pspp -o pspp.csv list.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/list.at:160"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/list.at:161: cat pspp.csv"
at_fn_check_prepare_trace "list.at:161"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
x01,x02,x03,x04,x05,x06,x07,x08,x09,x10,x11,x12,x13,x14,x15,x16,x17,x18,x19,x20,x21,x22,x23,x24,x25,x26,x27,x28,x29,x30
7,6,7,5,3,2,4,6,6,3,4,8,5,1,3,7,8,9,0,7,3,4,8,3,1,0,6,4,0,9
8,8,8,6,9,3,0,8,9,4,2,4,1,7,7,5,4,2,3,7,8,3,3,4,1,8,6,7,6,0
4,9,2,6,1,1,5,0,7,9,0,9,1,8,7,1,5,2,7,2,6,4,2,7,8,5,2,2,4,2
8,1,9,8,4,8,8,9,2,0,2,3,1,9,5,8,7,5,8,7,9,3,3,2,0,0,1,4,9,1
4,5,2,7,7,7,8,9,8,7,0,9,5,6,3,7,2,9,8,4,5,5,4,1,5,1,6,6,5,0
2,3,9,9,6,1,9,6,7,0,7,7,7,3,2,7,6,0,6,6,3,5,2,5,1,1,5,0,7,3
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/list.at:161"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_276
#AT_START_277
at_fn_group_banner 277 'list.at:173' \
  "LIST selected cases" "                            " 36
at_xfail=no
(
  $as_echo "277. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >data.txt <<'_ATEOF'
7675324663
8886930894
4926115079
8198488920
4527778987
2399619670
1667799691
1623914684
3681393233
6418731145
2284534083
6617637452
9865713582
1163234537
9981663637
6821567746
0952774952
1641790193
3763182871
2046820753
7970620091
4841176017
6949973797
1396285996
0700489524
_ATEOF

cat >list.sps <<'_ATEOF'
DATA LIST FILE='data.txt' NOTABLE/x0 to x9 1-10.
LIST /CASES=FROM 6 TO 20 BY 5.
LIST /CASES=4.
LIST /CASES=BY 10.
LIST /CASES=FROM 25.
LIST /CASES=FROM 26.
_ATEOF

{ set +x
$as_echo "$at_srcdir/list.at:209: pspp -o pspp.csv list.sps"
at_fn_check_prepare_trace "list.at:209"
( $at_check_trace; pspp -o pspp.csv list.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/list.at:209"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/list.at:210: cat pspp.csv"
at_fn_check_prepare_trace "list.at:210"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
x0,x1,x2,x3,x4,x5,x6,x7,x8,x9
2,3,9,9,6,1,9,6,7,0
2,2,8,4,5,3,4,0,8,3
6,8,2,1,5,6,7,7,4,6

Table: Data List
x0,x1,x2,x3,x4,x5,x6,x7,x8,x9
7,6,7,5,3,2,4,6,6,3
8,8,8,6,9,3,0,8,9,4
4,9,2,6,1,1,5,0,7,9
8,1,9,8,4,8,8,9,2,0

Table: Data List
x0,x1,x2,x3,x4,x5,x6,x7,x8,x9
7,6,7,5,3,2,4,6,6,3
2,2,8,4,5,3,4,0,8,3
7,9,7,0,6,2,0,0,9,1

Table: Data List
x0,x1,x2,x3,x4,x5,x6,x7,x8,x9
0,7,0,0,4,8,9,5,2,4

Table: Data List
x0,x1,x2,x3,x4,x5,x6,x7,x8,x9
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/list.at:210"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_277
#AT_START_278
at_fn_group_banner 278 'list.at:241' \
  "LIST very long string" "                          " 36
at_xfail=no
(
  $as_echo "278. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >list.sps <<'_ATEOF'
INPUT PROGRAM.
STRING foo (a2000).
+ COMPUTE foo=CONCAT(RPAD('A',1999, 'x'), 'Z').
END CASE.
END FILE.
END INPUT PROGRAM.

EXECUTE.

DISPLAY VARIABLES.

LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/list.at:256: pspp -o pspp.csv list.sps"
at_fn_check_prepare_trace "list.at:256"
( $at_check_trace; pspp -o pspp.csv list.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/list.at:256"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/list.at:257: cat pspp.csv"
at_fn_check_prepare_trace "list.at:257"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Variable,Description,Position
foo,Format: A2000,1

Table: Data List
foo
AxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxZ
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/list.at:257"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_278
#AT_START_279
at_fn_group_banner 279 'list.at:269' \
  "LIST crash on invalid input" "                    " 36
at_xfail=no
(
  $as_echo "279. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >list.sps <<'_ATEOF'
DATA LIST LIST /`$b.
BEGIN DATA.
1 3
4 6
7 9
END DATA.

LIST.
_ATEOF


{ set +x
$as_echo "$at_srcdir/list.at:282: pspp -o pspp.csv list.sps"
at_fn_check_prepare_trace "list.at:282"
( $at_check_trace; pspp -o pspp.csv list.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 1 $at_status "$at_srcdir/list.at:282"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_279
#AT_START_280
at_fn_group_banner 280 'match-files.at:120' \
  "MATCH FILES -- system file and system file" "     " 37
at_xfail=no
(
  $as_echo "280. $at_setup_line: testing $at_desc ..."
  $at_traceon

   cat >data1.txt <<'_ATEOF'
1aB
8aM
3aE
5aG
0aA
5aH
6aI
7aJ
2aD
7aK
1aC
7aL
4aF
_ATEOF


   cat >data2.txt <<'_ATEOF'
1bN
3bO
4bP
6bQ
7bR
9bS
_ATEOF


   cat >prepare.sps <<'_ATEOF'
DATA LIST NOTABLE FILE='data1.txt' /a b c 1-3 (A).
SAVE OUTFILE='data1.sav'.
DATA LIST NOTABLE FILE='data2.txt' /a b c 1-3 (A).
SAVE OUTFILE='data2.sav'.
_ATEOF

   { set +x
$as_echo "$at_srcdir/match-files.at:120: pspp -O format=csv prepare.sps"
at_fn_check_prepare_trace "match-files.at:120"
( $at_check_trace; pspp -O format=csv prepare.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/match-files.at:120"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/match-files.at:120: test -f data1.sav && test -f data2.sav"
at_fn_check_prepare_trace "match-files.at:120"
( $at_check_trace; test -f data1.sav && test -f data2.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/match-files.at:120"
$at_failed && at_fn_log_failure
$at_traceon; }

   cat >expout <<'_ATEOF'
Table: Data List
a,b,c,d,ina,inb,first,last
0,a,A,,1,0,1,1
1,a,B,N,1,1,1,0
1,a,C,,1,0,0,1
2,a,D,,1,0,1,1
3,a,E,O,1,1,1,1
4,a,F,P,1,1,1,1
5,a,G,,1,0,1,0
5,a,H,,1,0,0,1
6,a,I,Q,1,1,1,1
7,a,J,R,1,1,1,0
7,a,K,,1,0,0,0
7,a,L,,1,0,0,1
8,a,M,,1,0,1,1
9,b,,S,0,1,1,1
_ATEOF


   cat >match-files.sps <<'_ATEOF'

MATCH FILES
	FILE='data1.sav' /IN=ina /SORT
	file='data2.sav' /in=inb /rename c=d
	/BY a /FIRST=first /LAST=last.
LIST.
_ATEOF

   { set +x
$as_echo "$at_srcdir/match-files.at:120: pspp -o pspp.csv match-files.sps"
at_fn_check_prepare_trace "match-files.at:120"
( $at_check_trace; pspp -o pspp.csv match-files.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/match-files.at:120"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/match-files.at:120: cat pspp.csv"
at_fn_check_prepare_trace "match-files.at:120"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/match-files.at:120"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_280
#AT_START_281
at_fn_group_banner 281 'match-files.at:121' \
  "MATCH FILES -- system file and active file" "     " 37
at_xfail=no
(
  $as_echo "281. $at_setup_line: testing $at_desc ..."
  $at_traceon

   cat >data1.txt <<'_ATEOF'
1aB
8aM
3aE
5aG
0aA
5aH
6aI
7aJ
2aD
7aK
1aC
7aL
4aF
_ATEOF


   cat >data2.txt <<'_ATEOF'
1bN
3bO
4bP
6bQ
7bR
9bS
_ATEOF


   cat >prepare.sps <<'_ATEOF'
DATA LIST NOTABLE FILE='data1.txt' /a b c 1-3 (A).
SAVE OUTFILE='data1.sav'.
DATA LIST NOTABLE FILE='data2.txt' /a b c 1-3 (A).
SAVE OUTFILE='data2.sav'.
_ATEOF

   { set +x
$as_echo "$at_srcdir/match-files.at:121: pspp -O format=csv prepare.sps"
at_fn_check_prepare_trace "match-files.at:121"
( $at_check_trace; pspp -O format=csv prepare.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/match-files.at:121"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/match-files.at:121: test -f data1.sav && test -f data2.sav"
at_fn_check_prepare_trace "match-files.at:121"
( $at_check_trace; test -f data1.sav && test -f data2.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/match-files.at:121"
$at_failed && at_fn_log_failure
$at_traceon; }

   cat >expout <<'_ATEOF'
Table: Data List
a,b,c,d,ina,inb,first,last
0,a,A,,1,0,1,1
1,a,B,N,1,1,1,0
1,a,C,,1,0,0,1
2,a,D,,1,0,1,1
3,a,E,O,1,1,1,1
4,a,F,P,1,1,1,1
5,a,G,,1,0,1,0
5,a,H,,1,0,0,1
6,a,I,Q,1,1,1,1
7,a,J,R,1,1,1,0
7,a,K,,1,0,0,0
7,a,L,,1,0,0,1
8,a,M,,1,0,1,1
9,b,,S,0,1,1,1
_ATEOF


   cat >match-files.sps <<'_ATEOF'
GET FILE='data2.sav'.
MATCH FILES
	FILE='data1.sav' /IN=ina /SORT
	file=* /in=inb /rename c=d
	/BY a /FIRST=first /LAST=last.
LIST.
_ATEOF

   { set +x
$as_echo "$at_srcdir/match-files.at:121: pspp -o pspp.csv match-files.sps"
at_fn_check_prepare_trace "match-files.at:121"
( $at_check_trace; pspp -o pspp.csv match-files.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/match-files.at:121"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/match-files.at:121: cat pspp.csv"
at_fn_check_prepare_trace "match-files.at:121"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/match-files.at:121"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_281
#AT_START_282
at_fn_group_banner 282 'match-files.at:122' \
  "MATCH FILES -- active file and system file" "     " 37
at_xfail=no
(
  $as_echo "282. $at_setup_line: testing $at_desc ..."
  $at_traceon

   cat >data1.txt <<'_ATEOF'
1aB
8aM
3aE
5aG
0aA
5aH
6aI
7aJ
2aD
7aK
1aC
7aL
4aF
_ATEOF


   cat >data2.txt <<'_ATEOF'
1bN
3bO
4bP
6bQ
7bR
9bS
_ATEOF


   cat >prepare.sps <<'_ATEOF'
DATA LIST NOTABLE FILE='data1.txt' /a b c 1-3 (A).
SAVE OUTFILE='data1.sav'.
DATA LIST NOTABLE FILE='data2.txt' /a b c 1-3 (A).
SAVE OUTFILE='data2.sav'.
_ATEOF

   { set +x
$as_echo "$at_srcdir/match-files.at:122: pspp -O format=csv prepare.sps"
at_fn_check_prepare_trace "match-files.at:122"
( $at_check_trace; pspp -O format=csv prepare.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/match-files.at:122"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/match-files.at:122: test -f data1.sav && test -f data2.sav"
at_fn_check_prepare_trace "match-files.at:122"
( $at_check_trace; test -f data1.sav && test -f data2.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/match-files.at:122"
$at_failed && at_fn_log_failure
$at_traceon; }

   cat >expout <<'_ATEOF'
Table: Data List
a,b,c,d,ina,inb,first,last
0,a,A,,1,0,1,1
1,a,B,N,1,1,1,0
1,a,C,,1,0,0,1
2,a,D,,1,0,1,1
3,a,E,O,1,1,1,1
4,a,F,P,1,1,1,1
5,a,G,,1,0,1,0
5,a,H,,1,0,0,1
6,a,I,Q,1,1,1,1
7,a,J,R,1,1,1,0
7,a,K,,1,0,0,0
7,a,L,,1,0,0,1
8,a,M,,1,0,1,1
9,b,,S,0,1,1,1
_ATEOF


   cat >match-files.sps <<'_ATEOF'
GET FILE='data1.sav'.
MATCH FILES
	FILE=* /IN=ina /SORT
	file='data2.sav' /in=inb /rename c=d
	/BY a /FIRST=first /LAST=last.
LIST.
_ATEOF

   { set +x
$as_echo "$at_srcdir/match-files.at:122: pspp -o pspp.csv match-files.sps"
at_fn_check_prepare_trace "match-files.at:122"
( $at_check_trace; pspp -o pspp.csv match-files.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/match-files.at:122"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/match-files.at:122: cat pspp.csv"
at_fn_check_prepare_trace "match-files.at:122"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/match-files.at:122"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_282
#AT_START_283
at_fn_group_banner 283 'match-files.at:123' \
  "MATCH FILES -- system file and system table" "    " 37
at_xfail=no
(
  $as_echo "283. $at_setup_line: testing $at_desc ..."
  $at_traceon

   cat >data1.txt <<'_ATEOF'
1aB
8aM
3aE
5aG
0aA
5aH
6aI
7aJ
2aD
7aK
1aC
7aL
4aF
_ATEOF


   cat >data2.txt <<'_ATEOF'
1bN
3bO
4bP
6bQ
7bR
9bS
_ATEOF


   cat >prepare.sps <<'_ATEOF'
DATA LIST NOTABLE FILE='data1.txt' /a b c 1-3 (A).
SAVE OUTFILE='data1.sav'.
DATA LIST NOTABLE FILE='data2.txt' /a b c 1-3 (A).
SAVE OUTFILE='data2.sav'.
_ATEOF

   { set +x
$as_echo "$at_srcdir/match-files.at:123: pspp -O format=csv prepare.sps"
at_fn_check_prepare_trace "match-files.at:123"
( $at_check_trace; pspp -O format=csv prepare.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/match-files.at:123"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/match-files.at:123: test -f data1.sav && test -f data2.sav"
at_fn_check_prepare_trace "match-files.at:123"
( $at_check_trace; test -f data1.sav && test -f data2.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/match-files.at:123"
$at_failed && at_fn_log_failure
$at_traceon; }

   cat >expout <<'_ATEOF'
Table: Data List
a,b,c,d,ina,inb,first,last
0,a,A,,1,0,1,1
1,a,B,N,1,1,1,0
1,a,C,N,1,1,0,1
2,a,D,,1,0,1,1
3,a,E,O,1,1,1,1
4,a,F,P,1,1,1,1
5,a,G,,1,0,1,0
5,a,H,,1,0,0,1
6,a,I,Q,1,1,1,1
7,a,J,R,1,1,1,0
7,a,K,R,1,1,0,0
7,a,L,R,1,1,0,1
8,a,M,,1,0,1,1
_ATEOF


   cat >match-files.sps <<'_ATEOF'

MATCH FILES
	FILE='data1.sav' /IN=ina /SORT
	table='data2.sav' /in=inb /rename c=d
	/BY a /FIRST=first /LAST=last.
LIST.
_ATEOF

   { set +x
$as_echo "$at_srcdir/match-files.at:123: pspp -o pspp.csv match-files.sps"
at_fn_check_prepare_trace "match-files.at:123"
( $at_check_trace; pspp -o pspp.csv match-files.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/match-files.at:123"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/match-files.at:123: cat pspp.csv"
at_fn_check_prepare_trace "match-files.at:123"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/match-files.at:123"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_283
#AT_START_284
at_fn_group_banner 284 'match-files.at:124' \
  "MATCH FILES -- system file and active table" "    " 37
at_xfail=no
(
  $as_echo "284. $at_setup_line: testing $at_desc ..."
  $at_traceon

   cat >data1.txt <<'_ATEOF'
1aB
8aM
3aE
5aG
0aA
5aH
6aI
7aJ
2aD
7aK
1aC
7aL
4aF
_ATEOF


   cat >data2.txt <<'_ATEOF'
1bN
3bO
4bP
6bQ
7bR
9bS
_ATEOF


   cat >prepare.sps <<'_ATEOF'
DATA LIST NOTABLE FILE='data1.txt' /a b c 1-3 (A).
SAVE OUTFILE='data1.sav'.
DATA LIST NOTABLE FILE='data2.txt' /a b c 1-3 (A).
SAVE OUTFILE='data2.sav'.
_ATEOF

   { set +x
$as_echo "$at_srcdir/match-files.at:124: pspp -O format=csv prepare.sps"
at_fn_check_prepare_trace "match-files.at:124"
( $at_check_trace; pspp -O format=csv prepare.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/match-files.at:124"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/match-files.at:124: test -f data1.sav && test -f data2.sav"
at_fn_check_prepare_trace "match-files.at:124"
( $at_check_trace; test -f data1.sav && test -f data2.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/match-files.at:124"
$at_failed && at_fn_log_failure
$at_traceon; }

   cat >expout <<'_ATEOF'
Table: Data List
a,b,c,d,ina,inb,first,last
0,a,A,,1,0,1,1
1,a,B,N,1,1,1,0
1,a,C,N,1,1,0,1
2,a,D,,1,0,1,1
3,a,E,O,1,1,1,1
4,a,F,P,1,1,1,1
5,a,G,,1,0,1,0
5,a,H,,1,0,0,1
6,a,I,Q,1,1,1,1
7,a,J,R,1,1,1,0
7,a,K,R,1,1,0,0
7,a,L,R,1,1,0,1
8,a,M,,1,0,1,1
_ATEOF


   cat >match-files.sps <<'_ATEOF'
GET FILE='data2.sav'.
MATCH FILES
	FILE='data1.sav' /IN=ina /SORT
	table=* /in=inb /rename c=d
	/BY a /FIRST=first /LAST=last.
LIST.
_ATEOF

   { set +x
$as_echo "$at_srcdir/match-files.at:124: pspp -o pspp.csv match-files.sps"
at_fn_check_prepare_trace "match-files.at:124"
( $at_check_trace; pspp -o pspp.csv match-files.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/match-files.at:124"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/match-files.at:124: cat pspp.csv"
at_fn_check_prepare_trace "match-files.at:124"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/match-files.at:124"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_284
#AT_START_285
at_fn_group_banner 285 'match-files.at:125' \
  "MATCH FILES -- active file and system table" "    " 37
at_xfail=no
(
  $as_echo "285. $at_setup_line: testing $at_desc ..."
  $at_traceon

   cat >data1.txt <<'_ATEOF'
1aB
8aM
3aE
5aG
0aA
5aH
6aI
7aJ
2aD
7aK
1aC
7aL
4aF
_ATEOF


   cat >data2.txt <<'_ATEOF'
1bN
3bO
4bP
6bQ
7bR
9bS
_ATEOF


   cat >prepare.sps <<'_ATEOF'
DATA LIST NOTABLE FILE='data1.txt' /a b c 1-3 (A).
SAVE OUTFILE='data1.sav'.
DATA LIST NOTABLE FILE='data2.txt' /a b c 1-3 (A).
SAVE OUTFILE='data2.sav'.
_ATEOF

   { set +x
$as_echo "$at_srcdir/match-files.at:125: pspp -O format=csv prepare.sps"
at_fn_check_prepare_trace "match-files.at:125"
( $at_check_trace; pspp -O format=csv prepare.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/match-files.at:125"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/match-files.at:125: test -f data1.sav && test -f data2.sav"
at_fn_check_prepare_trace "match-files.at:125"
( $at_check_trace; test -f data1.sav && test -f data2.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/match-files.at:125"
$at_failed && at_fn_log_failure
$at_traceon; }

   cat >expout <<'_ATEOF'
Table: Data List
a,b,c,d,ina,inb,first,last
0,a,A,,1,0,1,1
1,a,B,N,1,1,1,0
1,a,C,N,1,1,0,1
2,a,D,,1,0,1,1
3,a,E,O,1,1,1,1
4,a,F,P,1,1,1,1
5,a,G,,1,0,1,0
5,a,H,,1,0,0,1
6,a,I,Q,1,1,1,1
7,a,J,R,1,1,1,0
7,a,K,R,1,1,0,0
7,a,L,R,1,1,0,1
8,a,M,,1,0,1,1
_ATEOF


   cat >match-files.sps <<'_ATEOF'
GET FILE='data1.sav'.
MATCH FILES
	FILE=* /IN=ina /SORT
	table='data2.sav' /in=inb /rename c=d
	/BY a /FIRST=first /LAST=last.
LIST.
_ATEOF

   { set +x
$as_echo "$at_srcdir/match-files.at:125: pspp -o pspp.csv match-files.sps"
at_fn_check_prepare_trace "match-files.at:125"
( $at_check_trace; pspp -o pspp.csv match-files.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/match-files.at:125"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/match-files.at:125: cat pspp.csv"
at_fn_check_prepare_trace "match-files.at:125"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/match-files.at:125"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_285
#AT_START_286
at_fn_group_banner 286 'match-files.at:127' \
  "MATCH FILES parallel match" "                     " 37
at_xfail=no
(
  $as_echo "286. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >data1.txt <<'_ATEOF'
1aB
8aM
3aE
5aG
0aA
5aH
6aI
7aJ
2aD
7aK
1aC
7aL
4aF
_ATEOF


   cat >data2.txt <<'_ATEOF'
1bN
3bO
4bP
6bQ
7bR
9bS
_ATEOF


   cat >prepare.sps <<'_ATEOF'
DATA LIST NOTABLE FILE='data1.txt' /a b c 1-3 (A).
SAVE OUTFILE='data1.sav'.
DATA LIST NOTABLE FILE='data2.txt' /a b c 1-3 (A).
SAVE OUTFILE='data2.sav'.
_ATEOF

   { set +x
$as_echo "$at_srcdir/match-files.at:128: pspp -O format=csv prepare.sps"
at_fn_check_prepare_trace "match-files.at:128"
( $at_check_trace; pspp -O format=csv prepare.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/match-files.at:128"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/match-files.at:128: test -f data1.sav && test -f data2.sav"
at_fn_check_prepare_trace "match-files.at:128"
( $at_check_trace; test -f data1.sav && test -f data2.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/match-files.at:128"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >match-files.sps <<'_ATEOF'
MATCH FILES FILE='data1.sav' /FILE='data2.sav' /RENAME (a b c=d e f).
LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/match-files.at:133: pspp -o pspp.csv match-files.sps"
at_fn_check_prepare_trace "match-files.at:133"
( $at_check_trace; pspp -o pspp.csv match-files.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/match-files.at:133"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/match-files.at:134: cat pspp.csv"
at_fn_check_prepare_trace "match-files.at:134"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
a,b,c,d,e,f
1,a,B,1,b,N
8,a,M,3,b,O
3,a,E,4,b,P
5,a,G,6,b,Q
0,a,A,7,b,R
5,a,H,9,b,S
6,a,I,,,
7,a,J,,,
2,a,D,,,
7,a,K,,,
1,a,C,,,
7,a,L,,,
4,a,F,,,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/match-files.at:134"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_286
#AT_START_287
at_fn_group_banner 287 'match-files.at:154' \
  "MATCH FILES bug with TABLE from active dataset" " " 37
at_xfail=no
(
  $as_echo "287. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >match-files.sps <<'_ATEOF'
DATA LIST LIST NOTABLE /x * y *.
BEGIN DATA
3 30
2 21
1 22
END DATA.

SAVE OUTFILE='bar.sav'.

DATA LIST LIST NOTABLE /x * z *.
BEGIN DATA
3 8
2 9
END DATA.

MATCH FILES TABLE=* /FILE='bar.sav' /BY=x.
LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/match-files.at:174: pspp -o pspp.csv match-files.sps"
at_fn_check_prepare_trace "match-files.at:174"
( $at_check_trace; pspp -o pspp.csv match-files.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/match-files.at:174"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/match-files.at:175: cat pspp.csv"
at_fn_check_prepare_trace "match-files.at:175"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
x,z,y
3.00,8.00,30.00
2.00,.  ,21.00
1.00,.  ,22.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/match-files.at:175"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_287
#AT_START_288
at_fn_group_banner 288 'match-files.at:186' \
  "MATCH FILES bug with scratch variables" "         " 37
at_xfail=no
(
  $as_echo "288. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >match-files.sps <<'_ATEOF'
DATA LIST LIST /w * x * y * .
BEGIN DATA
4 5 6
1 2 3
END DATA.

COMPUTE j=0.
LOOP #k = 1 to 10.
COMPUTE j=#k + j.
END LOOP.

MATCH FILES FILE=* /DROP=w.
LIST.
FINISH.
_ATEOF

{ set +x
$as_echo "$at_srcdir/match-files.at:203: pspp -o pspp.csv match-files.sps"
at_fn_check_prepare_trace "match-files.at:203"
( $at_check_trace; pspp -o pspp.csv match-files.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/match-files.at:203"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/match-files.at:204: cat pspp.csv"
at_fn_check_prepare_trace "match-files.at:204"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Reading free-form data from INLINE.
Variable,Format
w,F8.0
x,F8.0
y,F8.0

Table: Data List
x,y,j
5.00,6.00,55.00
2.00,3.00,55.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/match-files.at:204"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_288
#AT_START_289
at_fn_group_banner 289 'match-files.at:222' \
  "MATCH FILES with incompatible variable types" "   " 37
at_xfail=no
(
  $as_echo "289. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >match-files.sps <<'_ATEOF'
DATA LIST LIST NOTABLE/name (A6) x.
BEGIN DATA.
al,7
brad,8
carl,9
END DATA.
SAVE OUTFILE='x.sav'.

DATA LIST LIST NOTABLE/name (A7) y.
BEGIN DATA.
al,1
carl,2
dan,3
END DATA.
MATCH FILES/FILE='x.sav'/FILE=*/BY name.
LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/match-files.at:241: pspp -O format=csv match-files.sps"
at_fn_check_prepare_trace "match-files.at:241"
( $at_check_trace; pspp -O format=csv match-files.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "\"match-files.sps:15: error: MATCH FILES: Variable name in file * has different type or width from the same variable in earlier file.  In file *, name is a string variable with width 7.  In an earlier file, name was a string variable with width 6.\"

match-files.sps:16: error: Stopping syntax file processing here to avoid a cascade of dependent command failures.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/match-files.at:241"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_289
#AT_START_290
at_fn_group_banner 290 'matrix-data.at:19' \
  "Matrix data (lower file)" "                       " 38
at_xfail=no
(
  $as_echo "290. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >matrix-data.pspp <<'_ATEOF'
matrix data
    variables = rowtype_
    var01 TO var08
    /format = lower diagonal
    /file = 'matrix.dat'
    .

list.
_ATEOF


cat >matrix.dat <<'_ATEOF'
mean  24.3  5.4  69.7  20.1  13.4  2.7  27.9  3.7
sd    5.7   1.5  23.5  5.8   2.8   4.5  5.4   1.5
n     92    92   92    92    92    92   92    92
corr 1.00
corr .18  1.00
corr -.22  -.17  1.00
corr .36  .31  -.14  1.00
corr .27  .16  -.12  .22  1.00
corr .33  .15  -.17  .24  .21  1.00
corr .50  .29  -.20  .32  .12  .38  1.00
corr .17  .29  -.05  .20  .27  .20  .04  1.00
_ATEOF



{ set +x
$as_echo "$at_srcdir/matrix-data.at:47: pspp -O format=csv matrix-data.pspp"
at_fn_check_prepare_trace "matrix-data.at:47"
( $at_check_trace; pspp -O format=csv matrix-data.pspp
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
ROWTYPE_,VARNAME_,var01,var02,var03,var04,var05,var06,var07,var08
mean    ,,24.3000,5.4000,69.7000,20.1000,13.4000,2.7000,27.9000,3.7000
STDDEV  ,,5.7000,1.5000,23.5000,5.8000,2.8000,4.5000,5.4000,1.5000
n       ,,92.0000,92.0000,92.0000,92.0000,92.0000,92.0000,92.0000,92.0000
corr    ,var01,1.0000,.1800,-.2200,.3600,.2700,.3300,.5000,.1700
corr    ,var02,.1800,1.0000,-.1700,.3100,.1600,.1500,.2900,.2900
corr    ,var03,-.2200,-.1700,1.0000,-.1400,-.1200,-.1700,-.2000,-.0500
corr    ,var04,.3600,.3100,-.1400,1.0000,.2200,.2400,.3200,.2000
corr    ,var05,.2700,.1600,-.1200,.2200,1.0000,.2100,.1200,.2700
corr    ,var06,.3300,.1500,-.1700,.2400,.2100,1.0000,.3800,.2000
corr    ,var07,.5000,.2900,-.2000,.3200,.1200,.3800,1.0000,.0400
corr    ,var08,.1700,.2900,-.0500,.2000,.2700,.2000,.0400,1.0000
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/matrix-data.at:47"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_290
#AT_START_291
at_fn_group_banner 291 'matrix-data.at:66' \
  "Matrix data (upper)" "                            " 38
at_xfail=no
(
  $as_echo "291. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >matrix-data.pspp <<'_ATEOF'
matrix data
    variables = rowtype_  var01 var02 var03 var04
    /format = upper diagonal.

begin data
mean        34 35 36 37
sd          22 11 55 66
n_vector    100 101 102 103
corr        1 9 8 7
corr        1 6 5
corr        1 4
corr        1
end data.

list.
_ATEOF


{ set +x
$as_echo "$at_srcdir/matrix-data.at:86: pspp -O format=csv matrix-data.pspp"
at_fn_check_prepare_trace "matrix-data.at:86"
( $at_check_trace; pspp -O format=csv matrix-data.pspp
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
ROWTYPE_,VARNAME_,var01,var02,var03,var04
mean    ,,34.0000,35.0000,36.0000,37.0000
STDDEV  ,,22.0000,11.0000,55.0000,66.0000
N       ,,100.0000,101.0000,102.0000,103.0000
corr    ,var01,1.0000,9.0000,8.0000,7.0000
corr    ,var02,9.0000,1.0000,6.0000,5.0000
corr    ,var03,8.0000,6.0000,1.0000,4.0000
corr    ,var04,7.0000,5.0000,4.0000,1.0000
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/matrix-data.at:86"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_291
#AT_START_292
at_fn_group_banner 292 'matrix-data.at:100' \
  "Matrix data (full)" "                             " 38
at_xfail=no
(
  $as_echo "292. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >matrix-data.pspp <<'_ATEOF'
matrix data
    variables = ROWTYPE_  var01 var02 var03 var04
    /format = full diagonal.

begin data
MEAN 34 35 36 37
SD   22 11 55 66
N    100 101 102 103
CORR 1 9 8 7
CORR 9 1 6 5
CORR 8 6 1 4
CORR 7 5 4 1
end data.

list.
_ATEOF



{ set +x
$as_echo "$at_srcdir/matrix-data.at:122: pspp -O format=csv matrix-data.pspp"
at_fn_check_prepare_trace "matrix-data.at:122"
( $at_check_trace; pspp -O format=csv matrix-data.pspp
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
ROWTYPE_,VARNAME_,var01,var02,var03,var04
MEAN    ,,34.0000,35.0000,36.0000,37.0000
STDDEV  ,,22.0000,11.0000,55.0000,66.0000
N       ,,100.0000,101.0000,102.0000,103.0000
CORR    ,var01,1.0000,9.0000,8.0000,7.0000
CORR    ,var02,9.0000,1.0000,6.0000,5.0000
CORR    ,var03,8.0000,6.0000,1.0000,4.0000
CORR    ,var04,7.0000,5.0000,4.0000,1.0000
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/matrix-data.at:122"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_292
#AT_START_293
at_fn_group_banner 293 'matrix-data.at:137' \
  "Matrix data (upper nodiagonal)" "                 " 38
at_xfail=no
(
  $as_echo "293. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >matrix-data.pspp <<'_ATEOF'
matrix data
    variables = rowtype_  var01 var02 var03 var04
    /format = upper nodiagonal.

begin data
mean 34 35 36 37
sd   22 11 55 66
n    100 101 102 103
corr  9 8 7
corr  6 5
corr  4
end data.

list.
_ATEOF


{ set +x
$as_echo "$at_srcdir/matrix-data.at:156: pspp -O format=csv matrix-data.pspp"
at_fn_check_prepare_trace "matrix-data.at:156"
( $at_check_trace; pspp -O format=csv matrix-data.pspp
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
ROWTYPE_,VARNAME_,var01,var02,var03,var04
mean    ,,34.0000,35.0000,36.0000,37.0000
STDDEV  ,,22.0000,11.0000,55.0000,66.0000
n       ,,100.0000,101.0000,102.0000,103.0000
corr    ,var01,1.0000,9.0000,8.0000,7.0000
corr    ,var02,9.0000,1.0000,6.0000,5.0000
corr    ,var03,8.0000,6.0000,1.0000,4.0000
corr    ,var04,7.0000,5.0000,4.0000,1.0000
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/matrix-data.at:156"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_293
#AT_START_294
at_fn_group_banner 294 'matrix-data.at:171' \
  "Matrix data (lower nodiagonal)" "                 " 38
at_xfail=no
(
  $as_echo "294. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >matrix-data.pspp <<'_ATEOF'
matrix data
    variables = rowtype_  var01 var02 var03 var04
    /format = lower nodiagonal.

begin data
mean 34 35 36 37
sd   22 11 55 66
n    100 101 102 103
corr  9
corr  8 6
corr  7 5 4
end data.

list.
_ATEOF


{ set +x
$as_echo "$at_srcdir/matrix-data.at:190: pspp -O format=csv matrix-data.pspp"
at_fn_check_prepare_trace "matrix-data.at:190"
( $at_check_trace; pspp -O format=csv matrix-data.pspp
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
ROWTYPE_,VARNAME_,var01,var02,var03,var04
mean    ,,34.0000,35.0000,36.0000,37.0000
STDDEV  ,,22.0000,11.0000,55.0000,66.0000
n       ,,100.0000,101.0000,102.0000,103.0000
corr    ,var01,1.0000,9.0000,8.0000,7.0000
corr    ,var02,9.0000,1.0000,6.0000,5.0000
corr    ,var03,8.0000,6.0000,1.0000,4.0000
corr    ,var04,7.0000,5.0000,4.0000,1.0000
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/matrix-data.at:190"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_294
#AT_START_295
at_fn_group_banner 295 'matrix-data.at:206' \
  "Matrix data split data" "                         " 38
at_xfail=no
(
  $as_echo "295. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >matrix-data.pspp <<'_ATEOF'
matrix data
    variables = s1 s2 rowtype_  var01 var02 var03
    /split=s1 s2.

begin data
8 0   mean     21.4  5.0  72.9
8 0   sd       6.5   1.6  22.8
8 0   n        106   106  106
8 0   corr     1
8 0   corr    .41  1
8 0   corr    -.16  -.22  1
8 1   mean     11.4  1.0  52.9
8 1   sd       9.5   8.6  12.8
8 1   n        10   11  12
8 1   corr     1
8 1   corr    .51  1
8 1   corr    .36  -.41  1
end data.

display dictionary.

list.
_ATEOF



{ set +x
$as_echo "$at_srcdir/matrix-data.at:234: pspp -O format=csv matrix-data.pspp"
at_fn_check_prepare_trace "matrix-data.at:234"
( $at_check_trace; pspp -O format=csv matrix-data.pspp
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Variable,Description,Position
s1,Format: F4.0,1
s2,Format: F4.0,2
ROWTYPE_,Format: A8,3
VARNAME_,Format: A8,4
var01,Format: F10.4,5
var02,Format: F10.4,6
var03,Format: F10.4,7

Table: Data List
s1,s2,ROWTYPE_,VARNAME_,var01,var02,var03
8,0,mean    ,,21.4000,5.0000,72.9000
8,0,STDDEV  ,,6.5000,1.6000,22.8000
8,0,n       ,,106.0000,106.0000,106.0000
8,0,corr    ,var01,1.0000,.4100,-.1600
8,0,corr    ,var02,.4100,1.0000,-.2200
8,0,corr    ,var03,-.1600,-.2200,1.0000
8,1,mean    ,,11.4000,1.0000,52.9000
8,1,STDDEV  ,,9.5000,8.6000,12.8000
8,1,n       ,,10.0000,11.0000,12.0000
8,1,corr    ,var01,1.0000,.5100,.3600
8,1,corr    ,var02,.5100,1.0000,-.4100
8,1,corr    ,var03,.3600,-.4100,1.0000
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/matrix-data.at:234"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_295
#AT_START_296
at_fn_group_banner 296 'matrix-data.at:265' \
  "Matrix data duplicate variable" "                 " 38
at_xfail=no
(
  $as_echo "296. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >matrix-data.pspp <<'_ATEOF'
set decimal = dot .
matrix data
    variables = s1 s1 rowtype_  var01 var02 var03
    /split=s1.

begin data
0   mean     21.4  5.0  72.9
0   sd       6.5   1.6  22.8
0   n        106   106  106
0   corr     1
0   corr    .41  1
0   corr    -.16  -.22  1
end data .

list.
_ATEOF



{ set +x
$as_echo "$at_srcdir/matrix-data.at:287: pspp -O format=csv matrix-data.pspp"
at_fn_check_prepare_trace "matrix-data.at:287"
( $at_check_trace; pspp -O format=csv matrix-data.pspp
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "matrix-data.pspp:3: error: MATRIX DATA: Variable s1 appears twice in variable list.

matrix-data.pspp:6: error: Stopping syntax file processing here to avoid a cascade of dependent command failures.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/matrix-data.at:287"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_296
#AT_START_297
at_fn_group_banner 297 'matrix-data.at:297' \
  "Matrix data - long variable names" "              " 38
at_xfail=no
(
  $as_echo "297. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >matrix-data.pspp <<'_ATEOF'
matrix data
    variables = rowtype_  var01 var_two variable_number_three variableFour
    /format = upper diagonal.

begin data
mean         34  35  36  37
sd           22  11  55  66
n_vector    100 101 102 103
corr          1   9   8   7
corr              1   6   5
corr                  1   4
corr                      1
end data.

list.
_ATEOF


{ set +x
$as_echo "$at_srcdir/matrix-data.at:317: pspp -O format=csv matrix-data.pspp"
at_fn_check_prepare_trace "matrix-data.at:317"
( $at_check_trace; pspp -O format=csv matrix-data.pspp
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
ROWTYPE_,VARNAME_,var01,var_two,variable_number_three,variableFour
mean    ,,34.0000,35.0000,36.0000,37.0000
STDDEV  ,,22.0000,11.0000,55.0000,66.0000
N       ,,100.0000,101.0000,102.0000,103.0000
corr    ,var01,1.0000,9.0000,8.0000,7.0000
corr    ,var_two,9.0000,1.0000,6.0000,5.0000
corr    ,variable_number_three,8.0000,6.0000,1.0000,4.0000
corr    ,variableFour,7.0000,5.0000,4.0000,1.0000
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/matrix-data.at:317"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_297
#AT_START_298
at_fn_group_banner 298 'matrix-data.at:333' \
  "Matrix reader - read integrity" "                 " 38
at_xfail=no
(
  $as_echo "298. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >matrix-reader.pspp <<'_ATEOF'
matrix data
    variables = rowtype_  var01 to var9
    /format = full.

begin data
n    1  2  3  4  5  6  7  8  9
sd   100 200 300 400 500 600 700 800 900
corr 11 12 13 14 15 16 17 18 19
corr 21 22 23 24 25 26 27 28 29
corr 31 32 33 34 35 36 37 38 39
corr 41 42 43 44 45 46 47 48 49
corr 51 52 53 54 55 56 57 58 59
corr 61 62 63 64 65 66 67 68 69
corr 71 72 73 74 75 76 77 78 79
corr 81 82 83 84 85 86 87 88 89
corr 91 92 93 94 95 96 97 98 99
end data.

factor  /matrix = in (corr = *)
	/analysis var02 var04 var06
	/method = correlation
	/rotation = norotate
	/print correlation.
_ATEOF


{ set +x
$as_echo "$at_srcdir/matrix-data.at:365: pspp -O format=csv matrix-reader.pspp"
at_fn_check_prepare_trace "matrix-data.at:365"
( $at_check_trace; pspp -O format=csv matrix-reader.pspp
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Correlation Matrix
,,var02,var04,var06
Correlations,var02,22.00,24.00,26.00
,var04,42.00,44.00,46.00
,var06,62.00,64.00,66.00

Table: Component Matrix
,Component,
,1,2
var02,6.73,-2.23
var04,6.95,2.15
var06,9.22,.01
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/matrix-data.at:365"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_298
#AT_START_299
at_fn_group_banner 299 'matrix-data.at:383' \
  "Matrix data - too many rows" "                    " 38
at_xfail=no
(
  $as_echo "299. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >matrix-data.pspp <<'_ATEOF'
matrix data
    variables = rowtype_
    var01 var02 var03 var04
    / format = upper diagonal .
begin data
    mean     21.4  5.0  72.9  17.4
    sd       6.5  1.6  22.8  5.7
    n       106  106  106  106
    corr    1.00  .32  .48  .28
    corr    1.00  .72  .54  .44
    corr    1.00  .50  .59  .64
    corr    1.00  .62  .49  -.30
    corr    1.00  .56  -.38  .52
    corr    1.00  -.73  .91  .80
    corr    1.00  -.65  -.60
    corr    1.00  .70
    corr    1.00
end data .

execute.
_ATEOF



{ set +x
$as_echo "$at_srcdir/matrix-data.at:411: pspp -O format=csv matrix-data.pspp"
at_fn_check_prepare_trace "matrix-data.at:411"
( $at_check_trace; pspp -O format=csv matrix-data.pspp
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "matrix-data.pspp:13: error: MATRIX DATA: There are 4 variable declared but the data has at least 5 matrix rows.

matrix-data.pspp:20: error: EXECUTE: EXECUTE is allowed only after the active dataset has been defined.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/matrix-data.at:411"
$at_failed && at_fn_log_failure
$at_traceon; }



  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_299
#AT_START_300
at_fn_group_banner 300 'matrix-data.at:423' \
  "Matrix data (badly formed)" "                     " 38
at_xfail=no
(
  $as_echo "300. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >data.pspp <<'_ATEOF'
data list list /ROWTYPE_ (a8) VARNAME_(a4) v1 v2 v3 v4xxxxxxxxxxxxxxxxxxxxxzzzzzzzzzzzzzxxxxxxxxx.
begin data
mean ""                          1 2 3 4
sd   ""                          5 6 7 8
n    ""                          2 3 4 5
corr v1                          11 22 33 44
corr v2                          55 66 77 88
corr v3                          111 222 333 444
corr v4                           4 3 21 1
end data.

list.

factor matrix=in(corr = *)
	.
_ATEOF


{ set +x
$as_echo "$at_srcdir/matrix-data.at:443: pspp -O format=csv data.pspp"
at_fn_check_prepare_trace "matrix-data.at:443"
( $at_check_trace; pspp -O format=csv data.pspp
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 1 $at_status "$at_srcdir/matrix-data.at:443"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_300
#AT_START_301
at_fn_group_banner 301 'matrix-data.at:450' \
  "Matrix data (N subcommand)" "                     " 38
at_xfail=no
(
  $as_echo "301. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >matrix-data.pspp <<'_ATEOF'
matrix data
    variables = rowtype_  var01 var02 var03 var04
    /n = 99
    /format = upper nodiagonal.
begin data
mean 34 35 36 37
sd   22 11 55 66
n_vector 1 2 3 4
corr  9 8 7
corr  6 5
corr  4
end data.

list.
_ATEOF


{ set +x
$as_echo "$at_srcdir/matrix-data.at:469: pspp -O format=csv matrix-data.pspp"
at_fn_check_prepare_trace "matrix-data.at:469"
( $at_check_trace; pspp -O format=csv matrix-data.pspp
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "\"matrix-data.pspp:12: warning: MATRIX DATA: The N subcommand was specified, but a N record was also found in the data.  The N record will be ignored.\"

Table: Data List
ROWTYPE_,VARNAME_,var01,var02,var03,var04
N       ,,99.0000,99.0000,99.0000,99.0000
mean    ,,34.0000,35.0000,36.0000,37.0000
STDDEV  ,,22.0000,11.0000,55.0000,66.0000
corr    ,var01,1.0000,9.0000,8.0000,7.0000
corr    ,var02,9.0000,1.0000,6.0000,5.0000
corr    ,var03,8.0000,6.0000,1.0000,4.0000
corr    ,var04,7.0000,5.0000,4.0000,1.0000
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/matrix-data.at:469"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_301
#AT_START_302
at_fn_group_banner 302 'print-space.at:19' \
  "PRINT SPACE without arguments" "                  " 39
at_xfail=no
(
  $as_echo "302. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >print-space.sps <<'_ATEOF'
DATA LIST NOTABLE/x 1.
BEGIN DATA.
1
2
END DATA.
PRINT/x.
PRINT SPACE.
EXECUTE.
_ATEOF

{ set +x
$as_echo "$at_srcdir/print-space.at:30: pspp -O format=csv print-space.sps"
at_fn_check_prepare_trace "print-space.at:30"
( $at_check_trace; pspp -O format=csv print-space.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "1 



2 


" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/print-space.at:30"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_302
#AT_START_303
at_fn_group_banner 303 'print-space.at:41' \
  "PRINT SPACE with number" "                        " 39
at_xfail=no
(
  $as_echo "303. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >print-space.sps <<'_ATEOF'
DATA LIST NOTABLE/x 1.
BEGIN DATA.
1
2
END DATA.
PRINT/x.
PRINT SPACE 2.
EXECUTE.
_ATEOF

{ set +x
$as_echo "$at_srcdir/print-space.at:52: pspp -O format=csv print-space.sps"
at_fn_check_prepare_trace "print-space.at:52"
( $at_check_trace; pspp -O format=csv print-space.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "1 





2 




" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/print-space.at:52"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_303
#AT_START_304
at_fn_group_banner 304 'print-space.at:67' \
  "PRINT SPACE to file" "                            " 39
at_xfail=no
(
  $as_echo "304. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >print-space.sps <<'_ATEOF'
DATA LIST NOTABLE/x 1.
BEGIN DATA.
1
2
END DATA.
PRINT OUTFILE='output.txt'/x.
PRINT SPACE OUTFILE='output.txt'.
EXECUTE.
_ATEOF

{ set +x
$as_echo "$at_srcdir/print-space.at:79: pspp -O format=csv print-space.sps"
at_fn_check_prepare_trace "print-space.at:79"
( $at_check_trace; pspp -O format=csv print-space.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/print-space.at:79"
$at_failed && at_fn_log_failure  \
"output.txt"
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/print-space.at:80: cat output.txt"
at_fn_check_prepare_trace "print-space.at:80"
( $at_check_trace; cat output.txt
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo " 1 
 
 2 
 
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/print-space.at:80"
$at_failed && at_fn_log_failure  \
"output.txt"
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_304
#AT_START_305
at_fn_group_banner 305 'print-space.at:88' \
  "PRINT SPACE to file with number" "                " 39
at_xfail=no
(
  $as_echo "305. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >print-space.sps <<'_ATEOF'
DATA LIST NOTABLE/x 1.
BEGIN DATA.
1
2
END DATA.
PRINT OUTFILE='output.txt'/x.
PRINT SPACE OUTFILE='output.txt' 2.
EXECUTE.
_ATEOF

{ set +x
$as_echo "$at_srcdir/print-space.at:100: pspp -O format=csv print-space.sps"
at_fn_check_prepare_trace "print-space.at:100"
( $at_check_trace; pspp -O format=csv print-space.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/print-space.at:100"
$at_failed && at_fn_log_failure  \
"output.txt"
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/print-space.at:101: cat output.txt"
at_fn_check_prepare_trace "print-space.at:101"
( $at_check_trace; cat output.txt
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo " 1 
 
 
 2 
 
 
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/print-space.at:101"
$at_failed && at_fn_log_failure  \
"output.txt"
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_305
#AT_START_306
at_fn_group_banner 306 'print.at:36' \
  "PRINT numeric variables" "                        " 40
at_xfail=no
(
  $as_echo "306. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >print.sps <<'_ATEOF'
data list notable /x y 1-2.
begin data.
12
34
 6
7
90
end data.

print /x y.
print eject /x y 1-2.
print /x '-' y.
print.

execute.
_ATEOF

{ set +x
$as_echo "$at_srcdir/print.at:54: pspp -O format=csv print.sps"
at_fn_check_prepare_trace "print.at:54"
( $at_check_trace; pspp -O format=csv print.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "1 2 



12

1 -2 



3 4 



34

3 -4 



. 6 



.6

. -6 



7 . 



7.

7 -. 



9 0 



90

9 -0 


" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/print.at:54"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_306
#AT_START_307
at_fn_group_banner 307 'print.at:107' \
  "PRINT string variables" "                         " 40
at_xfail=no
(
  $as_echo "307. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >print.sps <<'_ATEOF'
DATA LIST FREE /s8 (a8) s10 (a10) vl255 (a255) vl258 (a258).
BEGIN DATA.
12345678
AaaaaaaaaZ
AbbbbMaryHadALittleLambbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbZ
AccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccZ
87654321
AnnnnnnnnZ
AmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmZ
AoooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooWhyIsItSoZ
END DATA.

print
	outfile='print.txt'
	/s10 * vl255 * vl258 *.

EXECUTE.
_ATEOF

{ set +x
$as_echo "$at_srcdir/print.at:127: pspp -O format=csv print.sps"
at_fn_check_prepare_trace "print.at:127"
( $at_check_trace; pspp -O format=csv print.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/print.at:127"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/print.at:128: cat print.txt"
at_fn_check_prepare_trace "print.at:128"
( $at_check_trace; cat print.txt
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo " AaaaaaaaaZ AbbbbMaryHadALittleLambbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbZ AccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccZ 
 AnnnnnnnnZ AmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmZ AoooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooWhyIsItSoZ 
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/print.at:128"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_307
#AT_START_308
at_fn_group_banner 308 'print.at:134' \
  "PRINT to file" "                                  " 40
at_xfail=no
(
  $as_echo "308. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >print.sps <<'_ATEOF'
data list notable /x y 1-2.
begin data.
12
34
 6
7
90
end data.

print outfile='print.out' /x y.
print eject outfile='print.out' /x y (f1,f1).
print outfile='print.out' /x '-' y.
print outfile='print.out'.

execute.
_ATEOF

{ set +x
$as_echo "$at_srcdir/print.at:152: pspp -O format=csv print.sps"
at_fn_check_prepare_trace "print.at:152"
( $at_check_trace; pspp -O format=csv print.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/print.at:152"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/print.at:153: cat print.out"
at_fn_check_prepare_trace "print.at:153"
( $at_check_trace; cat print.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo " 1 2 
112
 1 -2 
 
 3 4 
134
 3 -4 
 
 . 6 
1.6
 . -6 
 
 7 . 
17.
 7 -. 
 
 9 0 
190
 9 -0 
 
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/print.at:153"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_308
#AT_START_309
at_fn_group_banner 309 'print.at:179' \
  "PRINT crash bug" "                                " 40
at_xfail=no
(
  $as_echo "309. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >print.sps <<'_ATEOF'
DATA LIST LIST NOTABLE /a * b *.
BEGIN DATA.
1 2
3 4
END DATA.

PRINT F8.2
LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/print.at:190: pspp -O format=csv print.sps"
at_fn_check_prepare_trace "print.at:190"
( $at_check_trace; pspp -O format=csv print.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "print.sps:7.7-7.10: error: PRINT: Syntax error at \`F8.2': expecting a valid subcommand.

Table: Data List
a,b
1.00,2.00
3.00,4.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/print.at:190"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_309
#AT_START_310
at_fn_group_banner 310 'print.at:200' \
  "WRITE to file" "                                  " 40
at_xfail=no
(
  $as_echo "310. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >write.sps <<'_ATEOF'
data list notable /x y 1-2.
begin data.
12
34
 6
7
90
end data.

write outfile='write.out' /x y.
write outfile='write.out' /x y (2(f1)).
write outfile='write.out' /x '-' y.
write outfile='write.out'.

execute.
_ATEOF

{ set +x
$as_echo "$at_srcdir/print.at:218: pspp -O format=csv write.sps"
at_fn_check_prepare_trace "print.at:218"
( $at_check_trace; pspp -O format=csv write.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/print.at:218"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/print.at:219: cat write.out"
at_fn_check_prepare_trace "print.at:219"
( $at_check_trace; cat write.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "12
12
1-2

34
34
3-4

 6
 6
 -6

7 
7 
7- 

90
90
9-0

" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/print.at:219"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_310
#AT_START_311
at_fn_group_banner 311 'print.at:243' \
  "PRINT overwrites file" "                          " 40
at_xfail=no
(
  $as_echo "311. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >output.txt <<'_ATEOF'
abcdef
_ATEOF

cat >print.sps <<'_ATEOF'
DATA LIST NOTABLE/x 1.
BEGIN DATA.
5
END DATA.
PRINT OUTFILE='output.txt'/x.
EXECUTE.
_ATEOF

{ set +x
$as_echo "$at_srcdir/print.at:254: pspp -O format=csv print.sps"
at_fn_check_prepare_trace "print.at:254"
( $at_check_trace; pspp -O format=csv print.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/print.at:254"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/print.at:255: cat output.txt"
at_fn_check_prepare_trace "print.at:255"
( $at_check_trace; cat output.txt
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo " 5 
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/print.at:255"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_311
#AT_START_312
at_fn_group_banner 312 'print.at:259' \
  "PRINT overwrites file atomically" "               " 40
at_xfail=no
(
  $as_echo "312. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >output.txt <<'_ATEOF'
abcdef
_ATEOF

cat >print.sps <<'_ATEOF'
DATA LIST NOTABLE/x 1.
BEGIN DATA.
5
END DATA.
PRINT OUTFILE='output.txt'/x.
HOST COMMAND=['kill -TERM $PPID'].
_ATEOF

{ set +x
$as_echo "$at_srcdir/print.at:270: pspp -O format=csv print.sps"
at_fn_check_prepare_trace "print.at:270"
( $at_check_trace; pspp -O format=csv print.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 143 $at_status "$at_srcdir/print.at:270"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/print.at:271: cat output.txt"
at_fn_check_prepare_trace "print.at:271"
( $at_check_trace; cat output.txt
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "abcdef
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/print.at:271"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/print.at:273: for file in *.tmp*; do if test -e \$file; then echo \$file; exit 1; fi; done"
at_fn_check_prepare_dynamic "for file in *.tmp*; do if test -e $file; then echo $file; exit 1; fi; done" "print.at:273"
( $at_check_trace; for file in *.tmp*; do if test -e $file; then echo $file; exit 1; fi; done
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/print.at:273"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_312
#AT_START_313
at_fn_group_banner 313 'print.at:277' \
  "PRINT to same file being read" "                  " 40
at_xfail=no
(
  $as_echo "313. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >data.txt <<'_ATEOF'
5
_ATEOF

cat >print.sps <<'_ATEOF'
DATA LIST FILE='data.txt' NOTABLE/x 1.
COMPUTE y = x + 1.
PRINT OUTFILE='data.txt'/y.
EXECUTE.
_ATEOF

{ set +x
$as_echo "$at_srcdir/print.at:286: pspp -O format=csv print.sps"
at_fn_check_prepare_trace "print.at:286"
( $at_check_trace; pspp -O format=csv print.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/print.at:286"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/print.at:287: cat data.txt"
at_fn_check_prepare_trace "print.at:287"
( $at_check_trace; cat data.txt
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "     6.00 
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/print.at:287"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/print.at:289: for file in *.tmp*; do if test -e \$file; then echo \$file; exit 1; fi; done"
at_fn_check_prepare_dynamic "for file in *.tmp*; do if test -e $file; then echo $file; exit 1; fi; done" "print.at:289"
( $at_check_trace; for file in *.tmp*; do if test -e $file; then echo $file; exit 1; fi; done
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/print.at:289"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_313
#AT_START_314
at_fn_group_banner 314 'print.at:293' \
  "PRINT to special file" "                          " 40
at_xfail=no
(
  $as_echo "314. $at_setup_line: testing $at_desc ..."
  $at_traceon

$as_echo "print.at:294" >"$at_check_line_file"
(test ! -c /dev/null) \
  && at_fn_check_skip 77 "$at_srcdir/print.at:294"
{ set +x
$as_echo "$at_srcdir/print.at:295: ln -s /dev/null foo.out || exit 77"
at_fn_check_prepare_trace "print.at:295"
( $at_check_trace; ln -s /dev/null foo.out || exit 77
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/print.at:295"
$at_failed && at_fn_log_failure
$at_traceon; }

$as_echo "print.at:296" >"$at_check_line_file"
(test ! -c foo.out) \
  && at_fn_check_skip 77 "$at_srcdir/print.at:296"
cat >print.sps <<'_ATEOF'
DATA LIST NOTABLE /x 1.
BEGIN DATA.
1
2
3
4
5
END DATA.
PRINT OUTFILE='foo.out'/x.
PRINT OUTFILE='foo2.out'/x.
EXECUTE.
_ATEOF

{ set +x
$as_echo "$at_srcdir/print.at:310: pspp -O format=csv print.sps"
at_fn_check_prepare_trace "print.at:310"
( $at_check_trace; pspp -O format=csv print.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/print.at:310"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/print.at:311: cat foo2.out"
at_fn_check_prepare_trace "print.at:311"
( $at_check_trace; cat foo2.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo " 1 
 2 
 3 
 4 
 5 
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/print.at:311"
$at_failed && at_fn_log_failure
$at_traceon; }

ls -l foo.out foo2.out
{ set +x
$as_echo "$at_srcdir/print.at:319: test -c foo.out"
at_fn_check_prepare_trace "print.at:319"
( $at_check_trace; test -c foo.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/print.at:319"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_314
#AT_START_315
at_fn_group_banner 315 'print.at:322' \
  "PRINT with special line ends" "                   " 40
at_xfail=no
(
  $as_echo "315. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >print.sps <<'_ATEOF'
FILE HANDLE lf   /NAME='lf.txt'   /ENDS=LF.
FILE HANDLE crlf /NAME='crlf.txt' /ENDS=CRLF.
DATA LIST NOTABLE /x 1.
BEGIN DATA.
1
2
3
4
5
END DATA.
PRINT OUTFILE=lf/x.
PRINT OUTFILE=crlf/x.
EXECUTE.
_ATEOF

{ set +x
$as_echo "$at_srcdir/print.at:338: pspp -O format=csv print.sps"
at_fn_check_prepare_trace "print.at:338"
( $at_check_trace; pspp -O format=csv print.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/print.at:338"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/print.at:339: cat lf.txt"
at_fn_check_prepare_trace "print.at:339"
( $at_check_trace; cat lf.txt
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo " 1 
 2 
 3 
 4 
 5 
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/print.at:339"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/print.at:346: tr '\\r' R < crlf.txt"
at_fn_check_prepare_trace "print.at:346"
( $at_check_trace; tr '\r' R < crlf.txt
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo " 1 R
 2 R
 3 R
 4 R
 5 R
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/print.at:346"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_315
#AT_START_316
at_fn_group_banner 316 'save.at:19' \
  "IMPORT and EXPORT" "                              " 41
at_xfail=no
(
  $as_echo "316. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >import-export.sps <<'_ATEOF'
DATA LIST LIST NOTABLE /X Y.
BEGIN DATA.
1 2
3 .
5 6
END DATA.

EXPORT /OUTFILE='wiz.por'.
IMPORT /FILE='wiz.por'.

LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/save.at:33: pspp -o pspp.csv import-export.sps"
at_fn_check_prepare_trace "save.at:33"
( $at_check_trace; pspp -o pspp.csv import-export.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/save.at:33"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/save.at:34: cat pspp.csv"
at_fn_check_prepare_trace "save.at:34"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
X,Y
1.00,2.00
3.00,.  
5.00,6.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/save.at:34"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_316
#AT_START_317
at_fn_group_banner 317 'save.at:47' \
  "SAVE -- delete unselected" "                      " 42
at_xfail=no
(
  $as_echo "317. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >data.txt <<'_ATEOF'
0 '1 9:30:05' 1/2/2003 "25/8/1995 15:30:00" "'a,b,c'",0
, '-0 5:17' 10/31/2010 "9/4/2008 9:29:00" " xxx ",1
1.625,'0 12:00',,,xyzzy,1
_ATEOF

cat >save.pspp <<'_ATEOF'
SET DECIMAL=DOT.
DATA LIST LIST NOTABLE FILE="data.txt"
    /number(F8.3) time(DTIME10) date(ADATE10) datetime(DATETIME20) string(A8)
     filter(F1.0).
MISSING VALUES number(0) time('0 12:00') string('xyzzy').
FILTER BY filter.
SAVE /OUTFILE="data.sav" /UNSELECTED=DELETE.
_ATEOF

cat >get.pspp <<'_ATEOF'
GET FILE='data.sav'.
LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/save.at:66: pspp -O format=csv save.pspp"
at_fn_check_prepare_trace "save.at:66"
( $at_check_trace; pspp -O format=csv save.pspp
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/save.at:66"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/save.at:67: pspp -O format=csv get.pspp"
at_fn_check_prepare_trace "save.at:67"
( $at_check_trace; pspp -O format=csv get.pspp
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
number,time,date,datetime,string,filter
.   ,-0 05:17,10/31/2010,09-APR-2008 09:29:00,xxx    ,1
1.625,0 12:00:00,.,.,xyzzy   ,1
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/save.at:67"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_317
#AT_START_318
at_fn_group_banner 318 'save-translate.at:39' \
  "CSV output -- defaults" "                         " 43
at_xfail=no
(
  $as_echo "318. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >data.txt <<'_ATEOF'
0 '1 9:30:05' 1/2/2003 "25/8/1995 15:30:00" "'a,b,c'",0
, '-0 5:17' 10/31/2010 "9/4/2008 9:29:00" " xxx ",1
1.625,'0 12:00',,,xyzzy,1
_ATEOF

cat >save-translate.pspp <<'_ATEOF'
SET DECIMAL=DOT.
DATA LIST LIST NOTABLE FILE="data.txt"
    /number(F8.3) time(DTIME10) date(ADATE10) datetime(DATETIME20) string(A8)
     filter(F1.0).
MISSING VALUES number(0) time('0 12:00') string('xyzzy').
FILTER BY filter.
SAVE TRANSLATE /OUTFILE="data.csv" /TYPE=CSV
    .
_ATEOF

{ set +x
$as_echo "$at_srcdir/save-translate.at:40: pspp -O format=csv save-translate.pspp"
at_fn_check_prepare_trace "save-translate.at:40"
( $at_check_trace; pspp -O format=csv save-translate.pspp
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/save-translate.at:40"
$at_failed && at_fn_log_failure
$at_traceon; }


{ set +x
$as_echo "$at_srcdir/save-translate.at:41: cat data.csv"
at_fn_check_prepare_trace "save-translate.at:41"
( $at_check_trace; cat data.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "0,33:30:05,01/02/2003,08/25/1995 15:30:00,\"'a,b,c'\",0
 ,-05:17:00,10/31/2010,04/09/2008 09:29:00, xxx,1
1.625,12:00:00, , ,xyzzy,1
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/save-translate.at:41"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_318
#AT_START_319
at_fn_group_banner 319 'save-translate.at:48' \
  "CSV output -- recode missing, delete unselected" "" 43
at_xfail=no
(
  $as_echo "319. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >data.txt <<'_ATEOF'
0 '1 9:30:05' 1/2/2003 "25/8/1995 15:30:00" "'a,b,c'",0
, '-0 5:17' 10/31/2010 "9/4/2008 9:29:00" " xxx ",1
1.625,'0 12:00',,,xyzzy,1
_ATEOF

cat >save-translate.pspp <<'_ATEOF'
SET DECIMAL=DOT.
DATA LIST LIST NOTABLE FILE="data.txt"
    /number(F8.3) time(DTIME10) date(ADATE10) datetime(DATETIME20) string(A8)
     filter(F1.0).
MISSING VALUES number(0) time('0 12:00') string('xyzzy').
FILTER BY filter.
SAVE TRANSLATE /OUTFILE="data.csv" /TYPE=CSV
    /MISSING=RECODE /UNSELECTED=DELETE.
_ATEOF

{ set +x
$as_echo "$at_srcdir/save-translate.at:49: pspp -O format=csv save-translate.pspp"
at_fn_check_prepare_trace "save-translate.at:49"
( $at_check_trace; pspp -O format=csv save-translate.pspp
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/save-translate.at:49"
$at_failed && at_fn_log_failure
$at_traceon; }


{ set +x
$as_echo "$at_srcdir/save-translate.at:50: cat data.csv"
at_fn_check_prepare_trace "save-translate.at:50"
( $at_check_trace; cat data.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo " ,-05:17:00,10/31/2010,04/09/2008 09:29:00, xxx,1
1.625, , , ,,1
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/save-translate.at:50"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_319
#AT_START_320
at_fn_group_banner 320 'save-translate.at:56' \
  "CSV output -- var names, formats" "               " 43
at_xfail=no
(
  $as_echo "320. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >data.txt <<'_ATEOF'
0 '1 9:30:05' 1/2/2003 "25/8/1995 15:30:00" "'a,b,c'",0
, '-0 5:17' 10/31/2010 "9/4/2008 9:29:00" " xxx ",1
1.625,'0 12:00',,,xyzzy,1
_ATEOF

cat >save-translate.pspp <<'_ATEOF'
SET DECIMAL=DOT.
DATA LIST LIST NOTABLE FILE="data.txt"
    /number(F8.3) time(DTIME10) date(ADATE10) datetime(DATETIME20) string(A8)
     filter(F1.0).
MISSING VALUES number(0) time('0 12:00') string('xyzzy').
FILTER BY filter.
SAVE TRANSLATE /OUTFILE="data.csv" /TYPE=CSV
    /FIELDNAMES /TEXTOPTIONS FORMAT=VARIABLE /UNSELECTED=RETAIN.
_ATEOF

{ set +x
$as_echo "$at_srcdir/save-translate.at:57: pspp -O format=csv save-translate.pspp"
at_fn_check_prepare_trace "save-translate.at:57"
( $at_check_trace; pspp -O format=csv save-translate.pspp
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/save-translate.at:57"
$at_failed && at_fn_log_failure
$at_traceon; }


{ set +x
$as_echo "$at_srcdir/save-translate.at:59: cat data.csv"
at_fn_check_prepare_trace "save-translate.at:59"
( $at_check_trace; cat data.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "number,time,date,datetime,string,filter
.000,1 09:30:05,01/02/2003,25-AUG-1995 15:30:00,\"'a,b,c'\",0
 ,-0 05:17,10/31/2010,09-APR-2008 09:29:00, xxx,1
1.625,0 12:00:00, , ,xyzzy,1
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/save-translate.at:59"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_320
#AT_START_321
at_fn_group_banner 321 'save-translate.at:67' \
  "CSV output -- comma as decimal point" "           " 43
at_xfail=no
(
  $as_echo "321. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >data.txt <<'_ATEOF'
0 '1 9:30:05' 1/2/2003 "25/8/1995 15:30:00" "'a,b,c'",0
, '-0 5:17' 10/31/2010 "9/4/2008 9:29:00" " xxx ",1
1.625,'0 12:00',,,xyzzy,1
_ATEOF

cat >save-translate.pspp <<'_ATEOF'
SET DECIMAL=DOT.
DATA LIST LIST NOTABLE FILE="data.txt"
    /number(F8.3) time(DTIME10) date(ADATE10) datetime(DATETIME20) string(A8)
     filter(F1.0).
MISSING VALUES number(0) time('0 12:00') string('xyzzy').
FILTER BY filter.
SAVE TRANSLATE /OUTFILE="data.csv" /TYPE=CSV
    /FIELDNAMES /TEXTOPTIONS DECIMAL=COMMA.
_ATEOF

{ set +x
$as_echo "$at_srcdir/save-translate.at:68: pspp -O format=csv save-translate.pspp"
at_fn_check_prepare_trace "save-translate.at:68"
( $at_check_trace; pspp -O format=csv save-translate.pspp
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/save-translate.at:68"
$at_failed && at_fn_log_failure
$at_traceon; }


{ set +x
$as_echo "$at_srcdir/save-translate.at:69: cat data.csv"
at_fn_check_prepare_trace "save-translate.at:69"
( $at_check_trace; cat data.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "number;time;date;datetime;string;filter
0;33:30:05;01/02/2003;08/25/1995 15:30:00;'a,b,c';0
 ;-05:17:00;10/31/2010;04/09/2008 09:29:00; xxx;1
1,625;12:00:00; ; ;xyzzy;1
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/save-translate.at:69"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_321
#AT_START_322
at_fn_group_banner 322 'save-translate.at:77' \
  "CSV output -- custom delimiter, qualifier" "      " 43
at_xfail=no
(
  $as_echo "322. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >data.txt <<'_ATEOF'
0 '1 9:30:05' 1/2/2003 "25/8/1995 15:30:00" "'a,b,c'",0
, '-0 5:17' 10/31/2010 "9/4/2008 9:29:00" " xxx ",1
1.625,'0 12:00',,,xyzzy,1
_ATEOF

cat >save-translate.pspp <<'_ATEOF'
SET DECIMAL=DOT.
DATA LIST LIST NOTABLE FILE="data.txt"
    /number(F8.3) time(DTIME10) date(ADATE10) datetime(DATETIME20) string(A8)
     filter(F1.0).
MISSING VALUES number(0) time('0 12:00') string('xyzzy').
FILTER BY filter.
SAVE TRANSLATE /OUTFILE="data.csv" /TYPE=CSV
    /FIELDNAMES /TEXTOPTIONS DELIMITER=':' QUALIFIER="'".
_ATEOF

{ set +x
$as_echo "$at_srcdir/save-translate.at:78: pspp -O format=csv save-translate.pspp"
at_fn_check_prepare_trace "save-translate.at:78"
( $at_check_trace; pspp -O format=csv save-translate.pspp
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/save-translate.at:78"
$at_failed && at_fn_log_failure
$at_traceon; }


{ set +x
$as_echo "$at_srcdir/save-translate.at:80: cat data.csv"
at_fn_check_prepare_trace "save-translate.at:80"
( $at_check_trace; cat data.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "number:time:date:datetime:string:filter
0:'33:30:05':01/02/2003:'08/25/1995 15:30:00':'''a,b,c''':0
 :'-05:17:00':10/31/2010:'04/09/2008 09:29:00': xxx:1
1.625:'12:00:00': : :xyzzy:1
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/save-translate.at:80"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_322
#AT_START_323
at_fn_group_banner 323 'save-translate.at:88' \
  "CSV output -- KEEP, RENAME" "                     " 43
at_xfail=no
(
  $as_echo "323. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >data.txt <<'_ATEOF'
0 '1 9:30:05' 1/2/2003 "25/8/1995 15:30:00" "'a,b,c'",0
, '-0 5:17' 10/31/2010 "9/4/2008 9:29:00" " xxx ",1
1.625,'0 12:00',,,xyzzy,1
_ATEOF

cat >save-translate.pspp <<'_ATEOF'
SET DECIMAL=DOT.
DATA LIST LIST NOTABLE FILE="data.txt"
    /number(F8.3) time(DTIME10) date(ADATE10) datetime(DATETIME20) string(A8)
     filter(F1.0).
MISSING VALUES number(0) time('0 12:00') string('xyzzy').
FILTER BY filter.
SAVE TRANSLATE /OUTFILE="data.csv" /TYPE=CSV
    /FIELDNAMES /KEEP=time string /RENAME string='long name with spaces' /UNSELECTED=DELETE.
_ATEOF

{ set +x
$as_echo "$at_srcdir/save-translate.at:89: pspp -O format=csv save-translate.pspp"
at_fn_check_prepare_trace "save-translate.at:89"
( $at_check_trace; pspp -O format=csv save-translate.pspp
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/save-translate.at:89"
$at_failed && at_fn_log_failure
$at_traceon; }


{ set +x
$as_echo "$at_srcdir/save-translate.at:91: cat data.csv"
at_fn_check_prepare_trace "save-translate.at:91"
( $at_check_trace; cat data.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "time,long name with spaces
-05:17:00, xxx
12:00:00,xyzzy
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/save-translate.at:91"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_323
#AT_START_324
at_fn_group_banner 324 'save-translate.at:100' \
  "TAB output" "                                     " 44
at_xfail=no
(
  $as_echo "324. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >data.txt <<'_ATEOF'
0 '1 9:30:05' 1/2/2003 "25/8/1995 15:30:00" "'a,b,c'",0
, '-0 5:17' 10/31/2010 "9/4/2008 9:29:00" " xxx ",1
1.625,'0 12:00',,,xyzzy,1
_ATEOF

cat >save-translate.pspp <<'_ATEOF'
SET DECIMAL=DOT.
DATA LIST LIST NOTABLE FILE="data.txt"
    /number(F8.3) time(DTIME10) date(ADATE10) datetime(DATETIME20) string(A8)
     filter(F1.0).
MISSING VALUES number(0) time('0 12:00') string('xyzzy').
FILTER BY filter.
SAVE TRANSLATE /OUTFILE="data.csv" /TYPE=TAB
    /FIELDNAMES.
_ATEOF

{ set +x
$as_echo "$at_srcdir/save-translate.at:101: pspp -O format=csv save-translate.pspp"
at_fn_check_prepare_trace "save-translate.at:101"
( $at_check_trace; pspp -O format=csv save-translate.pspp
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/save-translate.at:101"
$at_failed && at_fn_log_failure
$at_traceon; }


{ set +x
$as_echo "$at_srcdir/save-translate.at:102: cat data.csv"
at_fn_check_prepare_trace "save-translate.at:102"
( $at_check_trace; cat data.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "number	time	date	datetime	string	filter
0	33:30:05	01/02/2003	08/25/1995 15:30:00	'a,b,c'	0
 	-05:17:00	10/31/2010	04/09/2008 09:29:00	 xxx	1
1.625	12:00:00	 	 	xyzzy	1
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/save-translate.at:102"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_324
#AT_START_325
at_fn_group_banner 325 'attributes.at:19' \
  "VARIABLE ATTRIBUTES and DATAFILE ATTRIBUTES" "    " 46
at_xfail=no
(
  $as_echo "325. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >save-attrs.pspp <<'_ATEOF'
DATA LIST FREE/a b c.
BEGIN DATA.
1 2 3
END DATA.

DATAFILE ATTRIBUTE
	ATTRIBUTE=key('value')
                  array('array element 1')
                  Array[2]('array element 2').
VARIABLE ATTRIBUTE
        VARIABLES=a b
        ATTRIBUTE=ValidationRule[2]("a + b > 2")
                  ValidationRule[1]('a * b > 3')
       /VARIABLES=c
        ATTRIBUTE=QuestionWording('X or Y?').
DISPLAY ATTRIBUTES.

SAVE OUTFILE='attributes.sav'.
_ATEOF

cat >get-attrs.pspp <<'_ATEOF'
GET FILE='attributes.sav'.

DATAFILE ATTRIBUTE
         DELETE=Array[1] Array[2].
VARIABLE ATTRIBUTE
         VARIABLES=a
         DELETE=ValidationRule
        /VARIABLE=b
         DELETE=validationrule[2].

DISPLAY ATTRIBUTES.
_ATEOF

{ set +x
$as_echo "$at_srcdir/attributes.at:53: pspp -O format=csv save-attrs.pspp"
at_fn_check_prepare_trace "attributes.at:53"
( $at_check_trace; pspp -O format=csv save-attrs.pspp
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Variable,Description
a,\"Attribute,Value
ValidationRule[1],a * b > 3
ValidationRule[2],a + b > 2\"
b,\"Attribute,Value
ValidationRule[1],a * b > 3
ValidationRule[2],a + b > 2\"
c,\"Attribute,Value
QuestionWording,X or Y?\"

Table: Custom data file attributes.
Attribute,Value
array[1],array element 1
array[2],array element 2
key,value
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/attributes.at:53"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/attributes.at:70: pspp -O format=csv get-attrs.pspp"
at_fn_check_prepare_trace "attributes.at:70"
( $at_check_trace; pspp -O format=csv get-attrs.pspp
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Variable,Description
a,
b,\"Attribute,Value
ValidationRule,a * b > 3\"
c,\"Attribute,Value
QuestionWording,X or Y?\"

Table: Custom data file attributes.
Attribute,Value
array,array element 2
key,value
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/attributes.at:70"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_325
#AT_START_326
at_fn_group_banner 326 'delete-variables.at:20' \
  "DELETE VARIABLES with FILTER" "                   " 47
at_xfail=no
(
  $as_echo "326. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >delete-variables.sps <<'_ATEOF'
DATA LIST LIST /a b.
BEGIN DATA.
1 3
4 6
7 9
END DATA.

FILTER BY b.
DELETE VARIABLES a.
LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/delete-variables.at:33: pspp -O format=csv delete-variables.sps"
at_fn_check_prepare_trace "delete-variables.at:33"
( $at_check_trace; pspp -O format=csv delete-variables.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Reading free-form data from INLINE.
Variable,Format
a,F8.0
b,F8.0

Table: Data List
b
3.00
6.00
9.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/delete-variables.at:33"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_326
#AT_START_327
at_fn_group_banner 327 'formats.at:19' \
  "FORMATS positive tests" "                         " 48
at_xfail=no
(
  $as_echo "327. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >formats.sps <<'_ATEOF'
DATA LIST LIST /a b c * x (A1) y (A2) z (A3).
DISPLAY VARIABLES.
FORMATS /a (COMMA10) b (N4).
DISPLAY VARIABLES.
FORMATS c (E8.1) x (A1) /y (AHEX4) z (A3).
DISPLAY VARIABLES.
_ATEOF

{ set +x
$as_echo "$at_srcdir/formats.at:28: pspp -o pspp.csv formats.sps"
at_fn_check_prepare_trace "formats.at:28"
( $at_check_trace; pspp -o pspp.csv formats.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/formats.at:28"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/formats.at:29: grep -E -v 'Measure|Display' pspp.csv"
at_fn_check_prepare_notrace 'a shell pipeline' "formats.at:29"
( $at_check_trace; grep -E -v 'Measure|Display' pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Reading free-form data from INLINE.
Variable,Format
a,F8.0
b,F8.0
c,F8.0
x,A1
y,A2
z,A3

Variable,Description,Position
a,Format: F8.2,1
b,Format: F8.2,2
c,Format: F8.2,3
x,Format: A1,4
y,Format: A2,5
z,Format: A3,6

Variable,Description,Position
a,Format: COMMA10.0,1
b,Format: N4.0,2
c,Format: F8.2,3
x,Format: A1,4
y,Format: A2,5
z,Format: A3,6

Variable,Description,Position
a,Format: COMMA10.0,1
b,Format: N4.0,2
c,Format: E8.1,3
x,Format: A1,4
y,Format: AHEX4,5
z,Format: A3,6
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/formats.at:29"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_327
#AT_START_328
at_fn_group_banner 328 'formats.at:65' \
  "FORMATS negative tests" "                         " 48
at_xfail=no
(
  $as_echo "328. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >formats.sps <<'_ATEOF'
DATA LIST LIST /a b c * x (A1) y (A2) z (A3).
FORMATS a (E6.1).
FORMATS a y (F4).
FORMATS x (A2).
FORMATS y (AHEX2).
FORMATS x y (A2).
_ATEOF

{ set +x
$as_echo "$at_srcdir/formats.at:74: pspp -O format=csv formats.sps"
at_fn_check_prepare_trace "formats.at:74"
( $at_check_trace; pspp -O format=csv formats.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Reading free-form data from INLINE.
Variable,Format
a,F8.0
b,F8.0
c,F8.0
x,A1
y,A2
z,A3

\"formats.sps:2: error: FORMATS: Output format E6.1 specifies 1 decimal place, but the given width does not allow for any decimals.\"

formats.sps:3: error: FORMATS: a and y are not the same type.  All variables in this variable list must be of the same type.  y will be omitted from the list.

formats.sps:4: error: FORMATS: String variable with width 1 is not compatible with format A2.

formats.sps:5: error: FORMATS: String variable with width 2 is not compatible with format AHEX2.

formats.sps:6: error: FORMATS: x and y are string variables with different widths.  All variables in this variable list must have the same width.  y will be omitted from the list.

formats.sps:6: error: FORMATS: String variable with width 1 is not compatible with format A2.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/formats.at:74"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_328
#AT_START_329
at_fn_group_banner 329 'missing-values.at:19' \
  "MISSING VALUES valid cases" "                     " 49
at_xfail=no
(
  $as_echo "329. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >missing-values.sps <<'_ATEOF'
DATA LIST NOTABLE/str1 1-5 (A) str2 6-8 (A) date1 9-19 (DATE) num1 20-25
                  longstr 26-36 (A).

* Numeric missing values.
MISSING VALUES date1 num1 (1).
DISPLAY DICTIONARY date1 num1.
MISSING VALUES date1 num1 (1, 2).
DISPLAY DICTIONARY date1 num1.
MISSING VALUES date1 num1 (1, 2, 3).
DISPLAY DICTIONARY date1 num1.
MISSING VALUES date1 num1 (9999998, 9999984, 3).
DISPLAY DICTIONARY date1 num1.

* Numeric missing values using the first variable's format.
MISSING VALUES num1 date1 ('1').
DISPLAY DICTIONARY date1 num1.
MISSING VALUES num1 date1 ('1', '2').
DISPLAY DICTIONARY date1 num1.
MISSING VALUES num1 date1 ('1', '2', '3').
DISPLAY DICTIONARY date1 num1.
MISSING VALUES date1 num1 ('06-AUG-05').
DISPLAY DICTIONARY date1 num1.
MISSING VALUES date1 num1 ('06-AUG-05', '01-OCT-78').
DISPLAY DICTIONARY date1 num1.
MISSING VALUES date1 num1 ('06-AUG-05', '01-OCT-78', '14-FEB-81').
DISPLAY DICTIONARY date1 num1.

* Ranges of numeric missing values.
MISSING VALUES num1 (1 THRU 2).
DISPLAY DICTIONARY num1.
MISSING VALUES num1 (LO THRU 2).
DISPLAY DICTIONARY num1.
MISSING VALUES num1 (LOWEST THRU 2).
DISPLAY DICTIONARY num1.
MISSING VALUES num1 (1 THRU HI).
DISPLAY DICTIONARY num1.
MISSING VALUES num1 (1 THRU HIGHEST).
DISPLAY DICTIONARY num1.

* A range of numeric missing values, plus an individual value.
MISSING VALUES num1 (1 THRU 2, 3).
DISPLAY DICTIONARY num1.
MISSING VALUES num1 (LO THRU 2, 3).
DISPLAY DICTIONARY num1.
MISSING VALUES num1 (LOWEST THRU 2, 3).
DISPLAY DICTIONARY num1.
MISSING VALUES num1 (1 THRU HI, -1).
DISPLAY DICTIONARY num1.
MISSING VALUES num1 (1 THRU HIGHEST, -1).
DISPLAY DICTIONARY num1.

* String missing values.
MISSING VALUES str1 str2 longstr ('abc  ','def').
DISPLAY DICTIONARY str1 str2 longstr.

* May mix variable types when clearing missing values.
MISSING VALUES ALL ().
DISPLAY DICTIONARY
_ATEOF

{ set +x
$as_echo "$at_srcdir/missing-values.at:80: pspp -o pspp.csv missing-values.sps"
at_fn_check_prepare_trace "missing-values.at:80"
( $at_check_trace; pspp -o pspp.csv missing-values.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/missing-values.at:80"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/missing-values.at:81: sed -n '/^\$/p; /^[^\"]*\"[^\"]*\$/N; s/^\\([a-z0-9]*\\),\".*Missing Values: \\(.*\\)\",[0-9]*\$/\\1: \\2/p; s/^\\([a-z0-9]*\\),Format: [A-Z0-9.]*,[0-9]*\$/\\1: none/p' pspp.csv
"
at_fn_check_prepare_notrace 'an embedded newline' "missing-values.at:81"
( $at_check_trace; sed -n '/^$/p; /^[^"]*"[^"]*$/N; s/^\([a-z0-9]*\),".*Missing Values: \(.*\)",[0-9]*$/\1: \2/p; s/^\([a-z0-9]*\),Format: [A-Z0-9.]*,[0-9]*$/\1: none/p' pspp.csv

) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "date1: 1
num1: 1

date1: 1; 2
num1: 1; 2

date1: 1; 2; 3
num1: 1; 2; 3

date1: 9999998; 9999984; 3
num1: 9999998; 9999984; 3

date1: 1
num1: 1

date1: 1; 2
num1: 1; 2

date1: 1; 2; 3
num1: 1; 2; 3

date1: 13342665600
num1: 13342665600

date1: 13342665600; 12495427200
num1: 13342665600; 12495427200

date1: 13342665600; 12495427200; 12570336000
num1: 13342665600; 12495427200; 12570336000

num1: 1 THRU 2

num1: LOWEST THRU 2

num1: LOWEST THRU 2

num1: 1 THRU HIGHEST

num1: 1 THRU HIGHEST

num1: 1 THRU 2; 3

num1: LOWEST THRU 2; 3

num1: LOWEST THRU 2; 3

num1: 1 THRU HIGHEST; -1

num1: 1 THRU HIGHEST; -1

str1: \"\"abc  \"\"; \"\"def  \"\"
str2: \"\"abc\"\"; \"\"def\"\"
longstr: \"\"abc     \"\"; \"\"def     \"\"

str1: none
str2: none
date1: none
num1: none
longstr: none
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/missing-values.at:81"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_329
#AT_START_330
at_fn_group_banner 330 'missing-values.at:145' \
  "MISSING VALUES invalid cases" "                   " 49
at_xfail=no
(
  $as_echo "330. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >missing-values.sps <<'_ATEOF'
DATA LIST NOTABLE/str1 1-5 (A) str2 6-8 (A) date1 9-19 (DATE) num1 20-25
                  longstr 26-36 (A).

* Too long for str2.
MISSING VALUES str1 str2 longstr ('abcde').

* Long string missing value longer than 8 bytes.
MISSING VALUES longstr ('abcdefghijk').

* No string ranges.
MISSING VALUES str1 ('a' THRU 'z').

* Mixing string and numeric variables.
MISSING VALUES str1 num1 ('123').

* Too many values.
MISSING VALUES num1 (1, 2, 3, 4).
MISSING VALUES num1 (1 THRU 2, 3 THRU 4).
MISSING VALUES num1 (1, 2 THRU 3, 4).
MISSING VALUES str1 ('abc', 'def', 'ghi', 'jkl').

* Bad range.
MISSING VALUES num1 (2 THRU 1).
_ATEOF

{ set +x
$as_echo "$at_srcdir/missing-values.at:171: pspp -O format=csv missing-values.sps"
at_fn_check_prepare_trace "missing-values.at:171"
( $at_check_trace; pspp -O format=csv missing-values.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "missing-values.sps:5: error: MISSING VALUES: Missing values provided are too long to assign to variable of width 3.

missing-values.sps:8: error: MISSING VALUES: Truncating missing value to maximum acceptable length (8 bytes).

missing-values.sps:11.26-11.29: error: MISSING VALUES: Syntax error at \`THRU': expecting string.

missing-values.sps:11: error: MISSING VALUES: THRU is not a variable name.

missing-values.sps:14: error: MISSING VALUES: Cannot mix numeric variables (e.g. num1) and string variables (e.g. str1) within a single list.

missing-values.sps:17: error: MISSING VALUES: Too many numeric missing values.  At most three individual values or one value and one range are allowed.

missing-values.sps:18: error: MISSING VALUES: Too many numeric missing values.  At most three individual values or one value and one range are allowed.

missing-values.sps:19: error: MISSING VALUES: Too many numeric missing values.  At most three individual values or one value and one range are allowed.

missing-values.sps:20: error: MISSING VALUES: Too many string missing values.  At most three individual values are allowed.

missing-values.sps:23: warning: MISSING VALUES: The high end of the range (1) is below the low end (2).  The range will be treated as if reversed.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/missing-values.at:171"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_330
#AT_START_331
at_fn_group_banner 331 'mrsets.at:137' \
  "MRSETS add, display, delete" "                    " 50
at_xfail=no
(
  $as_echo "331. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >mrsets.sps <<'_ATEOF'
DATA LIST NOTABLE /w x y z 1-4 a b c d 5-8 (a).
BEGIN DATA.
1234acbd
5678efgh
END DATA.

VARIABLE LABEL
    w 'duplicate variable label'
    x 'Variable x'
    z 'Duplicate variable label'.
VALUE LABELS
    /w 1 'w value 1'
    /y 1 'duplicate Value label'
    /z 1 'duplicate value Label'
    /a b c d 'a' 'burger' 'b' 'fries' 'c' 'shake' 'd' 'taco'.
ADD VALUE LABELS
    /b 'b' 'Fries'
    /c 'b' 'XXX'.
MRSETS
    /MDGROUP NAME=$a
     LABEL='First multiple dichotomy group'
     CATEGORYLABELS=VARLABELS
     VARIABLES=w x y z
     VALUE=5
    /MDGROUP NAME=$b
     CATEGORYLABELS=COUNTEDVALUES
     VARIABLES=z y
     VALUE=123
    /MDGROUP NAME=$c
     LABELSOURCE=VARLABEL
     CATEGORYLABELS=COUNTEDVALUES
     VARIABLES=w x y z
     VALUE=1
    /MDGROUP NAME=$d
     LABELSOURCE=VARLABEL
     VARIABLES=a b c d
     VALUE='c'
    /MCGROUP NAME=$e
     LABEL='First multiple category group'
     VARIABLES=w x y z
    /MCGROUP NAME=$f
     VARIABLES=a b c d.

MRSETS
    /DISPLAY NAME=[$a]
    /DISPLAY NAME=ALL
    /DELETE NAME=[$c]
    /DISPLAY NAME=ALL
    /DELETE NAME=ALL
    /DISPLAY NAME=ALL.
_ATEOF

{ set +x
$as_echo "$at_srcdir/mrsets.at:148: pspp -O format=csv mrsets.sps"
at_fn_check_prepare_trace "mrsets.at:148"
( $at_check_trace; pspp -O format=csv mrsets.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "mrsets.sps:25: warning: MRSETS: Variables w and z specified as part of multiple dichotomy group \$a have the same variable label.  Categories represented by these variables will not be distinguishable in output.

mrsets.sps:29: warning: MRSETS: Variable z specified as part of multiple dichotomy group \$b (which has CATEGORYLABELS=COUNTEDVALUES) has no value label for its counted value.  This category will not be distinguishable in output.

mrsets.sps:29: warning: MRSETS: Variable y specified as part of multiple dichotomy group \$b (which has CATEGORYLABELS=COUNTEDVALUES) has no value label for its counted value.  This category will not be distinguishable in output.

mrsets.sps:34: warning: MRSETS: Variable x specified as part of multiple dichotomy group \$c (which has CATEGORYLABELS=COUNTEDVALUES) has no value label for its counted value.  This category will not be distinguishable in output.

mrsets.sps:34: warning: MRSETS: Variables y and z specified as part of multiple dichotomy group \$c (which has CATEGORYLABELS=COUNTEDVALUES) have the same value label for the group's counted value.  These categories will not be distinguishable in output.

mrsets.sps:38: warning: MRSETS: MDGROUP subcommand for group \$d specifies LABELSOURCE=VARLABEL but not CATEGORYLABELS=COUNTEDVALUES.  Ignoring LABELSOURCE.

\"mrsets.sps:41: warning: MRSETS: Variables specified on MCGROUP should have the same categories, but w and y (and possibly others) in multiple category group \$e have different value labels for value 1.\"

\"mrsets.sps:42: warning: MRSETS: Variables specified on MCGROUP should have the same categories, but a and c (and possibly others) in multiple category group \$f have different value labels for value b.\"

Table: Multiple Response Sets
Name,Variables,Details
\$a,\"w
x
y
z
\",\"Multiple dichotomy set
Label: First multiple dichotomy group
Label source: Provided by user
Counted value: 5
Category label source: Variable labels
\"

Table: Multiple Response Sets
Name,Variables,Details
\$a,\"w
x
y
z
\",\"Multiple dichotomy set
Label: First multiple dichotomy group
Label source: Provided by user
Counted value: 5
Category label source: Variable labels
\"
\$b,\"z
y
\",\"Multiple dichotomy set
Counted value: 123
Category label source: Value labels of counted value
\"
\$c,\"w
x
y
z
\",\"Multiple dichotomy set
Label: duplicate variable label
Label source: First variable label among variables
Counted value: 1
Category label source: Value labels of counted value
\"
\$d,\"a
b
c
d
\",\"Multiple dichotomy set
Counted value: \`c'
Category label source: Variable labels
\"
\$e,\"w
x
y
z
\",\"Multiple category set
Label: First multiple category group
\"
\$f,\"a
b
c
d
\",\"Multiple category set
\"

Table: Multiple Response Sets
Name,Variables,Details
\$a,\"w
x
y
z
\",\"Multiple dichotomy set
Label: First multiple dichotomy group
Label source: Provided by user
Counted value: 5
Category label source: Variable labels
\"
\$b,\"z
y
\",\"Multiple dichotomy set
Counted value: 123
Category label source: Value labels of counted value
\"
\$d,\"a
b
c
d
\",\"Multiple dichotomy set
Counted value: \`c'
Category label source: Variable labels
\"
\$e,\"w
x
y
z
\",\"Multiple category set
Label: First multiple category group
\"
\$f,\"a
b
c
d
\",\"Multiple category set
\"

mrsets.sps:50: note: MRSETS: The active dataset dictionary does not contain any multiple response sets.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/mrsets.at:148"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_331
#AT_START_332
at_fn_group_banner 332 'mrsets.at:208' \
  "MRSETS read and write" "                          " 50
at_xfail=no
(
  $as_echo "332. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >mrsets.sps <<'_ATEOF'
DATA LIST NOTABLE /w x y z 1-4 a b c d 5-8 (a).
BEGIN DATA.
1234acbd
5678efgh
END DATA.

VARIABLE LABEL
    w 'duplicate variable label'
    x 'Variable x'
    z 'Duplicate variable label'.
VALUE LABELS
    /w 1 'w value 1'
    /y 1 'duplicate Value label'
    /z 1 'duplicate value Label'
    /a b c d 'a' 'burger' 'b' 'fries' 'c' 'shake' 'd' 'taco'.
ADD VALUE LABELS
    /b 'b' 'Fries'
    /c 'b' 'XXX'.
MRSETS
    /MDGROUP NAME=$a
     LABEL='First multiple dichotomy group'
     CATEGORYLABELS=VARLABELS
     VARIABLES=w x y z
     VALUE=5
    /MDGROUP NAME=$b
     CATEGORYLABELS=COUNTEDVALUES
     VARIABLES=z y
     VALUE=123
    /MDGROUP NAME=$c
     LABELSOURCE=VARLABEL
     CATEGORYLABELS=COUNTEDVALUES
     VARIABLES=w x y z
     VALUE=1
    /MDGROUP NAME=$d
     LABELSOURCE=VARLABEL
     VARIABLES=a b c d
     VALUE='c'
    /MCGROUP NAME=$e
     LABEL='First multiple category group'
     VARIABLES=w x y z
    /MCGROUP NAME=$f
     VARIABLES=a b c d.

SAVE OUTFILE='mrsets.sav'.
_ATEOF

{ set +x
$as_echo "$at_srcdir/mrsets.at:213: pspp -O format=csv mrsets.sps"
at_fn_check_prepare_trace "mrsets.at:213"
( $at_check_trace; pspp -O format=csv mrsets.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "mrsets.sps:25: warning: MRSETS: Variables w and z specified as part of multiple dichotomy group \$a have the same variable label.  Categories represented by these variables will not be distinguishable in output.

mrsets.sps:29: warning: MRSETS: Variable z specified as part of multiple dichotomy group \$b (which has CATEGORYLABELS=COUNTEDVALUES) has no value label for its counted value.  This category will not be distinguishable in output.

mrsets.sps:29: warning: MRSETS: Variable y specified as part of multiple dichotomy group \$b (which has CATEGORYLABELS=COUNTEDVALUES) has no value label for its counted value.  This category will not be distinguishable in output.

mrsets.sps:34: warning: MRSETS: Variable x specified as part of multiple dichotomy group \$c (which has CATEGORYLABELS=COUNTEDVALUES) has no value label for its counted value.  This category will not be distinguishable in output.

mrsets.sps:34: warning: MRSETS: Variables y and z specified as part of multiple dichotomy group \$c (which has CATEGORYLABELS=COUNTEDVALUES) have the same value label for the group's counted value.  These categories will not be distinguishable in output.

mrsets.sps:38: warning: MRSETS: MDGROUP subcommand for group \$d specifies LABELSOURCE=VARLABEL but not CATEGORYLABELS=COUNTEDVALUES.  Ignoring LABELSOURCE.

\"mrsets.sps:41: warning: MRSETS: Variables specified on MCGROUP should have the same categories, but w and y (and possibly others) in multiple category group \$e have different value labels for value 1.\"

\"mrsets.sps:42: warning: MRSETS: Variables specified on MCGROUP should have the same categories, but a and c (and possibly others) in multiple category group \$f have different value labels for value b.\"
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/mrsets.at:213"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >mrsets2.sps <<'_ATEOF'
GET FILE='mrsets.sav'.
MRSETS /DISPLAY NAME=ALL.
_ATEOF

{ set +x
$as_echo "$at_srcdir/mrsets.at:218: pspp -O format=csv mrsets2.sps"
at_fn_check_prepare_trace "mrsets.at:218"
( $at_check_trace; pspp -O format=csv mrsets2.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Multiple Response Sets
Name,Variables,Details
\$a,\"w
x
y
z
\",\"Multiple dichotomy set
Label: First multiple dichotomy group
Label source: Provided by user
Counted value: 5
Category label source: Variable labels
\"
\$b,\"z
y
\",\"Multiple dichotomy set
Counted value: 123
Category label source: Value labels of counted value
\"
\$c,\"w
x
y
z
\",\"Multiple dichotomy set
Label: duplicate variable label
Label source: First variable label among variables
Counted value: 1
Category label source: Value labels of counted value
\"
\$d,\"a
b
c
d
\",\"Multiple dichotomy set
Counted value: \`c'
Category label source: Variable labels
\"
\$e,\"w
x
y
z
\",\"Multiple category set
Label: First multiple category group
\"
\$f,\"a
b
c
d
\",\"Multiple category set
\"
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/mrsets.at:218"
if $at_failed; then :
  hd mrsets.sav
fi
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_332
#AT_START_333
at_fn_group_banner 333 'mrsets.at:222' \
  "MRSETS names must begin with \$" "                 " 50
at_xfail=no
(
  $as_echo "333. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >mrsets.sps <<'_ATEOF'
DATA LIST NOTABLE /w x y z 1-4 a b c d 5-8 (a).
BEGIN DATA.
1234acbd
5678efgh
END DATA.
MRSETS /MCGROUP NAME=x.
_ATEOF

{ set +x
$as_echo "$at_srcdir/mrsets.at:227: pspp -O format=csv mrsets.sps"
at_fn_check_prepare_trace "mrsets.at:227"
( $at_check_trace; pspp -O format=csv mrsets.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "mrsets.sps:6: error: MRSETS: x is not a valid name for a multiple response set.  Multiple response set names must begin with \`\$'.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/mrsets.at:227"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_333
#AT_START_334
at_fn_group_banner 334 'mrsets.at:232' \
  "MRSETS must have at least 2 variables" "          " 50
at_xfail=no
(
  $as_echo "334. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >mrsets.sps <<'_ATEOF'
DATA LIST NOTABLE /w x y z 1-4 a b c d 5-8 (a).
BEGIN DATA.
1234acbd
5678efgh
END DATA.
MRSETS /MCGROUP NAME=$x VARIABLES=a.
_ATEOF

{ set +x
$as_echo "$at_srcdir/mrsets.at:237: pspp -O format=csv mrsets.sps"
at_fn_check_prepare_trace "mrsets.at:237"
( $at_check_trace; pspp -O format=csv mrsets.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "\"mrsets.sps:6: error: MRSETS: VARIABLES specified only variable a on MCGROUP, but at least two variables are required.\"
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/mrsets.at:237"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_334
#AT_START_335
at_fn_group_banner 335 'mrsets.at:242' \
  "MRSETS does not allow noninteger VALUE" "         " 50
at_xfail=no
(
  $as_echo "335. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >mrsets.sps <<'_ATEOF'
DATA LIST NOTABLE /w x y z 1-4 a b c d 5-8 (a).
BEGIN DATA.
1234acbd
5678efgh
END DATA.
MRSETS /MDGROUP VALUE=1.5.
_ATEOF

{ set +x
$as_echo "$at_srcdir/mrsets.at:247: pspp -O format=csv mrsets.sps"
at_fn_check_prepare_trace "mrsets.at:247"
( $at_check_trace; pspp -O format=csv mrsets.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "mrsets.sps:6: error: MRSETS: Numeric VALUE must be an integer.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/mrsets.at:247"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_335
#AT_START_336
at_fn_group_banner 336 'mrsets.at:252' \
  "MRSETS requires NAME to define a group" "         " 50
at_xfail=no
(
  $as_echo "336. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >mrsets.sps <<'_ATEOF'
DATA LIST NOTABLE /w x y z 1-4 a b c d 5-8 (a).
BEGIN DATA.
1234acbd
5678efgh
END DATA.
MRSETS /MCGROUP VARIABLES=a b c.
_ATEOF

{ set +x
$as_echo "$at_srcdir/mrsets.at:257: pspp -O format=csv mrsets.sps"
at_fn_check_prepare_trace "mrsets.at:257"
( $at_check_trace; pspp -O format=csv mrsets.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "mrsets.sps:6.32: error: MRSETS: Syntax error at end of command: Required MCGROUP specification missing from NAME subcommand.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/mrsets.at:257"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_336
#AT_START_337
at_fn_group_banner 337 'mrsets.at:262' \
  "MRSETS requires VARIABLES to define a group" "    " 50
at_xfail=no
(
  $as_echo "337. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >mrsets.sps <<'_ATEOF'
DATA LIST NOTABLE /w x y z 1-4 a b c d 5-8 (a).
BEGIN DATA.
1234acbd
5678efgh
END DATA.
MRSETS /MCGROUP NAME=$Mcgroup.
_ATEOF

{ set +x
$as_echo "$at_srcdir/mrsets.at:267: pspp -O format=csv mrsets.sps"
at_fn_check_prepare_trace "mrsets.at:267"
( $at_check_trace; pspp -O format=csv mrsets.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "mrsets.sps:6.30: error: MRSETS: Syntax error at end of command: Required MCGROUP specification missing from VARIABLES subcommand.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/mrsets.at:267"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_337
#AT_START_338
at_fn_group_banner 338 'mrsets.at:272' \
  "MRSETS variables must be same type" "             " 50
at_xfail=no
(
  $as_echo "338. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >mrsets.sps <<'_ATEOF'
DATA LIST NOTABLE /w x y z 1-4 a b c d 5-8 (a).
BEGIN DATA.
1234acbd
5678efgh
END DATA.
MRSETS /MCGROUP NAME=$mygroup VARIABLES=a b x y.
_ATEOF

{ set +x
$as_echo "$at_srcdir/mrsets.at:277: pspp -O format=csv mrsets.sps"
at_fn_check_prepare_trace "mrsets.at:277"
( $at_check_trace; pspp -O format=csv mrsets.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "mrsets.sps:6: error: MRSETS: a and x are not the same type.  All variables in this variable list must be of the same type.  x will be omitted from the list.

mrsets.sps:6: error: MRSETS: a and y are not the same type.  All variables in this variable list must be of the same type.  y will be omitted from the list.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/mrsets.at:277"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_338
#AT_START_339
at_fn_group_banner 339 'mrsets.at:284' \
  "MRSETS variables and VALUE must be same type" "   " 50
at_xfail=no
(
  $as_echo "339. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >mrsets.sps <<'_ATEOF'
DATA LIST NOTABLE /w x y z 1-4 a b c d 5-8 (a).
BEGIN DATA.
1234acbd
5678efgh
END DATA.
MRSETS /MDGROUP NAME=$group1 VARIABLES=a b VALUE=1.
MRSETS /MDGROUP NAME=$group2 VARIABLES=x y VALUE='abc'.
_ATEOF

{ set +x
$as_echo "$at_srcdir/mrsets.at:290: pspp -O format=csv mrsets.sps"
at_fn_check_prepare_trace "mrsets.at:290"
( $at_check_trace; pspp -O format=csv mrsets.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "\"mrsets.sps:6: error: MRSETS: MDGROUP subcommand for group \$group1 specifies a string VALUE, but the variables specified for this group are numeric.\"

\"mrsets.sps:7: error: MRSETS: MDGROUP subcommand for group \$group2 specifies a string VALUE, but the variables specified for this group are numeric.\"
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/mrsets.at:290"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_339
#AT_START_340
at_fn_group_banner 340 'mrsets.at:297' \
  "MRSETS VALUE must not be too wide" "              " 50
at_xfail=no
(
  $as_echo "340. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >mrsets.sps <<'_ATEOF'
DATA LIST NOTABLE /w x y z 1-4 a b c d 5-8 (a).
BEGIN DATA.
1234acbd
5678efgh
END DATA.
MRSETS /MDGROUP NAME=$group1 VARIABLES=a b VALUE='abc'.
_ATEOF

{ set +x
$as_echo "$at_srcdir/mrsets.at:302: pspp -O format=csv mrsets.sps"
at_fn_check_prepare_trace "mrsets.at:302"
( $at_check_trace; pspp -O format=csv mrsets.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "\"mrsets.sps:6: error: MRSETS: VALUE string on MDGROUP subcommand for group \$group1 is 3 bytes long, but it must be no longer than the narrowest variable in the group, which is a with a width of 1 bytes.\"
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/mrsets.at:302"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_340
#AT_START_341
at_fn_group_banner 341 'mrsets.at:307' \
  "MRSETS LABEL and LABELSOURCE are exclusive" "     " 50
at_xfail=no
(
  $as_echo "341. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >mrsets.sps <<'_ATEOF'
DATA LIST NOTABLE /w x y z 1-4 a b c d 5-8 (a).
BEGIN DATA.
1234acbd
5678efgh
END DATA.
MRSETS /MDGROUP NAME=$group1 VARIABLES=a b VALUE='a'
                LABEL='label' LABELSOURCE=VARLABEL.
_ATEOF

{ set +x
$as_echo "$at_srcdir/mrsets.at:313: pspp -O format=csv mrsets.sps"
at_fn_check_prepare_trace "mrsets.at:313"
( $at_check_trace; pspp -O format=csv mrsets.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "mrsets.sps:7: warning: MRSETS: MDGROUP subcommand for group \$group1 specifies LABELSOURCE=VARLABEL but not CATEGORYLABELS=COUNTEDVALUES.  Ignoring LABELSOURCE.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/mrsets.at:313"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_341
#AT_START_342
at_fn_group_banner 342 'mrsets.at:318' \
  "MRSETS DISPLAY or DELETE unknown group" "         " 50
at_xfail=no
(
  $as_echo "342. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >mrsets.sps <<'_ATEOF'
DATA LIST NOTABLE /w x y z 1-4 a b c d 5-8 (a).
BEGIN DATA.
1234acbd
5678efgh
END DATA.
MRSETS /DISPLAY NAME=[$x].
MRSETS /DELETE NAME=[$y].
_ATEOF

{ set +x
$as_echo "$at_srcdir/mrsets.at:324: pspp -O format=csv mrsets.sps"
at_fn_check_prepare_trace "mrsets.at:324"
( $at_check_trace; pspp -O format=csv mrsets.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "mrsets.sps:6: error: MRSETS: No multiple response set named \$x.

mrsets.sps:7: error: MRSETS: No multiple response set named \$y.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/mrsets.at:324"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_342
#AT_START_343
at_fn_group_banner 343 'rename-variables.at:19' \
  "RENAME VARIABLES" "                               " 51
at_xfail=no
(
  $as_echo "343. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >rename-variables.sps <<'_ATEOF'
DATA LIST LIST /brakeFluid y auxiliary warp (F2.0).
BEGIN DATA.
1 3 5 9
2 3 6 10
3 3 7 11
4 3 8 11
END DATA.

LIST.

RENAME VARIABLES brakeFluid=applecarts y=bananamobiles.
RENAME VARIABLES (warp auxiliary=foobar xyzzy).

LIST.

SAVE /OUTFILE='rename.sav'.
_ATEOF

{ set +x
$as_echo "$at_srcdir/rename-variables.at:38: pspp -O format=csv rename-variables.sps"
at_fn_check_prepare_trace "rename-variables.at:38"
( $at_check_trace; pspp -O format=csv rename-variables.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Reading free-form data from INLINE.
Variable,Format
brakeFluid,F2.0
y,F2.0
auxiliary,F2.0
warp,F2.0

Table: Data List
brakeFluid,y,auxiliary,warp
1,3,5,9
2,3,6,10
3,3,7,11
4,3,8,11

Table: Data List
applecarts,bananamobiles,xyzzy,foobar
1,3,5,9
2,3,6,10
3,3,7,11
4,3,8,11
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/rename-variables.at:38"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/rename-variables.at:60: grep 'bBrRaAkKeE' rename.sav"
at_fn_check_prepare_trace "rename-variables.at:60"
( $at_check_trace; grep 'bBrRaAkKeE' rename.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:

at_fn_check_status 1 $at_status "$at_srcdir/rename-variables.at:60"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_343
#AT_START_344
at_fn_group_banner 344 'rename-variables.at:64' \
  "RENAME VARIABLES -- multiple sets" "              " 51
at_xfail=no
(
  $as_echo "344. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >rename-variables.sps <<'_ATEOF'
data list list /a b c d  e *.
begin data.
1 2 3 4 5
end data.

rename variables (a b=x y) (c d e=z zz zzz).

list.
_ATEOF


{ set +x
$as_echo "$at_srcdir/rename-variables.at:76: pspp -O format=csv rename-variables.sps"
at_fn_check_prepare_trace "rename-variables.at:76"
( $at_check_trace; pspp -O format=csv rename-variables.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Reading free-form data from INLINE.
Variable,Format
a,F8.0
b,F8.0
c,F8.0
d,F8.0
e,F8.0

Table: Data List
x,y,z,zz,zzz
1.00,2.00,3.00,4.00,5.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/rename-variables.at:76"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_344
#AT_START_345
at_fn_group_banner 345 'rename-variables.at:93' \
  "RENAME VARIABLES -- invalid syntax 1" "           " 51
at_xfail=no
(
  $as_echo "345. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >rename-variables.sps <<'_ATEOF'
DATA LIST LIST /brakeFluid y auxiliary warp (F2.0).
RENAME VARIABLES warp auxiliary=foobar xyzzy.
_ATEOF


{ set +x
$as_echo "$at_srcdir/rename-variables.at:100: pspp -o pspp.csv rename-variables.sps"
at_fn_check_prepare_trace "rename-variables.at:100"
( $at_check_trace; pspp -o pspp.csv rename-variables.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "rename-variables.sps:2.23-2.31: error: RENAME VARIABLES: Syntax error at \`auxiliary': expecting \`='.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/rename-variables.at:100"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_345
#AT_START_346
at_fn_group_banner 346 'rename-variables.at:105' \
  "RENAME VARIABLES -- invalid syntax 2" "           " 51
at_xfail=no
(
  $as_echo "346. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >rename-variables.sps <<'_ATEOF'
DATA LIST LIST /brakeFluid y auxiliary warp (F2.0).
RENAME VARIABLES (brakeFluid=applecarts y=bananamobiles).
_ATEOF


{ set +x
$as_echo "$at_srcdir/rename-variables.at:111: pspp -o pspp.csv rename-variables.sps"
at_fn_check_prepare_trace "rename-variables.at:111"
( $at_check_trace; pspp -o pspp.csv rename-variables.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "rename-variables.sps:2: error: RENAME VARIABLES: Differing number of variables in old name list (1) and in new name list (2).
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/rename-variables.at:111"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_346
#AT_START_347
at_fn_group_banner 347 'rename-variables.at:119' \
  "RENAME VARIABLES -- invalid syntax 3" "           " 51
at_xfail=no
(
  $as_echo "347. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >rename-variables.sps <<'_ATEOF'
DATA LIST NOTABLE LIST /z y p q (F2.0).
BEGIN DATA.
4 3 8 11
END DATA.

RENAME VARIABLES z=a y}bqnanamobiles.

LIST.
_ATEOF


{ set +x
$as_echo "$at_srcdir/rename-variables.at:131: pspp -O format=csv rename-variables.sps"
at_fn_check_prepare_trace "rename-variables.at:131"
( $at_check_trace; pspp -O format=csv rename-variables.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 1 $at_status "$at_srcdir/rename-variables.at:131"
$at_failed && at_fn_log_failure
$at_traceon; }



  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_347
#AT_START_348
at_fn_group_banner 348 'sort-variables.at:19' \
  "SORT VARIABLES" "                                 " 52
at_xfail=no
(
  $as_echo "348. $at_setup_line: testing $at_desc ..."
  $at_traceon

# This reverses the order of its input lines.
# From the GNU sed manual.
tac () {
    sed -n '1! G
$ p
h'
}

test_sort () {
    cat > sort-variables.sps <<EOF
DATA LIST FREE/$1.
$2
SORT VARIABLES $3.
DISPLAY NAMES.
SORT VARIABLES $3(D).
DISPLAY NAMES.
EOF
    { set +x
$as_echo "$at_srcdir/sort-variables.at:37: pspp -O format=csv sort-variables.sps"
at_fn_check_prepare_trace "sort-variables.at:37"
( $at_check_trace; pspp -O format=csv sort-variables.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Variable
`for var in $4; do echo $var; done`

Variable
`for var in $4; do echo $var; done | tac`
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sort-variables.at:37"
$at_failed && at_fn_log_failure
$at_traceon; }

}

test_sort 'x100 c b x99 a y400 y5' '' NAME 'a b c x99 x100 y5 y400'
test_sort 'c(a10) a(a5) b' '' TYPE 'b a c'
test_sort 'a (datetime) b (f) c (a5) d (a2) e (a1)' '' FORMAT 'e d c b a'
test_sort 'a b c' \
    'VARIABLE LABEL a "hi there".' \
    LABEL 'b c a'
test_sort 'a b c' \
    'VALUE LABELS a 123 "xyzzy".' \
    VALUES 'b c a'
test_sort 'a b c' \
    'MISSING VALUES a (123).' \
    MISSING 'b c a'
test_sort 'a b c' \
    'VARIABLE LEVEL a (SCALE) b (ORDINAL) c (NOMINAL).' \
    MEASURE 'c b a'
test_sort 'b n i s t p' \
    'VARIABLE ROLE /INPUT i /TARGET t /BOTH b /NONE n /PARTITION p /SPLIT s.' \
    ROLE 'i t b n p s'
test_sort 'c10 c5 c15 c9' \
    'VARIABLE WIDTH c10(10) c5(5) c15(15) c9(9).' \
    COLUMNS 'c5 c9 c10 c15'
test_sort 'c l r' \
    'VARIABLE ALIGNMENT c (CENTER) l (LEFT) r (RIGHT).' \
    ALIGNMENT 'l r c'
test_sort 'az ax ay ab' \
    'VARIABLE ATTRIBUTE VARIABLES=az ATTRIBUTE=key("z").
     VARIABLE ATTRIBUTE VARIABLES=ax ATTRIBUTE=key("x").
     VARIABLE ATTRIBUTE VARIABLES=ay ATTRIBUTE=key("y").
     VARIABLE ATTRIBUTE VARIABLES=ab ATTRIBUTE=key("b").' \
    'ATTRIBUTE key' 'ab ax ay az'
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_348
#AT_START_349
at_fn_group_banner 349 'split-file.at:19' \
  "SPLIT FILE - basic test" "                        " 53
at_xfail=no
(
  $as_echo "349. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >split-file.sps <<'_ATEOF'
title 'Test SPLIT FILE utility'.

data list notable /X 1 Y 2.
begin data.
12
16
17
19
15
14
27
20
26
25
28
29
24
end data.
split file by x.
list.
_ATEOF

{ set +x
$as_echo "$at_srcdir/split-file.at:42: pspp -o pspp.csv split-file.sps"
at_fn_check_prepare_trace "split-file.at:42"
( $at_check_trace; pspp -o pspp.csv split-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/split-file.at:42"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/split-file.at:43: cat pspp.csv"
at_fn_check_prepare_trace "split-file.at:43"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Title: Test SPLIT FILE utility

Variable,Value,Label
X,1,

Table: Data List
X,Y
1,2
1,6
1,7
1,9
1,5
1,4

Variable,Value,Label
X,2,

Table: Data List
X,Y
2,7
2,0
2,6
2,5
2,8
2,9
2,4
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/split-file.at:43"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_349
#AT_START_350
at_fn_group_banner 350 'split-file.at:77' \
  "SPLIT FILE  - vs procedures" "                    " 53
at_xfail=no
(
  $as_echo "350. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >split-file.sps <<'_ATEOF'

* This test is a compendium of those procedures which might
* have problems when run in conjunction with SPLITS.

data list list /a b c q g *.
begin data.
1 2 3     1  0
4 5 6     0  0
7 8 9     1  0
10 11 12  0  1
13 14 15  1  1
end data.

split file by g.


* The commented out lines are ones which currently fail.

AGGREGATE outfile='foo' /break=c /X=sum(a).
AUTORECODE variables = c into d .
COUNT e = c (1 2 3 4 5 6 7).
CROSSTABS a by b.
CORRELATIONS /VARIABLES = a b.
DELETE VARIABLES a.
DESCRIPTIVES e .
EXAMINE c by b.
EXPORT outfile='xxx'.
FACTOR /VARIABLES = b c d.
FILTER BY c.
FREQUENCIES b.
GLM c BY b.
GRAPH /HISTOGRAM = b .
GRAPH /SCATTERPLOT(BIVARIATE) = b with c by e .
GRAPH /BAR (GROUPED) = MEAN(b) by c by e.
GRAPH /BAR = COUNT BY  b.
LIST.
LOGISTIC REGRESSION q WITH b.
MEANS c b.
NPAR TESTS /MCNEMAR q.
ONEWAY c BY b.
QUICK CLUSTER b c.
RANK b c.
REGRESSION /VARIABLES = c /DEPENDENT = q.
RELIABILITY /VARIABLES = c b d.
RENAME VARIABLES (b = bb).
ROC bb by q(1).
SAMPLE 0.9 .
SAVE outfile='xx.sav'.
SORT CASES by bb.
T-TEST /GROUP=q(0,1) /VARIABLES=bb.
USE ALL.
FLIP /VARIABLES = bb, c .

execute.
finish.
_ATEOF


{ set +x
$as_echo "$at_srcdir/split-file.at:136: pspp -O format=csv split-file.sps"
at_fn_check_prepare_trace "split-file.at:136"
( $at_check_trace; pspp -O format=csv split-file.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/split-file.at:136"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_350
#AT_START_351
at_fn_group_banner 351 'sys-file-info.at:19' \
  "SYSFILE INFO" "                                   " 54
at_xfail=no
(
  $as_echo "351. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >sysfile-info.sps <<'_ATEOF'
DATA LIST LIST /x * name (a10) .
BEGIN DATA
1 one
2 two
3 three
END DATA.
SAVE OUTFILE='pro.sav'.

sysfile info file='pro.sav'.
_ATEOF

{ set +x
$as_echo "$at_srcdir/sys-file-info.at:31: pspp -o pspp.csv sysfile-info.sps"
at_fn_check_prepare_trace "sys-file-info.at:31"
( $at_check_trace; pspp -o pspp.csv sysfile-info.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-info.at:31"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/sys-file-info.at:32: sed -e '/^Created:,/d' \\
       -e '/^Endian:,/d' \\
       -e '/^Integer Format:,/d' \\
       -e '/^Real Format:,/d' \\
       -e '/^Encoding:,/d' pspp.csv"
at_fn_check_prepare_notrace 'an embedded newline' "sys-file-info.at:32"
( $at_check_trace; sed -e '/^Created:,/d' \
       -e '/^Endian:,/d' \
       -e '/^Integer Format:,/d' \
       -e '/^Real Format:,/d' \
       -e '/^Encoding:,/d' pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Reading free-form data from INLINE.
Variable,Format
x,F8.0
name,A10

File:,pro.sav
Label:,No label.
Variables:,2
Cases:,3
Type:,SPSS System File
Weight:,Not weighted.
Compression:,SAV

Variable,Description,Position
x,\"Format: F8.2
Measure: Scale
Role: Input
Display Alignment: Right
Display Width: 8\",1
name,\"Format: A10
Measure: Nominal
Role: Input
Display Alignment: Left
Display Width: 10\",2
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-info.at:32"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_351
#AT_START_352
at_fn_group_banner 352 'sys-file-info.at:70' \
  "DISPLAY FILE LABEL" "                             " 55
at_xfail=no
(
  $as_echo "352. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >display.sps <<'_ATEOF'
DATA LIST LIST NOTABLE /x * name (a10) .

DISPLAY FILE LABEL.

FILE LABEL 'foo bar baz quux'.
DISPLAY FILE LABEL.
_ATEOF

{ set +x
$as_echo "$at_srcdir/sys-file-info.at:79: pspp -O format=csv display.sps"
at_fn_check_prepare_trace "sys-file-info.at:79"
( $at_check_trace; pspp -O format=csv display.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "The active dataset does not have a file label.

File label: foo bar baz quux
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-info.at:79"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_352
#AT_START_353
at_fn_group_banner 353 'sys-file-info.at:90' \
  "DISPLAY SCRATCH" "                                " 55
at_xfail=no
(
  $as_echo "353. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >sysfile-info.sps <<'_ATEOF'
DATA LIST LIST NOTABLE /x * name (a10) .
DISPLAY SCRATCH.
COMPUTE #x=0.
DISPLAY SCRATCH.
_ATEOF

{ set +x
$as_echo "$at_srcdir/sys-file-info.at:97: pspp -O format=csv sysfile-info.sps"
at_fn_check_prepare_trace "sys-file-info.at:97"
( $at_check_trace; pspp -O format=csv sysfile-info.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "sysfile-info.sps:2: warning: DISPLAY: No variables to display.

Variable
#x
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-info.at:97"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_353
#AT_START_354
at_fn_group_banner 354 'sys-file-info.at:105' \
  "DISPLAY INDEX" "                                  " 55
at_xfail=no
(
  $as_echo "354. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >sysfile-info.sps <<'_ATEOF'
DATA LIST LIST NOTABLE /x * name (a10) .
DISPLAY INDEX.
_ATEOF

{ set +x
$as_echo "$at_srcdir/sys-file-info.at:110: pspp -O format=csv sysfile-info.sps"
at_fn_check_prepare_trace "sys-file-info.at:110"
( $at_check_trace; pspp -O format=csv sysfile-info.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Variable,Position
x,1
name,2
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-info.at:110"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_354
#AT_START_355
at_fn_group_banner 355 'sys-file-info.at:117' \
  "DISPLAY NAMES" "                                  " 55
at_xfail=no
(
  $as_echo "355. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >sysfile-info.sps <<'_ATEOF'
DATA LIST LIST NOTABLE /x * name (a10) .
DISPLAY NAMES.
_ATEOF

{ set +x
$as_echo "$at_srcdir/sys-file-info.at:122: pspp -O format=csv sysfile-info.sps"
at_fn_check_prepare_trace "sys-file-info.at:122"
( $at_check_trace; pspp -O format=csv sysfile-info.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Variable
x
name
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-info.at:122"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_355
#AT_START_356
at_fn_group_banner 356 'sys-file-info.at:129' \
  "DISPLAY LABELS" "                                 " 55
at_xfail=no
(
  $as_echo "356. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >sysfile-info.sps <<'_ATEOF'
DATA LIST LIST NOTABLE /x * name (a10) .
VARIABLE LABEL x 'variable one' name 'variable two'.
VALUE LABEL x 1 'asdf' 2 'jkl;'.
DISPLAY LABELS.
_ATEOF

{ set +x
$as_echo "$at_srcdir/sys-file-info.at:136: pspp -O format=csv sysfile-info.sps"
at_fn_check_prepare_trace "sys-file-info.at:136"
( $at_check_trace; pspp -O format=csv sysfile-info.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Variable,Label,Position
x,variable one,1
name,variable two,2
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-info.at:136"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_356
#AT_START_357
at_fn_group_banner 357 'value-labels.at:19' \
  "VALUE LABELS date formats" "                      " 56
at_xfail=no
(
  $as_echo "357. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >value-labels.sps <<'_ATEOF'
DATA LIST LIST NOTABLE /ad (adate10) dt (datetime20).
VALUE LABELS ad 'july 10, 1982' 'label 1'
                '1-2-93' 'label 2'
                '5-4-2003' 'label 3'
            /dt '12 Apr 2011 06:09:56' 'label 4'.
DISPLAY DICTIONARY.
_ATEOF

{ set +x
$as_echo "$at_srcdir/value-labels.at:28: pspp -O format=csv value-labels.sps"
at_fn_check_prepare_trace "value-labels.at:28"
( $at_check_trace; pspp -O format=csv value-labels.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Variable,Description,Position
ad,\"Format: ADATE10

Value,Label
07/10/1982,label 1
01/02/1993,label 2
05/04/2003,label 3\",1
dt,\"Format: DATETIME20.0

Value,Label
12-APR-2011 06:09:56,label 4\",2
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/value-labels.at:28"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_357
#AT_START_358
at_fn_group_banner 358 'value-labels.at:43' \
  "VALUE LABELS with new-line" "                     " 56
at_xfail=no
(
  $as_echo "358. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >value-labels.sps <<'_ATEOF'
DATA LIST LIST NOTABLE /x.
VALUE LABELS x 1 'one' 2 'first line\nsecond line' 3 'three'.
BEGIN DATA.
1
2
3
END DATA.
DISPLAY DICTIONARY.
FREQUENCIES x/STAT=NONE.
_ATEOF

{ set +x
$as_echo "$at_srcdir/value-labels.at:55: pspp -O format=csv value-labels.sps"
at_fn_check_prepare_trace "value-labels.at:55"
( $at_check_trace; pspp -O format=csv value-labels.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Variable,Description,Position
x,\"Format: F8.2

Value,Label
1.00,one
2.00,first line\\nsecond line
3.00,three\",1

Table: x
Value Label,Value,Frequency,Percent,Valid Percent,Cum Percent
one,1.00,1,33.33,33.33,33.33
\"first line
second line\",2.00,1,33.33,33.33,66.67
three,3.00,1,33.33,33.33,100.00
Total,,3,100.0,100.0,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/value-labels.at:55"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_358
#AT_START_359
at_fn_group_banner 359 'value-labels.at:74' \
  "VALUE LABELS with new-line in system file" "      " 56
at_xfail=no
(
  $as_echo "359. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >save.sps <<'_ATEOF'
DATA LIST LIST NOTABLE /x.
VALUE LABELS x 1 'one' 2 'first line\nsecond line' 3 'three'.
BEGIN DATA.
1
2
3
END DATA.
SAVE OUTFILE='value-labels.sav'.
_ATEOF

{ set +x
$as_echo "$at_srcdir/value-labels.at:85: pspp -O format=csv save.sps"
at_fn_check_prepare_trace "value-labels.at:85"
( $at_check_trace; pspp -O format=csv save.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/value-labels.at:85"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >get.sps <<'_ATEOF'
GET FILE='value-labels.sav'.
DISPLAY DICTIONARY.
FREQUENCIES x/STAT=NONE.
_ATEOF

{ set +x
$as_echo "$at_srcdir/value-labels.at:91: pspp -O format=csv get.sps"
at_fn_check_prepare_trace "value-labels.at:91"
( $at_check_trace; pspp -O format=csv get.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Variable,Description,Position
x,\"Format: F8.2

Value,Label
1.00,one
2.00,first line\\nsecond line
3.00,three\",1

Table: x
Value Label,Value,Frequency,Percent,Valid Percent,Cum Percent
one,1.00,1,33.33,33.33,33.33
\"first line
second line\",2.00,1,33.33,33.33,66.67
three,3.00,1,33.33,33.33,100.00
Total,,3,100.0,100.0,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/value-labels.at:91"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_359
#AT_START_360
at_fn_group_banner 360 'value-labels.at:112' \
  "VALUE LABELS invalid syntax bug" "                " 56
at_xfail=no
(
  $as_echo "360. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >value-labels.sps <<'_ATEOF'
DATA LIST LIST NOTABLE /a * pref * .
BEGIN DATA.
    1.00     1.00
    1.00     2.00
    2.00     1.00
    2.00     2.00
END DATA.

VALUE LABELS /var=a 'label for a'.
_ATEOF

{ set +x
$as_echo "$at_srcdir/value-labels.at:124: pspp -O format=csv value-labels.sps"
at_fn_check_prepare_trace "value-labels.at:124"
( $at_check_trace; pspp -O format=csv value-labels.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "value-labels.sps:9: error: VALUE LABELS: var is not a variable name.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/value-labels.at:124"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_360
#AT_START_361
at_fn_group_banner 361 'value-labels.at:130' \
  "VALUE LABELS trailing \`/' bug" "                  " 56
at_xfail=no
(
  $as_echo "361. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >value-labels.sps <<'_ATEOF'
DATA LIST LIST NOTABLE /X * .
BEGIN DATA.
1
2
3
4
END DATA.


VALUE LABELS X 1 'one' 2 'two' 3 'three'/


LIST VARIABLES=X.
_ATEOF

{ set +x
$as_echo "$at_srcdir/value-labels.at:146: pspp -O format=csv value-labels.sps"
at_fn_check_prepare_trace "value-labels.at:146"
( $at_check_trace; pspp -O format=csv value-labels.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
X
1.00
2.00
3.00
4.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/value-labels.at:146"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_361
#AT_START_362
at_fn_group_banner 362 'variable-display.at:19' \
  "variable display attribute commands" "            " 57
at_xfail=no
(
  $as_echo "362. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >var-display.sps <<'_ATEOF'
DATA LIST FREE /x y z.
VARIABLE ALIGNMENT x (LEFT)/y (RIGHT)/z (CENTER).
VARIABLE WIDTH x (10)/y (12)/z (14).
VARIABLE LEVEL x (SCALE)/y (ORDINAL)/z (NOMINAL).
VARIABLE ROLE /TARGET x /BOTH y /NONE z.
DISPLAY DICTIONARY.
_ATEOF

{ set +x
$as_echo "$at_srcdir/variable-display.at:28: pspp -o pspp.csv var-display.sps"
at_fn_check_prepare_trace "variable-display.at:28"
( $at_check_trace; pspp -o pspp.csv var-display.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/variable-display.at:28"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/variable-display.at:29: cat pspp.csv"
at_fn_check_prepare_trace "variable-display.at:29"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Variable,Description,Position
x,\"Format: F8.2
Measure: Scale
Role: Output
Display Alignment: Left
Display Width: 10\",1
y,\"Format: F8.2
Measure: Ordinal
Role: Both
Display Alignment: Right
Display Width: 12\",2
z,\"Format: F8.2
Measure: Nominal
Role: None
Display Alignment: Center
Display Width: 14\",3
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/variable-display.at:29"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_362
#AT_START_363
at_fn_group_banner 363 'variable-display.at:52' \
  "variable labels" "                                " 58
at_xfail=no
(
  $as_echo "363. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >var-labels.sps <<'_ATEOF'
DATA LIST LIST NOTABLE /x * y *.
BEGIN DATA.
1 100
2 200
3 300
4 400
END DATA.

* While no labels have been set, the TVARS is irrelevant.
SET TVARS=NAMES.
DESCRIPTIVES ALL.

SET TVARS=LABELS.
DESCRIPTIVES ALL.

SET TVARS=BOTH.
DESCRIPTIVES ALL.

VARIABLE LABEL x 'foo' y 'bar'.

* Now, the TVARS setting should have effect

SET TVARS=NAMES.
DESCRIPTIVES ALL.

SET TVARS=LABELS.
DESCRIPTIVES ALL.

SET TVARS=BOTH.
DESCRIPTIVES ALL.
_ATEOF


{ set +x
$as_echo "$at_srcdir/variable-display.at:89: pspp -O format=csv var-labels.sps"
at_fn_check_prepare_trace "variable-display.at:89"
( $at_check_trace; pspp -O format=csv var-labels.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Valid cases = 4; cases with missing value(s) = 0.
Variable,N,Mean,Std Dev,Minimum,Maximum
x,4,2.50,1.29,1.00,4.00
y,4,250.00,129.10,100.00,400.00

Table: Valid cases = 4; cases with missing value(s) = 0.
Variable,N,Mean,Std Dev,Minimum,Maximum
x,4,2.50,1.29,1.00,4.00
y,4,250.00,129.10,100.00,400.00

Table: Valid cases = 4; cases with missing value(s) = 0.
Variable,N,Mean,Std Dev,Minimum,Maximum
x,4,2.50,1.29,1.00,4.00
y,4,250.00,129.10,100.00,400.00

Table: Valid cases = 4; cases with missing value(s) = 0.
Variable,N,Mean,Std Dev,Minimum,Maximum
x,4,2.50,1.29,1.00,4.00
y,4,250.00,129.10,100.00,400.00

Table: Valid cases = 4; cases with missing value(s) = 0.
Variable,N,Mean,Std Dev,Minimum,Maximum
foo,4,2.50,1.29,1.00,4.00
bar,4,250.00,129.10,100.00,400.00

Table: Valid cases = 4; cases with missing value(s) = 0.
Variable,N,Mean,Std Dev,Minimum,Maximum
foo (x),4,2.50,1.29,1.00,4.00
bar (y),4,250.00,129.10,100.00,400.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/variable-display.at:89"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_363
#AT_START_364
at_fn_group_banner 364 'vector.at:19' \
  "VECTOR short form" "                              " 59
at_xfail=no
(
  $as_echo "364. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >vector.sps <<'_ATEOF'
data list notable/x 1.
vector v(4).
display vector.
_ATEOF

{ set +x
$as_echo "$at_srcdir/vector.at:25: pspp -o pspp.csv vector.sps"
at_fn_check_prepare_trace "vector.at:25"
( $at_check_trace; pspp -o pspp.csv vector.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/vector.at:25"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/vector.at:26: cat pspp.csv"
at_fn_check_prepare_trace "vector.at:26"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Vector,Position,Variable,Print Format
v,1,v1,F8.2
,2,v2,F8.2
,3,v3,F8.2
,4,v4,F8.2
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/vector.at:26"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_364
#AT_START_365
at_fn_group_banner 365 'vector.at:35' \
  "VECTOR short form with format specification" "    " 59
at_xfail=no
(
  $as_echo "365. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >vector.sps <<'_ATEOF'
data list notable/x 1.
vector #vec(4, comma10.2)
      /#svec(3, a8).
display vector.
_ATEOF

{ set +x
$as_echo "$at_srcdir/vector.at:42: pspp -o pspp.csv vector.sps"
at_fn_check_prepare_trace "vector.at:42"
( $at_check_trace; pspp -o pspp.csv vector.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/vector.at:42"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/vector.at:43: cat pspp.csv"
at_fn_check_prepare_trace "vector.at:43"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Vector,Position,Variable,Print Format
#vec,1,#vec1,COMMA10.2
,2,#vec2,COMMA10.2
,3,#vec3,COMMA10.2
,4,#vec4,COMMA10.2
#svec,1,#svec1,A8
,2,#svec2,A8
,3,#svec3,A8
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/vector.at:43"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_365
#AT_START_366
at_fn_group_banner 366 'vector.at:55' \
  "VECTOR short form in INPUT PROGRAM" "             " 59
at_xfail=no
(
  $as_echo "366. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >vector.sps <<'_ATEOF'
input program.
vector x(5).
data list notable/x5 x2 x3 x1 x4 1-5.
end input program.
display vector.
_ATEOF

{ set +x
$as_echo "$at_srcdir/vector.at:63: pspp -o pspp.csv vector.sps"
at_fn_check_prepare_trace "vector.at:63"
( $at_check_trace; pspp -o pspp.csv vector.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/vector.at:63"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/vector.at:64: cat pspp.csv"
at_fn_check_prepare_trace "vector.at:64"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Vector,Position,Variable,Print Format
x,1,x1,F8.2
,2,x2,F8.2
,3,x3,F8.2
,4,x4,F8.2
,5,x5,F8.2
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/vector.at:64"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_366
#AT_START_367
at_fn_group_banner 367 'vector.at:74' \
  "VECTOR long form" "                               " 59
at_xfail=no
(
  $as_echo "367. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >vector.sps <<'_ATEOF'
data list notable/u w x y z 1-5.
vector a=u to y.
vector b=x to z.
vector c=all.
display vector.
_ATEOF

{ set +x
$as_echo "$at_srcdir/vector.at:82: pspp -o pspp.csv vector.sps"
at_fn_check_prepare_trace "vector.at:82"
( $at_check_trace; pspp -o pspp.csv vector.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/vector.at:82"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/vector.at:83: cat pspp.csv"
at_fn_check_prepare_trace "vector.at:83"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Vector,Position,Variable,Print Format
a,1,u,F1.0
,2,w,F1.0
,3,x,F1.0
,4,y,F1.0
b,1,x,F1.0
,2,y,F1.0
,3,z,F1.0
c,1,u,F1.0
,2,w,F1.0
,3,x,F1.0
,4,y,F1.0
,5,z,F1.0
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/vector.at:83"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_367
#AT_START_368
at_fn_group_banner 368 'weight.at:19' \
  "WEIGHT" "                                         " 60
at_xfail=no
(
  $as_echo "368. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >weight.txt <<'_ATEOF'
   18    1
   19    7
   20   26
   21   76
   22   57
   23   58
   24   38
   25   38
   26   30
   27   21
   28   23
   29   24
   30   23
   31   14
   32   21
   33   21
   34   14
   35   14
   36   17
   37   11
   38   16
   39   14
   40   15
   41   14
   42   14
   43    8
   44   15
   45   10
   46   12
   47   13
   48   13
   49    5
   50    5
   51    3
   52    7
   53    6
   54    2
   55    2
   56    2
   57    3
   58    1
   59    3
   61    1
   62    3
   63    1
   64    1
   65    2
   70    1
   78    1
   79    1
   80    1
   94    1
_ATEOF

cat >weight.sps <<'_ATEOF'
SET FORMAT F8.3.
data list file='weight.txt'/AVAR 1-5 BVAR 6-10.
weight by BVAR.

descriptives AVAR /statistics all /format serial.
frequencies AVAR /statistics all.
_ATEOF

{ set +x
$as_echo "$at_srcdir/weight.at:82: pspp -o pspp.csv weight.sps"
at_fn_check_prepare_trace "weight.at:82"
( $at_check_trace; pspp -o pspp.csv weight.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/weight.at:82"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/weight.at:83: cat pspp.csv"
at_fn_check_prepare_trace "weight.at:83"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Reading 1 record from \`weight.txt'.
Variable,Record,Columns,Format
AVAR,1,1-  5,F5.0
BVAR,1,6- 10,F5.0

Table: Valid cases = 730; cases with missing value(s) = 0.
Variable,Valid N,Missing N,Mean,S.E. Mean,Std Dev,Variance,Kurtosis,S.E. Kurt,Skewness,S.E. Skew,Range,Minimum,Maximum,Sum
AVAR,730,0,31.515,.405,10.937,119.608,2.411,.181,1.345,.090,76.000,18.000,94.000,23006.000

Table: AVAR
Value Label,Value,Frequency,Percent,Valid Percent,Cum Percent
,18,1,.137,.137,.137
,19,7,.959,.959,1.096
,20,26,3.562,3.562,4.658
,21,76,10.411,10.411,15.068
,22,57,7.808,7.808,22.877
,23,58,7.945,7.945,30.822
,24,38,5.205,5.205,36.027
,25,38,5.205,5.205,41.233
,26,30,4.110,4.110,45.342
,27,21,2.877,2.877,48.219
,28,23,3.151,3.151,51.370
,29,24,3.288,3.288,54.658
,30,23,3.151,3.151,57.808
,31,14,1.918,1.918,59.726
,32,21,2.877,2.877,62.603
,33,21,2.877,2.877,65.479
,34,14,1.918,1.918,67.397
,35,14,1.918,1.918,69.315
,36,17,2.329,2.329,71.644
,37,11,1.507,1.507,73.151
,38,16,2.192,2.192,75.342
,39,14,1.918,1.918,77.260
,40,15,2.055,2.055,79.315
,41,14,1.918,1.918,81.233
,42,14,1.918,1.918,83.151
,43,8,1.096,1.096,84.247
,44,15,2.055,2.055,86.301
,45,10,1.370,1.370,87.671
,46,12,1.644,1.644,89.315
,47,13,1.781,1.781,91.096
,48,13,1.781,1.781,92.877
,49,5,.685,.685,93.562
,50,5,.685,.685,94.247
,51,3,.411,.411,94.658
,52,7,.959,.959,95.616
,53,6,.822,.822,96.438
,54,2,.274,.274,96.712
,55,2,.274,.274,96.986
,56,2,.274,.274,97.260
,57,3,.411,.411,97.671
,58,1,.137,.137,97.808
,59,3,.411,.411,98.219
,61,1,.137,.137,98.356
,62,3,.411,.411,98.767
,63,1,.137,.137,98.904
,64,1,.137,.137,99.041
,65,2,.274,.274,99.315
,70,1,.137,.137,99.452
,78,1,.137,.137,99.589
,79,1,.137,.137,99.726
,80,1,.137,.137,99.863
,94,1,.137,.137,100.000
Total,,730,100.0,100.0,

Table: AVAR
N,Valid,730
,Missing,0
Mean,,31.515
S.E. Mean,,.405
Mode,,21.000
Std Dev,,10.937
Variance,,119.608
Kurtosis,,2.411
S.E. Kurt,,.181
Skewness,,1.345
S.E. Skew,,.090
Range,,76.000
Minimum,,18.000
Maximum,,94.000
Sum,,23006.000
Percentiles,50 (Median),28
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/weight.at:83"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_368
#AT_START_369
at_fn_group_banner 369 'evaluate.at:1989' \
  "LAG function" "                                   " 61
at_xfail=no
(
  $as_echo "369. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >lag.sps <<'_ATEOF'
data list /W 1.
begin data.
1
2
3
4
5
end data.

compute X=lag(w,1).
compute Y=lag(x).
compute Z=lag(w,2).
list.
_ATEOF

{ set +x
$as_echo "$at_srcdir/evaluate.at:2005: pspp -o pspp.csv lag.sps"
at_fn_check_prepare_trace "evaluate.at:2005"
( $at_check_trace; pspp -o pspp.csv lag.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/evaluate.at:2005"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/evaluate.at:2006: cat pspp.csv"
at_fn_check_prepare_trace "evaluate.at:2006"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Reading 1 record from INLINE.
Variable,Record,Columns,Format
W,1,1-  1,F1.0

Table: Data List
W,X,Y,Z
1,.  ,.  ,.  
2,1.00,.  ,.  
3,2.00,1.00,1.00
4,3.00,2.00,2.00
5,4.00,3.00,3.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/evaluate.at:2006"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_369
#AT_START_370
at_fn_group_banner 370 'evaluate.at:2021' \
  "LAG crash bug" "                                  " 61
at_xfail=no
(
  $as_echo "370. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >lag.sps <<'_ATEOF'
DATA LIST LIST /x.
BEGIN DATA
1
2
END DATA.

DO IF (x <> LAG(x) ).
	ECHO 'hello'.
END IF.

EXECUTE.
_ATEOF

{ set +x
$as_echo "$at_srcdir/evaluate.at:2035: pspp -o pspp.csv lag.sps"
at_fn_check_prepare_trace "evaluate.at:2035"
( $at_check_trace; pspp -o pspp.csv lag.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/evaluate.at:2035"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/evaluate.at:2036: cat pspp.csv"
at_fn_check_prepare_trace "evaluate.at:2036"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Reading free-form data from INLINE.
Variable,Format
x,F8.0

hello
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/evaluate.at:2036"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_370
#AT_START_371
at_fn_group_banner 371 'evaluate.at:2046' \
  "UNIFORM function" "                               " 61
at_xfail=no
(
  $as_echo "371. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >uniform.sps <<'_ATEOF'
set seed=10.
input program.
+ loop #i = 1 to 20.
+    do repeat response=R1.
+       compute response = uniform(10).
+    end repeat.
+    end case.
+ end loop.
+ end file.
end input program.

list.
_ATEOF

{ set +x
$as_echo "$at_srcdir/evaluate.at:2061: pspp -o pspp.csv uniform.sps"
at_fn_check_prepare_trace "evaluate.at:2061"
( $at_check_trace; pspp -o pspp.csv uniform.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/evaluate.at:2061"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/evaluate.at:2062: cat pspp.csv"
at_fn_check_prepare_trace "evaluate.at:2062"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
R1
7.71
2.99
.21
4.95
6.34
4.43
7.49
8.32
4.99
5.83
2.25
.25
1.98
7.09
7.61
2.66
1.69
2.64
.88
1.50
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/evaluate.at:2062"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_371
#AT_START_372
at_fn_group_banner 372 'evaluate.at:2088' \
  "VALUELABEL function" "                            " 61
at_xfail=no
(
  $as_echo "372. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >valuelabel.sps <<'_ATEOF'
DATA LIST notable /n 1 s 2(a).
VALUE LABELS /n 0 'Very dissatisfied'
                1 'Dissatisfied'
		1.5 'Slightly Peeved'
                2 'Neutral'
                3 'Satisfied'
                4 'Very satisfied'.
VALUE LABELS /s 'a' 'Wouldn''t buy again'
                'b' 'Unhappy'
                'c' 'Bored'
                'd' 'Satiated'
                'e' 'Elated'.
STRING nlabel slabel(a10).
COMPUTE nlabel = VALUELABEL(n).
COMPUTE slabel = VALUELABEL(s).
LIST.
BEGIN DATA.

0a
1b
2c
3d
4e
5f
6g
END DATA.
_ATEOF

{ set +x
$as_echo "$at_srcdir/evaluate.at:2117: pspp -o pspp.csv valuelabel.sps"
at_fn_check_prepare_trace "evaluate.at:2117"
( $at_check_trace; pspp -o pspp.csv valuelabel.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/evaluate.at:2117"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/evaluate.at:2118: cat pspp.csv"
at_fn_check_prepare_trace "evaluate.at:2118"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
n,s,nlabel,slabel
.,,,
0,a,Very dissa,Wouldn't b
1,b,Dissatisfi,Unhappy   
2,c,Neutral   ,Bored     
3,d,Satisfied ,Satiated  
4,e,Very satis,Elated    
5,f,,
6,g,,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/evaluate.at:2118"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_372
#AT_START_373
at_fn_group_banner 373 'evaluate.at:2132' \
  "variables in expressions" "                       " 61
at_xfail=no
(
  $as_echo "373. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >variables.sps <<'_ATEOF'
DATA LIST NOTABLE/N1 TO N5 1-5.
MISSING VALUES N1 TO N5 (3 THRU 5, 1).
BEGIN DATA.
12345
6789
END DATA.

COMPUTE P1=N1.
COMPUTE P2=N2.
COMPUTE P3=N3.
COMPUTE P4=N4.
COMPUTE P5=N5.

COMPUTE MC=NMISS(N1 TO N5).
COMPUTE VC=NVALID(N1 TO N5).

COMPUTE S1=SYSMIS(N1).
COMPUTE S2=SYSMIS(N2).
COMPUTE S3=SYSMIS(N3).
COMPUTE S4=SYSMIS(N4).
COMPUTE S5=SYSMIS(N5).

COMPUTE M1=MISSING(N1).
COMPUTE M2=MISSING(N2).
COMPUTE M3=MISSING(N3).
COMPUTE M4=MISSING(N4).
COMPUTE M5=MISSING(N5).

COMPUTE V1=VALUE(N1).
COMPUTE V2=VALUE(N2).
COMPUTE V3=VALUE(N3).
COMPUTE V4=VALUE(N4).
COMPUTE V5=VALUE(N5).

FORMATS ALL (F1).

LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/evaluate.at:2172: pspp -o pspp.csv variables.sps"
at_fn_check_prepare_trace "evaluate.at:2172"
( $at_check_trace; pspp -o pspp.csv variables.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/evaluate.at:2172"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/evaluate.at:2173: cat pspp.csv"
at_fn_check_prepare_trace "evaluate.at:2173"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
N1,N2,N3,N4,N5,P1,P2,P3,P4,P5,MC,VC,S1,S2,S3,S4,S5,M1,M2,M3,M4,M5,V1,V2,V3,V4,V5
1,2,3,4,5,.,2,.,.,.,4,1,0,0,0,0,0,1,0,1,1,1,1,2,3,4,5
6,7,8,9,.,6,7,8,9,.,1,4,0,0,0,0,1,0,0,0,0,1,6,7,8,9,.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/evaluate.at:2173"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_373
#AT_START_374
at_fn_group_banner 374 'evaluate.at:2181' \
  "vectors in expressions" "                         " 61
at_xfail=no
(
  $as_echo "374. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >vectors.sps <<'_ATEOF'
DATA LIST NOTABLE /N1 TO N5 1-5.
MISSING VALUES N1 TO N5 (3 THRU 5, 1).
BEGIN DATA.
12345
6789
END DATA.

VECTOR N=N1 TO N5.
VECTOR X(5).
LOOP I=1 TO 5.
COMPUTE X(I)=N(I) + 1.
END LOOP.

FORMATS ALL (F2).

LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/evaluate.at:2200: pspp -o pspp.csv vectors.sps"
at_fn_check_prepare_trace "evaluate.at:2200"
( $at_check_trace; pspp -o pspp.csv vectors.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/evaluate.at:2200"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/evaluate.at:2201: cat pspp.csv"
at_fn_check_prepare_trace "evaluate.at:2201"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
N1,N2,N3,N4,N5,X1,X2,X3,X4,X5,I
1,2,3,4,5,.,3,.,.,.,5
6,7,8,9,.,7,8,9,10,.,5
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/evaluate.at:2201"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_374
#AT_START_375
at_fn_group_banner 375 'parse.at:19' \
  "parse expression with unknown variable crash" "   " 62
at_xfail=no
(
  $as_echo "375. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >parse.sps <<'_ATEOF'
INPUT PROGRAM.
LOOP c=1 to 10.
COMPUTE var1=NORMAL(100).
END CASE.
END LOOP.
END FILE.
END INPUT PROGRAM.


IF ( y > 0 ) .
COMPUTE x=y.
END IF.
_ATEOF

{ set +x
$as_echo "$at_srcdir/parse.at:34: pspp -O format=csv parse.sps"
at_fn_check_prepare_trace "parse.at:34"
( $at_check_trace; pspp -O format=csv parse.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "parse.sps:10: error: IF: Unknown identifier y.

parse.sps:11: error: Stopping syntax file processing here to avoid a cascade of dependent command failures.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/parse.at:34"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_375
#AT_START_376
at_fn_group_banner 376 'parse.at:41' \
  "parse expression with invalid logical expression" "" 62
at_xfail=no
(
  $as_echo "376. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >parse.sps <<'_ATEOF'
INPUT PROGRAM.
LOOP c=1 to 10.
COMPUTE var1=NORMAL(100).
END CASE.
END LOOP.
END FILE.
END INPUT PROGRAM.

SELECT IF 2.
_ATEOF

{ set +x
$as_echo "$at_srcdir/parse.at:53: pspp -O format=csv parse.sps"
at_fn_check_prepare_trace "parse.at:53"
( $at_check_trace; pspp -O format=csv parse.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "\"parse.sps:9: error: SELECT IF: A logical expression was found to have a value other than 0 (false), 1 (true), or the system-missing value.  The result was forced to 0.\"
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/parse.at:53"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_376
#AT_START_377
at_fn_group_banner 377 'command-name.at:19' \
  "single words" "                                   " 63
at_xfail=no
(
  $as_echo "377. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/command-name.at:21: command-name-test DESCRIPTIVES , DESCRIPTIVESX DESCRIPTIVES descr Des DEX DE '' 'DESCRIPTIVES MORE' 'DESCRIPTIVES MORE'"
at_fn_check_prepare_trace "command-name.at:21"
( $at_check_trace; command-name-test DESCRIPTIVES , DESCRIPTIVESX DESCRIPTIVES descr Des DEX DE '' 'DESCRIPTIVES MORE' 'DESCRIPTIVES MORE'
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "string=\"DESCRIPTIVESX\":
	command=\"DESCRIPTIVES\" match=no
match: none, missing_words=0

string=\"DESCRIPTIVES\":
	command=\"DESCRIPTIVES\" match=yes exact=yes missing_words=0
match: DESCRIPTIVES, missing_words=0

string=\"descr\":
	command=\"DESCRIPTIVES\" match=yes exact=no missing_words=0
match: DESCRIPTIVES, missing_words=0

string=\"Des\":
	command=\"DESCRIPTIVES\" match=yes exact=no missing_words=0
match: DESCRIPTIVES, missing_words=0

string=\"DEX\":
	command=\"DESCRIPTIVES\" match=no
match: none, missing_words=0

string=\"DE\":
	command=\"DESCRIPTIVES\" match=no
match: none, missing_words=0

string=\"\":
	command=\"DESCRIPTIVES\" match=yes exact=yes missing_words=1
match: none, missing_words=1

string=\"DESCRIPTIVES MORE\":
	command=\"DESCRIPTIVES\" match=yes exact=yes missing_words=-1
match: DESCRIPTIVES, missing_words=-1

string=\"DESCRIPTIVES MORE\":
	command=\"DESCRIPTIVES\" match=yes exact=yes missing_words=-1
match: DESCRIPTIVES, missing_words=-1
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/command-name.at:21"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_377
#AT_START_378
at_fn_group_banner 378 'command-name.at:61' \
  "two words without prefix match" "                 " 63
at_xfail=no
(
  $as_echo "378. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/command-name.at:63: command-name-test 'DO IF' 'DO REPEAT' , 'DO IF' 'DO REPEAT' 'DO REP' 'DO OTHER' 'D IF' 'DO I' DO"
at_fn_check_prepare_trace "command-name.at:63"
( $at_check_trace; command-name-test 'DO IF' 'DO REPEAT' , 'DO IF' 'DO REPEAT' 'DO REP' 'DO OTHER' 'D IF' 'DO I' DO
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "string=\"DO IF\":
	command=\"DO IF\" match=yes exact=yes missing_words=0
	command=\"DO REPEAT\" match=no
match: DO IF, missing_words=0

string=\"DO REPEAT\":
	command=\"DO IF\" match=no
	command=\"DO REPEAT\" match=yes exact=yes missing_words=0
match: DO REPEAT, missing_words=0

string=\"DO REP\":
	command=\"DO IF\" match=no
	command=\"DO REPEAT\" match=yes exact=no missing_words=0
match: DO REPEAT, missing_words=0

string=\"DO OTHER\":
	command=\"DO IF\" match=no
	command=\"DO REPEAT\" match=no
match: none, missing_words=0

string=\"D IF\":
	command=\"DO IF\" match=no
	command=\"DO REPEAT\" match=no
match: none, missing_words=0

string=\"DO I\":
	command=\"DO IF\" match=no
	command=\"DO REPEAT\" match=no
match: none, missing_words=0

string=\"DO\":
	command=\"DO IF\" match=yes exact=yes missing_words=1
	command=\"DO REPEAT\" match=yes exact=yes missing_words=1
match: none, missing_words=1
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/command-name.at:63"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_378
#AT_START_379
at_fn_group_banner 379 'command-name.at:102' \
  "two words with prefix match" "                    " 63
at_xfail=no
(
  $as_echo "379. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/command-name.at:104: command-name-test GET 'GET DATA' , GET 'GET TYPE' 'GET DAT' 'GET DATA'"
at_fn_check_prepare_trace "command-name.at:104"
( $at_check_trace; command-name-test GET 'GET DATA' , GET 'GET TYPE' 'GET DAT' 'GET DATA'
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "string=\"GET\":
	command=\"GET\" match=yes exact=yes missing_words=0
	command=\"GET DATA\" match=yes exact=yes missing_words=1
match: none, missing_words=1

string=\"GET TYPE\":
	command=\"GET\" match=yes exact=yes missing_words=-1
	command=\"GET DATA\" match=no
match: GET, missing_words=-1

string=\"GET DAT\":
	command=\"GET\" match=yes exact=yes missing_words=-1
	command=\"GET DATA\" match=yes exact=no missing_words=0
match: GET DATA, missing_words=0

string=\"GET DATA\":
	command=\"GET\" match=yes exact=yes missing_words=-1
	command=\"GET DATA\" match=yes exact=yes missing_words=0
match: GET DATA, missing_words=0
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/command-name.at:104"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_379
#AT_START_380
at_fn_group_banner 380 'command-name.at:128' \
  "ambiguous single-word names" "                    " 63
at_xfail=no
(
  $as_echo "380. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/command-name.at:130: command-name-test CASEPLOT CASESTOVARS , CAS Case CaseP CaseS"
at_fn_check_prepare_trace "command-name.at:130"
( $at_check_trace; command-name-test CASEPLOT CASESTOVARS , CAS Case CaseP CaseS
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "string=\"CAS\":
	command=\"CASEPLOT\" match=yes exact=no missing_words=0
	command=\"CASESTOVARS\" match=yes exact=no missing_words=0
match: none, missing_words=0

string=\"Case\":
	command=\"CASEPLOT\" match=yes exact=no missing_words=0
	command=\"CASESTOVARS\" match=yes exact=no missing_words=0
match: none, missing_words=0

string=\"CaseP\":
	command=\"CASEPLOT\" match=yes exact=no missing_words=0
	command=\"CASESTOVARS\" match=no
match: CASEPLOT, missing_words=0

string=\"CaseS\":
	command=\"CASEPLOT\" match=no
	command=\"CASESTOVARS\" match=yes exact=no missing_words=0
match: CASESTOVARS, missing_words=0
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/command-name.at:130"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_380
#AT_START_381
at_fn_group_banner 381 'command-name.at:154' \
  "ambiguous two-word names" "                       " 63
at_xfail=no
(
  $as_echo "381. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/command-name.at:156: command-name-test VARCOMP VARSTOCASES 'VARIABLE ATTRIBUTE' , VAR VARC VARS VARI 'VAR ATT'"
at_fn_check_prepare_trace "command-name.at:156"
( $at_check_trace; command-name-test VARCOMP VARSTOCASES 'VARIABLE ATTRIBUTE' , VAR VARC VARS VARI 'VAR ATT'
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "string=\"VAR\":
	command=\"VARCOMP\" match=yes exact=no missing_words=0
	command=\"VARSTOCASES\" match=yes exact=no missing_words=0
	command=\"VARIABLE ATTRIBUTE\" match=yes exact=no missing_words=1
match: none, missing_words=1

string=\"VARC\":
	command=\"VARCOMP\" match=yes exact=no missing_words=0
	command=\"VARSTOCASES\" match=no
	command=\"VARIABLE ATTRIBUTE\" match=no
match: VARCOMP, missing_words=0

string=\"VARS\":
	command=\"VARCOMP\" match=no
	command=\"VARSTOCASES\" match=yes exact=no missing_words=0
	command=\"VARIABLE ATTRIBUTE\" match=no
match: VARSTOCASES, missing_words=0

string=\"VARI\":
	command=\"VARCOMP\" match=no
	command=\"VARSTOCASES\" match=no
	command=\"VARIABLE ATTRIBUTE\" match=yes exact=no missing_words=1
match: none, missing_words=1

string=\"VAR ATT\":
	command=\"VARCOMP\" match=yes exact=no missing_words=-1
	command=\"VARSTOCASES\" match=yes exact=no missing_words=-1
	command=\"VARIABLE ATTRIBUTE\" match=yes exact=no missing_words=0
match: VARIABLE ATTRIBUTE, missing_words=0
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/command-name.at:156"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_381
#AT_START_382
at_fn_group_banner 382 'command-name.at:190' \
  "numbers and punctuation" "                        " 63
at_xfail=no
(
  $as_echo "382. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/command-name.at:192: command-name-test T-TEST 2SLS LIST , T-TEST 'T - Test' 2SLS '2 SLS' List"
at_fn_check_prepare_trace "command-name.at:192"
( $at_check_trace; command-name-test T-TEST 2SLS LIST , T-TEST 'T - Test' 2SLS '2 SLS' List
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "string=\"T-TEST\":
	command=\"T-TEST\" match=yes exact=yes missing_words=0
	command=\"2SLS\" match=no
	command=\"LIST\" match=no
match: T-TEST, missing_words=0

string=\"T - Test\":
	command=\"T-TEST\" match=yes exact=yes missing_words=0
	command=\"2SLS\" match=no
	command=\"LIST\" match=no
match: T-TEST, missing_words=0

string=\"2SLS\":
	command=\"T-TEST\" match=no
	command=\"2SLS\" match=yes exact=yes missing_words=0
	command=\"LIST\" match=no
match: 2SLS, missing_words=0

string=\"2 SLS\":
	command=\"T-TEST\" match=no
	command=\"2SLS\" match=yes exact=yes missing_words=0
	command=\"LIST\" match=no
match: 2SLS, missing_words=0

string=\"List\":
	command=\"T-TEST\" match=no
	command=\"2SLS\" match=no
	command=\"LIST\" match=yes exact=yes missing_words=0
match: LIST, missing_words=0
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/command-name.at:192"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_382
#AT_START_383
at_fn_group_banner 383 'command-name.at:226' \
  "off by more than one word" "                      " 63
at_xfail=no
(
  $as_echo "383. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/command-name.at:228: command-name-test 'a b c' , a 'a b' 'a b c' 'a b c d' 'a b c d e'"
at_fn_check_prepare_trace "command-name.at:228"
( $at_check_trace; command-name-test 'a b c' , a 'a b' 'a b c' 'a b c d' 'a b c d e'
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "string=\"a\":
	command=\"a b c\" match=yes exact=yes missing_words=2
match: none, missing_words=1

string=\"a b\":
	command=\"a b c\" match=yes exact=yes missing_words=1
match: none, missing_words=1

string=\"a b c\":
	command=\"a b c\" match=yes exact=yes missing_words=0
match: a b c, missing_words=0

string=\"a b c d\":
	command=\"a b c\" match=yes exact=yes missing_words=-1
match: a b c, missing_words=-1

string=\"a b c d e\":
	command=\"a b c\" match=yes exact=yes missing_words=-2
match: a b c, missing_words=-2
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/command-name.at:228"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_383
#AT_START_384
at_fn_group_banner 384 'lexer.at:19' \
  "lexer ignores initial #! line" "                  " 64
at_xfail=no
(
  $as_echo "384. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >lexer.sps <<'_ATEOF'
#! /usr/local/bin/pspp
DATA LIST LIST NOTABLE /a.
BEGIN DATA.
1
2
END DATA.
LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/lexer.at:29: pspp -o pspp.csv lexer.sps"
at_fn_check_prepare_trace "lexer.at:29"
( $at_check_trace; pspp -o pspp.csv lexer.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/lexer.at:29"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/lexer.at:30: cat pspp.csv"
at_fn_check_prepare_trace "lexer.at:30"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
a
1.00
2.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/lexer.at:30"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_384
#AT_START_385
at_fn_group_banner 385 'lexer.at:38' \
  "lexer properly reports scan errors" "             " 64
at_xfail=no
(
  $as_echo "385. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >lexer.sps <<'_ATEOF'
x'123'
x'1x'
u''
u'012345678'
u'd800'
u'110000'
'foo
'very long unterminated string that be ellipsized in its error message
1e .x
`
�
_ATEOF

{ set +x
$as_echo "$at_srcdir/lexer.at:52: pspp -O format=csv lexer.sps"
at_fn_check_prepare_trace "lexer.at:52"
( $at_check_trace; pspp -O format=csv lexer.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "\"lexer.sps:1.1-1.6: error: Syntax error at \`x'123'': String of hex digits has 3 characters, which is not a multiple of 2.\"

lexer.sps:2.1-2.5: error: Syntax error at \`x'1x'': \`x' is not a valid hex digit.

\"lexer.sps:3.1-3.3: error: Syntax error at \`u''': Unicode string contains 0 bytes, which is not in the valid range of 1 to 8 bytes.\"

\"lexer.sps:4.1-4.12: error: Syntax error at \`u'012345678'': Unicode string contains 9 bytes, which is not in the valid range of 1 to 8 bytes.\"

lexer.sps:5.1-5.7: error: Syntax error at \`u'd800'': U+D800 is not a valid Unicode code point.

lexer.sps:6.1-6.9: error: Syntax error at \`u'110000'': U+110000 is not a valid Unicode code point.

lexer.sps:7.1-7.4: error: Syntax error at \`'foo': Unterminated string constant.

lexer.sps:8.1-8.70: error: Syntax error at \`'very long unterminated string that be ellipsized in its err...': Unterminated string constant.

lexer.sps:9.1-9.2: error: Syntax error at \`1e': Missing exponent following \`1e'.

lexer.sps:9.4: error: Syntax error at \`.': Unexpected \`.' in middle of command.

lexer.sps:9: error: Unknown command \`x'.

lexer.sps:10.1: error: Syntax error at \`\`': Bad character \`\`' in input.

lexer.sps:11.1: error: Syntax error at \`�': Bad character U+FFFD in input.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/lexer.at:52"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_385
#AT_START_386
at_fn_group_banner 386 'lexer.at:82' \
  "lexer crash due to null byte" "                   " 64
at_xfail=no
(
  $as_echo "386. $at_setup_line: testing $at_desc ..."
  $at_traceon

# Intentionally leave out the new-line and add a null byte:
printf "datA dist list notable file='input.txt'/a b c.
lis|.\0" > lexer.sps

{ set +x
$as_echo "$at_srcdir/lexer.at:87: pspp -O format=csv lexer.sps"
at_fn_check_prepare_trace "lexer.at:87"
( $at_check_trace; pspp -O format=csv lexer.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "lexer.sps:1: error: Unknown command \`datA dist'.

lexer.sps:2: error: LIST: LIST is allowed only after the active dataset has been defined.

lexer.sps:2.5: error: LIST: Syntax error at \`.': Unexpected \`.' in middle of command.

lexer.sps:2.6: error: LIST: Syntax error at \`...': Bad character U+0000 in input.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/lexer.at:87"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_386
#AT_START_387
at_fn_group_banner 387 'q2c.at:19' \
  "q2c enforces mandatory subcommands" "             " 65
at_xfail=no
(
  $as_echo "387. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >q2c.sps <<'_ATEOF'
DATA LIST LIST NOTABLE /x *.
BEGIN DATA.
1
2
3
END DATA.

EXAMINE.
ONEWAY.
CROSSTABS.
_ATEOF

{ set +x
$as_echo "$at_srcdir/q2c.at:32: pspp -O format=csv q2c.sps"
at_fn_check_prepare_trace "q2c.at:32"
( $at_check_trace; pspp -O format=csv q2c.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "q2c.sps:8.8: error: EXAMINE: Syntax error at end of command: expecting variable name.

q2c.sps:9.7: error: ONEWAY: Syntax error at end of command: expecting variable name.

q2c.sps:10: error: CROSSTABS: Required subcommand TABLES was not specified.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/q2c.at:32"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_387
#AT_START_388
at_fn_group_banner 388 'scan.at:25' \
  "identifiers" "                                    " 66
at_xfail=no
(
  $as_echo "388. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >input <<'_ATEOF'
a aB i5 $x @efg @@. #.# .x _z.
abcd. abcd.
QRSTUV./* end of line comment */
QrStUv./* end of line comment */ 
WXYZ. /* unterminated end of line comment
�. /* U+FFFD is not valid in an identifier
_ATEOF

cat >expout-base <<'_ATEOF'
ID "a"
SKIP
ID "aB"
SKIP
ID "i5"
SKIP
ID "$x"
SKIP
ID "@efg"
SKIP
ID "@@."
SKIP
ID "#.#"
SKIP
UNEXPECTED_DOT
ID "x"
SKIP
UNEXPECTED_CHAR 95
ID "z"
ENDCMD
SKIP
ID "abcd."
SKIP
ID "abcd"
ENDCMD
SKIP
ID "QRSTUV"
ENDCMD
SKIP
SKIP
ID "QrStUv"
ENDCMD
SKIP
SKIP
SKIP
ID "WXYZ"
ENDCMD
SKIP
SKIP
SKIP
UNEXPECTED_CHAR 65533
ENDCMD
SKIP
SKIP
-SKIP
STOP
_ATEOF

sed 's/^-//' < expout-base > expout
   { set +x
$as_echo "$at_srcdir/scan.at:83: scan-test -i input"
at_fn_check_prepare_trace "scan.at:83"
( $at_check_trace; scan-test -i input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/scan.at:83"
$at_failed && at_fn_log_failure
$at_traceon; }


   sed '/^-/d' < expout-base > expout
   { set +x
$as_echo "$at_srcdir/scan.at:83: scan-test -s -i input"
at_fn_check_prepare_trace "scan.at:83"
( $at_check_trace; scan-test -s -i input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/scan.at:83"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_388
#AT_START_389
at_fn_group_banner 389 'scan.at:86' \
  "reserved words" "                                 " 66
at_xfail=no
(
  $as_echo "389. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >input <<'_ATEOF'
and or not eq ge gt le lt ne all by to with
AND OR NOT EQ GE GT LE LT NE ALL BY TO WITH
andx orx notx eqx gex gtx lex ltx nex allx byx tox withx
and. with.
_ATEOF

cat >expout-base <<'_ATEOF'
AND
SKIP
OR
SKIP
NOT
SKIP
EQ
SKIP
GE
SKIP
GT
SKIP
LE
SKIP
LT
SKIP
NE
SKIP
ALL
SKIP
BY
SKIP
TO
SKIP
WITH
SKIP
AND
SKIP
OR
SKIP
NOT
SKIP
EQ
SKIP
GE
SKIP
GT
SKIP
LE
SKIP
LT
SKIP
NE
SKIP
ALL
SKIP
BY
SKIP
TO
SKIP
WITH
SKIP
ID "andx"
SKIP
ID "orx"
SKIP
ID "notx"
SKIP
ID "eqx"
SKIP
ID "gex"
SKIP
ID "gtx"
SKIP
ID "lex"
SKIP
ID "ltx"
SKIP
ID "nex"
SKIP
ID "allx"
SKIP
ID "byx"
SKIP
ID "tox"
SKIP
ID "withx"
SKIP
ID "and."
SKIP
WITH
ENDCMD
-SKIP
STOP
_ATEOF

sed 's/^-//' < expout-base > expout
   { set +x
$as_echo "$at_srcdir/scan.at:180: scan-test -i input"
at_fn_check_prepare_trace "scan.at:180"
( $at_check_trace; scan-test -i input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/scan.at:180"
$at_failed && at_fn_log_failure
$at_traceon; }


   sed '/^-/d' < expout-base > expout
   { set +x
$as_echo "$at_srcdir/scan.at:180: scan-test -s -i input"
at_fn_check_prepare_trace "scan.at:180"
( $at_check_trace; scan-test -s -i input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/scan.at:180"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_389
#AT_START_390
at_fn_group_banner 390 'scan.at:183' \
  "punctuation" "                                    " 66
at_xfail=no
(
  $as_echo "390. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >input <<'_ATEOF'
~ & | = >= > <= < ~= <> ( ) , - + * / [ ] **
~&|=>=><=<~=<>(),-+*/[]**
_ATEOF

cat >expout-base <<'_ATEOF'
NOT
SKIP
AND
SKIP
OR
SKIP
EQUALS
SKIP
GE
SKIP
GT
SKIP
LE
SKIP
LT
SKIP
NE
SKIP
NE
SKIP
LPAREN
SKIP
RPAREN
SKIP
COMMA
SKIP
DASH
SKIP
PLUS
SKIP
ASTERISK
SKIP
SLASH
SKIP
LBRACK
SKIP
RBRACK
SKIP
EXP
SKIP
NOT
AND
OR
EQUALS
GE
GT
LE
LT
NE
NE
LPAREN
RPAREN
COMMA
DASH
PLUS
ASTERISK
SLASH
LBRACK
RBRACK
EXP
-SKIP
STOP
_ATEOF

sed 's/^-//' < expout-base > expout
   { set +x
$as_echo "$at_srcdir/scan.at:253: scan-test -i input"
at_fn_check_prepare_trace "scan.at:253"
( $at_check_trace; scan-test -i input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/scan.at:253"
$at_failed && at_fn_log_failure
$at_traceon; }


   sed '/^-/d' < expout-base > expout
   { set +x
$as_echo "$at_srcdir/scan.at:253: scan-test -s -i input"
at_fn_check_prepare_trace "scan.at:253"
( $at_check_trace; scan-test -s -i input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/scan.at:253"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_390
#AT_START_391
at_fn_group_banner 391 'scan.at:256' \
  "numbers" "                                        " 66
at_xfail=no
(
  $as_echo "391. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >input <<'_ATEOF'
0 1 01 001. 1.
123. /* comment 1 */ /* comment 2 */
.1 0.1 00.1 00.10
5e1 6E-1 7e+1 6E+01 6e-03
.3E1 .4e-1 .5E+1 .6e+01 .7E-03
1.23e1 45.6E-1 78.9e+1 99.9E+01 11.2e-03
. 1e e1 1e+ 1e-
_ATEOF

cat >expout-base <<'_ATEOF'
POS_NUM
SKIP
POS_NUM 1
SKIP
POS_NUM 1
SKIP
POS_NUM 1
SKIP
POS_NUM 1
ENDCMD
SKIP
POS_NUM 123
ENDCMD
SKIP
SKIP
SKIP
SKIP
SKIP
ENDCMD
POS_NUM 1
SKIP
POS_NUM 0.1
SKIP
POS_NUM 0.1
SKIP
POS_NUM 0.1
SKIP
POS_NUM 50
SKIP
POS_NUM 0.6
SKIP
POS_NUM 70
SKIP
POS_NUM 60
SKIP
POS_NUM 0.006
SKIP
ENDCMD
POS_NUM 30
SKIP
POS_NUM 0.04
SKIP
POS_NUM 5
SKIP
POS_NUM 6
SKIP
POS_NUM 0.0007
SKIP
POS_NUM 12.3
SKIP
POS_NUM 4.56
SKIP
POS_NUM 789
SKIP
POS_NUM 999
SKIP
POS_NUM 0.0112
SKIP
ENDCMD
SKIP
EXPECTED_EXPONENT "1e"
SKIP
ID "e1"
SKIP
EXPECTED_EXPONENT "1e+"
SKIP
EXPECTED_EXPONENT "1e-"
-SKIP
STOP
_ATEOF

sed 's/^-//' < expout-base > expout
   { set +x
$as_echo "$at_srcdir/scan.at:338: scan-test -i input"
at_fn_check_prepare_trace "scan.at:338"
( $at_check_trace; scan-test -i input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/scan.at:338"
$at_failed && at_fn_log_failure
$at_traceon; }


   sed '/^-/d' < expout-base > expout
   { set +x
$as_echo "$at_srcdir/scan.at:338: scan-test -s -i input"
at_fn_check_prepare_trace "scan.at:338"
( $at_check_trace; scan-test -s -i input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/scan.at:338"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_391
#AT_START_392
at_fn_group_banner 392 'scan.at:341' \
  "strings" "                                        " 66
at_xfail=no
(
  $as_echo "392. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >input <<'_ATEOF'
'x' "y" 'abc'
'Don''t' "Can't" 'Won''t'
"""quoted""" '"quoted"'
'' "" '''' """"
'missing end quote
"missing double quote
'x' + "y"
+ 'z' +
'a' /* abc */ + "b" /*
+ 'c' +/* */"d"/* */+'e'
'foo'
+          /* special case: + in column 0 would ordinarily start a new command
'bar'
'foo'
 +
'bar'
'foo'
+

'bar'

+
x"4142"+'5152'
"4142"+
x'5152'
x"4142"
+u'304a'
"�あいうえお"
"abc"+U"FFFD"+u'3048'+"xyz"
_ATEOF

cat >expout-base <<'_ATEOF'
STRING "x"
SKIP
STRING "y"
SKIP
STRING "abc"
SKIP
STRING "Don't"
SKIP
STRING "Can't"
SKIP
STRING "Won't"
SKIP
STRING ""quoted""
SKIP
STRING ""quoted""
SKIP
STRING ""
SKIP
STRING ""
SKIP
STRING "'"
SKIP
STRING """
SKIP
EXPECTED_QUOTE
SKIP
EXPECTED_QUOTE
SKIP
STRING "xyzabcde"
SKIP
STRING "foobar"
SKIP
STRING "foobar"
SKIP
STRING "foo"
SKIP
PLUS
SKIP
ENDCMD
SKIP
STRING "bar"
SKIP
ENDCMD
SKIP
PLUS
SKIP
STRING "AB5152"
SKIP
STRING "4142QR"
SKIP
STRING "ABお"
SKIP
STRING "�あいうえお"
SKIP
STRING "abc�えxyz"
-SKIP
STOP
_ATEOF

sed 's/^-//' < expout-base > expout
   { set +x
$as_echo "$at_srcdir/scan.at:433: scan-test -i input"
at_fn_check_prepare_trace "scan.at:433"
( $at_check_trace; scan-test -i input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/scan.at:433"
$at_failed && at_fn_log_failure
$at_traceon; }


   sed '/^-/d' < expout-base > expout
   { set +x
$as_echo "$at_srcdir/scan.at:433: scan-test -s -i input"
at_fn_check_prepare_trace "scan.at:433"
( $at_check_trace; scan-test -s -i input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/scan.at:433"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_392
#AT_START_393
at_fn_group_banner 393 'scan.at:436' \
  "#! construct" "                                   " 66
at_xfail=no
(
  $as_echo "393. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >input <<'_ATEOF'
#! /usr/bin/pspp
#! /usr/bin/pspp
_ATEOF

cat >expout-base <<'_ATEOF'
SKIP
SKIP
ID "#"
UNEXPECTED_CHAR 33
SKIP
SLASH
ID "usr"
SLASH
ID "bin"
SLASH
ID "pspp"
-SKIP
STOP
_ATEOF

sed 's/^-//' < expout-base > expout
   { set +x
$as_echo "$at_srcdir/scan.at:457: scan-test -i input"
at_fn_check_prepare_trace "scan.at:457"
( $at_check_trace; scan-test -i input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/scan.at:457"
$at_failed && at_fn_log_failure
$at_traceon; }


   sed '/^-/d' < expout-base > expout
   { set +x
$as_echo "$at_srcdir/scan.at:457: scan-test -s -i input"
at_fn_check_prepare_trace "scan.at:457"
( $at_check_trace; scan-test -s -i input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/scan.at:457"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_393
#AT_START_394
at_fn_group_banner 394 'scan.at:460' \
  "* and COMMENT commands" "                         " 66
at_xfail=no
(
  $as_echo "394. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >input <<'_ATEOF'
* Comment commands "don't
have to contain valid tokens.

** Check ambiguity with ** token.
****************.

comment keyword works too.
COMM also.
com is ambiguous with COMPUTE.

   * Comment need not start at left margin.

* Comment ends with blank line

next command.

_ATEOF

cat >expout-base <<'_ATEOF'
SKIP
SKIP
SKIP
ENDCMD
SKIP
ENDCMD
SKIP
SKIP
ENDCMD
SKIP
SKIP
ENDCMD
SKIP
ENDCMD
SKIP
SKIP
ENDCMD
SKIP
SKIP
ENDCMD
SKIP
ID "com"
SKIP
ID "is"
SKIP
ID "ambiguous"
SKIP
WITH
SKIP
ID "COMPUTE"
ENDCMD
SKIP
ENDCMD
SKIP
SKIP
SKIP
ENDCMD
SKIP
ENDCMD
SKIP
SKIP
SKIP
ENDCMD
SKIP
ID "next"
SKIP
ID "command"
ENDCMD
SKIP
-ENDCMD
-SKIP
STOP
_ATEOF

sed 's/^-//' < expout-base > expout
   { set +x
$as_echo "$at_srcdir/scan.at:534: scan-test -i input"
at_fn_check_prepare_trace "scan.at:534"
( $at_check_trace; scan-test -i input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/scan.at:534"
$at_failed && at_fn_log_failure
$at_traceon; }


   sed '/^-/d' < expout-base > expout
   { set +x
$as_echo "$at_srcdir/scan.at:534: scan-test -s -i input"
at_fn_check_prepare_trace "scan.at:534"
( $at_check_trace; scan-test -s -i input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/scan.at:534"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_394
#AT_START_395
at_fn_group_banner 395 'scan.at:537' \
  "DOCUMENT command" "                               " 66
at_xfail=no
(
  $as_echo "395. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >input <<'_ATEOF'
DOCUMENT one line.
DOC more
    than
        one
            line.
docu
first.paragraph
isn't parsed as tokens

second paragraph.
_ATEOF

cat >expout-base <<'_ATEOF'
ID "DOCUMENT"
STRING "DOCUMENT one line."
ENDCMD
ENDCMD
SKIP
ID "DOCUMENT"
STRING "DOC more"
SKIP
STRING "    than"
SKIP
STRING "        one"
SKIP
STRING "            line."
ENDCMD
ENDCMD
SKIP
ID "DOCUMENT"
STRING "docu"
SKIP
STRING "first.paragraph"
SKIP
STRING "isn't parsed as tokens"
SKIP
STRING ""
SKIP
STRING "second paragraph."
-ENDCMD
-ENDCMD
-SKIP
STOP
_ATEOF

sed 's/^-//' < expout-base > expout
   { set +x
$as_echo "$at_srcdir/scan.at:583: scan-test -i input"
at_fn_check_prepare_trace "scan.at:583"
( $at_check_trace; scan-test -i input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/scan.at:583"
$at_failed && at_fn_log_failure
$at_traceon; }


   sed '/^-/d' < expout-base > expout
   { set +x
$as_echo "$at_srcdir/scan.at:583: scan-test -s -i input"
at_fn_check_prepare_trace "scan.at:583"
( $at_check_trace; scan-test -s -i input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/scan.at:583"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_395
#AT_START_396
at_fn_group_banner 396 'scan.at:586' \
  "TITLE, SUBTITLE, FILE LABEL commands" "           " 66
at_xfail=no
(
  $as_echo "396. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >input <<'_ATEOF'
title/**/'Quoted string title'.
tit /*
"Quoted string on second line".
sub "Quoted string subtitle"
 .

TITL /* Not a */ quoted string title.
SUBT Not a quoted string /* subtitle

FIL label isn't quoted.
FILE
  lab 'is quoted'.
FILE /*
/**/  lab not quoted here either

_ATEOF

cat >expout-base <<'_ATEOF'
ID "title"
SKIP
STRING "Quoted string title"
ENDCMD
SKIP
ID "tit"
SKIP
SKIP
SKIP
STRING "Quoted string on second line"
ENDCMD
SKIP
ID "sub"
SKIP
STRING "Quoted string subtitle"
SKIP
SKIP
ENDCMD
SKIP
ENDCMD
SKIP
ID "TITL"
SKIP
STRING "/* Not a */ quoted string title"
ENDCMD
SKIP
ID "SUBT"
SKIP
STRING "Not a quoted string /* subtitle"
SKIP
ENDCMD
SKIP
ID "FIL"
SKIP
ID "label"
SKIP
STRING "isn't quoted"
ENDCMD
SKIP
ID "FILE"
SKIP
SKIP
ID "lab"
SKIP
STRING "is quoted"
ENDCMD
SKIP
ID "FILE"
SKIP
SKIP
SKIP
SKIP
SKIP
ID "lab"
SKIP
STRING "not quoted here either"
SKIP
-ENDCMD
-SKIP
STOP
_ATEOF

sed 's/^-//' < expout-base > expout
   { set +x
$as_echo "$at_srcdir/scan.at:667: scan-test -i input"
at_fn_check_prepare_trace "scan.at:667"
( $at_check_trace; scan-test -i input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/scan.at:667"
$at_failed && at_fn_log_failure
$at_traceon; }


   sed '/^-/d' < expout-base > expout
   { set +x
$as_echo "$at_srcdir/scan.at:667: scan-test -s -i input"
at_fn_check_prepare_trace "scan.at:667"
( $at_check_trace; scan-test -s -i input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/scan.at:667"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_396
#AT_START_397
at_fn_group_banner 397 'scan.at:670' \
  "BEGIN DATA command" "                             " 66
at_xfail=no
(
  $as_echo "397. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >input <<'_ATEOF'
begin data.
123
xxx
end data.

BEG /**/ DAT /*
5 6 7 /* x

end  data
end data
.
_ATEOF

cat >expout-base <<'_ATEOF'
ID "begin"
SKIP
ID "data"
ENDCMD
SKIP
STRING "123"
SKIP
STRING "xxx"
SKIP
ID "end"
SKIP
ID "data"
ENDCMD
SKIP
ENDCMD
SKIP
ID "BEG"
SKIP
SKIP
SKIP
ID "DAT"
SKIP
SKIP
SKIP
STRING "5 6 7 /* x"
SKIP
STRING ""
SKIP
STRING "end  data"
SKIP
ID "end"
SKIP
ID "data"
SKIP
ENDCMD
-SKIP
STOP
_ATEOF

sed 's/^-//' < expout-base > expout
   { set +x
$as_echo "$at_srcdir/scan.at:724: scan-test -i input"
at_fn_check_prepare_trace "scan.at:724"
( $at_check_trace; scan-test -i input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/scan.at:724"
$at_failed && at_fn_log_failure
$at_traceon; }


   sed '/^-/d' < expout-base > expout
   { set +x
$as_echo "$at_srcdir/scan.at:724: scan-test -s -i input"
at_fn_check_prepare_trace "scan.at:724"
( $at_check_trace; scan-test -s -i input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/scan.at:724"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_397
#AT_START_398
at_fn_group_banner 398 'scan.at:727' \
  "DO REPEAT command" "                              " 66
at_xfail=no
(
  $as_echo "398. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >input <<'_ATEOF'
do repeat x=a b c
          y=d e f.
  do repeat a=1 thru 5.
another command.
second command
+ third command.
end /* x */ /* y */ repeat print.
end
 repeat.
_ATEOF

cat >expout-base <<'_ATEOF'
ID "do"
SKIP
ID "repeat"
SKIP
ID "x"
EQUALS
ID "a"
SKIP
ID "b"
SKIP
ID "c"
SKIP
SKIP
ID "y"
EQUALS
ID "d"
SKIP
ID "e"
SKIP
ID "f"
ENDCMD
SKIP
STRING "  do repeat a=1 thru 5."
SKIP
STRING "another command."
SKIP
STRING "second command"
SKIP
STRING "+ third command."
SKIP
STRING "end /* x */ /* y */ repeat print."
SKIP
ID "end"
SKIP
SKIP
ID "repeat"
ENDCMD
-SKIP
STOP
_ATEOF

sed 's/^-//' < expout-base > expout
   { set +x
$as_echo "$at_srcdir/scan.at:781: scan-test -i input"
at_fn_check_prepare_trace "scan.at:781"
( $at_check_trace; scan-test -i input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/scan.at:781"
$at_failed && at_fn_log_failure
$at_traceon; }


   sed '/^-/d' < expout-base > expout
   { set +x
$as_echo "$at_srcdir/scan.at:781: scan-test -s -i input"
at_fn_check_prepare_trace "scan.at:781"
( $at_check_trace; scan-test -s -i input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/scan.at:781"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_398
#AT_START_399
at_fn_group_banner 399 'scan.at:784' \
  "batch mode" "                                     " 66
at_xfail=no
(
  $as_echo "399. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >input <<'_ATEOF'
first command
     another line of first command
+  second command
third command

fourth command.
   fifth command.
_ATEOF

cat >expout-base <<'_ATEOF'
ID "first"
SKIP
ID "command"
SKIP
SKIP
ID "another"
SKIP
ID "line"
SKIP
ID "of"
SKIP
ID "first"
SKIP
ID "command"
SKIP
ENDCMD
SKIP
ID "second"
SKIP
ID "command"
SKIP
ENDCMD
ID "third"
SKIP
ID "command"
SKIP
ENDCMD
SKIP
ID "fourth"
SKIP
ID "command"
ENDCMD
SKIP
SKIP
ID "fifth"
SKIP
ID "command"
ENDCMD
-SKIP
STOP
_ATEOF

sed 's/^-//' < expout-base > expout
   { set +x
$as_echo "$at_srcdir/scan.at:837: scan-test -b input"
at_fn_check_prepare_trace "scan.at:837"
( $at_check_trace; scan-test -b input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/scan.at:837"
$at_failed && at_fn_log_failure
$at_traceon; }


   sed '/^-/d' < expout-base > expout
   { set +x
$as_echo "$at_srcdir/scan.at:837: scan-test -s -b input"
at_fn_check_prepare_trace "scan.at:837"
( $at_check_trace; scan-test -s -b input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/scan.at:837"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_399
#AT_START_400
at_fn_group_banner 400 'segment.at:30' \
  "identifiers" "                                    " 67
at_xfail=no
(
  $as_echo "400. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >input <<'_ATEOF'
a ab abc abcd
A AB ABC ABCD
aB aBC aBcD
$x $y $z
grève Ângstrom poté
#a #b #c ## #d
@efg @ @@. @#@ 
## # #12345 #.#
f@#_.#6
GhIjK
.x 1y _z
_ATEOF

cat >expout-base <<'_ATEOF'
identifier      a    space
identifier      ab    space
identifier      abc    space
identifier      abcd
newline         \n (later)

identifier      A    space
identifier      AB    space
identifier      ABC    space
identifier      ABCD
newline         \n (later)

identifier      aB    space
identifier      aBC    space
identifier      aBcD
newline         \n (later)

identifier      $x    space
identifier      $y    space
identifier      $z
newline         \n (later)

identifier      grève
spaces          <U+00A0>
identifier      Ângstrom
spaces          <U+00A0>
identifier      poté
newline         \n (later)

identifier      #a    space
identifier      #b    space
identifier      #c    space
identifier      ##    space
identifier      #d
newline         \n (later)

identifier      @efg    space
identifier      @    space
identifier      @@.    space
identifier      @#@    space
newline         \n (later)

identifier      ##    space
identifier      #    space
identifier      #12345    space
identifier      #.#
newline         \n (later)

identifier      f@#\_.#6
newline         \n (later)

identifier      GhIjK
newline         \n (later)

start_command   .
identifier      x    space
number          1
identifier      y    space
unexpected_char \_
identifier      z
-newline         \n (later)
-
end
_ATEOF

for strip in "" "-s"; do
     case $strip in # (
        '') sed 's/^-//' < expout-base > expout ;; # (
	-s) sed '/^-/d' < expout-base > expout ;;
     esac
     { set +x
$as_echo "$at_srcdir/segment.at:110: segment-test -i \$strip input"
at_fn_check_prepare_dynamic "segment-test -i $strip input" "segment.at:110"
( $at_check_trace; segment-test -i $strip input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/segment.at:110"
$at_failed && at_fn_log_failure
$at_traceon; }

     { set +x
$as_echo "$at_srcdir/segment.at:110: segment-test -1 \$strip -i input"
at_fn_check_prepare_dynamic "segment-test -1 $strip -i input" "segment.at:110"
( $at_check_trace; segment-test -1 $strip -i input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/segment.at:110"
$at_failed && at_fn_log_failure
$at_traceon; }

     { set +x
$as_echo "$at_srcdir/segment.at:110: segment-test -0 \$strip -i input"
at_fn_check_prepare_dynamic "segment-test -0 $strip -i input" "segment.at:110"
( $at_check_trace; segment-test -0 $strip -i input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/segment.at:110"
$at_failed && at_fn_log_failure
$at_traceon; }

     { set +x
$as_echo "$at_srcdir/segment.at:110: segment-test -01 \$strip -i input"
at_fn_check_prepare_dynamic "segment-test -01 $strip -i input" "segment.at:110"
( $at_check_trace; segment-test -01 $strip -i input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/segment.at:110"
$at_failed && at_fn_log_failure
$at_traceon; }

   done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_400
#AT_START_401
at_fn_group_banner 401 'segment.at:113' \
  "identifiers that end in '.'" "                    " 67
at_xfail=no
(
  $as_echo "401. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >input <<'_ATEOF'
abcd. abcd.
ABCD. ABCD.
aBcD. aBcD. 
$y. $z. あいうえお.
#c. #d..
@@. @@....
#.#.
#abcd.
.
. 
LMNOP. 
QRSTUV./* end of line comment */
qrstuv. /* end of line comment */
QrStUv./* end of line comment */ 
wxyz./* unterminated end of line comment
WXYZ. /* unterminated end of line comment
WxYz./* unterminated end of line comment 
_ATEOF

cat >expout-base <<'_ATEOF'
identifier      abcd.    space
identifier      abcd
end_command     .
newline         \n (first)

identifier      ABCD.    space
identifier      ABCD
end_command     .
newline         \n (first)

identifier      aBcD.    space
identifier      aBcD
end_command     .    space
newline         \n (first)

identifier      $y.    space
identifier      $z.    space
identifier      あいうえお
end_command     .
newline         \n (first)

identifier      #c.    space
identifier      #d.
end_command     .
newline         \n (first)

identifier      @@.    space
identifier      @@...
end_command     .
newline         \n (first)

identifier      #.#
end_command     .
newline         \n (first)

identifier      #abcd
end_command     .
newline         \n (first)

start_command   .
newline         \n (first)

start_command   .    space
newline         \n (first)

identifier      LMNOP
end_command     .    space
newline         \n (first)

identifier      QRSTUV
end_command     .
comment         /*_end_of_line_comment_*/
newline         \n (first)

identifier      qrstuv
end_command     .    space
comment         /*_end_of_line_comment_*/
newline         \n (first)

identifier      QrStUv
end_command     .
comment         /*_end_of_line_comment_*/    space
newline         \n (first)

identifier      wxyz
end_command     .
comment         /*_unterminated_end_of_line_comment
newline         \n (first)

identifier      WXYZ
end_command     .    space
comment         /*_unterminated_end_of_line_comment
newline         \n (first)

identifier      WxYz
end_command     .
comment         /*_unterminated_end_of_line_comment_
-newline         \n (first)
-
end
_ATEOF

for strip in "" "-s"; do
     case $strip in # (
        '') sed 's/^-//' < expout-base > expout ;; # (
	-s) sed '/^-/d' < expout-base > expout ;;
     esac
     { set +x
$as_echo "$at_srcdir/segment.at:216: segment-test -i \$strip input"
at_fn_check_prepare_dynamic "segment-test -i $strip input" "segment.at:216"
( $at_check_trace; segment-test -i $strip input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/segment.at:216"
$at_failed && at_fn_log_failure
$at_traceon; }

     { set +x
$as_echo "$at_srcdir/segment.at:216: segment-test -1 \$strip -i input"
at_fn_check_prepare_dynamic "segment-test -1 $strip -i input" "segment.at:216"
( $at_check_trace; segment-test -1 $strip -i input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/segment.at:216"
$at_failed && at_fn_log_failure
$at_traceon; }

     { set +x
$as_echo "$at_srcdir/segment.at:216: segment-test -0 \$strip -i input"
at_fn_check_prepare_dynamic "segment-test -0 $strip -i input" "segment.at:216"
( $at_check_trace; segment-test -0 $strip -i input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/segment.at:216"
$at_failed && at_fn_log_failure
$at_traceon; }

     { set +x
$as_echo "$at_srcdir/segment.at:216: segment-test -01 \$strip -i input"
at_fn_check_prepare_dynamic "segment-test -01 $strip -i input" "segment.at:216"
( $at_check_trace; segment-test -01 $strip -i input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/segment.at:216"
$at_failed && at_fn_log_failure
$at_traceon; }

   done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_401
#AT_START_402
at_fn_group_banner 402 'segment.at:219' \
  "reserved words" "                                 " 67
at_xfail=no
(
  $as_echo "402. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >input <<'_ATEOF'
and or not eq ge gt le lt ne all by to with
AND OR NOT EQ GE GT LE LT NE ALL BY TO WITH
andx orx notx eqx gex gtx lex ltx nex allx byx tox withx
and. with.
_ATEOF

cat >expout-base <<'_ATEOF'
reserved_word   and    space
reserved_word   or    space
reserved_word   not    space
reserved_word   eq    space
reserved_word   ge    space
reserved_word   gt    space
reserved_word   le    space
reserved_word   lt    space
reserved_word   ne    space
reserved_word   all    space
reserved_word   by    space
reserved_word   to    space
reserved_word   with
newline         \n (later)

reserved_word   AND    space
reserved_word   OR    space
reserved_word   NOT    space
reserved_word   EQ    space
reserved_word   GE    space
reserved_word   GT    space
reserved_word   LE    space
reserved_word   LT    space
reserved_word   NE    space
reserved_word   ALL    space
reserved_word   BY    space
reserved_word   TO    space
reserved_word   WITH
newline         \n (later)

identifier      andx    space
identifier      orx    space
identifier      notx    space
identifier      eqx    space
identifier      gex    space
identifier      gtx    space
identifier      lex    space
identifier      ltx    space
identifier      nex    space
identifier      allx    space
identifier      byx    space
identifier      tox    space
identifier      withx
newline         \n (later)

identifier      and.    space
reserved_word   with
end_command     .
-newline         \n (first)
-
end
_ATEOF

for strip in "" "-s"; do
     case $strip in # (
        '') sed 's/^-//' < expout-base > expout ;; # (
	-s) sed '/^-/d' < expout-base > expout ;;
     esac
     { set +x
$as_echo "$at_srcdir/segment.at:280: segment-test -i \$strip input"
at_fn_check_prepare_dynamic "segment-test -i $strip input" "segment.at:280"
( $at_check_trace; segment-test -i $strip input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/segment.at:280"
$at_failed && at_fn_log_failure
$at_traceon; }

     { set +x
$as_echo "$at_srcdir/segment.at:280: segment-test -1 \$strip -i input"
at_fn_check_prepare_dynamic "segment-test -1 $strip -i input" "segment.at:280"
( $at_check_trace; segment-test -1 $strip -i input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/segment.at:280"
$at_failed && at_fn_log_failure
$at_traceon; }

     { set +x
$as_echo "$at_srcdir/segment.at:280: segment-test -0 \$strip -i input"
at_fn_check_prepare_dynamic "segment-test -0 $strip -i input" "segment.at:280"
( $at_check_trace; segment-test -0 $strip -i input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/segment.at:280"
$at_failed && at_fn_log_failure
$at_traceon; }

     { set +x
$as_echo "$at_srcdir/segment.at:280: segment-test -01 \$strip -i input"
at_fn_check_prepare_dynamic "segment-test -01 $strip -i input" "segment.at:280"
( $at_check_trace; segment-test -01 $strip -i input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/segment.at:280"
$at_failed && at_fn_log_failure
$at_traceon; }

   done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_402
#AT_START_403
at_fn_group_banner 403 'segment.at:283' \
  "punctuation" "                                    " 67
at_xfail=no
(
  $as_echo "403. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >input <<'_ATEOF'
~ & | = >= > <= < ~= <> ( ) , - + * / [ ] **
~&|=>=><=<~=<>(),-+*/[]**
_ATEOF

cat >expout-base <<'_ATEOF'
punct           ~    space
punct           &    space
punct           |    space
punct           =    space
punct           >=    space
punct           >    space
punct           <=    space
punct           <    space
punct           ~=    space
punct           <>    space
punct           (    space
punct           )    space
punct           ,    space
punct           -    space
punct           +    space
punct           *    space
punct           /    space
punct           [    space
punct           ]    space
punct           **
newline         \n (later)

punct           ~
punct           &
punct           |
punct           =
punct           >=
punct           >
punct           <=
punct           <
punct           ~=
punct           <>
punct           (
punct           )
punct           ,
punct           -
punct           +
punct           *
punct           /
punct           [
punct           ]
punct           **
-newline         \n (later)
-
end
_ATEOF

for strip in "" "-s"; do
     case $strip in # (
        '') sed 's/^-//' < expout-base > expout ;; # (
	-s) sed '/^-/d' < expout-base > expout ;;
     esac
     { set +x
$as_echo "$at_srcdir/segment.at:336: segment-test -i \$strip input"
at_fn_check_prepare_dynamic "segment-test -i $strip input" "segment.at:336"
( $at_check_trace; segment-test -i $strip input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/segment.at:336"
$at_failed && at_fn_log_failure
$at_traceon; }

     { set +x
$as_echo "$at_srcdir/segment.at:336: segment-test -1 \$strip -i input"
at_fn_check_prepare_dynamic "segment-test -1 $strip -i input" "segment.at:336"
( $at_check_trace; segment-test -1 $strip -i input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/segment.at:336"
$at_failed && at_fn_log_failure
$at_traceon; }

     { set +x
$as_echo "$at_srcdir/segment.at:336: segment-test -0 \$strip -i input"
at_fn_check_prepare_dynamic "segment-test -0 $strip -i input" "segment.at:336"
( $at_check_trace; segment-test -0 $strip -i input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/segment.at:336"
$at_failed && at_fn_log_failure
$at_traceon; }

     { set +x
$as_echo "$at_srcdir/segment.at:336: segment-test -01 \$strip -i input"
at_fn_check_prepare_dynamic "segment-test -01 $strip -i input" "segment.at:336"
( $at_check_trace; segment-test -01 $strip -i input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/segment.at:336"
$at_failed && at_fn_log_failure
$at_traceon; }

   done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_403
#AT_START_404
at_fn_group_banner 404 'segment.at:339' \
  "numbers" "                                        " 67
at_xfail=no
(
  $as_echo "404. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >input <<'_ATEOF'
0 1 01 001. 1.
123. /* comment 1 */ /* comment 2 */
.1 0.1 00.1 00.10
5e1 6E-1 7e+1 6E+01 6e-03
.3E1 .4e-1 .5E+1 .6e+01 .7E-03
1.23e1 45.6E-1 78.9e+1 99.9E+01 11.2e-03
. 1e e1 1e+ 1e-
_ATEOF

cat >expout-base <<'_ATEOF'
number          0    space
number          1    space
number          01    space
number          001.    space
number          1
end_command     .
newline         \n (first)

number          123
end_command     .    space
comment         /*_comment_1_*/    space
comment         /*_comment_2_*/
newline         \n (first)

start_command   .
number          1    space
number          0.1    space
number          00.1    space
number          00.10
newline         \n (later)

number          5e1    space
number          6E-1    space
number          7e+1    space
number          6E+01    space
number          6e-03
newline         \n (later)

start_command   .
number          3E1    space
number          .4e-1    space
number          .5E+1    space
number          .6e+01    space
number          .7E-03
newline         \n (later)

number          1.23e1    space
number          45.6E-1    space
number          78.9e+1    space
number          99.9E+01    space
number          11.2e-03
newline         \n (later)

start_command   .    space
expected_exponent 1e    space
identifier      e1    space
expected_exponent 1e+    space
expected_exponent 1e-
-newline         \n (later)
-
end
_ATEOF

for strip in "" "-s"; do
     case $strip in # (
        '') sed 's/^-//' < expout-base > expout ;; # (
	-s) sed '/^-/d' < expout-base > expout ;;
     esac
     { set +x
$as_echo "$at_srcdir/segment.at:403: segment-test -i \$strip input"
at_fn_check_prepare_dynamic "segment-test -i $strip input" "segment.at:403"
( $at_check_trace; segment-test -i $strip input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/segment.at:403"
$at_failed && at_fn_log_failure
$at_traceon; }

     { set +x
$as_echo "$at_srcdir/segment.at:403: segment-test -1 \$strip -i input"
at_fn_check_prepare_dynamic "segment-test -1 $strip -i input" "segment.at:403"
( $at_check_trace; segment-test -1 $strip -i input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/segment.at:403"
$at_failed && at_fn_log_failure
$at_traceon; }

     { set +x
$as_echo "$at_srcdir/segment.at:403: segment-test -0 \$strip -i input"
at_fn_check_prepare_dynamic "segment-test -0 $strip -i input" "segment.at:403"
( $at_check_trace; segment-test -0 $strip -i input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/segment.at:403"
$at_failed && at_fn_log_failure
$at_traceon; }

     { set +x
$as_echo "$at_srcdir/segment.at:403: segment-test -01 \$strip -i input"
at_fn_check_prepare_dynamic "segment-test -01 $strip -i input" "segment.at:403"
( $at_check_trace; segment-test -01 $strip -i input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/segment.at:403"
$at_failed && at_fn_log_failure
$at_traceon; }

   done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_404
#AT_START_405
at_fn_group_banner 405 'segment.at:406' \
  "strings" "                                        " 67
at_xfail=no
(
  $as_echo "405. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >input <<'_ATEOF'
'x' "y" 'abc'
'Don''t' "Can't" 'Won''t'
"""quoted""" '"quoted"'
'' ""
'missing end quote
"missing double quote
x"4142" X'5152'
u'fffd' U"041"
+ new command
+ /* comment */ 'string continuation'
+ /* also a punctuator on blank line
- 'new command'
_ATEOF

cat >expout-base <<'_ATEOF'
quoted_string   'x'    space
quoted_string   "y"    space
quoted_string   'abc'
newline         \n (later)

quoted_string   'Don''t'    space
quoted_string   "Can't"    space
quoted_string   'Won''t'
newline         \n (later)

quoted_string   """quoted"""    space
quoted_string   '"quoted"'
newline         \n (later)

quoted_string   ''    space
quoted_string   ""
newline         \n (later)

expected_quote  'missing_end_quote
newline         \n (later)

expected_quote  "missing_double_quote
newline         \n (later)

hex_string      x"4142"    space
hex_string      X'5152'
newline         \n (later)

unicode_string  u'fffd'    space
unicode_string  U"041"
newline         \n (later)

start_command   +    space
identifier      new    space
identifier      command
newline         \n (later)

punct           +    space
comment         /*_comment_*/    space
quoted_string   'string_continuation'
newline         \n (later)

punct           +    space
comment         /*_also_a_punctuator_on_blank_line
newline         \n (later)

start_command   -    space
quoted_string   'new_command'
-newline         \n (later)
-
end
_ATEOF

for strip in "" "-s"; do
     case $strip in # (
        '') sed 's/^-//' < expout-base > expout ;; # (
	-s) sed '/^-/d' < expout-base > expout ;;
     esac
     { set +x
$as_echo "$at_srcdir/segment.at:475: segment-test -i \$strip input"
at_fn_check_prepare_dynamic "segment-test -i $strip input" "segment.at:475"
( $at_check_trace; segment-test -i $strip input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/segment.at:475"
$at_failed && at_fn_log_failure
$at_traceon; }

     { set +x
$as_echo "$at_srcdir/segment.at:475: segment-test -1 \$strip -i input"
at_fn_check_prepare_dynamic "segment-test -1 $strip -i input" "segment.at:475"
( $at_check_trace; segment-test -1 $strip -i input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/segment.at:475"
$at_failed && at_fn_log_failure
$at_traceon; }

     { set +x
$as_echo "$at_srcdir/segment.at:475: segment-test -0 \$strip -i input"
at_fn_check_prepare_dynamic "segment-test -0 $strip -i input" "segment.at:475"
( $at_check_trace; segment-test -0 $strip -i input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/segment.at:475"
$at_failed && at_fn_log_failure
$at_traceon; }

     { set +x
$as_echo "$at_srcdir/segment.at:475: segment-test -01 \$strip -i input"
at_fn_check_prepare_dynamic "segment-test -01 $strip -i input" "segment.at:475"
( $at_check_trace; segment-test -01 $strip -i input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/segment.at:475"
$at_failed && at_fn_log_failure
$at_traceon; }

   done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_405
#AT_START_406
at_fn_group_banner 406 'segment.at:478' \
  "#! construct" "                                   " 67
at_xfail=no
(
  $as_echo "406. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >input <<'_ATEOF'
#! /usr/bin/pspp
title my title.
#! /usr/bin/pspp
_ATEOF

cat >expout-base <<'_ATEOF'
shbang          #!_/usr/bin/pspp
newline         \n (first)

identifier      title    space
unquoted_string my_title
end_command     .
newline         \n (first)

identifier      #
unexpected_char !    space
punct           /
identifier      usr
punct           /
identifier      bin
punct           /
identifier      pspp
-newline         \n (later)
-
end
_ATEOF

for strip in "" "-s"; do
     case $strip in # (
        '') sed 's/^-//' < expout-base > expout ;; # (
	-s) sed '/^-/d' < expout-base > expout ;;
     esac
     { set +x
$as_echo "$at_srcdir/segment.at:506: segment-test -i \$strip input"
at_fn_check_prepare_dynamic "segment-test -i $strip input" "segment.at:506"
( $at_check_trace; segment-test -i $strip input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/segment.at:506"
$at_failed && at_fn_log_failure
$at_traceon; }

     { set +x
$as_echo "$at_srcdir/segment.at:506: segment-test -1 \$strip -i input"
at_fn_check_prepare_dynamic "segment-test -1 $strip -i input" "segment.at:506"
( $at_check_trace; segment-test -1 $strip -i input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/segment.at:506"
$at_failed && at_fn_log_failure
$at_traceon; }

     { set +x
$as_echo "$at_srcdir/segment.at:506: segment-test -0 \$strip -i input"
at_fn_check_prepare_dynamic "segment-test -0 $strip -i input" "segment.at:506"
( $at_check_trace; segment-test -0 $strip -i input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/segment.at:506"
$at_failed && at_fn_log_failure
$at_traceon; }

     { set +x
$as_echo "$at_srcdir/segment.at:506: segment-test -01 \$strip -i input"
at_fn_check_prepare_dynamic "segment-test -01 $strip -i input" "segment.at:506"
( $at_check_trace; segment-test -01 $strip -i input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/segment.at:506"
$at_failed && at_fn_log_failure
$at_traceon; }

   done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_406
#AT_START_407
at_fn_group_banner 407 'segment.at:509' \
  "* and COMMENT commands" "                         " 67
at_xfail=no
(
  $as_echo "407. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >input <<'_ATEOF'
* Comment commands "don't
have to contain valid tokens.

** Check ambiguity with ** token.
****************.

comment keyword works too.
COMM also.
com is ambiguous with COMPUTE.

   * Comment need not start at left margin.

* Comment ends with blank line

next command.

_ATEOF

cat >expout-base <<'_ATEOF'
comment_command *_Comment_commands_"don't
newline         \n (COMMENT)

comment_command have_to_contain_valid_tokens
end_command     .
newline         \n (first)

separate_commands
newline         \n (first)

comment_command **_Check_ambiguity_with_**_token
end_command     .
newline         \n (first)

comment_command ****************
end_command     .
newline         \n (first)

separate_commands
newline         \n (first)

comment_command comment_keyword_works_too
end_command     .
newline         \n (first)

comment_command COMM_also
end_command     .
newline         \n (first)

identifier      com    space
identifier      is    space
identifier      ambiguous    space
reserved_word   with    space
identifier      COMPUTE
end_command     .
newline         \n (first)

separate_commands
newline         \n (first)

spaces          ___
comment_command *_Comment_need_not_start_at_left_margin
end_command     .
newline         \n (first)

separate_commands
newline         \n (first)

comment_command *_Comment_ends_with_blank_line
newline         \n (COMMENT)

separate_commands
newline         \n (first)

identifier      next    space
identifier      command
end_command     .
newline         \n (first)

-separate_commands
-newline         \n (first)
-
end
_ATEOF

for strip in "" "-s"; do
     case $strip in # (
        '') sed 's/^-//' < expout-base > expout ;; # (
	-s) sed '/^-/d' < expout-base > expout ;;
     esac
     { set +x
$as_echo "$at_srcdir/segment.at:594: segment-test -i \$strip input"
at_fn_check_prepare_dynamic "segment-test -i $strip input" "segment.at:594"
( $at_check_trace; segment-test -i $strip input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/segment.at:594"
$at_failed && at_fn_log_failure
$at_traceon; }

     { set +x
$as_echo "$at_srcdir/segment.at:594: segment-test -1 \$strip -i input"
at_fn_check_prepare_dynamic "segment-test -1 $strip -i input" "segment.at:594"
( $at_check_trace; segment-test -1 $strip -i input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/segment.at:594"
$at_failed && at_fn_log_failure
$at_traceon; }

     { set +x
$as_echo "$at_srcdir/segment.at:594: segment-test -0 \$strip -i input"
at_fn_check_prepare_dynamic "segment-test -0 $strip -i input" "segment.at:594"
( $at_check_trace; segment-test -0 $strip -i input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/segment.at:594"
$at_failed && at_fn_log_failure
$at_traceon; }

     { set +x
$as_echo "$at_srcdir/segment.at:594: segment-test -01 \$strip -i input"
at_fn_check_prepare_dynamic "segment-test -01 $strip -i input" "segment.at:594"
( $at_check_trace; segment-test -01 $strip -i input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/segment.at:594"
$at_failed && at_fn_log_failure
$at_traceon; }

   done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_407
#AT_START_408
at_fn_group_banner 408 'segment.at:597' \
  "DOCUMENT command" "                               " 67
at_xfail=no
(
  $as_echo "408. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >input <<'_ATEOF'
DOCUMENT one line.
DOC more
    than
        one
            line.
docu
first.paragraph
isn't parsed as tokens

second paragraph.
_ATEOF

cat >expout-base <<'_ATEOF'
start_document
document        DOCUMENT_one_line.
end_command
separate_commands
newline         \n (first)

start_document
document        DOC_more
newline         \n (DOCUMENT)

document        ____than
newline         \n (DOCUMENT)

document        ________one
newline         \n (DOCUMENT)

document        ____________line.
end_command
separate_commands
newline         \n (first)

start_document
document        docu
newline         \n (DOCUMENT)

document        first.paragraph
newline         \n (DOCUMENT)

document        isn't_parsed_as_tokens
newline         \n (DOCUMENT)

document
newline         \n (DOCUMENT)

document        second_paragraph.
-end_command
-separate_commands
-newline         \n (first)
-
end
_ATEOF

for strip in "" "-s"; do
     case $strip in # (
        '') sed 's/^-//' < expout-base > expout ;; # (
	-s) sed '/^-/d' < expout-base > expout ;;
     esac
     { set +x
$as_echo "$at_srcdir/segment.at:653: segment-test -i \$strip input"
at_fn_check_prepare_dynamic "segment-test -i $strip input" "segment.at:653"
( $at_check_trace; segment-test -i $strip input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/segment.at:653"
$at_failed && at_fn_log_failure
$at_traceon; }

     { set +x
$as_echo "$at_srcdir/segment.at:653: segment-test -1 \$strip -i input"
at_fn_check_prepare_dynamic "segment-test -1 $strip -i input" "segment.at:653"
( $at_check_trace; segment-test -1 $strip -i input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/segment.at:653"
$at_failed && at_fn_log_failure
$at_traceon; }

     { set +x
$as_echo "$at_srcdir/segment.at:653: segment-test -0 \$strip -i input"
at_fn_check_prepare_dynamic "segment-test -0 $strip -i input" "segment.at:653"
( $at_check_trace; segment-test -0 $strip -i input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/segment.at:653"
$at_failed && at_fn_log_failure
$at_traceon; }

     { set +x
$as_echo "$at_srcdir/segment.at:653: segment-test -01 \$strip -i input"
at_fn_check_prepare_dynamic "segment-test -01 $strip -i input" "segment.at:653"
( $at_check_trace; segment-test -01 $strip -i input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/segment.at:653"
$at_failed && at_fn_log_failure
$at_traceon; }

   done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_408
#AT_START_409
at_fn_group_banner 409 'segment.at:656' \
  "TITLE, SUBTITLE, FILE LABEL commands" "           " 67
at_xfail=no
(
  $as_echo "409. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >input <<'_ATEOF'
title/**/'Quoted string title'.
tit /*
"Quoted string on second line".
sub "Quoted string subtitle"
 .

TITL /* Not a */ quoted string title.
SUBT Not a quoted string /* subtitle

FIL label isn't quoted.
FILE
  lab 'is quoted'.
FILE /*
/**/  lab not quoted here either

_ATEOF

cat >expout-base <<'_ATEOF'
identifier      title
comment         /**/
quoted_string   'Quoted_string_title'
end_command     .
newline         \n (first)

identifier      tit    space
comment         /*
newline         \n (later)

quoted_string   "Quoted_string_on_second_line"
end_command     .
newline         \n (first)

identifier      sub    space
quoted_string   "Quoted_string_subtitle"
newline         \n (later)
    space
end_command     .
newline         \n (first)

separate_commands
newline         \n (first)

identifier      TITL    space
unquoted_string /*_Not_a_*/_quoted_string_title
end_command     .
newline         \n (first)

identifier      SUBT    space
unquoted_string Not_a_quoted_string_/*_subtitle
newline         \n (later)

separate_commands
newline         \n (first)

identifier      FIL    space
identifier      label    space
unquoted_string isn't_quoted
end_command     .
newline         \n (first)

identifier      FILE
newline         \n (later)

spaces          __
identifier      lab    space
quoted_string   'is_quoted'
end_command     .
newline         \n (first)

identifier      FILE    space
comment         /*
newline         \n (later)

comment         /**/
spaces          __
identifier      lab    space
unquoted_string not_quoted_here_either
newline         \n (later)

-separate_commands
-newline         \n (first)
-
end
_ATEOF

for strip in "" "-s"; do
     case $strip in # (
        '') sed 's/^-//' < expout-base > expout ;; # (
	-s) sed '/^-/d' < expout-base > expout ;;
     esac
     { set +x
$as_echo "$at_srcdir/segment.at:742: segment-test -i \$strip input"
at_fn_check_prepare_dynamic "segment-test -i $strip input" "segment.at:742"
( $at_check_trace; segment-test -i $strip input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/segment.at:742"
$at_failed && at_fn_log_failure
$at_traceon; }

     { set +x
$as_echo "$at_srcdir/segment.at:742: segment-test -1 \$strip -i input"
at_fn_check_prepare_dynamic "segment-test -1 $strip -i input" "segment.at:742"
( $at_check_trace; segment-test -1 $strip -i input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/segment.at:742"
$at_failed && at_fn_log_failure
$at_traceon; }

     { set +x
$as_echo "$at_srcdir/segment.at:742: segment-test -0 \$strip -i input"
at_fn_check_prepare_dynamic "segment-test -0 $strip -i input" "segment.at:742"
( $at_check_trace; segment-test -0 $strip -i input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/segment.at:742"
$at_failed && at_fn_log_failure
$at_traceon; }

     { set +x
$as_echo "$at_srcdir/segment.at:742: segment-test -01 \$strip -i input"
at_fn_check_prepare_dynamic "segment-test -01 $strip -i input" "segment.at:742"
( $at_check_trace; segment-test -01 $strip -i input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/segment.at:742"
$at_failed && at_fn_log_failure
$at_traceon; }

   done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_409
#AT_START_410
at_fn_group_banner 410 'segment.at:745' \
  "BEGIN DATA command" "                             " 67
at_xfail=no
(
  $as_echo "410. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >input <<'_ATEOF'
begin data.
end data.

begin data. /*
123
xxx
end data.

BEG /**/ DAT /*
5 6 7 /* x

end  data
end data
.

begin
 data.
data
end data.

begin data "xxx".
begin data 123.
not data
_ATEOF

cat >expout-base <<'_ATEOF'
identifier      begin    space
identifier      data
end_command     .
newline         \n (data)

identifier      end    space
identifier      data
end_command     .
newline         \n (first)

separate_commands
newline         \n (first)

identifier      begin    space
identifier      data
end_command     .    space
comment         /*
newline         \n (data)

inline_data     123
newline         \n (data)

inline_data     xxx
newline         \n (data)

identifier      end    space
identifier      data
end_command     .
newline         \n (first)

separate_commands
newline         \n (first)

identifier      BEG    space
comment         /**/    space
identifier      DAT    space
comment         /*
newline         \n (data)

inline_data     5_6_7_/*_x
newline         \n (data)

inline_data
newline         \n (data)

inline_data     end__data
newline         \n (data)

identifier      end    space
identifier      data
newline         \n (later)

start_command   .
newline         \n (first)

separate_commands
newline         \n (first)

identifier      begin
newline         \n (later)
    space
identifier      data
end_command     .
newline         \n (data)

inline_data     data
newline         \n (data)

identifier      end    space
identifier      data
end_command     .
newline         \n (first)

separate_commands
newline         \n (first)

identifier      begin    space
identifier      data    space
quoted_string   "xxx"
end_command     .
newline         \n (first)

identifier      begin    space
identifier      data    space
number          123
end_command     .
newline         \n (first)

reserved_word   not    space
identifier      data
-newline         \n (later)
-
end
_ATEOF

for strip in "" "-s"; do
     case $strip in # (
        '') sed 's/^-//' < expout-base > expout ;; # (
	-s) sed '/^-/d' < expout-base > expout ;;
     esac
     { set +x
$as_echo "$at_srcdir/segment.at:867: segment-test -i \$strip input"
at_fn_check_prepare_dynamic "segment-test -i $strip input" "segment.at:867"
( $at_check_trace; segment-test -i $strip input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/segment.at:867"
$at_failed && at_fn_log_failure
$at_traceon; }

     { set +x
$as_echo "$at_srcdir/segment.at:867: segment-test -1 \$strip -i input"
at_fn_check_prepare_dynamic "segment-test -1 $strip -i input" "segment.at:867"
( $at_check_trace; segment-test -1 $strip -i input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/segment.at:867"
$at_failed && at_fn_log_failure
$at_traceon; }

     { set +x
$as_echo "$at_srcdir/segment.at:867: segment-test -0 \$strip -i input"
at_fn_check_prepare_dynamic "segment-test -0 $strip -i input" "segment.at:867"
( $at_check_trace; segment-test -0 $strip -i input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/segment.at:867"
$at_failed && at_fn_log_failure
$at_traceon; }

     { set +x
$as_echo "$at_srcdir/segment.at:867: segment-test -01 \$strip -i input"
at_fn_check_prepare_dynamic "segment-test -01 $strip -i input" "segment.at:867"
( $at_check_trace; segment-test -01 $strip -i input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/segment.at:867"
$at_failed && at_fn_log_failure
$at_traceon; }

   done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_410
#AT_START_411
at_fn_group_banner 411 'segment.at:870' \
  "DO REPEAT command" "                              " 67
at_xfail=no
(
  $as_echo "411. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >input <<'_ATEOF'
do repeat x=a b c
          y=d e f.
  do repeat a=1 thru 5.
another command.
second command
+ third command.
end /* x */ /* y */ repeat print.
end
 repeat.
do
  repeat #a=1.
  inner command.
end repeat.
_ATEOF

cat >expout-base <<'_ATEOF'
identifier      do    space
identifier      repeat    space
identifier      x
punct           =
identifier      a    space
identifier      b    space
identifier      c
newline         \n (later)

spaces          __________
identifier      y
punct           =
identifier      d    space
identifier      e    space
identifier      f
end_command     .
newline         \n (DO REPEAT)

do_repeat_command __do_repeat_a=1_thru_5.
newline         \n (DO REPEAT)

do_repeat_command another_command.
newline         \n (DO REPEAT)

do_repeat_command second_command
newline         \n (DO REPEAT)

do_repeat_command +_third_command.
newline         \n (DO REPEAT)

do_repeat_command end_/*_x_*/_/*_y_*/_repeat_print.
newline         \n (DO REPEAT)

identifier      end
newline         \n (later)
    space
identifier      repeat
end_command     .
newline         \n (first)

identifier      do
newline         \n (later)

spaces          __
identifier      repeat    space
identifier      #a
punct           =
number          1
end_command     .
newline         \n (DO REPEAT)

do_repeat_command __inner_command.
newline         \n (DO REPEAT)

identifier      end    space
identifier      repeat
end_command     .
-newline         \n (first)
-
end
_ATEOF

for strip in "" "-s"; do
     case $strip in # (
        '') sed 's/^-//' < expout-base > expout ;; # (
	-s) sed '/^-/d' < expout-base > expout ;;
     esac
     { set +x
$as_echo "$at_srcdir/segment.at:949: segment-test -i \$strip input"
at_fn_check_prepare_dynamic "segment-test -i $strip input" "segment.at:949"
( $at_check_trace; segment-test -i $strip input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/segment.at:949"
$at_failed && at_fn_log_failure
$at_traceon; }

     { set +x
$as_echo "$at_srcdir/segment.at:949: segment-test -1 \$strip -i input"
at_fn_check_prepare_dynamic "segment-test -1 $strip -i input" "segment.at:949"
( $at_check_trace; segment-test -1 $strip -i input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/segment.at:949"
$at_failed && at_fn_log_failure
$at_traceon; }

     { set +x
$as_echo "$at_srcdir/segment.at:949: segment-test -0 \$strip -i input"
at_fn_check_prepare_dynamic "segment-test -0 $strip -i input" "segment.at:949"
( $at_check_trace; segment-test -0 $strip -i input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/segment.at:949"
$at_failed && at_fn_log_failure
$at_traceon; }

     { set +x
$as_echo "$at_srcdir/segment.at:949: segment-test -01 \$strip -i input"
at_fn_check_prepare_dynamic "segment-test -01 $strip -i input" "segment.at:949"
( $at_check_trace; segment-test -01 $strip -i input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/segment.at:949"
$at_failed && at_fn_log_failure
$at_traceon; }

   done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_411
#AT_START_412
at_fn_group_banner 412 'segment.at:952' \
  "batch mode" "                                     " 67
at_xfail=no
(
  $as_echo "412. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >input <<'_ATEOF'
first command
     another line of first command
+  second command
third command

fourth command.
   fifth command.
_ATEOF

cat >expout-base <<'_ATEOF'
identifier      first    space
identifier      command
newline         \n (later)

spaces          _____
identifier      another    space
identifier      line    space
identifier      of    space
identifier      first    space
identifier      command
newline         \n (later)

start_command   +
spaces          __
identifier      second    space
identifier      command
newline         \n (later)

start_command
identifier      third    space
identifier      command
newline         \n (later)

separate_commands
newline         \n (first)

identifier      fourth    space
identifier      command
end_command     .
newline         \n (first)

spaces          ___
identifier      fifth    space
identifier      command
end_command     .
-newline         \n (first)
-
end
_ATEOF

for strip in "" "-s"; do
     case $strip in # (
        '') sed 's/^-//' < expout-base > expout ;; # (
	-s) sed '/^-/d' < expout-base > expout ;;
     esac
     { set +x
$as_echo "$at_srcdir/segment.at:1003: segment-test -b \$strip input"
at_fn_check_prepare_dynamic "segment-test -b $strip input" "segment.at:1003"
( $at_check_trace; segment-test -b $strip input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/segment.at:1003"
$at_failed && at_fn_log_failure
$at_traceon; }

     { set +x
$as_echo "$at_srcdir/segment.at:1003: segment-test -1 \$strip -b input"
at_fn_check_prepare_dynamic "segment-test -1 $strip -b input" "segment.at:1003"
( $at_check_trace; segment-test -1 $strip -b input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/segment.at:1003"
$at_failed && at_fn_log_failure
$at_traceon; }

     { set +x
$as_echo "$at_srcdir/segment.at:1003: segment-test -0 \$strip -b input"
at_fn_check_prepare_dynamic "segment-test -0 $strip -b input" "segment.at:1003"
( $at_check_trace; segment-test -0 $strip -b input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/segment.at:1003"
$at_failed && at_fn_log_failure
$at_traceon; }

     { set +x
$as_echo "$at_srcdir/segment.at:1003: segment-test -01 \$strip -b input"
at_fn_check_prepare_dynamic "segment-test -01 $strip -b input" "segment.at:1003"
( $at_check_trace; segment-test -01 $strip -b input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/segment.at:1003"
$at_failed && at_fn_log_failure
$at_traceon; }

   done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_412
#AT_START_413
at_fn_group_banner 413 'segment.at:1006' \
  "auto mode" "                                      " 67
at_xfail=no
(
  $as_echo "413. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >input <<'_ATEOF'
command
     another line of command
2sls
+  another command
another line of second command
data list /x 1
aggregate.
print eject.
twostep cluster


fourth command.
   fifth command.
_ATEOF

cat >expout-base <<'_ATEOF'
identifier      command
newline         \n (later)

spaces          _____
identifier      another    space
identifier      line    space
identifier      of    space
identifier      command
newline         \n (later)

start_command
number          2
identifier      sls
newline         \n (later)

start_command   +
spaces          __
identifier      another    space
identifier      command
newline         \n (later)

identifier      another    space
identifier      line    space
identifier      of    space
identifier      second    space
identifier      command
newline         \n (later)

start_command
identifier      data    space
identifier      list    space
punct           /
identifier      x    space
number          1
newline         \n (later)

start_command
identifier      aggregate
end_command     .
newline         \n (first)

identifier      print    space
identifier      eject
end_command     .
newline         \n (first)

identifier      twostep    space
identifier      cluster
newline         \n (later)

separate_commands
newline         \n (first)

separate_commands
newline         \n (first)

identifier      fourth    space
identifier      command
end_command     .
newline         \n (first)

spaces          ___
identifier      fifth    space
identifier      command
end_command     .
-newline         \n (first)
-
end
_ATEOF

for strip in "" "-s"; do
     case $strip in # (
        '') sed 's/^-//' < expout-base > expout ;; # (
	-s) sed '/^-/d' < expout-base > expout ;;
     esac
     { set +x
$as_echo "$at_srcdir/segment.at:1093: segment-test -a \$strip input"
at_fn_check_prepare_dynamic "segment-test -a $strip input" "segment.at:1093"
( $at_check_trace; segment-test -a $strip input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/segment.at:1093"
$at_failed && at_fn_log_failure
$at_traceon; }

     { set +x
$as_echo "$at_srcdir/segment.at:1093: segment-test -1 \$strip -a input"
at_fn_check_prepare_dynamic "segment-test -1 $strip -a input" "segment.at:1093"
( $at_check_trace; segment-test -1 $strip -a input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/segment.at:1093"
$at_failed && at_fn_log_failure
$at_traceon; }

     { set +x
$as_echo "$at_srcdir/segment.at:1093: segment-test -0 \$strip -a input"
at_fn_check_prepare_dynamic "segment-test -0 $strip -a input" "segment.at:1093"
( $at_check_trace; segment-test -0 $strip -a input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/segment.at:1093"
$at_failed && at_fn_log_failure
$at_traceon; }

     { set +x
$as_echo "$at_srcdir/segment.at:1093: segment-test -01 \$strip -a input"
at_fn_check_prepare_dynamic "segment-test -01 $strip -a input" "segment.at:1093"
( $at_check_trace; segment-test -01 $strip -a input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/segment.at:1093"
$at_failed && at_fn_log_failure
$at_traceon; }

   done
  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_413
#AT_START_414
at_fn_group_banner 414 'variable-parser.at:22' \
  "Long variable names" "                            " 68
at_xfail=no
(
  $as_echo "414. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >longvars.sps <<'_ATEOF'
DATA LIST LIST /AlphaBetaGamma * B * X * Yabbadabbadoo * .
BEGIN DATA.
2 3 4 5
END DATA.

LIST.

CROSSTABS
	VARIABLES X (1,7) Yabbadabbadoo (1,7)
	/TABLES X BY Yabbadabbadoo.
_ATEOF

{ set +x
$as_echo "$at_srcdir/variable-parser.at:35: pspp -o pspp.csv longvars.sps"
at_fn_check_prepare_trace "variable-parser.at:35"
( $at_check_trace; pspp -o pspp.csv longvars.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/variable-parser.at:35"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/variable-parser.at:36: cat pspp.csv"
at_fn_check_prepare_trace "variable-parser.at:36"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Reading free-form data from INLINE.
Variable,Format
AlphaBetaGamma,F8.0
B,F8.0
X,F8.0
Yabbadabbadoo,F8.0

Table: Data List
AlphaBetaGamma,B,X,Yabbadabbadoo
2.00,3.00,4.00,5.00

Table: Summary.
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
X * Yabbadabbadoo,1,100.0%,0,0.0%,1,100.0%

Table: X * Yabbadabbadoo [count].
,Yabbadabbadoo,,,,,,,
X,1.00,2.00,3.00,4.00,5.00,6.00,7.00,Total
1.00,.00,.00,.00,.00,.00,.00,.00,.00
2.00,.00,.00,.00,.00,.00,.00,.00,.00
3.00,.00,.00,.00,.00,.00,.00,.00,.00
4.00,.00,.00,.00,.00,1.00,.00,.00,1.00
5.00,.00,.00,.00,.00,.00,.00,.00,.00
6.00,.00,.00,.00,.00,.00,.00,.00,.00
7.00,.00,.00,.00,.00,.00,.00,.00,.00
Total,.00,.00,.00,.00,1.00,.00,.00,1.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/variable-parser.at:36"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_414
#AT_START_415
at_fn_group_banner 415 'aggregate.at:177' \
  "AGGREGATE presorted data to dataset file, itemwise missing" "" 69
at_xfail=no
(
  $as_echo "415. $at_setup_line: testing $at_desc ..."
  $at_traceon

  cat >aggregate.data <<'_ATEOF'
2 42
1001
4 41
3112
1112
2661
1221
2771
1331
1441
2881
1551
_ATEOF

  cat >aggregate.sps <<'_ATEOF'
DATA LIST NOTABLE FILE='aggregate.data' /G N 1-2 S 3(a) W 4.
WEIGHT BY w.
MISSING VALUES n(4) s('4').
DATASET DECLARE aggregate.
SORT CASES BY g.
AGGREGATE outfile=aggregate /PRESORTED
	/DOCUMENT
	/BREAK=g
	/N = n
	/NI = n./
	NU = nu
	/NUI = nu./
	NFGT2 = fgt(n, 2)
	/NFGT2I = fgt.(n, 2)
	/SFGT2 = fgt(s, '2')
	/SFGT2I = fgt.(s, '2')
	/NFIN23 = fin(n, 2, 3)
	/NFIN23I = fin.(n, 2, 3)
	/SFIN23 = fin(s, '2', '3')
	/SFIN23I = fin.(s, '2', '3')
	/NFLT2 = flt(n, 2)
	/NFLT2I = flt.(n, 2)
	/SFLT2 = flt(s, '2')
	/SFLT2I = flt.(s, '2')
	/NFIRST = first(n)
	/NFIRSTI = first.(n)
	/SFIRST = first(s)
	/SFIRSTI = first.(s)
	/NFOUT23 = fout(n, 3, 2)
	/NFOUT23I = fout.(n, 3, 2)
	/SFOUT23 = fout(s, '3', '2')
	/SFOUT23I = fout.(s, '3', '2')
	/NLAST = last(n)
	/NLASTI = last.(n)
	/SLAST = last(s)
	/SLASTI = last.(s)
	/NMAX = max(n)
	/NMAXI = max.(n)
	/SMAX = max(s)
	/SMAXI = max.(s)
	/NMEAN = mean(n)
	/NMEANI = mean.(n)
	/NMIN = min(n)
	/NMINI = min.(n)
	/SMIN = min(s)
	/SMINI = min.(s)
	/NN = n(n)
	/NNI = n.(n)
	/SN = n(s)
	/SNI = n.(s)
	/NNMISS = nmiss(n)
	/NNMISSI = nmiss.(n)
	/SNMISS = nmiss(s)
	/SNMISSI = nmiss.(s)
	/NNU = nu(n)
	/NNUI = nu.(n)
	/SNU = nu(s)
	/SNUI = nu.(s)
	/NNUMISS = numiss(n)
	/NNUMISSI = numiss.(n)
	/SNUMISS = numiss(s)
	/SNUMISSI = numiss.(s)
	/NPGT2 = pgt(n, 2)
	/NPGT2I = pgt.(n, 2)
	/SPGT2 = pgt(s, '2')
	/SPGT2I = pgt.(s, '2')
	/NPIN23 = pin(n, 2, 3)
	/NPIN23I = pin.(n, 2, 3)
	/SPIN23 = pin(s, '2', '3')
	/SPIN23I = pin.(s, '2', '3')
	/NPLT2 = plt(n, 2)
	/NPLT2I = plt.(n, 2)
	/SPLT2 = plt(s, '2')
	/SPLT2I = plt.(s, '2')
	/NPOUT23 = pout(n, 2, 3)
	/NPOUT23I = pout.(n, 2, 3)
	/SPOUT23 = pout(s, '2', '3')
	/SPOUT23I = pout.(s, '2', '3')
	/NMEDIAN = median(n)
	/NMEDIANI = median.(n)
	/NSD = sd(n)
	/NSDI = sd.(n)
	/NSUM = sum(n)
	/NSUMI = sum.(n).
DATASET ACTIVATE aggregate.
LIST.
_ATEOF

  { set +x
$as_echo "$at_srcdir/aggregate.at:177: pspp -O format=csv aggregate.sps"
at_fn_check_prepare_trace "aggregate.at:177"
( $at_check_trace; pspp -O format=csv aggregate.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; tee stdout <"$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/aggregate.at:177"
$at_failed && at_fn_log_failure
$at_traceon; }

  { set +x
$as_echo "$at_srcdir/aggregate.at:177: sed 's/^[^:]*:[0-9]*: //' < stdout"
at_fn_check_prepare_trace "aggregate.at:177"
( $at_check_trace; sed 's/^[^:]*:[0-9]*: //' < stdout
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "warning: AGGREGATE: The value arguments passed to the FOUT function are out-of-order.  They will be treated as if they had been specified in the correct order.

warning: AGGREGATE: The value arguments passed to the FOUT function are out-of-order.  They will be treated as if they had been specified in the correct order.

warning: AGGREGATE: The value arguments passed to the FOUT function are out-of-order.  They will be treated as if they had been specified in the correct order.

warning: AGGREGATE: The value arguments passed to the FOUT function are out-of-order.  They will be treated as if they had been specified in the correct order.

Table: Data List
G,N,NI,NU,NUI,NFGT2,NFGT2I,SFGT2,SFGT2I,NFIN23,NFIN23I,SFIN23,SFIN23I,NFLT2,NFLT2I,SFLT2,SFLT2I,NFIRST,NFIRSTI,SFIRST,SFIRSTI,NFOUT23,NFOUT23I,SFOUT23,SFOUT23I,NLAST,NLASTI,SLAST,SLASTI,NMAX,NMAXI,SMAX,SMAXI,NMEAN,NMEANI,NMIN,NMINI,SMIN,SMINI,NN,NNI,SN,SNI,NNMISS,NNMISSI,SNMISS,SNMISSI,NNU,NNUI,SNU,SNUI,NNUMISS,NNUMISSI,SNUMISS,SNUMISSI,NPGT2,NPGT2I,SPGT2,SPGT2I,NPIN23,NPIN23I,SPIN23,SPIN23I,NPLT2,NPLT2I,SPLT2,SPLT2I,NPOUT23,NPOUT23I,SPOUT23,SPOUT23I,NMEDIAN,NMEDIANI,NSD,NSDI,NSUM,NSUMI
1,7.00,7.00,6,6,.333,.429,.333,.429,.333,.286,.333,.286,.500,.429,.500,.429,0,0,0,0,.667,.714,.667,.714,5,5,5,5,5,5,5,5,2.00,2.29,0,0,0,0,6.00,7.00,6.00,7.00,1.00,.00,1.00,.00,5,6,5,6,1,0,1,0,33.3,42.9,33.3,42.9,33.3,28.6,33.3,28.6,50.0,42.9,50.0,42.9,66.7,71.4,66.7,71.4,1.50,2.00,1.79,1.80,12.00,16.00
2,5.00,5.00,4,4,1.000,1.000,1.000,1.000,.000,.000,.000,.000,.000,.000,.000,.000,6,6,6,4,1.000,1.000,1.000,1.000,8,8,8,8,8,8,8,8,7.00,7.00,6,6,6,4,3.00,3.00,3.00,5.00,2.00,2.00,2.00,.00,3,3,3,4,1,1,1,0,100.0,100.0,100.0,100.0,.0,.0,.0,.0,.0,.0,.0,.0,100.0,100.0,100.0,100.0,7.00,7.00,1.00,1.00,21.00,21.00
3,2.00,2.00,1,1,.000,.000,.000,.000,.000,.000,.000,.000,1.000,1.000,1.000,1.000,1,1,1,1,1.000,1.000,1.000,1.000,1,1,1,1,1,1,1,1,1.00,1.00,1,1,1,1,2.00,2.00,2.00,2.00,.00,.00,.00,.00,1,1,1,1,0,0,0,0,.0,.0,.0,.0,.0,.0,.0,.0,100.0,100.0,100.0,100.0,100.0,100.0,100.0,100.0,1.00,1.00,.00,.00,2.00,2.00
4,1.00,1.00,1,1,.   ,.   ,.   ,1.000,.   ,.   ,.   ,.000,.   ,.   ,.   ,.000,.,.,,4,.   ,.   ,.   ,1.000,.,.,,4,.,.,,4,.  ,.  ,.,.,,4,.00,.00,.00,1.00,1.00,1.00,1.00,.00,0,0,0,1,1,1,1,0,. ,. ,. ,100.0,. ,. ,. ,.0,. ,. ,. ,.0,. ,. ,. ,100.0,NaN,NaN,.  ,.  ,.  ,.  
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/aggregate.at:177"
$at_failed && at_fn_log_failure
$at_traceon; }

    set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_415
#AT_START_416
at_fn_group_banner 416 'aggregate.at:178' \
  "AGGREGATE presorted data to dataset file, columnwise missing" "" 69
at_xfail=no
(
  $as_echo "416. $at_setup_line: testing $at_desc ..."
  $at_traceon

  cat >aggregate.data <<'_ATEOF'
2 42
1001
4 41
3112
1112
2661
1221
2771
1331
1441
2881
1551
_ATEOF

  cat >aggregate.sps <<'_ATEOF'
DATA LIST NOTABLE FILE='aggregate.data' /G N 1-2 S 3(a) W 4.
WEIGHT BY w.
MISSING VALUES n(4) s('4').
DATASET DECLARE aggregate.
SORT CASES BY g.
AGGREGATE outfile=aggregate /PRESORTED /MISSING=COLUMNWISE
	/DOCUMENT
	/BREAK=g
	/N = n
	/NI = n./
	NU = nu
	/NUI = nu./
	NFGT2 = fgt(n, 2)
	/NFGT2I = fgt.(n, 2)
	/SFGT2 = fgt(s, '2')
	/SFGT2I = fgt.(s, '2')
	/NFIN23 = fin(n, 2, 3)
	/NFIN23I = fin.(n, 2, 3)
	/SFIN23 = fin(s, '2', '3')
	/SFIN23I = fin.(s, '2', '3')
	/NFLT2 = flt(n, 2)
	/NFLT2I = flt.(n, 2)
	/SFLT2 = flt(s, '2')
	/SFLT2I = flt.(s, '2')
	/NFIRST = first(n)
	/NFIRSTI = first.(n)
	/SFIRST = first(s)
	/SFIRSTI = first.(s)
	/NFOUT23 = fout(n, 3, 2)
	/NFOUT23I = fout.(n, 3, 2)
	/SFOUT23 = fout(s, '3', '2')
	/SFOUT23I = fout.(s, '3', '2')
	/NLAST = last(n)
	/NLASTI = last.(n)
	/SLAST = last(s)
	/SLASTI = last.(s)
	/NMAX = max(n)
	/NMAXI = max.(n)
	/SMAX = max(s)
	/SMAXI = max.(s)
	/NMEAN = mean(n)
	/NMEANI = mean.(n)
	/NMIN = min(n)
	/NMINI = min.(n)
	/SMIN = min(s)
	/SMINI = min.(s)
	/NN = n(n)
	/NNI = n.(n)
	/SN = n(s)
	/SNI = n.(s)
	/NNMISS = nmiss(n)
	/NNMISSI = nmiss.(n)
	/SNMISS = nmiss(s)
	/SNMISSI = nmiss.(s)
	/NNU = nu(n)
	/NNUI = nu.(n)
	/SNU = nu(s)
	/SNUI = nu.(s)
	/NNUMISS = numiss(n)
	/NNUMISSI = numiss.(n)
	/SNUMISS = numiss(s)
	/SNUMISSI = numiss.(s)
	/NPGT2 = pgt(n, 2)
	/NPGT2I = pgt.(n, 2)
	/SPGT2 = pgt(s, '2')
	/SPGT2I = pgt.(s, '2')
	/NPIN23 = pin(n, 2, 3)
	/NPIN23I = pin.(n, 2, 3)
	/SPIN23 = pin(s, '2', '3')
	/SPIN23I = pin.(s, '2', '3')
	/NPLT2 = plt(n, 2)
	/NPLT2I = plt.(n, 2)
	/SPLT2 = plt(s, '2')
	/SPLT2I = plt.(s, '2')
	/NPOUT23 = pout(n, 2, 3)
	/NPOUT23I = pout.(n, 2, 3)
	/SPOUT23 = pout(s, '2', '3')
	/SPOUT23I = pout.(s, '2', '3')
	/NMEDIAN = median(n)
	/NMEDIANI = median.(n)
	/NSD = sd(n)
	/NSDI = sd.(n)
	/NSUM = sum(n)
	/NSUMI = sum.(n).
DATASET ACTIVATE aggregate.
LIST.
_ATEOF

  { set +x
$as_echo "$at_srcdir/aggregate.at:178: pspp -O format=csv aggregate.sps"
at_fn_check_prepare_trace "aggregate.at:178"
( $at_check_trace; pspp -O format=csv aggregate.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; tee stdout <"$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/aggregate.at:178"
$at_failed && at_fn_log_failure
$at_traceon; }

  { set +x
$as_echo "$at_srcdir/aggregate.at:178: sed 's/^[^:]*:[0-9]*: //' < stdout"
at_fn_check_prepare_trace "aggregate.at:178"
( $at_check_trace; sed 's/^[^:]*:[0-9]*: //' < stdout
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "warning: AGGREGATE: The value arguments passed to the FOUT function are out-of-order.  They will be treated as if they had been specified in the correct order.

warning: AGGREGATE: The value arguments passed to the FOUT function are out-of-order.  They will be treated as if they had been specified in the correct order.

warning: AGGREGATE: The value arguments passed to the FOUT function are out-of-order.  They will be treated as if they had been specified in the correct order.

warning: AGGREGATE: The value arguments passed to the FOUT function are out-of-order.  They will be treated as if they had been specified in the correct order.

Table: Data List
G,N,NI,NU,NUI,NFGT2,NFGT2I,SFGT2,SFGT2I,NFIN23,NFIN23I,SFIN23,SFIN23I,NFLT2,NFLT2I,SFLT2,SFLT2I,NFIRST,NFIRSTI,SFIRST,SFIRSTI,NFOUT23,NFOUT23I,SFOUT23,SFOUT23I,NLAST,NLASTI,SLAST,SLASTI,NMAX,NMAXI,SMAX,SMAXI,NMEAN,NMEANI,NMIN,NMINI,SMIN,SMINI,NN,NNI,SN,SNI,NNMISS,NNMISSI,SNMISS,SNMISSI,NNU,NNUI,SNU,SNUI,NNUMISS,NNUMISSI,SNUMISS,SNUMISSI,NPGT2,NPGT2I,SPGT2,SPGT2I,NPIN23,NPIN23I,SPIN23,SPIN23I,NPLT2,NPLT2I,SPLT2,SPLT2I,NPOUT23,NPOUT23I,SPOUT23,SPOUT23I,NMEDIAN,NMEDIANI,NSD,NSDI,NSUM,NSUMI
1,7.00,7.00,6,6,.   ,.429,.   ,.429,.   ,.286,.   ,.286,.   ,.429,.   ,.429,.,0,,0,.   ,.714,.   ,.714,.,5,,5,.,5,,5,.  ,2.29,.,0,,0,6.00,7.00,6.00,7.00,1.00,.00,1.00,.00,5,6,5,6,1,0,1,0,. ,42.9,. ,42.9,. ,28.6,. ,28.6,. ,42.9,. ,42.9,. ,71.4,. ,71.4,.  ,2.00,.  ,1.80,.  ,16.00
2,5.00,5.00,4,4,.   ,.   ,.   ,1.000,.   ,.   ,.   ,.000,.   ,.   ,.   ,.000,.,.,,4,.   ,.   ,.   ,1.000,.,.,,8,.,.,,8,.  ,.  ,.,.,,4,3.00,3.00,3.00,5.00,2.00,2.00,2.00,.00,3,3,3,4,1,1,1,0,. ,. ,. ,100.0,. ,. ,. ,.0,. ,. ,. ,.0,. ,. ,. ,100.0,.  ,.  ,.  ,.  ,.  ,.  
3,2.00,2.00,1,1,.000,.000,.000,.000,.000,.000,.000,.000,1.000,1.000,1.000,1.000,1,1,1,1,1.000,1.000,1.000,1.000,1,1,1,1,1,1,1,1,1.00,1.00,1,1,1,1,2.00,2.00,2.00,2.00,.00,.00,.00,.00,1,1,1,1,0,0,0,0,.0,.0,.0,.0,.0,.0,.0,.0,100.0,100.0,100.0,100.0,100.0,100.0,100.0,100.0,1.00,1.00,.00,.00,2.00,2.00
4,1.00,1.00,1,1,.   ,.   ,.   ,1.000,.   ,.   ,.   ,.000,.   ,.   ,.   ,.000,.,.,,4,.   ,.   ,.   ,1.000,.,.,,4,.,.,,4,.  ,.  ,.,.,,4,.00,.00,.00,1.00,1.00,1.00,1.00,.00,0,0,0,1,1,1,1,0,. ,. ,. ,100.0,. ,. ,. ,.0,. ,. ,. ,.0,. ,. ,. ,100.0,.  ,.  ,.  ,.  ,.  ,.  
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/aggregate.at:178"
$at_failed && at_fn_log_failure
$at_traceon; }

    set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_416
#AT_START_417
at_fn_group_banner 417 'aggregate.at:179' \
  "AGGREGATE unsorted data to dataset file, itemwise missing" "" 69
at_xfail=no
(
  $as_echo "417. $at_setup_line: testing $at_desc ..."
  $at_traceon

  cat >aggregate.data <<'_ATEOF'
2 42
1001
4 41
3112
1112
2661
1221
2771
1331
1441
2881
1551
_ATEOF

  cat >aggregate.sps <<'_ATEOF'
DATA LIST NOTABLE FILE='aggregate.data' /G N 1-2 S 3(a) W 4.
WEIGHT BY w.
MISSING VALUES n(4) s('4').
DATASET DECLARE aggregate.

AGGREGATE outfile=aggregate
	/DOCUMENT
	/BREAK=g
	/N = n
	/NI = n./
	NU = nu
	/NUI = nu./
	NFGT2 = fgt(n, 2)
	/NFGT2I = fgt.(n, 2)
	/SFGT2 = fgt(s, '2')
	/SFGT2I = fgt.(s, '2')
	/NFIN23 = fin(n, 2, 3)
	/NFIN23I = fin.(n, 2, 3)
	/SFIN23 = fin(s, '2', '3')
	/SFIN23I = fin.(s, '2', '3')
	/NFLT2 = flt(n, 2)
	/NFLT2I = flt.(n, 2)
	/SFLT2 = flt(s, '2')
	/SFLT2I = flt.(s, '2')
	/NFIRST = first(n)
	/NFIRSTI = first.(n)
	/SFIRST = first(s)
	/SFIRSTI = first.(s)
	/NFOUT23 = fout(n, 3, 2)
	/NFOUT23I = fout.(n, 3, 2)
	/SFOUT23 = fout(s, '3', '2')
	/SFOUT23I = fout.(s, '3', '2')
	/NLAST = last(n)
	/NLASTI = last.(n)
	/SLAST = last(s)
	/SLASTI = last.(s)
	/NMAX = max(n)
	/NMAXI = max.(n)
	/SMAX = max(s)
	/SMAXI = max.(s)
	/NMEAN = mean(n)
	/NMEANI = mean.(n)
	/NMIN = min(n)
	/NMINI = min.(n)
	/SMIN = min(s)
	/SMINI = min.(s)
	/NN = n(n)
	/NNI = n.(n)
	/SN = n(s)
	/SNI = n.(s)
	/NNMISS = nmiss(n)
	/NNMISSI = nmiss.(n)
	/SNMISS = nmiss(s)
	/SNMISSI = nmiss.(s)
	/NNU = nu(n)
	/NNUI = nu.(n)
	/SNU = nu(s)
	/SNUI = nu.(s)
	/NNUMISS = numiss(n)
	/NNUMISSI = numiss.(n)
	/SNUMISS = numiss(s)
	/SNUMISSI = numiss.(s)
	/NPGT2 = pgt(n, 2)
	/NPGT2I = pgt.(n, 2)
	/SPGT2 = pgt(s, '2')
	/SPGT2I = pgt.(s, '2')
	/NPIN23 = pin(n, 2, 3)
	/NPIN23I = pin.(n, 2, 3)
	/SPIN23 = pin(s, '2', '3')
	/SPIN23I = pin.(s, '2', '3')
	/NPLT2 = plt(n, 2)
	/NPLT2I = plt.(n, 2)
	/SPLT2 = plt(s, '2')
	/SPLT2I = plt.(s, '2')
	/NPOUT23 = pout(n, 2, 3)
	/NPOUT23I = pout.(n, 2, 3)
	/SPOUT23 = pout(s, '2', '3')
	/SPOUT23I = pout.(s, '2', '3')
	/NMEDIAN = median(n)
	/NMEDIANI = median.(n)
	/NSD = sd(n)
	/NSDI = sd.(n)
	/NSUM = sum(n)
	/NSUMI = sum.(n).
DATASET ACTIVATE aggregate.
LIST.
_ATEOF

  { set +x
$as_echo "$at_srcdir/aggregate.at:179: pspp -O format=csv aggregate.sps"
at_fn_check_prepare_trace "aggregate.at:179"
( $at_check_trace; pspp -O format=csv aggregate.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; tee stdout <"$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/aggregate.at:179"
$at_failed && at_fn_log_failure
$at_traceon; }

  { set +x
$as_echo "$at_srcdir/aggregate.at:179: sed 's/^[^:]*:[0-9]*: //' < stdout"
at_fn_check_prepare_trace "aggregate.at:179"
( $at_check_trace; sed 's/^[^:]*:[0-9]*: //' < stdout
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "warning: AGGREGATE: The value arguments passed to the FOUT function are out-of-order.  They will be treated as if they had been specified in the correct order.

warning: AGGREGATE: The value arguments passed to the FOUT function are out-of-order.  They will be treated as if they had been specified in the correct order.

warning: AGGREGATE: The value arguments passed to the FOUT function are out-of-order.  They will be treated as if they had been specified in the correct order.

warning: AGGREGATE: The value arguments passed to the FOUT function are out-of-order.  They will be treated as if they had been specified in the correct order.

Table: Data List
G,N,NI,NU,NUI,NFGT2,NFGT2I,SFGT2,SFGT2I,NFIN23,NFIN23I,SFIN23,SFIN23I,NFLT2,NFLT2I,SFLT2,SFLT2I,NFIRST,NFIRSTI,SFIRST,SFIRSTI,NFOUT23,NFOUT23I,SFOUT23,SFOUT23I,NLAST,NLASTI,SLAST,SLASTI,NMAX,NMAXI,SMAX,SMAXI,NMEAN,NMEANI,NMIN,NMINI,SMIN,SMINI,NN,NNI,SN,SNI,NNMISS,NNMISSI,SNMISS,SNMISSI,NNU,NNUI,SNU,SNUI,NNUMISS,NNUMISSI,SNUMISS,SNUMISSI,NPGT2,NPGT2I,SPGT2,SPGT2I,NPIN23,NPIN23I,SPIN23,SPIN23I,NPLT2,NPLT2I,SPLT2,SPLT2I,NPOUT23,NPOUT23I,SPOUT23,SPOUT23I,NMEDIAN,NMEDIANI,NSD,NSDI,NSUM,NSUMI
1,7.00,7.00,6,6,.333,.429,.333,.429,.333,.286,.333,.286,.500,.429,.500,.429,0,0,0,0,.667,.714,.667,.714,5,5,5,5,5,5,5,5,2.00,2.29,0,0,0,0,6.00,7.00,6.00,7.00,1.00,.00,1.00,.00,5,6,5,6,1,0,1,0,33.3,42.9,33.3,42.9,33.3,28.6,33.3,28.6,50.0,42.9,50.0,42.9,66.7,71.4,66.7,71.4,1.50,2.00,1.79,1.80,12.00,16.00
2,5.00,5.00,4,4,1.000,1.000,1.000,1.000,.000,.000,.000,.000,.000,.000,.000,.000,6,6,6,4,1.000,1.000,1.000,1.000,8,8,8,8,8,8,8,8,7.00,7.00,6,6,6,4,3.00,3.00,3.00,5.00,2.00,2.00,2.00,.00,3,3,3,4,1,1,1,0,100.0,100.0,100.0,100.0,.0,.0,.0,.0,.0,.0,.0,.0,100.0,100.0,100.0,100.0,7.00,7.00,1.00,1.00,21.00,21.00
3,2.00,2.00,1,1,.000,.000,.000,.000,.000,.000,.000,.000,1.000,1.000,1.000,1.000,1,1,1,1,1.000,1.000,1.000,1.000,1,1,1,1,1,1,1,1,1.00,1.00,1,1,1,1,2.00,2.00,2.00,2.00,.00,.00,.00,.00,1,1,1,1,0,0,0,0,.0,.0,.0,.0,.0,.0,.0,.0,100.0,100.0,100.0,100.0,100.0,100.0,100.0,100.0,1.00,1.00,.00,.00,2.00,2.00
4,1.00,1.00,1,1,.   ,.   ,.   ,1.000,.   ,.   ,.   ,.000,.   ,.   ,.   ,.000,.,.,,4,.   ,.   ,.   ,1.000,.,.,,4,.,.,,4,.  ,.  ,.,.,,4,.00,.00,.00,1.00,1.00,1.00,1.00,.00,0,0,0,1,1,1,1,0,. ,. ,. ,100.0,. ,. ,. ,.0,. ,. ,. ,.0,. ,. ,. ,100.0,NaN,NaN,.  ,.  ,.  ,.  
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/aggregate.at:179"
$at_failed && at_fn_log_failure
$at_traceon; }

    set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_417
#AT_START_418
at_fn_group_banner 418 'aggregate.at:180' \
  "AGGREGATE unsorted data to dataset file, columnwise missing" "" 69
at_xfail=no
(
  $as_echo "418. $at_setup_line: testing $at_desc ..."
  $at_traceon

  cat >aggregate.data <<'_ATEOF'
2 42
1001
4 41
3112
1112
2661
1221
2771
1331
1441
2881
1551
_ATEOF

  cat >aggregate.sps <<'_ATEOF'
DATA LIST NOTABLE FILE='aggregate.data' /G N 1-2 S 3(a) W 4.
WEIGHT BY w.
MISSING VALUES n(4) s('4').
DATASET DECLARE aggregate.

AGGREGATE outfile=aggregate  /MISSING=COLUMNWISE
	/DOCUMENT
	/BREAK=g
	/N = n
	/NI = n./
	NU = nu
	/NUI = nu./
	NFGT2 = fgt(n, 2)
	/NFGT2I = fgt.(n, 2)
	/SFGT2 = fgt(s, '2')
	/SFGT2I = fgt.(s, '2')
	/NFIN23 = fin(n, 2, 3)
	/NFIN23I = fin.(n, 2, 3)
	/SFIN23 = fin(s, '2', '3')
	/SFIN23I = fin.(s, '2', '3')
	/NFLT2 = flt(n, 2)
	/NFLT2I = flt.(n, 2)
	/SFLT2 = flt(s, '2')
	/SFLT2I = flt.(s, '2')
	/NFIRST = first(n)
	/NFIRSTI = first.(n)
	/SFIRST = first(s)
	/SFIRSTI = first.(s)
	/NFOUT23 = fout(n, 3, 2)
	/NFOUT23I = fout.(n, 3, 2)
	/SFOUT23 = fout(s, '3', '2')
	/SFOUT23I = fout.(s, '3', '2')
	/NLAST = last(n)
	/NLASTI = last.(n)
	/SLAST = last(s)
	/SLASTI = last.(s)
	/NMAX = max(n)
	/NMAXI = max.(n)
	/SMAX = max(s)
	/SMAXI = max.(s)
	/NMEAN = mean(n)
	/NMEANI = mean.(n)
	/NMIN = min(n)
	/NMINI = min.(n)
	/SMIN = min(s)
	/SMINI = min.(s)
	/NN = n(n)
	/NNI = n.(n)
	/SN = n(s)
	/SNI = n.(s)
	/NNMISS = nmiss(n)
	/NNMISSI = nmiss.(n)
	/SNMISS = nmiss(s)
	/SNMISSI = nmiss.(s)
	/NNU = nu(n)
	/NNUI = nu.(n)
	/SNU = nu(s)
	/SNUI = nu.(s)
	/NNUMISS = numiss(n)
	/NNUMISSI = numiss.(n)
	/SNUMISS = numiss(s)
	/SNUMISSI = numiss.(s)
	/NPGT2 = pgt(n, 2)
	/NPGT2I = pgt.(n, 2)
	/SPGT2 = pgt(s, '2')
	/SPGT2I = pgt.(s, '2')
	/NPIN23 = pin(n, 2, 3)
	/NPIN23I = pin.(n, 2, 3)
	/SPIN23 = pin(s, '2', '3')
	/SPIN23I = pin.(s, '2', '3')
	/NPLT2 = plt(n, 2)
	/NPLT2I = plt.(n, 2)
	/SPLT2 = plt(s, '2')
	/SPLT2I = plt.(s, '2')
	/NPOUT23 = pout(n, 2, 3)
	/NPOUT23I = pout.(n, 2, 3)
	/SPOUT23 = pout(s, '2', '3')
	/SPOUT23I = pout.(s, '2', '3')
	/NMEDIAN = median(n)
	/NMEDIANI = median.(n)
	/NSD = sd(n)
	/NSDI = sd.(n)
	/NSUM = sum(n)
	/NSUMI = sum.(n).
DATASET ACTIVATE aggregate.
LIST.
_ATEOF

  { set +x
$as_echo "$at_srcdir/aggregate.at:180: pspp -O format=csv aggregate.sps"
at_fn_check_prepare_trace "aggregate.at:180"
( $at_check_trace; pspp -O format=csv aggregate.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; tee stdout <"$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/aggregate.at:180"
$at_failed && at_fn_log_failure
$at_traceon; }

  { set +x
$as_echo "$at_srcdir/aggregate.at:180: sed 's/^[^:]*:[0-9]*: //' < stdout"
at_fn_check_prepare_trace "aggregate.at:180"
( $at_check_trace; sed 's/^[^:]*:[0-9]*: //' < stdout
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "warning: AGGREGATE: The value arguments passed to the FOUT function are out-of-order.  They will be treated as if they had been specified in the correct order.

warning: AGGREGATE: The value arguments passed to the FOUT function are out-of-order.  They will be treated as if they had been specified in the correct order.

warning: AGGREGATE: The value arguments passed to the FOUT function are out-of-order.  They will be treated as if they had been specified in the correct order.

warning: AGGREGATE: The value arguments passed to the FOUT function are out-of-order.  They will be treated as if they had been specified in the correct order.

Table: Data List
G,N,NI,NU,NUI,NFGT2,NFGT2I,SFGT2,SFGT2I,NFIN23,NFIN23I,SFIN23,SFIN23I,NFLT2,NFLT2I,SFLT2,SFLT2I,NFIRST,NFIRSTI,SFIRST,SFIRSTI,NFOUT23,NFOUT23I,SFOUT23,SFOUT23I,NLAST,NLASTI,SLAST,SLASTI,NMAX,NMAXI,SMAX,SMAXI,NMEAN,NMEANI,NMIN,NMINI,SMIN,SMINI,NN,NNI,SN,SNI,NNMISS,NNMISSI,SNMISS,SNMISSI,NNU,NNUI,SNU,SNUI,NNUMISS,NNUMISSI,SNUMISS,SNUMISSI,NPGT2,NPGT2I,SPGT2,SPGT2I,NPIN23,NPIN23I,SPIN23,SPIN23I,NPLT2,NPLT2I,SPLT2,SPLT2I,NPOUT23,NPOUT23I,SPOUT23,SPOUT23I,NMEDIAN,NMEDIANI,NSD,NSDI,NSUM,NSUMI
1,7.00,7.00,6,6,.   ,.429,.   ,.429,.   ,.286,.   ,.286,.   ,.429,.   ,.429,.,0,,0,.   ,.714,.   ,.714,.,5,,5,.,5,,5,.  ,2.29,.,0,,0,6.00,7.00,6.00,7.00,1.00,.00,1.00,.00,5,6,5,6,1,0,1,0,. ,42.9,. ,42.9,. ,28.6,. ,28.6,. ,42.9,. ,42.9,. ,71.4,. ,71.4,.  ,2.00,.  ,1.80,.  ,16.00
2,5.00,5.00,4,4,.   ,.   ,.   ,1.000,.   ,.   ,.   ,.000,.   ,.   ,.   ,.000,.,.,,4,.   ,.   ,.   ,1.000,.,.,,8,.,.,,8,.  ,.  ,.,.,,4,3.00,3.00,3.00,5.00,2.00,2.00,2.00,.00,3,3,3,4,1,1,1,0,. ,. ,. ,100.0,. ,. ,. ,.0,. ,. ,. ,.0,. ,. ,. ,100.0,.  ,.  ,.  ,.  ,.  ,.  
3,2.00,2.00,1,1,.000,.000,.000,.000,.000,.000,.000,.000,1.000,1.000,1.000,1.000,1,1,1,1,1.000,1.000,1.000,1.000,1,1,1,1,1,1,1,1,1.00,1.00,1,1,1,1,2.00,2.00,2.00,2.00,.00,.00,.00,.00,1,1,1,1,0,0,0,0,.0,.0,.0,.0,.0,.0,.0,.0,100.0,100.0,100.0,100.0,100.0,100.0,100.0,100.0,1.00,1.00,.00,.00,2.00,2.00
4,1.00,1.00,1,1,.   ,.   ,.   ,1.000,.   ,.   ,.   ,.000,.   ,.   ,.   ,.000,.,.,,4,.   ,.   ,.   ,1.000,.,.,,4,.,.,,4,.  ,.  ,.,.,,4,.00,.00,.00,1.00,1.00,1.00,1.00,.00,0,0,0,1,1,1,1,0,. ,. ,. ,100.0,. ,. ,. ,.0,. ,. ,. ,.0,. ,. ,. ,100.0,.  ,.  ,.  ,.  ,.  ,.  
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/aggregate.at:180"
$at_failed && at_fn_log_failure
$at_traceon; }

    set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_418
#AT_START_419
at_fn_group_banner 419 'aggregate.at:181' \
  "AGGREGATE presorted data to active file, itemwise missing" "" 69
at_xfail=no
(
  $as_echo "419. $at_setup_line: testing $at_desc ..."
  $at_traceon

  cat >aggregate.data <<'_ATEOF'
2 42
1001
4 41
3112
1112
2661
1221
2771
1331
1441
2881
1551
_ATEOF

  cat >aggregate.sps <<'_ATEOF'
DATA LIST NOTABLE FILE='aggregate.data' /G N 1-2 S 3(a) W 4.
WEIGHT BY w.
MISSING VALUES n(4) s('4').

SORT CASES BY g.
AGGREGATE OUTFILE=* /PRESORTED
	/DOCUMENT
	/BREAK=g
	/N = n
	/NI = n./
	NU = nu
	/NUI = nu./
	NFGT2 = fgt(n, 2)
	/NFGT2I = fgt.(n, 2)
	/SFGT2 = fgt(s, '2')
	/SFGT2I = fgt.(s, '2')
	/NFIN23 = fin(n, 2, 3)
	/NFIN23I = fin.(n, 2, 3)
	/SFIN23 = fin(s, '2', '3')
	/SFIN23I = fin.(s, '2', '3')
	/NFLT2 = flt(n, 2)
	/NFLT2I = flt.(n, 2)
	/SFLT2 = flt(s, '2')
	/SFLT2I = flt.(s, '2')
	/NFIRST = first(n)
	/NFIRSTI = first.(n)
	/SFIRST = first(s)
	/SFIRSTI = first.(s)
	/NFOUT23 = fout(n, 3, 2)
	/NFOUT23I = fout.(n, 3, 2)
	/SFOUT23 = fout(s, '3', '2')
	/SFOUT23I = fout.(s, '3', '2')
	/NLAST = last(n)
	/NLASTI = last.(n)
	/SLAST = last(s)
	/SLASTI = last.(s)
	/NMAX = max(n)
	/NMAXI = max.(n)
	/SMAX = max(s)
	/SMAXI = max.(s)
	/NMEAN = mean(n)
	/NMEANI = mean.(n)
	/NMIN = min(n)
	/NMINI = min.(n)
	/SMIN = min(s)
	/SMINI = min.(s)
	/NN = n(n)
	/NNI = n.(n)
	/SN = n(s)
	/SNI = n.(s)
	/NNMISS = nmiss(n)
	/NNMISSI = nmiss.(n)
	/SNMISS = nmiss(s)
	/SNMISSI = nmiss.(s)
	/NNU = nu(n)
	/NNUI = nu.(n)
	/SNU = nu(s)
	/SNUI = nu.(s)
	/NNUMISS = numiss(n)
	/NNUMISSI = numiss.(n)
	/SNUMISS = numiss(s)
	/SNUMISSI = numiss.(s)
	/NPGT2 = pgt(n, 2)
	/NPGT2I = pgt.(n, 2)
	/SPGT2 = pgt(s, '2')
	/SPGT2I = pgt.(s, '2')
	/NPIN23 = pin(n, 2, 3)
	/NPIN23I = pin.(n, 2, 3)
	/SPIN23 = pin(s, '2', '3')
	/SPIN23I = pin.(s, '2', '3')
	/NPLT2 = plt(n, 2)
	/NPLT2I = plt.(n, 2)
	/SPLT2 = plt(s, '2')
	/SPLT2I = plt.(s, '2')
	/NPOUT23 = pout(n, 2, 3)
	/NPOUT23I = pout.(n, 2, 3)
	/SPOUT23 = pout(s, '2', '3')
	/SPOUT23I = pout.(s, '2', '3')
	/NMEDIAN = median(n)
	/NMEDIANI = median.(n)
	/NSD = sd(n)
	/NSDI = sd.(n)
	/NSUM = sum(n)
	/NSUMI = sum.(n).

LIST.
_ATEOF

  { set +x
$as_echo "$at_srcdir/aggregate.at:181: pspp -O format=csv aggregate.sps"
at_fn_check_prepare_trace "aggregate.at:181"
( $at_check_trace; pspp -O format=csv aggregate.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; tee stdout <"$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/aggregate.at:181"
$at_failed && at_fn_log_failure
$at_traceon; }

  { set +x
$as_echo "$at_srcdir/aggregate.at:181: sed 's/^[^:]*:[0-9]*: //' < stdout"
at_fn_check_prepare_trace "aggregate.at:181"
( $at_check_trace; sed 's/^[^:]*:[0-9]*: //' < stdout
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "warning: AGGREGATE: The value arguments passed to the FOUT function are out-of-order.  They will be treated as if they had been specified in the correct order.

warning: AGGREGATE: The value arguments passed to the FOUT function are out-of-order.  They will be treated as if they had been specified in the correct order.

warning: AGGREGATE: The value arguments passed to the FOUT function are out-of-order.  They will be treated as if they had been specified in the correct order.

warning: AGGREGATE: The value arguments passed to the FOUT function are out-of-order.  They will be treated as if they had been specified in the correct order.

Table: Data List
G,N,NI,NU,NUI,NFGT2,NFGT2I,SFGT2,SFGT2I,NFIN23,NFIN23I,SFIN23,SFIN23I,NFLT2,NFLT2I,SFLT2,SFLT2I,NFIRST,NFIRSTI,SFIRST,SFIRSTI,NFOUT23,NFOUT23I,SFOUT23,SFOUT23I,NLAST,NLASTI,SLAST,SLASTI,NMAX,NMAXI,SMAX,SMAXI,NMEAN,NMEANI,NMIN,NMINI,SMIN,SMINI,NN,NNI,SN,SNI,NNMISS,NNMISSI,SNMISS,SNMISSI,NNU,NNUI,SNU,SNUI,NNUMISS,NNUMISSI,SNUMISS,SNUMISSI,NPGT2,NPGT2I,SPGT2,SPGT2I,NPIN23,NPIN23I,SPIN23,SPIN23I,NPLT2,NPLT2I,SPLT2,SPLT2I,NPOUT23,NPOUT23I,SPOUT23,SPOUT23I,NMEDIAN,NMEDIANI,NSD,NSDI,NSUM,NSUMI
1,7.00,7.00,6,6,.333,.429,.333,.429,.333,.286,.333,.286,.500,.429,.500,.429,0,0,0,0,.667,.714,.667,.714,5,5,5,5,5,5,5,5,2.00,2.29,0,0,0,0,6.00,7.00,6.00,7.00,1.00,.00,1.00,.00,5,6,5,6,1,0,1,0,33.3,42.9,33.3,42.9,33.3,28.6,33.3,28.6,50.0,42.9,50.0,42.9,66.7,71.4,66.7,71.4,1.50,2.00,1.79,1.80,12.00,16.00
2,5.00,5.00,4,4,1.000,1.000,1.000,1.000,.000,.000,.000,.000,.000,.000,.000,.000,6,6,6,4,1.000,1.000,1.000,1.000,8,8,8,8,8,8,8,8,7.00,7.00,6,6,6,4,3.00,3.00,3.00,5.00,2.00,2.00,2.00,.00,3,3,3,4,1,1,1,0,100.0,100.0,100.0,100.0,.0,.0,.0,.0,.0,.0,.0,.0,100.0,100.0,100.0,100.0,7.00,7.00,1.00,1.00,21.00,21.00
3,2.00,2.00,1,1,.000,.000,.000,.000,.000,.000,.000,.000,1.000,1.000,1.000,1.000,1,1,1,1,1.000,1.000,1.000,1.000,1,1,1,1,1,1,1,1,1.00,1.00,1,1,1,1,2.00,2.00,2.00,2.00,.00,.00,.00,.00,1,1,1,1,0,0,0,0,.0,.0,.0,.0,.0,.0,.0,.0,100.0,100.0,100.0,100.0,100.0,100.0,100.0,100.0,1.00,1.00,.00,.00,2.00,2.00
4,1.00,1.00,1,1,.   ,.   ,.   ,1.000,.   ,.   ,.   ,.000,.   ,.   ,.   ,.000,.,.,,4,.   ,.   ,.   ,1.000,.,.,,4,.,.,,4,.  ,.  ,.,.,,4,.00,.00,.00,1.00,1.00,1.00,1.00,.00,0,0,0,1,1,1,1,0,. ,. ,. ,100.0,. ,. ,. ,.0,. ,. ,. ,.0,. ,. ,. ,100.0,NaN,NaN,.  ,.  ,.  ,.  
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/aggregate.at:181"
$at_failed && at_fn_log_failure
$at_traceon; }

    set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_419
#AT_START_420
at_fn_group_banner 420 'aggregate.at:182' \
  "AGGREGATE presorted data to active file, columnwise missing" "" 69
at_xfail=no
(
  $as_echo "420. $at_setup_line: testing $at_desc ..."
  $at_traceon

  cat >aggregate.data <<'_ATEOF'
2 42
1001
4 41
3112
1112
2661
1221
2771
1331
1441
2881
1551
_ATEOF

  cat >aggregate.sps <<'_ATEOF'
DATA LIST NOTABLE FILE='aggregate.data' /G N 1-2 S 3(a) W 4.
WEIGHT BY w.
MISSING VALUES n(4) s('4').

SORT CASES BY g.
AGGREGATE OUTFILE=* /PRESORTED /MISSING=COLUMNWISE
	/DOCUMENT
	/BREAK=g
	/N = n
	/NI = n./
	NU = nu
	/NUI = nu./
	NFGT2 = fgt(n, 2)
	/NFGT2I = fgt.(n, 2)
	/SFGT2 = fgt(s, '2')
	/SFGT2I = fgt.(s, '2')
	/NFIN23 = fin(n, 2, 3)
	/NFIN23I = fin.(n, 2, 3)
	/SFIN23 = fin(s, '2', '3')
	/SFIN23I = fin.(s, '2', '3')
	/NFLT2 = flt(n, 2)
	/NFLT2I = flt.(n, 2)
	/SFLT2 = flt(s, '2')
	/SFLT2I = flt.(s, '2')
	/NFIRST = first(n)
	/NFIRSTI = first.(n)
	/SFIRST = first(s)
	/SFIRSTI = first.(s)
	/NFOUT23 = fout(n, 3, 2)
	/NFOUT23I = fout.(n, 3, 2)
	/SFOUT23 = fout(s, '3', '2')
	/SFOUT23I = fout.(s, '3', '2')
	/NLAST = last(n)
	/NLASTI = last.(n)
	/SLAST = last(s)
	/SLASTI = last.(s)
	/NMAX = max(n)
	/NMAXI = max.(n)
	/SMAX = max(s)
	/SMAXI = max.(s)
	/NMEAN = mean(n)
	/NMEANI = mean.(n)
	/NMIN = min(n)
	/NMINI = min.(n)
	/SMIN = min(s)
	/SMINI = min.(s)
	/NN = n(n)
	/NNI = n.(n)
	/SN = n(s)
	/SNI = n.(s)
	/NNMISS = nmiss(n)
	/NNMISSI = nmiss.(n)
	/SNMISS = nmiss(s)
	/SNMISSI = nmiss.(s)
	/NNU = nu(n)
	/NNUI = nu.(n)
	/SNU = nu(s)
	/SNUI = nu.(s)
	/NNUMISS = numiss(n)
	/NNUMISSI = numiss.(n)
	/SNUMISS = numiss(s)
	/SNUMISSI = numiss.(s)
	/NPGT2 = pgt(n, 2)
	/NPGT2I = pgt.(n, 2)
	/SPGT2 = pgt(s, '2')
	/SPGT2I = pgt.(s, '2')
	/NPIN23 = pin(n, 2, 3)
	/NPIN23I = pin.(n, 2, 3)
	/SPIN23 = pin(s, '2', '3')
	/SPIN23I = pin.(s, '2', '3')
	/NPLT2 = plt(n, 2)
	/NPLT2I = plt.(n, 2)
	/SPLT2 = plt(s, '2')
	/SPLT2I = plt.(s, '2')
	/NPOUT23 = pout(n, 2, 3)
	/NPOUT23I = pout.(n, 2, 3)
	/SPOUT23 = pout(s, '2', '3')
	/SPOUT23I = pout.(s, '2', '3')
	/NMEDIAN = median(n)
	/NMEDIANI = median.(n)
	/NSD = sd(n)
	/NSDI = sd.(n)
	/NSUM = sum(n)
	/NSUMI = sum.(n).

LIST.
_ATEOF

  { set +x
$as_echo "$at_srcdir/aggregate.at:182: pspp -O format=csv aggregate.sps"
at_fn_check_prepare_trace "aggregate.at:182"
( $at_check_trace; pspp -O format=csv aggregate.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; tee stdout <"$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/aggregate.at:182"
$at_failed && at_fn_log_failure
$at_traceon; }

  { set +x
$as_echo "$at_srcdir/aggregate.at:182: sed 's/^[^:]*:[0-9]*: //' < stdout"
at_fn_check_prepare_trace "aggregate.at:182"
( $at_check_trace; sed 's/^[^:]*:[0-9]*: //' < stdout
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "warning: AGGREGATE: The value arguments passed to the FOUT function are out-of-order.  They will be treated as if they had been specified in the correct order.

warning: AGGREGATE: The value arguments passed to the FOUT function are out-of-order.  They will be treated as if they had been specified in the correct order.

warning: AGGREGATE: The value arguments passed to the FOUT function are out-of-order.  They will be treated as if they had been specified in the correct order.

warning: AGGREGATE: The value arguments passed to the FOUT function are out-of-order.  They will be treated as if they had been specified in the correct order.

Table: Data List
G,N,NI,NU,NUI,NFGT2,NFGT2I,SFGT2,SFGT2I,NFIN23,NFIN23I,SFIN23,SFIN23I,NFLT2,NFLT2I,SFLT2,SFLT2I,NFIRST,NFIRSTI,SFIRST,SFIRSTI,NFOUT23,NFOUT23I,SFOUT23,SFOUT23I,NLAST,NLASTI,SLAST,SLASTI,NMAX,NMAXI,SMAX,SMAXI,NMEAN,NMEANI,NMIN,NMINI,SMIN,SMINI,NN,NNI,SN,SNI,NNMISS,NNMISSI,SNMISS,SNMISSI,NNU,NNUI,SNU,SNUI,NNUMISS,NNUMISSI,SNUMISS,SNUMISSI,NPGT2,NPGT2I,SPGT2,SPGT2I,NPIN23,NPIN23I,SPIN23,SPIN23I,NPLT2,NPLT2I,SPLT2,SPLT2I,NPOUT23,NPOUT23I,SPOUT23,SPOUT23I,NMEDIAN,NMEDIANI,NSD,NSDI,NSUM,NSUMI
1,7.00,7.00,6,6,.   ,.429,.   ,.429,.   ,.286,.   ,.286,.   ,.429,.   ,.429,.,0,,0,.   ,.714,.   ,.714,.,5,,5,.,5,,5,.  ,2.29,.,0,,0,6.00,7.00,6.00,7.00,1.00,.00,1.00,.00,5,6,5,6,1,0,1,0,. ,42.9,. ,42.9,. ,28.6,. ,28.6,. ,42.9,. ,42.9,. ,71.4,. ,71.4,.  ,2.00,.  ,1.80,.  ,16.00
2,5.00,5.00,4,4,.   ,.   ,.   ,1.000,.   ,.   ,.   ,.000,.   ,.   ,.   ,.000,.,.,,4,.   ,.   ,.   ,1.000,.,.,,8,.,.,,8,.  ,.  ,.,.,,4,3.00,3.00,3.00,5.00,2.00,2.00,2.00,.00,3,3,3,4,1,1,1,0,. ,. ,. ,100.0,. ,. ,. ,.0,. ,. ,. ,.0,. ,. ,. ,100.0,.  ,.  ,.  ,.  ,.  ,.  
3,2.00,2.00,1,1,.000,.000,.000,.000,.000,.000,.000,.000,1.000,1.000,1.000,1.000,1,1,1,1,1.000,1.000,1.000,1.000,1,1,1,1,1,1,1,1,1.00,1.00,1,1,1,1,2.00,2.00,2.00,2.00,.00,.00,.00,.00,1,1,1,1,0,0,0,0,.0,.0,.0,.0,.0,.0,.0,.0,100.0,100.0,100.0,100.0,100.0,100.0,100.0,100.0,1.00,1.00,.00,.00,2.00,2.00
4,1.00,1.00,1,1,.   ,.   ,.   ,1.000,.   ,.   ,.   ,.000,.   ,.   ,.   ,.000,.,.,,4,.   ,.   ,.   ,1.000,.,.,,4,.,.,,4,.  ,.  ,.,.,,4,.00,.00,.00,1.00,1.00,1.00,1.00,.00,0,0,0,1,1,1,1,0,. ,. ,. ,100.0,. ,. ,. ,.0,. ,. ,. ,.0,. ,. ,. ,100.0,.  ,.  ,.  ,.  ,.  ,.  
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/aggregate.at:182"
$at_failed && at_fn_log_failure
$at_traceon; }

    set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_420
#AT_START_421
at_fn_group_banner 421 'aggregate.at:183' \
  "AGGREGATE unsorted data to active file, itemwise missing" "" 69
at_xfail=no
(
  $as_echo "421. $at_setup_line: testing $at_desc ..."
  $at_traceon

  cat >aggregate.data <<'_ATEOF'
2 42
1001
4 41
3112
1112
2661
1221
2771
1331
1441
2881
1551
_ATEOF

  cat >aggregate.sps <<'_ATEOF'
DATA LIST NOTABLE FILE='aggregate.data' /G N 1-2 S 3(a) W 4.
WEIGHT BY w.
MISSING VALUES n(4) s('4').


AGGREGATE OUTFILE=*
	/DOCUMENT
	/BREAK=g
	/N = n
	/NI = n./
	NU = nu
	/NUI = nu./
	NFGT2 = fgt(n, 2)
	/NFGT2I = fgt.(n, 2)
	/SFGT2 = fgt(s, '2')
	/SFGT2I = fgt.(s, '2')
	/NFIN23 = fin(n, 2, 3)
	/NFIN23I = fin.(n, 2, 3)
	/SFIN23 = fin(s, '2', '3')
	/SFIN23I = fin.(s, '2', '3')
	/NFLT2 = flt(n, 2)
	/NFLT2I = flt.(n, 2)
	/SFLT2 = flt(s, '2')
	/SFLT2I = flt.(s, '2')
	/NFIRST = first(n)
	/NFIRSTI = first.(n)
	/SFIRST = first(s)
	/SFIRSTI = first.(s)
	/NFOUT23 = fout(n, 3, 2)
	/NFOUT23I = fout.(n, 3, 2)
	/SFOUT23 = fout(s, '3', '2')
	/SFOUT23I = fout.(s, '3', '2')
	/NLAST = last(n)
	/NLASTI = last.(n)
	/SLAST = last(s)
	/SLASTI = last.(s)
	/NMAX = max(n)
	/NMAXI = max.(n)
	/SMAX = max(s)
	/SMAXI = max.(s)
	/NMEAN = mean(n)
	/NMEANI = mean.(n)
	/NMIN = min(n)
	/NMINI = min.(n)
	/SMIN = min(s)
	/SMINI = min.(s)
	/NN = n(n)
	/NNI = n.(n)
	/SN = n(s)
	/SNI = n.(s)
	/NNMISS = nmiss(n)
	/NNMISSI = nmiss.(n)
	/SNMISS = nmiss(s)
	/SNMISSI = nmiss.(s)
	/NNU = nu(n)
	/NNUI = nu.(n)
	/SNU = nu(s)
	/SNUI = nu.(s)
	/NNUMISS = numiss(n)
	/NNUMISSI = numiss.(n)
	/SNUMISS = numiss(s)
	/SNUMISSI = numiss.(s)
	/NPGT2 = pgt(n, 2)
	/NPGT2I = pgt.(n, 2)
	/SPGT2 = pgt(s, '2')
	/SPGT2I = pgt.(s, '2')
	/NPIN23 = pin(n, 2, 3)
	/NPIN23I = pin.(n, 2, 3)
	/SPIN23 = pin(s, '2', '3')
	/SPIN23I = pin.(s, '2', '3')
	/NPLT2 = plt(n, 2)
	/NPLT2I = plt.(n, 2)
	/SPLT2 = plt(s, '2')
	/SPLT2I = plt.(s, '2')
	/NPOUT23 = pout(n, 2, 3)
	/NPOUT23I = pout.(n, 2, 3)
	/SPOUT23 = pout(s, '2', '3')
	/SPOUT23I = pout.(s, '2', '3')
	/NMEDIAN = median(n)
	/NMEDIANI = median.(n)
	/NSD = sd(n)
	/NSDI = sd.(n)
	/NSUM = sum(n)
	/NSUMI = sum.(n).

LIST.
_ATEOF

  { set +x
$as_echo "$at_srcdir/aggregate.at:183: pspp -O format=csv aggregate.sps"
at_fn_check_prepare_trace "aggregate.at:183"
( $at_check_trace; pspp -O format=csv aggregate.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; tee stdout <"$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/aggregate.at:183"
$at_failed && at_fn_log_failure
$at_traceon; }

  { set +x
$as_echo "$at_srcdir/aggregate.at:183: sed 's/^[^:]*:[0-9]*: //' < stdout"
at_fn_check_prepare_trace "aggregate.at:183"
( $at_check_trace; sed 's/^[^:]*:[0-9]*: //' < stdout
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "warning: AGGREGATE: The value arguments passed to the FOUT function are out-of-order.  They will be treated as if they had been specified in the correct order.

warning: AGGREGATE: The value arguments passed to the FOUT function are out-of-order.  They will be treated as if they had been specified in the correct order.

warning: AGGREGATE: The value arguments passed to the FOUT function are out-of-order.  They will be treated as if they had been specified in the correct order.

warning: AGGREGATE: The value arguments passed to the FOUT function are out-of-order.  They will be treated as if they had been specified in the correct order.

Table: Data List
G,N,NI,NU,NUI,NFGT2,NFGT2I,SFGT2,SFGT2I,NFIN23,NFIN23I,SFIN23,SFIN23I,NFLT2,NFLT2I,SFLT2,SFLT2I,NFIRST,NFIRSTI,SFIRST,SFIRSTI,NFOUT23,NFOUT23I,SFOUT23,SFOUT23I,NLAST,NLASTI,SLAST,SLASTI,NMAX,NMAXI,SMAX,SMAXI,NMEAN,NMEANI,NMIN,NMINI,SMIN,SMINI,NN,NNI,SN,SNI,NNMISS,NNMISSI,SNMISS,SNMISSI,NNU,NNUI,SNU,SNUI,NNUMISS,NNUMISSI,SNUMISS,SNUMISSI,NPGT2,NPGT2I,SPGT2,SPGT2I,NPIN23,NPIN23I,SPIN23,SPIN23I,NPLT2,NPLT2I,SPLT2,SPLT2I,NPOUT23,NPOUT23I,SPOUT23,SPOUT23I,NMEDIAN,NMEDIANI,NSD,NSDI,NSUM,NSUMI
1,7.00,7.00,6,6,.333,.429,.333,.429,.333,.286,.333,.286,.500,.429,.500,.429,0,0,0,0,.667,.714,.667,.714,5,5,5,5,5,5,5,5,2.00,2.29,0,0,0,0,6.00,7.00,6.00,7.00,1.00,.00,1.00,.00,5,6,5,6,1,0,1,0,33.3,42.9,33.3,42.9,33.3,28.6,33.3,28.6,50.0,42.9,50.0,42.9,66.7,71.4,66.7,71.4,1.50,2.00,1.79,1.80,12.00,16.00
2,5.00,5.00,4,4,1.000,1.000,1.000,1.000,.000,.000,.000,.000,.000,.000,.000,.000,6,6,6,4,1.000,1.000,1.000,1.000,8,8,8,8,8,8,8,8,7.00,7.00,6,6,6,4,3.00,3.00,3.00,5.00,2.00,2.00,2.00,.00,3,3,3,4,1,1,1,0,100.0,100.0,100.0,100.0,.0,.0,.0,.0,.0,.0,.0,.0,100.0,100.0,100.0,100.0,7.00,7.00,1.00,1.00,21.00,21.00
3,2.00,2.00,1,1,.000,.000,.000,.000,.000,.000,.000,.000,1.000,1.000,1.000,1.000,1,1,1,1,1.000,1.000,1.000,1.000,1,1,1,1,1,1,1,1,1.00,1.00,1,1,1,1,2.00,2.00,2.00,2.00,.00,.00,.00,.00,1,1,1,1,0,0,0,0,.0,.0,.0,.0,.0,.0,.0,.0,100.0,100.0,100.0,100.0,100.0,100.0,100.0,100.0,1.00,1.00,.00,.00,2.00,2.00
4,1.00,1.00,1,1,.   ,.   ,.   ,1.000,.   ,.   ,.   ,.000,.   ,.   ,.   ,.000,.,.,,4,.   ,.   ,.   ,1.000,.,.,,4,.,.,,4,.  ,.  ,.,.,,4,.00,.00,.00,1.00,1.00,1.00,1.00,.00,0,0,0,1,1,1,1,0,. ,. ,. ,100.0,. ,. ,. ,.0,. ,. ,. ,.0,. ,. ,. ,100.0,NaN,NaN,.  ,.  ,.  ,.  
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/aggregate.at:183"
$at_failed && at_fn_log_failure
$at_traceon; }

    set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_421
#AT_START_422
at_fn_group_banner 422 'aggregate.at:184' \
  "AGGREGATE unsorted data to active file, columnwise missing" "" 69
at_xfail=no
(
  $as_echo "422. $at_setup_line: testing $at_desc ..."
  $at_traceon

  cat >aggregate.data <<'_ATEOF'
2 42
1001
4 41
3112
1112
2661
1221
2771
1331
1441
2881
1551
_ATEOF

  cat >aggregate.sps <<'_ATEOF'
DATA LIST NOTABLE FILE='aggregate.data' /G N 1-2 S 3(a) W 4.
WEIGHT BY w.
MISSING VALUES n(4) s('4').


AGGREGATE OUTFILE=*  /MISSING=COLUMNWISE
	/DOCUMENT
	/BREAK=g
	/N = n
	/NI = n./
	NU = nu
	/NUI = nu./
	NFGT2 = fgt(n, 2)
	/NFGT2I = fgt.(n, 2)
	/SFGT2 = fgt(s, '2')
	/SFGT2I = fgt.(s, '2')
	/NFIN23 = fin(n, 2, 3)
	/NFIN23I = fin.(n, 2, 3)
	/SFIN23 = fin(s, '2', '3')
	/SFIN23I = fin.(s, '2', '3')
	/NFLT2 = flt(n, 2)
	/NFLT2I = flt.(n, 2)
	/SFLT2 = flt(s, '2')
	/SFLT2I = flt.(s, '2')
	/NFIRST = first(n)
	/NFIRSTI = first.(n)
	/SFIRST = first(s)
	/SFIRSTI = first.(s)
	/NFOUT23 = fout(n, 3, 2)
	/NFOUT23I = fout.(n, 3, 2)
	/SFOUT23 = fout(s, '3', '2')
	/SFOUT23I = fout.(s, '3', '2')
	/NLAST = last(n)
	/NLASTI = last.(n)
	/SLAST = last(s)
	/SLASTI = last.(s)
	/NMAX = max(n)
	/NMAXI = max.(n)
	/SMAX = max(s)
	/SMAXI = max.(s)
	/NMEAN = mean(n)
	/NMEANI = mean.(n)
	/NMIN = min(n)
	/NMINI = min.(n)
	/SMIN = min(s)
	/SMINI = min.(s)
	/NN = n(n)
	/NNI = n.(n)
	/SN = n(s)
	/SNI = n.(s)
	/NNMISS = nmiss(n)
	/NNMISSI = nmiss.(n)
	/SNMISS = nmiss(s)
	/SNMISSI = nmiss.(s)
	/NNU = nu(n)
	/NNUI = nu.(n)
	/SNU = nu(s)
	/SNUI = nu.(s)
	/NNUMISS = numiss(n)
	/NNUMISSI = numiss.(n)
	/SNUMISS = numiss(s)
	/SNUMISSI = numiss.(s)
	/NPGT2 = pgt(n, 2)
	/NPGT2I = pgt.(n, 2)
	/SPGT2 = pgt(s, '2')
	/SPGT2I = pgt.(s, '2')
	/NPIN23 = pin(n, 2, 3)
	/NPIN23I = pin.(n, 2, 3)
	/SPIN23 = pin(s, '2', '3')
	/SPIN23I = pin.(s, '2', '3')
	/NPLT2 = plt(n, 2)
	/NPLT2I = plt.(n, 2)
	/SPLT2 = plt(s, '2')
	/SPLT2I = plt.(s, '2')
	/NPOUT23 = pout(n, 2, 3)
	/NPOUT23I = pout.(n, 2, 3)
	/SPOUT23 = pout(s, '2', '3')
	/SPOUT23I = pout.(s, '2', '3')
	/NMEDIAN = median(n)
	/NMEDIANI = median.(n)
	/NSD = sd(n)
	/NSDI = sd.(n)
	/NSUM = sum(n)
	/NSUMI = sum.(n).

LIST.
_ATEOF

  { set +x
$as_echo "$at_srcdir/aggregate.at:184: pspp -O format=csv aggregate.sps"
at_fn_check_prepare_trace "aggregate.at:184"
( $at_check_trace; pspp -O format=csv aggregate.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; tee stdout <"$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/aggregate.at:184"
$at_failed && at_fn_log_failure
$at_traceon; }

  { set +x
$as_echo "$at_srcdir/aggregate.at:184: sed 's/^[^:]*:[0-9]*: //' < stdout"
at_fn_check_prepare_trace "aggregate.at:184"
( $at_check_trace; sed 's/^[^:]*:[0-9]*: //' < stdout
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "warning: AGGREGATE: The value arguments passed to the FOUT function are out-of-order.  They will be treated as if they had been specified in the correct order.

warning: AGGREGATE: The value arguments passed to the FOUT function are out-of-order.  They will be treated as if they had been specified in the correct order.

warning: AGGREGATE: The value arguments passed to the FOUT function are out-of-order.  They will be treated as if they had been specified in the correct order.

warning: AGGREGATE: The value arguments passed to the FOUT function are out-of-order.  They will be treated as if they had been specified in the correct order.

Table: Data List
G,N,NI,NU,NUI,NFGT2,NFGT2I,SFGT2,SFGT2I,NFIN23,NFIN23I,SFIN23,SFIN23I,NFLT2,NFLT2I,SFLT2,SFLT2I,NFIRST,NFIRSTI,SFIRST,SFIRSTI,NFOUT23,NFOUT23I,SFOUT23,SFOUT23I,NLAST,NLASTI,SLAST,SLASTI,NMAX,NMAXI,SMAX,SMAXI,NMEAN,NMEANI,NMIN,NMINI,SMIN,SMINI,NN,NNI,SN,SNI,NNMISS,NNMISSI,SNMISS,SNMISSI,NNU,NNUI,SNU,SNUI,NNUMISS,NNUMISSI,SNUMISS,SNUMISSI,NPGT2,NPGT2I,SPGT2,SPGT2I,NPIN23,NPIN23I,SPIN23,SPIN23I,NPLT2,NPLT2I,SPLT2,SPLT2I,NPOUT23,NPOUT23I,SPOUT23,SPOUT23I,NMEDIAN,NMEDIANI,NSD,NSDI,NSUM,NSUMI
1,7.00,7.00,6,6,.   ,.429,.   ,.429,.   ,.286,.   ,.286,.   ,.429,.   ,.429,.,0,,0,.   ,.714,.   ,.714,.,5,,5,.,5,,5,.  ,2.29,.,0,,0,6.00,7.00,6.00,7.00,1.00,.00,1.00,.00,5,6,5,6,1,0,1,0,. ,42.9,. ,42.9,. ,28.6,. ,28.6,. ,42.9,. ,42.9,. ,71.4,. ,71.4,.  ,2.00,.  ,1.80,.  ,16.00
2,5.00,5.00,4,4,.   ,.   ,.   ,1.000,.   ,.   ,.   ,.000,.   ,.   ,.   ,.000,.,.,,4,.   ,.   ,.   ,1.000,.,.,,8,.,.,,8,.  ,.  ,.,.,,4,3.00,3.00,3.00,5.00,2.00,2.00,2.00,.00,3,3,3,4,1,1,1,0,. ,. ,. ,100.0,. ,. ,. ,.0,. ,. ,. ,.0,. ,. ,. ,100.0,.  ,.  ,.  ,.  ,.  ,.  
3,2.00,2.00,1,1,.000,.000,.000,.000,.000,.000,.000,.000,1.000,1.000,1.000,1.000,1,1,1,1,1.000,1.000,1.000,1.000,1,1,1,1,1,1,1,1,1.00,1.00,1,1,1,1,2.00,2.00,2.00,2.00,.00,.00,.00,.00,1,1,1,1,0,0,0,0,.0,.0,.0,.0,.0,.0,.0,.0,100.0,100.0,100.0,100.0,100.0,100.0,100.0,100.0,1.00,1.00,.00,.00,2.00,2.00
4,1.00,1.00,1,1,.   ,.   ,.   ,1.000,.   ,.   ,.   ,.000,.   ,.   ,.   ,.000,.,.,,4,.   ,.   ,.   ,1.000,.,.,,4,.,.,,4,.  ,.  ,.,.,,4,.00,.00,.00,1.00,1.00,1.00,1.00,.00,0,0,0,1,1,1,1,0,. ,. ,. ,100.0,. ,. ,. ,.0,. ,. ,. ,.0,. ,. ,. ,100.0,.  ,.  ,.  ,.  ,.  ,.  
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/aggregate.at:184"
$at_failed && at_fn_log_failure
$at_traceon; }

    set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_422
#AT_START_423
at_fn_group_banner 423 'aggregate.at:185' \
  "AGGREGATE presorted data to external file, itemwise missing" "" 69
at_xfail=no
(
  $as_echo "423. $at_setup_line: testing $at_desc ..."
  $at_traceon

  cat >aggregate.data <<'_ATEOF'
2 42
1001
4 41
3112
1112
2661
1221
2771
1331
1441
2881
1551
_ATEOF

  cat >aggregate.sps <<'_ATEOF'
DATA LIST NOTABLE FILE='aggregate.data' /G N 1-2 S 3(a) W 4.
WEIGHT BY w.
MISSING VALUES n(4) s('4').

SORT CASES BY g.
AGGREGATE OUTFILE='aggregate.sys' /PRESORTED
	/DOCUMENT
	/BREAK=g
	/N = n
	/NI = n./
	NU = nu
	/NUI = nu./
	NFGT2 = fgt(n, 2)
	/NFGT2I = fgt.(n, 2)
	/SFGT2 = fgt(s, '2')
	/SFGT2I = fgt.(s, '2')
	/NFIN23 = fin(n, 2, 3)
	/NFIN23I = fin.(n, 2, 3)
	/SFIN23 = fin(s, '2', '3')
	/SFIN23I = fin.(s, '2', '3')
	/NFLT2 = flt(n, 2)
	/NFLT2I = flt.(n, 2)
	/SFLT2 = flt(s, '2')
	/SFLT2I = flt.(s, '2')
	/NFIRST = first(n)
	/NFIRSTI = first.(n)
	/SFIRST = first(s)
	/SFIRSTI = first.(s)
	/NFOUT23 = fout(n, 3, 2)
	/NFOUT23I = fout.(n, 3, 2)
	/SFOUT23 = fout(s, '3', '2')
	/SFOUT23I = fout.(s, '3', '2')
	/NLAST = last(n)
	/NLASTI = last.(n)
	/SLAST = last(s)
	/SLASTI = last.(s)
	/NMAX = max(n)
	/NMAXI = max.(n)
	/SMAX = max(s)
	/SMAXI = max.(s)
	/NMEAN = mean(n)
	/NMEANI = mean.(n)
	/NMIN = min(n)
	/NMINI = min.(n)
	/SMIN = min(s)
	/SMINI = min.(s)
	/NN = n(n)
	/NNI = n.(n)
	/SN = n(s)
	/SNI = n.(s)
	/NNMISS = nmiss(n)
	/NNMISSI = nmiss.(n)
	/SNMISS = nmiss(s)
	/SNMISSI = nmiss.(s)
	/NNU = nu(n)
	/NNUI = nu.(n)
	/SNU = nu(s)
	/SNUI = nu.(s)
	/NNUMISS = numiss(n)
	/NNUMISSI = numiss.(n)
	/SNUMISS = numiss(s)
	/SNUMISSI = numiss.(s)
	/NPGT2 = pgt(n, 2)
	/NPGT2I = pgt.(n, 2)
	/SPGT2 = pgt(s, '2')
	/SPGT2I = pgt.(s, '2')
	/NPIN23 = pin(n, 2, 3)
	/NPIN23I = pin.(n, 2, 3)
	/SPIN23 = pin(s, '2', '3')
	/SPIN23I = pin.(s, '2', '3')
	/NPLT2 = plt(n, 2)
	/NPLT2I = plt.(n, 2)
	/SPLT2 = plt(s, '2')
	/SPLT2I = plt.(s, '2')
	/NPOUT23 = pout(n, 2, 3)
	/NPOUT23I = pout.(n, 2, 3)
	/SPOUT23 = pout(s, '2', '3')
	/SPOUT23I = pout.(s, '2', '3')
	/NMEDIAN = median(n)
	/NMEDIANI = median.(n)
	/NSD = sd(n)
	/NSDI = sd.(n)
	/NSUM = sum(n)
	/NSUMI = sum.(n).
GET FILE='aggregate.sys'.
LIST.
_ATEOF

  { set +x
$as_echo "$at_srcdir/aggregate.at:185: pspp -O format=csv aggregate.sps"
at_fn_check_prepare_trace "aggregate.at:185"
( $at_check_trace; pspp -O format=csv aggregate.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; tee stdout <"$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/aggregate.at:185"
$at_failed && at_fn_log_failure
$at_traceon; }

  { set +x
$as_echo "$at_srcdir/aggregate.at:185: sed 's/^[^:]*:[0-9]*: //' < stdout"
at_fn_check_prepare_trace "aggregate.at:185"
( $at_check_trace; sed 's/^[^:]*:[0-9]*: //' < stdout
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "warning: AGGREGATE: The value arguments passed to the FOUT function are out-of-order.  They will be treated as if they had been specified in the correct order.

warning: AGGREGATE: The value arguments passed to the FOUT function are out-of-order.  They will be treated as if they had been specified in the correct order.

warning: AGGREGATE: The value arguments passed to the FOUT function are out-of-order.  They will be treated as if they had been specified in the correct order.

warning: AGGREGATE: The value arguments passed to the FOUT function are out-of-order.  They will be treated as if they had been specified in the correct order.

Table: Data List
G,N,NI,NU,NUI,NFGT2,NFGT2I,SFGT2,SFGT2I,NFIN23,NFIN23I,SFIN23,SFIN23I,NFLT2,NFLT2I,SFLT2,SFLT2I,NFIRST,NFIRSTI,SFIRST,SFIRSTI,NFOUT23,NFOUT23I,SFOUT23,SFOUT23I,NLAST,NLASTI,SLAST,SLASTI,NMAX,NMAXI,SMAX,SMAXI,NMEAN,NMEANI,NMIN,NMINI,SMIN,SMINI,NN,NNI,SN,SNI,NNMISS,NNMISSI,SNMISS,SNMISSI,NNU,NNUI,SNU,SNUI,NNUMISS,NNUMISSI,SNUMISS,SNUMISSI,NPGT2,NPGT2I,SPGT2,SPGT2I,NPIN23,NPIN23I,SPIN23,SPIN23I,NPLT2,NPLT2I,SPLT2,SPLT2I,NPOUT23,NPOUT23I,SPOUT23,SPOUT23I,NMEDIAN,NMEDIANI,NSD,NSDI,NSUM,NSUMI
1,7.00,7.00,6,6,.333,.429,.333,.429,.333,.286,.333,.286,.500,.429,.500,.429,0,0,0,0,.667,.714,.667,.714,5,5,5,5,5,5,5,5,2.00,2.29,0,0,0,0,6.00,7.00,6.00,7.00,1.00,.00,1.00,.00,5,6,5,6,1,0,1,0,33.3,42.9,33.3,42.9,33.3,28.6,33.3,28.6,50.0,42.9,50.0,42.9,66.7,71.4,66.7,71.4,1.50,2.00,1.79,1.80,12.00,16.00
2,5.00,5.00,4,4,1.000,1.000,1.000,1.000,.000,.000,.000,.000,.000,.000,.000,.000,6,6,6,4,1.000,1.000,1.000,1.000,8,8,8,8,8,8,8,8,7.00,7.00,6,6,6,4,3.00,3.00,3.00,5.00,2.00,2.00,2.00,.00,3,3,3,4,1,1,1,0,100.0,100.0,100.0,100.0,.0,.0,.0,.0,.0,.0,.0,.0,100.0,100.0,100.0,100.0,7.00,7.00,1.00,1.00,21.00,21.00
3,2.00,2.00,1,1,.000,.000,.000,.000,.000,.000,.000,.000,1.000,1.000,1.000,1.000,1,1,1,1,1.000,1.000,1.000,1.000,1,1,1,1,1,1,1,1,1.00,1.00,1,1,1,1,2.00,2.00,2.00,2.00,.00,.00,.00,.00,1,1,1,1,0,0,0,0,.0,.0,.0,.0,.0,.0,.0,.0,100.0,100.0,100.0,100.0,100.0,100.0,100.0,100.0,1.00,1.00,.00,.00,2.00,2.00
4,1.00,1.00,1,1,.   ,.   ,.   ,1.000,.   ,.   ,.   ,.000,.   ,.   ,.   ,.000,.,.,,4,.   ,.   ,.   ,1.000,.,.,,4,.,.,,4,.  ,.  ,.,.,,4,.00,.00,.00,1.00,1.00,1.00,1.00,.00,0,0,0,1,1,1,1,0,. ,. ,. ,100.0,. ,. ,. ,.0,. ,. ,. ,.0,. ,. ,. ,100.0,NaN,NaN,.  ,.  ,.  ,.  
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/aggregate.at:185"
$at_failed && at_fn_log_failure
$at_traceon; }

    set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_423
#AT_START_424
at_fn_group_banner 424 'aggregate.at:186' \
  "AGGREGATE presorted data to external file, columnwise missing" "" 69
at_xfail=no
(
  $as_echo "424. $at_setup_line: testing $at_desc ..."
  $at_traceon

  cat >aggregate.data <<'_ATEOF'
2 42
1001
4 41
3112
1112
2661
1221
2771
1331
1441
2881
1551
_ATEOF

  cat >aggregate.sps <<'_ATEOF'
DATA LIST NOTABLE FILE='aggregate.data' /G N 1-2 S 3(a) W 4.
WEIGHT BY w.
MISSING VALUES n(4) s('4').

SORT CASES BY g.
AGGREGATE OUTFILE='aggregate.sys' /PRESORTED /MISSING=COLUMNWISE
	/DOCUMENT
	/BREAK=g
	/N = n
	/NI = n./
	NU = nu
	/NUI = nu./
	NFGT2 = fgt(n, 2)
	/NFGT2I = fgt.(n, 2)
	/SFGT2 = fgt(s, '2')
	/SFGT2I = fgt.(s, '2')
	/NFIN23 = fin(n, 2, 3)
	/NFIN23I = fin.(n, 2, 3)
	/SFIN23 = fin(s, '2', '3')
	/SFIN23I = fin.(s, '2', '3')
	/NFLT2 = flt(n, 2)
	/NFLT2I = flt.(n, 2)
	/SFLT2 = flt(s, '2')
	/SFLT2I = flt.(s, '2')
	/NFIRST = first(n)
	/NFIRSTI = first.(n)
	/SFIRST = first(s)
	/SFIRSTI = first.(s)
	/NFOUT23 = fout(n, 3, 2)
	/NFOUT23I = fout.(n, 3, 2)
	/SFOUT23 = fout(s, '3', '2')
	/SFOUT23I = fout.(s, '3', '2')
	/NLAST = last(n)
	/NLASTI = last.(n)
	/SLAST = last(s)
	/SLASTI = last.(s)
	/NMAX = max(n)
	/NMAXI = max.(n)
	/SMAX = max(s)
	/SMAXI = max.(s)
	/NMEAN = mean(n)
	/NMEANI = mean.(n)
	/NMIN = min(n)
	/NMINI = min.(n)
	/SMIN = min(s)
	/SMINI = min.(s)
	/NN = n(n)
	/NNI = n.(n)
	/SN = n(s)
	/SNI = n.(s)
	/NNMISS = nmiss(n)
	/NNMISSI = nmiss.(n)
	/SNMISS = nmiss(s)
	/SNMISSI = nmiss.(s)
	/NNU = nu(n)
	/NNUI = nu.(n)
	/SNU = nu(s)
	/SNUI = nu.(s)
	/NNUMISS = numiss(n)
	/NNUMISSI = numiss.(n)
	/SNUMISS = numiss(s)
	/SNUMISSI = numiss.(s)
	/NPGT2 = pgt(n, 2)
	/NPGT2I = pgt.(n, 2)
	/SPGT2 = pgt(s, '2')
	/SPGT2I = pgt.(s, '2')
	/NPIN23 = pin(n, 2, 3)
	/NPIN23I = pin.(n, 2, 3)
	/SPIN23 = pin(s, '2', '3')
	/SPIN23I = pin.(s, '2', '3')
	/NPLT2 = plt(n, 2)
	/NPLT2I = plt.(n, 2)
	/SPLT2 = plt(s, '2')
	/SPLT2I = plt.(s, '2')
	/NPOUT23 = pout(n, 2, 3)
	/NPOUT23I = pout.(n, 2, 3)
	/SPOUT23 = pout(s, '2', '3')
	/SPOUT23I = pout.(s, '2', '3')
	/NMEDIAN = median(n)
	/NMEDIANI = median.(n)
	/NSD = sd(n)
	/NSDI = sd.(n)
	/NSUM = sum(n)
	/NSUMI = sum.(n).
GET FILE='aggregate.sys'.
LIST.
_ATEOF

  { set +x
$as_echo "$at_srcdir/aggregate.at:186: pspp -O format=csv aggregate.sps"
at_fn_check_prepare_trace "aggregate.at:186"
( $at_check_trace; pspp -O format=csv aggregate.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; tee stdout <"$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/aggregate.at:186"
$at_failed && at_fn_log_failure
$at_traceon; }

  { set +x
$as_echo "$at_srcdir/aggregate.at:186: sed 's/^[^:]*:[0-9]*: //' < stdout"
at_fn_check_prepare_trace "aggregate.at:186"
( $at_check_trace; sed 's/^[^:]*:[0-9]*: //' < stdout
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "warning: AGGREGATE: The value arguments passed to the FOUT function are out-of-order.  They will be treated as if they had been specified in the correct order.

warning: AGGREGATE: The value arguments passed to the FOUT function are out-of-order.  They will be treated as if they had been specified in the correct order.

warning: AGGREGATE: The value arguments passed to the FOUT function are out-of-order.  They will be treated as if they had been specified in the correct order.

warning: AGGREGATE: The value arguments passed to the FOUT function are out-of-order.  They will be treated as if they had been specified in the correct order.

Table: Data List
G,N,NI,NU,NUI,NFGT2,NFGT2I,SFGT2,SFGT2I,NFIN23,NFIN23I,SFIN23,SFIN23I,NFLT2,NFLT2I,SFLT2,SFLT2I,NFIRST,NFIRSTI,SFIRST,SFIRSTI,NFOUT23,NFOUT23I,SFOUT23,SFOUT23I,NLAST,NLASTI,SLAST,SLASTI,NMAX,NMAXI,SMAX,SMAXI,NMEAN,NMEANI,NMIN,NMINI,SMIN,SMINI,NN,NNI,SN,SNI,NNMISS,NNMISSI,SNMISS,SNMISSI,NNU,NNUI,SNU,SNUI,NNUMISS,NNUMISSI,SNUMISS,SNUMISSI,NPGT2,NPGT2I,SPGT2,SPGT2I,NPIN23,NPIN23I,SPIN23,SPIN23I,NPLT2,NPLT2I,SPLT2,SPLT2I,NPOUT23,NPOUT23I,SPOUT23,SPOUT23I,NMEDIAN,NMEDIANI,NSD,NSDI,NSUM,NSUMI
1,7.00,7.00,6,6,.   ,.429,.   ,.429,.   ,.286,.   ,.286,.   ,.429,.   ,.429,.,0,,0,.   ,.714,.   ,.714,.,5,,5,.,5,,5,.  ,2.29,.,0,,0,6.00,7.00,6.00,7.00,1.00,.00,1.00,.00,5,6,5,6,1,0,1,0,. ,42.9,. ,42.9,. ,28.6,. ,28.6,. ,42.9,. ,42.9,. ,71.4,. ,71.4,.  ,2.00,.  ,1.80,.  ,16.00
2,5.00,5.00,4,4,.   ,.   ,.   ,1.000,.   ,.   ,.   ,.000,.   ,.   ,.   ,.000,.,.,,4,.   ,.   ,.   ,1.000,.,.,,8,.,.,,8,.  ,.  ,.,.,,4,3.00,3.00,3.00,5.00,2.00,2.00,2.00,.00,3,3,3,4,1,1,1,0,. ,. ,. ,100.0,. ,. ,. ,.0,. ,. ,. ,.0,. ,. ,. ,100.0,.  ,.  ,.  ,.  ,.  ,.  
3,2.00,2.00,1,1,.000,.000,.000,.000,.000,.000,.000,.000,1.000,1.000,1.000,1.000,1,1,1,1,1.000,1.000,1.000,1.000,1,1,1,1,1,1,1,1,1.00,1.00,1,1,1,1,2.00,2.00,2.00,2.00,.00,.00,.00,.00,1,1,1,1,0,0,0,0,.0,.0,.0,.0,.0,.0,.0,.0,100.0,100.0,100.0,100.0,100.0,100.0,100.0,100.0,1.00,1.00,.00,.00,2.00,2.00
4,1.00,1.00,1,1,.   ,.   ,.   ,1.000,.   ,.   ,.   ,.000,.   ,.   ,.   ,.000,.,.,,4,.   ,.   ,.   ,1.000,.,.,,4,.,.,,4,.  ,.  ,.,.,,4,.00,.00,.00,1.00,1.00,1.00,1.00,.00,0,0,0,1,1,1,1,0,. ,. ,. ,100.0,. ,. ,. ,.0,. ,. ,. ,.0,. ,. ,. ,100.0,.  ,.  ,.  ,.  ,.  ,.  
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/aggregate.at:186"
$at_failed && at_fn_log_failure
$at_traceon; }

    set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_424
#AT_START_425
at_fn_group_banner 425 'aggregate.at:187' \
  "AGGREGATE unsorted data to external file, itemwise missing" "" 69
at_xfail=no
(
  $as_echo "425. $at_setup_line: testing $at_desc ..."
  $at_traceon

  cat >aggregate.data <<'_ATEOF'
2 42
1001
4 41
3112
1112
2661
1221
2771
1331
1441
2881
1551
_ATEOF

  cat >aggregate.sps <<'_ATEOF'
DATA LIST NOTABLE FILE='aggregate.data' /G N 1-2 S 3(a) W 4.
WEIGHT BY w.
MISSING VALUES n(4) s('4').


AGGREGATE OUTFILE='aggregate.sys'
	/DOCUMENT
	/BREAK=g
	/N = n
	/NI = n./
	NU = nu
	/NUI = nu./
	NFGT2 = fgt(n, 2)
	/NFGT2I = fgt.(n, 2)
	/SFGT2 = fgt(s, '2')
	/SFGT2I = fgt.(s, '2')
	/NFIN23 = fin(n, 2, 3)
	/NFIN23I = fin.(n, 2, 3)
	/SFIN23 = fin(s, '2', '3')
	/SFIN23I = fin.(s, '2', '3')
	/NFLT2 = flt(n, 2)
	/NFLT2I = flt.(n, 2)
	/SFLT2 = flt(s, '2')
	/SFLT2I = flt.(s, '2')
	/NFIRST = first(n)
	/NFIRSTI = first.(n)
	/SFIRST = first(s)
	/SFIRSTI = first.(s)
	/NFOUT23 = fout(n, 3, 2)
	/NFOUT23I = fout.(n, 3, 2)
	/SFOUT23 = fout(s, '3', '2')
	/SFOUT23I = fout.(s, '3', '2')
	/NLAST = last(n)
	/NLASTI = last.(n)
	/SLAST = last(s)
	/SLASTI = last.(s)
	/NMAX = max(n)
	/NMAXI = max.(n)
	/SMAX = max(s)
	/SMAXI = max.(s)
	/NMEAN = mean(n)
	/NMEANI = mean.(n)
	/NMIN = min(n)
	/NMINI = min.(n)
	/SMIN = min(s)
	/SMINI = min.(s)
	/NN = n(n)
	/NNI = n.(n)
	/SN = n(s)
	/SNI = n.(s)
	/NNMISS = nmiss(n)
	/NNMISSI = nmiss.(n)
	/SNMISS = nmiss(s)
	/SNMISSI = nmiss.(s)
	/NNU = nu(n)
	/NNUI = nu.(n)
	/SNU = nu(s)
	/SNUI = nu.(s)
	/NNUMISS = numiss(n)
	/NNUMISSI = numiss.(n)
	/SNUMISS = numiss(s)
	/SNUMISSI = numiss.(s)
	/NPGT2 = pgt(n, 2)
	/NPGT2I = pgt.(n, 2)
	/SPGT2 = pgt(s, '2')
	/SPGT2I = pgt.(s, '2')
	/NPIN23 = pin(n, 2, 3)
	/NPIN23I = pin.(n, 2, 3)
	/SPIN23 = pin(s, '2', '3')
	/SPIN23I = pin.(s, '2', '3')
	/NPLT2 = plt(n, 2)
	/NPLT2I = plt.(n, 2)
	/SPLT2 = plt(s, '2')
	/SPLT2I = plt.(s, '2')
	/NPOUT23 = pout(n, 2, 3)
	/NPOUT23I = pout.(n, 2, 3)
	/SPOUT23 = pout(s, '2', '3')
	/SPOUT23I = pout.(s, '2', '3')
	/NMEDIAN = median(n)
	/NMEDIANI = median.(n)
	/NSD = sd(n)
	/NSDI = sd.(n)
	/NSUM = sum(n)
	/NSUMI = sum.(n).
GET FILE='aggregate.sys'.
LIST.
_ATEOF

  { set +x
$as_echo "$at_srcdir/aggregate.at:187: pspp -O format=csv aggregate.sps"
at_fn_check_prepare_trace "aggregate.at:187"
( $at_check_trace; pspp -O format=csv aggregate.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; tee stdout <"$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/aggregate.at:187"
$at_failed && at_fn_log_failure
$at_traceon; }

  { set +x
$as_echo "$at_srcdir/aggregate.at:187: sed 's/^[^:]*:[0-9]*: //' < stdout"
at_fn_check_prepare_trace "aggregate.at:187"
( $at_check_trace; sed 's/^[^:]*:[0-9]*: //' < stdout
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "warning: AGGREGATE: The value arguments passed to the FOUT function are out-of-order.  They will be treated as if they had been specified in the correct order.

warning: AGGREGATE: The value arguments passed to the FOUT function are out-of-order.  They will be treated as if they had been specified in the correct order.

warning: AGGREGATE: The value arguments passed to the FOUT function are out-of-order.  They will be treated as if they had been specified in the correct order.

warning: AGGREGATE: The value arguments passed to the FOUT function are out-of-order.  They will be treated as if they had been specified in the correct order.

Table: Data List
G,N,NI,NU,NUI,NFGT2,NFGT2I,SFGT2,SFGT2I,NFIN23,NFIN23I,SFIN23,SFIN23I,NFLT2,NFLT2I,SFLT2,SFLT2I,NFIRST,NFIRSTI,SFIRST,SFIRSTI,NFOUT23,NFOUT23I,SFOUT23,SFOUT23I,NLAST,NLASTI,SLAST,SLASTI,NMAX,NMAXI,SMAX,SMAXI,NMEAN,NMEANI,NMIN,NMINI,SMIN,SMINI,NN,NNI,SN,SNI,NNMISS,NNMISSI,SNMISS,SNMISSI,NNU,NNUI,SNU,SNUI,NNUMISS,NNUMISSI,SNUMISS,SNUMISSI,NPGT2,NPGT2I,SPGT2,SPGT2I,NPIN23,NPIN23I,SPIN23,SPIN23I,NPLT2,NPLT2I,SPLT2,SPLT2I,NPOUT23,NPOUT23I,SPOUT23,SPOUT23I,NMEDIAN,NMEDIANI,NSD,NSDI,NSUM,NSUMI
1,7.00,7.00,6,6,.333,.429,.333,.429,.333,.286,.333,.286,.500,.429,.500,.429,0,0,0,0,.667,.714,.667,.714,5,5,5,5,5,5,5,5,2.00,2.29,0,0,0,0,6.00,7.00,6.00,7.00,1.00,.00,1.00,.00,5,6,5,6,1,0,1,0,33.3,42.9,33.3,42.9,33.3,28.6,33.3,28.6,50.0,42.9,50.0,42.9,66.7,71.4,66.7,71.4,1.50,2.00,1.79,1.80,12.00,16.00
2,5.00,5.00,4,4,1.000,1.000,1.000,1.000,.000,.000,.000,.000,.000,.000,.000,.000,6,6,6,4,1.000,1.000,1.000,1.000,8,8,8,8,8,8,8,8,7.00,7.00,6,6,6,4,3.00,3.00,3.00,5.00,2.00,2.00,2.00,.00,3,3,3,4,1,1,1,0,100.0,100.0,100.0,100.0,.0,.0,.0,.0,.0,.0,.0,.0,100.0,100.0,100.0,100.0,7.00,7.00,1.00,1.00,21.00,21.00
3,2.00,2.00,1,1,.000,.000,.000,.000,.000,.000,.000,.000,1.000,1.000,1.000,1.000,1,1,1,1,1.000,1.000,1.000,1.000,1,1,1,1,1,1,1,1,1.00,1.00,1,1,1,1,2.00,2.00,2.00,2.00,.00,.00,.00,.00,1,1,1,1,0,0,0,0,.0,.0,.0,.0,.0,.0,.0,.0,100.0,100.0,100.0,100.0,100.0,100.0,100.0,100.0,1.00,1.00,.00,.00,2.00,2.00
4,1.00,1.00,1,1,.   ,.   ,.   ,1.000,.   ,.   ,.   ,.000,.   ,.   ,.   ,.000,.,.,,4,.   ,.   ,.   ,1.000,.,.,,4,.,.,,4,.  ,.  ,.,.,,4,.00,.00,.00,1.00,1.00,1.00,1.00,.00,0,0,0,1,1,1,1,0,. ,. ,. ,100.0,. ,. ,. ,.0,. ,. ,. ,.0,. ,. ,. ,100.0,NaN,NaN,.  ,.  ,.  ,.  
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/aggregate.at:187"
$at_failed && at_fn_log_failure
$at_traceon; }

    set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_425
#AT_START_426
at_fn_group_banner 426 'aggregate.at:188' \
  "AGGREGATE unsorted data to external file, columnwise missing" "" 69
at_xfail=no
(
  $as_echo "426. $at_setup_line: testing $at_desc ..."
  $at_traceon

  cat >aggregate.data <<'_ATEOF'
2 42
1001
4 41
3112
1112
2661
1221
2771
1331
1441
2881
1551
_ATEOF

  cat >aggregate.sps <<'_ATEOF'
DATA LIST NOTABLE FILE='aggregate.data' /G N 1-2 S 3(a) W 4.
WEIGHT BY w.
MISSING VALUES n(4) s('4').


AGGREGATE OUTFILE='aggregate.sys'  /MISSING=COLUMNWISE
	/DOCUMENT
	/BREAK=g
	/N = n
	/NI = n./
	NU = nu
	/NUI = nu./
	NFGT2 = fgt(n, 2)
	/NFGT2I = fgt.(n, 2)
	/SFGT2 = fgt(s, '2')
	/SFGT2I = fgt.(s, '2')
	/NFIN23 = fin(n, 2, 3)
	/NFIN23I = fin.(n, 2, 3)
	/SFIN23 = fin(s, '2', '3')
	/SFIN23I = fin.(s, '2', '3')
	/NFLT2 = flt(n, 2)
	/NFLT2I = flt.(n, 2)
	/SFLT2 = flt(s, '2')
	/SFLT2I = flt.(s, '2')
	/NFIRST = first(n)
	/NFIRSTI = first.(n)
	/SFIRST = first(s)
	/SFIRSTI = first.(s)
	/NFOUT23 = fout(n, 3, 2)
	/NFOUT23I = fout.(n, 3, 2)
	/SFOUT23 = fout(s, '3', '2')
	/SFOUT23I = fout.(s, '3', '2')
	/NLAST = last(n)
	/NLASTI = last.(n)
	/SLAST = last(s)
	/SLASTI = last.(s)
	/NMAX = max(n)
	/NMAXI = max.(n)
	/SMAX = max(s)
	/SMAXI = max.(s)
	/NMEAN = mean(n)
	/NMEANI = mean.(n)
	/NMIN = min(n)
	/NMINI = min.(n)
	/SMIN = min(s)
	/SMINI = min.(s)
	/NN = n(n)
	/NNI = n.(n)
	/SN = n(s)
	/SNI = n.(s)
	/NNMISS = nmiss(n)
	/NNMISSI = nmiss.(n)
	/SNMISS = nmiss(s)
	/SNMISSI = nmiss.(s)
	/NNU = nu(n)
	/NNUI = nu.(n)
	/SNU = nu(s)
	/SNUI = nu.(s)
	/NNUMISS = numiss(n)
	/NNUMISSI = numiss.(n)
	/SNUMISS = numiss(s)
	/SNUMISSI = numiss.(s)
	/NPGT2 = pgt(n, 2)
	/NPGT2I = pgt.(n, 2)
	/SPGT2 = pgt(s, '2')
	/SPGT2I = pgt.(s, '2')
	/NPIN23 = pin(n, 2, 3)
	/NPIN23I = pin.(n, 2, 3)
	/SPIN23 = pin(s, '2', '3')
	/SPIN23I = pin.(s, '2', '3')
	/NPLT2 = plt(n, 2)
	/NPLT2I = plt.(n, 2)
	/SPLT2 = plt(s, '2')
	/SPLT2I = plt.(s, '2')
	/NPOUT23 = pout(n, 2, 3)
	/NPOUT23I = pout.(n, 2, 3)
	/SPOUT23 = pout(s, '2', '3')
	/SPOUT23I = pout.(s, '2', '3')
	/NMEDIAN = median(n)
	/NMEDIANI = median.(n)
	/NSD = sd(n)
	/NSDI = sd.(n)
	/NSUM = sum(n)
	/NSUMI = sum.(n).
GET FILE='aggregate.sys'.
LIST.
_ATEOF

  { set +x
$as_echo "$at_srcdir/aggregate.at:188: pspp -O format=csv aggregate.sps"
at_fn_check_prepare_trace "aggregate.at:188"
( $at_check_trace; pspp -O format=csv aggregate.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; tee stdout <"$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/aggregate.at:188"
$at_failed && at_fn_log_failure
$at_traceon; }

  { set +x
$as_echo "$at_srcdir/aggregate.at:188: sed 's/^[^:]*:[0-9]*: //' < stdout"
at_fn_check_prepare_trace "aggregate.at:188"
( $at_check_trace; sed 's/^[^:]*:[0-9]*: //' < stdout
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "warning: AGGREGATE: The value arguments passed to the FOUT function are out-of-order.  They will be treated as if they had been specified in the correct order.

warning: AGGREGATE: The value arguments passed to the FOUT function are out-of-order.  They will be treated as if they had been specified in the correct order.

warning: AGGREGATE: The value arguments passed to the FOUT function are out-of-order.  They will be treated as if they had been specified in the correct order.

warning: AGGREGATE: The value arguments passed to the FOUT function are out-of-order.  They will be treated as if they had been specified in the correct order.

Table: Data List
G,N,NI,NU,NUI,NFGT2,NFGT2I,SFGT2,SFGT2I,NFIN23,NFIN23I,SFIN23,SFIN23I,NFLT2,NFLT2I,SFLT2,SFLT2I,NFIRST,NFIRSTI,SFIRST,SFIRSTI,NFOUT23,NFOUT23I,SFOUT23,SFOUT23I,NLAST,NLASTI,SLAST,SLASTI,NMAX,NMAXI,SMAX,SMAXI,NMEAN,NMEANI,NMIN,NMINI,SMIN,SMINI,NN,NNI,SN,SNI,NNMISS,NNMISSI,SNMISS,SNMISSI,NNU,NNUI,SNU,SNUI,NNUMISS,NNUMISSI,SNUMISS,SNUMISSI,NPGT2,NPGT2I,SPGT2,SPGT2I,NPIN23,NPIN23I,SPIN23,SPIN23I,NPLT2,NPLT2I,SPLT2,SPLT2I,NPOUT23,NPOUT23I,SPOUT23,SPOUT23I,NMEDIAN,NMEDIANI,NSD,NSDI,NSUM,NSUMI
1,7.00,7.00,6,6,.   ,.429,.   ,.429,.   ,.286,.   ,.286,.   ,.429,.   ,.429,.,0,,0,.   ,.714,.   ,.714,.,5,,5,.,5,,5,.  ,2.29,.,0,,0,6.00,7.00,6.00,7.00,1.00,.00,1.00,.00,5,6,5,6,1,0,1,0,. ,42.9,. ,42.9,. ,28.6,. ,28.6,. ,42.9,. ,42.9,. ,71.4,. ,71.4,.  ,2.00,.  ,1.80,.  ,16.00
2,5.00,5.00,4,4,.   ,.   ,.   ,1.000,.   ,.   ,.   ,.000,.   ,.   ,.   ,.000,.,.,,4,.   ,.   ,.   ,1.000,.,.,,8,.,.,,8,.  ,.  ,.,.,,4,3.00,3.00,3.00,5.00,2.00,2.00,2.00,.00,3,3,3,4,1,1,1,0,. ,. ,. ,100.0,. ,. ,. ,.0,. ,. ,. ,.0,. ,. ,. ,100.0,.  ,.  ,.  ,.  ,.  ,.  
3,2.00,2.00,1,1,.000,.000,.000,.000,.000,.000,.000,.000,1.000,1.000,1.000,1.000,1,1,1,1,1.000,1.000,1.000,1.000,1,1,1,1,1,1,1,1,1.00,1.00,1,1,1,1,2.00,2.00,2.00,2.00,.00,.00,.00,.00,1,1,1,1,0,0,0,0,.0,.0,.0,.0,.0,.0,.0,.0,100.0,100.0,100.0,100.0,100.0,100.0,100.0,100.0,1.00,1.00,.00,.00,2.00,2.00
4,1.00,1.00,1,1,.   ,.   ,.   ,1.000,.   ,.   ,.   ,.000,.   ,.   ,.   ,.000,.,.,,4,.   ,.   ,.   ,1.000,.,.,,4,.,.,,4,.  ,.  ,.,.,,4,.00,.00,.00,1.00,1.00,1.00,1.00,.00,0,0,0,1,1,1,1,0,. ,. ,. ,100.0,. ,. ,. ,.0,. ,. ,. ,.0,. ,. ,. ,100.0,.  ,.  ,.  ,.  ,.  ,.  
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/aggregate.at:188"
$at_failed && at_fn_log_failure
$at_traceon; }

    set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_426
#AT_START_427
at_fn_group_banner 427 'aggregate.at:190' \
  "AGGREGATE crash with MAX function" "              " 69
at_xfail=no
(
  $as_echo "427. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >aggregate.sps <<'_ATEOF'
DATA LIST LIST /X (F8.2) Y (a25).

BEGIN DATA.
87.50 foo
87.34 bar
1 bar
END DATA.

AGGREGATE OUTFILE=* /BREAK=y /X=MAX(x).
LIST /x y.
_ATEOF

{ set +x
$as_echo "$at_srcdir/aggregate.at:203: pspp -O format=csv aggregate.sps"
at_fn_check_prepare_trace "aggregate.at:203"
( $at_check_trace; pspp -O format=csv aggregate.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Reading free-form data from INLINE.
Variable,Format
X,F8.2
Y,A25

Table: Data List
X,Y
87.34,bar                      
87.50,foo                      
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/aggregate.at:203"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_427
#AT_START_428
at_fn_group_banner 428 'aggregate.at:216' \
  "AGGREGATE crash with invalid syntax" "            " 69
at_xfail=no
(
  $as_echo "428. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >aggregate.sps <<'_ATEOF'
INPUT PROGRAM.
LOOP c=1 TO 20.
  COMPUTE x=UNIFORM(10)
  END CASE.
END LOOP.
END FILE.
END INPUT PROGRAM.

AGGREGATE /BREAK=x .
_ATEOF

{ set +x
$as_echo "$at_srcdir/aggregate.at:228: pspp -O format=csv aggregate.sps"
at_fn_check_prepare_trace "aggregate.at:228"
( $at_check_trace; pspp -O format=csv aggregate.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 1 $at_status "$at_srcdir/aggregate.at:228"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_428
#AT_START_429
at_fn_group_banner 429 'aggregate.at:232' \
  "AGGREGATE mode=addvariables" "                    " 69
at_xfail=no
(
  $as_echo "429. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >addvariables.sps <<'_ATEOF'
data list notable list /x * cn * y *.
begin data.
1 1 2
3 2 3
3 3 4
5 4 6
7 5 8
7 6 9
7 7 20
9 8 11
end data.

aggregate outfile=* mode=addvariables
	/break = x
	/sum = sum(y)
	/mean = mean (y)
	/median = median (y).

list.
_ATEOF


{ set +x
$as_echo "$at_srcdir/aggregate.at:255: pspp -O format=csv addvariables.sps"
at_fn_check_prepare_trace "aggregate.at:255"
( $at_check_trace; pspp -O format=csv addvariables.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
x,cn,y,sum,mean,median
1.00,1.00,2.00,2.00,2.00,2.00
3.00,2.00,3.00,7.00,3.50,3.50
3.00,3.00,4.00,7.00,3.50,3.50
5.00,4.00,6.00,6.00,6.00,6.00
7.00,5.00,8.00,37.00,12.33,9.00
7.00,6.00,9.00,37.00,12.33,9.00
7.00,7.00,20.00,37.00,12.33,9.00
9.00,8.00,11.00,11.00,11.00,11.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/aggregate.at:255"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_429
#AT_START_430
at_fn_group_banner 430 'aggregate.at:271' \
  "AGGREGATE buggy duplicate variables" "            " 69
at_xfail=no
(
  $as_echo "430. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >dup-variables.sps <<'_ATEOF'
DATA LIST NOTABLE LIST /x * .
begin data
1
1
1
1
2
2
2
3
3
3
3
3
3
end data.

AGGREGATE OUTFILE=* MODE=ADDVARIABLES
	/BREAK= x
	/N_BREAK = N.

AGGREGATE OUTFILE=* MODE=ADDVARIABLES
	/BREAK= x
	/N_BREAK = N.
_ATEOF


{ set +x
$as_echo "$at_srcdir/aggregate.at:301: pspp -O format=csv dup-variables.sps"
at_fn_check_prepare_trace "aggregate.at:301"
( $at_check_trace; pspp -O format=csv dup-variables.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "\"dup-variables.sps:24: error: AGGREGATE: Variable name N_BREAK is not unique within the aggregate file dictionary, which contains the aggregate variables and the break variables.\"
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/aggregate.at:301"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_430
#AT_START_431
at_fn_group_banner 431 'autorecode.at:19' \
  "AUTORECODE numbers and short strings" "           " 70
at_xfail=no
(
  $as_echo "431. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >autorecode.sps <<'_ATEOF'
data list /X 1-5(a) Y 7.
begin data.
lasdj 1
asdfk 0
asdfj 2
asdfj 1
asdfk 2
asdfj 9
lajks 9
asdfk 0
asdfk 1
end data.

autorecode x y into A B/descend.

list.
compute Z=trunc(y/2).
autorecode z into W.
list.
_ATEOF

{ set +x
$as_echo "$at_srcdir/autorecode.at:41: pspp -O format=csv autorecode.sps"
at_fn_check_prepare_trace "autorecode.at:41"
( $at_check_trace; pspp -O format=csv autorecode.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Reading 1 record from INLINE.
Variable,Record,Columns,Format
X,1,1-  5,A5
Y,1,7-  7,F1.0

Table: Data List
X,Y,A,B
lasdj,1,1.00,3.00
asdfk,0,3.00,4.00
asdfj,2,4.00,2.00
asdfj,1,4.00,3.00
asdfk,2,3.00,2.00
asdfj,9,4.00,1.00
lajks,9,2.00,1.00
asdfk,0,3.00,4.00
asdfk,1,3.00,3.00

Table: Data List
X,Y,A,B,Z,W
lasdj,1,1.00,3.00,.00,1.00
asdfk,0,3.00,4.00,.00,1.00
asdfj,2,4.00,2.00,1.00,2.00
asdfj,1,4.00,3.00,.00,1.00
asdfk,2,3.00,2.00,1.00,2.00
asdfj,9,4.00,1.00,4.00,3.00
lajks,9,2.00,1.00,4.00,3.00
asdfk,0,3.00,4.00,.00,1.00
asdfk,1,3.00,3.00,.00,1.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/autorecode.at:41"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_431
#AT_START_432
at_fn_group_banner 432 'autorecode.at:75' \
  "AUTORECODE long strings and check the value labels" "" 70
at_xfail=no
(
  $as_echo "432. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >ar.sps <<'_ATEOF'
data list notable list /s (a16) x *.
begin data.
widgets      1
thingummies  2
oojars       3
widgets      4
oojars       5
thingummies  6
oojimiflips  7
end data.

autorecode s into new.

list.

display dictionary.
_ATEOF


{ set +x
$as_echo "$at_srcdir/autorecode.at:95: pspp -O format=csv ar.sps"
at_fn_check_prepare_trace "autorecode.at:95"
( $at_check_trace; pspp -O format=csv ar.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
s,x,new
widgets         ,1.00,4.00
thingummies     ,2.00,3.00
oojars          ,3.00,1.00
widgets         ,4.00,4.00
oojars          ,5.00,1.00
thingummies     ,6.00,3.00
oojimiflips     ,7.00,2.00

Variable,Description,Position
s,Format: A16,1
x,Format: F8.2,2
new,\"Format: F8.2

Value,Label
1.00,oojars
2.00,oojimiflips
3.00,thingummies
4.00,widgets\",3
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/autorecode.at:95"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_432
#AT_START_433
at_fn_group_banner 433 'autorecode.at:121' \
  "AUTORECODE group subcommand" "                    " 70
at_xfail=no
(
  $as_echo "433. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >ar-group.sps <<'_ATEOF'
data list notable list /x * y *.
begin data.
11 10
12 12
13 15
14 11
15 12
16 18
end data.

autorecode
	x y into a b
	/group.

list.
_ATEOF


{ set +x
$as_echo "$at_srcdir/autorecode.at:140: pspp -O format=csv ar-group.sps"
at_fn_check_prepare_trace "autorecode.at:140"
( $at_check_trace; pspp -O format=csv ar-group.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
x,y,a,b
11.00,10.00,2.00,1.00
12.00,12.00,3.00,3.00
13.00,15.00,4.00,6.00
14.00,11.00,5.00,2.00
15.00,12.00,6.00,3.00
16.00,18.00,7.00,8.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/autorecode.at:140"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_433
#AT_START_434
at_fn_group_banner 434 'autorecode.at:155' \
  "AUTORECODE group - string variables" "            " 70
at_xfail=no
(
  $as_echo "434. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >strings.sps <<'_ATEOF'
data list notable list /x (a8) y (a16).
begin data.
fred bert
charlie "         "
delta echo
"      " windows
" "  nothing
end data.


autorecode x y into a b
	/group.

delete variables x y.

list.

_ATEOF


{ set +x
$as_echo "$at_srcdir/autorecode.at:176: pspp -O format=csv strings.sps"
at_fn_check_prepare_trace "autorecode.at:176"
( $at_check_trace; pspp -O format=csv strings.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
a,b
7.00,3.00
4.00,1.00
5.00,6.00
2.00,9.00
2.00,8.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/autorecode.at:176"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_434
#AT_START_435
at_fn_group_banner 435 'autorecode.at:191' \
  "AUTORECODE group vs. strings" "                   " 70
at_xfail=no
(
  $as_echo "435. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >ar-strings.sps <<'_ATEOF'
data list notable list /a (a12) b (a6).
begin data.
one    nine
two    ten
three  eleven
four   nought
end data.

autorecode a b into x y
	/group.

list.
_ATEOF


{ set +x
$as_echo "$at_srcdir/autorecode.at:207: pspp -O format=csv ar-strings.sps"
at_fn_check_prepare_trace "autorecode.at:207"
( $at_check_trace; pspp -O format=csv ar-strings.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
a,b,x,y
one         ,nine  ,5.00,3.00
two         ,ten   ,8.00,6.00
three       ,eleven,7.00,1.00
four        ,nought,2.00,4.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/autorecode.at:207"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_435
#AT_START_436
at_fn_group_banner 436 'autorecode.at:221' \
  "AUTORECODE /blank" "                              " 70
at_xfail=no
(
  $as_echo "436. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >auto-blank.sps <<'_ATEOF'
data list notable list /x (a8) y * z (a16).
begin data.
one   2  fred
two   4  ""
""    4  fred
""    2  charliebrown
three 2  charliebrown
end data.

autorecode variables x y z into a b c  /blank=missing.

list a b c y.
_ATEOF


{ set +x
$as_echo "$at_srcdir/autorecode.at:238: pspp -O format=csv auto-blank.sps"
at_fn_check_prepare_trace "autorecode.at:238"
( $at_check_trace; pspp -O format=csv auto-blank.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
a,b,c,y
1.00,1.00,2.00,2.00
3.00,2.00,.  ,4.00
.  ,2.00,2.00,4.00
.  ,1.00,1.00,2.00
2.00,1.00,1.00,2.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/autorecode.at:238"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_436
#AT_START_437
at_fn_group_banner 437 'autorecode.at:252' \
  "AUTORECODE with TEMPORARY" "                      " 70
at_xfail=no
(
  $as_echo "437. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >autorecode.sps <<'_ATEOF'
data list /X 1-5(a) Y 7.
begin data.
lasdj 1
asdfk 0
asdfj 2
asdfj 1
asdfk 2
asdfj 9
lajks 9
asdfk 0
asdfk 1
end data.

temporary.
select if y > 1.
autorecode x y into A B/descend.
list.
_ATEOF

{ set +x
$as_echo "$at_srcdir/autorecode.at:272: pspp -O format=csv autorecode.sps"
at_fn_check_prepare_trace "autorecode.at:272"
( $at_check_trace; pspp -O format=csv autorecode.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Reading 1 record from INLINE.
Variable,Record,Columns,Format
X,1,1-  5,A5
Y,1,7-  7,F1.0

Table: Data List
X,Y,A,B
lasdj,1,.  ,.  
asdfk,0,2.00,.  
asdfj,2,3.00,2.00
asdfj,1,3.00,.  
asdfk,2,2.00,2.00
asdfj,9,3.00,1.00
lajks,9,1.00,1.00
asdfk,0,2.00,.  
asdfk,1,2.00,.  
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/autorecode.at:272"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_437
#AT_START_438
at_fn_group_banner 438 'autorecode.at:295' \
  "AUTORECODE with /INTO" "                          " 70
at_xfail=no
(
  $as_echo "438. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >autorecode.sps <<'_ATEOF'
data list list notable /x .
begin data.
1
8
-901
4
1
99
8
end data.

autorecode x  /into y.

list.
_ATEOF

{ set +x
$as_echo "$at_srcdir/autorecode.at:312: pspp -O format=csv autorecode.sps"
at_fn_check_prepare_trace "autorecode.at:312"
( $at_check_trace; pspp -O format=csv autorecode.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
x,y
1.00,2.00
8.00,4.00
-901.00,1.00
4.00,3.00
1.00,2.00
99.00,5.00
8.00,4.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/autorecode.at:312"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_438
#AT_START_439
at_fn_group_banner 439 'correlations.at:19' \
  "CORRELATIONS -- unweighted" "                     " 71
at_xfail=no
(
  $as_echo "439. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >correlations.sps <<'_ATEOF'
set format = F11.3.
data list notable list /foo * bar * wiz * bang *.
begin data.
1   0   3   1
3   9 -50   5
3   4   3 203
4  -9   0  -4
98 78 104   2
3  50 -49 200
.   4   4   4
5   3   0   .
end data.

correlations
	variables = foo bar wiz bang
	/print nosig
	/missing = listwise
	.

correlations
	variables = bar wiz
	/print nosig
	/missing = listwise
	.

correlations
	variables = foo bar wiz bang
	/print nosig
	/missing = pairwise
	.
_ATEOF

{ set +x
$as_echo "$at_srcdir/correlations.at:52: pspp -o pspp.csv correlations.sps"
at_fn_check_prepare_trace "correlations.at:52"
( $at_check_trace; pspp -o pspp.csv correlations.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/correlations.at:52"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/correlations.at:53: cat pspp.csv"
at_fn_check_prepare_trace "correlations.at:53"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Correlations
,,foo,bar,wiz,bang
foo,Pearson Correlation,1.000,.802,.890,-.308
,Sig. (2-tailed),,.055,.017,.553
bar,Pearson Correlation,.802,1.000,.519,.118
,Sig. (2-tailed),.055,,.291,.824
wiz,Pearson Correlation,.890,.519,1.000,-.344
,Sig. (2-tailed),.017,.291,,.505
bang,Pearson Correlation,-.308,.118,-.344,1.000
,Sig. (2-tailed),.553,.824,.505,

Table: Correlations
,,bar,wiz
bar,Pearson Correlation,1.000,.497
,Sig. (2-tailed),,.210
wiz,Pearson Correlation,.497,1.000
,Sig. (2-tailed),.210,

Table: Correlations
,,foo,bar,wiz,bang
foo,Pearson Correlation,1.000,.805,.883,-.308
,Sig. (2-tailed),,.029,.008,.553
,N,7,7,7,6
bar,Pearson Correlation,.805,1.000,.497,.164
,Sig. (2-tailed),.029,,.210,.725
,N,7,8,8,7
wiz,Pearson Correlation,.883,.497,1.000,-.337
,Sig. (2-tailed),.008,.210,,.460
,N,7,8,8,7
bang,Pearson Correlation,-.308,.164,-.337,1.000
,Sig. (2-tailed),.553,.725,.460,
,N,6,7,7,7
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/correlations.at:53"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_439
#AT_START_440
at_fn_group_banner 440 'correlations.at:89' \
  "CORRELATIONS -- weighted" "                       " 71
at_xfail=no
(
  $as_echo "440. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >correlations1.sps <<'_ATEOF'
set format = F11.3.
data list notable list /foo * bar * wiz * bang * w *.
begin data.
1   0   3   1  1
3   9 -50   5  2
3   4   3 203  1
4  -9   0  -4  1
98 78 104   2  3
3  50 -49 200  1
end data.

weight by w.

correlations
	variables = foo bar wiz bang
	/statistics=descriptives xprod
	.
_ATEOF

cat >correlations2.sps <<'_ATEOF'
set format = F11.3.
data list notable list /foo * bar * wiz * bang * w *.
begin data.
1   0   3   1  1
3   9 -50   5  1
3   9 -50   5  1
3   4   3 203  1
4  -9   0  -4  1
98 78 104   2  1
98 78 104   2  1
98 78 104   2  1
3  50 -49 200  1
end data.

weight by w.

correlations
	variables = foo bar wiz bang
	/statistics=descriptives xprod
	.
_ATEOF

{ set +x
$as_echo "$at_srcdir/correlations.at:131: pspp -O format=csv correlations1.sps"
at_fn_check_prepare_trace "correlations.at:131"
( $at_check_trace; pspp -O format=csv correlations1.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; tee stdout <"$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/correlations.at:131"
$at_failed && at_fn_log_failure
$at_traceon; }

mv stdout expout
{ set +x
$as_echo "$at_srcdir/correlations.at:133: pspp -O format=csv correlations2.sps"
at_fn_check_prepare_trace "correlations.at:133"
( $at_check_trace; pspp -O format=csv correlations2.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/correlations.at:133"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_440
#AT_START_441
at_fn_group_banner 441 'correlations.at:137' \
  "CORRELATIONS -- non-square" "                     " 71
at_xfail=no
(
  $as_echo "441. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >corr-ns.sps <<'_ATEOF'
set format = F11.3.
data list notable list /foo * bar * wiz *.
begin data.
1 1 6
2 2 5
3 3 4
4 4 3
5 5 2
6 6 1
end data.

correlations
	variables = foo with bar wiz
	.
_ATEOF


{ set +x
$as_echo "$at_srcdir/correlations.at:155: pspp -O format=csv corr-ns.sps"
at_fn_check_prepare_trace "correlations.at:155"
( $at_check_trace; pspp -O format=csv corr-ns.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Correlations
,,bar,wiz
foo,Pearson Correlation,1.000,-1.000
,Sig. (2-tailed),.000,.000
,N,6,6
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/correlations.at:155"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_441
#AT_START_442
at_fn_group_banner 442 'correlations.at:166' \
  "CORRELATIONS -- crash with WITH keyword" "        " 71
at_xfail=no
(
  $as_echo "442. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >correlations.sps <<'_ATEOF'
DATA LIST LIST NOTABLE /a b c d e f g h i.
.
BEGIN DATA.
20 21 17 28 23 4.35 24 19 25
28 18 29 30 23 4.55 17 23 28
47 18 30 30 29 4.35 26 31 31
20 7 19 22 22 4.80 24 16 27
19 12 17 27 22 . 22 14 25
22 9 19 30 33 5 29 30 27
41 16 22 32 23 3.90 26 27 23
18 18 20 26 22 5.80 17 20 39
18 24 25 25 31 5.15 27 27 34
19 22 26 23 37 6 41 32 27
23 12 15 29 25 4.10 21 27 20
21 4 28 37 31 5.65 27 18 42
19 5 17 17 29 3.10 19 16 19
21 17 20 35 31 . 28 30 22
END DATA.

CORRELATIONS VARIABLE=a f b WITH c g h i e d/STATISTICS=DESCRIPTIVES.
_ATEOF

{ set +x
$as_echo "$at_srcdir/correlations.at:189: pspp -o pspp.csv correlations.sps"
at_fn_check_prepare_trace "correlations.at:189"
( $at_check_trace; pspp -o pspp.csv correlations.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/correlations.at:189"
$at_failed && at_fn_log_failure
$at_traceon; }

# Check the output, ignoring the actual correlations values since
# they look pretty nonsensical to me for this input (they include NaNs).
{ set +x
$as_echo "$at_srcdir/correlations.at:192: sed '/a,Pearson/,\$s/,\\([^,]*\\),.*/,\\1,.../' pspp.csv"
at_fn_check_prepare_dynamic "sed '/a,Pearson/,$s/,\\([^,]*\\),.*/,\\1,.../' pspp.csv" "correlations.at:192"
( $at_check_trace; sed '/a,Pearson/,$s/,\([^,]*\),.*/,\1,.../' pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Descriptive Statistics
,Mean,Std. Deviation,N
a,24.00,8.93,14.00
f,4.73,.85,12.00
b,14.50,6.41,14.00
c,21.71,4.98,14.00
g,24.86,6.09,14.00
h,23.57,6.30,14.00
i,27.79,6.73,14.00
e,27.21,4.95,14.00
d,27.93,5.23,14.00

Table: Correlations
,,c,g,h,i,e,d
a,Pearson Correlation,...
,Sig. (2-tailed),...
,N,...
f,Pearson Correlation,...
,Sig. (2-tailed),...
,N,...
b,Pearson Correlation,...
,Sig. (2-tailed),...
,N,...
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/correlations.at:192"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_442
#AT_START_443
at_fn_group_banner 443 'correlations.at:222' \
  "CORRELATIONS -- incorrect subtable selection" "   " 71
at_xfail=no
(
  $as_echo "443. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >correlations.sps <<'_ATEOF'
set format = F12.4.
set decimal = dot.
data list notable list /var1 var2 var3 var4 var5 *.
begin data.
7,6,9,2,3
9,12,8,5,8
8,9,7,8,6
8,8,9,10,8
7,6,4,5,3
7,9,8,2,1
9,8,11,,10
8,7,6,,5
6,7,6,,8
6,,3,,4
6,,7,3,3
5,4,2,7,8
9,8,6,11,10
5,6,2,2,4
8,7,6,8,7
10,13,8,12,10
7,8,7,11,2
8,7,7,9,6
10,11,11,8,1
5,8,6,9,9
8,7,5,5,6
5,7,2,1,8
9,8,8,13,6
5,8,5,6,4
,7,5,4,5
,8,4,4,3
,6,4,9,5
8,11,9,12,3
9,11,8,10,6
10,10,7,8,1
6,6,3,8,9
10,9,7,12,2
6,8,,7,4
6,8,3,2,9
7,8,8,2,9
5,6,5,5,5
9,9,7,7,5
9,10,11,7,8
8,11,9,3,3
5,4,4,0,5
9,9,11,14,2
5,6,2,4,4
8,8,7,4,1
9,9,8,14,
6,8,7,2,
10,9,9,6,
8,8,10,9,
7,8,4,12,
6,6,6,7,1
5,7,7,4,10
9,10,10,13,4
9,11,9,8,7
10,13,12,6,8
8,11,6,8,5
7,8,7,12,2
6,7,4,1,10
5,4,5,6,10
7,8,6,12,10
6,5,3,9,2
7,8,8,7,2
5,4,4,9,8
5,7,6,3,9
10,10,9,13,1
8,10,9,5,4
8,9,8,8,7
7,9,9,6,7
10,9,7,12,6
10,13,12,12,4
7,10,9,7,2
6,8,7,11,6
8,11,5,13,2
7,10,6,12,8
10,10,9,7,9
9,12,6,7,10
6,6,8,2,9
10,9,12,13,10
8,9,8,3,6
8,7,6,4,10
8,7,10,12,2
7,6,8,2,7
8,11,6,9,4
6,6,7,8,2
6,7,3,11,4
5,6,3,0,5
10,10,11,15,6
5,4,7,6,8
5,4,4,1,3
6,9,8,1,6
10,11,10,15,8
7,10,4,11,7
9,12,8,6,3
10,10,11,15,2
10,9,9,15,3
6,6,8,5,1
5,7,7,0,3
9,8,10,6,8
9,8,11,11,4
8,10,7,3,4
7,8,7,3,3
8,9,10,13,8
end data.

CORRELATION
	/VARIABLES =  var1 var2 var3 WITH var4 var5
	/PRINT = TWOTAIL NOSIG.

CORRELATION
	/VARIABLES =  var3 var4 var5 WITH var1 var2
	/PRINT = TWOTAIL NOSIG.

_ATEOF


{ set +x
$as_echo "$at_srcdir/correlations.at:340: pspp -O format=csv  correlations.sps"
at_fn_check_prepare_trace "correlations.at:340"
( $at_check_trace; pspp -O format=csv  correlations.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Correlations
,,var4,var5
var1,Pearson Correlation,.5693,-.0519
,Sig. (2-tailed),.000,.623
,N,93,92
var2,Pearson Correlation,.3792,-.0407
,Sig. (2-tailed),.000,.698
,N,95,93
var3,Pearson Correlation,.3699,-.0543
,Sig. (2-tailed),.000,.603
,N,95,94

Table: Correlations
,,var1,var2
var3,Pearson Correlation,.6964,.5615
,Sig. (2-tailed),.000,.000
,N,96,97
var4,Pearson Correlation,.5693,.3792
,Sig. (2-tailed),.000,.000
,N,93,95
var5,Pearson Correlation,-.0519,-.0407
,Sig. (2-tailed),.623,.698
,N,92,93
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/correlations.at:340"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_443
#AT_START_444
at_fn_group_banner 444 'correlations.at:370' \
  "CORRELATIONS -- empty dataset" "                  " 71
at_xfail=no
(
  $as_echo "444. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >correlations.sps <<'_ATEOF'
data list list /a b c q g *.
CORRELATIONS 'VARIABLES = a b.
_ATEOF


{ set +x
$as_echo "$at_srcdir/correlations.at:377: pspp -o pspp.csv correlations.sps"
at_fn_check_prepare_trace "correlations.at:377"
( $at_check_trace; pspp -o pspp.csv correlations.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 1 $at_status "$at_srcdir/correlations.at:377"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_444
#AT_START_445
at_fn_group_banner 445 'correlations.at:382' \
  "CORRELATIONS -- empty dataset 2" "                " 71
at_xfail=no
(
  $as_echo "445. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >correlations.sps <<'_ATEOF'
data list notable list /foo * bar * wiz bang *.
begin data.
 1     00      3           .
 3     9     -50           .
98    78     104           .
 .     4       4           .
 5     3       0           .
end data.

correlations
        variables = foo bar wiz bang
        /missing = listwise
        .
_ATEOF


{ set +x
$as_echo "$at_srcdir/correlations.at:400: pspp -O format=csv correlations.sps"
at_fn_check_prepare_trace "correlations.at:400"
( $at_check_trace; pspp -O format=csv correlations.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "correlations.sps:13: error: CORRELATIONS: The data for the chosen variables are all missing or empty.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/correlations.at:400"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_445
#AT_START_446
at_fn_group_banner 446 'crosstabs.at:19' \
  "CROSSTABS integer mode crash" "                   " 72
at_xfail=no
(
  $as_echo "446. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >crosstabs.sps <<'_ATEOF'
DATA LIST LIST /A * B * X * Y * .
BEGIN DATA.
2 3 4 5
END DATA.

CROSSTABS VARIABLES X (1,7) Y (1,7) /TABLES X BY Y.
_ATEOF

{ set +x
$as_echo "$at_srcdir/crosstabs.at:28: pspp -O format=csv crosstabs.sps"
at_fn_check_prepare_trace "crosstabs.at:28"
( $at_check_trace; pspp -O format=csv crosstabs.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Reading free-form data from INLINE.
Variable,Format
A,F8.0
B,F8.0
X,F8.0
Y,F8.0

Table: Summary.
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
X * Y,1,100.0%,0,0.0%,1,100.0%

Table: X * Y [count].
,Y,,,,,,,
X,1.00,2.00,3.00,4.00,5.00,6.00,7.00,Total
1.00,.00,.00,.00,.00,.00,.00,.00,.00
2.00,.00,.00,.00,.00,.00,.00,.00,.00
3.00,.00,.00,.00,.00,.00,.00,.00,.00
4.00,.00,.00,.00,.00,1.00,.00,.00,1.00
5.00,.00,.00,.00,.00,.00,.00,.00,.00
6.00,.00,.00,.00,.00,.00,.00,.00,.00
7.00,.00,.00,.00,.00,.00,.00,.00,.00
Total,.00,.00,.00,.00,1.00,.00,.00,1.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/crosstabs.at:28"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_446
#AT_START_447
at_fn_group_banner 447 'crosstabs.at:57' \
  "CROSSTABS integer mode crash 2" "                 " 72
at_xfail=no
(
  $as_echo "447. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >crosstabs.sps <<'_ATEOF'
DATA LIST lIST /x y.
BEGIN DATA.
4 5
END DATA.

CROSSTABS
        VARIABLES x (1,3) y (1,7)
      /TABLES x BY y.
_ATEOF

{ set +x
$as_echo "$at_srcdir/crosstabs.at:68: pspp -O format=csv crosstabs.sps"
at_fn_check_prepare_trace "crosstabs.at:68"
( $at_check_trace; pspp -O format=csv crosstabs.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Reading free-form data from INLINE.
Variable,Format
x,F8.0
y,F8.0

Table: Summary.
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
x * y,0,0.0%,1,100.0%,1,100.0%
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/crosstabs.at:68"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_447
#AT_START_448
at_fn_group_banner 448 'crosstabs.at:83' \
  "CROSSTABS long string crash" "                    " 72
at_xfail=no
(
  $as_echo "448. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >crosstabs.sps <<'_ATEOF'
data list list /x * y (a18).

begin data.

   1. 'zero none'

1 'one unity'
2 'two duality'
3 'three lots'
end data.

CROSSTABS /TABLES = x BY y.
_ATEOF

{ set +x
$as_echo "$at_srcdir/crosstabs.at:98: pspp -o - -O format=csv crosstabs.sps"
at_fn_check_prepare_trace "crosstabs.at:98"
( $at_check_trace; pspp -o - -O format=csv crosstabs.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Reading free-form data from INLINE.
Variable,Format
x,F8.0
y,A18

\"crosstabs.sps:4: warning: Missing value(s) for all variables from x onward.  These will be filled with the system-missing value or blanks, as appropriate.\"

\"crosstabs.sps:6: warning: Missing value(s) for all variables from x onward.  These will be filled with the system-missing value or blanks, as appropriate.\"

Table: Summary.
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
x * y,4,66.7%,2,33.3%,6,100.0%

Table: x * y [count].
,y,,,,
x,one unity         ,three lots        ,two duality       ,zero none         ,Total
1.00,1.00,.00,.00,1.00,2.00
2.00,.00,.00,1.00,.00,1.00
3.00,.00,1.00,.00,.00,1.00
Total,1.00,1.00,1.00,1.00,4.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/crosstabs.at:98"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_448
#AT_START_449
at_fn_group_banner 449 'crosstabs.at:124' \
  "CROSSTABS crash" "                                " 72
at_xfail=no
(
  $as_echo "449. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >crosstabs.sps <<'_ATEOF'
DATA LIST FIXED
     / x   1-2
       y   3
       z   4.

BEGIN DATA.
0111
0222
0311
0412
0521
0612
0711
0811
0912
END DATA.

LIST.


CROSSTABS TABLES  y by z.
_ATEOF

{ set +x
$as_echo "$at_srcdir/crosstabs.at:148: pspp -O format=csv crosstabs.sps"
at_fn_check_prepare_trace "crosstabs.at:148"
( $at_check_trace; pspp -O format=csv crosstabs.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Reading 1 record from INLINE.
Variable,Record,Columns,Format
x,1,1-  2,F2.0
y,1,3-  3,F1.0
z,1,4-  4,F1.0

Table: Data List
x,y,z
1,1,1
2,2,2
3,1,1
4,1,2
5,2,1
6,1,2
7,1,1
8,1,1
9,1,2

Table: Summary.
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
y * z,9,100.0%,0,0.0%,9,100.0%

Table: y * z [count].
,z,,
y,1,2,Total
1,4.00,3.00,7.00
2,1.00,1.00,2.00
Total,5.00,4.00,9.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/crosstabs.at:148"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_449
#AT_START_450
at_fn_group_banner 450 'crosstabs.at:184' \
  "CROSSTABS chi-square crash" "                     " 72
at_xfail=no
(
  $as_echo "450. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >crosstabs.sps <<'_ATEOF'
DATA LIST LIST /x * y *.
BEGIN DATA.
2 2
3 1
4 2
4 1
END DATA.

CROSSTABS
        /TABLES= x BY y
        /STATISTICS=CHISQ.
_ATEOF

{ set +x
$as_echo "$at_srcdir/crosstabs.at:198: pspp -O format=csv crosstabs.sps"
at_fn_check_prepare_trace "crosstabs.at:198"
( $at_check_trace; pspp -O format=csv crosstabs.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Reading free-form data from INLINE.
Variable,Format
x,F8.0
y,F8.0

Table: Summary.
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
x * y,4,100.0%,0,0.0%,4,100.0%

Table: x * y [count].
,y,,
x,1.00,2.00,Total
2.00,.00,1.00,1.00
3.00,1.00,.00,1.00
4.00,1.00,1.00,2.00
Total,2.00,2.00,4.00

Table: Chi-square tests.
Statistic,Value,df,Asymp. Sig. (2-tailed)
Pearson Chi-Square,2.00,2,.368
Likelihood Ratio,2.77,2,.250
Linear-by-Linear Association,.27,1,.602
N of Valid Cases,4,,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/crosstabs.at:198"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_450
#AT_START_451
at_fn_group_banner 451 'crosstabs.at:228' \
  "CROSSTABS crash with SPLIT FILE" "                " 72
at_xfail=no
(
  $as_echo "451. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >crosstabs.sps <<'_ATEOF'
data list notable / v0 to v2 1-6 (A)
begin data.
a c e
a c e
a c e
a d e
a d f
b d f
b d f
b c f
b d e
a c f
end data.
SORT CASES BY v0.
SPLIT FILE SEPARATE BY v0.

CROSSTABS
    /TABLES= v1 BY v2
    /FORMAT=AVALUE TABLES PIVOT
    /STATISTICS=CHISQ
    /CELLS=COUNT ROW COLUMN TOTAL.
_ATEOF


{ set +x
$as_echo "$at_srcdir/crosstabs.at:253: pspp -O format=csv crosstabs.sps"
at_fn_check_prepare_trace "crosstabs.at:253"
( $at_check_trace; pspp -O format=csv crosstabs.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Variable,Value,Label
v0,a ,

Table: Summary.
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
v1 * v2,6,100.0%,0,0.0%,6,100.0%

\"Table: v1 * v2 [count, row %, column %, total %].\"
,v2,,
v1,e ,f ,Total
c ,3.00,1.00,4.00
,75.00%,25.00%,100.00%
,75.00%,50.00%,66.67%
,50.00%,16.67%,66.67%
d ,1.00,1.00,2.00
,50.00%,50.00%,100.00%
,25.00%,50.00%,33.33%
,16.67%,16.67%,33.33%
Total,4.00,2.00,6.00
,66.67%,33.33%,100.00%
,100.00%,100.00%,100.00%
,66.67%,33.33%,100.00%

Table: Chi-square tests.
Statistic,Value,df,Asymp. Sig. (2-tailed),Exact Sig. (2-tailed),Exact Sig. (1-tailed)
Pearson Chi-Square,.38,1,.540,,
Likelihood Ratio,.37,1,.545,,
Fisher's Exact Test,,,,1.000,.600
Continuity Correction,.00,1,1.000,,
N of Valid Cases,6,,,,

Variable,Value,Label
v0,b ,

Table: Summary.
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
v1 * v2,4,100.0%,0,0.0%,4,100.0%

\"Table: v1 * v2 [count, row %, column %, total %].\"
,v2,,
v1,e ,f ,Total
c ,.00,1.00,1.00
,.00%,100.00%,100.00%
,.00%,33.33%,25.00%
,.00%,25.00%,25.00%
d ,1.00,2.00,3.00
,33.33%,66.67%,100.00%
,100.00%,66.67%,75.00%
,25.00%,50.00%,75.00%
Total,1.00,3.00,4.00
,25.00%,75.00%,100.00%
,100.00%,100.00%,100.00%
,25.00%,75.00%,100.00%

Table: Chi-square tests.
Statistic,Value,df,Asymp. Sig. (2-tailed),Exact Sig. (2-tailed),Exact Sig. (1-tailed)
Pearson Chi-Square,.44,1,.505,,
Likelihood Ratio,.68,1,.410,,
Fisher's Exact Test,,,,1.000,.750
Continuity Correction,.00,1,1.000,,
N of Valid Cases,4,,,,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/crosstabs.at:253"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_451
#AT_START_452
at_fn_group_banner 452 'crosstabs.at:323' \
  "3-way CROSSTABS" "                                " 72
at_xfail=no
(
  $as_echo "452. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >crosstabs.sps <<'_ATEOF'
DATA LIST FIXED
     / x   1-2
       y   3
       z   4.

BEGIN DATA.
0111
0222
0311
0412
0521
0612
0711
0811
0912
END DATA.

LIST.


CROSSTABS TABLES  x BY y BY z/STATISTICS=ALL.
_ATEOF

{ set +x
$as_echo "$at_srcdir/crosstabs.at:347: pspp -O format=csv crosstabs.sps"
at_fn_check_prepare_trace "crosstabs.at:347"
( $at_check_trace; pspp -O format=csv crosstabs.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Reading 1 record from INLINE.
Variable,Record,Columns,Format
x,1,1-  2,F2.0
y,1,3-  3,F1.0
z,1,4-  4,F1.0

Table: Data List
x,y,z
1,1,1
2,2,2
3,1,1
4,1,2
5,2,1
6,1,2
7,1,1
8,1,1
9,1,2

Table: Summary.
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
x * y * z,9,100.0%,0,0.0%,9,100.0%

Table: x * y * z [count].
z,,y,,
,x,1,2,Total
1,1,1.00,.00,1.00
,3,1.00,.00,1.00
,5,.00,1.00,1.00
,7,1.00,.00,1.00
,8,1.00,.00,1.00
Total,,4.00,1.00,5.00
2,2,.00,1.00,1.00
,4,1.00,.00,1.00
,6,1.00,.00,1.00
,9,1.00,.00,1.00
Total,,3.00,1.00,4.00

Table: Chi-square tests.
z,Statistic,Value,df,Asymp. Sig. (2-tailed)
1,Pearson Chi-Square,5.00,4,.287
,Likelihood Ratio,5.00,4,.287
,Linear-by-Linear Association,.01,1,.938
,N of Valid Cases,5,,
2,Pearson Chi-Square,4.00,3,.261
,Likelihood Ratio,4.50,3,.212
,Linear-by-Linear Association,1.58,1,.209
,N of Valid Cases,4,,

Table: Symmetric measures.
z,Category,Statistic,Value,Asymp. Std. Error,Approx. T,Approx. Sig.
1,Nominal by Nominal,Phi,1.00,,,
,,Cramer's V,1.00,,,
,,Contingency Coefficient,.71,,,
,Ordinal by Ordinal,Kendall's tau-b,.00,.32,.00,
,,Kendall's tau-c,.00,.32,.00,
,,Gamma,.00,.50,.00,
,,Spearman Correlation,.00,.22,.00,
,Interval by Interval,Pearson's R,.04,.22,.07,
,N of Valid Cases,,5,,,
2,Nominal by Nominal,Phi,1.00,,,
,,Cramer's V,1.00,,,
,,Contingency Coefficient,.71,,,
,Ordinal by Ordinal,Kendall's tau-b,-.71,.20,-1.73,
,,Kendall's tau-c,-.75,.43,-1.73,
,,Gamma,-1.00,.00,-1.73,
,,Spearman Correlation,-.77,.17,-1.73,
,Interval by Interval,Pearson's R,-.73,.18,-1.49,
,N of Valid Cases,,4,,,

Table: Directional measures.
z,Category,Statistic,Type,Value,Asymp. Std. Error,Approx. T,Approx. Sig.
1,Nominal by Nominal,Lambda,Symmetric,.40,.28,1.12,.264
,,,x Dependent,.25,.22,1.12,.264
,,,y Dependent,1.00,.00,1.12,.264
,,Goodman and Kruskal tau,x Dependent,.25,,,.   
,,,y Dependent,1.00,,,.   
,,Uncertainty Coefficient,Symmetric,.47,.18,,.   
,,,x Dependent,.31,.15,2.02,.   
,,,y Dependent,1.00,.00,2.02,.   
,Ordinal by Ordinal,Somers' d,Symmetric,.00,,.00,1.000
,,,x Dependent,.00,.50,.00,1.000
,,,y Dependent,.00,.20,.00,1.000
,Nominal by Interval,Eta,x Dependent,.04,,,.   
,,,y Dependent,1.00,,,.   
2,Nominal by Nominal,Lambda,Symmetric,.50,.25,2.00,.046
,,,x Dependent,.33,.27,1.15,.248
,,,y Dependent,1.00,.00,1.15,.248
,,Goodman and Kruskal tau,x Dependent,.33,,,.   
,,,y Dependent,1.00,,,.   
,,Uncertainty Coefficient,Symmetric,.58,.17,,.   
,,,x Dependent,.41,.17,2.36,.   
,,,y Dependent,1.00,.00,2.36,.   
,Ordinal by Ordinal,Somers' d,Symmetric,-.67,,-1.73,.083
,,,x Dependent,-1.00,.00,-1.73,.083
,,,y Dependent,-.50,.29,-1.73,.083
,Nominal by Interval,Eta,x Dependent,.73,,,.   
,,,y Dependent,1.00,,,.   
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/crosstabs.at:347"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_452
#AT_START_453
at_fn_group_banner 453 'crosstabs.at:450' \
  "CROSSTABS rounding weights with COUNT" "          " 72
at_xfail=no
(
  $as_echo "453. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >crosstabs.sps <<'_ATEOF'
DATA LIST NOTABLE LIST /x y w.
BEGIN DATA.
1 1 1.4
1 1 1.4
1 2 1.6
1 2 1.6
2 1 1
2 2 2
END DATA.
WEIGHT BY w.

* These should have the same effect (no rounding).
CROSSTABS /TABLES x BY y.
CROSSTABS /TABLES x BY y /COUNT ASIS.

* Round input weights.
CROSSTABS /TABLES x BY y /COUNT CASE ROUND.
CROSSTABS /TABLES x BY y /COUNT CASE TRUNCATE.

* Round cell weights.
CROSSTABS /TABLES x BY y /COUNT.
CROSSTABS /TABLES x BY y /COUNT TRUNCATE.
_ATEOF


{ set +x
$as_echo "$at_srcdir/crosstabs.at:476: pspp -O format=csv crosstabs.sps"
at_fn_check_prepare_trace "crosstabs.at:476"
( $at_check_trace; pspp -O format=csv crosstabs.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Summary.
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
x * y,9.00,100.0%,.00,0.0%,9.00,100.0%

Table: x * y [count].
,y,,
x,1.00,2.00,Total
1.00,2.80,3.20,6.00
2.00,1.00,2.00,3.00
Total,3.80,5.20,9.00

Table: Summary.
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
x * y,9.00,100.0%,.00,0.0%,9.00,100.0%

Table: x * y [count].
,y,,
x,1.00,2.00,Total
1.00,2.80,3.20,6.00
2.00,1.00,2.00,3.00
Total,3.80,5.20,9.00

Table: Summary.
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
x * y,9.00,100.0%,.00,0.0%,9.00,100.0%

Table: x * y [count].
,y,,
x,1.00,2.00,Total
1.00,2.00,4.00,6.00
2.00,1.00,2.00,3.00
Total,3.00,6.00,9.00

Table: Summary.
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
x * y,7.00,100.0%,.00,0.0%,7.00,100.0%

Table: x * y [count].
,y,,
x,1.00,2.00,Total
1.00,2.00,2.00,4.00
2.00,1.00,2.00,3.00
Total,3.00,4.00,7.00

Table: Summary.
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
x * y,9.00,100.0%,.00,0.0%,9.00,100.0%

Table: x * y [count].
,y,,
x,1.00,2.00,Total
1.00,3.00,3.00,6.00
2.00,1.00,2.00,3.00
Total,4.00,5.00,9.00

Table: Summary.
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
x * y,8.00,100.0%,.00,0.0%,8.00,100.0%

Table: x * y [count].
,y,,
x,1.00,2.00,Total
1.00,2.00,3.00,5.00
2.00,1.00,2.00,3.00
Total,3.00,5.00,8.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/crosstabs.at:476"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_453
#AT_START_454
at_fn_group_banner 454 'crosstabs.at:557' \
  "CROSSTABS descending sort order" "                " 72
at_xfail=no
(
  $as_echo "454. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >crosstabs-descending.sps <<'_ATEOF'
DATA LIST NOTABLE LIST /x * y *.
BEGIN DATA.
2 2
2 2
3 1
4 1
3 2
3 2
END DATA.

CROSSTABS
        /TABLES= x BY y
	/FORMAT = DVALUE.
_ATEOF


{ set +x
$as_echo "$at_srcdir/crosstabs.at:574: pspp -O format=csv crosstabs-descending.sps"
at_fn_check_prepare_trace "crosstabs.at:574"
( $at_check_trace; pspp -O format=csv crosstabs-descending.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Summary.
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
x * y,6,100.0%,0,0.0%,6,100.0%

Table: x * y [count].
,y,,
x,2.00,1.00,Total
4.00,.00,1.00,1.00
3.00,2.00,1.00,3.00
2.00,2.00,.00,2.00
Total,4.00,2.00,6.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/crosstabs.at:574"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_454
#AT_START_455
at_fn_group_banner 455 'crosstabs.at:592' \
  "CROSSTABS crash when all cases missing" "         " 72
at_xfail=no
(
  $as_echo "455. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >crosstabs.sps <<'_ATEOF'
DATA LIST LIST NOTABLE /X1 X2.
BEGIN DATA.
1 1
END DATA.

MISSING VALUES x2 (1).

CROSSTABS /TABLES= X1 by X2.
_ATEOF

{ set +x
$as_echo "$at_srcdir/crosstabs.at:603: pspp -O format=csv crosstabs.sps"
at_fn_check_prepare_trace "crosstabs.at:603"
( $at_check_trace; pspp -O format=csv crosstabs.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Summary.
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
X1 * X2,0,0.0%,1,100.0%,1,100.0%

crosstabs.sps:8: warning: CROSSTABS: Crosstabulation X1 * X2 contained no non-missing cases.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/crosstabs.at:603"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_455
#AT_START_456
at_fn_group_banner 456 'crosstabs.at:617' \
  "CROSSTABS Fisher Exact Test" "                    " 72
at_xfail=no
(
  $as_echo "456. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >fisher-exact.sps <<'_ATEOF'
SET FORMAT F12.3.
SET DECIMAL DOT.

DATA LIST notable LIST  /schtyp (F9.2) female (F9.2) ses (F9.2) .
begin data.
      1.00       .00      1.00
      1.00      1.00      2.00
      1.00       .00      3.00
      1.00       .00      3.00
      1.00       .00      2.00
      1.00       .00      2.00
      1.00       .00      2.00
      1.00       .00      2.00
      1.00       .00      2.00
      1.00       .00      2.00
      1.00       .00      2.00
      1.00       .00      2.00
      1.00       .00      3.00
      1.00       .00      3.00
      1.00       .00      1.00
      1.00       .00      1.00
      1.00       .00      3.00
      2.00       .00      2.00
      1.00       .00      3.00
      1.00       .00      2.00
      1.00       .00      2.00
      1.00       .00      2.00
      1.00       .00      2.00
      1.00       .00      3.00
      1.00       .00      2.00
      1.00       .00      2.00
      1.00       .00      3.00
      2.00       .00      2.00
      2.00       .00      3.00
      1.00       .00      1.00
      1.00       .00      2.00
      1.00       .00      3.00
      2.00       .00      3.00
      1.00       .00      2.00
      2.00       .00      3.00
      1.00       .00      3.00
      2.00       .00      2.00
      1.00       .00      3.00
      1.00       .00      1.00
      1.00       .00      2.00
      2.00       .00      2.00
      2.00       .00      2.00
      1.00       .00      2.00
      1.00       .00      1.00
      1.00       .00      3.00
      1.00       .00      1.00
      1.00       .00      3.00
      1.00       .00      2.00
      2.00       .00      2.00
      1.00       .00      2.00
      1.00       .00      2.00
      1.00       .00      3.00
      1.00       .00      2.00
      2.00       .00      2.00
      1.00       .00      2.00
      1.00       .00      3.00
      1.00       .00      1.00
      1.00       .00      2.00
      2.00       .00      2.00
      1.00       .00      2.00
      2.00       .00      2.00
      1.00       .00      3.00
      1.00       .00      1.00
      1.00       .00      2.00
      2.00       .00      3.00
      1.00       .00      2.00
      1.00       .00      2.00
      1.00       .00      1.00
      1.00       .00      1.00
      1.00       .00      2.00
      1.00       .00      2.00
      1.00       .00      3.00
      1.00       .00      2.00
      1.00       .00      2.00
      1.00       .00      2.00
      1.00       .00      1.00
      1.00       .00      3.00
      1.00       .00      3.00
      1.00       .00      2.00
      1.00       .00      3.00
      1.00       .00      3.00
      1.00       .00      1.00
      2.00       .00      2.00
      1.00       .00      1.00
      1.00       .00      2.00
      1.00       .00      3.00
      1.00       .00      3.00
      1.00       .00      3.00
      1.00       .00      2.00
      1.00       .00      3.00
      1.00       .00      2.00
      1.00       .00      1.00
      1.00      1.00      3.00
      1.00      1.00      1.00
      1.00      1.00      1.00
      1.00      1.00      1.00
      1.00      1.00      2.00
      1.00      1.00      3.00
      1.00      1.00      1.00
      2.00      1.00      3.00
      1.00      1.00      3.00
      1.00      1.00      3.00
      1.00      1.00      1.00
      1.00      1.00      3.00
      1.00      1.00      2.00
      1.00      1.00      2.00
      1.00      1.00      3.00
      1.00      1.00      1.00
      2.00      1.00      1.00
      2.00      1.00      3.00
      1.00      1.00      2.00
      1.00      1.00      1.00
      1.00      1.00      3.00
      1.00      1.00      1.00
      2.00      1.00      3.00
      1.00      1.00      2.00
      1.00      1.00      3.00
      1.00      1.00      3.00
      1.00      1.00      1.00
      1.00      1.00      1.00
      2.00      1.00      1.00
      1.00      1.00      2.00
      1.00      1.00      2.00
      1.00      1.00      2.00
      1.00      1.00      1.00
      1.00      1.00      3.00
      1.00      1.00      2.00
      1.00      1.00      2.00
      1.00      1.00      3.00
      1.00      1.00      1.00
      1.00      1.00      2.00
      1.00      1.00      1.00
      1.00      1.00      2.00
      1.00      1.00      2.00
      1.00      1.00      1.00
      1.00      1.00      3.00
      2.00      1.00      2.00
      1.00      1.00      2.00
      1.00      1.00      2.00
      2.00      1.00      2.00
      1.00      1.00      1.00
      1.00      1.00      3.00
      1.00      1.00      2.00
      1.00      1.00      2.00
      1.00      1.00      2.00
      2.00      1.00      3.00
      1.00      1.00      2.00
      2.00      1.00      2.00
      1.00      1.00      1.00
      1.00      1.00      1.00
      1.00      1.00      1.00
      1.00      1.00      3.00
      1.00      1.00      2.00
      1.00      1.00      2.00
      1.00      1.00      2.00
      1.00      1.00      2.00
      1.00      1.00      2.00
      1.00      1.00      2.00
      1.00      1.00      2.00
      1.00      1.00      3.00
      1.00      1.00      1.00
      1.00      1.00      2.00
      2.00      1.00      3.00
      1.00      1.00      1.00
      1.00      1.00      2.00
      1.00      1.00      1.00
      1.00      1.00      2.00
      1.00      1.00      1.00
      2.00      1.00      2.00
      1.00      1.00      1.00
      1.00      1.00      1.00
      1.00      1.00      2.00
      1.00      1.00      3.00
      1.00      1.00      3.00
      1.00      1.00      1.00
      1.00      1.00      1.00
      1.00      1.00      2.00
      1.00      1.00      2.00
      1.00      1.00      3.00
      1.00      1.00      1.00
      1.00      1.00      2.00
      2.00      1.00      2.00
      1.00      1.00      3.00
      1.00      1.00      2.00
      1.00      1.00      3.00
      1.00      1.00      1.00
      1.00      1.00      2.00
      1.00      1.00      2.00
      2.00      1.00      3.00
      1.00      1.00      1.00
      1.00      1.00      1.00
      2.00      1.00      3.00
      2.00      1.00      2.00
      1.00      1.00      3.00
      2.00      1.00      2.00
      2.00      1.00      2.00
      1.00      1.00      2.00
      2.00      1.00      2.00
      1.00      1.00      2.00
      1.00      1.00      3.00
end data.

VARIABLE LABEL schtyp 'type of school'.
ADD VALUE LABELS female 0 male 1 female.
ADD VALUE LABELS ses 1 low 2 middle 3 high.
ADD VALUE LABELS schtyp 1 public 2 private.

crosstabs /tables = schtyp by female /statistic = chisq.
crosstabs /tables = female by ses  /statistic = chisq.
_ATEOF


{ set +x
$as_echo "$at_srcdir/crosstabs.at:836: pspp -O format=csv fisher-exact.sps"
at_fn_check_prepare_trace "crosstabs.at:836"
( $at_check_trace; pspp -O format=csv fisher-exact.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Summary.
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
type of school * female,200,100.0%,0,0.0%,200,100.0%

Table: type of school * female [count].
,female,,
type of school,male,female,Total
public,77.000,91.000,168.000
private,14.000,18.000,32.000
Total,91.000,109.000,200.000

Table: Chi-square tests.
Statistic,Value,df,Asymp. Sig. (2-tailed),Exact Sig. (2-tailed),Exact Sig. (1-tailed)
Pearson Chi-Square,.047,1,.828,,
Likelihood Ratio,.047,1,.828,,
Fisher's Exact Test,,,,.849,.492
Continuity Correction,.001,1,.981,,
Linear-by-Linear Association,.047,1,.829,,
N of Valid Cases,200,,,,

Table: Summary.
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
female * ses,200,100.0%,0,0.0%,200,100.0%

Table: female * ses [count].
,ses,,,
female,low,middle,high,Total
male,15.000,47.000,29.000,91.000
female,32.000,48.000,29.000,109.000
Total,47.000,95.000,58.000,200.000

Table: Chi-square tests.
Statistic,Value,df,Asymp. Sig. (2-tailed)
Pearson Chi-Square,4.577,2,.101
Likelihood Ratio,4.679,2,.096
Linear-by-Linear Association,3.110,1,.078
N of Valid Cases,200,,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/crosstabs.at:836"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_456
#AT_START_457
at_fn_group_banner 457 'crosstabs.at:882' \
  "CROSSTABS Pearson's R" "                          " 72
at_xfail=no
(
  $as_echo "457. $at_setup_line: testing $at_desc ..."
  $at_traceon

# Test 1.
cat >pearson.sps <<'_ATEOF'
SET FORMAT F8.3.

* From http://www.statisticslectures.com/topics/pearsonr/.
DATA LIST FREE/x y.
BEGIN DATA.
1 4
3 6
5 10
5 12
6 13
END DATA.
CROSSTABS x BY y/STATISTICS=CORR.
_ATEOF

{ set +x
$as_echo "$at_srcdir/crosstabs.at:898: pspp -O format=csv pearson.sps"
at_fn_check_prepare_trace "crosstabs.at:898"
( $at_check_trace; pspp -O format=csv pearson.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Summary.
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
x * y,5,100.0%,0,0.0%,5,100.0%

Table: x * y [count].
,y,,,,,
x,4.000,6.000,10.000,12.000,13.000,Total
1.000,1.000,.000,.000,.000,.000,1.000
3.000,.000,1.000,.000,.000,.000,1.000
5.000,.000,.000,1.000,1.000,.000,2.000
6.000,.000,.000,.000,.000,1.000,1.000
Total,1.000,1.000,1.000,1.000,1.000,5.000

Table: Symmetric measures.
Category,Statistic,Value,Asymp. Std. Error,Approx. T,Approx. Sig.
Ordinal by Ordinal,Spearman Correlation,.975,.022,7.550,
Interval by Interval,Pearson's R,.968,.017,6.708,
N of Valid Cases,,5,,,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/crosstabs.at:898"
$at_failed && at_fn_log_failure
$at_traceon; }


# Test 2.
cat >pearson2.sps <<'_ATEOF'
SET FORMAT F8.3.

* Checked with http://www.socscistatistics.com/tests/pearson/Default2.aspx.
DATA LIST FREE/x y.
BEGIN DATA.
1 1.5
2 1.5
3 4
4 6
5 5
6 7
7 6.5
8 9
9 10.5
10 11
END DATA.
CROSSTABS x BY y/STATISTICS=CORR.
_ATEOF

{ set +x
$as_echo "$at_srcdir/crosstabs.at:941: pspp -O format=csv pearson2.sps"
at_fn_check_prepare_trace "crosstabs.at:941"
( $at_check_trace; pspp -O format=csv pearson2.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Summary.
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
x * y,10,100.0%,0,0.0%,10,100.0%

Table: x * y [count].
,y,,,,,,,,,
x,1.500,4.000,5.000,6.000,6.500,7.000,9.000,10.500,11.000,Total
1.000,1.000,.000,.000,.000,.000,.000,.000,.000,.000,1.000
2.000,1.000,.000,.000,.000,.000,.000,.000,.000,.000,1.000
3.000,.000,1.000,.000,.000,.000,.000,.000,.000,.000,1.000
4.000,.000,.000,.000,1.000,.000,.000,.000,.000,.000,1.000
5.000,.000,.000,1.000,.000,.000,.000,.000,.000,.000,1.000
6.000,.000,.000,.000,.000,.000,1.000,.000,.000,.000,1.000
7.000,.000,.000,.000,.000,1.000,.000,.000,.000,.000,1.000
8.000,.000,.000,.000,.000,.000,.000,1.000,.000,.000,1.000
9.000,.000,.000,.000,.000,.000,.000,.000,1.000,.000,1.000
10.000,.000,.000,.000,.000,.000,.000,.000,.000,1.000,1.000
Total,2.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000,10.000

Table: Symmetric measures.
Category,Statistic,Value,Asymp. Std. Error,Approx. T,Approx. Sig.
Ordinal by Ordinal,Spearman Correlation,.973,.015,11.844,
Interval by Interval,Pearson's R,.971,.017,11.580,
N of Valid Cases,,10,,,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/crosstabs.at:941"
$at_failed && at_fn_log_failure
$at_traceon; }


# Test 3.
cat >pearson3.sps <<'_ATEOF'
SET FORMAT F8.3.

* From http://learntech.uwe.ac.uk/da/Default.aspx?pageid=1442.
DATA LIST FREE/x y.
BEGIN DATA.
56 87
56 91
65 85
65 91
50 75
25 28
87 122
44 66
35 58
END DATA.
CROSSTABS x BY y/STATISTICS=CORR.
_ATEOF

{ set +x
$as_echo "$at_srcdir/crosstabs.at:989: pspp -O format=csv pearson3.sps"
at_fn_check_prepare_trace "crosstabs.at:989"
( $at_check_trace; pspp -O format=csv pearson3.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Summary.
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
x * y,9,100.0%,0,0.0%,9,100.0%

Table: x * y [count].
,y,,,,,,,,
x,28.000,58.000,66.000,75.000,85.000,87.000,91.000,122.000,Total
25.000,1.000,.000,.000,.000,.000,.000,.000,.000,1.000
35.000,.000,1.000,.000,.000,.000,.000,.000,.000,1.000
44.000,.000,.000,1.000,.000,.000,.000,.000,.000,1.000
50.000,.000,.000,.000,1.000,.000,.000,.000,.000,1.000
56.000,.000,.000,.000,.000,.000,1.000,1.000,.000,2.000
65.000,.000,.000,.000,.000,1.000,.000,1.000,.000,2.000
87.000,.000,.000,.000,.000,.000,.000,.000,1.000,1.000
Total,1.000,1.000,1.000,1.000,1.000,1.000,2.000,1.000,9.000

Table: Symmetric measures.
Category,Statistic,Value,Asymp. Std. Error,Approx. T,Approx. Sig.
Ordinal by Ordinal,Spearman Correlation,.911,.068,5.860,
Interval by Interval,Pearson's R,.966,.017,9.915,
N of Valid Cases,,9,,,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/crosstabs.at:989"
$at_failed && at_fn_log_failure
$at_traceon; }


# Test 4.
cat >pearson4.sps <<'_ATEOF'
SET FORMAT F8.3.

* From http://psychology.ucdavis.edu/faculty_sites/sommerb/sommerdemo/correlation/hand/pearson_hand.htm.
DATA LIST FREE/x y.
BEGIN DATA.
5 5
10 20
6 4
8 15
4 11
4 9
3 12
10 18
2 7
6 2
7 14
9 17
END DATA.
CROSSTABS x BY y/STATISTICS=CORR.
_ATEOF

{ set +x
$as_echo "$at_srcdir/crosstabs.at:1037: pspp -O format=csv pearson4.sps"
at_fn_check_prepare_trace "crosstabs.at:1037"
( $at_check_trace; pspp -O format=csv pearson4.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Summary.
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
x * y,12,100.0%,0,0.0%,12,100.0%

Table: x * y [count].
,y,,,,,,,,,,,,
x,2.000,4.000,5.000,7.000,9.000,11.000,12.000,14.000,15.000,17.000,18.000,20.000,Total
2.000,.000,.000,.000,1.000,.000,.000,.000,.000,.000,.000,.000,.000,1.000
3.000,.000,.000,.000,.000,.000,.000,1.000,.000,.000,.000,.000,.000,1.000
4.000,.000,.000,.000,.000,1.000,1.000,.000,.000,.000,.000,.000,.000,2.000
5.000,.000,.000,1.000,.000,.000,.000,.000,.000,.000,.000,.000,.000,1.000
6.000,1.000,1.000,.000,.000,.000,.000,.000,.000,.000,.000,.000,.000,2.000
7.000,.000,.000,.000,.000,.000,.000,.000,1.000,.000,.000,.000,.000,1.000
8.000,.000,.000,.000,.000,.000,.000,.000,.000,1.000,.000,.000,.000,1.000
9.000,.000,.000,.000,.000,.000,.000,.000,.000,.000,1.000,.000,.000,1.000
10.000,.000,.000,.000,.000,.000,.000,.000,.000,.000,.000,1.000,1.000,2.000
Total,1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000,12.000

Table: Symmetric measures.
Category,Statistic,Value,Asymp. Std. Error,Approx. T,Approx. Sig.
Ordinal by Ordinal,Spearman Correlation,.657,.140,2.758,
Interval by Interval,Pearson's R,.667,.132,2.830,
N of Valid Cases,,12,,,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/crosstabs.at:1037"
$at_failed && at_fn_log_failure
$at_traceon; }


# Test 5.
cat >pearson5.sps <<'_ATEOF'
SET FORMAT F8.3.

* From http://www.statisticslectures.com/topics/pearsonr/.
DATA LIST FREE/x y.
BEGIN DATA.
18 15000
25 29000
57 68000
45 52000
26 32000
64 80000
37 41000
40 45000
24 26000
33 33000
END DATA.
CROSSTABS x BY y/STATISTICS=CORR.
_ATEOF

{ set +x
$as_echo "$at_srcdir/crosstabs.at:1085: pspp -O format=csv pearson5.sps"
at_fn_check_prepare_trace "crosstabs.at:1085"
( $at_check_trace; pspp -O format=csv pearson5.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Summary.
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
x * y,10,100.0%,0,0.0%,10,100.0%

Table: x * y [count].
,y,,,,,,,,,,
x,15000.000,26000.000,29000.000,32000.000,33000.000,41000.000,45000.000,52000.000,68000.000,80000.000,Total
18.000,1.000,.000,.000,.000,.000,.000,.000,.000,.000,.000,1.000
24.000,.000,1.000,.000,.000,.000,.000,.000,.000,.000,.000,1.000
25.000,.000,.000,1.000,.000,.000,.000,.000,.000,.000,.000,1.000
26.000,.000,.000,.000,1.000,.000,.000,.000,.000,.000,.000,1.000
33.000,.000,.000,.000,.000,1.000,.000,.000,.000,.000,.000,1.000
37.000,.000,.000,.000,.000,.000,1.000,.000,.000,.000,.000,1.000
40.000,.000,.000,.000,.000,.000,.000,1.000,.000,.000,.000,1.000
45.000,.000,.000,.000,.000,.000,.000,.000,1.000,.000,.000,1.000
57.000,.000,.000,.000,.000,.000,.000,.000,.000,1.000,.000,1.000
64.000,.000,.000,.000,.000,.000,.000,.000,.000,.000,1.000,1.000
Total,1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000,1.000,10.000

Table: Symmetric measures.
Category,Statistic,Value,Asymp. Std. Error,Approx. T,Approx. Sig.
Ordinal by Ordinal,Spearman Correlation,1.000,.000,+Infinity,
Interval by Interval,Pearson's R,.992,.004,22.638,
N of Valid Cases,,10,,,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/crosstabs.at:1085"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_457
#AT_START_458
at_fn_group_banner 458 'crosstabs.at:1115' \
  "CROSSTABS Goodman and Kruskal's lambda" "         " 72
at_xfail=no
(
  $as_echo "458. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >lambda.sps <<'_ATEOF'
SET FORMAT F8.3.

* From http://www.csupomona.edu/~jlkorey/POWERMUTT/Topics/contingency_tables.html.
DATA LIST LIST NOTABLE/x y w.
WEIGHT BY w.
BEGIN DATA.
1 1 424
1 2 213
1 3 59
3 1 55
3 2 188
3 3 357
END DATA.

CROSSTABS x BY y/CELLS=NONE/STATISTICS=LAMBDA.

* From http://vassarstats.net.
DATA LIST LIST NOTABLE/x y w.
WEIGHT BY w.
BEGIN DATA.
1 1 19
1 2 26
1 3 8
2 1 21
2 2 13
2 3 5
3 1 6
3 2 12
3 3 27
END DATA.

CROSSTABS x BY y/CELLS=NONE/STATISTICS=LAMBDA.

* From Goodman, L.A., Kruskal, W.H. (1954) "Measures of association for
  cross classifications". Part I. Journal of the American Statistical
  Association, 49, 732-764.
DATA LIST LIST NOTABLE/x y w.
WEIGHT BY w.
BEGIN DATA.
1 1 1768
1 2 807
1 3 189
1 4 47
2 1 946
2 2 1387
2 3 746
2 4 53
3 1 115
3 2 438
3 3 288
3 4 16
END DATA.
CROSSTABS x BY y/CELLS=NONE/STATISTICS=LAMBDA.
_ATEOF

{ set +x
$as_echo "$at_srcdir/crosstabs.at:1171: pspp -O format=csv lambda.sps"
at_fn_check_prepare_trace "crosstabs.at:1171"
( $at_check_trace; pspp -O format=csv lambda.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Summary.
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
x * y,1296.000,100.0%,.000,0.0%,1296.000,100.0%

Table: Directional measures.
Category,Statistic,Type,Value,Asymp. Std. Error,Approx. T,Approx. Sig.
Nominal by Nominal,Lambda,Symmetric,.423,.021,16.875,.000
,,x Dependent,.497,.024,15.986,.000
,,y Dependent,.370,.020,16.339,.000
,Goodman and Kruskal tau,x Dependent,.382,,,.   
,,y Dependent,.198,,,.   

Table: Summary.
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
x * y,137.000,100.0%,.000,0.0%,137.000,100.0%

Table: Directional measures.
Category,Statistic,Type,Value,Asymp. Std. Error,Approx. T,Approx. Sig.
Nominal by Nominal,Lambda,Symmetric,.259,.081,2.902,.004
,,x Dependent,.250,.089,2.479,.013
,,y Dependent,.267,.085,2.766,.006
,Goodman and Kruskal tau,x Dependent,.129,,,.   
,,y Dependent,.123,,,.   

Table: Summary.
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
x * y,6800.000,100.0%,.000,0.0%,6800.000,100.0%

Table: Directional measures.
Category,Statistic,Type,Value,Asymp. Std. Error,Approx. T,Approx. Sig.
Nominal by Nominal,Lambda,Symmetric,.208,.010,18.793,.000
,,x Dependent,.224,.013,16.076,.000
,,y Dependent,.192,.012,14.438,.000
,Goodman and Kruskal tau,x Dependent,.089,,,.   
,,y Dependent,.081,,,.   
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/crosstabs.at:1171"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_458
#AT_START_459
at_fn_group_banner 459 'crosstabs.at:1216' \
  "CROSSTABS Goodman and Kruskal's lambda - treatment of ties" "" 72
at_xfail=no
(
  $as_echo "459. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >lambda.sps <<'_ATEOF'
SET FORMAT F8.3.

* From Douglas Bonett.
DATA LIST LIST NOTABLE/x y w.
WEIGHT BY w.
BEGIN DATA.
1 1 225
1 2 43
1 3 216
2 1 3
2 2 1
2 3 12
END DATA.

CROSSTABS x BY y/CELLS=NONE/STATISTICS=LAMBDA.
_ATEOF

{ set +x
$as_echo "$at_srcdir/crosstabs.at:1234: pspp -O format=csv lambda.sps"
at_fn_check_prepare_trace "crosstabs.at:1234"
( $at_check_trace; pspp -O format=csv lambda.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Summary.
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
x * y,500.000,100.0%,.000,0.0%,500.000,100.0%

Table: Directional measures.
Category,Statistic,Type,Value,Asymp. Std. Error,Approx. T,Approx. Sig.
Nominal by Nominal,Lambda,Symmetric,.031,.013,2.336,.019
,,x Dependent,.000,.000,NaN,NaN
,,y Dependent,.033,.014,2.336,.019
,Goodman and Kruskal tau,x Dependent,.012,,,.   
,,y Dependent,.009,,,.   
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/crosstabs.at:1234"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_459
#AT_START_460
at_fn_group_banner 460 'crosstabs.at:1251' \
  "CROSSTABS Somers' D, Tau-B, Tau-C, Gamma" "       " 72
at_xfail=no
(
  $as_echo "460. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >somersd.sps <<'_ATEOF'
SET FORMAT F8.3.

* From http://stats.stackexchange.com/questions/72203/problem-with-calculating-asymptotic-standard-error-for-somers-d.
DATA LIST LIST NOTABLE/x y * w (F10.6).
WEIGHT BY w.
BEGIN DATA.
1 1 0.000025
1 2 0.0001
1 3 0.001
1 4 0.0025
1 5 0.004
1 6 0.0075
1 7 0.0125
2 1 0.049975
2 2 0.0999
2 3 0.199
2 4 0.2475
2 5 0.196
2 6 0.1425
2 7 0.0375
END DATA.
CROSSTABS x BY y/STATISTICS=D/CELLS=NONE.

* From http://uregina.ca/~gingrich/gamma.pdf.
DATA LIST LIST NOTABLE/x y w.
WEIGHT BY w.
BEGIN DATA.
1 1 34
1 2 24
1 3 15
2 1 42
2 2 74
2 3 67
3 1 28
3 2 111
3 3 292
END DATA.
CROSSTABS x BY y/STATISTICS=BTAU CTAU GAMMA D/CELLS=NONE.
_ATEOF

{ set +x
$as_echo "$at_srcdir/crosstabs.at:1292: pspp -O format=csv somersd.sps"
at_fn_check_prepare_trace "crosstabs.at:1292"
( $at_check_trace; pspp -O format=csv somersd.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Summary.
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
x * y,1.000000,100.0%,.000000,0.0%,1.000000,100.0%

Table: Directional measures.
Category,Statistic,Type,Value,Asymp. Std. Error,Approx. T,Approx. Sig.
Ordinal by Ordinal,Somers' d,Symmetric,-.084,,-.149,.882
,,x Dependent,-.045,.300,-.149,.882
,,y Dependent,-.684,2.378,-.149,.882

Table: Summary.
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
x * y,687.000,100.0%,.000,0.0%,687.000,100.0%

Table: Symmetric measures.
Category,Statistic,Value,Asymp. Std. Error,Approx. T,Approx. Sig.
Ordinal by Ordinal,Kendall's tau-b,.372,.033,10.669,
,Kendall's tau-c,.310,.029,10.669,
,Gamma,.591,.043,10.669,
N of Valid Cases,,687.000,,,

Table: Directional measures.
Category,Statistic,Type,Value,Asymp. Std. Error,Approx. T,Approx. Sig.
Ordinal by Ordinal,Somers' d,Symmetric,.371,,10.669,.000
,,x Dependent,.351,.032,10.669,.000
,,y Dependent,.394,.035,10.669,.000
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/crosstabs.at:1292"
$at_failed && at_fn_log_failure
$at_traceon; }


cat >ordinal.sps <<'_ATEOF'
SET FORMAT F8.3.

* From https://www.iup.edu/WorkArea/DownloadAsset.aspx?id=9829, "Case 1".
DATA LIST LIST NOTABLE /x y w.
WEIGHT BY w.
BEGIN DATA.
1 2 40
2 3 80
3 4 30
END DATA.
CROSSTABS x BY y/STATISTICS=GAMMA D BTAU/CELLS=NONE.

* Same site, case 2.
DATA LIST LIST NOTABLE /x y w.
WEIGHT BY w.
BEGIN DATA.
1 1 40
2 3 80
3 4 30
END DATA.
CROSSTABS x BY y/STATISTICS=GAMMA D BTAU/CELLS=NONE.

* Same site, case 3.
DATA LIST LIST NOTABLE /x y w.
WEIGHT BY w.
BEGIN DATA.
1 4 40
2 3 80
3 2 30
END DATA.
CROSSTABS x BY y/STATISTICS=GAMMA D BTAU/CELLS=NONE.

* Same site, case 4.
DATA LIST LIST NOTABLE /x y w.
WEIGHT BY w.
BEGIN DATA.
1 1 20
1 2 20
2 3 80
3 4 30
END DATA.
CROSSTABS x BY y/STATISTICS=GAMMA D BTAU/CELLS=NONE.

* Same site, case 5.
DATA LIST LIST NOTABLE /x y w.
WEIGHT BY w.
BEGIN DATA.
1 2 40
2 2 80
3 2 29
3 3 1
END DATA.
CROSSTABS x BY y/STATISTICS=GAMMA D BTAU/CELLS=NONE.

* Same site, case 6.
DATA LIST LIST NOTABLE /x y w.
WEIGHT BY w.
BEGIN DATA.
1 1 3
1 2 6
1 3 28
1 4 61
2 1 4
2 2 5
2 3 21
2 4 20
END DATA.
CROSSTABS x BY y/STATISTICS=GAMMA D BTAU/CELLS=NONE.

* Same site, case 7.
DATA LIST LIST NOTABLE /x y w.
WEIGHT BY w.
BEGIN DATA.
1 1 38
1 2 6
1 3 3
1 4 51
2 1 4
2 2 20
2 3 21
2 4 5
END DATA.
CROSSTABS x BY y/STATISTICS=LAMBDA D PHI GAMMA/CELLS=NONE.

* Same site, case 8.
DATA LIST LIST NOTABLE /x y w.
WEIGHT BY w.
BEGIN DATA.
1 1 2
1 2 3
1 3 5
1 4 1
2 1 2
2 2 16
2 3 3
2 4 6
3 1 3
3 2 10
3 3 35
3 4 27
4 1 6
4 2 15
4 3 33
4 4 45
END DATA.
CROSSTABS x BY y/STATISTICS=LAMBDA D PHI BTAU/CELLS=NONE.
_ATEOF

{ set +x
$as_echo "$at_srcdir/crosstabs.at:1433: pspp -O format=csv ordinal.sps"
at_fn_check_prepare_trace "crosstabs.at:1433"
( $at_check_trace; pspp -O format=csv ordinal.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Summary.
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
x * y,150.000,100.0%,.000,0.0%,150.000,100.0%

Table: Symmetric measures.
Category,Statistic,Value,Asymp. Std. Error,Approx. T,Approx. Sig.
Ordinal by Ordinal,Kendall's tau-b,1.000,.000,24.841,
,Gamma,1.000,.000,24.841,
N of Valid Cases,,150.000,,,

Table: Directional measures.
Category,Statistic,Type,Value,Asymp. Std. Error,Approx. T,Approx. Sig.
Ordinal by Ordinal,Somers' d,Symmetric,1.000,,24.841,.000
,,x Dependent,1.000,.000,24.841,.000
,,y Dependent,1.000,.000,24.841,.000

Table: Summary.
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
x * y,150.000,100.0%,.000,0.0%,150.000,100.0%

Table: Symmetric measures.
Category,Statistic,Value,Asymp. Std. Error,Approx. T,Approx. Sig.
Ordinal by Ordinal,Kendall's tau-b,1.000,.000,24.841,
,Gamma,1.000,.000,24.841,
N of Valid Cases,,150.000,,,

Table: Directional measures.
Category,Statistic,Type,Value,Asymp. Std. Error,Approx. T,Approx. Sig.
Ordinal by Ordinal,Somers' d,Symmetric,1.000,,24.841,.000
,,x Dependent,1.000,.000,24.841,.000
,,y Dependent,1.000,.000,24.841,.000

Table: Summary.
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
x * y,150.000,100.0%,.000,0.0%,150.000,100.0%

Table: Symmetric measures.
Category,Statistic,Value,Asymp. Std. Error,Approx. T,Approx. Sig.
Ordinal by Ordinal,Kendall's tau-b,-1.000,.000,-24.841,
,Gamma,-1.000,.000,-24.841,
N of Valid Cases,,150.000,,,

Table: Directional measures.
Category,Statistic,Type,Value,Asymp. Std. Error,Approx. T,Approx. Sig.
Ordinal by Ordinal,Somers' d,Symmetric,-1.000,,-24.841,.000
,,x Dependent,-1.000,.000,-24.841,.000
,,y Dependent,-1.000,.000,-24.841,.000

Table: Summary.
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
x * y,150.000,100.0%,.000,0.0%,150.000,100.0%

Table: Symmetric measures.
Category,Statistic,Value,Asymp. Std. Error,Approx. T,Approx. Sig.
Ordinal by Ordinal,Kendall's tau-b,.972,.007,24.841,
,Gamma,1.000,.000,24.841,
N of Valid Cases,,150.000,,,

Table: Directional measures.
Category,Statistic,Type,Value,Asymp. Std. Error,Approx. T,Approx. Sig.
Ordinal by Ordinal,Somers' d,Symmetric,.971,,24.841,.000
,,x Dependent,.944,.013,24.841,.000
,,y Dependent,1.000,.000,24.841,.000

Table: Summary.
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
x * y,150.000,100.0%,.000,0.0%,150.000,100.0%

Table: Symmetric measures.
Category,Statistic,Value,Asymp. Std. Error,Approx. T,Approx. Sig.
Ordinal by Ordinal,Kendall's tau-b,.119,.059,1.009,
,Gamma,1.000,.000,1.009,
N of Valid Cases,,150.000,,,

Table: Directional measures.
Category,Statistic,Type,Value,Asymp. Std. Error,Approx. T,Approx. Sig.
Ordinal by Ordinal,Somers' d,Symmetric,.035,,1.009,.313
,,x Dependent,.805,.032,1.009,.313
,,y Dependent,.018,.017,1.009,.313

Table: Summary.
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
x * y,148.000,100.0%,.000,0.0%,148.000,100.0%

Table: Symmetric measures.
Category,Statistic,Value,Asymp. Std. Error,Approx. T,Approx. Sig.
Ordinal by Ordinal,Kendall's tau-b,-.208,.078,-2.641,
,Gamma,-.381,.130,-2.641,
N of Valid Cases,,148.000,,,

Table: Directional measures.
Category,Statistic,Type,Value,Asymp. Std. Error,Approx. T,Approx. Sig.
Ordinal by Ordinal,Somers' d,Symmetric,-.206,,-2.641,.008
,,x Dependent,-.182,.069,-2.641,.008
,,y Dependent,-.237,.089,-2.641,.008

Table: Summary.
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
x * y,148.000,100.0%,.000,0.0%,148.000,100.0%

Table: Symmetric measures.
Category,Statistic,Value,Asymp. Std. Error,Approx. T,Approx. Sig.
Nominal by Nominal,Phi,.731,,,
,Cramer's V,.731,,,
Ordinal by Ordinal,Gamma,-.110,.107,-1.022,
N of Valid Cases,,148.000,,,

Table: Directional measures.
Category,Statistic,Type,Value,Asymp. Std. Error,Approx. T,Approx. Sig.
Nominal by Nominal,Lambda,Symmetric,.338,.059,4.743,.000
,,x Dependent,.640,.085,4.875,.000
,,y Dependent,.174,.050,3.248,.001
,Goodman and Kruskal tau,x Dependent,.534,,,.   
,,y Dependent,.167,,,.   
Ordinal by Ordinal,Somers' d,Symmetric,-.074,,-1.022,.307
,,x Dependent,-.060,.059,-1.022,.307
,,y Dependent,-.096,.094,-1.022,.307

Table: Summary.
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
x * y,212.000,100.0%,.000,0.0%,212.000,100.0%

Table: Symmetric measures.
Category,Statistic,Value,Asymp. Std. Error,Approx. T,Approx. Sig.
Nominal by Nominal,Phi,.432,,,
,Cramer's V,.249,,,
Ordinal by Ordinal,Kendall's tau-b,.209,.062,3.338,
N of Valid Cases,,212.000,,,

Table: Directional measures.
Category,Statistic,Type,Value,Asymp. Std. Error,Approx. T,Approx. Sig.
Nominal by Nominal,Lambda,Symmetric,.102,.067,1.473,.141
,,x Dependent,.027,.087,.302,.763
,,y Dependent,.165,.065,2.349,.019
,Goodman and Kruskal tau,x Dependent,.051,,,.   
,,y Dependent,.068,,,.   
Ordinal by Ordinal,Somers' d,Symmetric,.209,,3.338,.001
,,x Dependent,.202,.060,3.338,.001
,,y Dependent,.217,.064,3.338,.001
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/crosstabs.at:1433"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_460
#AT_START_461
at_fn_group_banner 461 'crosstabs.at:1592' \
  "CROSSTABS Cohens Kappa" "                         " 72
at_xfail=no
(
  $as_echo "461. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >kappa.sps <<'_ATEOF'
SET FORMAT=F8.3.

data list notable list /p1 * p2 * w *.
begin data.
0 0 18
1 0 1
0 1 1
end data.

weight by w.

crosstabs /table = p1 by p2
	statistics = kappa
	.
_ATEOF


{ set +x
$as_echo "$at_srcdir/crosstabs.at:1614: pspp -O format=csv kappa.sps"
at_fn_check_prepare_trace "crosstabs.at:1614"
( $at_check_trace; pspp -O format=csv kappa.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Summary.
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
p1 * p2,20.000,100.0%,.000,0.0%,20.000,100.0%

Table: p1 * p2 [count].
,p2,,
p1,.000,1.000,Total
.000,18.000,1.000,19.000
1.000,1.000,.000,1.000
Total,19.000,1.000,20.000

Table: Symmetric measures.
Category,Statistic,Value,Asymp. Std. Error,Approx. T,Approx. Sig.
Measure of Agreement,Kappa,-.053,.037,-.235,
N of Valid Cases,,20.000,,,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/crosstabs.at:1614"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_461
#AT_START_462
at_fn_group_banner 462 'crosstabs.at:1637' \
  "CROSSTABS many statistics" "                      " 72
at_xfail=no
(
  $as_echo "462. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >crosstabs.sps <<'_ATEOF'
SET FORMAT=F8.4.

* From http://www4.stat.ncsu.edu/~dzhang2/st744/table3.9.lst.txt.
DATA LIST LIST NOTABLE/x y w.
WEIGHT BY w.
BEGIN DATA.
1 1 25
1 2 25
1 3 12
2 2 1
2 3 3
END DATA.
CROSSTABS x BY y/STATISTICS=CHISQ PHI CC LAMBDA UC BTAU CTAU GAMMA D CORR/CELLS=NONE.
_ATEOF

{ set +x
$as_echo "$at_srcdir/crosstabs.at:1653: pspp -O format=csv crosstabs.sps"
at_fn_check_prepare_trace "crosstabs.at:1653"
( $at_check_trace; pspp -O format=csv crosstabs.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Summary.
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
x * y,66.0000,100.0%,.0000,0.0%,66.0000,100.0%

Table: Chi-square tests.
Statistic,Value,df,Asymp. Sig. (2-tailed)
Pearson Chi-Square,6.9562,2.0000,.031
Likelihood Ratio,6.6901,2.0000,.035
Linear-by-Linear Association,5.8450,1.0000,.016
N of Valid Cases,66.0000,,

Table: Symmetric measures.
Category,Statistic,Value,Asymp. Std. Error,Approx. T,Approx. Sig.
Nominal by Nominal,Phi,.3246,,,
,Cramer's V,.3246,,,
,Contingency Coefficient,.3088,,,
Ordinal by Ordinal,Kendall's tau-b,.2752,.0856,1.9920,
,Kendall's tau-c,.1497,.0751,1.9920,
,Gamma,.8717,.1250,1.9920,
,Spearman Correlation,.2908,.0906,2.4311,
Interval by Interval,Pearson's R,.2999,.0973,2.5147,
N of Valid Cases,,66.0000,,,

Table: Directional measures.
Category,Statistic,Type,Value,Asymp. Std. Error,Approx. T,Approx. Sig.
Nominal by Nominal,Lambda,Symmetric,.0455,.1629,.2723,.785
,,x Dependent,.0000,.0000,NaN,NaN
,,y Dependent,.0500,.1791,.2723,.785
,Goodman and Kruskal tau,x Dependent,.1054,,,.   
,,y Dependent,.0434,,,.   
,Uncertainty Coefficient,Symmetric,.0780,.0474,,.   
,,x Dependent,.2217,.1062,1.5373,.   
,,y Dependent,.0473,.0306,1.5373,.   
Ordinal by Ordinal,Somers' d,Symmetric,.1960,,1.9920,.046
,,x Dependent,.1152,.0572,1.9920,.046
,,y Dependent,.6573,.1417,1.9920,.046
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/crosstabs.at:1653"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_462
#AT_START_463
at_fn_group_banner 463 'crosstabs.at:1695' \
  "CROSSTABS uncertainy coefficient" "               " 72
at_xfail=no
(
  $as_echo "463. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >uc.sps <<'_ATEOF'
* From http://groups.chass.utoronto.ca/pol242/5bMeasuringAssociation.htm.
SET FORMAT=F8.3.

DATA LIST LIST NOTABLE/x y w.
WEIGHT BY w.
BEGIN DATA.
1 1 416
1 2 121
2 1 335
2 2 2
3 1 112
3 2 1
END DATA.
CROSSTABS x BY y/STATISTICS=LAMBDA UC/CELLS=NONE.
_ATEOF

{ set +x
$as_echo "$at_srcdir/crosstabs.at:1712: pspp -O format=csv uc.sps"
at_fn_check_prepare_trace "crosstabs.at:1712"
( $at_check_trace; pspp -O format=csv uc.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Summary.
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
x * y,987.000,100.0%,.000,0.0%,987.000,100.0%

Table: Directional measures.
Category,Statistic,Type,Value,Asymp. Std. Error,Approx. T,Approx. Sig.
Nominal by Nominal,Lambda,Symmetric,.000,.000,NaN,NaN
,,x Dependent,.000,.000,NaN,NaN
,,y Dependent,.000,.000,NaN,NaN
,Goodman and Kruskal tau,x Dependent,.076,,,.   
,,y Dependent,.108,,,.   
,Uncertainty Coefficient,Symmetric,.105,.012,,.   
,,x Dependent,.073,.009,7.890,.   
,,y Dependent,.184,.019,7.890,.   
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/crosstabs.at:1712"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_463
#AT_START_464
at_fn_group_banner 464 'crosstabs.at:1734' \
  "CROSSTABS barchart" "                             " 72
at_xfail=no
(
  $as_echo "464. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >bc.sps <<'_ATEOF'
SET FORMAT=F8.3.

DATA LIST LIST NOTABLE /x (a20) y (f8) z (f8) w (f8) .
BEGIN DATA.
This  1  0 416
That  2  0 121
Other 2  0 335
This  2  0 231
That  3  0 112
Other 4  0 130
This  1  1 160
That  2  1 211
Other 2  1 352
This  2  1 212
That  3  1 121
Other 4  1 101
END DATA.

WEIGHT BY w.

CROSSTABS
	  /table x BY y BY z
	  /table x BY y
	  /barchart.
_ATEOF


{ set +x
$as_echo "$at_srcdir/crosstabs.at:1762: pspp -O format=txt -o xxx bc.sps"
at_fn_check_prepare_trace "crosstabs.at:1762"
( $at_check_trace; pspp -O format=txt -o xxx bc.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/crosstabs.at:1762"
$at_failed && at_fn_log_failure
$at_traceon; }


{ set +x
$as_echo "$at_srcdir/crosstabs.at:1764: test -e xxx-1.png"
at_fn_check_prepare_trace "crosstabs.at:1764"
( $at_check_trace; test -e xxx-1.png
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/crosstabs.at:1764"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/crosstabs.at:1765: test -e xxx-2.png"
at_fn_check_prepare_trace "crosstabs.at:1765"
( $at_check_trace; test -e xxx-2.png
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/crosstabs.at:1765"
$at_failed && at_fn_log_failure
$at_traceon; }


{ set +x
$as_echo "$at_srcdir/crosstabs.at:1767: diff xxx-1.png xxx-2.png"
at_fn_check_prepare_trace "crosstabs.at:1767"
( $at_check_trace; diff xxx-1.png xxx-2.png
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/crosstabs.at:1767"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_464
#AT_START_465
at_fn_group_banner 465 'descriptives.at:19' \
  "DESCRIPTIVES basics" "                            " 73
at_xfail=no
(
  $as_echo "465. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >descriptives.sps <<'_ATEOF'
title 'Test DESCRIPTIVES procedure'.

data list / V0 to V16 1-17.
begin data.
12128989012389023
34128080123890128
56127781237893217
78127378123793112
90913781237892318
37978547878935789
52878237892378279
12377912789378932
26787654347894348
29137178947891888
end data.

descript all/stat=all/format=serial.
_ATEOF

{ set +x
$as_echo "$at_srcdir/descriptives.at:39: pspp -O format=csv descriptives.sps"
at_fn_check_prepare_trace "descriptives.at:39"
( $at_check_trace; pspp -O format=csv descriptives.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Title: Test DESCRIPTIVES procedure

Table: Reading 1 record from INLINE.
Variable,Record,Columns,Format
V0,1,1-  1,F1.0
V1,1,2-  2,F1.0
V2,1,3-  3,F1.0
V3,1,4-  4,F1.0
V4,1,5-  5,F1.0
V5,1,6-  6,F1.0
V6,1,7-  7,F1.0
V7,1,8-  8,F1.0
V8,1,9-  9,F1.0
V9,1,10- 10,F1.0
V10,1,11- 11,F1.0
V11,1,12- 12,F1.0
V12,1,13- 13,F1.0
V13,1,14- 14,F1.0
V14,1,15- 15,F1.0
V15,1,16- 16,F1.0
V16,1,17- 17,F1.0

Table: Valid cases = 10; cases with missing value(s) = 0.
Variable,Valid N,Missing N,Mean,S.E. Mean,Std Dev,Variance,Kurtosis,S.E. Kurt,Skewness,S.E. Skew,Range,Minimum,Maximum,Sum
V0,10,0,3.80,.84,2.66,7.07,-.03,1.33,.89,.69,8.00,1.00,9.00,38.00
V1,10,0,4.60,.96,3.03,9.16,-1.39,1.33,-.03,.69,9.00,.00,9.00,46.00
V2,10,0,4.10,1.16,3.67,13.43,-2.02,1.33,.48,.69,8.00,1.00,9.00,41.00
V3,10,0,4.10,.87,2.77,7.66,-2.05,1.33,.42,.69,7.00,1.00,8.00,41.00
V4,10,0,7.00,.47,1.49,2.22,7.15,1.33,-2.52,.69,5.00,3.00,8.00,70.00
V5,10,0,4.90,1.03,3.25,10.54,-1.40,1.33,-.20,.69,9.00,.00,9.00,49.00
V6,10,0,5.90,.80,2.51,6.32,-.29,1.33,-.96,.69,7.00,1.00,8.00,59.00
V7,10,0,4.70,1.10,3.47,12.01,-1.99,1.33,-.16,.69,9.00,.00,9.00,47.00
V8,10,0,4.10,1.10,3.48,12.10,-1.93,1.33,.37,.69,9.00,.00,9.00,41.00
V9,10,0,4.30,.87,2.75,7.57,-.87,1.33,.73,.69,8.00,1.00,9.00,43.00
V10,10,0,5.50,.85,2.68,7.17,-1.84,1.33,-.33,.69,7.00,2.00,9.00,55.00
V11,10,0,6.50,.78,2.46,6.06,-1.28,1.33,-.89,.69,6.00,3.00,9.00,65.00
V12,10,0,7.90,.60,1.91,3.66,5.24,1.33,-2.21,.69,6.00,3.00,9.00,79.00
V13,10,0,4.30,.99,3.13,9.79,-1.25,1.33,.33,.69,9.00,.00,9.00,43.00
V14,10,0,3.60,1.01,3.20,10.27,-.96,1.33,.81,.69,9.00,.00,9.00,36.00
V15,10,0,3.70,.92,2.91,8.46,-1.35,1.33,.71,.69,7.00,1.00,8.00,37.00
V16,10,0,6.40,.91,2.88,8.27,-1.14,1.33,-.92,.69,7.00,2.00,9.00,64.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/descriptives.at:39"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_465
#AT_START_466
at_fn_group_banner 466 'descriptives.at:98' \
  "DESCRIPTIVES -- excluding missing data" "         " 73
at_xfail=no
(
  $as_echo "466. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >descriptives.sps <<'_ATEOF'
data list notable / V1 TO V3 1-3.
mis val v1 to v3 (1).
begin data.
111

 1
1 1
112
123
234
end data.

descript all/stat=all/format=serial.
_ATEOF

{ set +x
$as_echo "$at_srcdir/descriptives.at:103: pspp -O format=csv descriptives.sps"
at_fn_check_prepare_trace "descriptives.at:103"
( $at_check_trace; pspp -O format=csv descriptives.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Valid cases = 7; cases with missing value(s) = 6.
Variable,Valid N,Missing N,Mean,S.E. Mean,Std Dev,Variance,Kurtosis,S.E. Kurt,Skewness,S.E. Skew,Range,Minimum,Maximum,Sum
V1,1,6,2.00,.  ,.  ,.  ,.  ,.  ,.  ,.  ,.00,2.00,2.00,2.00
V2,2,5,2.50,.50,.71,.50,.  ,.  ,.  ,.  ,1.00,2.00,3.00,5.00
V3,3,4,3.00,.58,1.00,1.00,.  ,.  ,.00,1.22,2.00,2.00,4.00,9.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/descriptives.at:103"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_466
#AT_START_467
at_fn_group_banner 467 'descriptives.at:112' \
  "DESCRIPTIVES -- including missing data" "         " 73
at_xfail=no
(
  $as_echo "467. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >descriptives.sps <<'_ATEOF'
data list notable / V1 TO V3 1-3.
mis val v1 to v3 (1).
begin data.
111

 1
1 1
112
123
234
end data.

descript all/stat=all/format=serial/missing=include.
_ATEOF

{ set +x
$as_echo "$at_srcdir/descriptives.at:117: pspp -O format=csv descriptives.sps"
at_fn_check_prepare_trace "descriptives.at:117"
( $at_check_trace; pspp -O format=csv descriptives.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Valid cases = 7; cases with missing value(s) = 3.
Variable,Valid N,Missing N,Mean,S.E. Mean,Std Dev,Variance,Kurtosis,S.E. Kurt,Skewness,S.E. Skew,Range,Minimum,Maximum,Sum
V1,5,2,1.20,.20,.45,.20,5.00,2.00,2.24,.91,1.00,1.00,2.00,6.00
V2,5,2,1.60,.40,.89,.80,.31,2.00,1.26,.91,2.00,1.00,3.00,8.00
V3,5,2,2.20,.58,1.30,1.70,-1.49,2.00,.54,.91,3.00,1.00,4.00,11.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/descriptives.at:117"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_467
#AT_START_468
at_fn_group_banner 468 'descriptives.at:126' \
  "DESCRIPTIVES -- excluding missing data listwise" "" 73
at_xfail=no
(
  $as_echo "468. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >descriptives.sps <<'_ATEOF'
data list notable / V1 TO V3 1-3.
mis val v1 to v3 (1).
begin data.
111

 1
1 1
112
123
234
end data.

descript all/stat=all/format=serial/missing=listwise.
_ATEOF

{ set +x
$as_echo "$at_srcdir/descriptives.at:131: pspp -O format=csv descriptives.sps"
at_fn_check_prepare_trace "descriptives.at:131"
( $at_check_trace; pspp -O format=csv descriptives.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Valid cases = 1; cases with missing value(s) = 6.
Variable,Valid N,Missing N,Mean,S.E. Mean,Std Dev,Variance,Kurtosis,S.E. Kurt,Skewness,S.E. Skew,Range,Minimum,Maximum,Sum
V1,1,0,2.00,.  ,.  ,.  ,.  ,.  ,.  ,.  ,.00,2.00,2.00,2.00
V2,1,0,3.00,.  ,.  ,.  ,.  ,.  ,.  ,.  ,.00,3.00,3.00,3.00
V3,1,0,4.00,.  ,.  ,.  ,.  ,.  ,.  ,.  ,.00,4.00,4.00,4.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/descriptives.at:131"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_468
#AT_START_469
at_fn_group_banner 469 'descriptives.at:140' \
  "DESCRIPTIVES -- including missing data listwise" "" 73
at_xfail=no
(
  $as_echo "469. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >descriptives.sps <<'_ATEOF'
data list notable / V1 TO V3 1-3.
mis val v1 to v3 (1).
begin data.
111

 1
1 1
112
123
234
end data.

descript all/stat=all/format=serial/missing=listwise include.
_ATEOF

{ set +x
$as_echo "$at_srcdir/descriptives.at:145: pspp -O format=csv descriptives.sps"
at_fn_check_prepare_trace "descriptives.at:145"
( $at_check_trace; pspp -O format=csv descriptives.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Valid cases = 4; cases with missing value(s) = 3.
Variable,Valid N,Missing N,Mean,S.E. Mean,Std Dev,Variance,Kurtosis,S.E. Kurt,Skewness,S.E. Skew,Range,Minimum,Maximum,Sum
V1,4,0,1.25,.25,.50,.25,4.00,2.62,2.00,1.01,1.00,1.00,2.00,5.00
V2,4,0,1.75,.48,.96,.92,-1.29,2.62,.85,1.01,2.00,1.00,3.00,7.00
V3,4,0,2.50,.65,1.29,1.67,-1.20,2.62,.00,1.01,3.00,1.00,4.00,10.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/descriptives.at:145"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_469
#AT_START_470
at_fn_group_banner 470 'descriptives.at:154' \
  "DESCRIPTIVES bug calculating mean only" "         " 73
at_xfail=no
(
  $as_echo "470. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >descriptives.sps <<'_ATEOF'
SET FORMAT F8.3.

data list notable / X 1.
begin data.
0
1
2
3
4
5
end data.

descript all/stat=mean.
_ATEOF

{ set +x
$as_echo "$at_srcdir/descriptives.at:170: pspp -O format=csv descriptives.sps"
at_fn_check_prepare_trace "descriptives.at:170"
( $at_check_trace; pspp -O format=csv descriptives.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Valid cases = 6; cases with missing value(s) = 0.
Variable,N,Mean
X,6,2.500
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/descriptives.at:170"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_470
#AT_START_471
at_fn_group_banner 471 'descriptives.at:180' \
  "DESCRIPTIVES bug with TEMPORARY" "                " 73
at_xfail=no
(
  $as_echo "471. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >descriptives.sps <<'_ATEOF'
DATA LIST LIST NOTABLE /id * abc *.
BEGIN DATA.
1 3.5
2 2.0
3 2.0
4 3.5
5 3.0
6 4.0
7 5.0
END DATA.

TEMPORARY.
SELECT IF id < 7 .

DESCRIPTIVES /VAR=abc.
_ATEOF

{ set +x
$as_echo "$at_srcdir/descriptives.at:198: pspp -O format=csv descriptives.sps"
at_fn_check_prepare_trace "descriptives.at:198"
( $at_check_trace; pspp -O format=csv descriptives.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Valid cases = 6; cases with missing value(s) = 0.
Variable,N,Mean,Std Dev,Minimum,Maximum
abc,6,3.00,.84,2.00,4.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/descriptives.at:198"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_471
#AT_START_472
at_fn_group_banner 472 'descriptives.at:205' \
  "DESCRIPTIVES -- Z scores" "                       " 73
at_xfail=no
(
  $as_echo "472. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >descriptives.sps <<'_ATEOF'
DATA LIST LIST NOTABLE /a b.
BEGIN DATA.
1 50
2 60
3 70
END DATA.

DESCRIPTIVES /VAR=a b /SAVE.
LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/descriptives.at:217: pspp -O format=csv descriptives.sps"
at_fn_check_prepare_trace "descriptives.at:217"
( $at_check_trace; pspp -O format=csv descriptives.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Mapping of variables to corresponding Z-scores.
Source,Target
a,Za
b,Zb

Table: Valid cases = 3; cases with missing value(s) = 0.
Variable,N,Mean,Std Dev,Minimum,Maximum
a,3,2.00,1.00,1.00,3.00
b,3,60.00,10.00,50.00,70.00

Table: Data List
a,b,Za,Zb
1.00,50.00,-1.00,-1.00
2.00,60.00,.00,.00
3.00,70.00,1.00,1.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/descriptives.at:217"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_472
#AT_START_473
at_fn_group_banner 473 'descriptives.at:236' \
  "DESCRIPTIVES -- Z scores with SPLIT FILE" "       " 73
at_xfail=no
(
  $as_echo "473. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >descriptives.sps <<'_ATEOF'
DATA LIST LIST NOTABLE /group a b.
BEGIN DATA.
1 1 50
1 2 60
1 3 70
2 100 6000
2 200 7000
2 400 9000
2 500 10000
END DATA.

SPLIT FILE BY group.
DESCRIPTIVES /VAR=a b /SAVE.
LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/descriptives.at:253: pspp -O format=csv descriptives.sps"
at_fn_check_prepare_trace "descriptives.at:253"
( $at_check_trace; pspp -O format=csv descriptives.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Mapping of variables to corresponding Z-scores.
Source,Target
a,Za
b,Zb

Variable,Value,Label
group,1.00,

Table: Valid cases = 3; cases with missing value(s) = 0.
Variable,N,Mean,Std Dev,Minimum,Maximum
a,3,2.00,1.00,1.00,3.00
b,3,60.00,10.00,50.00,70.00

Variable,Value,Label
group,2.00,

Table: Valid cases = 4; cases with missing value(s) = 0.
Variable,N,Mean,Std Dev,Minimum,Maximum
a,4,300.00,182.57,100.00,500.00
b,4,8000.00,1825.74,6000.00,10000.00

Variable,Value,Label
group,1.00,

Table: Data List
group,a,b,Za,Zb
1.00,1.00,50.00,-1.00,-1.00
1.00,2.00,60.00,.00,.00
1.00,3.00,70.00,1.00,1.00

Variable,Value,Label
group,2.00,

Table: Data List
group,a,b,Za,Zb
2.00,100.00,6000.00,-1.10,-1.10
2.00,200.00,7000.00,-.55,-.55
2.00,400.00,9000.00,.55,.55
2.00,500.00,10000.00,1.10,1.10
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/descriptives.at:253"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_473
#AT_START_474
at_fn_group_banner 474 'descriptives.at:300' \
  "DESCRIPTIVES -- Z scores bug with TEMPORARY" "    " 73
at_xfail=no
(
  $as_echo "474. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >descriptives.sps <<'_ATEOF'
DATA LIST LIST NOTABLE /id abc.
BEGIN DATA.
1 3.5
2 2.0
3 2.0
4 3.5
5 3.0
6 4.0
7 5.0
END DATA.

TEMPORARY.
SELECT IF id < 7 .

DESCRIPTIVES /VAR=abc/SAVE.
LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/descriptives.at:319: pspp -O format=csv descriptives.sps"
at_fn_check_prepare_trace "descriptives.at:319"
( $at_check_trace; pspp -O format=csv descriptives.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "descriptives.sps:15: warning: DESCRIPTIVES: DESCRIPTIVES with Z scores ignores TEMPORARY.  Temporary transformations will be made permanent.

Table: Mapping of variables to corresponding Z-scores.
Source,Target
abc,Zabc

Table: Valid cases = 6; cases with missing value(s) = 0.
Variable,N,Mean,Std Dev,Minimum,Maximum
abc,6,3.00,.84,2.00,4.00

Table: Data List
id,abc,Zabc
1.00,3.50,.60
2.00,2.00,-1.20
3.00,2.00,-1.20
4.00,3.50,.60
5.00,3.00,.00
6.00,4.00,1.20
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/descriptives.at:319"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_474
#AT_START_475
at_fn_group_banner 475 'descriptives.at:342' \
  "DESCRIPTIVES -- Z scores with FILTER" "           " 73
at_xfail=no
(
  $as_echo "475. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >descriptives.sps <<'_ATEOF'
DATA LIST LIST/filter1 filter2 x.
BEGIN DATA.
0,0,300
0,1,200
0,1,100
1,0,5
1,0,4
1,1,3
1,1,2
1,1,1
END DATA.

FILTER OFF.
SPLIT FILE OFF.
DESCRIPTIVES /VARIABLES=X /SAVE.

FILTER BY filter1.
SPLIT FILE OFF.
DESCRIPTIVES /VARIABLES=X /SAVE.

FILTER OFF.
SORT CASES BY filter1.
SPLIT FILE BY filter1.
DESCRIPTIVES /VARIABLES=X /SAVE.

FILTER BY filter2.
SPLIT FILE BY filter1.
DESCRIPTIVES /VARIABLES=X /SAVE.

FILTER OFF.
SORT CASES BY filter1 filter2.
SPLIT FILE BY filter1 filter2.
DESCRIPTIVES /VARIABLES=X /SAVE.
EXECUTE.

SPLIT FILE OFF.
LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/descriptives.at:382: pspp -o pspp.csv descriptives.sps"
at_fn_check_prepare_trace "descriptives.at:382"
( $at_check_trace; pspp -o pspp.csv descriptives.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/descriptives.at:382"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/descriptives.at:383: sed -n '/Table: Data List/,\$p' < pspp.csv"
at_fn_check_prepare_dynamic "sed -n '/Table: Data List/,$p' < pspp.csv" "descriptives.at:383"
( $at_check_trace; sed -n '/Table: Data List/,$p' < pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
filter1,filter2,x,Zx,ZSC001,ZSC002,ZSC003,ZSC004
.00,.00,300.00,1.94,.  ,1.00,.  ,.  
.00,1.00,200.00,1.07,.  ,.00,.71,.71
.00,1.00,100.00,.20,.  ,-1.00,-.71,-.71
1.00,.00,5.00,-.62,1.26,1.26,.  ,.71
1.00,.00,4.00,-.63,.63,.63,.  ,-.71
1.00,1.00,3.00,-.64,.00,.00,1.00,1.00
1.00,1.00,2.00,-.65,-.63,-.63,.00,.00
1.00,1.00,1.00,-.66,-1.26,-1.26,-1.00,-1.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/descriptives.at:383"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_475
#AT_START_476
at_fn_group_banner 476 'examine.at:19' \
  "EXAMINE" "                                        " 74
at_xfail=no
(
  $as_echo "476. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >examine.sps <<'_ATEOF'

DATA LIST LIST /QUALITY * W * BRAND * .
BEGIN DATA
3  1  1
2  2  1
1  2  1
1  1  1
4  1  1
4  1  1
5  1  2
2  1  2
4  4  2
2  1  2
3  1  2
7  1  3
4  2  3
5  3  3
3  1  3
6  1  3
END DATA

WEIGHT BY w.

VARIABLE LABELS brand   'Manufacturer'.
VARIABLE LABELS quality 'Breaking Strain'.

VALUE LABELS /brand 1 'Aspeger' 2 'Bloggs' 3 'Charlies'.

LIST /FORMAT=NUMBERED.

EXAMINE
	quality BY brand
	/STATISTICS descriptives extreme(3)
	.
_ATEOF



{ set +x
$as_echo "$at_srcdir/examine.at:59: pspp -O format=csv examine.sps"
at_fn_check_prepare_trace "examine.at:59"
( $at_check_trace; pspp -O format=csv examine.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Reading free-form data from INLINE.
Variable,Format
QUALITY,F8.0
W,F8.0
BRAND,F8.0

Table: Data List
Case Number,QUALITY,W,BRAND
1,3.00,1.00,1.00
2,2.00,2.00,1.00
3,1.00,2.00,1.00
4,1.00,1.00,1.00
5,4.00,1.00,1.00
6,4.00,1.00,1.00
7,5.00,1.00,2.00
8,2.00,1.00,2.00
9,4.00,4.00,2.00
10,2.00,1.00,2.00
11,3.00,1.00,2.00
12,7.00,1.00,3.00
13,4.00,2.00,3.00
14,5.00,3.00,3.00
15,3.00,1.00,3.00
16,6.00,1.00,3.00

Table: Case Processing Summary
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
Breaking Strain,24.00,100%,.00,0%,24.00,100%

Table: Extreme Values
,,,Case Number,Value
Breaking Strain,Highest,1,12,7.00
,,2,16,6.00
,,3,14,5.00
,Lowest,1,3,1.00
,,2,4,1.00
,,3,2,2.00

Table: Descriptives
,,,Statistic,Std. Error
Breaking Strain,Mean,,3.54,.32
,95% Confidence Interval for Mean,Lower Bound,2.87,
,,Upper Bound,4.21,
,5% Trimmed Mean,,3.50,
,Median,,4.00,
,Variance,,2.52,
,Std. Deviation,,1.59,
,Minimum,,1.00,
,Maximum,,7.00,
,Range,,6.00,
,Interquartile Range,,2.75,
,Skewness,,.06,.47
,Kurtosis,,-.36,.92

Table: Case Processing Summary
,,Cases,,,,,
,,Valid,,Missing,,Total,
,Manufacturer,N,Percent,N,Percent,N,Percent
Breaking Strain,Aspeger,8.00,100%,.00,0%,8.00,100%
,Bloggs,8.00,100%,.00,0%,8.00,100%
,Charlies,8.00,100%,.00,0%,8.00,100%

Table: Extreme Values
,Manufacturer,,,Case Number,Value
Breaking Strain,Aspeger,Highest,1,6,4.00
,,,2,5,4.00
,,,3,1,3.00
,,Lowest,1,3,1.00
,,,2,4,1.00
,,,3,2,2.00
,Bloggs,Highest,1,7,5.00
,,,2,9,4.00
,,,3,11,3.00
,,Lowest,1,8,2.00
,,,2,10,2.00
,,,3,11,3.00
,Charlies,Highest,1,12,7.00
,,,2,16,6.00
,,,3,14,5.00
,,Lowest,1,15,3.00
,,,2,13,4.00
,,,3,14,5.00

Table: Descriptives
,Manufacturer,,,Statistic,Std. Error
Breaking Strain,Aspeger,Mean,,2.25,.45
,,95% Confidence Interval for Mean,Lower Bound,1.18,
,,,Upper Bound,3.32,
,,5% Trimmed Mean,,2.22,
,,Median,,2.00,
,,Variance,,1.64,
,,Std. Deviation,,1.28,
,,Minimum,,1.00,
,,Maximum,,4.00,
,,Range,,3.00,
,,Interquartile Range,,2.75,
,,Skewness,,.47,.75
,,Kurtosis,,-1.55,1.48
,Bloggs,Mean,,3.50,.38
,,95% Confidence Interval for Mean,Lower Bound,2.61,
,,,Upper Bound,4.39,
,,5% Trimmed Mean,,3.50,
,,Median,,4.00,
,,Variance,,1.14,
,,Std. Deviation,,1.07,
,,Minimum,,2.00,
,,Maximum,,5.00,
,,Range,,3.00,
,,Interquartile Range,,1.75,
,,Skewness,,-.47,.75
,,Kurtosis,,-.83,1.48
,Charlies,Mean,,4.88,.44
,,95% Confidence Interval for Mean,Lower Bound,3.83,
,,,Upper Bound,5.92,
,,5% Trimmed Mean,,4.86,
,,Median,,5.00,
,,Variance,,1.55,
,,Std. Deviation,,1.25,
,,Minimum,,3.00,
,,Maximum,,7.00,
,,Range,,4.00,
,,Interquartile Range,,1.75,
,,Skewness,,.30,.75
,,Kurtosis,,.15,1.48
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/examine.at:59"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_476
#AT_START_477
at_fn_group_banner 477 'examine.at:190' \
  "EXAMINE -- extremes" "                            " 74
at_xfail=no
(
  $as_echo "477. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >examine.sps <<'_ATEOF'
data list free /V1 W
begin data.
1  1
2  1
3  2
3  1
4  1
5  1
6  1
7  1
8  1
9  1
10 1
11 1
12 1
13 1
14 1
15 1
16 1
17 1
18 2
19 1
20 1
end data.

weight by w.

examine v1
 /statistics=extreme(6)
 .
_ATEOF


{ set +x
$as_echo "$at_srcdir/examine.at:224: pspp -O format=csv examine.sps"
at_fn_check_prepare_trace "examine.at:224"
( $at_check_trace; pspp -O format=csv examine.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Case Processing Summary
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
V1,23.00,100%,.00,0%,23.00,100%

Table: Extreme Values
,,,Case Number,Value
V1,Highest,1,21,20.00
,,2,20,19.00
,,3,19,18.00
,,4,18,17.00
,,5,17,16.00
,,6,16,15.00
,Lowest,1,1,1.00
,,2,2,2.00
,,3,3,3.00
,,4,4,3.00
,,5,5,4.00
,,6,6,5.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/examine.at:224"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_477
#AT_START_478
at_fn_group_banner 478 'examine.at:251' \
  "EXAMINE -- extremes with fractional weights" "    " 74
at_xfail=no
(
  $as_echo "478. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >extreme.sps <<'_ATEOF'
set format=F20.3.
data list notable list /w * x *.
begin data.
 0.88  300000
 0.86  320000
 0.98  480000
 0.93  960000
 1.35  960000
 1.31  960000
 0.88  960000
 0.88  1080000
 0.88  1080000
 0.95  1200000
 1.47  1200000
 0.93  1200000
 0.98  1320000
 1.31  1380000
 0.93  1440000
 0.88  1560000
 1.56  1560000
 1.47  1560000
end data.

weight by w.


EXAMINE
        x
        /STATISTICS = DESCRIPTIVES EXTREME (5)
        .
_ATEOF


{ set +x
$as_echo "$at_srcdir/examine.at:285: pspp -O format=csv  extreme.sps"
at_fn_check_prepare_trace "examine.at:285"
( $at_check_trace; pspp -O format=csv  extreme.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Case Processing Summary
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
x,19.430,100%,.000,0%,19.430,100%

Table: Extreme Values
,,,Case Number,Value
x,Highest,1,18,1560000.000
,,2,17,1560000.000
,,3,16,1560000.000
,,4,15,1440000.000
,,5,14,1380000.000
,Lowest,1,1,300000.000
,,2,2,320000.000
,,3,3,480000.000
,,4,4,960000.000
,,5,5,960000.000

Table: Descriptives
,,,Statistic,Std. Error
x,Mean,,1120010.293,86222.178
,95% Confidence Interval for Mean,Lower Bound,939166.693,
,,Upper Bound,1300853.894,
,5% Trimmed Mean,,1141017.899,
,Median,,1200000.000,
,Variance,,144447748124.869,
,Std. Deviation,,380062.821,
,Minimum,,300000.000,
,Maximum,,1560000.000,
,Range,,1260000.000,
,Interquartile Range,,467258.065,
,Skewness,,-.887,.519
,Kurtosis,,.340,1.005
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/examine.at:285"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_478
#AT_START_479
at_fn_group_banner 479 'examine.at:327' \
  "EXAMINE -- percentiles" "                         " 74
at_xfail=no
(
  $as_echo "479. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >examine.sps <<'_ATEOF'
DATA LIST LIST /X *.
BEGIN DATA.
2.00
8.00
5.00
END DATA.

EXAMINE /x
	/PERCENTILES=HAVERAGE.

EXAMINE /x
	/PERCENTILES=WAVERAGE.

EXAMINE /x
	/PERCENTILES=ROUND.

EXAMINE /x
	/PERCENTILES=EMPIRICAL.

EXAMINE /x
	/PERCENTILES=AEMPIRICAL.
_ATEOF

{ set +x
$as_echo "$at_srcdir/examine.at:351: pspp -o pspp.csv examine.sps"
at_fn_check_prepare_trace "examine.at:351"
( $at_check_trace; pspp -o pspp.csv examine.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/examine.at:351"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/examine.at:352: cat pspp.csv"
at_fn_check_prepare_trace "examine.at:352"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Reading free-form data from INLINE.
Variable,Format
X,F8.0

Table: Case Processing Summary
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
X,3,100%,0,0%,3,100%

Table: Percentiles
,,Percentiles,,,,,,
,,5,10,25,50,75,90,95
X,HAverage,.40,.80,2.00,5.00,8.00,8.00,8.00
,Tukey's Hinges,,,3.50,5.00,6.50,,

Table: Case Processing Summary
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
X,3,100%,0,0%,3,100%

Table: Percentiles
,,Percentiles,,,,,,
,,5,10,25,50,75,90,95
X,Weighted Average,.30,.60,1.50,3.50,5.75,7.10,7.55
,Tukey's Hinges,,,3.50,5.00,6.50,,

Table: Case Processing Summary
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
X,3,100%,0,0%,3,100%

Table: Percentiles
,,Percentiles,,,,,,
,,5,10,25,50,75,90,95
X,Rounded,.00,.00,2.00,5.00,5.00,8.00,8.00
,Tukey's Hinges,,,3.50,5.00,6.50,,

Table: Case Processing Summary
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
X,3,100%,0,0%,3,100%

Table: Percentiles
,,Percentiles,,,,,,
,,5,10,25,50,75,90,95
X,Empirical,2.00,2.00,2.00,5.00,8.00,8.00,8.00
,Tukey's Hinges,,,3.50,5.00,6.50,,

Table: Case Processing Summary
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
X,3,100%,0,0%,3,100%

Table: Percentiles
,,Percentiles,,,,,,
,,5,10,25,50,75,90,95
X,Empirical with averaging,2.00,2.00,2.00,5.00,8.00,8.00,8.00
,Tukey's Hinges,,,3.50,5.00,6.50,,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/examine.at:352"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_479
#AT_START_480
at_fn_group_banner 480 'examine.at:419' \
  "EXAMINE -- missing values" "                      " 74
at_xfail=no
(
  $as_echo "480. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >examine.sps <<'_ATEOF'
DATA LIST LIST /x * y *.
BEGIN DATA.
1   1
2   1
3   1
4   1
5   2
6   2
.   2
END DATA

EXAMINE /x by y
        /MISSING = PAIRWISE
        .
_ATEOF

{ set +x
$as_echo "$at_srcdir/examine.at:436: pspp -o pspp.csv examine.sps"
at_fn_check_prepare_trace "examine.at:436"
( $at_check_trace; pspp -o pspp.csv examine.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/examine.at:436"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/examine.at:437: cat pspp.csv"
at_fn_check_prepare_trace "examine.at:437"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Reading free-form data from INLINE.
Variable,Format
x,F8.0
y,F8.0

Table: Case Processing Summary
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
x,6,85.7143%,1,14.2857%,7,100%

Table: Case Processing Summary
,,Cases,,,,,
,,Valid,,Missing,,Total,
,y,N,Percent,N,Percent,N,Percent
x,1.00,4,100%,0,0%,4,100%
,2.00,2,66.6667%,1,33.3333%,3,100%
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/examine.at:437"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_480
#AT_START_481
at_fn_group_banner 481 'examine.at:459' \
  "EXAMINE -- user missing values" "                 " 74
at_xfail=no
(
  $as_echo "481. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >examine-m.sps <<'_ATEOF'
DATA LIST notable LIST /x * y *.
BEGIN DATA.
1                   2
9999999999          2
9999999999          99
END DATA.

MISSING VALUES x (9999999999).
MISSING VALUES y (99).

EXAMINE
	/VARIABLES= x y
	/MISSING=PAIRWISE.
_ATEOF

{ set +x
$as_echo "$at_srcdir/examine.at:475: pspp -O format=csv examine-m.sps"
at_fn_check_prepare_trace "examine.at:475"
( $at_check_trace; pspp -O format=csv examine-m.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Case Processing Summary
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
x,1,33.3333%,2,66.6667%,3,100%
y,2,66.6667%,1,33.3333%,3,100%
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/examine.at:475"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_481
#AT_START_482
at_fn_group_banner 482 'examine.at:485' \
  "EXAMINE -- missing values and percentiles" "      " 74
at_xfail=no
(
  $as_echo "482. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >examine.sps <<'_ATEOF'
DATA LIST LIST /X *.
BEGIN DATA.
99
99
5.00
END DATA.

MISSING VALUE X (99).

EXAMINE /x
        /PERCENTILES=HAVERAGE.
_ATEOF

{ set +x
$as_echo "$at_srcdir/examine.at:499: pspp -o pspp.csv examine.sps"
at_fn_check_prepare_trace "examine.at:499"
( $at_check_trace; pspp -o pspp.csv examine.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/examine.at:499"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_482
#AT_START_483
at_fn_group_banner 483 'examine.at:505' \
  "EXAMINE -- trimmed mean" "                        " 74
at_xfail=no
(
  $as_echo "483. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >examine.sps <<'_ATEOF'
DATA LIST LIST /X * C *.
BEGIN DATA.
1 1
2 49
3 2
END DATA.

WEIGHT BY c.

EXAMINE
	x
	/STATISTICS=DESCRIPTIVES
	.
_ATEOF

{ set +x
$as_echo "$at_srcdir/examine.at:521: pspp -o pspp.csv examine.sps"
at_fn_check_prepare_trace "examine.at:521"
( $at_check_trace; pspp -o pspp.csv examine.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/examine.at:521"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/examine.at:522: cat pspp.csv"
at_fn_check_prepare_trace "examine.at:522"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Reading free-form data from INLINE.
Variable,Format
X,F8.0
C,F8.0

Table: Case Processing Summary
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
X,52.00,100%,.00,0%,52.00,100%

Table: Descriptives
,,,Statistic,Std. Error
X,Mean,,2.02,.03
,95% Confidence Interval for Mean,Lower Bound,1.95,
,,Upper Bound,2.09,
,5% Trimmed Mean,,2.00,
,Median,,2.00,
,Variance,,.06,
,Std. Deviation,,.24,
,Minimum,,1.00,
,Maximum,,3.00,
,Range,,2.00,
,Interquartile Range,,.00,
,Skewness,,1.19,.33
,Kurtosis,,15.73,.65
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/examine.at:522"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_483
#AT_START_484
at_fn_group_banner 484 'examine.at:552' \
  "EXAMINE -- crash bug" "                           " 74
at_xfail=no
(
  $as_echo "484. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >examine.sps <<'_ATEOF'
data list list /a * x * y *.
begin data.
3 1 3
5 1 4
7 2 3
end data.

examine a by x by y
	/statistics=DESCRIPTIVES
	.
_ATEOF

{ set +x
$as_echo "$at_srcdir/examine.at:565: pspp -o pspp.csv examine.sps"
at_fn_check_prepare_trace "examine.at:565"
( $at_check_trace; pspp -o pspp.csv examine.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/examine.at:565"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_484
#AT_START_485
at_fn_group_banner 485 'examine.at:570' \
  "EXAMINE -- consecutive runs don't crash" "        " 74
at_xfail=no
(
  $as_echo "485. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >examine.sps <<'_ATEOF'
data list list /y * z *.
begin data.
6 4
5 3
7 6
end data.

EXAMINE /VARIABLES= z BY y.

EXAMINE /VARIABLES= z.
_ATEOF

{ set +x
$as_echo "$at_srcdir/examine.at:583: pspp -o pspp.csv examine.sps"
at_fn_check_prepare_trace "examine.at:583"
( $at_check_trace; pspp -o pspp.csv examine.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/examine.at:583"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_485
#AT_START_486
at_fn_group_banner 486 'examine.at:588' \
  "EXAMINE -- missing values don't crash" "          " 74
at_xfail=no
(
  $as_echo "486. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >examine.sps <<'_ATEOF'
data list list /x * y *.
begin data.
1 0
2 0
. 0
3 1
4 1
end data.
examine x by y /statistics=descriptives.
_ATEOF

{ set +x
$as_echo "$at_srcdir/examine.at:600: pspp -o pspp.csv examine.sps"
at_fn_check_prepare_trace "examine.at:600"
( $at_check_trace; pspp -o pspp.csv examine.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/examine.at:600"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_486
#AT_START_487
at_fn_group_banner 487 'examine.at:605' \
  "EXAMINE -- single case doesn't crash" "           " 74
at_xfail=no
(
  $as_echo "487. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >examine.sps <<'_ATEOF'
DATA LIST LIST /quality * .
BEGIN DATA
3
END DATA


EXAMINE
	quality
	/STATISTICS descriptives
        /PLOT = histogram
	.
_ATEOF

{ set +x
$as_echo "$at_srcdir/examine.at:619: pspp -o pspp.csv examine.sps"
at_fn_check_prepare_trace "examine.at:619"
( $at_check_trace; pspp -o pspp.csv examine.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/examine.at:619"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_487
#AT_START_488
at_fn_group_banner 488 'examine.at:624' \
  "EXAMINE -- all-missing data doesn't crash" "      " 74
at_xfail=no
(
  $as_echo "488. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >examine.sps <<'_ATEOF'
DATA LIST LIST /x *.
BEGIN DATA.
.
.
.
.
END DATA.

EXAMINE /x
	PLOT=HISTOGRAM BOXPLOT NPPLOT SPREADLEVEL(1) ALL
	/ID=x
        /STATISTICS = DESCRIPTIVES EXTREME (5) ALL
	/PERCENTILE=AEMPIRICAL
	.
_ATEOF

{ set +x
$as_echo "$at_srcdir/examine.at:641: pspp -o pspp.csv examine.sps"
at_fn_check_prepare_trace "examine.at:641"
( $at_check_trace; pspp -o pspp.csv examine.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/examine.at:641"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_488
#AT_START_489
at_fn_group_banner 489 'examine.at:646' \
  "EXAMINE -- big input doesn't crash" "             " 74
at_xfail=no
(
  $as_echo "489. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >examine.sps <<'_ATEOF'
INPUT PROGRAM.
	LOOP #I=1 TO 50000.
		COMPUTE X=NORMAL(10).
		END CASE.
	END LOOP.
	END FILE.
END INPUT PROGRAM.


EXAMINE /x
	/STATISTICS=DESCRIPTIVES.
_ATEOF

{ set +x
$as_echo "$at_srcdir/examine.at:660: pspp -o pspp.csv examine.sps"
at_fn_check_prepare_trace "examine.at:660"
( $at_check_trace; pspp -o pspp.csv examine.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/examine.at:660"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_489
#AT_START_490
at_fn_group_banner 490 'examine.at:666' \
  "EXAMINE -- big input doesn't crash 2" "           " 74
at_xfail=no
(
  $as_echo "490. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >make-big-input.pl <<'_ATEOF'
for ($i=0; $i<100000; $i++) { print "AB12\n" };
   for ($i=0; $i<100000; $i++) { print "AB04\n" };
_ATEOF

{ set +x
$as_echo "$at_srcdir/examine.at:671: \$PERL make-big-input.pl > large.txt"
at_fn_check_prepare_dynamic "$PERL make-big-input.pl > large.txt" "examine.at:671"
( $at_check_trace; $PERL make-big-input.pl > large.txt
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/examine.at:671"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >examine.sps <<'_ATEOF'
DATA LIST FILE='large.txt' /S 1-2 (A) X 3 .


AGGREGATE OUTFILE=* /BREAK=X /A=N.


EXAMINE /A BY X.
_ATEOF

{ set +x
$as_echo "$at_srcdir/examine.at:681: pspp -o pspp.csv examine.sps"
at_fn_check_prepare_trace "examine.at:681"
( $at_check_trace; pspp -o pspp.csv examine.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/examine.at:681"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >more-big-input.pl <<'_ATEOF'
for ($i=0; $i<25000; $i++) { print "AB04\nAB12\n" };
_ATEOF

{ set +x
$as_echo "$at_srcdir/examine.at:686: \$PERL more-big-input.pl >> large.txt"
at_fn_check_prepare_dynamic "$PERL more-big-input.pl >> large.txt" "examine.at:686"
( $at_check_trace; $PERL more-big-input.pl >> large.txt
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/examine.at:686"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/examine.at:687: pspp -o pspp.csv examine.sps"
at_fn_check_prepare_trace "examine.at:687"
( $at_check_trace; pspp -o pspp.csv examine.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/examine.at:687"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_490
#AT_START_491
at_fn_group_banner 491 'examine.at:693' \
  "EXAMINE -- non-numeric ID" "                      " 74
at_xfail=no
(
  $as_echo "491. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >examine-id.sps <<'_ATEOF'
data list notable list /x * y (a12).
begin data.
1  one
2  two
3  three
4  four
5  five
6  six
7  seven
8  eight
9  nine
10 ten
11 eleven
12 twelve
30 thirty
300 threehundred
end data.

examine x
	/statistics = extreme
	/id = y
	/plot = boxplot
	.
_ATEOF


{ set +x
$as_echo "$at_srcdir/examine.at:721: pspp -O format=csv examine-id.sps"
at_fn_check_prepare_trace "examine.at:721"
( $at_check_trace; pspp -O format=csv examine-id.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Case Processing Summary
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
x,14,100%,0,0%,14,100%

Table: Extreme Values
,,,y,Value
x,Highest,1,threehundred,300.00
,,2,thirty      ,30.00
,,3,twelve      ,12.00
,,4,eleven      ,11.00
,,5,ten         ,10.00
,Lowest,1,one         ,1.00
,,2,two         ,2.00
,,3,three       ,3.00
,,4,four        ,4.00
,,5,five        ,5.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/examine.at:721"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_491
#AT_START_492
at_fn_group_banner 492 'examine.at:745' \
  "EXAMINE -- Bad Input" "                           " 74
at_xfail=no
(
  $as_echo "492. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >examine-bad.sps <<'_ATEOF'
data list list /h * g *.
begin data.
1 1
2 1
3 1
4 1
5 2
6 2
7 2
8 2
9 2
end data.

EXAMINE
	/VARIABLES= h
	BY  g
	/STATISTICS = DESCRIPTIVES EXTREME
        /PLOT = lkajsdas
	.
_ATEOF


{ set +x
$as_echo "$at_srcdir/examine.at:769: pspp -o pspp.csv examine-bad.sps"
at_fn_check_prepare_trace "examine.at:769"
( $at_check_trace; pspp -o pspp.csv examine-bad.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 1 $at_status "$at_srcdir/examine.at:769"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_492
#AT_START_493
at_fn_group_banner 493 'examine.at:775' \
  "EXAMINE -- MISSING=REPORT" "                      " 74
at_xfail=no
(
  $as_echo "493. $at_setup_line: testing $at_desc ..."
  $at_traceon



cat >examine-report.sps <<'_ATEOF'
set format = F22.0.
data list list /x * g *.
begin data.
1   1
2   1
3   1
4   1
5   1
6   1
7   1
8   1
9   1
10   2
20   2
30   2
40   2
50   2
60   2
70   2
80   2
90   2
101   9
201   9
301   9
401   9
501   99
601   99
701   99
801   99
901   99
1001  .
2002  .
3003  .
4004  .
end data.

MISSING VALUES g (9, 99, 999).

EXAMINE
        /VARIABLES = x
        BY  g
        /STATISTICS = EXTREME
        /NOTOTAL
        /MISSING = REPORT.
_ATEOF



{ set +x
$as_echo "$at_srcdir/examine.at:826: pspp -O format=csv examine-report.sps"
at_fn_check_prepare_trace "examine.at:826"
( $at_check_trace; pspp -O format=csv examine-report.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Reading free-form data from INLINE.
Variable,Format
x,F8.0
g,F8.0

Table: Case Processing Summary
,,Cases,,,,,
,,Valid,,Missing,,Total,
,g,N,Percent,N,Percent,N,Percent
x,. (missing),4,100%,0,0%,4,100%
,1,9,100%,0,0%,9,100%
,2,9,100%,0,0%,9,100%
,9 (missing),4,100%,0,0%,4,100%
,99 (missing),5,100%,0,0%,5,100%

Table: Extreme Values
,g,,,Case Number,Value
x,. (missing),Highest,1,31,4004
,,,2,30,3003
,,,3,29,2002
,,,4,28,1001
,,,5,0,0
,,Lowest,1,28,1001
,,,2,29,2002
,,,3,30,3003
,,,4,31,4004
,,,5,31,4004
,1,Highest,1,9,9
,,,2,8,8
,,,3,7,7
,,,4,6,6
,,,5,5,5
,,Lowest,1,1,1
,,,2,2,2
,,,3,3,3
,,,4,4,4
,,,5,5,5
,2,Highest,1,18,90
,,,2,17,80
,,,3,16,70
,,,4,15,60
,,,5,14,50
,,Lowest,1,10,10
,,,2,11,20
,,,3,12,30
,,,4,13,40
,,,5,14,50
,9 (missing),Highest,1,22,401
,,,2,21,301
,,,3,20,201
,,,4,19,101
,,,5,0,0
,,Lowest,1,19,101
,,,2,20,201
,,,3,21,301
,,,4,22,401
,,,5,22,401
,99 (missing),Highest,1,27,901
,,,2,26,801
,,,3,25,701
,,,4,24,601
,,,5,23,501
,,Lowest,1,23,501
,,,2,24,601
,,,3,25,701
,,,4,26,801
,,,5,27,901
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/examine.at:826"
$at_failed && at_fn_log_failure
$at_traceon; }



  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_493
#AT_START_494
at_fn_group_banner 494 'examine.at:903' \
  "EXAMINE -- sample unweighted" "                   " 74
at_xfail=no
(
  $as_echo "494. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >sample.sps <<'_ATEOF'
set format = F22.4.
DATA LIST notable LIST /X *
BEGIN DATA.
461.19000000
466.38000000
479.46000000
480.10000000
483.43000000
488.30000000
489.00000000
491.62000000
505.62000000
511.30000000
521.53000000
526.70000000
528.25000000
538.70000000
540.22000000
540.58000000
546.10000000
548.17000000
553.99000000
566.21000000
575.90000000
584.38000000
593.40000000
357.05000000
359.73000000
360.48000000
373.98000000
374.13000000
381.45000000
383.72000000
390.00000000
400.34000000
415.32000000
415.91000000
418.30000000
421.03000000
422.43000000
426.93000000
433.25000000
436.89000000
445.33000000
446.33000000
446.55000000
456.44000000
689.49000000
691.92000000
695.00000000
695.36000000
698.21000000
699.46000000
706.61000000
710.69000000
715.82000000
715.82000000
741.39000000
752.27000000
756.73000000
757.74000000
759.57000000
796.07000000
813.78000000
817.25000000
825.48000000
831.28000000
849.24000000
890.00000000
894.78000000
935.65000000
935.90000000
945.90000000
1012.8600000
1022.6000000
1061.8100000
1063.5000000
1077.2300000
1151.6300000
1355.2800000
598.88000000
606.91000000
621.60000000
624.80000000
636.13000000
637.38000000
640.32000000
649.35000000
656.51000000
662.55000000
664.69000000
106.22000000
132.24000000
174.76000000
204.85000000
264.93000000
264.99000000
269.84000000
325.12000000
331.67000000
337.26000000
347.68000000
354.91000000
END DATA.

EXAMINE
	x
	/STATISTICS=DESCRIPTIVES
	.
_ATEOF


{ set +x
$as_echo "$at_srcdir/examine.at:1017: pspp -O format=csv sample.sps"
at_fn_check_prepare_trace "examine.at:1017"
( $at_check_trace; pspp -O format=csv sample.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Case Processing Summary
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
X,100,100%,0,0%,100,100%

Table: Descriptives
,,,Statistic,Std. Error
X,Mean,,587.6603,23.2665
,95% Confidence Interval for Mean,Lower Bound,541.4946,
,,Upper Bound,633.8260,
,5% Trimmed Mean,,579.7064,
,Median,,547.1350,
,Variance,,54132.8466,
,Std. Deviation,,232.6647,
,Minimum,,106.2200,
,Maximum,,1355.2800,
,Range,,1249.0600,
,Interquartile Range,,293.1575,
,Skewness,,.6331,.2414
,Kurtosis,,.5300,.4783
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/examine.at:1017"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_494
#AT_START_495
at_fn_group_banner 495 'examine.at:1046' \
  "EXAMINE -- Empty Parentheses" "                   " 74
at_xfail=no
(
  $as_echo "495. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >examine-empty-parens.sps <<'_ATEOF'
DATA LIST notable LIST /X *
BEGIN DATA.
2
3
END DATA.


EXAMINE
	x
	/PLOT = SPREADLEVEL()
	.
_ATEOF


{ set +x
$as_echo "$at_srcdir/examine.at:1062: pspp -o pspp.csv examine-empty-parens.sps"
at_fn_check_prepare_trace "examine.at:1062"
( $at_check_trace; pspp -o pspp.csv examine-empty-parens.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 1 $at_status "$at_srcdir/examine.at:1062"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_495
#AT_START_496
at_fn_group_banner 496 'examine.at:1070' \
  "EXAMINE -- Bad variable" "                        " 74
at_xfail=no
(
  $as_echo "496. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >examine-bad-variable.sps <<'_ATEOF'
data list list /h * g *.
begin data.
3 1
4 1
5 2
end data.

EXAMINE
        /VARIABLES/ h
        BY  g
        .
_ATEOF


{ set +x
$as_echo "$at_srcdir/examine.at:1086: pspp -o pspp.csv examine-bad-variable.sps"
at_fn_check_prepare_trace "examine.at:1086"
( $at_check_trace; pspp -o pspp.csv examine-bad-variable.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 1 $at_status "$at_srcdir/examine.at:1086"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_496
#AT_START_497
at_fn_group_banner 497 'examine.at:1093' \
  "EXAMINE -- Extremes vs. Missing Weights" "        " 74
at_xfail=no
(
  $as_echo "497. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >examine-missing-weights.sps <<'_ATEOF'
data list notable list /h * g *.
begin data.
3 1
4 .
5 1
2 1
end data.

WEIGHT BY g.

EXAMINE h
	/STATISTICS extreme(3)
	.
_ATEOF


{ set +x
$as_echo "$at_srcdir/examine.at:1111: pspp -O format=csv  examine-missing-weights.sps"
at_fn_check_prepare_trace "examine.at:1111"
( $at_check_trace; pspp -O format=csv  examine-missing-weights.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "\"examine-missing-weights.sps:13: warning: EXAMINE: At least one case in the data file had a weight value that was user-missing, system-missing, zero, or negative.  These case(s) were ignored.\"

Table: Case Processing Summary
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
h,3.00,100%,.00,0%,3.00,100%

Table: Extreme Values
,,,Case Number,Value
h,Highest,1,3,5.00
,,2,2,4.00
,,3,1,3.00
,Lowest,1,4,2.00
,,2,1,3.00
,,3,2,4.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/examine.at:1111"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_497
#AT_START_498
at_fn_group_banner 498 'graph.at:19' \
  "GRAPH simple scatterplot" "                       " 75
at_xfail=no
(
  $as_echo "498. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >scatterplot.sps <<'_ATEOF'

* Simple Scatterplot test
NEW FILE.
INPUT PROGRAM.
LOOP #i = 1 to 100.
COMPUTE Age = RV.NORMAL(40,10).
END CASE.
END LOOP.
END FILE.
END INPUT PROGRAM.

COMPUTE Size = Age * 3 + 50.

GRAPH
    /SCATTERPLOT(BIVARIATE) = Age WITH Size.

_ATEOF


{ set +x
$as_echo "$at_srcdir/graph.at:38: pspp -O format=csv scatterplot.sps"
at_fn_check_prepare_trace "graph.at:38"
( $at_check_trace; pspp -O format=csv scatterplot.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/graph.at:38"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_498
#AT_START_499
at_fn_group_banner 499 'graph.at:43' \
  "GRAPH Scatter and Histogram" "                    " 75
at_xfail=no
(
  $as_echo "499. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >scatterlong.sps <<'_ATEOF'

NEW FILE.
INPUT PROGRAM.
LOOP #i = 1 to 10000.
COMPUTE Age = RV.NORMAL(40,10).
COMPUTE CityNum = TRUNC(UNIFORM(2.95)).
END CASE.
END LOOP.
END FILE.
END INPUT PROGRAM.

COMPUTE Size = Age * 3 + 50 + 50*CityNum.

STRING City (a20).

Recode CityNum
       (0 = "Madrid")
       (1 = "Paris")
       (ELSE = "Stockholm")
       into City.

 GRAPH
    /SCATTERPLOT(BIVARIATE) = Age WITH Size

 GRAPH
    /SCATTERPLOT(BIVARIATE) = Age WITH CityNum

 GRAPH
    /SCATTERPLOT = CityNum WITH Age

 GRAPH
    /SCATTERPLOT = CityNum WITH Size

 GRAPH
    /SCATTERPLOT(BIVARIATE) = Age WITH Size BY City

 GRAPH
    /SCATTERPLOT(BIVARIATE) = Age WITH Size BY CityNum

 ADD VALUE LABELS
    /CityNum 1 'Rio' 2 'Tokyo' 0 'Mumbai'.

 GRAPH
    /SCATTERPLOT(BIVARIATE) = Age WITH Size BY CityNum

 GRAPH
    /HISTOGRAM = Age.

_ATEOF


{ set +x
$as_echo "$at_srcdir/graph.at:94: pspp -O format=pdf scatterlong.sps"
at_fn_check_prepare_trace "graph.at:94"
( $at_check_trace; pspp -O format=pdf scatterlong.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/graph.at:94"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_499
#AT_START_500
at_fn_group_banner 500 'graph.at:97' \
  "GRAPH missing values don't crash" "               " 75
at_xfail=no
(
  $as_echo "500. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >scatter.sps <<'_ATEOF'
data list list /x * y *.
begin data.
1 0
2 0
. 0
3 1
4 1
5 .
6 1
end data.
graph
      /scatterplot = x with y.
graph
      /histogram = x.
_ATEOF

{ set +x
$as_echo "$at_srcdir/graph.at:114: pspp -o pspp.pdf scatter.sps"
at_fn_check_prepare_trace "graph.at:114"
( $at_check_trace; pspp -o pspp.pdf scatter.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/graph.at:114"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_500
#AT_START_501
at_fn_group_banner 501 'graph.at:118' \
  "GRAPH missing=VARIABLE no crash" "                " 75
at_xfail=no
(
  $as_echo "501. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >scatter.sps <<'_ATEOF'
data list list /x * y *.
begin data.
1 0
2 0
. 0
3 1
4 1
5 .
6 1
end data.
graph
      /scatterplot = x with y
      /missing = VARIABLE.
graph
      /histogram = x
      /missing = VARIABLE.
_ATEOF

{ set +x
$as_echo "$at_srcdir/graph.at:137: pspp -o pspp.pdf scatter.sps"
at_fn_check_prepare_trace "graph.at:137"
( $at_check_trace; pspp -o pspp.pdf scatter.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/graph.at:137"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_501
#AT_START_502
at_fn_group_banner 502 'graph.at:141' \
  "GRAPH missing value in by variable" "             " 75
at_xfail=no
(
  $as_echo "502. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >scatter.sps <<'_ATEOF'
data list list /x * y * z *.
begin data.
1 0 9
2 0 9
. 0 9
3 1 .
4 1 8
5 . 8
6 1 8
end data.
graph
      /scatterplot = x with y by z
      /missing = VARIABLE.

graph
      /scatterplot = x with y by z.

_ATEOF

{ set +x
$as_echo "$at_srcdir/graph.at:161: pspp -o pspp.pdf scatter.sps"
at_fn_check_prepare_trace "graph.at:161"
( $at_check_trace; pspp -o pspp.pdf scatter.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/graph.at:161"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_502
#AT_START_503
at_fn_group_banner 503 'graph.at:166' \
  "GRAPH histogram with null data" "                 " 75
at_xfail=no
(
  $as_echo "503. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >null-hist.sps <<'_ATEOF'
data list list /x *.
begin data.
1109
.
end data.

graph
      /histogram = x.

_ATEOF


{ set +x
$as_echo "$at_srcdir/graph.at:179: pspp -o pspp.pdf null-hist.sps"
at_fn_check_prepare_trace "graph.at:179"
( $at_check_trace; pspp -o pspp.pdf null-hist.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/graph.at:179"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_503
#AT_START_504
at_fn_group_banner 504 'graph.at:184' \
  "GRAPH histogram all missing" "                    " 75
at_xfail=no
(
  $as_echo "504. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >null-hist.sps <<'_ATEOF'
data list list /x *.
begin data.
.
end data.

graph
      /histogram = x.

_ATEOF


{ set +x
$as_echo "$at_srcdir/graph.at:196: pspp null-hist.sps"
at_fn_check_prepare_trace "graph.at:196"
( $at_check_trace; pspp null-hist.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/graph.at:196"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_504
#AT_START_505
at_fn_group_banner 505 'graph.at:203' \
  "GRAPH barcharts" "                                " 75
at_xfail=no
(
  $as_echo "505. $at_setup_line: testing $at_desc ..."
  $at_traceon

{ set +x
$as_echo "$at_srcdir/graph.at:204: ln -s \$top_srcdir/examples/physiology.sav ."
at_fn_check_prepare_dynamic "ln -s $top_srcdir/examples/physiology.sav ." "graph.at:204"
( $at_check_trace; ln -s $top_srcdir/examples/physiology.sav .
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/graph.at:204"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/graph.at:205: ln -s \$top_srcdir/examples/repairs.sav ."
at_fn_check_prepare_dynamic "ln -s $top_srcdir/examples/repairs.sav ." "graph.at:205"
( $at_check_trace; ln -s $top_srcdir/examples/repairs.sav .
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/graph.at:205"
$at_failed && at_fn_log_failure
$at_traceon; }


cat >barchart.sps <<'_ATEOF'
GET FILE="physiology.sav".

GRAPH /BAR = COUNT BY SEX.

GRAPH /BAR = MEAN(height) BY SEX.

NEW FILE.

GET FILE="repairs.sav".

GRAPH /BAR = MEAN (mtbf) BY factory.

COMPUTE  R = TRUNC(RV.UNIFORM(1,5)).

GRAPH /BAR = MEAN (mtbf) BY factory BY R.
_ATEOF


{ set +x
$as_echo "$at_srcdir/graph.at:225: pspp -o pspp.pdf barchart.sps"
at_fn_check_prepare_trace "graph.at:225"
( $at_check_trace; pspp -o pspp.pdf barchart.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/graph.at:225"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_505
#AT_START_506
at_fn_group_banner 506 'graph.at:232' \
  "GRAPH barchart arity" "                           " 75
at_xfail=no
(
  $as_echo "506. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >barchart.sps <<'_ATEOF'
data list notable list /x y z*.
begin data
1  1  3
2  1  4
3  1  3
4  1  4
5  .  3
6  2  4
7  2  3
8  2  4
9  2  3
10  2  4
end data.

* This line is invalid
GRAPH /BAR = COUNT(x) BY y.
_ATEOF


{ set +x
$as_echo "$at_srcdir/graph.at:253: pspp -o pspp.pdf barchart.sps"
at_fn_check_prepare_trace "graph.at:253"
( $at_check_trace; pspp -o pspp.pdf barchart.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 1 $at_status "$at_srcdir/graph.at:253"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_506
#AT_START_507
at_fn_group_banner 507 'graph.at:261' \
  "GRAPH barchart bad syntax" "                      " 75
at_xfail=no
(
  $as_echo "507. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >barchart.sps <<'_ATEOF'
data list notable list /x y z*.
begin data
1  1  3
2  1  4
3  1  3
4  1  4
5  .  3
6  2  4
7  2  3
8  2  4
9  2  3
10  2  4
end data.

* This line is invalid
GRAPH /BAR = SCROD BY y.
_ATEOF


{ set +x
$as_echo "$at_srcdir/graph.at:282: pspp -o pspp.pdf barchart.sps"
at_fn_check_prepare_trace "graph.at:282"
( $at_check_trace; pspp -o pspp.pdf barchart.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 1 $at_status "$at_srcdir/graph.at:282"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_507
#AT_START_508
at_fn_group_banner 508 'graph.at:289' \
  "GRAPH barchart full" "                            " 75
at_xfail=no
(
  $as_echo "508. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >barchart.sps <<'_ATEOF'
data list notable list /x y z*.
begin data
1  1  3
2  1  4
3  1  3
4  1  4
5  .  3
6  2  4
7  2  3
8  2  4
9  2  3
10  2  4
end data.

* This line is invalid
GRAPH /BAR = COUNT by z.
GRAPH /BAR = CUFREQ by z.
GRAPH /BAR = PCT by z.
GRAPH /BAR = CUPCT by z.

GRAPH /BAR = MEAN(y) BY z.
GRAPH /BAR = SUM(y) BY z.
GRAPH /BAR = MAXIMUM(y) BY z.
GRAPH /BAR = MINIMUM(y) BY z.

GRAPH /BAR = MEAN(y) BY z BY y.
GRAPH /BAR = SUM(y) BY z BY y.
GRAPH /BAR = MAXIMUM(y) BY z BY y.
GRAPH /BAR = MINIMUM(y) BY z BY y.
_ATEOF


{ set +x
$as_echo "$at_srcdir/graph.at:323: pspp -o pspp.pdf barchart.sps"
at_fn_check_prepare_trace "graph.at:323"
( $at_check_trace; pspp -o pspp.pdf barchart.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/graph.at:323"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_508
#AT_START_509
at_fn_group_banner 509 'graph.at:332' \
  "GRAPH buggy syntax" "                             " 75
at_xfail=no
(
  $as_echo "509. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >barchart.sps <<'_ATEOF'
data list notable list /x y z*.
begin data
1  1  3
2  1  4
10  2  4
end data.

GRAPH /BAR = MINIMUM({) BY z BY y.
_ATEOF


{ set +x
$as_echo "$at_srcdir/graph.at:345: pspp -o pspp.pdf barchart.sps"
at_fn_check_prepare_trace "graph.at:345"
( $at_check_trace; pspp -o pspp.pdf barchart.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 1 $at_status "$at_srcdir/graph.at:345"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_509
#AT_START_510
at_fn_group_banner 510 'factor.at:19' \
  "FACTOR extraction=paf method=correlation" "       " 76
at_xfail=no
(
  $as_echo "510. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >factor.sps <<'_ATEOF'
set format = F11.3.

data list notable fixed /question13 to question24 1-12.
begin data.
555555535543
544453434443
545555544444
444442444433
554545554554
554455454455
555554555244
554455544443
555554434344
544454544344
555545555555
555454544455
555445544455
455544443343
544454344344
555555555455
555554454455
555555554445
555555554555
545534553343
555555535554
555544444445
545544334433
554555434443
555555544454
555445545453
555554434244
444444433233
545555454443
554443434243
444534334333
454534444332
555455353444
555544443243
555554543243
555544444343
445444434443
555555555544
444444434340
455044434334
555555533433
554554535040
434533334232
443232444432
555555555555
555555554544
555544444445
444224343344
444554454355
444434332433
555555555555
043243432433
444443334333
453443433434
443342332232
554434434533
444344434443
444444434443
554552434133
453334332432
444445554444
431232332223
555555555544
544445543443
444455535543
444444444433
444444543243
555431443333
444443433433
444433433443
454334444433
111111111544
444423442433
555443333353
555543334344
055454400000
555454444355
555555555555
055544533333
555554555554
555555535554
555555545355
555555555455
555544545543
555554404455
555454435454
555555535554
555555555555
555443433544
555554435454
555555545344
555555535454
555445535453
444444333544
555554434444
455454434454
555555535555
554545534455
555555555443
454443434444
555553334444
555554545454
555555555555
555554554454
555555555555
544545534544
555555534454
555555555455
555554535544
555555535555
555451234443
555444444544
555544434354
555545533444
555554534443
545554434554
554433444433
544432233524
411111111111
445423442233
555543433344
444443342233
555555534455
545442434223
554553352333
544554554445
555555435455
444334304234
455453444434
444443443245
555552232132
555434324345
544444434344
534344344444
445555555344
444343442132
444444434344
444444554334
444545444333
434442343224
443443433233
555551555554
544544434444
454544434433
555555535434
555555555555
455544444444
454444434233
555555544344
454445544445
444444554434
555455455443
555454425444
444454434443
544443433233
444543434433
555553545354
544444444433
444445434433
555533353333
555434234333
444314222411
555555555555
455545534443
455045534433
555545444444
455544243543
444421113343
554444534444
555555544554
555334434452
555544543455
555554434554
555445554454
555555545344
555555555555
554543334245
554441233333
555554334545
555555535544
555555554554
555445444543
444424544432
444425544333
555434344443
555533233223
544433442343
555555555555
555445452234
555444555444
555444544455
555544354554
545445555555
555555555555
455443342232
555555544454
455534443455
555555555055
444554333244
444445434543
555554544455
444443444434
444444434445
334231314323
444444434433
555554444443
444444434443
555455434444
444444444444
555455435455
444444434344
444543433232
544443334454
555544433244
534443324224
555555544444
444443434444
555553444344
443434443333
444444434333
554445444343
444443344434
445555544543
555554443443
322232403322
444444444433
444445444443
444454534445
544344444344
554445534544
555555555554
555544432333
444444444443
555555555554
455555555554
555555555543
555555555544
555554445555
444335544455
555555555555
555454444454
555455544454
444445444444
555555555555
555455454554
555454544554
555555555455
555555554444
444444544434
334334443333
422224222211
121512011111
443444432332
434335533344
444443543433
554454443453
555555545454
555555555344
555555555554
555555334555
454445554444
454545534444
555554555444
455444534455
555544554544
444444444444
555424423133
222433443224
544544532344
545554544544
555532544144
444432343433
434545554545
444344505443
555555555544
555554555344
444531113112
555554333133
455433233233
354354434345
454534433433
433112332321
555445433333
454343434143
555554445555
455423334322
443333332222
444443444443
553432224134
444223432233
454324425444
344434514443
555552415255
354332543353
444531333233
443433334133
444444444433
444444445533
445133212223
343433432213
442333333332
345455535244
443211121122
555445444444
555555544344
453243332232
443543422533
554444434344
554444333444
555555335343
444231121133
454433332233
455524434244
554433224354
555455555444
454444424444
554242232134
555553315443
555553333454
455421434211
111111151111
454443203123
454243334132
355332213144
554534334134
555543434355
555543433255
444441223334
555443143255
444444444454
444442323544
454443434343
445453434444
454455554433
554532342234
444442243233
444442343334
555443433444
555543253444
554554444455
555543355344
555444445444
434443204222
444432444234
222142441111
111111141111
334334454433
555354552543
433411122112
455534504444
543211224233
344333332532
344443233333
444424432434
555555544454
555555554544
555444444444
555443533443
555554544344
555554444444
544543433343
444445434444
555555555555
555443333233
545444534454
555454434343
555453434544
544334444333
555443443444
555555534544
444444444433
555543433343
555444445334
555543442433
455444334443
554443434443
555254500544
555444433344
555555535544
444443532232
544443433433
555555535544
555455454444
555455445544
544444534433
555555555554
555553533444
555555555554
555554434343
555455544443
555554444443
555454444445
333222333223
444443544233
543443534433
555545454533
444444404033
455454504543
455555555454
454443344343
555553435244
555543544444
555553343044
444443444433
445543434434
555554433545
555554455445
455553333234
555552344243
444141212213
444443504234
445544253444
555554354555
534552234543
555554544544
444233404224
555554534444
444443444344
422442434324
554434434344
444444434334
443433432444
555454435344
252423332214
454544434434
444444444244
555554544445
443222432333
555544444332
545555543445
554544334444
555445555544
554343434433
555555535554
444554444333
553544343534
555553254433
555555554554
544443443344
555443444344
544432144123
555555555555
555555555354
555555535545
455454434444
455455534445
455555554455
555553545445
445545544444
545345553555
444445444433
443435433433
555554545353
444443232223
444444434433
555555545454
555554444343
555554444443
434544333422
444443434343
555555455443
555544434343
455545534444
555555555553
444443343434
555555555445
433444444434
344221512132
333421132223
333444443444
435544545533
444335544443
333323223323
334434332333
444422323213
324433443423
555555554555
555452424444
555544434444
555544443343
555445545453
555555344453
555544545550
454443434334
444332233344
555554332344
554444433444
555554555554
555555543544
444442443132
555555545555
544553435533
044044444444
444443434533
555454433434
555555555454
555555555555
454544434444
444444434333
554555455554
555555543444
423331124132
445445534455
555555555554
444535554434
555555555554
354443422232
555545535443
555555555555
555455444453
455434443333
455444443233
343322434411
555555555534
453442432333
445554434544
345444443333
454554554355
444434453434
555555454443
555443343341
545553343433
222343222201
444433434443
535555555544
552541442423
545433343334
455445433443
444444433433
455543343433
434444432333
444545444444
555554534444
452444434433
454443432533
555453334433
444442233432
555555553433
545555545445
335543222333
554554344445
243424442212
133222432411
343434534233
222222212211
445455554434
455554453344
223334424434
555355555544
455544554434
544455555444
444444444444
444444444344
444334444444
444444444434
555455534243
555555545555
555555555555
444443534343
555554544444
555555555454
444434433433
455445544444
555544544455
444333433333
455443445343
444432442444
443334451543
555554455555
555444444444
555555555455
555555555554
555454345154
555555555555
555555555455
555554454544
454444454544
554443334544
455555402535
555554531534
455545544554
444423444223
555444334533
455554445243
453444334344
555555555554
555555555455
555555555554
455443334344
555555253555
555554433454
555444344455
550030034433
555444233343
555343222133
555555555554
555555243243
555555555355
555554345555
555443434454
545543133133
555443334154
444444344454
555555242254
555554444344
545443334454
554444132454
555455143154
555554453044
555555555455
555534335454
555555245555
545543333444
555555355454
555353145133
555553043454
555555354554
555543434454
555444324454
444444203443
555552233355
555555445455
555500034354
555354354444
555555555555
555543334144
555555005254
454444344254
555555555554
555555555255
555555555455
444444242243
555554445154
444444234333
555555553455
444422224243
555545443344
545552133143
555455044344
555555455555
555555545454
454433343144
555555555555
555455255155
555555454455
555555424455
555555355555
555444444455
555555454455
544411211314
223322441123
444223434233
444441121232
555555535555
454445533444
434442434433
545355554454
555542544333
445545555444
321000001011
444444444444
333223321322
444232433233
425432523122
455555555544
555555545555
555555534354
554554444243
555554343443
444443434333
555224252443
555544433433
344544434423
555554434344
555542134233
444344434444
445443433233
455343333434
455443333445
355344434433
234234433333
445444444445
455535535545
443423234443
455544334544
345441333323
445444533433
455554443355
445444433243
455454453444
444244444444
554244544154
555555555555
454343444444
555444444344
545455534454
555555555555
555554534454
555254555444
544354544453
553454534445
555454445355
545253554454
433342322233
544444444443
555455445544
424322433233
444424222233
555355555544
000000000000
555455345344
000055505450
434333444333
444445444444
555555555545
555554455545
555455435533
544544444243
444331232323
555555554444
443332323233
444224342433
555555555544
433443342333
555445504554
555545555544
555555535555
555555535345
454443433333
555444444555
444443232435
555433444443
555443434543
555555535555
555555533544
555543234444
433432332221
443433544233
443443333334
444424433444
552444333123
233332232211
223422221122
434433414133
332323333102
552544223222
542423343232
555552534132
455554544134
433523533132
433333433433
435434543333
434553433444
555544434345
443543443433
555555542344
544444553144
555544544243
535443441342
344555444333
444444443333
443443433432
545554534544
443533433433
333443432223
333333433123
322432122213
555555555555
554555444433
444543443234
444444433433
452555534433
244444444233
433442422232
555555535555
555555554455
555554545244
555555355455
555555555555
555555555555
444433323233
555455455455
434445444433
555554444455
454444543445
555555535455
555545554455
555555555555
555555555555
555443344353
455543304132
444443444433
555555555355
434433443333
444434444433
444444444433
555555555555
445553443323
445444444444
555554444054
455555554543
555555535555
555554445454
555444444443
555555555454
555554344455
555555454454
554444444454
555555555353
555545544454
553545332223
444424444332
545555543433
555444433444
555555444445
444444424433
444444543434
124113531311
555554534543
555343333333
545444544344
555444534444
555544543444
555455544443
444324402121
555554534544
555455544444
555555544454
444334404433
555443534444
555545554444
555555555555
455333233433
455444433433
455444444444
444235442443
555443343433
444445453444
454345453432
555555453444
344433322323
444443444244
444442343133
554445432233
555555544444
555555534444
555554455554
454443334244
544443333233
444445534445
444432134121
555555332243
555555544433
555554434444
454543534233
454432432343
444424432433
545553335344
555443434344
454443433333
555553534444
554544434355
552532421235
454543433434
544544343234
555552334125
555543455555
443442334222
554443444344
555554543334
555552342444
554443433333
443444434445
555554533344
442412242121
454543343244
445554433344
444443333433
444443433333
444433333334
444444334444
432321102223
444444434443
444444434343
454531432331
445543433434
554554434554
334253232333
444443434244
444433443234
444433334334
444443433333
553434303222
454443434244
444445544444
443441133433
444432232133
444444404344
444444333243
455543124243
555544532344
444432333132
554553434244
454443443333
433111121111
555555555544
444432433222
444443433233
443332332133
445344453243
444444405434
554554434343
455344534443
444444400434
444444344344
544554533443
555554443455
555555544544
555554534444
323123232311
444344344443
555554555544
343323332333
444443434444
444442214340
555434434444
455543343444
445432434433
455553434455
243321332322
444422332332
555533454444
555544443433
354422431422
333322421211
444443432434
344422431322
333342222321
444443454433
443443444433
553434531334
554434552343
545455553544
554455554443
555555555533
555555554543
454454544433
555444532143
554545544443
444233442434
544444434234
554344432233
555345533355
554554544433
455444444344
555554554554
555554545555
444433534434
444444421134
334333333333
334443443343
122333441413
434444333333
444344433233
444333332143
555154344133
324344333223
244444402233
454443433543
444344433344
455555445555
555555544433
454544434443
344535554533
333435443433
444444554544
343434443333
544553544455
555444444455
244333332222
333441232233
544433433433
555544343344
344211142124
442442232113
433432332223
333424322222
444443333233
344321232223
442434342422
545555535555
455454434454
455355544444
454444444445
555554432430
555444344144
455534342234
555555554354
213332443111
555545434433
555554424444
443434443433
555555554443
555555555544
435535554433
555455545443
555555554533
554545443455
555553333233
434432232323
443443333433
443544231534
434533334334
555555535544
555544444445
555555555555
555555555555
555555555555
555555555555
544555544544
555555545555
545555534354
445444344344
555555555555
444443343334
555444440000
555555555554
555555545455
454434444345
555445544443
555554535433
454445555555
555444444355
555555555555
555555555555
555555555555
555555554555
555455554455
454435544255
545543342243
555544355345
555555455354
435553244333
555555443454
444444433445
121422433111
555554543244
555444554444
444203444433
344342553322
554445554344
545445454454
444245504233
334335555533
554355544444
444445545444
555555555344
454544543233
444455532434
555544354243
535444554433
444444444444
455555553243
244442343235
554544504043
444435553433
455553434354
555444343314
555553344453
555555555544
544444444433
434434550033
555455544444
455445534344
454445444554
555555555555
555555555555
555555555454
555455545412
334433343132
555454455455
555554454443
555555555555
555555553433
555555555555
555555445555
555545445455
555555545554
555555555555
445455554443
555445554433
555555554445
555553333144
555554455143
554454445444
555555554533
334422433422
555554434444
433531133222
443432342224
555544554433
553434333333
555543334443
444443344323
555555555555
555554545344
555555545554
555342434333
444443333233
444544435444
555555555555
555455554354
555555405054
555555555555
554555545545
555555555544
555545454344
555555455555
433444444343
454555554444
453555554544
444445554444
544455555455
555343434343
555553444454
555444434443
555555555444
555555545443
555444534455
555555555555
444443443434
555445533543
555555555444
555544444354
445444544243
555554555455
555555455444
555555555544
555555555454
554445545454
555555555543
344444434443
555555454453
455444443433
344244434433
355234452132
555445545455
444444444444
455444454433
555555555555
344233341155
333334433233
444433434333
444233443334
454344544444
555554245253
444444333344
554544434333
555444443343
555554555445
005555555544
554444445244
555455555555
555555555444
444444444433
555555555444
555555544454
555555555544
444444434444
555555535553
545534543334
554554534533
555555555554
554554544544
454541231221
555555535544
445344334432
444444344333
555555534444
555555545555
443434544232
545544433343
343234434333
444444443233
555454444455
555455535455
554433442243
444444544454
554545554544
454444444444
554455534455
555555544355
555445555555
555444534444
455454534444
555555555544
444444444455
454455554344
443244442233
350554554434
455444535343
344233443433
454444535545
244222232232
245345554344
355344444443
555455555444
444434444233
334323444322
333234443233
455455554454
555554544434
555355555444
444444544443
555554555544
344231224131
444443434433
454344444431
555554555553
454544444443
444443443532
334323423222
455555545554
555542434443
554444444443
554444534344
555443454555
555555534554
444434443343
444234432233
334323311333
444443443233
355424552242
233335323322
234233443333
123353532334
444345555244
332222433422
545445555443
555555555555
555554444443
455445554455
455455555455
555555555555
444443433445
555455555544
355453434232
555555554344
444433433433
434322242112
444444433433
444445444544
555444535444
544444444443
454544344334
454444334333
434433433332
334434423423
444455552233
442442342233
445433433343
555555444355
555555555555
455554555545
555445544444
544444434443
555555535333
554444444344
555554554445
345433334121
555555555554
545444444233
555555544455
555554545555
555555455555
555555545555
555554544455
444444444333
544544544445
555445544544
555455444455
555455555454
554455535444
453423442244
444443444444
454444333333
555555555542
555555555543
555555555544
555555535534
555555555444
444443423333
555444444444
555445544453
444444444443
555555443444
444443444333
554554154344
555543353333
554445443333
555555553455
554534444243
554555554545
555544443443
555554555555
555425552422
555555555555
454421121321
555454453433
555555554443
244224431223
455444453444
454345544455
344235545044
555555555544
555553325554
554554444244
555545544544
454555554545
444444545444
545544444455
454344445443
545555554453
444444444443
545554554453
555453434444
005434434454
455555455544
555555555554
455542444433
545543444555
445545445444
555553325454
555554555554
444544444443
555555444454
443332443222
454444443444
344333433332
555455444455
555555555445
555555534454
445433432343
555554434444
555555545444
544545434455
454435543444
555555555555
555455554555
555555544554
555553554455
555555555555
545454545444
555555445555
554534343444
555545443343
545454334444
554445544544
555455354344
555555555355
554445544354
455554444444
555555553543
555554444444
555543233444
555554344433
333334441223
543554344434
055541243244
555555555544
555555533444
555445444544
444335343433
544434344333
544435533333
444444443333
555555555554
555552343233
444444444433
544444434444
555555545555
555555555554
445244434444
445444434444
445555554521
443444543343
444433343434
355444433442
555543444455
555444334544
555555555555
554555545555
555555554555
555555555555
454444343445
444444433444
354445443444
555334242132
455445555543
254153343433
354244443333
554455444344
343255535444
455454555553
555455545555
444343433343
343323443323
455444444424
555544444455
343434543444
555555555544
555554534243
555554543344
555455555544
555443344343
444445533133
555543534555
444554444444
444002323320
444232322222
244344424441
555443344334
555555555555
555444534443
555555555555
555555555550
455555554555
555555555555

end data.

missing values
	question13 question14 question15 question16 question17 question18 question19 question20 question21 question22 question23 question24 (0).

factor
 /variables question13 question14 question15 question16 question17 question18 question19 question20 question21 question22 question23 question24
 /analysis all
 /print univariate det correlation
 /format blank(.30)
 /plot eigen
 /criteria factors(3)
 /extraction paf
 /method = correlation.
_ATEOF


{ set +x
$as_echo "$at_srcdir/factor.at:1472: pspp -O format=csv factor.sps"
at_fn_check_prepare_trace "factor.at:1472"
( $at_check_trace; pspp -O format=csv factor.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Descriptive Statistics
,Mean,Std. Deviation,Analysis N
question13,4.462,.729,1365
question14,4.525,.700,1365
question15,4.445,.732,1365
question16,4.281,.829,1365
question17,4.166,.895,1365
question18,3.930,1.034,1365
question19,4.077,.963,1365
question20,3.777,.909,1365
question21,3.774,.984,1365
question22,3.607,1.116,1365
question23,3.813,.957,1365
question24,3.666,.926,1365

Table: Correlation Matrix
,,question13,question14,question15,question16,question17,question18,question19,question20,question21,question22,question23,question24
Correlations,question13,1.000,.661,.600,.566,.577,.409,.286,.304,.476,.333,.564,.454
,question14,.661,1.000,.635,.500,.552,.433,.320,.315,.449,.333,.565,.443
,question15,.600,.635,1.000,.505,.587,.457,.359,.356,.509,.369,.582,.435
,question16,.566,.500,.505,1.000,.586,.405,.335,.317,.452,.363,.459,.430
,question17,.577,.552,.587,.586,1.000,.555,.449,.417,.595,.450,.613,.521
,question18,.409,.433,.457,.405,.555,1.000,.627,.521,.554,.536,.569,.474
,question19,.286,.320,.359,.335,.449,.627,1.000,.446,.499,.484,.444,.374
,question20,.304,.315,.356,.317,.417,.521,.446,1.000,.425,.383,.410,.357
,question21,.476,.449,.509,.452,.595,.554,.499,.425,1.000,.507,.598,.500
,question22,.333,.333,.369,.363,.450,.536,.484,.383,.507,1.000,.493,.444
,question23,.564,.565,.582,.459,.613,.569,.444,.410,.598,.493,1.000,.705
,question24,.454,.443,.435,.430,.521,.474,.374,.357,.500,.444,.705,1.000
Determinant,.002,,,,,,,,,,,,

Table: Factor Matrix
,Factor,,
,1,2,3
question13,.713,.398,
question14,.703,.339,
question15,.721,,
question16,.648,,
question17,.783,,
question18,.740,-.345,
question19,.616,-.415,
question20,.550,,
question21,.732,,
question22,.613,,
question23,.819,,.345
question24,.695,,.386

Table: Rotated Factor Matrix
,Factor,,
,1,2,3
question13,.771,,
question14,.726,,
question15,.676,,
question16,.591,,
question17,.587,.446,
question18,,.739,
question19,,.727,
question20,,.540,
question21,.402,.533,.321
question22,,.559,
question23,.449,.377,.668
question24,.324,.321,.652
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/factor.at:1472"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_510
#AT_START_511
at_fn_group_banner 511 'factor.at:1539' \
  "FACTOR extraction=pc method=correlation" "        " 76
at_xfail=no
(
  $as_echo "511. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >factor2.sps <<'_ATEOF'
set format = F11.3.


data list notable list /id female race ses schtyp prog read write math science socst.
begin data.
 70.00      .00  4.00     1.00     1.00     1.00    57.00    52.00    41.00    47.00    57.00
121.00     1.00  4.00     2.00     1.00     3.00    68.00    59.00    53.00    63.00    61.00
 86.00      .00  4.00     3.00     1.00     1.00    44.00    33.00    54.00    58.00    31.00
141.00      .00  4.00     3.00     1.00     3.00    63.00    44.00    47.00    53.00    56.00
172.00      .00  4.00     2.00     1.00     2.00    47.00    52.00    57.00    53.00    61.00
113.00      .00  4.00     2.00     1.00     2.00    44.00    52.00    51.00    63.00    61.00
 50.00      .00  3.00     2.00     1.00     1.00    50.00    59.00    42.00    53.00    61.00
 11.00      .00  1.00     2.00     1.00     2.00    34.00    46.00    45.00    39.00    36.00
 84.00      .00  4.00     2.00     1.00     1.00    63.00    57.00    54.00    58.00    51.00
 48.00      .00  3.00     2.00     1.00     2.00    57.00    55.00    52.00    50.00    51.00
 75.00      .00  4.00     2.00     1.00     3.00    60.00    46.00    51.00    53.00    61.00
 60.00      .00  4.00     2.00     1.00     2.00    57.00    65.00    51.00    63.00    61.00
 95.00      .00  4.00     3.00     1.00     2.00    73.00    60.00    71.00    61.00    71.00
104.00      .00  4.00     3.00     1.00     2.00    54.00    63.00    57.00    55.00    46.00
 38.00      .00  3.00     1.00     1.00     2.00    45.00    57.00    50.00    31.00    56.00
115.00      .00  4.00     1.00     1.00     1.00    42.00    49.00    43.00    50.00    56.00
 76.00      .00  4.00     3.00     1.00     2.00    47.00    52.00    51.00    50.00    56.00
195.00      .00  4.00     2.00     2.00     1.00    57.00    57.00    60.00    58.00    56.00
114.00      .00  4.00     3.00     1.00     2.00    68.00    65.00    62.00    55.00    61.00
 85.00      .00  4.00     2.00     1.00     1.00    55.00    39.00    57.00    53.00    46.00
167.00      .00  4.00     2.00     1.00     1.00    63.00    49.00    35.00    66.00    41.00
143.00      .00  4.00     2.00     1.00     3.00    63.00    63.00    75.00    72.00    66.00
 41.00      .00  3.00     2.00     1.00     2.00    50.00    40.00    45.00    55.00    56.00
 20.00      .00  1.00     3.00     1.00     2.00    60.00    52.00    57.00    61.00    61.00
 12.00      .00  1.00     2.00     1.00     3.00    37.00    44.00    45.00    39.00    46.00
 53.00      .00  3.00     2.00     1.00     3.00    34.00    37.00    46.00    39.00    31.00
154.00      .00  4.00     3.00     1.00     2.00    65.00    65.00    66.00    61.00    66.00
178.00      .00  4.00     2.00     2.00     3.00    47.00    57.00    57.00    58.00    46.00
196.00      .00  4.00     3.00     2.00     2.00    44.00    38.00    49.00    39.00    46.00
 29.00      .00  2.00     1.00     1.00     1.00    52.00    44.00    49.00    55.00    41.00
126.00      .00  4.00     2.00     1.00     1.00    42.00    31.00    57.00    47.00    51.00
103.00      .00  4.00     3.00     1.00     2.00    76.00    52.00    64.00    64.00    61.00
192.00      .00  4.00     3.00     2.00     2.00    65.00    67.00    63.00    66.00    71.00
150.00      .00  4.00     2.00     1.00     3.00    42.00    41.00    57.00    72.00    31.00
199.00      .00  4.00     3.00     2.00     2.00    52.00    59.00    50.00    61.00    61.00
144.00      .00  4.00     3.00     1.00     1.00    60.00    65.00    58.00    61.00    66.00
200.00      .00  4.00     2.00     2.00     2.00    68.00    54.00    75.00    66.00    66.00
 80.00      .00  4.00     3.00     1.00     2.00    65.00    62.00    68.00    66.00    66.00
 16.00      .00  1.00     1.00     1.00     3.00    47.00    31.00    44.00    36.00    36.00
153.00      .00  4.00     2.00     1.00     3.00    39.00    31.00    40.00    39.00    51.00
176.00      .00  4.00     2.00     2.00     2.00    47.00    47.00    41.00    42.00    51.00
177.00      .00  4.00     2.00     2.00     2.00    55.00    59.00    62.00    58.00    51.00
168.00      .00  4.00     2.00     1.00     2.00    52.00    54.00    57.00    55.00    51.00
 40.00      .00  3.00     1.00     1.00     1.00    42.00    41.00    43.00    50.00    41.00
 62.00      .00  4.00     3.00     1.00     1.00    65.00    65.00    48.00    63.00    66.00
169.00      .00  4.00     1.00     1.00     1.00    55.00    59.00    63.00    69.00    46.00
 49.00      .00  3.00     3.00     1.00     3.00    50.00    40.00    39.00    49.00    47.00
136.00      .00  4.00     2.00     1.00     2.00    65.00    59.00    70.00    63.00    51.00
189.00      .00  4.00     2.00     2.00     2.00    47.00    59.00    63.00    53.00    46.00
  7.00      .00  1.00     2.00     1.00     2.00    57.00    54.00    59.00    47.00    51.00
 27.00      .00  2.00     2.00     1.00     2.00    53.00    61.00    61.00    57.00    56.00
128.00      .00  4.00     3.00     1.00     2.00    39.00    33.00    38.00    47.00    41.00
 21.00      .00  1.00     2.00     1.00     1.00    44.00    44.00    61.00    50.00    46.00
183.00      .00  4.00     2.00     2.00     2.00    63.00    59.00    49.00    55.00    71.00
132.00      .00  4.00     2.00     1.00     2.00    73.00    62.00    73.00    69.00    66.00
 15.00      .00  1.00     3.00     1.00     3.00    39.00    39.00    44.00    26.00    42.00
 67.00      .00  4.00     1.00     1.00     3.00    37.00    37.00    42.00    33.00    32.00
 22.00      .00  1.00     2.00     1.00     3.00    42.00    39.00    39.00    56.00    46.00
185.00      .00  4.00     2.00     2.00     2.00    63.00    57.00    55.00    58.00    41.00
  9.00      .00  1.00     2.00     1.00     3.00    48.00    49.00    52.00    44.00    51.00
181.00      .00  4.00     2.00     2.00     2.00    50.00    46.00    45.00    58.00    61.00
170.00      .00  4.00     3.00     1.00     2.00    47.00    62.00    61.00    69.00    66.00
134.00      .00  4.00     1.00     1.00     1.00    44.00    44.00    39.00    34.00    46.00
108.00      .00  4.00     2.00     1.00     1.00    34.00    33.00    41.00    36.00    36.00
197.00      .00  4.00     3.00     2.00     2.00    50.00    42.00    50.00    36.00    61.00
140.00      .00  4.00     2.00     1.00     3.00    44.00    41.00    40.00    50.00    26.00
171.00      .00  4.00     2.00     1.00     2.00    60.00    54.00    60.00    55.00    66.00
107.00      .00  4.00     1.00     1.00     3.00    47.00    39.00    47.00    42.00    26.00
 81.00      .00  4.00     1.00     1.00     2.00    63.00    43.00    59.00    65.00    44.00
 18.00      .00  1.00     2.00     1.00     3.00    50.00    33.00    49.00    44.00    36.00
155.00      .00  4.00     2.00     1.00     1.00    44.00    44.00    46.00    39.00    51.00
 97.00      .00  4.00     3.00     1.00     2.00    60.00    54.00    58.00    58.00    61.00
 68.00      .00  4.00     2.00     1.00     2.00    73.00    67.00    71.00    63.00    66.00
157.00      .00  4.00     2.00     1.00     1.00    68.00    59.00    58.00    74.00    66.00
 56.00      .00  4.00     2.00     1.00     3.00    55.00    45.00    46.00    58.00    51.00
  5.00      .00  1.00     1.00     1.00     2.00    47.00    40.00    43.00    45.00    31.00
159.00      .00  4.00     3.00     1.00     2.00    55.00    61.00    54.00    49.00    61.00
123.00      .00  4.00     3.00     1.00     1.00    68.00    59.00    56.00    63.00    66.00
164.00      .00  4.00     2.00     1.00     3.00    31.00    36.00    46.00    39.00    46.00
 14.00      .00  1.00     3.00     1.00     2.00    47.00    41.00    54.00    42.00    56.00
127.00      .00  4.00     3.00     1.00     2.00    63.00    59.00    57.00    55.00    56.00
165.00      .00  4.00     1.00     1.00     3.00    36.00    49.00    54.00    61.00    36.00
174.00      .00  4.00     2.00     2.00     2.00    68.00    59.00    71.00    66.00    56.00
  3.00      .00  1.00     1.00     1.00     2.00    63.00    65.00    48.00    63.00    56.00
 58.00      .00  4.00     2.00     1.00     3.00    55.00    41.00    40.00    44.00    41.00
146.00      .00  4.00     3.00     1.00     2.00    55.00    62.00    64.00    63.00    66.00
102.00      .00  4.00     3.00     1.00     2.00    52.00    41.00    51.00    53.00    56.00
117.00      .00  4.00     3.00     1.00     3.00    34.00    49.00    39.00    42.00    56.00
133.00      .00  4.00     2.00     1.00     3.00    50.00    31.00    40.00    34.00    31.00
 94.00      .00  4.00     3.00     1.00     2.00    55.00    49.00    61.00    61.00    56.00
 24.00      .00  2.00     2.00     1.00     2.00    52.00    62.00    66.00    47.00    46.00
149.00      .00  4.00     1.00     1.00     1.00    63.00    49.00    49.00    66.00    46.00
 82.00     1.00  4.00     3.00     1.00     2.00    68.00    62.00    65.00    69.00    61.00
  8.00     1.00  1.00     1.00     1.00     2.00    39.00    44.00    52.00    44.00    48.00
129.00     1.00  4.00     1.00     1.00     1.00    44.00    44.00    46.00    47.00    51.00
173.00     1.00  4.00     1.00     1.00     1.00    50.00    62.00    61.00    63.00    51.00
 57.00     1.00  4.00     2.00     1.00     2.00    71.00    65.00    72.00    66.00    56.00
100.00     1.00  4.00     3.00     1.00     2.00    63.00    65.00    71.00    69.00    71.00
  1.00     1.00  1.00     1.00     1.00     3.00    34.00    44.00    40.00    39.00    41.00
194.00     1.00  4.00     3.00     2.00     2.00    63.00    63.00    69.00    61.00    61.00
 88.00     1.00  4.00     3.00     1.00     2.00    68.00    60.00    64.00    69.00    66.00
 99.00     1.00  4.00     3.00     1.00     1.00    47.00    59.00    56.00    66.00    61.00
 47.00     1.00  3.00     1.00     1.00     2.00    47.00    46.00    49.00    33.00    41.00
120.00     1.00  4.00     3.00     1.00     2.00    63.00    52.00    54.00    50.00    51.00
166.00     1.00  4.00     2.00     1.00     2.00    52.00    59.00    53.00    61.00    51.00
 65.00     1.00  4.00     2.00     1.00     2.00    55.00    54.00    66.00    42.00    56.00
101.00     1.00  4.00     3.00     1.00     2.00    60.00    62.00    67.00    50.00    56.00
 89.00     1.00  4.00     1.00     1.00     3.00    35.00    35.00    40.00    51.00    33.00
 54.00     1.00  3.00     1.00     2.00     1.00    47.00    54.00    46.00    50.00    56.00
180.00     1.00  4.00     3.00     2.00     2.00    71.00    65.00    69.00    58.00    71.00
162.00     1.00  4.00     2.00     1.00     3.00    57.00    52.00    40.00    61.00    56.00
  4.00     1.00  1.00     1.00     1.00     2.00    44.00    50.00    41.00    39.00    51.00
131.00     1.00  4.00     3.00     1.00     2.00    65.00    59.00    57.00    46.00    66.00
125.00     1.00  4.00     1.00     1.00     2.00    68.00    65.00    58.00    59.00    56.00
 34.00     1.00  1.00     3.00     2.00     2.00    73.00    61.00    57.00    55.00    66.00
106.00     1.00  4.00     2.00     1.00     3.00    36.00    44.00    37.00    42.00    41.00
130.00     1.00  4.00     3.00     1.00     1.00    43.00    54.00    55.00    55.00    46.00
 93.00     1.00  4.00     3.00     1.00     2.00    73.00    67.00    62.00    58.00    66.00
163.00     1.00  4.00     1.00     1.00     2.00    52.00    57.00    64.00    58.00    56.00
 37.00     1.00  3.00     1.00     1.00     3.00    41.00    47.00    40.00    39.00    51.00
 35.00     1.00  1.00     1.00     2.00     1.00    60.00    54.00    50.00    50.00    51.00
 87.00     1.00  4.00     2.00     1.00     1.00    50.00    52.00    46.00    50.00    56.00
 73.00     1.00  4.00     2.00     1.00     2.00    50.00    52.00    53.00    39.00    56.00
151.00     1.00  4.00     2.00     1.00     3.00    47.00    46.00    52.00    48.00    46.00
 44.00     1.00  3.00     1.00     1.00     3.00    47.00    62.00    45.00    34.00    46.00
152.00     1.00  4.00     3.00     1.00     2.00    55.00    57.00    56.00    58.00    61.00
105.00     1.00  4.00     2.00     1.00     2.00    50.00    41.00    45.00    44.00    56.00
 28.00     1.00  2.00     2.00     1.00     1.00    39.00    53.00    54.00    50.00    41.00
 91.00     1.00  4.00     3.00     1.00     3.00    50.00    49.00    56.00    47.00    46.00
 45.00     1.00  3.00     1.00     1.00     3.00    34.00    35.00    41.00    29.00    26.00
116.00     1.00  4.00     2.00     1.00     2.00    57.00    59.00    54.00    50.00    56.00
 33.00     1.00  2.00     1.00     1.00     2.00    57.00    65.00    72.00    54.00    56.00
 66.00     1.00  4.00     2.00     1.00     3.00    68.00    62.00    56.00    50.00    51.00
 72.00     1.00  4.00     2.00     1.00     3.00    42.00    54.00    47.00    47.00    46.00
 77.00     1.00  4.00     1.00     1.00     2.00    61.00    59.00    49.00    44.00    66.00
 61.00     1.00  4.00     3.00     1.00     2.00    76.00    63.00    60.00    67.00    66.00
190.00     1.00  4.00     2.00     2.00     2.00    47.00    59.00    54.00    58.00    46.00
 42.00     1.00  3.00     2.00     1.00     3.00    46.00    52.00    55.00    44.00    56.00
  2.00     1.00  1.00     2.00     1.00     3.00    39.00    41.00    33.00    42.00    41.00
 55.00     1.00  3.00     2.00     2.00     2.00    52.00    49.00    49.00    44.00    61.00
 19.00     1.00  1.00     1.00     1.00     1.00    28.00    46.00    43.00    44.00    51.00
 90.00     1.00  4.00     3.00     1.00     2.00    42.00    54.00    50.00    50.00    52.00
142.00     1.00  4.00     2.00     1.00     3.00    47.00    42.00    52.00    39.00    51.00
 17.00     1.00  1.00     2.00     1.00     2.00    47.00    57.00    48.00    44.00    41.00
122.00     1.00  4.00     2.00     1.00     2.00    52.00    59.00    58.00    53.00    66.00
191.00     1.00  4.00     3.00     2.00     2.00    47.00    52.00    43.00    48.00    61.00
 83.00     1.00  4.00     2.00     1.00     3.00    50.00    62.00    41.00    55.00    31.00
182.00     1.00  4.00     2.00     2.00     2.00    44.00    52.00    43.00    44.00    51.00
  6.00     1.00  1.00     1.00     1.00     2.00    47.00    41.00    46.00    40.00    41.00
 46.00     1.00  3.00     1.00     1.00     2.00    45.00    55.00    44.00    34.00    41.00
 43.00     1.00  3.00     1.00     1.00     2.00    47.00    37.00    43.00    42.00    46.00
 96.00     1.00  4.00     3.00     1.00     2.00    65.00    54.00    61.00    58.00    56.00
138.00     1.00  4.00     2.00     1.00     3.00    43.00    57.00    40.00    50.00    51.00
 10.00     1.00  1.00     2.00     1.00     1.00    47.00    54.00    49.00    53.00    61.00
 71.00     1.00  4.00     2.00     1.00     1.00    57.00    62.00    56.00    58.00    66.00
139.00     1.00  4.00     2.00     1.00     2.00    68.00    59.00    61.00    55.00    71.00
110.00     1.00  4.00     2.00     1.00     3.00    52.00    55.00    50.00    54.00    61.00
148.00     1.00  4.00     2.00     1.00     3.00    42.00    57.00    51.00    47.00    61.00
109.00     1.00  4.00     2.00     1.00     1.00    42.00    39.00    42.00    42.00    41.00
 39.00     1.00  3.00     3.00     1.00     2.00    66.00    67.00    67.00    61.00    66.00
147.00     1.00  4.00     1.00     1.00     2.00    47.00    62.00    53.00    53.00    61.00
 74.00     1.00  4.00     2.00     1.00     2.00    57.00    50.00    50.00    51.00    58.00
198.00     1.00  4.00     3.00     2.00     2.00    47.00    61.00    51.00    63.00    31.00
161.00     1.00  4.00     1.00     1.00     2.00    57.00    62.00    72.00    61.00    61.00
112.00     1.00  4.00     2.00     1.00     2.00    52.00    59.00    48.00    55.00    61.00
 69.00     1.00  4.00     1.00     1.00     3.00    44.00    44.00    40.00    40.00    31.00
156.00     1.00  4.00     2.00     1.00     2.00    50.00    59.00    53.00    61.00    61.00
111.00     1.00  4.00     1.00     1.00     1.00    39.00    54.00    39.00    47.00    36.00
186.00     1.00  4.00     2.00     2.00     2.00    57.00    62.00    63.00    55.00    41.00
 98.00     1.00  4.00     1.00     1.00     3.00    57.00    60.00    51.00    53.00    37.00
119.00     1.00  4.00     1.00     1.00     1.00    42.00    57.00    45.00    50.00    43.00
 13.00     1.00  1.00     2.00     1.00     3.00    47.00    46.00    39.00    47.00    61.00
 51.00     1.00  3.00     3.00     1.00     1.00    42.00    36.00    42.00    31.00    39.00
 26.00     1.00  2.00     3.00     1.00     2.00    60.00    59.00    62.00    61.00    51.00
 36.00     1.00  3.00     1.00     1.00     1.00    44.00    49.00    44.00    35.00    51.00
135.00     1.00  4.00     1.00     1.00     2.00    63.00    60.00    65.00    54.00    66.00
 59.00     1.00  4.00     2.00     1.00     2.00    65.00    67.00    63.00    55.00    71.00
 78.00     1.00  4.00     2.00     1.00     2.00    39.00    54.00    54.00    53.00    41.00
 64.00     1.00  4.00     3.00     1.00     3.00    50.00    52.00    45.00    58.00    36.00
 63.00     1.00  4.00     1.00     1.00     1.00    52.00    65.00    60.00    56.00    51.00
 79.00     1.00  4.00     2.00     1.00     2.00    60.00    62.00    49.00    50.00    51.00
193.00     1.00  4.00     2.00     2.00     2.00    44.00    49.00    48.00    39.00    51.00
 92.00     1.00  4.00     3.00     1.00     1.00    52.00    67.00    57.00    63.00    61.00
160.00     1.00  4.00     2.00     1.00     2.00    55.00    65.00    55.00    50.00    61.00
 32.00     1.00  2.00     3.00     1.00     3.00    50.00    67.00    66.00    66.00    56.00
 23.00     1.00  2.00     1.00     1.00     2.00    65.00    65.00    64.00    58.00    71.00
158.00     1.00  4.00     2.00     1.00     1.00    52.00    54.00    55.00    53.00    51.00
 25.00     1.00  2.00     2.00     1.00     1.00    47.00    44.00    42.00    42.00    36.00
188.00     1.00  4.00     3.00     2.00     2.00    63.00    62.00    56.00    55.00    61.00
 52.00     1.00  3.00     1.00     1.00     2.00    50.00    46.00    53.00    53.00    66.00
124.00     1.00  4.00     1.00     1.00     3.00    42.00    54.00    41.00    42.00    41.00
175.00     1.00  4.00     3.00     2.00     1.00    36.00    57.00    42.00    50.00    41.00
184.00     1.00  4.00     2.00     2.00     3.00    50.00    52.00    53.00    55.00    56.00
 30.00     1.00  2.00     3.00     1.00     2.00    41.00    59.00    42.00    34.00    51.00
179.00     1.00  4.00     2.00     2.00     2.00    47.00    65.00    60.00    50.00    56.00
 31.00     1.00  2.00     2.00     2.00     1.00    55.00    59.00    52.00    42.00    56.00
145.00     1.00  4.00     2.00     1.00     3.00    42.00    46.00    38.00    36.00    46.00
187.00     1.00  4.00     2.00     2.00     1.00    57.00    41.00    57.00    55.00    52.00
118.00     1.00  4.00     2.00     1.00     1.00    55.00    62.00    58.00    58.00    61.00
137.00     1.00  4.00     3.00     1.00     2.00    63.00    65.00    65.00    53.00    61.00
end data.

factor
  /variables read write math science socst
  /analysis read write math science socst
  /extraction pc
  /plot eigen
  /criteria mineigen (.557)
  .
_ATEOF


{ set +x
$as_echo "$at_srcdir/factor.at:1759: pspp -O format=csv factor2.sps"
at_fn_check_prepare_trace "factor.at:1759"
( $at_check_trace; pspp -O format=csv factor2.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Communalities
,Initial,Extraction
read,1.000,.736
write,1.000,.704
math,1.000,.750
science,1.000,.849
socst,1.000,.900

Table: Total Variance Explained
,Initial Eigenvalues,,,Extraction Sums of Squared Loadings,,,Rotation Sums of Squared Loadings,,
Component,Total,% of Variance,Cumulative %,Total,% of Variance,Cumulative %,Total,% of Variance,Cumulative %
1,3.381,67.616,67.616,3.381,67.616,67.616,2.113,42.267,42.267
2,.557,11.148,78.764,.557,11.148,78.764,1.825,36.497,78.764
3,.407,8.136,86.900,,,,,,
4,.356,7.123,94.023,,,,,,
5,.299,5.977,100.000,,,,,,

Table: Component Matrix
,Component,
,1,2
read,.858,.020
write,.824,-.155
math,.844,.195
science,.801,.456
socst,.783,-.536

Table: Rotated Component Matrix
,Component,
,1,2
read,.650,.559
write,.508,.667
math,.757,.421
science,.900,.198
socst,.222,.922
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/factor.at:1759"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_511
#AT_START_512
at_fn_group_banner 512 'factor.at:1800' \
  "FACTOR empty dataset" "                           " 76
at_xfail=no
(
  $as_echo "512. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >factor-empty.sps <<'_ATEOF'
data list notable list /x * y * z *.
begin data.
3.4        .     92.9
.        32.09   34.2
1.00     19.80     .
2.00       .      3.6
end data.

factor /variables = ALL.
_ATEOF


{ set +x
$as_echo "$at_srcdir/factor.at:1815: pspp -O format=csv factor-empty.sps"
at_fn_check_prepare_trace "factor.at:1815"
( $at_check_trace; pspp -O format=csv factor-empty.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/factor.at:1815"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_512
#AT_START_513
at_fn_group_banner 513 'factor.at:1821' \
  "FACTOR /ROTATION=NOROTATE" "                      " 76
at_xfail=no
(
  $as_echo "513. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >factor-norotate.sps <<'_ATEOF'
DATA LIST FREE / TRAIT1 TO TRAIT5 (F8.2).
BEGIN DATA
1 5 5 1 1
8 9 7 9 8
9 8 9 9 8
9 9 9 9 9
1 9 1 1 9
9 7 7 9 9
9 7 9 9 7
END DATA

FACTOR /VARIABLES=TRAIT1 TO TRAIT5
    /ROTATION=NOROTATE /* NOROTATE may have caused the problem. */
    /EXTRACTION=PC
    /PRINT=DEFAULT DET UNIVARIATE ROTATION SIG CORRELATION.
_ATEOF


{ set +x
$as_echo "$at_srcdir/factor.at:1840: pspp -O format=csv factor-norotate.sps"
at_fn_check_prepare_trace "factor.at:1840"
( $at_check_trace; pspp -O format=csv factor-norotate.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Descriptive Statistics
,Mean,Std. Deviation,Analysis N
TRAIT1,6.57,3.54,7
TRAIT2,7.71,1.39,7
TRAIT3,6.71,2.71,7
TRAIT4,6.71,3.61,7
TRAIT5,7.29,2.66,7

Table: Correlation Matrix
,,TRAIT1,TRAIT2,TRAIT3,TRAIT4,TRAIT5
Correlations,TRAIT1,1.00,.30,.88,1.00,.54
,TRAIT2,.30,1.00,-.02,.33,.84
,TRAIT3,.88,-.02,1.00,.87,.13
,TRAIT4,1.00,.33,.87,1.00,.54
,TRAIT5,.54,.84,.13,.54,1.00
Sig. (1-tailed),TRAIT1,,.260,.004,.000,.103
,TRAIT2,.260,,.482,.238,.009
,TRAIT3,.004,.482,,.006,.390
,TRAIT4,.000,.238,.006,,.103
,TRAIT5,.103,.009,.390,.103,
Determinant,.00,,,,,

Table: Communalities
,Initial,Extraction
TRAIT1,1.00,1.00
TRAIT2,1.00,1.00
TRAIT3,1.00,.99
TRAIT4,1.00,.99
TRAIT5,1.00,.99

Table: Total Variance Explained
,Initial Eigenvalues,,,Extraction Sums of Squared Loadings,,
Component,Total,% of Variance,Cumulative %,Total,% of Variance,Cumulative %
1,3.26,65.26,65.26,3.26,65.26,65.26
2,1.54,30.77,96.03,1.54,30.77,96.03
3,.17,3.36,99.39,.17,3.36,99.39
4,.03,.61,100.00,.03,.61,100.00
5,.00,.00,100.00,,,

Table: Component Matrix
,Component,,,
,1,2,3,4
TRAIT1,.97,.23,-.08,.00
TRAIT2,.52,-.81,.28,.00
TRAIT3,.78,.59,.17,.00
TRAIT4,.97,.21,-.04,.00
TRAIT5,.70,-.67,-.23,.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/factor.at:1840"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_513
#AT_START_514
at_fn_group_banner 514 'factor.at:1895' \
  "FACTOR /CRITERIA=ITERATE" "                       " 76
at_xfail=no
(
  $as_echo "514. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >factor-iterate.sps <<'_ATEOF'
set format = F20.3.
data list notable list /x y z *.
begin data.
1.00    5.00    3.00
2.00    2.00    2.00
3.00    1.00    1.00
4.00    4.00    5.00
5.00    3.00    9.00
6.00    6.00    4.00
7.00    7.00    6.00
8.00    8.00    8.00
9.00    9.00    7.00
end data.

FACTOR
 /VARIABLES= x y z
 /CRITERIA = MINEIGEN (1) ITERATE (25)
 /EXTRACTION =PAF
 /METHOD = CORRELATION
 /PRINT = INITIAL EXTRACTION
 /CRITERIA = ITERATE (0)
 /ROTATION = NOROTATE.
_ATEOF


{ set +x
$as_echo "$at_srcdir/factor.at:1921: pspp -O format=csv factor-iterate.sps"
at_fn_check_prepare_trace "factor.at:1921"
( $at_check_trace; pspp -O format=csv factor-iterate.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Communalities
,Initial,Extraction
x,.735,.979
y,.640,.653
z,.514,.523

Table: Total Variance Explained
,Initial Eigenvalues,,,Extraction Sums of Squared Loadings,,
Factor,Total,% of Variance,Cumulative %,Total,% of Variance,Cumulative %
1,2.404,80.124,80.124,2.155,71.847,71.847
2,.425,14.166,94.290,,,
3,.171,5.710,100.000,,,

Table: Factor Matrix
,Factor
,1
x,.990
y,.808
z,.723
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/factor.at:1921"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_514
#AT_START_515
at_fn_group_banner 515 'factor.at:1945' \
  "FACTOR promax" "                                  " 76
at_xfail=no
(
  $as_echo "515. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >factor-promax.sps <<'_ATEOF'
set decimal=dot.
set format=F22.3.

get file='llz.zsav'.

factor
	/variables pz pn ps nz nn ns tz tn ts oz on os sz sn ss zz zn zs
	/missing listwise
	/print initial extraction rotation
	/criteria mineigen(1) iterate(25)
	/extraction paf
	/method correlation
	/rotation promax (5).
_ATEOF


{ set +x
$as_echo "$at_srcdir/factor.at:1962: ln -s \$top_srcdir/tests/language/stats/llz.zsav ."
at_fn_check_prepare_dynamic "ln -s $top_srcdir/tests/language/stats/llz.zsav ." "factor.at:1962"
( $at_check_trace; ln -s $top_srcdir/tests/language/stats/llz.zsav .
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/factor.at:1962"
$at_failed && at_fn_log_failure
$at_traceon; }


{ set +x
$as_echo "$at_srcdir/factor.at:1964: pspp -O format=csv factor-promax.sps"
at_fn_check_prepare_trace "factor.at:1964"
( $at_check_trace; pspp -O format=csv factor-promax.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Communalities
,Initial,Extraction
PZ,.191,.375
PN,.042,.102
PS,.458,.623
NZ,.100,.163
NN,.065,.079
NS,.129,.148
TZ,.181,.344
TN,.102,.142
TS,.310,.372
OZ,.097,.158
ON,.323,.410
OS,.469,.617
SZ,.104,.170
SN,.154,.267
SS,.081,.180
ZZ,.123,.192
ZN,.208,.412
ZS,.130,.158

Table: Total Variance Explained
,Initial Eigenvalues,,,Extraction Sums of Squared Loadings,,,Rotation Sums of Squared Loadings
Factor,Total,% of Variance,Cumulative %,Total,% of Variance,Cumulative %,Total
1,2.968,16.491,16.491,2.411,13.393,13.393,2.355
2,2.026,11.253,27.744,1.271,7.059,20.452,1.209
3,1.622,9.011,36.756,.948,5.264,25.716,1.231
4,1.086,6.032,42.788,.283,1.574,27.290,.770
5,.996,5.533,48.321,,,,
6,.923,5.130,53.451,,,,
7,.873,4.852,58.303,,,,
8,.856,4.756,63.060,,,,
9,.836,4.644,67.703,,,,
10,.816,4.534,72.237,,,,
11,.785,4.359,76.596,,,,
12,.740,4.110,80.706,,,,
13,.713,3.964,84.670,,,,
14,.653,3.626,88.296,,,,
15,.633,3.519,91.815,,,,
16,.604,3.356,95.171,,,,
17,.484,2.687,97.858,,,,
18,.386,2.142,100.000,,,,

Table: Factor Matrix
,Factor,,,
,1,2,3,4
PZ,-.276,.154,.510,.124
PN,.096,.129,-.091,.261
PS,.746,-.085,.234,.063
NZ,-.111,.323,.206,-.058
NN,.007,.260,-.083,-.069
NS,.366,.096,.046,.051
TZ,-.228,.172,.509,.059
TN,.131,.345,-.074,.029
TS,.601,-.005,.098,.030
OZ,-.145,.166,.322,-.081
ON,.607,.082,.073,-.173
OS,.757,-.059,.171,-.104
SZ,-.142,.307,.226,-.066
SN,.175,.436,-.183,.115
SS,.199,.206,-.083,.302
ZZ,-.074,.411,-.080,-.104
ZN,.015,.580,-.252,-.114
ZS,.365,.156,-.004,.015

Table: Pattern Matrix
,Factor,,,
,1,2,3,4
PZ,-.063,-.126,.599,.085
PN,-.035,.000,-.033,.325
PS,.762,-.175,.058,.081
NZ,.027,.230,.327,-.044
NN,.008,.289,.008,-.026
NS,.344,.044,.015,.091
TZ,.004,-.074,.589,.020
TN,.097,.307,.033,.103
TS,.585,-.043,-.017,.062
OZ,.046,.067,.382,-.109
ON,.654,.151,-.029,-.145
OS,.803,-.037,-.009,-.092
SZ,.009,.213,.345,-.060
SN,.065,.376,-.036,.227
SS,.054,.042,-.013,.388
ZZ,-.044,.434,.078,-.046
ZN,-.025,.646,-.041,-.006
ZS,.337,.133,-.013,.067

Table: Structure Matrix
,Factor,,,
,1,2,3,4
PZ,-.177,-.058,.598,-.022
PN,.068,.110,-.049,.317
PS,.771,-.138,-.136,.240
NZ,-.060,.236,.339,.019
NN,.000,.281,.027,.076
NS,.368,.080,-.068,.207
TZ,-.127,-.028,.582,-.049
TN,.122,.345,.023,.235
TS,.607,-.018,-.160,.221
OZ,-.074,.055,.384,-.101
ON,.619,.104,-.160,.102
OS,.778,-.064,-.190,.132
SZ,-.086,.215,.361,-.009
SN,.143,.453,-.044,.380
SS,.171,.176,-.052,.420
ZZ,-.073,.422,.120,.085
ZN,-.013,.641,.008,.214
ZS,.361,.158,-.088,.213

Table: Factor Correlation Matrix
Factor,1,2,3,4
1,1.000,.008,-.232,.294
2,.008,1.000,.065,.347
3,-.232,.065,1.000,-.076
4,.294,.347,-.076,1.000
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/factor.at:1964"
$at_failed && at_fn_log_failure
$at_traceon; }



  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_515
#AT_START_516
at_fn_group_banner 516 'factor.at:2090' \
  "FACTOR covariance matrix" "                       " 76
at_xfail=no
(
  $as_echo "516. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >covariance-matrix.sps <<'_ATEOF'
set format = F10.3.
matrix data
    variables = rowtype_  var01 var02 var03 var04 var05 var06 var07 var08
    / format = lower diagonal .
begin data
mean     24.3  5.4  69.7  20.1  13.4  2.7  27.9  3.7
sd        5.7  1.5  23.5  5.8    2.8  4.5   5.4  1.5
n        92   92    92   92     92   92    92   92
cov   32.490000
cov   1.539000 2.250000
cov   -29.469000 -5.992500 552.250000
cov   11.901600 2.697000 -19.082000 33.640000
cov   4.309200 0.672000 -7.896000 3.572800 7.840000
cov   8.464500 1.012500 -17.977500 6.264000 2.646000 20.250000
cov   15.390000 2.349000 -25.380000 10.022400 1.814400 9.234000 29.160000
cov   1.453500 0.652500 -1.762500 1.740000 1.134000 1.350000 0.324000 2.250000
end data.

factor matrix in (cov = *)
    / method = covariance
    / print = initial covariance
    / extraction = pc
    / rotation = norotate.
_ATEOF


{ set +x
$as_echo "$at_srcdir/factor.at:2118: pspp -O format=csv covariance-matrix.sps"
at_fn_check_prepare_trace "factor.at:2118"
( $at_check_trace; pspp -O format=csv covariance-matrix.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Covariance Matrix
,var01,var02,var03,var04,var05,var06,var07,var08
var01,32.490,1.539,-29.469,11.902,4.309,8.464,15.390,1.454
var02,1.539,2.250,-5.992,2.697,.672,1.013,2.349,.653
var03,-29.469,-5.992,552.250,-19.082,-7.896,-17.977,-25.380,-1.763
var04,11.902,2.697,-19.082,33.640,3.573,6.264,10.022,1.740
var05,4.309,.672,-7.896,3.573,7.840,2.646,1.814,1.134
var06,8.464,1.013,-17.977,6.264,2.646,20.250,9.234,1.350
var07,15.390,2.349,-25.380,10.022,1.814,9.234,29.160,.324
var08,1.454,.653,-1.763,1.740,1.134,1.350,.324,2.250

Table: Communalities
,Initial
var01,32.490
var02,2.250
var03,552.250
var04,33.640
var05,7.840
var06,20.250
var07,29.160
var08,2.250

Table: Total Variance Explained
,Initial Eigenvalues,,
Component,Total,% of Variance,Cumulative %
1,556.895,81.881,81.881
2,57.963,8.522,90.403
3,23.576,3.466,93.869
4,16.446,2.418,96.288
5,14.603,2.147,98.435
6,6.831,1.004,99.439
7,2.375,.349,99.788
8,1.440,.212,100.000

Table: Component Matrix
,Component,,,,,,
,1,2,3,4,5,6,7
var01,1.394,4.388,1.513,-2.851,.849,.396,.033
var02,.269,.460,-.173,.147,-.146,-.213,.872
var03,-23.489,.725,.058,.003,.022,-.012,.006
var04,.926,4.007,-4.068,.241,-.253,.218,-.026
var05,.363,.829,-.172,-.255,.805,-2.492,.058
var06,.843,2.354,.971,2.425,2.649,.392,.046
var07,1.205,3.948,1.926,1.515,-2.450,-.317,-.087
var08,.085,.319,-.157,-.011,.353,-.341,-.816
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/factor.at:2118"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_516
#AT_START_517
at_fn_group_banner 517 'factor.at:2171' \
  "FACTOR correlation matrix" "                      " 76
at_xfail=no
(
  $as_echo "517. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >correlation-matrix.sps <<'_ATEOF'
set format = F10.3.

matrix data
    variables = rowtype_
    cdi_actws_16  cdi_maxzin_16  rdls_passws_16  rdls_actws_16  cdi_actws_20  cdi_maxzin_20  cdi_actws_26  cdi_maxzin_26  rdls_passws_26  rdls_actws_26
    nepsy_passws_36  morf_verv_36  bnt_actws_36  klankgr_id_36  snelnoe_36  letters_36  ppvt_passws_50  morf_verv_50
    nepsy_passws_56  bnt_actws_56  klank_gr_weg_56  snelnoe_56  letters_56
    leesacc_wo_owo_811  leesacc_tekst_811  leesacc_otekst_811  leessne_wo_owo_811  leesvl_tekst_811  leesvl_otekst_811  leessne_wo_811  spel_wo_owo_811
    / format = upper diagonal .
begin data
mean  64.44  1.74  15.30  11.50  269.03  5.37  441.90  8.57  36.59  33.99  11.68  14.74  18.67  6.70  71.57  2.28  70.45  51.82  18.82  34.57  11.68  45.63  12.94  35.08  92.60  79.28  2.78  61.71  29.44  9.46  13.17
sd   74.93  1.36  5.51  4.17  159.26  2.76  128.77  3.50  6.20  6.50  3.55  8.37  5.90  3.01  24.81  4.09  24.44  18.55  2.90  6.46  3.01  14.06  7.69  4.36  7.10  17.57  1.27  25.68  11.75  3.36  4.13
n     150 150 150 150 150 150 150 150 150 150 150 150 150 150 150 150 150 150 150 150 150 150 150 150 150 150 150 150 150 150 150
corr    1.00  .784  .397  .862  .692  .625  .490  .374  .406  .371  .260  .257  .306  .118  -.148  .072  .202  .234  .198  .241  .205  -.054  .246  .166  .143  .155  -.122  .144  -.010  .135  .241
corr    1.00  .333  .751  .549  .553  .447  .313  .304  .377  .204  .249  .258  .193  -.158  .119  .150  .216  .127  .209  .242  .046  .233  .120  .155  .107  -.126  .147  -.009  .134  .208
corr    1.00  .469  .433  .381  .442  .307  .462  .391  .378  .293  .369  .191  -.306  .238  .204  .215  .295  .285  .157  .069  .241  .029  .060  .054  -.043  .124  -.069  .054  .136
corr    1.00  .708  .663  .509  .419  .434  .432  .267  .255  .342  .132  -.192  .142  .228  .203  .248  .260  .200  -.051  .254  .136  .156  .109  -.126  .172  -.004  .157  .268
corr    1.00  .787  .710  .567  .402  .511  .274  .285  .332  .154  -.096  .247  .253  .235  .245  .257  .261  -.048  .243  .119  .194  .164  -.108  .184  .011  .157  .235
corr    1.00  .590  .646  .449  .505  .313  .322  .405  .148  -.117  .152  .294  .322  .252  .321  .267  -.055  .255  .118  .178  .137  -.110  .182  .004  .146  .216
corr    1.00  .548  .343  .619  .296  .260  .456  .149  -.098  .252  .279  .267  .342  .361  .186  -.066  .215  .107  .148  .059  -.114  .156  -.035  .095  .220
corr    1.00  .406  .509  .397  .236  .416  .037  -.179  .192  .334  .293  .277  .367  .162  -.150  .306  .171  .307  .173  -.128  .255  .075  .224  .315
corr    1.00  .410  .497  .560  .574  .240  -.301  .204  .508  .351  .457  .428  .242  -.117  .367  .136  .191  .191  -.102  .215  .053  .185  .273
corr    1.00  .328  .258  .534  .236  -.202  .200  .333  .209  .352  .375  .302  -.119  .272  .062  .203  .042  -.092  .220  .020  .158  .227
corr    1.00  .439  .488  .323  -.213  .287  .507  .427  .493  .522  .298  -.142  .371  .109  .215  .213  -.048  .228  .009  .133  .267
corr    1.00  .437  .381  -.158  .153  .403  .430  .383  .379  .150  -.141  .303  .115  .131  .155  -.170  .206  .039  .193  .254
corr    1.00  .247  -.143  .182  .521  .364  .415  .688  .304  -.185  .327  .188  .211  .202  -.111  .272  .122  .226  .301
corr    1.00  -.150  .229  .296  .249  .329  .255  .210  -.036  .252  .141  .230  .112  -.195  .309  .135  .250  .195
corr    1.00  -.132  -.204  -.162  -.284  -.166  -.189  .294  -.339  -.094  -.218  -.144  .153  -.246  -.128  -.192  -.239
corr    1.00  .151  .132  .166  .195  .387  -.214  .476  .154  .187  .167  -.236  .410  .316  .370  .245
corr    1.00  .388  .479  .591  .294  -.171  .351  .102  .245  .180  .003  .274  .059  .178  .236
corr    1.00  .408  .437  .276  -.153  .353  .251  .318  .229  -.111  .263  .042  .203  .349
corr    1.00  .467  .234  -.249  .382  .199  .313  .197  -.117  .263  .047  .215  .318
corr    1.00  .368  -.199  .441  .198  .224  .197  -.099  .329  .105  .256  .322
corr    1.00  -.211  .473  .233  .253  .268  -.198  .397  .229  .309  .277
corr    1.00  -.310  -.217  -.312  -.203  .227  -.296  -.260  -.276  -.321
corr    1.00  .368  .350  .311  -.313  .578  .338  .521  .458
corr    1.00  .415  .580  -.588  .545  .497  .635  .683
corr    1.00  .570  -.386  .494  .340  .538  .524
corr    1.00  -.366  .427  .299  .498  .506
corr    1.00  -.684  -.620  -.746  -.568
corr    1.00  .759  .900  .555
corr    1.00  .814  .400
corr    1.00  .621
corr    1.00
end data .

factor  matrix in (cor = *)
    / analysis = cdi_actws_16 rdls_actws_16 cdi_actws_20 cdi_actws_26 rdls_actws_26 bnt_actws_36 bnt_actws_56
    / format = default
    / criteria = factors (1)
    / extraction = pc
    / rotation = norotate
    / print = initial extraction .

_ATEOF


{ set +x
$as_echo "$at_srcdir/factor.at:2230: pspp -O format=csv correlation-matrix.sps"
at_fn_check_prepare_trace "factor.at:2230"
( $at_check_trace; pspp -O format=csv correlation-matrix.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Communalities
,Initial,Extraction
cdi_actws_16,1.000,.614
rdls_actws_16,1.000,.660
cdi_actws_20,1.000,.695
cdi_actws_26,1.000,.650
rdls_actws_26,1.000,.536
bnt_actws_36,1.000,.443
bnt_actws_56,1.000,.316

Table: Total Variance Explained
,Initial Eigenvalues,,,Extraction Sums of Squared Loadings,,
Component,Total,% of Variance,Cumulative %,Total,% of Variance,Cumulative %
1,3.914,55.908,55.908,3.914,55.908,55.908
2,1.320,18.852,74.760,,,
3,.716,10.223,84.983,,,
4,.422,6.030,91.012,,,
5,.278,3.977,94.989,,,
6,.216,3.088,98.077,,,
7,.135,1.923,100.000,,,

Table: Component Matrix
,Component
,1
cdi_actws_16,.784
rdls_actws_16,.812
cdi_actws_20,.834
cdi_actws_26,.806
rdls_actws_26,.732
bnt_actws_36,.666
bnt_actws_56,.562
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/factor.at:2230"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_517
#AT_START_518
at_fn_group_banner 518 'factor.at:2267' \
  "FACTOR bad input" "                               " 76
at_xfail=no
(
  $as_echo "518. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >bad-input.sps <<'_ATEOF'
set format = F10.3.
MATRIX DATA VARIABLES S1 ROWTYPE_ V1 TO V3 /SPLIT=S1.
BEGIN DATA
0 MEAN 2 4 3
0 SD 1 2 3
0 N 9 9 9
0 KORR 1
0 CORV .6 1
0 CORR .7 .8 1
1 MEAN 9 8 7
1 SD 5 6 7
1 N 9 9 9
1 CORR 1
X CORR .4 1
1 CORR .3 .2 1
END DATA.

EXECUTE.

FACTOR MATRIX IN (CORR =!*)
       /PRINT = CORRELATION
       .
_ATEOF


{ set +x
$as_echo "$at_srcdir/factor.at:2295: pspp -O format=csv bad-input.sps"
at_fn_check_prepare_trace "factor.at:2295"
( $at_check_trace; pspp -O format=csv bad-input.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 1 $at_status "$at_srcdir/factor.at:2295"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_518
#AT_START_519
at_fn_group_banner 519 'factor.at:2300' \
  "FACTOR anti-image matrix" "                       " 76
at_xfail=no
(
  $as_echo "519. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >anti-image-matrix.sps <<'_ATEOF'
SET FORMAT=F20.3 .
matrix data
 variables = rowtype_ viq piq pa ran piatwr  piatc
 / n = 476
 / format = lower diagonal .
begin data
mean  96.88  100.51  -1.73  -0.94  -2.52 -1.85
sd    10.97   11.19   1.19   0.88   0.85  0.97
corr    1.00
corr    0.38  1.00
corr    0.26  0.24  1.00
corr    0.16  0.17  0.34  1.00
corr    0.25  0.07  0.46  0.38  1.00
corr    0.37  0.22  0.39  0.30  0.59   1.00
end data.

factor matrix = in (cor = *)
 / analysis = viq piq pa ran piatwr piatc
 / format = sort
 / extraction = pc
 / rotation = norotate
 / print = aic
_ATEOF


{ set +x
$as_echo "$at_srcdir/factor.at:2327: pspp -O format=csv anti-image-matrix.sps"
at_fn_check_prepare_trace "factor.at:2327"
( $at_check_trace; pspp -O format=csv anti-image-matrix.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Anti-Image Matrices
,,viq,piq,pa,ran,piatwr,piatc
Anti-image Covariance,viq,.762,-.248,-.048,.008,-.031,-.143
,piq,-.248,.807,-.117,-.081,.108,-.071
,pa,-.048,-.117,.711,-.125,-.173,-.060
,ran,.008,-.081,-.125,.808,-.143,-.035
,piatwr,-.031,.108,-.173,-.143,.551,-.265
,piatc,-.143,-.071,-.060,-.035,-.265,.581
Anti-image Correlation,viq,.741,-.316,-.066,.011,-.048,-.215
,piq,-.316,.624,-.154,-.100,.163,-.103
,pa,-.066,-.154,.811,-.165,-.277,-.093
,ran,.011,-.100,-.165,.825,-.214,-.051
,piatwr,-.048,.163,-.277,-.214,.675,-.469
,piatc,-.215,-.103,-.093,-.051,-.469,.729

Table: Component Matrix
,Component,,,,
,1,2,3,4,5
piatc,.774,.122,-.368,.365,-.322
piatwr,.754,.418,.442,.219,-.115
pa,.707,.124,-.117,-.161,.256
piq,.456,-.733,.122,-.289,-.377
viq,.589,-.539,.033,.298,.457
ran,.592,.262,-.069,-.638,.096
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/factor.at:2327"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_519
#AT_START_520
at_fn_group_banner 520 'factor.at:2357' \
  "FACTOR Kaiser-Meyer-Olkin" "                      " 76
at_xfail=no
(
  $as_echo "520. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >kmo.sps <<'_ATEOF'
SET FORMAT=F20.3 .
matrix data
 variables = rowtype_ viq piq pa ran piatwr  piatc
 / n = 476
 / format = lower diagonal .
begin data
mean  96.88  100.51  -1.73  -0.94  -2.52 -1.85
sd    10.97   11.19   1.19   0.88   0.85  0.97
corr    1.00
corr    0.38  1.00
corr    0.26  0.24  1.00
corr    0.16  0.17  0.34  1.00
corr    0.25  0.07  0.46  0.38  1.00
corr    0.37  0.22  0.39  0.30  0.59   1.00
end data.

factor matrix = in (cor = *)
 / analysis = viq piq pa ran piatwr piatc
 / extraction = pc
 / rotation = norotate
 / print = kmo
_ATEOF


{ set +x
$as_echo "$at_srcdir/factor.at:2383: pspp -O format=csv kmo.sps"
at_fn_check_prepare_trace "factor.at:2383"
( $at_check_trace; pspp -O format=csv kmo.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: KMO and Bartlett's Test
Kaiser-Meyer-Olkin Measure of Sampling Adequacy,,.730
Bartlett's Test of Sphericity,Approx. Chi-Square,602.673
,df,15
,Sig.,.000

Table: Component Matrix
,Component,,,,
,1,2,3,4,5
viq,.589,-.539,.033,.298,.457
piq,.456,-.733,.122,-.289,-.377
pa,.707,.124,-.117,-.161,.256
ran,.592,.262,-.069,-.638,.096
piatwr,.754,.418,.442,.219,-.115
piatc,.774,.122,-.368,.365,-.322
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/factor.at:2383"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_520
#AT_START_521
at_fn_group_banner 521 'flip.at:19' \
  "FLIP with NEWNAMES" "                             " 77
at_xfail=no
(
  $as_echo "521. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >flip.sps <<'_ATEOF'
data list notable /N 1 (a) a b c d 2-9.
list.
begin data.
v 1 2 3 4 5
w 6 7 8 910
x1112131415
y1617181920
z2122232425
end data.
temporary.
compute e = a.
flip newnames=n.
list.
flip.
list.
_ATEOF

{ set +x
$as_echo "$at_srcdir/flip.at:37: pspp -O format=csv flip.sps"
at_fn_check_prepare_trace "flip.at:37"
( $at_check_trace; pspp -O format=csv flip.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
N,a,b,c,d
v,1,2,3,4
w,6,7,8,9
x,11,12,13,14
y,16,17,18,19
z,21,22,23,24

flip.sps:12: warning: FLIP: FLIP ignores TEMPORARY.  Temporary transformations will be made permanent.

Table: Data List
CASE_LBL,v,w,x,y,z
a       ,1.00,6.00,11.00,16.00,21.00
b       ,2.00,7.00,12.00,17.00,22.00
c       ,3.00,8.00,13.00,18.00,23.00
d       ,4.00,9.00,14.00,19.00,24.00
e       ,1.00,6.00,11.00,16.00,21.00

Table: Data List
CASE_LBL,a,b,c,d,e
v       ,1.00,2.00,3.00,4.00,1.00
w       ,6.00,7.00,8.00,9.00,6.00
x       ,11.00,12.00,13.00,14.00,11.00
y       ,16.00,17.00,18.00,19.00,16.00
z       ,21.00,22.00,23.00,24.00,21.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/flip.at:37"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_521
#AT_START_522
at_fn_group_banner 522 'flip.at:66' \
  "FLIP without NEWNAMES" "                          " 77
at_xfail=no
(
  $as_echo "522. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >flip.sps <<'_ATEOF'
data list list notable /v1 to v10.
format all(f2).
begin data.
1 2 3 4 5 6 7 8 9 10
4 5 6 7 8 9 10 11 12 13
end data.

list.

flip.
list.
_ATEOF

{ set +x
$as_echo "$at_srcdir/flip.at:80: pspp -O format=csv flip.sps"
at_fn_check_prepare_trace "flip.at:80"
( $at_check_trace; pspp -O format=csv flip.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
v1,v2,v3,v4,v5,v6,v7,v8,v9,v10
1,2,3,4,5,6,7,8,9,10
4,5,6,7,8,9,10,11,12,13

Table: Data List
CASE_LBL,VAR000,VAR001
v1      ,1.00,4.00
v2      ,2.00,5.00
v3      ,3.00,6.00
v4      ,4.00,7.00
v5      ,5.00,8.00
v6      ,6.00,9.00
v7      ,7.00,10.00
v8      ,8.00,11.00
v9      ,9.00,12.00
v10     ,10.00,13.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/flip.at:80"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_522
#AT_START_523
at_fn_group_banner 523 'flip.at:104' \
  "FLIP badly formed" "                              " 77
at_xfail=no
(
  $as_echo "523. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >flip.sps <<'_ATEOF'
data list notable /N 1 (a) a b c d 2-9.

flip newnames=n.
list.
flip.
_ATEOF


{ set +x
$as_echo "$at_srcdir/flip.at:114: pspp -O format=csv flip.sps"
at_fn_check_prepare_trace "flip.at:114"
( $at_check_trace; pspp -O format=csv flip.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 1 $at_status "$at_srcdir/flip.at:114"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_523
#AT_START_524
at_fn_group_banner 524 'flip.at:120' \
  "FLIP with invalid variable names" "               " 77
at_xfail=no
(
  $as_echo "524. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >flip.sps <<'_ATEOF'
data list notable list /N (a3) a b c d *.
begin data.
""   1  2  3  4
BY   1  2  3  4
end data.

flip newnames=n.

list.
_ATEOF


{ set +x
$as_echo "$at_srcdir/flip.at:134: pspp -O format=csv flip.sps"
at_fn_check_prepare_trace "flip.at:134"
( $at_check_trace; pspp -O format=csv flip.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
CASE_LBL,v,BY1
a       ,1.00,1.00
b       ,2.00,2.00
c       ,3.00,3.00
d       ,4.00,4.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/flip.at:134"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_524
#AT_START_525
at_fn_group_banner 525 'frequencies.at:19' \
  "FREQUENCIES string variable" "                    " 78
at_xfail=no
(
  $as_echo "525. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >frequencies.sps <<'_ATEOF'
DATA LIST FREE/
   name  (A8) value * quantity .
BEGIN DATA.
foo 1 5
bar 2 6
baz 1 9
quux 3 1
bar 1 2
baz 4 3
baz 1 4
baz 1 1
foo 6 0
quux 5 8
END DATA.
EXECUTE.

FREQUENCIES /VAR = name/ORDER=ANALYSIS.
_ATEOF

{ set +x
$as_echo "$at_srcdir/frequencies.at:39: pspp -O format=csv frequencies.sps"
at_fn_check_prepare_trace "frequencies.at:39"
( $at_check_trace; pspp -O format=csv frequencies.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: name
Value Label,Value,Frequency,Percent,Valid Percent,Cum Percent
,bar     ,2,20.00,20.00,20.00
,baz     ,4,40.00,40.00,60.00
,foo     ,2,20.00,20.00,80.00
,quux    ,2,20.00,20.00,100.00
Total,,10,100.0,100.0,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/frequencies.at:39"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_525
#AT_START_526
at_fn_group_banner 526 'frequencies.at:52' \
  "FREQUENCIES two runs crash" "                     " 78
at_xfail=no
(
  $as_echo "526. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >frequencies.sps <<'_ATEOF'
data list free /v1 v2.
begin data.
0 1
2 3
4 5
3 4
end data.

frequencies v1 v2/statistics=none/ORDER=VARIABLE.
frequencies v1 v2/statistics=none.
_ATEOF

{ set +x
$as_echo "$at_srcdir/frequencies.at:65: pspp -O format=csv frequencies.sps"
at_fn_check_prepare_trace "frequencies.at:65"
( $at_check_trace; pspp -O format=csv frequencies.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: v1
Value Label,Value,Frequency,Percent,Valid Percent,Cum Percent
,.00,1,25.00,25.00,25.00
,2.00,1,25.00,25.00,50.00
,3.00,1,25.00,25.00,75.00
,4.00,1,25.00,25.00,100.00
Total,,4,100.0,100.0,

Table: v2
Value Label,Value,Frequency,Percent,Valid Percent,Cum Percent
,1.00,1,25.00,25.00,25.00
,3.00,1,25.00,25.00,50.00
,4.00,1,25.00,25.00,75.00
,5.00,1,25.00,25.00,100.00
Total,,4,100.0,100.0,

Table: v1
Value Label,Value,Frequency,Percent,Valid Percent,Cum Percent
,.00,1,25.00,25.00,25.00
,2.00,1,25.00,25.00,50.00
,3.00,1,25.00,25.00,75.00
,4.00,1,25.00,25.00,100.00
Total,,4,100.0,100.0,

Table: v2
Value Label,Value,Frequency,Percent,Valid Percent,Cum Percent
,1.00,1,25.00,25.00,25.00
,3.00,1,25.00,25.00,50.00
,4.00,1,25.00,25.00,75.00
,5.00,1,25.00,25.00,100.00
Total,,4,100.0,100.0,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/frequencies.at:65"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_526
#AT_START_527
at_fn_group_banner 527 'frequencies.at:101' \
  "FREQUENCIES with LIMIT" "                         " 78
at_xfail=no
(
  $as_echo "527. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >frequencies.sps <<'_ATEOF'
data list free /v1 v2.
begin data.
0 1
2 5
4 3
3 5
end data.

frequencies v1 v2/statistics=none/FORMAT=LIMIT(3).
_ATEOF

{ set +x
$as_echo "$at_srcdir/frequencies.at:113: pspp -O format=csv frequencies.sps"
at_fn_check_prepare_trace "frequencies.at:113"
( $at_check_trace; pspp -O format=csv frequencies.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: v2
Value Label,Value,Frequency,Percent,Valid Percent,Cum Percent
,1.00,1,25.00,25.00,25.00
,3.00,1,25.00,25.00,50.00
,5.00,2,50.00,50.00,100.00
Total,,4,100.0,100.0,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/frequencies.at:113"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_527
#AT_START_528
at_fn_group_banner 528 'frequencies.at:125' \
  "FREQUENCIES HTML output crash" "                  " 78
at_xfail=no
(
  $as_echo "528. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >frequencies.sps <<'_ATEOF'
data list free /v1 v2.
begin data.
0 1
2 3
4 5
3 4
end data.

list.

frequencies v1/statistics=none.
_ATEOF

{ set +x
$as_echo "$at_srcdir/frequencies.at:139: pspp -o - -O format=csv -o pspp.html frequencies.sps"
at_fn_check_prepare_trace "frequencies.at:139"
( $at_check_trace; pspp -o - -O format=csv -o pspp.html frequencies.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
v1,v2
.00,1.00
2.00,3.00
4.00,5.00
3.00,4.00

Table: v1
Value Label,Value,Frequency,Percent,Valid Percent,Cum Percent
,.00,1,25.00,25.00,25.00
,2.00,1,25.00,25.00,50.00
,3.00,1,25.00,25.00,75.00
,4.00,1,25.00,25.00,100.00
Total,,4,100.0,100.0,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/frequencies.at:139"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/frequencies.at:155: test -s pspp.html"
at_fn_check_prepare_trace "frequencies.at:155"
( $at_check_trace; test -s pspp.html
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/frequencies.at:155"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_528
#AT_START_529
at_fn_group_banner 529 'frequencies.at:160' \
  "FREQUENCIES pie chart crash" "                    " 78
at_xfail=no
(
  $as_echo "529. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >frequencies.sps <<'_ATEOF'
data list list /x * w *.
begin data.
1  4
34 10
-9 15
232 6
11  4
134 1
9  5
32 16
-2 6
2  16
20  6
end data.

weight by w.

frequencies /x /format=notable /statistics=none
	/piechart.
_ATEOF

# Cannot use the CSV driver for this because it does not output charts
# at all.
{ set +x
$as_echo "$at_srcdir/frequencies.at:184: pspp frequencies.sps"
at_fn_check_prepare_trace "frequencies.at:184"
( $at_check_trace; pspp frequencies.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Reading free-form data from INLINE.
+--------+------+
|Variable|Format|
#========#======#
|x       |F8.0  |
|w       |F8.0  |
+--------+------+
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/frequencies.at:184"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_529
#AT_START_530
at_fn_group_banner 530 'frequencies.at:196' \
  "FREQUENCIES histogram crash" "                    " 78
at_xfail=no
(
  $as_echo "530. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >frequencies.sps <<'_ATEOF'
data list notable list /x * w *.
begin data.
1  4
34 10
-9 15
232 6
11  4
134 1
9  5
32 16
-2 6
2  16
20  6
end data.

weight by w.

frequencies /x
	    /format=notable
	    /statistics=none
	    /histogram=minimum(0) maximum(50) percent(5) normal.
_ATEOF

# Cannot use the CSV driver for this because it does not output charts
# at all.
{ set +x
$as_echo "$at_srcdir/frequencies.at:222: pspp -O format=pdf frequencies.sps"
at_fn_check_prepare_trace "frequencies.at:222"
( $at_check_trace; pspp -O format=pdf frequencies.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/frequencies.at:222"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_530
#AT_START_531
at_fn_group_banner 531 'frequencies.at:227' \
  "FREQUENCIES median with histogram crash" "        " 78
at_xfail=no
(
  $as_echo "531. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >frequencies.sps <<'_ATEOF'
data list list notable /x.
begin data.
1
end data.

frequencies /x /histogram /STATISTICS=median.
_ATEOF

{ set +x
$as_echo "$at_srcdir/frequencies.at:236: pspp -O format=csv frequencies.sps"
at_fn_check_prepare_trace "frequencies.at:236"
( $at_check_trace; pspp -O format=csv frequencies.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/frequencies.at:236"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_531
#AT_START_532
at_fn_group_banner 532 'frequencies.at:242' \
  "FREQUENCIES crash after TEMPORARY" "              " 78
at_xfail=no
(
  $as_echo "532. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >frequencies.sps <<'_ATEOF'
DATA LIST LIST /SEX (A1) X *.
BEGIN DATA.
M 31
F 21
M 41
F 31
M 13
F 12
M 14
F 13
END DATA.


TEMPORARY
SELECT IF SEX EQ 'F'
FREQUENCIES /X .

FINISH
_ATEOF

{ set +x
$as_echo "$at_srcdir/frequencies.at:263: pspp -O format=csv frequencies.sps"
at_fn_check_prepare_trace "frequencies.at:263"
( $at_check_trace; pspp -O format=csv frequencies.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Reading free-form data from INLINE.
Variable,Format
SEX,A1
X,F8.0

Table: X
Value Label,Value,Frequency,Percent,Valid Percent,Cum Percent
,12.00,1,25.00,25.00,25.00
,13.00,1,25.00,25.00,50.00
,21.00,1,25.00,25.00,75.00
,31.00,1,25.00,25.00,100.00
Total,,4,100.0,100.0,

Table: X
N,Valid,4
,Missing,0
Mean,,19.25
Std Dev,,8.81
Minimum,,12.00
Maximum,,31.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/frequencies.at:263"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_532
#AT_START_533
at_fn_group_banner 533 'frequencies.at:303' \
  "FREQUENCIES basic percentiles" "                  " 78
at_xfail=no
(
  $as_echo "533. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >frequencies.sps <<'_ATEOF'
DATA LIST LIST notable /x * .
BEGIN DATA.
1
2
3
4
5
END DATA.

FREQUENCIES
	VAR=x
	/FORMAT=NOTABLE
	/PERCENTILES = 0 25 33.333 50 66.666 75 100.
_ATEOF

{ set +x
$as_echo "$at_srcdir/frequencies.at:319: pspp -O format=csv frequencies.sps"
at_fn_check_prepare_trace "frequencies.at:319"
( $at_check_trace; pspp -O format=csv frequencies.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: x
N,Valid,5
,Missing,0
Mean,,3.00
Std Dev,,1.58
Minimum,,1.00
Maximum,,5.00
Percentiles,0,1.00
,25,2.00
,33,2.33
,50 (Median),3.00
,67,3.67
,75,4.00
,100,5.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/frequencies.at:319"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_533
#AT_START_534
at_fn_group_banner 534 'frequencies.at:323' \
  "FREQUENCIES basic n-tiles" "                      " 78
at_xfail=no
(
  $as_echo "534. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >frequencies.sps <<'_ATEOF'
DATA LIST LIST notable /x * .
BEGIN DATA.
1
2
3
4
5
END DATA.

FREQUENCIES
	VAR=x
	/FORMAT=NOTABLE
	/NTILES = 3
	/NTILES = 4.
_ATEOF

{ set +x
$as_echo "$at_srcdir/frequencies.at:340: pspp -O format=csv frequencies.sps"
at_fn_check_prepare_trace "frequencies.at:340"
( $at_check_trace; pspp -O format=csv frequencies.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: x
N,Valid,5
,Missing,0
Mean,,3.00
Std Dev,,1.58
Minimum,,1.00
Maximum,,5.00
Percentiles,0,1.00
,25,2.00
,33,2.33
,50 (Median),3.00
,67,3.67
,75,4.00
,100,5.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/frequencies.at:340"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_534
#AT_START_535
at_fn_group_banner 535 'frequencies.at:344' \
  "FREQUENCIES compatibility percentiles" "          " 78
at_xfail=no
(
  $as_echo "535. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >frequencies.sps <<'_ATEOF'
DATA LIST LIST notable /X * .
BEGIN DATA.
1
2
3
4
5
END DATA.

FREQUENCIES
	VAR=x
	/ALGORITHM=COMPATIBLE
	/PERCENTILES = 0 25 50 75 100.
_ATEOF

{ set +x
$as_echo "$at_srcdir/frequencies.at:360: pspp -O format=csv frequencies.sps"
at_fn_check_prepare_trace "frequencies.at:360"
( $at_check_trace; pspp -O format=csv frequencies.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: X
Value Label,Value,Frequency,Percent,Valid Percent,Cum Percent
,1.00,1,20.00,20.00,20.00
,2.00,1,20.00,20.00,40.00
,3.00,1,20.00,20.00,60.00
,4.00,1,20.00,20.00,80.00
,5.00,1,20.00,20.00,100.00
Total,,5,100.0,100.0,

Table: X
N,Valid,5
,Missing,0
Mean,,3.00
Std Dev,,1.58
Minimum,,1.00
Maximum,,5.00
Percentiles,0,1.00
,25,1.50
,50 (Median),3.00
,75,4.50
,100,5.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/frequencies.at:360"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_535
#AT_START_536
at_fn_group_banner 536 'frequencies.at:385' \
  "FREQUENCIES enhanced percentiles" "               " 78
at_xfail=no
(
  $as_echo "536. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >frequencies.sps <<'_ATEOF'
DATA LIST LIST notable /X * .
BEGIN DATA.
1
2
3
4
5
END DATA.

FREQUENCIES
	VAR=x
	/PERCENTILES = 0 25 50 75 100.
_ATEOF

{ set +x
$as_echo "$at_srcdir/frequencies.at:400: pspp -O format=csv frequencies.sps"
at_fn_check_prepare_trace "frequencies.at:400"
( $at_check_trace; pspp -O format=csv frequencies.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: X
Value Label,Value,Frequency,Percent,Valid Percent,Cum Percent
,1.00,1,20.00,20.00,20.00
,2.00,1,20.00,20.00,40.00
,3.00,1,20.00,20.00,60.00
,4.00,1,20.00,20.00,80.00
,5.00,1,20.00,20.00,100.00
Total,,5,100.0,100.0,

Table: X
N,Valid,5
,Missing,0
Mean,,3.00
Std Dev,,1.58
Minimum,,1.00
Maximum,,5.00
Percentiles,0,1.00
,25,2.00
,50 (Median),3.00
,75,4.00
,100,5.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/frequencies.at:400"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_536
#AT_START_537
at_fn_group_banner 537 'frequencies.at:425' \
  "FREQUENCIES enhanced percentiles, weighted" "     " 78
at_xfail=no
(
  $as_echo "537. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >frequencies.sps <<'_ATEOF'
DATA LIST LIST notable /X * F *.
BEGIN DATA.
1 2
2 2
3 2
4 1
4 1
5 1
5 1
END DATA.

WEIGHT BY f.

FREQUENCIES
	VAR=x
	/PERCENTILES = 0 25 50 75 100.
_ATEOF

{ set +x
$as_echo "$at_srcdir/frequencies.at:444: pspp -O format=csv frequencies.sps"
at_fn_check_prepare_trace "frequencies.at:444"
( $at_check_trace; pspp -O format=csv frequencies.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: X
Value Label,Value,Frequency,Percent,Valid Percent,Cum Percent
,1.00,2.00,20.00,20.00,20.00
,2.00,2.00,20.00,20.00,40.00
,3.00,2.00,20.00,20.00,60.00
,4.00,2.00,20.00,20.00,80.00
,5.00,2.00,20.00,20.00,100.00
Total,,10.00,100.0,100.0,

Table: X
N,Valid,10.00
,Missing,.00
Mean,,3.00
Std Dev,,1.49
Minimum,,1.00
Maximum,,5.00
Percentiles,0,1.00
,25,2.00
,50 (Median),3.00
,75,4.00
,100,5.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/frequencies.at:444"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_537
#AT_START_538
at_fn_group_banner 538 'frequencies.at:469' \
  "FREQUENCIES enhanced percentiles, weighted (2)" " " 78
at_xfail=no
(
  $as_echo "538. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >frequencies.sps <<'_ATEOF'
DATA LIST LIST notable /X * F *.
BEGIN DATA.
1 1
3 2
4 1
5 1
5 1
END DATA.

WEIGHT BY f.

FREQUENCIES
	VAR=x
	/PERCENTILES = 0 25 50 75 100.
_ATEOF

{ set +x
$as_echo "$at_srcdir/frequencies.at:486: pspp -O format=csv frequencies.sps"
at_fn_check_prepare_trace "frequencies.at:486"
( $at_check_trace; pspp -O format=csv frequencies.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: X
Value Label,Value,Frequency,Percent,Valid Percent,Cum Percent
,1.00,1.00,16.67,16.67,16.67
,3.00,2.00,33.33,33.33,50.00
,4.00,1.00,16.67,16.67,66.67
,5.00,2.00,33.33,33.33,100.00
Total,,6.00,100.0,100.0,

Table: X
N,Valid,6.00
,Missing,.00
Mean,,3.50
Std Dev,,1.52
Minimum,,1.00
Maximum,,5.00
Percentiles,0,1.00
,25,3.00
,50 (Median),3.50
,75,4.75
,100,5.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/frequencies.at:486"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_538
#AT_START_539
at_fn_group_banner 539 'frequencies.at:511' \
  "FREQUENCIES enhanced percentiles, weighted (3)" " " 78
at_xfail=no
(
  $as_echo "539. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >frequencies.sps <<'_ATEOF'
DATA LIST LIST notable /X * F *.
BEGIN DATA.
1 7
2 16
3 12
4 5
END DATA.

WEIGHT BY f.

FREQUENCIES
	VAR=x
	/PERCENTILES = 0 25 50 75 100.
_ATEOF

{ set +x
$as_echo "$at_srcdir/frequencies.at:527: pspp -O format=csv frequencies.sps"
at_fn_check_prepare_trace "frequencies.at:527"
( $at_check_trace; pspp -O format=csv frequencies.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: X
Value Label,Value,Frequency,Percent,Valid Percent,Cum Percent
,1.00,7.00,17.50,17.50,17.50
,2.00,16.00,40.00,40.00,57.50
,3.00,12.00,30.00,30.00,87.50
,4.00,5.00,12.50,12.50,100.00
Total,,40.00,100.0,100.0,

Table: X
N,Valid,40.00
,Missing,.00
Mean,,2.38
Std Dev,,.93
Minimum,,1.00
Maximum,,4.00
Percentiles,0,1.00
,25,2.00
,50 (Median),2.00
,75,3.00
,100,4.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/frequencies.at:527"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_539
#AT_START_540
at_fn_group_banner 540 'frequencies.at:551' \
  "FREQUENCIES enhanced percentiles, weighted, missing values" "" 78
at_xfail=no
(
  $as_echo "540. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >frequencies.sps <<'_ATEOF'
DATA LIST LIST notable /X * F *.
BEGIN DATA.
1 1
3 2
4 1
5 1
5 1
99 4
END DATA.

MISSING VALUE x (99.0) .
WEIGHT BY f.

FREQUENCIES
	VAR=x
	/PERCENTILES = 0 25 50 75 100.
_ATEOF


{ set +x
$as_echo "$at_srcdir/frequencies.at:571: pspp -O format=csv frequencies.sps"
at_fn_check_prepare_trace "frequencies.at:571"
( $at_check_trace; pspp -O format=csv frequencies.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: X
Value Label,Value,Frequency,Percent,Valid Percent,Cum Percent
,1.00,1.00,10.00,16.67,16.67
,3.00,2.00,20.00,33.33,50.00
,4.00,1.00,10.00,16.67,66.67
,5.00,2.00,20.00,33.33,100.00
,99.00,4.00,40.00,Missing,
Total,,10.00,100.0,100.0,

Table: X
N,Valid,6.00
,Missing,4.00
Mean,,3.50
Std Dev,,1.52
Minimum,,1.00
Maximum,,5.00
Percentiles,0,1.00
,25,3.00
,50 (Median),3.50
,75,4.75
,100,5.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/frequencies.at:571"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_540
#AT_START_541
at_fn_group_banner 541 'frequencies.at:596' \
  "FREQUENCIES dichotomous histogram" "              " 78
at_xfail=no
(
  $as_echo "541. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >frequencies.sps <<'_ATEOF'
data list notable list /d4 *.
begin data.
0
0
0
1
0
0
0
0
1
0
0
0
0
0
1
2
0
end data.

FREQUENCIES
	/VARIABLES = d4
	/FORMAT=AVALUE TABLE
	/HISTOGRAM=NORMAL
	.
_ATEOF


{ set +x
$as_echo "$at_srcdir/frequencies.at:626: pspp frequencies.sps"
at_fn_check_prepare_trace "frequencies.at:626"
( $at_check_trace; pspp frequencies.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/frequencies.at:626"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_541
#AT_START_542
at_fn_group_banner 542 'frequencies.at:630' \
  "FREQUENCIES median" "                             " 78
at_xfail=no
(
  $as_echo "542. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >median.sps <<'_ATEOF'
data list notable list /x *.
begin data.
1
2
3000000
end data.

FREQUENCIES
	/VARIABLES = x
	/STATISTICS = MEDIAN
	.
_ATEOF


{ set +x
$as_echo "$at_srcdir/frequencies.at:645: pspp median.sps -O format=csv"
at_fn_check_prepare_trace "frequencies.at:645"
( $at_check_trace; pspp median.sps -O format=csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: x
Value Label,Value,Frequency,Percent,Valid Percent,Cum Percent
,1.00,1,33.33,33.33,33.33
,2.00,1,33.33,33.33,66.67
,3000000.00,1,33.33,33.33,100.00
Total,,3,100.0,100.0,

Table: x
N,Valid,3
,Missing,0
Percentiles,50 (Median),2.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/frequencies.at:645"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_542
#AT_START_543
at_fn_group_banner 543 'frequencies.at:660' \
  "FREQUENCIES variance" "                           " 78
at_xfail=no
(
  $as_echo "543. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >variance.sps <<'_ATEOF'
data list notable list /forename (A12) height.
begin data.
Ahmed 188
bertram 167
Catherine 134
David 109
end data.

FREQUENCIES
   /VARIABLES = height
   /STATISTICS = VARIANCE.
_ATEOF


{ set +x
$as_echo "$at_srcdir/frequencies.at:675: pspp variance.sps -O format=csv"
at_fn_check_prepare_trace "frequencies.at:675"
( $at_check_trace; pspp variance.sps -O format=csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: height
Value Label,Value,Frequency,Percent,Valid Percent,Cum Percent
,109.00,1,25.00,25.00,25.00
,134.00,1,25.00,25.00,50.00
,167.00,1,25.00,25.00,75.00
,188.00,1,25.00,25.00,100.00
Total,,4,100.0,100.0,

Table: height
N,Valid,4
,Missing,0
Variance,,1223.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/frequencies.at:675"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_543
#AT_START_544
at_fn_group_banner 544 'frequencies.at:691' \
  "FREQUENCIES default statistics" "                 " 78
at_xfail=no
(
  $as_echo "544. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >median.sps <<'_ATEOF'
data list notable list /x *.
begin data.
10
20
3000000
end data.

FREQUENCIES
	/VARIABLES = x
	/STATISTICS
	.

FREQUENCIES
	/VARIABLES = x
	/STATISTICS = DEFAULT
	.
_ATEOF


{ set +x
$as_echo "$at_srcdir/frequencies.at:711: pspp median.sps -O format=csv"
at_fn_check_prepare_trace "frequencies.at:711"
( $at_check_trace; pspp median.sps -O format=csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: x
Value Label,Value,Frequency,Percent,Valid Percent,Cum Percent
,10.00,1,33.33,33.33,33.33
,20.00,1,33.33,33.33,66.67
,3000000.00,1,33.33,33.33,100.00
Total,,3,100.0,100.0,

Table: x
N,Valid,3
,Missing,0
Mean,,1000010.00
Std Dev,,1732042.15
Minimum,,10.00
Maximum,,3000000.00

Table: x
Value Label,Value,Frequency,Percent,Valid Percent,Cum Percent
,10.00,1,33.33,33.33,33.33
,20.00,1,33.33,33.33,66.67
,3000000.00,1,33.33,33.33,100.00
Total,,3,100.0,100.0,

Table: x
N,Valid,3
,Missing,0
Mean,,1000010.00
Std Dev,,1732042.15
Minimum,,10.00
Maximum,,3000000.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/frequencies.at:711"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_544
#AT_START_545
at_fn_group_banner 545 'frequencies.at:746' \
  "FREQUENCIES no valid data" "                      " 78
at_xfail=no
(
  $as_echo "545. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >empty.sps <<'_ATEOF'
data list notable list /x *.
begin data.
.
.
.
end data.

FREQUENCIES
	/VARIABLES = x
	/STATISTICS = ALL
	.
_ATEOF


{ set +x
$as_echo "$at_srcdir/frequencies.at:761: pspp empty.sps -O format=csv"
at_fn_check_prepare_trace "frequencies.at:761"
( $at_check_trace; pspp empty.sps -O format=csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: x
Value Label,Value,Frequency,Percent,Valid Percent,Cum Percent
,.  ,3,100.00,Missing,
Total,,3,100.0,100.0,

Table: x
N,Valid,0
,Missing,3
Mean,,.
S.E. Mean,,.
Mode,,.
Std Dev,,.
Variance,,.
Kurtosis,,.
S.E. Kurt,,.
Skewness,,.
S.E. Skew,,.
Range,,.
Minimum,,.
Maximum,,.
Sum,,.
Percentiles,,.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/frequencies.at:761"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_545
#AT_START_546
at_fn_group_banner 546 'frequencies.at:789' \
  "FREQUENCIES histogram no valid cases" "           " 78
at_xfail=no
(
  $as_echo "546. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >empty.sps <<'_ATEOF'
data list notable list /x w *.
begin data.
1 .
2 .
3 .
end data.

weight by w.

FREQUENCIES
	/VARIABLES = x
	/histogram
	.
_ATEOF


{ set +x
$as_echo "$at_srcdir/frequencies.at:806: pspp empty.sps -O format=csv"
at_fn_check_prepare_trace "frequencies.at:806"
( $at_check_trace; pspp empty.sps -O format=csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/frequencies.at:806"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_546
#AT_START_547
at_fn_group_banner 547 'frequencies.at:810' \
  "FREQUENCIES percentiles + histogram bug#48128" "  " 78
at_xfail=no
(
  $as_echo "547. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >bug.sps <<'_ATEOF'
SET FORMAT=F8.0.

INPUT PROGRAM.
	LOOP I=1 TO 10.
		COMPUTE SCORE=EXP(NORMAL(1)).
		END CASE.
	END LOOP.
	END FILE.
END INPUT PROGRAM.

FREQUENCIES VARIABLES=SCORE
/FORMAT=NOTABLE
/STATISTICS=ALL
/PERCENTILES=1 10 20 30 40 50 60 70 80 90 99
/HISTOGRAM.

_ATEOF


{ set +x
$as_echo "$at_srcdir/frequencies.at:830: pspp bug.sps"
at_fn_check_prepare_trace "frequencies.at:830"
( $at_check_trace; pspp bug.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/frequencies.at:830"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_547
#AT_START_548
at_fn_group_banner 548 'glm.at:19' \
  "GLM latin square design" "                        " 79
at_xfail=no
(
  $as_echo "548. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >latin.sps <<'_ATEOF'
set format = F20.3.
data list notable  fixed /a 1 b 3 c 5 y 7-10(2).
begin data.
1 1 6  3.5
1 2 2  8.9
1 3 3  9.6
1 4 4 10.5
1 5 5  3.1
1 6 1  5.9
2 1 2  4.2
2 2 6  1.9
2 3 5  3.7
2 4 3 10.2
2 5 1  7.2
2 6 4  7.6
3 1 1  6.7
3 2 4  5.8
3 3 6 -2.7
3 4 2  4.6
3 5 3  4.0
3 6 5 -0.7
4 1 4  6.6
4 2 1  4.5
4 3 2  3.7
4 4 5  3.7
4 5 6 -3.3
4 6 3  3.0
5 1 3  4.1
5 2 5  2.4
5 3 4  6.0
5 4 1  5.1
5 5 2  3.5
5 6 6  4.0
6 1 5  3.8
6 2 3  5.8
6 3 1  7.0
6 4 6  3.8
6 5 4  5.0
6 6 2  8.6
end data.

variable labels a 'Factor A' b 'Factor B' c 'Factor C' y 'Criterion'.

glm y by   b a c
  /intercept=include
  /criteria=alpha(.05)
  /design = a b c
  .
_ATEOF


{ set +x
$as_echo "$at_srcdir/glm.at:74: pspp -O format=csv latin.sps | sed 's/329.62[678]/329.62/'"
at_fn_check_prepare_notrace 'a shell pipeline' "glm.at:74"
( $at_check_trace; pspp -O format=csv latin.sps | sed 's/329.62[678]/329.62/'
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Tests of Between-Subjects Effects
Source,Type III Sum of Squares,df,Mean Square,F,Sig.
Corrected Model,263.064,15,17.538,5.269,.000
Intercept,815.103,1,815.103,244.910,.000
Factor A,78.869,5,15.774,4.739,.005
Factor B,28.599,5,5.720,1.719,.176
Factor C,155.596,5,31.119,9.350,.000
Error,66.563,20,3.328,,
Total,1144.730,36,,,
Corrected Total,329.62,35,,,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/glm.at:74"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_548
#AT_START_549
at_fn_group_banner 549 'glm.at:90' \
  "GLM 2 by 2 factorial design" "                    " 79
at_xfail=no
(
  $as_echo "549. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >2by2.sps <<'_ATEOF'
set format = F20.3.
data list notable  list /Factor0 * Factor1 * points (F10).
begin data.
1	4	332
1	4	380
1	4	371
1	4	366
1	4	354
1	0	259.5
1	0	302.5
1	0	296
1	0	349
1	0	309
2	4	354.67
2	4	353.5
2	4	304
2	4	365
2	4	339
2	0	306
2	0	339
2	0	353
2	0	351
2	0	333
end data.

glm points by Factor0 Factor1
  /intercept=include
  /criteria=alpha(.05)
  .
_ATEOF



{ set +x
$as_echo "$at_srcdir/glm.at:125: pspp -O format=csv 2by2.sps "
at_fn_check_prepare_trace "glm.at:125"
( $at_check_trace; pspp -O format=csv 2by2.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Tests of Between-Subjects Effects
Source,Type III Sum of Squares,df,Mean Square,F,Sig.
Corrected Model,8667.053,3,2889.018,5.043,.012
Intercept,2256018.640,1,2256018.640,3937.693,.000
Factor0,313.394,1,313.394,.547,.470
Factor1,5157.508,1,5157.508,9.002,.008
Factor0 * Factor1,3196.150,1,3196.150,5.579,.031
Error,9166.865,16,572.929,,
Total,2273852.559,20,,,
Corrected Total,17833.918,19,,,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/glm.at:125"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_549
#AT_START_550
at_fn_group_banner 550 'glm.at:142' \
  "GLM Type I and II Sums of Squares" "              " 79
at_xfail=no
(
  $as_echo "550. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >data-inc.sps <<'_ATEOF'
set decimal = dot.
set format=F20.3.
data list notable list /dv * Agrp * B0 * B1 * B2 * i0 * i1 * i2 * sss *.
begin data.
5   1  1  0  0  1  0  0 1.00
7   1  1  0  0  1  0  0 1.00
9   1  1  0  0  1  0  0 1.00
8   1  1  0  0  1  0  0 1.00
2   1  0  1  0  0  1  0 1.00
5   1  0  1  0  0  1  0 1.00
7   1  0  1  0  0  1  0 1.00
3   1  0  1  0  0  1  0 1.00
9   1  0  1  0  0  1  0 1.00
8   1  0  0  1  0  0  1 1.00
11  1  0  0  1  0  0  1 1.00
12  1  0  0  1  0  0  1 1.00
14  1  0  0  1  0  0  1 1.00
11  1 -1 -1 -1 -1 -1 -1 1.00
15  1 -1 -1 -1 -1 -1 -1 1.00
16  1 -1 -1 -1 -1 -1 -1 1.00
10  1 -1 -1 -1 -1 -1 -1 1.00
9   1 -1 -1 -1 -1 -1 -1 1.00
7  -1  1  0  0 -1  0  0 2.00
9  -1  1  0  0 -1  0  0 2.00
10 -1  1  0  0 -1  0  0 2.00
9  -1  1  0  0 -1  0  0 2.00
3  -1  0  1  0  0 -1  0 2.00
8  -1  0  1  0  0 -1  0 2.00
9  -1  0  1  0  0 -1  0 2.00
11 -1  0  1  0  0 -1  0 2.00
9  -1  0  0  1  0  0 -1 2.00
12 -1  0  0  1  0  0 -1 2.00
14 -1  0  0  1  0  0 -1 2.00
8  -1  0  0  1  0  0 -1 2.00
7  -1  0  0  1  0  0 -1 2.00
11 -1 -1 -1 -1  1  1  1 2.00
14 -1 -1 -1 -1  1  1  1 2.00
10 -1 -1 -1 -1  1  1  1 2.00
12 -1 -1 -1 -1  1  1  1 2.00
13 -1 -1 -1 -1  1  1  1 2.00
11 -1 -1 -1 -1  1  1  1 2.00
12 -1 -1 -1 -1  1  1  1 2.00
end data.

do if B0 = -1 AND B1 = -1 AND B2 = -1.
compute Bgrp = 4.
end if.

do if B0 = 0 AND B1 = 0 AND B2 = 1.
compute Bgrp = 3.
end if.

do if B0 = 0 AND B1 = 1 AND B2 = 0.
compute Bgrp = 2.
end if.

do if B0 = 1 AND B1 = 0 AND B2 = 0.
compute Bgrp = 1.
end if.
_ATEOF


cat >type1.sps <<'_ATEOF'
include 'data-inc.sps'.

glm dv by Agrp Bgrp
	/method = sstype (1)
	.

glm dv by Agrp Bgrp
	/method = sstype (1)
	/design Bgrp Agrp Bgrp * Agrp
	.
_ATEOF



{ set +x
$as_echo "$at_srcdir/glm.at:222: pspp -O format=csv type1.sps"
at_fn_check_prepare_trace "glm.at:222"
( $at_check_trace; pspp -O format=csv type1.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Tests of Between-Subjects Effects
Source,Type I Sum of Squares,df,Mean Square,F,Sig.
Corrected Model,216.017,7,30.860,5.046,.001
Intercept,,,,,
Agrp,9.579,1,9.579,1.566,.220
Bgrp,186.225,3,62.075,10.151,.000
Agrp * Bgrp,20.212,3,6.737,1.102,.364
Error,183.457,30,6.115,,
Total,3810.000,38,,,
Corrected Total,399.474,37,,,

Table: Tests of Between-Subjects Effects
Source,Type I Sum of Squares,df,Mean Square,F,Sig.
Corrected Model,216.017,7,30.860,5.046,.001
Intercept,,,,,
Bgrp,193.251,3,64.417,10.534,.000
Agrp,2.553,1,2.553,.418,.523
Bgrp * Agrp,20.212,3,6.737,1.102,.364
Error,183.457,30,6.115,,
Total,3810.000,38,,,
Corrected Total,399.474,37,,,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/glm.at:222"
$at_failed && at_fn_log_failure
$at_traceon; }



cat >type2.sps <<'_ATEOF'
include 'data-inc.sps'.

glm dv by Agrp Bgrp
	/method = sstype (2)
	.
_ATEOF



{ set +x
$as_echo "$at_srcdir/glm.at:257: pspp -O format=csv type2.sps"
at_fn_check_prepare_trace "glm.at:257"
( $at_check_trace; pspp -O format=csv type2.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Tests of Between-Subjects Effects
Source,Type II Sum of Squares,df,Mean Square,F,Sig.
Corrected Model,216.017,7,30.860,5.046,.001
Intercept,,,,,
Agrp,2.553,1,2.553,.418,.523
Bgrp,186.225,3,62.075,10.151,.000
Agrp * Bgrp,20.212,3,6.737,1.102,.364
Error,183.457,30,6.115,,
Total,3810.000,38,,,
Corrected Total,399.474,37,,,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/glm.at:257"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_550
#AT_START_551
at_fn_group_banner 551 'glm.at:275' \
  "GLM excluded intercept" "                         " 79
at_xfail=no
(
  $as_echo "551. $at_setup_line: testing $at_desc ..."
  $at_traceon



cat >intercept-exclude.sps <<'_ATEOF'
set format = F20.3.

data list notable list /depvar * A *.
begin data.
10     1
14     1
8      1
7      1
2      1
10     1
1      1
3      1
2      1
8.5    1
14.29  2
18.49  2
12.46  2
11.63  2
6.66   2
14.02  2
5.66   2
7.06   2
6.37   2
13.26  2
end data.

GLM depvar by A
   /intercept = exclude
  .


GLM depvar by A
   /intercept = include
  .

_ATEOF


{ set +x
$as_echo "$at_srcdir/glm.at:324: pspp -O format=csv intercept-exclude.sps"
at_fn_check_prepare_trace "glm.at:324"
( $at_check_trace; pspp -O format=csv intercept-exclude.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Tests of Between-Subjects Effects
Source,Type III Sum of Squares,df,Mean Square,F,Sig.
Model,1636.826,2,818.413,43.556,.000
A,1636.826,2,818.413,43.556,.000
Error,338.216,18,18.790,,
Total,1975.042,20,,,

Table: Tests of Between-Subjects Effects
Source,Type III Sum of Squares,df,Mean Square,F,Sig.
Corrected Model,98.568,1,98.568,5.246,.034
Intercept,1538.258,1,1538.258,81.867,.000
A,98.568,1,98.568,5.246,.034
Error,338.216,18,18.790,,
Total,1975.042,20,,,
Corrected Total,436.784,19,,,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/glm.at:324"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_551
#AT_START_552
at_fn_group_banner 552 'glm.at:346' \
  "GLM missing values" "                             " 79
at_xfail=no
(
  $as_echo "552. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >glm.data <<'_ATEOF'
1 1 6  3.5
1 2 2  8.9
1 3 3  9.6
1 4 4 10.5
1 5 5  3.1
1 6 1  5.9
2 1 2  4.2
2 2 6  1.9
2 3 5  3.7
2 4 3 10.2
2 5 1  7.2
2 6 4  7.6
3 1 1  6.7
3 2 4  5.8
3 3 6 -2.7
3 4 2  4.6
3 5 3  4.0
3 6 5 -0.7
4 1 4  6.6
4 2 1  4.5
4 3 2  3.7
4 4 5  3.7
4 5 6 -3.3
4 6 3  3.0
5 1 3  4.1
5 2 5  2.4
5 3 4  6.0
5 4 1  5.1
5 5 2  3.5
5 6 6  4.0
6 1 5  3.8
6 2 3  5.8
6 3 1  7.0
6 4 6  3.8
6 5 4  5.0
6 6 2  8.6
_ATEOF


cat >glm-miss.sps <<'_ATEOF'
set format = F20.3.
data list file='glm.data' notable  fixed /a 1 b 3 c 5 y 7-10(2).

do if a=6.
recode y (else=SYSMIS).
end if.

glm y by   b a c
  /criteria=alpha(.05)
  /design = a b c
  .
_ATEOF


{ set +x
$as_echo "$at_srcdir/glm.at:401: pspp -O format=csv glm-miss.sps"
at_fn_check_prepare_trace "glm.at:401"
( $at_check_trace; pspp -O format=csv glm-miss.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Tests of Between-Subjects Effects
Source,Type III Sum of Squares,df,Mean Square,F,Sig.
Corrected Model,251.621,14,17.973,4.969,.002
Intercept,628.376,1,628.376,173.737,.000
a,72.929,4,18.232,5.041,.009
b,20.703,5,4.141,1.145,.380
c,135.179,5,27.036,7.475,.001
Error,54.253,15,3.617,,
Total,934.250,30,,,
Corrected Total,305.874,29,,,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/glm.at:401"
$at_failed && at_fn_log_failure
$at_traceon; }




cat >glm-miss2.sps <<'_ATEOF'
set format = F20.3.
data list file='glm.data' notable  fixed /a 1 b 3 c 5 y 7-10(2).

select if a <> 6.

glm y by   b a c
  /criteria=alpha(.05)
  /design = a b c
  .
_ATEOF


{ set +x
$as_echo "$at_srcdir/glm.at:428: pspp -O format=csv glm-miss2.sps"
at_fn_check_prepare_trace "glm.at:428"
( $at_check_trace; pspp -O format=csv glm-miss2.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Tests of Between-Subjects Effects
Source,Type III Sum of Squares,df,Mean Square,F,Sig.
Corrected Model,251.621,14,17.973,4.969,.002
Intercept,628.376,1,628.376,173.737,.000
a,72.929,4,18.232,5.041,.009
b,20.703,5,4.141,1.145,.380
c,135.179,5,27.036,7.475,.001
Error,54.253,15,3.617,,
Total,934.250,30,,,
Corrected Total,305.874,29,,,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/glm.at:428"
$at_failed && at_fn_log_failure
$at_traceon; }




cat >glm-miss3.sps <<'_ATEOF'
set format = F20.3.
data list file=glm.data notable  fixed /a 1 b 3 c 5 y 7-10(2).

do if a=6.
recode a (else=SYSMIS).
end if.

glm y by   b a c
  /criteria=alpha(.05)
  /design = a b c
  .
_ATEOF


{ set +x
$as_echo "$at_srcdir/glm.at:458: pspp -O format=csv glm-miss3.sps"
at_fn_check_prepare_trace "glm.at:458"
( $at_check_trace; pspp -O format=csv glm-miss3.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Tests of Between-Subjects Effects
Source,Type III Sum of Squares,df,Mean Square,F,Sig.
Corrected Model,251.621,14,17.973,4.969,.002
Intercept,628.376,1,628.376,173.737,.000
a,72.929,4,18.232,5.041,.009
b,20.703,5,4.141,1.145,.380
c,135.179,5,27.036,7.475,.001
Error,54.253,15,3.617,,
Total,934.250,30,,,
Corrected Total,305.874,29,,,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/glm.at:458"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_552
#AT_START_553
at_fn_group_banner 553 'logistic.at:97' \
  "LOGISTIC REGRESSION basic test" "                 " 80
at_xfail=no
(
  $as_echo "553. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >lr-data.txt <<'_ATEOF'
 105.00    1.00    33.00    3.00     2.00   .35  17.00  20.00  .50110  -2.00440 1
 106.00    1.00    50.00    2.00     3.00   .38   7.00  15.00  .20168  -1.25264 1
 107.00    1.00    91.00    3.00     2.00   .28  15.00   7.00  .00897  -1.00905 1
 108.00    1.00    90.00    3.00     2.00   .20   2.00   2.00  .00972  -1.00982 1
 109.00    1.00    70.00    3.00     3.00   .38  23.00  27.00  .04745  -1.04981 1
 111.00    2.00    31.00    2.00     2.00   .00  19.00  10.00  .54159   1.84640 1
 112.00    1.00    91.00    2.00     3.00   .18   6.00  16.00  .00897  -1.00905 1
 113.00    1.00    81.00    3.00     2.00   .00   3.00   9.00  .01998  -1.02039 1
 114.00    2.00    15.00    1.00     2.00   .13  19.00  13.00  .81241   1.23090 1
 116.00    2.00     1.00    1.00     2.00   .88  15.00   7.00  .93102   1.07410 1
 117.00    1.00    93.00    3.00     2.00   .18   9.00  15.00  .00764  -1.00770 1
 118.00    2.00    14.00    1.00     3.00   .15  23.00  18.00  .82447   1.21289 1
 120.00    1.00    91.00    2.00     2.00   .43  17.00  14.00  .00897  -1.00905 1
 121.00    1.00    55.00    3.00     2.00   .69  20.00  14.00  .14409  -1.16834 1
 122.00    1.00    70.00    2.00     3.00   .03    .00   6.00  .04745  -1.04981 1
 123.00    1.00    25.00    2.00     2.00   .45   4.00  10.00  .65789  -2.92301 1
 125.00    1.00    91.00    2.00     2.00   .13    .00   3.00  .00897  -1.00905 1
 126.00    1.00    91.00    3.00     3.00   .23   4.00   6.00  .00897  -1.00905 1
 127.00    1.00    91.00    3.00     2.00   .00   8.00   8.00  .00897  -1.00905 1
 128.00    2.00    13.00    2.00     2.00   .65  16.00  14.00  .83592   1.19629 1
 129.00    1.00    50.00    2.00     2.00   .25  20.00  23.00  .20168  -1.25264 1
 135.00    1.00    90.00    3.00     3.00   .03   5.00  12.00  .00972  -1.00982 1
 138.00    1.00    70.00    3.00     3.00   .10   1.00   6.00  .04745  -1.04981 1
 139.00    2.00    19.00    3.00     3.00   .10  11.00  12.00  .75787   1.31949 1
 149.00    2.00    50.00    3.00     2.00   .03    .00    .00  .20168   4.95826 1
 204.00    1.00    50.00    3.00     1.00   .13    .00   1.00  .20168  -1.25264 1
 205.00    1.00    91.00    3.00     3.00   .72  16.00  18.00  .00897  -1.00905 1
 206.00    2.00    24.00    1.00     1.00   .10   5.00  21.00  .67592   1.47947 1
 207.00    1.00    80.00    3.00     3.00   .13   6.00   7.00  .02164  -1.02212 1
 208.00    1.00    87.00    2.00     2.00   .18   9.00  20.00  .01237  -1.01253 1
 209.00    1.00    70.00    2.00     2.00   .53  15.00  12.00  .04745  -1.04981 1
 211.00    1.00    55.00    2.00     1.00   .33   8.00   5.00  .14409  -1.16834 1
 212.00    1.00    56.00    3.00     1.00   .30   6.00  20.00  .13436  -1.15522 1
 214.00    1.00    54.00    2.00     2.00   .15    .00  16.00  .15439  -1.18258 1
 215.00    1.00    71.00    3.00     3.00   .35  12.00  12.00  .04391  -1.04592 1
 217.00    2.00    36.00    1.00     1.00   .10  12.00   8.00  .44049   2.27020 1
 218.00    1.00    91.00    2.00     2.00   .05  11.00  25.00  .00897  -1.00905 1
 219.00    1.00    91.00    2.00     2.00  1.23  11.00  24.00  .00897  -1.00905 1
 220.00    1.00    91.00    2.00     3.00   .08   8.00  11.00  .00897  -1.00905 1
 221.00    1.00    91.00    2.00     2.00   .33   5.00  11.00  .00897  -1.00905 1
 222.00    2.00    36.00    2.00     1.00   .18   5.00   3.00  .44049   2.27020 1
 223.00    1.00    70.00    2.00     3.00   .18  14.00   3.00  .04745  -1.04981 1
 224.00    1.00    91.00    2.00     2.00   .43   2.00  10.00  .00897  -1.00905 1
 225.00    1.00    55.00    2.00     1.00   .18   6.00  11.00  .14409  -1.16834 1
 229.00    2.00    75.00    2.00     2.00   .40  30.00  25.00  .03212  31.12941 1
 232.00    1.00    91.00    3.00     2.00   .15   6.00   3.00  .00897  -1.00905 1
 233.00    1.00    70.00    2.00     1.00   .00  11.00   8.00  .04745  -1.04981 1
 234.00    1.00    54.00    3.00     2.00   .10    .00    .00  .15439  -1.18258 1
 237.00    1.00    70.00    3.00     2.00   .18   5.00  25.00  .04745  -1.04981 1
 241.00    1.00    19.00    2.00     3.00   .33  13.00   9.00  .75787  -4.12995 1
 304.00    2.00    18.00    2.00     2.00   .26  25.00   6.00  .77245   1.29458 1
 305.00    1.00    88.00    3.00     2.00  1.35  17.00  29.00  .01142  -1.01155 1
 306.00    1.00    70.00    2.00     3.00   .63  14.00  33.00  .04745  -1.04981 1
 307.00    1.00    85.00    2.00     2.00  2.65  18.00  14.00  .01452  -1.01474 1
 308.00    1.00    13.00    2.00     2.00   .23   5.00   5.00  .83592  -6.09442 1
 309.00    2.00    13.00    2.00     2.00   .23   7.00  17.00  .83592   1.19629 1
 311.00    2.00     1.00    2.00     2.00   .50  20.00  14.00  .93102   1.07410 1
 315.00    1.00    19.00    2.00     3.00   .18   1.00  11.00  .75787  -4.12995 1
 316.00    1.00    88.00    2.00     2.00   .38  12.00  11.00  .01142  -1.01155 2
 318.00    1.00    88.00    3.00     2.00   .03   5.00   5.00  .01142  -1.01155 3
 319.00    2.00    18.00    2.00     3.00   .30  15.00  16.00  .77245   1.29458 1
 321.00    2.00    15.00    2.00     2.00   .63  15.00  18.00  .81241   1.23090 1
 322.00    1.00    88.00    3.00     2.00   .40  18.00  15.00  .01142  -1.01155 1
 325.00    2.00    18.00    2.00     3.00  1.00  28.00  18.00  .77245   1.29458 1
 329.00    1.00    88.00    3.00     2.00   .03   7.00  11.00  .01142  -1.01155 4
 332.00    2.00     2.00    2.00     2.00   .05   8.00   9.00  .92562   1.08036 1
_ATEOF


cat >lr-data.sps <<'_ATEOF'
set format = F12.3.
set decimal dot.
data list notable file='lr-data.txt'
 list /id outcome survrate prognos amttreat   gsi  avoid intrus   pre_1     lre_1  w *.

logistic regression
	  variables = outcome with survrate
	.
_ATEOF


{ set +x
$as_echo "$at_srcdir/logistic.at:112: pspp -O format=csv lr-data.sps"
at_fn_check_prepare_trace "logistic.at:112"
( $at_check_trace; pspp -O format=csv lr-data.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Dependent Variable Encoding
Original Value,Internal Value
1.000,0
2.000,1

Table: Case Processing Summary
Unweighted Cases,N,Percent
Included in Analysis,66,100.000
Missing Cases,0,.000
Total,66,100.000

note: Estimation terminated at iteration number 6 because parameter estimates changed by less than 0.001

Table: Model Summary
Step 1,-2 Log likelihood,Cox & Snell R Square,Nagelkerke R Square
,37.323,.455,.659

Table: Classification Table
,,,Predicted,,
,,,outcome,,\"Percentage
Correct\"
,Observed,,1.000,2.000,
Step 1,outcome,1.000,43,5,89.583
,,2.000,4,14,77.778
,Overall Percentage,,,,86.364

Table: Variables in the Equation
,,B,S.E.,Wald,df,Sig.,Exp(B)
Step 1,survrate,-.081,.019,17.756,1,.000,.922
,Constant,2.684,.811,10.941,1,.001,14.639
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/logistic.at:112"
$at_failed && at_fn_log_failure
$at_traceon; }



  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_553
#AT_START_554
at_fn_group_banner 554 'logistic.at:149' \
  "LOGISTIC REGRESSION missing values" "             " 80
at_xfail=no
(
  $as_echo "554. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >lr-data.txt <<'_ATEOF'
 105.00    1.00    33.00    3.00     2.00   .35  17.00  20.00  .50110  -2.00440 1
 106.00    1.00    50.00    2.00     3.00   .38   7.00  15.00  .20168  -1.25264 1
 107.00    1.00    91.00    3.00     2.00   .28  15.00   7.00  .00897  -1.00905 1
 108.00    1.00    90.00    3.00     2.00   .20   2.00   2.00  .00972  -1.00982 1
 109.00    1.00    70.00    3.00     3.00   .38  23.00  27.00  .04745  -1.04981 1
 111.00    2.00    31.00    2.00     2.00   .00  19.00  10.00  .54159   1.84640 1
 112.00    1.00    91.00    2.00     3.00   .18   6.00  16.00  .00897  -1.00905 1
 113.00    1.00    81.00    3.00     2.00   .00   3.00   9.00  .01998  -1.02039 1
 114.00    2.00    15.00    1.00     2.00   .13  19.00  13.00  .81241   1.23090 1
 116.00    2.00     1.00    1.00     2.00   .88  15.00   7.00  .93102   1.07410 1
 117.00    1.00    93.00    3.00     2.00   .18   9.00  15.00  .00764  -1.00770 1
 118.00    2.00    14.00    1.00     3.00   .15  23.00  18.00  .82447   1.21289 1
 120.00    1.00    91.00    2.00     2.00   .43  17.00  14.00  .00897  -1.00905 1
 121.00    1.00    55.00    3.00     2.00   .69  20.00  14.00  .14409  -1.16834 1
 122.00    1.00    70.00    2.00     3.00   .03    .00   6.00  .04745  -1.04981 1
 123.00    1.00    25.00    2.00     2.00   .45   4.00  10.00  .65789  -2.92301 1
 125.00    1.00    91.00    2.00     2.00   .13    .00   3.00  .00897  -1.00905 1
 126.00    1.00    91.00    3.00     3.00   .23   4.00   6.00  .00897  -1.00905 1
 127.00    1.00    91.00    3.00     2.00   .00   8.00   8.00  .00897  -1.00905 1
 128.00    2.00    13.00    2.00     2.00   .65  16.00  14.00  .83592   1.19629 1
 129.00    1.00    50.00    2.00     2.00   .25  20.00  23.00  .20168  -1.25264 1
 135.00    1.00    90.00    3.00     3.00   .03   5.00  12.00  .00972  -1.00982 1
 138.00    1.00    70.00    3.00     3.00   .10   1.00   6.00  .04745  -1.04981 1
 139.00    2.00    19.00    3.00     3.00   .10  11.00  12.00  .75787   1.31949 1
 149.00    2.00    50.00    3.00     2.00   .03    .00    .00  .20168   4.95826 1
 204.00    1.00    50.00    3.00     1.00   .13    .00   1.00  .20168  -1.25264 1
 205.00    1.00    91.00    3.00     3.00   .72  16.00  18.00  .00897  -1.00905 1
 206.00    2.00    24.00    1.00     1.00   .10   5.00  21.00  .67592   1.47947 1
 207.00    1.00    80.00    3.00     3.00   .13   6.00   7.00  .02164  -1.02212 1
 208.00    1.00    87.00    2.00     2.00   .18   9.00  20.00  .01237  -1.01253 1
 209.00    1.00    70.00    2.00     2.00   .53  15.00  12.00  .04745  -1.04981 1
 211.00    1.00    55.00    2.00     1.00   .33   8.00   5.00  .14409  -1.16834 1
 212.00    1.00    56.00    3.00     1.00   .30   6.00  20.00  .13436  -1.15522 1
 214.00    1.00    54.00    2.00     2.00   .15    .00  16.00  .15439  -1.18258 1
 215.00    1.00    71.00    3.00     3.00   .35  12.00  12.00  .04391  -1.04592 1
 217.00    2.00    36.00    1.00     1.00   .10  12.00   8.00  .44049   2.27020 1
 218.00    1.00    91.00    2.00     2.00   .05  11.00  25.00  .00897  -1.00905 1
 219.00    1.00    91.00    2.00     2.00  1.23  11.00  24.00  .00897  -1.00905 1
 220.00    1.00    91.00    2.00     3.00   .08   8.00  11.00  .00897  -1.00905 1
 221.00    1.00    91.00    2.00     2.00   .33   5.00  11.00  .00897  -1.00905 1
 222.00    2.00    36.00    2.00     1.00   .18   5.00   3.00  .44049   2.27020 1
 223.00    1.00    70.00    2.00     3.00   .18  14.00   3.00  .04745  -1.04981 1
 224.00    1.00    91.00    2.00     2.00   .43   2.00  10.00  .00897  -1.00905 1
 225.00    1.00    55.00    2.00     1.00   .18   6.00  11.00  .14409  -1.16834 1
 229.00    2.00    75.00    2.00     2.00   .40  30.00  25.00  .03212  31.12941 1
 232.00    1.00    91.00    3.00     2.00   .15   6.00   3.00  .00897  -1.00905 1
 233.00    1.00    70.00    2.00     1.00   .00  11.00   8.00  .04745  -1.04981 1
 234.00    1.00    54.00    3.00     2.00   .10    .00    .00  .15439  -1.18258 1
 237.00    1.00    70.00    3.00     2.00   .18   5.00  25.00  .04745  -1.04981 1
 241.00    1.00    19.00    2.00     3.00   .33  13.00   9.00  .75787  -4.12995 1
 304.00    2.00    18.00    2.00     2.00   .26  25.00   6.00  .77245   1.29458 1
 305.00    1.00    88.00    3.00     2.00  1.35  17.00  29.00  .01142  -1.01155 1
 306.00    1.00    70.00    2.00     3.00   .63  14.00  33.00  .04745  -1.04981 1
 307.00    1.00    85.00    2.00     2.00  2.65  18.00  14.00  .01452  -1.01474 1
 308.00    1.00    13.00    2.00     2.00   .23   5.00   5.00  .83592  -6.09442 1
 309.00    2.00    13.00    2.00     2.00   .23   7.00  17.00  .83592   1.19629 1
 311.00    2.00     1.00    2.00     2.00   .50  20.00  14.00  .93102   1.07410 1
 315.00    1.00    19.00    2.00     3.00   .18   1.00  11.00  .75787  -4.12995 1
 316.00    1.00    88.00    2.00     2.00   .38  12.00  11.00  .01142  -1.01155 2
 318.00    1.00    88.00    3.00     2.00   .03   5.00   5.00  .01142  -1.01155 3
 319.00    2.00    18.00    2.00     3.00   .30  15.00  16.00  .77245   1.29458 1
 321.00    2.00    15.00    2.00     2.00   .63  15.00  18.00  .81241   1.23090 1
 322.00    1.00    88.00    3.00     2.00   .40  18.00  15.00  .01142  -1.01155 1
 325.00    2.00    18.00    2.00     3.00  1.00  28.00  18.00  .77245   1.29458 1
 329.00    1.00    88.00    3.00     2.00   .03   7.00  11.00  .01142  -1.01155 4
 332.00    2.00     2.00    2.00     2.00   .05   8.00   9.00  .92562   1.08036 1
_ATEOF


cat >lr-data.sps <<'_ATEOF'
set format = F12.3.
set decimal dot.
data list notable file='lr-data.txt'
 list /id outcome survrate prognos amttreat   gsi  avoid intrus   pre_1     lre_1  w *.

missing values survrate (999) avoid (44444) outcome (99).

logistic regression
	  variables = outcome with survrate avoid
	.
_ATEOF


{ set +x
$as_echo "$at_srcdir/logistic.at:166: pspp -O format=csv lr-data.sps > run0"
at_fn_check_prepare_trace "logistic.at:166"
( $at_check_trace; pspp -O format=csv lr-data.sps > run0
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/logistic.at:166"
$at_failed && at_fn_log_failure
$at_traceon; }


cat >> lr-data.txt << HERE
 105.00    1.00    999.00    3.00     2.00   .35  17.00  20.00  .50110  -2.00440 1
 106.00    1.00    999.00    2.00     3.00   .38   7.00  15.00  .20168  -1.25264 1
 107.00    1.00    5.00      3.00     2.00   .28  44444  34     .00897  -1.00905 1
 108.00    99      5.00      3.00     2.00   .28  4      34     .00897  -1.00905 1
HERE

{ set +x
$as_echo "$at_srcdir/logistic.at:176: pspp -O format=csv lr-data.sps > run1"
at_fn_check_prepare_trace "logistic.at:176"
( $at_check_trace; pspp -O format=csv lr-data.sps > run1
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/logistic.at:176"
$at_failed && at_fn_log_failure
$at_traceon; }


{ set +x
$as_echo "$at_srcdir/logistic.at:179: diff run0 run1"
at_fn_check_prepare_trace "logistic.at:179"
( $at_check_trace; diff run0 run1
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "8,10c8,10
< Included in Analysis,66,100.000
< Missing Cases,0,.000
< Total,66,100.000
---
> Included in Analysis,66,94.286
> Missing Cases,4,5.714
> Total,70,100.000
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/logistic.at:179"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_554
#AT_START_555
at_fn_group_banner 555 'logistic.at:197' \
  "LOGISTIC REGRESSION weights" "                    " 80
at_xfail=no
(
  $as_echo "555. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >lr-data.txt <<'_ATEOF'
 105.00    1.00    33.00    3.00     2.00   .35  17.00  20.00  .50110  -2.00440 1
 106.00    1.00    50.00    2.00     3.00   .38   7.00  15.00  .20168  -1.25264 1
 107.00    1.00    91.00    3.00     2.00   .28  15.00   7.00  .00897  -1.00905 1
 108.00    1.00    90.00    3.00     2.00   .20   2.00   2.00  .00972  -1.00982 1
 109.00    1.00    70.00    3.00     3.00   .38  23.00  27.00  .04745  -1.04981 1
 111.00    2.00    31.00    2.00     2.00   .00  19.00  10.00  .54159   1.84640 1
 112.00    1.00    91.00    2.00     3.00   .18   6.00  16.00  .00897  -1.00905 1
 113.00    1.00    81.00    3.00     2.00   .00   3.00   9.00  .01998  -1.02039 1
 114.00    2.00    15.00    1.00     2.00   .13  19.00  13.00  .81241   1.23090 1
 116.00    2.00     1.00    1.00     2.00   .88  15.00   7.00  .93102   1.07410 1
 117.00    1.00    93.00    3.00     2.00   .18   9.00  15.00  .00764  -1.00770 1
 118.00    2.00    14.00    1.00     3.00   .15  23.00  18.00  .82447   1.21289 1
 120.00    1.00    91.00    2.00     2.00   .43  17.00  14.00  .00897  -1.00905 1
 121.00    1.00    55.00    3.00     2.00   .69  20.00  14.00  .14409  -1.16834 1
 122.00    1.00    70.00    2.00     3.00   .03    .00   6.00  .04745  -1.04981 1
 123.00    1.00    25.00    2.00     2.00   .45   4.00  10.00  .65789  -2.92301 1
 125.00    1.00    91.00    2.00     2.00   .13    .00   3.00  .00897  -1.00905 1
 126.00    1.00    91.00    3.00     3.00   .23   4.00   6.00  .00897  -1.00905 1
 127.00    1.00    91.00    3.00     2.00   .00   8.00   8.00  .00897  -1.00905 1
 128.00    2.00    13.00    2.00     2.00   .65  16.00  14.00  .83592   1.19629 1
 129.00    1.00    50.00    2.00     2.00   .25  20.00  23.00  .20168  -1.25264 1
 135.00    1.00    90.00    3.00     3.00   .03   5.00  12.00  .00972  -1.00982 1
 138.00    1.00    70.00    3.00     3.00   .10   1.00   6.00  .04745  -1.04981 1
 139.00    2.00    19.00    3.00     3.00   .10  11.00  12.00  .75787   1.31949 1
 149.00    2.00    50.00    3.00     2.00   .03    .00    .00  .20168   4.95826 1
 204.00    1.00    50.00    3.00     1.00   .13    .00   1.00  .20168  -1.25264 1
 205.00    1.00    91.00    3.00     3.00   .72  16.00  18.00  .00897  -1.00905 1
 206.00    2.00    24.00    1.00     1.00   .10   5.00  21.00  .67592   1.47947 1
 207.00    1.00    80.00    3.00     3.00   .13   6.00   7.00  .02164  -1.02212 1
 208.00    1.00    87.00    2.00     2.00   .18   9.00  20.00  .01237  -1.01253 1
 209.00    1.00    70.00    2.00     2.00   .53  15.00  12.00  .04745  -1.04981 1
 211.00    1.00    55.00    2.00     1.00   .33   8.00   5.00  .14409  -1.16834 1
 212.00    1.00    56.00    3.00     1.00   .30   6.00  20.00  .13436  -1.15522 1
 214.00    1.00    54.00    2.00     2.00   .15    .00  16.00  .15439  -1.18258 1
 215.00    1.00    71.00    3.00     3.00   .35  12.00  12.00  .04391  -1.04592 1
 217.00    2.00    36.00    1.00     1.00   .10  12.00   8.00  .44049   2.27020 1
 218.00    1.00    91.00    2.00     2.00   .05  11.00  25.00  .00897  -1.00905 1
 219.00    1.00    91.00    2.00     2.00  1.23  11.00  24.00  .00897  -1.00905 1
 220.00    1.00    91.00    2.00     3.00   .08   8.00  11.00  .00897  -1.00905 1
 221.00    1.00    91.00    2.00     2.00   .33   5.00  11.00  .00897  -1.00905 1
 222.00    2.00    36.00    2.00     1.00   .18   5.00   3.00  .44049   2.27020 1
 223.00    1.00    70.00    2.00     3.00   .18  14.00   3.00  .04745  -1.04981 1
 224.00    1.00    91.00    2.00     2.00   .43   2.00  10.00  .00897  -1.00905 1
 225.00    1.00    55.00    2.00     1.00   .18   6.00  11.00  .14409  -1.16834 1
 229.00    2.00    75.00    2.00     2.00   .40  30.00  25.00  .03212  31.12941 1
 232.00    1.00    91.00    3.00     2.00   .15   6.00   3.00  .00897  -1.00905 1
 233.00    1.00    70.00    2.00     1.00   .00  11.00   8.00  .04745  -1.04981 1
 234.00    1.00    54.00    3.00     2.00   .10    .00    .00  .15439  -1.18258 1
 237.00    1.00    70.00    3.00     2.00   .18   5.00  25.00  .04745  -1.04981 1
 241.00    1.00    19.00    2.00     3.00   .33  13.00   9.00  .75787  -4.12995 1
 304.00    2.00    18.00    2.00     2.00   .26  25.00   6.00  .77245   1.29458 1
 305.00    1.00    88.00    3.00     2.00  1.35  17.00  29.00  .01142  -1.01155 1
 306.00    1.00    70.00    2.00     3.00   .63  14.00  33.00  .04745  -1.04981 1
 307.00    1.00    85.00    2.00     2.00  2.65  18.00  14.00  .01452  -1.01474 1
 308.00    1.00    13.00    2.00     2.00   .23   5.00   5.00  .83592  -6.09442 1
 309.00    2.00    13.00    2.00     2.00   .23   7.00  17.00  .83592   1.19629 1
 311.00    2.00     1.00    2.00     2.00   .50  20.00  14.00  .93102   1.07410 1
 315.00    1.00    19.00    2.00     3.00   .18   1.00  11.00  .75787  -4.12995 1
 316.00    1.00    88.00    2.00     2.00   .38  12.00  11.00  .01142  -1.01155 2
 318.00    1.00    88.00    3.00     2.00   .03   5.00   5.00  .01142  -1.01155 3
 319.00    2.00    18.00    2.00     3.00   .30  15.00  16.00  .77245   1.29458 1
 321.00    2.00    15.00    2.00     2.00   .63  15.00  18.00  .81241   1.23090 1
 322.00    1.00    88.00    3.00     2.00   .40  18.00  15.00  .01142  -1.01155 1
 325.00    2.00    18.00    2.00     3.00  1.00  28.00  18.00  .77245   1.29458 1
 329.00    1.00    88.00    3.00     2.00   .03   7.00  11.00  .01142  -1.01155 4
 332.00    2.00     2.00    2.00     2.00   .05   8.00   9.00  .92562   1.08036 1
_ATEOF


cat >lr-data-unweighted.sps <<'_ATEOF'
set format = F12.3.
set decimal dot.
data list notable file='lr-data.txt'
 list /id outcome survrate prognos amttreat   gsi  avoid intrus   pre_1     lre_1  w *.

logistic regression
	  variables = outcome with survrate
	.
_ATEOF


cat >lr-data-weighted.sps <<'_ATEOF'
set format = F12.3.
set decimal dot.
data list notable file='lr-data.txt'
 list /id outcome survrate prognos amttreat   gsi  avoid intrus   pre_1     lre_1  w *.

weight by w.

* Omit duplicate cases.
select if id <> 305 and id <> 316 and id <> 318.

logistic regression
	  variables = outcome with survrate
	.
_ATEOF



{ set +x
$as_echo "$at_srcdir/logistic.at:229: pspp -O format=csv lr-data-unweighted.sps > unweighted-result"
at_fn_check_prepare_trace "logistic.at:229"
( $at_check_trace; pspp -O format=csv lr-data-unweighted.sps > unweighted-result
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/logistic.at:229"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/logistic.at:230: pspp -O format=csv lr-data-weighted.sps > weighted-result"
at_fn_check_prepare_trace "logistic.at:230"
( $at_check_trace; pspp -O format=csv lr-data-weighted.sps > weighted-result
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/logistic.at:230"
$at_failed && at_fn_log_failure
$at_traceon; }


{ set +x
$as_echo "$at_srcdir/logistic.at:234: diff unweighted-result weighted-result"
at_fn_check_prepare_trace "logistic.at:234"
( $at_check_trace; diff unweighted-result weighted-result
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "8c8
< Included in Analysis,66,100.000
---
> Included in Analysis,63,100.000
10c10
< Total,66,100.000
---
> Total,63,100.000
23,24c23,24
< Step 1,outcome,1.000,43,5,89.583
< ,,2.000,4,14,77.778
---
> Step 1,outcome,1.000,43.000,5.000,89.583
> ,,2.000,4.000,14.000,77.778
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/logistic.at:234"
$at_failed && at_fn_log_failure
$at_traceon; }



  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_555
#AT_START_556
at_fn_group_banner 556 'logistic.at:258' \
  "LOGISTIC REGRESSION without constant" "           " 80
at_xfail=no
(
  $as_echo "556. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >non-const.sps <<'_ATEOF'
set format=F20.3.

input program.
 loop #i = 1 to 200.
  compute female = (#i > 91).
  end case.
 end loop.
end file.
end input program.

compute constant = 1.

logistic regression female with constant /noconst.
_ATEOF


{ set +x
$as_echo "$at_srcdir/logistic.at:276: pspp -O format=csv non-const.sps"
at_fn_check_prepare_trace "logistic.at:276"
( $at_check_trace; pspp -O format=csv non-const.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Dependent Variable Encoding
Original Value,Internal Value
.00,0
1.00,1

Table: Case Processing Summary
Unweighted Cases,N,Percent
Included in Analysis,200,100.000
Missing Cases,0,.000
Total,200,100.000

note: Estimation terminated at iteration number 2 because parameter estimates changed by less than 0.001

Table: Model Summary
Step 1,-2 Log likelihood,Cox & Snell R Square,Nagelkerke R Square
,275.637,.008,.011

Table: Classification Table
,,,Predicted,,
,,,female,,\"Percentage
Correct\"
,Observed,,.00,1.00,
Step 1,female,.00,0,91,.000
,,1.00,0,109,100.000
,Overall Percentage,,,,54.500

Table: Variables in the Equation
,,B,S.E.,Wald,df,Sig.,Exp(B)
Step 1,constant,.180,.142,1.616,1,.204,1.198
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/logistic.at:276"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_556
#AT_START_557
at_fn_group_banner 557 'logistic.at:315' \
  "LOGISTIC REGRESSION non-dichotomous dep var" "    " 80
at_xfail=no
(
  $as_echo "557. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >non-dich.sps <<'_ATEOF'
data list notable list /y x1 x2 x3 x4.
begin data.
1 2 3 4 5
0 2 3 4 8
2 3 4 5 6
end data.

logistic regression y with x1 x2 x3 x4.
_ATEOF


{ set +x
$as_echo "$at_srcdir/logistic.at:328: pspp -O format=csv non-dich.sps"
at_fn_check_prepare_trace "logistic.at:328"
( $at_check_trace; pspp -O format=csv non-dich.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "error: Dependent variable's values are not dichotomous.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/logistic.at:328"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_557
#AT_START_558
at_fn_group_banner 558 'logistic.at:340' \
  "LOGISTIC REGRESSION with categorical" "           " 80
at_xfail=no
(
  $as_echo "558. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >lr-cat.data <<'_ATEOF'
 620 3.07 2 4
 800 4.00 3 9
 580 3.40 2 4
 600 3.13 2 4
 540 2.70 2 4
 660 3.31 4 4
 480 3.58 1 9
 620 4.00 1 9
 680 3.98 2 9
 580 3.40 4 4
 760 3.35 3 4
 700 3.72 2 4
 460 3.64 1 9
 540 3.28 3 4
 680 3.48 3 4
 740 3.31 1 4
 460 3.77 3 4
 740 3.54 1 4
 600 3.63 3 4
 620 3.05 2 4
 560 3.04 3 4
 520 2.70 3 4
 640 3.35 3 4
 620 3.58 2 4
 660 3.70 4 9
 500 2.86 4 4
 640 3.50 2 4
 720 4.00 3 4
 720 3.94 3 4
 400 3.65 2 4
 800 2.90 2 4
 520 2.90 3 4
 440 3.24 4 4
 580 3.51 2 4
 500 3.31 3 4
 440 3.22 1 4
 540 3.17 1 9
 420 3.02 1 4
 780 3.22 2 9
 440 3.13 4 4
 800 3.66 1 9
 580 3.32 2 9
 480 2.67 2 9
 700 4.00 1 9
 740 2.97 2 9
 700 3.83 2 4
 640 3.93 2 4
 800 3.90 2 4
 400 3.38 2 4
 700 3.52 2 4
 680 3.00 4 9
 540 3.20 1 4
 580 4.00 2 4
 780 4.00 2 9
 220 2.83 3 4
 580 3.20 2 9
 580 3.50 2 4
 620 3.30 1 4
 520 3.65 4 9
 600 3.38 3 9
 660 3.77 3 4
 580 2.86 4 9
 580 3.46 2 9
 560 3.36 3 4
 740 4.00 3 9
 480 3.44 3 4
 640 3.19 4 9
 600 3.54 1 9
 540 3.38 4 4
 500 2.81 3 4
 360 2.56 3 4
 460 3.15 4 4
 460 2.63 2 4
 440 2.76 2 4
 740 3.62 4 4
 380 3.38 2 4
 640 3.63 1 9
 800 3.73 1 4
 660 3.67 2 4
 760 3.00 2 9
 420 2.96 1 4
 740 3.74 4 4
 800 3.75 2 4
 620 3.40 2 4
 660 3.67 3 9
 400 3.35 3 4
 680 3.14 2 4
 660 3.47 3 9
 660 3.63 2 9
 420 3.41 4 4
 660 4.00 1 4
 680 3.70 2 4
 620 3.23 3 9
 520 3.35 3 4
 500 4.00 3 4
 400 3.36 2 4
 700 3.56 1 9
 540 3.81 1 9
 520 2.68 3 9
 540 3.50 2 4
 700 4.00 2 4
 600 3.64 3 9
 800 3.31 3 4
 520 3.29 1 4
 580 3.69 1 4
 380 3.43 3 4
 560 3.19 3 4
 760 2.81 1 9
 540 3.13 2 4
 660 3.14 2 9
 520 3.81 1 9
 680 3.19 4 4
 540 3.78 4 4
 500 3.57 3 4
 660 3.49 2 4
 340 3.00 2 9
 400 3.15 2 9
 420 3.92 4 4
 760 3.35 2 9
 700 2.94 2 4
 540 3.04 1 4
 780 3.87 4 4
 560 3.78 2 4
 700 3.82 3 4
 400 2.93 3 4
 440 3.45 2 9
 800 3.47 3 4
 340 3.15 3 4
 520 4.00 1 9
 520 3.15 3 4
 600 2.98 2 9
 420 2.69 2 4
 460 3.44 2 4
 620 3.71 1 9
 480 3.13 2 4
 580 3.40 3 4
 540 3.39 3 9
 540 3.94 3 4
 440 2.98 3 4
 380 3.59 4 4
 500 2.97 4 4
 340 2.92 3 4
 440 3.15 2 4
 600 3.48 2 4
 420 2.67 3 4
 460 3.07 2 4
 460 3.45 3 9
 480 3.39 4 4
 480 2.78 3 4
 720 3.42 2 9
 680 3.67 2 9
 800 3.89 2 4
 360 3.00 3 4
 620 3.17 2 9
 700 3.52 4 9
 540 3.19 2 4
 580 3.30 2 4
 800 4.00 3 9
 660 3.33 2 4
 380 3.34 3 4
 720 3.84 3 4
 600 3.59 2 4
 500 3.03 3 4
 640 3.81 2 4
 540 3.49 1 9
 680 3.85 3 9
 540 3.84 2 9
 460 2.93 3 4
 380 2.94 3 4
 620 3.22 2 4
 740 3.37 4 4
 620 4.00 2 4
 800 3.74 1 9
 400 3.31 3 4
 540 3.46 4 4
 620 3.18 2 9
 480 2.91 1 9
 300 2.84 2 9
 440 2.48 4 4
 640 2.79 2 4
 400 3.23 4 9
 680 3.46 2 9
 620 3.37 1 9
 700 3.92 2 4
 620 3.37 2 9
 620 3.63 2 4
 620 3.95 3 9
 560 2.52 2 4
 520 2.62 2 4
 600 3.35 2 4
 700 4.00 1 4
 640 3.67 3 4
 640 4.00 3 4
 520 2.93 4 4
 620 3.21 4 4
 680 3.99 3 4
 660 3.34 3 4
 700 3.45 3 4
 560 3.36 1 9
 800 2.78 2 4
 500 3.88 4 4
 700 3.65 2 4
 680 3.76 3 9
 660 3.07 3 4
 580 3.46 4 4
 460 2.87 2 4
 600 3.31 4 4
 620 3.94 4 4
 400 3.05 2 4
 800 3.43 2 9
 600 3.58 1 9
 580 3.36 2 4
 540 3.16 3 4
 500 2.71 2 4
 600 3.28 3 4
 600 2.82 4 4
 460 3.58 2 4
 520 2.85 3 4
 740 3.52 4 9
 500 3.95 4 4
 560 3.61 3 4
 620 3.45 2 9
 640 3.51 2 4
 660 3.44 2 9
 660 2.91 3 9
 540 3.28 1 4
 560 2.98 1 9
 800 3.97 1 4
 720 3.77 3 4
 720 3.64 1 9
 480 3.71 4 9
 680 3.34 2 4
 680 3.11 2 4
 540 2.81 3 4
 620 3.75 2 9
 540 3.12 1 4
 560 3.48 2 9
 720 3.40 3 4
 680 3.90 1 4
 640 3.76 3 4
 560 3.16 1 4
 520 3.30 2 9
 640 3.12 3 4
 580 3.57 3 4
 540 3.55 4 9
 780 3.63 4 9
 600 3.89 1 9
 800 4.00 1 9
 580 3.29 4 4
 360 3.27 3 4
 800 4.00 2 9
 640 3.52 4 4
 720 3.45 4 4
 580 3.06 2 4
 580 3.02 2 4
 500 3.60 3 9
 580 3.12 3 9
 600 2.82 4 4
 620 3.99 3 4
 700 4.00 3 4
 480 4.00 2 4
 560 2.95 2 4
 560 4.00 3 4
 560 2.65 3 9
 400 3.08 2 4
 480 2.62 2 9
 640 3.86 3 4
 480 3.57 2 4
 540 3.51 2 4
 380 3.33 4 4
 680 3.64 3 4
 400 3.51 3 4
 340 2.90 1 4
 700 3.08 2 4
 480 3.02 1 9
 600 3.15 2 9
 780 3.80 3 9
 520 3.74 2 9
 520 3.51 2 4
 640 3.73 3 4
 560 3.32 4 4
 620 2.85 2 4
 700 3.28 1 4
 760 4.00 1 9
 800 3.60 2 4
 580 3.34 2 4
 540 3.77 2 9
 640 3.17 2 4
 540 3.02 4 4
 680 3.08 4 4
 680 3.31 2 4
 680 2.96 3 9
 700 2.88 2 4
 580 3.77 4 4
 540 3.49 2 9
 700 3.56 2 9
 600 3.56 2 9
 560 3.59 2 4
 640 2.94 2 9
 560 3.33 4 4
 620 3.69 3 4
 680 3.27 2 9
 460 3.14 3 4
 500 3.53 4 4
 620 3.33 3 4
 600 3.62 3 4
 500 3.01 4 4
 740 3.34 4 4
 560 3.69 3 9
 620 3.95 3 9
 740 3.86 2 9
 800 3.53 1 9
 620 3.78 3 4
 700 3.27 2 4
 540 3.78 2 9
 700 3.65 2 4
 800 3.22 1 9
 560 3.59 2 9
 800 3.15 4 4
 520 3.90 3 9
 520 3.74 4 9
 480 2.55 1 4
 800 4.00 4 4
 620 3.09 4 4
 560 3.49 4 4
 500 3.17 3 4
 480 3.40 2 4
 460 2.98 1 4
 580 3.58 1 9
 640 3.30 2 4
 480 3.45 2 4
 440 3.17 2 4
 660 3.32 1 4
 500 3.08 3 4
 660 3.94 2 4
 720 3.31 1 4
 460 3.64 3 9
 500 2.93 4 4
 800 3.54 3 4
 580 2.93 2 4
 620 3.61 1 9
 500 2.98 3 4
 660 4.00 2 9
 560 3.24 4 4
 560 2.42 2 4
 580 3.80 2 4
 500 3.23 4 4
 680 2.42 1 9
 580 3.46 3 4
 800 3.91 3 4
 700 2.90 4 4
 520 3.12 2 4
 300 2.92 4 4
 560 3.43 3 4
 620 3.63 3 4
 500 2.79 4 4
 360 3.14 1 4
 640 3.94 2 9
 460 3.99 3 9
 300 3.01 3 4
 520 2.73 2 4
 600 3.47 2 9
 580 3.25 1 4
 520 3.10 4 4
 620 3.43 3 4
 380 2.91 4 4
 660 3.59 3 4
 660 3.95 2 9
 540 3.33 3 4
 740 4.00 3 4
 640 3.38 3 4
 600 3.89 3 4
 720 3.88 3 4
 580 4.00 3 4
 420 2.26 4 4
 520 4.00 2 9
 800 3.70 1 9
 700 4.00 1 9
 480 3.43 2 4
 660 3.45 4 4
 520 3.25 3 4
 560 2.71 3 4
 600 3.32 2 4
 580 2.88 2 4
 660 3.88 2 9
 600 3.22 1 4
 580 4.00 1 4
 660 3.60 3 9
 500 3.35 2 4
 520 2.98 2 4
 660 3.49 2 9
 560 3.07 2 4
 500 3.13 2 9
 720 3.50 3 9
 440 3.39 2 9
 640 3.95 2 9
 380 3.61 3 4
 800 3.05 2 9
 520 3.19 3 9
 600 3.40 3 4
_ATEOF


cat >lr-cat.sps <<'_ATEOF'
set format=F20.3.

data list notable list file='lr-cat.data' /b1 b2 bcat y.

logistic regression
	  y with b1 b2 bcat
	   /categorical = bcat
	   .
_ATEOF


{ set +x
$as_echo "$at_srcdir/logistic.at:756: pspp -O format=csv lr-cat.sps"
at_fn_check_prepare_trace "logistic.at:756"
( $at_check_trace; pspp -O format=csv lr-cat.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Dependent Variable Encoding
Original Value,Internal Value
4.000,0
9.000,1

Table: Case Processing Summary
Unweighted Cases,N,Percent
Included in Analysis,400,100.000
Missing Cases,0,.000
Total,400,100.000

note: Estimation terminated at iteration number 4 because parameter estimates changed by less than 0.001

Table: Model Summary
Step 1,-2 Log likelihood,Cox & Snell R Square,Nagelkerke R Square
,458.517,.098,.138

Table: Categorical Variables' Codings
,,,Parameter coding,,
,,Frequency,(1),(2),(3)
bcat,1.000,61,1,0,0
,2.000,151,0,1,0
,3.000,121,0,0,1
,4.000,67,0,0,0

Table: Classification Table
,,,Predicted,,
,,,y,,\"Percentage
Correct\"
,Observed,,4.000,9.000,
Step 1,y,4.000,254,19,93.040
,,9.000,97,30,23.622
,Overall Percentage,,,,71.000

Table: Variables in the Equation
,,B,S.E.,Wald,df,Sig.,Exp(B)
Step 1,b1,.002,.001,4.284,1,.038,1.002
,b2,.804,.332,5.872,1,.015,2.235
,bcat,,,20.895,3,.000,
,bcat(1),1.551,.418,13.788,1,.000,4.718
,bcat(2),.876,.367,5.706,1,.017,2.401
,bcat(3),.211,.393,.289,1,.591,1.235
,Constant,-5.541,1.138,23.709,1,.000,.004
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/logistic.at:756"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_558
#AT_START_559
at_fn_group_banner 559 'logistic.at:808' \
  "LOGISTIC REGRESSION with cat var 2" "             " 80
at_xfail=no
(
  $as_echo "559. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >lr-cat2.data <<'_ATEOF'
     60.00     1.00      8.00     50.00
     47.00      .00      9.00     42.00
     57.00     1.00      7.00     53.00
     60.00      .00      8.00     53.00
     68.00      .00      8.00     66.00
     63.00      .00      8.00     55.00
     65.00      .00      8.00     63.00
     52.00      .00      8.00     61.00
     34.00      .00      9.00     42.00
     37.00      .00      8.00     39.00
     68.00     1.00      9.00     69.00
     60.00      .00      9.00     61.00
     44.00      .00      9.00     58.00
     42.00      .00      8.00     47.00
     57.00     1.00      7.00     61.00
     55.00     1.00      8.00     50.00
     55.00      .00      9.00     58.00
     44.00      .00      8.00     63.00
     50.00     1.00      9.00     66.00
     44.00      .00      8.00     39.00
     55.00      .00      8.00     58.00
     44.00      .00      8.00     50.00
     47.00     1.00      7.00     34.00
     48.00      .00      8.00     44.00
     45.00      .00      7.00     31.00
     43.00      .00      8.00     50.00
     39.00      .00      8.00     42.00
     63.00      .00      9.00     50.00
     47.00      .00      8.00     58.00
     42.00      .00      7.00     50.00
     50.00      .00      9.00     36.00
     47.00      .00      7.00     33.00
     60.00      .00      9.00     61.00
     47.00      .00      7.00     42.00
     68.00     1.00      9.00     69.00
     52.00      .00      8.00     54.00
     63.00     1.00      9.00     61.00
     65.00     1.00      9.00     61.00
     63.00     1.00      9.00     53.00
     57.00      .00      8.00     51.00
     34.00      .00      8.00     36.00
     50.00      .00      8.00     39.00
     52.00     1.00      7.00     56.00
     45.00      .00      7.00     34.00
     47.00     1.00      7.00     53.00
     34.00      .00      7.00     39.00
     50.00     1.00      8.00     55.00
     60.00      .00      9.00     58.00
     63.00      .00      8.00     58.00
     35.00      .00      7.00     51.00
     50.00      .00      8.00     58.00
     68.00      .00      8.00     63.00
     41.00      .00      9.00     34.00
     47.00      .00      8.00     47.00
     76.00      .00      9.00     64.00
     44.00      .00      8.00     44.00
     36.00      .00      9.00     50.00
     68.00     1.00      9.00     55.00
     47.00     1.00      8.00     50.00
     50.00      .00      7.00     53.00
     68.00      .00      8.00     74.00
     39.00      .00      7.00     44.00
     50.00      .00      8.00     55.00
     52.00      .00      9.00     61.00
     47.00      .00      8.00     53.00
     39.00      .00      7.00     47.00
     55.00     1.00      9.00     49.00
     68.00     1.00      8.00     50.00
     52.00     1.00      9.00     63.00
     55.00      .00      8.00     58.00
     57.00      .00      8.00     55.00
     66.00     1.00      9.00     61.00
     65.00     1.00      7.00     58.00
     42.00      .00      7.00     42.00
     68.00     1.00      7.00     59.00
     60.00     1.00      9.00     61.00
     52.00      .00      8.00     55.00
     57.00     1.00      7.00     54.00
     42.00      .00      9.00     50.00
     42.00      .00      8.00     47.00
     57.00      .00      8.00     50.00
     47.00      .00      7.00     45.00
     44.00      .00      7.00     40.00
     43.00      .00      9.00     55.00
     31.00      .00      8.00     39.00
     37.00      .00      7.00     33.00
     63.00     1.00      7.00     63.00
     47.00      .00      8.00     39.00
     57.00     1.00      8.00     63.00
     52.00      .00      8.00     44.00
     44.00      .00      7.00     35.00
     52.00      .00      7.00     55.00
     55.00      .00      7.00     69.00
     52.00      .00      8.00     53.00
     55.00      .00      9.00     61.00
     65.00     1.00      9.00     63.00
     55.00      .00      8.00     44.00
     63.00      .00      7.00     65.00
     44.00      .00      7.00     39.00
     47.00      .00      7.00     36.00
     63.00     1.00      9.00     55.00
     68.00      .00      8.00     66.00
     34.00      .00      8.00     39.00
     47.00      .00      9.00     50.00
     50.00      .00      9.00     58.00
     63.00      .00      8.00     66.00
     44.00      .00      7.00     34.00
     44.00      .00      8.00     50.00
     50.00      .00      8.00     53.00
     47.00     1.00      9.00     69.00
     65.00      .00      9.00     58.00
     57.00      .00      8.00     47.00
     39.00      .00      8.00     39.00
     47.00      .00      8.00     53.00
     50.00     1.00      7.00     63.00
     50.00      .00      8.00     50.00
     63.00      .00      9.00     53.00
     73.00     1.00      9.00     61.00
     44.00      .00      7.00     47.00
     47.00      .00      8.00     42.00
     47.00      .00      8.00     58.00
     36.00      .00      7.00     61.00
     57.00     1.00      8.00     55.00
     53.00     1.00      8.00     57.00
     63.00      .00      7.00     66.00
     50.00      .00      8.00     34.00
     47.00      .00      9.00     48.00
     57.00     1.00      8.00     58.00
     39.00      .00      8.00     53.00
     42.00      .00      8.00     42.00
     42.00      .00      9.00     31.00
     42.00      .00      8.00     72.00
     46.00      .00      8.00     44.00
     55.00      .00      8.00     42.00
     42.00      .00      8.00     47.00
     50.00      .00      8.00     44.00
     44.00      .00      9.00     39.00
     73.00     1.00      8.00     69.00
     71.00     1.00      9.00     58.00
     50.00      .00      9.00     49.00
     63.00     1.00      7.00     54.00
     42.00      .00      8.00     36.00
     47.00      .00      7.00     42.00
     39.00      .00      9.00     26.00
     63.00      .00      8.00     58.00
     50.00      .00      8.00     55.00
     65.00     1.00      8.00     55.00
     76.00     1.00      9.00     67.00
     71.00     1.00      8.00     66.00
     39.00      .00      9.00     47.00
     47.00     1.00      9.00     63.00
     60.00      .00      7.00     50.00
     63.00      .00      9.00     55.00
     54.00     1.00      9.00     55.00
     55.00     1.00      8.00     58.00
     57.00      .00      8.00     61.00
     55.00     1.00      9.00     63.00
     42.00      .00      7.00     50.00
     50.00      .00      8.00     44.00
     55.00      .00      8.00     42.00
     42.00      .00      7.00     50.00
     34.00      .00      8.00     39.00
     65.00      .00      9.00     46.00
     52.00      .00      7.00     58.00
     44.00      .00      8.00     39.00
     65.00     1.00      9.00     66.00
     47.00      .00      8.00     42.00
     41.00      .00      7.00     39.00
     68.00      .00      9.00     63.00
     63.00     1.00      8.00     72.00
     52.00      .00      8.00     53.00
     57.00      .00      8.00     50.00
     68.00      .00      8.00     55.00
     42.00      .00      8.00     56.00
     47.00      .00      8.00     48.00
     73.00     1.00      9.00     58.00
     39.00      .00      8.00     50.00
     63.00     1.00      9.00     69.00
     60.00      .00      8.00     55.00
     65.00     1.00      9.00     66.00
     73.00     1.00      8.00     63.00
     52.00      .00      8.00     55.00
     36.00      .00      8.00     42.00
     28.00      .00      7.00     44.00
     47.00      .00      8.00     44.00
     57.00      .00      7.00     47.00
     34.00      .00      7.00     29.00
     47.00      .00      9.00     66.00
     57.00      .00      8.00     58.00
     60.00     1.00      9.00     50.00
     50.00      .00      9.00     47.00
     73.00     1.00      9.00     55.00
     52.00     1.00      8.00     47.00
     55.00      .00      8.00     53.00
     47.00      .00      8.00     53.00
     50.00      .00      8.00     61.00
     61.00      .00      7.00     44.00
     52.00      .00      9.00     53.00
     47.00      .00      7.00     40.00
     47.00      .00      7.00     50.00
_ATEOF


cat >stringcat.sps <<'_ATEOF'
set format=F20.3.
data list notable file='lr-cat2.data' list /read honcomp wiz science *.

string ses(a1).
recode wiz (7 = "a") (8 = "b") (9 = "c") into ses.

logistic regression honcomp with read science ses
	 /categorical = ses.

_ATEOF


{ set +x
$as_echo "$at_srcdir/logistic.at:1025: pspp -O format=csv stringcat.sps"
at_fn_check_prepare_trace "logistic.at:1025"
( $at_check_trace; pspp -O format=csv stringcat.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Dependent Variable Encoding
Original Value,Internal Value
.000,0
1.000,1

Table: Case Processing Summary
Unweighted Cases,N,Percent
Included in Analysis,200,100.000
Missing Cases,0,.000
Total,200,100.000

note: Estimation terminated at iteration number 5 because parameter estimates changed by less than 0.001

Table: Model Summary
Step 1,-2 Log likelihood,Cox & Snell R Square,Nagelkerke R Square
,165.701,.280,.408

Table: Categorical Variables' Codings
,,,Parameter coding,
,,Frequency,(1),(2)
ses,a,47,1,0
,b,95,0,1
,c,58,0,0

Table: Classification Table
,,,Predicted,,
,,,honcomp,,\"Percentage
Correct\"
,Observed,,.000,1.000,
Step 1,honcomp,.000,132,15,89.796
,,1.000,26,27,50.943
,Overall Percentage,,,,79.500

Table: Variables in the Equation
,,B,S.E.,Wald,df,Sig.,Exp(B)
Step 1,read,.098,.025,15.199,1,.000,1.103
,science,.066,.027,5.867,1,.015,1.068
,ses,,,6.690,2,.035,
,ses(1),.058,.532,.012,1,.913,1.060
,ses(2),-1.013,.444,5.212,1,.022,.363
,Constant,-9.561,1.662,33.113,1,.000,.000
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/logistic.at:1025"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_559
#AT_START_560
at_fn_group_banner 560 'logistic.at:1075' \
  "LOGISTIC REGRESSION identical categories" "       " 80
at_xfail=no
(
  $as_echo "560. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >crash.sps <<'_ATEOF'
data list notable list /y x1 x2*.
begin data
0 1 1
1 2 1
end data.

logistic regression y with x1 x2
	/categorical = x2.
_ATEOF


{ set +x
$as_echo "$at_srcdir/logistic.at:1088: pspp -O format=csv crash.sps"
at_fn_check_prepare_trace "logistic.at:1088"
( $at_check_trace; pspp -O format=csv crash.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 1 $at_status "$at_srcdir/logistic.at:1088"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_560
#AT_START_561
at_fn_group_banner 561 'logistic.at:1095' \
  "LOGISTIC REGRESSION missing categoricals" "       " 80
at_xfail=no
(
  $as_echo "561. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >data.txt <<'_ATEOF'
      .00     3.69      .00
      .00     1.16     1.00
     1.00   -12.99      .00
      .00     2.97     1.00
      .00    20.48      .00
      .00     4.90      .00
     1.00    -4.38      .00
      .00    -1.69     1.00
     1.00    -5.71      .00
     1.00   -14.28      .00
      .00     9.00      .00
      .00     2.89     1.00
      .00    13.51     1.00
      .00    23.32     1.00
      .00     2.31     1.00
      .00    -2.07     1.00
     1.00    -4.52     1.00
     1.00    -5.83      .00
     1.00    -1.91      .00
     1.00   -11.12     1.00
      .00    -1.51      .00
      .00     6.59     1.00
      .00    19.28     1.00
      .00     5.94      .00
      .00     8.21     1.00
      .00     8.11     1.00
      .00     2.49      .00
      .00     9.62      .00
     1.00   -20.74     1.00
      .00    -1.41     1.00
      .00    15.15     1.00
      .00     9.39      .00
     1.00   -15.14     1.00
     1.00    -5.86      .00
     1.00   -11.64     1.00
     1.00   -14.36      .00
     1.00    -8.95     1.00
     1.00   -16.42     1.00
     1.00    -1.04     1.00
      .00    12.89     1.00
      .00    -7.08     1.00
      .00     4.87     1.00
      .00    11.53     1.00
     1.00    -6.24     1.00
      .00     1.25     1.00
      .00     4.39     1.00
      .00     3.17      .00
      .00    19.39     1.00
      .00    13.03     1.00
      .00     2.43      .00
     1.00   -14.73     1.00
      .00     8.25     1.00
     1.00   -13.28     1.00
      .00     5.27     1.00
     1.00    -3.46     1.00
      .00    13.81     1.00
      .00     1.35     1.00
     1.00    -3.94     1.00
      .00    20.73     1.00
     1.00   -15.40      .00
     1.00   -11.01     1.00
      .00     4.56      .00
     1.00   -15.35     1.00
      .00    15.21      .00
      .00     5.34     1.00
     1.00   -21.55     1.00
      .00    10.12     1.00
      .00     -.73     1.00
      .00    15.28     1.00
      .00    11.08     1.00
     1.00    -8.24      .00
      .00     2.46      .00
      .00     9.60      .00
      .00    11.24      .00
      .00    14.13     1.00
      .00    19.72     1.00
      .00     5.58      .00
      .00    26.23     1.00
      .00     7.25      .00
     1.00     -.79      .00
      .00     6.24      .00
     1.00     1.16      .00
     1.00    -7.89     1.00
     1.00    -1.86     1.00
     1.00   -10.80     1.00
     1.00    -5.51      .00
      .00     7.51      .00
      .00    11.18      .00
      .00     8.73      .00
     1.00   -11.21     1.00
     1.00   -13.24      .00
      .00    19.34      .00
      .00     9.32     1.00
      .00    17.97     1.00
     1.00    -1.56     1.00
     1.00    -3.13      .00
      .00     3.98      .00
      .00    -1.21     1.00
      .00     2.37      .00
     1.00   -18.03     1.00
_ATEOF


cat >miss.sps <<'_ATEOF'
data list notable  file='data.txt'  list /y x1 cat0*.

logistic regression y with x1 cat0
	/categorical = cat0.
_ATEOF


{ set +x
$as_echo "$at_srcdir/logistic.at:1207: pspp -O format=csv miss.sps > file1"
at_fn_check_prepare_trace "logistic.at:1207"
( $at_check_trace; pspp -O format=csv miss.sps > file1
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/logistic.at:1207"
$at_failed && at_fn_log_failure
$at_traceon; }


{ set +x
$as_echo "$at_srcdir/logistic.at:1210: echo '1  34   .' >> data.txt"
at_fn_check_prepare_trace "logistic.at:1210"
( $at_check_trace; echo '1  34   .' >> data.txt
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/logistic.at:1210"
$at_failed && at_fn_log_failure
$at_traceon; }


{ set +x
$as_echo "$at_srcdir/logistic.at:1212: pspp -O format=csv miss.sps > file2"
at_fn_check_prepare_trace "logistic.at:1212"
( $at_check_trace; pspp -O format=csv miss.sps > file2
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/logistic.at:1212"
$at_failed && at_fn_log_failure
$at_traceon; }


{ set +x
$as_echo "$at_srcdir/logistic.at:1214: diff file1 file2"
at_fn_check_prepare_trace "logistic.at:1214"
( $at_check_trace; diff file1 file2
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "8,10c8,10
< Included in Analysis,100,100.00
< Missing Cases,0,.00
< Total,100,100.00
---
> Included in Analysis,100,99.01
> Missing Cases,1,.99
> Total,101,100.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/logistic.at:1214"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_561
#AT_START_562
at_fn_group_banner 562 'logistic.at:1232' \
  "LOGISTIC REGRESSION confidence interval" "        " 80
at_xfail=no
(
  $as_echo "562. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >ci.sps <<'_ATEOF'
set FORMAT=F20.3
data list notable list /disease age sciostat sector savings *.
begin data.
0       33        1        1        1
0       35        1        1        1
0        6        1        1        0
0       60        1        1        1
1       18        3        1        0
0       26        3        1        0
0        6        3        1        0
1       31        2        1        1
1       26        2        1        0
0       37        2        1        0
0       23        1        1        0
0       23        1        1        0
0       27        1        1        1
1        9        1        1        1
1       37        1        2        1
1       22        1        2        1
1       67        1        2        1
0        8        1        2        1
1        6        1        2        1
1       15        1        2        1
1       21        2        2        1
1       32        2        2        1
1       16        1        2        1
0       11        2        2        0
0       14        3        2        0
0        9        2        2        0
0       18        2        2        0
0        2        3        1        0
0       61        3        1        1
0       20        3        1        0
0       16        3        1        0
0        9        2        1        0
0       35        2        1        1
0        4        1        1        1
0       44        3        2        0
1       11        3        2        0
0        3        2        2        1
0        6        3        2        0
1       17        2        2        0
0        1        3        2        1
1       53        2        2        1
1       13        1        2        0
0       24        1        2        0
1       70        1        2        1
1       16        3        2        1
0       12        2        2        1
1       20        3        2        1
0       65        3        2        1
1       40        2        2        0
1       38        2        2        1
1       68        2        2        1
1       74        1        2        1
1       14        1        2        1
1       27        1        2        1
0       31        1        2        1
0       18        1        2        1
0       39        1        2        0
0       50        1        2        1
0       31        1        2        1
0       61        1        2        1
0       18        3        1        0
0        5        3        1        0
0        2        3        1        1
0       16        3        1        0
1       59        3        1        1
0       22        3        1        0
0       24        1        1        1
0       30        1        1        1
0       46        1        1        1
0       28        1        1        0
0       27        1        1        1
1       27        1        1        0
0       28        1        1        1
1       52        1        1        1
0       11        3        1        1
0        6        2        1        1
0       46        3        1        0
1       20        2        1        1
0        3        1        1        1
0       18        2        1        0
0       25        2        1        0
0        6        3        1        1
1       65        3        1        1
0       51        3        1        1
0       39        2        1        1
0        8        1        1        1
0        8        2        1        0
0       14        3        1        0
0        6        3        1        0
0        6        3        1        1
0        7        3        1        0
0        4        3        1        0
0        8        3        1        0
0        9        2        1        0
1       32        3        1        0
0       19        3        1        0
0       11        3        1        0
0       35        3        1        0
0       16        1        1        0
0        1        1        1        1
0        6        1        1        1
0       27        1        1        1
0       25        1        1        1
0       18        1        1        0
0       37        3        1        0
1       33        3        1        0
0       27        2        1        0
0        2        1        1        0
0        8        2        1        0
0        5        1        1        0
0        1        1        1        1
0       32        1        1        0
1       25        1        1        1
0       15        1        2        0
0       15        1        2        1
0       26        1        2        1
1       42        1        2        1
0        7        1        2        1
0        2        1        2        0
1       65        1        2        1
0       33        2        2        1
1        8        2        2        0
0       30        2        2        0
0        5        3        2        0
0       15        3        2        0
1       60        3        2        1
1       13        3        2        1
0       70        3        1        1
0        5        3        1        0
0        3        3        1        1
0       50        2        1        1
0        6        2        1        0
0       12        2        1        1
1       39        3        2        0
0       15        2        2        1
1       35        2        2        0
0        2        2        2        1
0       17        3        2        0
1       43        3        2        1
0       30        2        2        1
0       11        1        2        1
1       39        1        2        1
0       32        1        2        1
0       17        1        2        1
0        3        3        2        1
0        7        3        2        0
0        2        2        2        0
1       64        2        2        1
1       13        1        2        2
1       15        2        2        1
0       48        2        2        1
0       23        1        2        1
1       48        1        2        0
0       25        1        2        1
0       12        1        2        1
1       46        1        2        1
0       79        1        2        1
0       56        1        2        1
0        8        1        2        1
1       29        3        1        0
1       35        3        1        0
1       11        3        1        0
0       69        3        1        1
1       21        3        1        0
0       13        3        1        0
0       21        1        1        1
1       32        1        1        1
1       24        1        1        0
0       24        1        1        1
0       73        1        1        1
0       42        1        1        1
1       34        1        1        1
0       30        2        1        0
0        7        2        1        0
1       29        3        1        0
1       22        3        1        0
0       38        2        1        1
0       13        2        1        1
0       12        2        1        1
0       42        3        1        0
1       17        3        1        0
0       21        3        1        1
0       34        1        1        1
0        1        3        1        0
0       14        2        1        0
0       16        2        1        0
0        9        3        1        0
0       53        3        1        0
0       27        3        1        0
0       15        3        1        0
0        9        3        1        0
0        4        2        1        1
0       10        3        1        1
0       31        3        1        0
0       85        3        1        1
0       24        2        1        0
end data.

logistic regression
    disease WITH age sciostat sector savings
    /categorical = sciostat sector
    /print = ci(95).
_ATEOF


{ set +x
$as_echo "$at_srcdir/logistic.at:1442: pspp -O format=csv ci.sps"
at_fn_check_prepare_trace "logistic.at:1442"
( $at_check_trace; pspp -O format=csv ci.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Dependent Variable Encoding
Original Value,Internal Value
.000,0
1.000,1

Table: Case Processing Summary
Unweighted Cases,N,Percent
Included in Analysis,196,100.000
Missing Cases,0,.000
Total,196,100.000

note: Estimation terminated at iteration number 4 because parameter estimates changed by less than 0.001

Table: Model Summary
Step 1,-2 Log likelihood,Cox & Snell R Square,Nagelkerke R Square
,211.195,.120,.172

Table: Categorical Variables' Codings
,,,Parameter coding,
,,Frequency,(1),(2)
sciostat,1.000,77,1,0
,2.000,49,0,1
,3.000,70,0,0
sector,1.000,117,1,
,2.000,79,0,

Table: Classification Table
,,,Predicted,,
,,,disease,,\"Percentage
Correct\"
,Observed,,.000,1.000,
Step 1,disease,.000,131,8,94.245
,,1.000,41,16,28.070
,Overall Percentage,,,,75.000

Table: Variables in the Equation
,,,,,,,,95% CI for Exp(B),
,,B,S.E.,Wald,df,Sig.,Exp(B),Lower,Upper
Step 1,age,.027,.009,8.647,1,.003,1.027,1.009,1.045
,savings,.061,.386,.025,1,.874,1.063,.499,2.264
,sciostat,,,.440,2,.803,,,
,sciostat(1),-.278,.434,.409,1,.522,.757,.323,1.775
,sciostat(2),-.219,.459,.227,1,.634,.803,.327,1.976
,sector,,,11.974,1,.001,,,
,sector(1),-1.235,.357,11.974,1,.001,.291,.145,.586
,Constant,-.814,.452,3.246,1,.072,.443,,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/logistic.at:1442"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_562
#AT_START_563
at_fn_group_banner 563 'means.at:19' \
  "MEANS simple example" "                           " 81
at_xfail=no
(
  $as_echo "563. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >means-simple.sps <<'_ATEOF'
SET FORMAT=F12.5.

data list notable list /score * factor *.
BEGIN DATA.
22 01
22 01
29 01
16 01
24 02
21 02
22 01
24 01
19 01
17 01
22 01
17 02
23 02
25 02
20 01
15 01
18 01
26 01
23 02
35 02
20 01
16 01
19 01
14 01
14 01
21 01
END DATA.

MEANS TABLES = score BY factor.
_ATEOF


{ set +x
$as_echo "$at_srcdir/means.at:57: pspp -O format=csv means-simple.sps"
at_fn_check_prepare_trace "means.at:57"
( $at_check_trace; pspp -O format=csv means-simple.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Case Processing Summary
,Cases,,,,,
,Included,,Excluded,,Total,
,N,Percent,N,Percent,N,Percent
score: factor,26,100%,0,0%,26,100%
score: ,26,100%,0,0%,26,100%

Table: Report
,factor,Mean,N,Std. Deviation
score,1.00000,19.78947,19.00000,4.03566
,2.00000,24.00000,7.00000,5.50757

Table: Report
,Mean,N,Std. Deviation
score,20.92308,26.00000,4.75750
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/means.at:57"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_563
#AT_START_564
at_fn_group_banner 564 'means.at:80' \
  "MEANS very simple example" "                      " 81
at_xfail=no
(
  $as_echo "564. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >means-vsimple.sps <<'_ATEOF'
SET FORMAT=F12.5.

data list notable list /score.
begin data.
1
1
2
2
end data.

means tables = score.
_ATEOF


{ set +x
$as_echo "$at_srcdir/means.at:96: pspp -O format=csv means-vsimple.sps"
at_fn_check_prepare_trace "means.at:96"
( $at_check_trace; pspp -O format=csv means-vsimple.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Case Processing Summary
,Cases,,,,,
,Included,,Excluded,,Total,
,N,Percent,N,Percent,N,Percent
score: ,4,100%,0,0%,4,100%

Table: Report
,Mean,N,Std. Deviation
score,1.50000,4.00000,.57735
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/means.at:96"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_564
#AT_START_565
at_fn_group_banner 565 'means.at:114' \
  "MEANS default missing" "                          " 81
at_xfail=no
(
  $as_echo "565. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >means-dmiss.sps <<'_ATEOF'
SET FORMAT=F12.2.
data list notable list /a * g1 * g2 *.
begin data.
3 1 .
4 1 11
3 1 21
6 2 21
2 2 31
. 2 31
8 2 31
7 2 31
end data.

MEANS TABLES =
      a BY g1 g2
      BY g2
      /cells = MEAN COUNT
      .
_ATEOF


{ set +x
$as_echo "$at_srcdir/means.at:137: pspp -O format=csv means-dmiss.sps"
at_fn_check_prepare_trace "means.at:137"
( $at_check_trace; pspp -O format=csv means-dmiss.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Case Processing Summary
,Cases,,,,,
,Included,,Excluded,,Total,
,N,Percent,N,Percent,N,Percent
a: g1 * g2,6,75%,2,25%,8,100%
a: g2,6,75%,2,25%,8,100%
a: ,7,87.5%,1,12.5%,8,100%

Table: Report
,g1,g2,Mean,N
a,1.00,11.00,4.00,1.00
,1.00,21.00,3.00,1.00
,2.00,21.00,6.00,1.00
,2.00,31.00,5.67,3.00

Table: Report
,g2,Mean,N
a,11.00,4.00,1.00
,21.00,4.50,2.00
,31.00,5.67,3.00

Table: Report
,Mean,N
a,5.00,6.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/means.at:137"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_565
#AT_START_566
at_fn_group_banner 566 'means.at:168' \
  "MEANS linear stats" "                             " 81
at_xfail=no
(
  $as_echo "566. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >means-linear.sps <<'_ATEOF'
set format F12.4.
data list notable list /id * group * test1 *
begin data.
1 1 85
2 1 90
3 1 82
4 1 75
5 1 99
6 2 70
7 2 66
8 2 52
9 2 71
10 2 50
end data.

add value labels /group 1 "experimental group" 2 "control group".

means test1 by group
  /cells = mean count stddev sum min max range variance kurt skew
  .
_ATEOF



{ set +x
$as_echo "$at_srcdir/means.at:195: pspp -O format=csv means-linear.sps"
at_fn_check_prepare_trace "means.at:195"
( $at_check_trace; pspp -O format=csv means-linear.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Case Processing Summary
,Cases,,,,,
,Included,,Excluded,,Total,
,N,Percent,N,Percent,N,Percent
test1: group,10,100%,0,0%,10,100%
test1: ,10,100%,0,0%,10,100%

Table: Report
,group,Mean,N,Std. Deviation,Sum,Min,Max,Range,Variance,Kurtosis,Skewness
test1,experimental group,86.2000,5.0000,8.9833,431.0000,75.0000,99.0000,24.0000,80.7000,.2727,.3858
,control group,61.8000,5.0000,10.0598,309.0000,50.0000,71.0000,21.0000,101.2000,-3.0437,-.4830

Table: Report
,Mean,N,Std. Deviation,Sum,Min,Max,Range,Variance,Kurtosis,Skewness
test1,74.0000,10.0000,15.6915,740.0000,50.0000,99.0000,49.0000,246.2222,-.5759,-.1262
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/means.at:195"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_566
#AT_START_567
at_fn_group_banner 567 'means.at:217' \
  "MEANS standard errors" "                          " 81
at_xfail=no
(
  $as_echo "567. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >means-stderr.sps <<'_ATEOF'
set format F12.4.
data list notable list /id * group * test1 *
begin data.
1 1 85
2 1 90
3 1 82
4 1 75
5 1 99
6 1 70
7 2 66
8 2 52
9 2 71
10 2 50
end data.

means test1 by group
	/cells = mean count semean seskew sekurt.
_ATEOF



{ set +x
$as_echo "$at_srcdir/means.at:240: pspp -O format=csv means-stderr.sps"
at_fn_check_prepare_trace "means.at:240"
( $at_check_trace; pspp -O format=csv means-stderr.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Case Processing Summary
,Cases,,,,,
,Included,,Excluded,,Total,
,N,Percent,N,Percent,N,Percent
test1: group,10,100%,0,0%,10,100%
test1: ,10,100%,0,0%,10,100%

Table: Report
,group,Mean,N,S.E. Mean,S.E. Skew,S.E. Kurt
test1,1.0000,83.5000,6.0000,4.2485,.8452,1.7408
,2.0000,59.7500,4.0000,5.1700,1.0142,2.6186

Table: Report
,Mean,N,S.E. Mean,S.E. Skew,S.E. Kurt
test1,74.0000,10.0000,4.9621,.6870,1.3342
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/means.at:240"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_567
#AT_START_568
at_fn_group_banner 568 'means.at:263' \
  "MEANS harmonic and geometric means" "             " 81
at_xfail=no
(
  $as_echo "568. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >means-hg.sps <<'_ATEOF'
set format F12.4.
data list notable list /x * y *.
begin data.
1 3
2 3
3 3
4 3
5 3
end data.


means x y
	/cells = mean harmonic geometric
.
_ATEOF



{ set +x
$as_echo "$at_srcdir/means.at:283: pspp -O format=csv means-hg.sps"
at_fn_check_prepare_trace "means.at:283"
( $at_check_trace; pspp -O format=csv means-hg.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Case Processing Summary
,Cases,,,,,
,Included,,Excluded,,Total,
,N,Percent,N,Percent,N,Percent
x: ,5,100%,0,0%,5,100%
y: ,5,100%,0,0%,5,100%

Table: Report
,Mean,Harmonic Mean,Geom. Mean
x,3.0000,2.1898,2.6052
y,3.0000,3.0000,3.0000
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/means.at:283"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_568
#AT_START_569
at_fn_group_banner 569 'means.at:305' \
  "MEANS all/none/default" "                         " 81
at_xfail=no
(
  $as_echo "569. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >means-stat-keywords.sps <<'_ATEOF'
SET FORMAT=F12.2.
SET DECIMAL=DOT.

DATA LIST NOTABLE LIST /score *.
BEGIN DATA.
22
22
29
16
23
END DATA.

MEANS score /CELLS = ALL.
MEANS score /CELLS = DEFAULT.
MEANS score /CELLS = NONE.
_ATEOF



{ set +x
$as_echo "$at_srcdir/means.at:327: pspp -O format=csv means-stat-keywords.sps"
at_fn_check_prepare_trace "means.at:327"
( $at_check_trace; pspp -O format=csv means-stat-keywords.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Case Processing Summary
,Cases,,,,,
,Included,,Excluded,,Total,
,N,Percent,N,Percent,N,Percent
score: ,5,100%,0,0%,5,100%

Table: Report
,Mean,N,Std. Deviation,S.E. Mean,Sum,Min,Max,Range,Variance,Kurtosis,S.E. Kurt,Skewness,S.E. Skew,First,Last,Harmonic Mean,Geom. Mean
score,22.40,5.00,4.62,2.06,112.00,16.00,29.00,13.00,21.30,1.85,2.00,.11,.91,22.00,23.00,21.61,22.01

Table: Case Processing Summary
,Cases,,,,,
,Included,,Excluded,,Total,
,N,Percent,N,Percent,N,Percent
score: ,5,100%,0,0%,5,100%

Table: Report
,Mean,N,Std. Deviation
score,22.40,5.00,4.62

Table: Case Processing Summary
,Cases,,,,,
,Included,,Excluded,,Total,
,N,Percent,N,Percent,N,Percent
score: ,5,100%,0,0%,5,100%

Table: Report

score
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/means.at:327"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_569
#AT_START_570
at_fn_group_banner 570 'means.at:365' \
  "MEANS missing=table " "                           " 81
at_xfail=no
(
  $as_echo "570. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >means-miss-table.sps <<'_ATEOF'
data list notable list /a * b * g1.
begin data.
1 9 1
2 9 1
3 9 1
4 9 2
5 9 2
6 9 2
7 . 2
end data.

MEANS a b BY g1
      /a  BY g1
      /cells =  COUNT
      /missing = TABLE
      .

MEANS a b BY g1
      /a  BY g1
      /cells =  COUNT
      .
_ATEOF



{ set +x
$as_echo "$at_srcdir/means.at:392: pspp -O format=csv means-miss-table.sps"
at_fn_check_prepare_trace "means.at:392"
( $at_check_trace; pspp -O format=csv means-miss-table.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Case Processing Summary
,Cases,,,,,
,Included,,Excluded,,Total,
,N,Percent,N,Percent,N,Percent
a: g1,7,100%,0,0%,7,100%
a: ,7,100%,0,0%,7,100%
b: g1,6,85.7143%,1,14.2857%,7,100%
b: ,6,85.7143%,1,14.2857%,7,100%

Table: Report
,g1,N
a,1.00,3.00
,2.00,3.00
b,1.00,3.00
,2.00,3.00

Table: Report
,N
a,6.00
b,6.00

Table: Case Processing Summary
,Cases,,,,,
,Included,,Excluded,,Total,
,N,Percent,N,Percent,N,Percent
a: g1,7,100%,0,0%,7,100%
a: ,7,100%,0,0%,7,100%

Table: Report
,g1,N
a,1.00,3.00
,2.00,4.00

Table: Report
,N
a,7.00

Table: Case Processing Summary
,Cases,,,,,
,Included,,Excluded,,Total,
,N,Percent,N,Percent,N,Percent
a: g1,7,100%,0,0%,7,100%
a: ,7,100%,0,0%,7,100%
b: g1,6,85.7143%,1,14.2857%,7,100%
b: ,6,85.7143%,1,14.2857%,7,100%

Table: Report
,g1,N
a,1.00,3.00
,2.00,4.00
b,1.00,3.00
,2.00,3.00

Table: Report
,N
a,7.00
b,6.00

Table: Case Processing Summary
,Cases,,,,,
,Included,,Excluded,,Total,
,N,Percent,N,Percent,N,Percent
a: g1,7,100%,0,0%,7,100%
a: ,7,100%,0,0%,7,100%

Table: Report
,g1,N
a,1.00,3.00
,2.00,4.00

Table: Report
,N
a,7.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/means.at:392"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_570
#AT_START_571
at_fn_group_banner 571 'means.at:475' \
  "MEANS user missing values" "                      " 81
at_xfail=no
(
  $as_echo "571. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >means-missing.sps <<'_ATEOF'
data list notable list /a * b * g1.
begin data.
1 2 9
2 2 1
3 2 1
4 2 2
5 2 2
6 2 2
7 9 2
end data.

MISSING VALUES a b g1 (9).

MEANS a b BY g1 /cells =  COUNT .

MEANS a b BY g1 /cells =  COUNT /missing = include .

MEANS a b BY g1 /cells =  COUNT /missing = dependent .
_ATEOF



{ set +x
$as_echo "$at_srcdir/means.at:499: pspp -O format=csv means-missing.sps"
at_fn_check_prepare_trace "means.at:499"
( $at_check_trace; pspp -O format=csv means-missing.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Case Processing Summary
,Cases,,,,,
,Included,,Excluded,,Total,
,N,Percent,N,Percent,N,Percent
a: g1,6,85.7143%,1,14.2857%,7,100%
a: ,7,100%,0,0%,7,100%
b: g1,5,71.4286%,2,28.5714%,7,100%
b: ,6,85.7143%,1,14.2857%,7,100%

Table: Report
,g1,N
a,1.00,2.00
,2.00,4.00
b,1.00,2.00
,2.00,3.00

Table: Report
,N
a,6.00
b,5.00

Table: Case Processing Summary
,Cases,,,,,
,Included,,Excluded,,Total,
,N,Percent,N,Percent,N,Percent
a: g1,7,100%,0,0%,7,100%
a: ,7,100%,0,0%,7,100%
b: g1,7,100%,0,0%,7,100%
b: ,7,100%,0,0%,7,100%

Table: Report
,g1,N
a,1.00,2.00
,2.00,4.00
,9.00,1.00
b,1.00,2.00
,2.00,4.00
,9.00,1.00

Table: Report
,N
a,7.00
b,7.00

Table: Case Processing Summary
,Cases,,,,,
,Included,,Excluded,,Total,
,N,Percent,N,Percent,N,Percent
a: g1,7,100%,0,0%,7,100%
a: ,7,100%,0,0%,7,100%
b: g1,6,85.7143%,1,14.2857%,7,100%
b: ,6,85.7143%,1,14.2857%,7,100%

Table: Report
,g1,N
a,1.00,2.00
,2.00,4.00
,9.00,1.00
b,1.00,2.00
,2.00,3.00
,9.00,1.00

Table: Report
,N
a,7.00
b,6.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/means.at:499"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_571
#AT_START_572
at_fn_group_banner 572 'means.at:573' \
  "MEANS empty factor spec" "                        " 81
at_xfail=no
(
  $as_echo "572. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >means-bad.sps <<'_ATEOF'
data list list /outcome *.
begin data.
1
2
3
end data.

MEANS TABLES =  outcome
	BY.
_ATEOF


{ set +x
$as_echo "$at_srcdir/means.at:587: pspp -O format=csv means-bad.sps"
at_fn_check_prepare_trace "means.at:587"
( $at_check_trace; pspp -O format=csv means-bad.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 1 $at_status "$at_srcdir/means.at:587"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_572
#AT_START_573
at_fn_group_banner 573 'means.at:593' \
  "MEANS parser bug" "                               " 81
at_xfail=no
(
  $as_echo "573. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >means-bad.sps <<'_ATEOF'
DATA LIST notable LIST /a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 fylo *.
begin data.
1 2 3 4 5 6 7 8 9 0 11
end data.

MEANS TABLES = a1 a2 a3 a4 a5 a6 a7 a8 a9 a10a BY fylo.
_ATEOF


{ set +x
$as_echo "$at_srcdir/means.at:605: pspp -O format=csv means-bad.sps"
at_fn_check_prepare_trace "means.at:605"
( $at_check_trace; pspp -O format=csv means-bad.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 1 $at_status "$at_srcdir/means.at:605"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_573
#AT_START_574
at_fn_group_banner 574 'npar.at:19' \
  "NPAR TESTS BINOMIAL P < 0.5; N1/N2 < 1" "         " 82
at_xfail=no
(
  $as_echo "574. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >npar.sps <<'_ATEOF'
SET FORMAT F8.3.

DATA LIST LIST NOTABLE /x * w *.
BEGIN DATA.
1   6
2   15
END DATA.

WEIGHT BY w.

NPAR TESTS
	/BINOMIAL(0.3) = x
	.
_ATEOF

{ set +x
$as_echo "$at_srcdir/npar.at:35: pspp -O format=csv npar.sps"
at_fn_check_prepare_trace "npar.at:35"
( $at_check_trace; pspp -O format=csv npar.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Binomial Test
,,Category,N,Observed Prop.,Test Prop.,Exact Sig. (1-tailed)
x,Group1,1.000,6.000,.286,.300,.551
,Group2,2.000,15.000,.714,,
,Total,,21.000,1.000,,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/npar.at:35"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_574
#AT_START_575
at_fn_group_banner 575 'npar.at:44' \
  "NPAR TESTS BINOMIAL P < 0.5; N1/N2 > 1" "         " 82
at_xfail=no
(
  $as_echo "575. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >npar.sps <<'_ATEOF'
SET FORMAT F8.3.

DATA LIST LIST NOTABLE /x (F8.0) w (F8.0).
BEGIN DATA.
1   7
2   6
END DATA.

WEIGHT BY w.

NPAR TESTS
	/BINOMIAL(0.4) = x
	.
_ATEOF

{ set +x
$as_echo "$at_srcdir/npar.at:60: pspp -O format=csv npar.sps"
at_fn_check_prepare_trace "npar.at:60"
( $at_check_trace; pspp -O format=csv npar.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Binomial Test
,,Category,N,Observed Prop.,Test Prop.,Exact Sig. (1-tailed)
x,Group1,1,7,.538,.400,.229
,Group2,2,6,.462,,
,Total,,13,1.000,,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/npar.at:60"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_575
#AT_START_576
at_fn_group_banner 576 'npar.at:69' \
  "NPAR TESTS BINOMIAL P < 0.5; N1/N2 = 1" "         " 82
at_xfail=no
(
  $as_echo "576. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >npar.sps <<'_ATEOF'
SET FORMAT F8.3.

DATA LIST LIST NOTABLE /x (F8.0) w (F8.0).
BEGIN DATA.
1   8
2   8
END DATA.

WEIGHT BY w.

NPAR TESTS
	/BINOMIAL(0.4) = x
	.
_ATEOF

{ set +x
$as_echo "$at_srcdir/npar.at:85: pspp -O format=csv npar.sps"
at_fn_check_prepare_trace "npar.at:85"
( $at_check_trace; pspp -O format=csv npar.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Binomial Test
,,Category,N,Observed Prop.,Test Prop.,Exact Sig. (1-tailed)
x,Group1,1,8,.500,.400,.284
,Group2,2,8,.500,,
,Total,,16,1.000,,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/npar.at:85"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_576
#AT_START_577
at_fn_group_banner 577 'npar.at:94' \
  "NPAR TESTS BINOMIAL P > 0.5; N1/N2 < 1" "         " 82
at_xfail=no
(
  $as_echo "577. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >npar.sps <<'_ATEOF'
SET FORMAT F8.3.

DATA LIST LIST NOTABLE /x (F8.0) w (F8.0).
BEGIN DATA.
1   11
2   12
END DATA.

WEIGHT BY w.

NPAR TESTS
	/BINOMIAL(0.6) = x
	.
_ATEOF

{ set +x
$as_echo "$at_srcdir/npar.at:110: pspp -O format=csv npar.sps"
at_fn_check_prepare_trace "npar.at:110"
( $at_check_trace; pspp -O format=csv npar.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Binomial Test
,,Category,N,Observed Prop.,Test Prop.,Exact Sig. (1-tailed)
x,Group1,1,11,.478,.600,.164
,Group2,2,12,.522,,
,Total,,23,1.000,,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/npar.at:110"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_577
#AT_START_578
at_fn_group_banner 578 'npar.at:119' \
  "NPAR TESTS BINOMIAL P > 0.5; N1/N2 > 1" "         " 82
at_xfail=no
(
  $as_echo "578. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >npar.sps <<'_ATEOF'
SET FORMAT F8.3.

DATA LIST LIST NOTABLE /x (F8.0) w (F8.0).
BEGIN DATA.
1   11
2   9
END DATA.

WEIGHT BY w.

NPAR TESTS
	/BINOMIAL(0.6) = x.
_ATEOF

{ set +x
$as_echo "$at_srcdir/npar.at:134: pspp -O format=csv npar.sps"
at_fn_check_prepare_trace "npar.at:134"
( $at_check_trace; pspp -O format=csv npar.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Binomial Test
,,Category,N,Observed Prop.,Test Prop.,Exact Sig. (1-tailed)
x,Group1,1,11,.550,.600,.404
,Group2,2,9,.450,,
,Total,,20,1.000,,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/npar.at:134"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_578
#AT_START_579
at_fn_group_banner 579 'npar.at:143' \
  "NPAR TESTS BINOMIAL P > 0.5; N1/N2 = 1" "         " 82
at_xfail=no
(
  $as_echo "579. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >npar.sps <<'_ATEOF'
SET FORMAT F8.3.

DATA LIST LIST NOTABLE /x (F8.0) w (F8.0).
BEGIN DATA.
1   11
2   11
END DATA.

WEIGHT BY w.

NPAR TESTS
	/BINOMIAL(0.6) = x.
_ATEOF

{ set +x
$as_echo "$at_srcdir/npar.at:158: pspp -O format=csv npar.sps"
at_fn_check_prepare_trace "npar.at:158"
( $at_check_trace; pspp -O format=csv npar.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Binomial Test
,,Category,N,Observed Prop.,Test Prop.,Exact Sig. (1-tailed)
x,Group1,1,11,.500,.600,.228
,Group2,2,11,.500,,
,Total,,22,1.000,,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/npar.at:158"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_579
#AT_START_580
at_fn_group_banner 580 'npar.at:167' \
  "NPAR TESTS BINOMIAL P = 0.5; N1/N2 < 1" "         " 82
at_xfail=no
(
  $as_echo "580. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >npar.sps <<'_ATEOF'
SET FORMAT F8.3.

DATA LIST LIST NOTABLE /x (F8.0) w (F8.0).
BEGIN DATA.
1   8
2   15
END DATA.

WEIGHT BY w.

NPAR TESTS
	/BINOMIAL = x
	.
_ATEOF

{ set +x
$as_echo "$at_srcdir/npar.at:183: pspp -O format=csv npar.sps"
at_fn_check_prepare_trace "npar.at:183"
( $at_check_trace; pspp -O format=csv npar.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Binomial Test
,,Category,N,Observed Prop.,Test Prop.,Exact Sig. (2-tailed)
x,Group1,1,8,.348,.500,.210
,Group2,2,15,.652,,
,Total,,23,1.000,,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/npar.at:183"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_580
#AT_START_581
at_fn_group_banner 581 'npar.at:192' \
  "NPAR TESTS BINOMIAL P = 0.5; N1/N2 > 1" "         " 82
at_xfail=no
(
  $as_echo "581. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >npar.sps <<'_ATEOF'
SET FORMAT F8.3.

DATA LIST LIST NOTABLE /x (F8.0) w (F8.0).
BEGIN DATA.
1   12
2   6
END DATA.

WEIGHT BY w.

NPAR TESTS
	/BINOMIAL(0.5) = x.
_ATEOF

{ set +x
$as_echo "$at_srcdir/npar.at:207: pspp -O format=csv npar.sps"
at_fn_check_prepare_trace "npar.at:207"
( $at_check_trace; pspp -O format=csv npar.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Binomial Test
,,Category,N,Observed Prop.,Test Prop.,Exact Sig. (2-tailed)
x,Group1,1,12,.667,.500,.238
,Group2,2,6,.333,,
,Total,,18,1.000,,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/npar.at:207"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_581
#AT_START_582
at_fn_group_banner 582 'npar.at:216' \
  "NPAR TESTS BINOMIAL P = 0.5; N1/N2 = 1" "         " 82
at_xfail=no
(
  $as_echo "582. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >npar.sps <<'_ATEOF'
SET FORMAT F8.3.

DATA LIST LIST NOTABLE /x (F8.0) w (F8.0).
BEGIN DATA.
1   10
2   10
END DATA.

WEIGHT BY w.

NPAR TESTS
	/BINOMIAL(0.5) = x
	.
_ATEOF

{ set +x
$as_echo "$at_srcdir/npar.at:232: pspp -O format=csv npar.sps"
at_fn_check_prepare_trace "npar.at:232"
( $at_check_trace; pspp -O format=csv npar.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Binomial Test
,,Category,N,Observed Prop.,Test Prop.,Exact Sig. (2-tailed)
x,Group1,1,10,.500,.500,1.000
,Group2,2,10,.500,,
,Total,,20,1.000,,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/npar.at:232"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_582
#AT_START_583
at_fn_group_banner 583 'npar.at:241' \
  "NPAR TESTS BINOMIAL P = 0.5; N1/N2 = 1 Cutpoint" "" 82
at_xfail=no
(
  $as_echo "583. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >npar.sps <<'_ATEOF'
SET FORMAT F8.3.

DATA LIST LIST NOTABLE /x * w *.
BEGIN DATA.
9    3
10   7
11   16
END DATA.

WEIGHT BY w.

NPAR TESTS
	/BINOMIAL(0.5) = x (10)
	.
_ATEOF

{ set +x
$as_echo "$at_srcdir/npar.at:258: pspp -O format=csv npar.sps"
at_fn_check_prepare_trace "npar.at:258"
( $at_check_trace; pspp -O format=csv npar.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Binomial Test
,,Category,N,Observed Prop.,Test Prop.,Exact Sig. (2-tailed)
x,Group1,<= 10,10.000,.385,.500,.327
,Group2,,16.000,.615,,
,Total,,26.000,1.000,,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/npar.at:258"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_583
#AT_START_584
at_fn_group_banner 584 'npar.at:267' \
  "NPAR TESTS BINOMIAL P = 0.5; N1/N2 = 1 Named values" "" 82
at_xfail=no
(
  $as_echo "584. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >npar.sps <<'_ATEOF'
SET FORMAT F8.3.

DATA LIST LIST NOTABLE /x * w *.
BEGIN DATA.
10   10
15   45
20   13
END DATA.

WEIGHT BY w.

NPAR TESTS
	/BINOMIAL(0.5) = x (10, 20)
	.
_ATEOF

{ set +x
$as_echo "$at_srcdir/npar.at:284: pspp -O format=csv npar.sps"
at_fn_check_prepare_trace "npar.at:284"
( $at_check_trace; pspp -O format=csv npar.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Binomial Test
,,Category,N,Observed Prop.,Test Prop.,Exact Sig. (2-tailed)
x,Group1,10.000,10.000,.435,.500,.678
,Group2,20.000,13.000,.565,,
,Total,,23.000,1.000,,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/npar.at:284"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_584
#AT_START_585
at_fn_group_banner 585 'npar.at:296' \
  "NPAR TESTS BINOMIAL - crash" "                    " 82
at_xfail=no
(
  $as_echo "585. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >nparX.sps <<'_ATEOF'
data list list /range *.
begin data.
0
1
end data.

* This is invalid syntax
NPAR TEST
	/BINOMIAL(0.5) = Range().

_ATEOF

{ set +x
$as_echo "$at_srcdir/npar.at:309: pspp -O format=csv nparX.sps"
at_fn_check_prepare_trace "npar.at:309"
( $at_check_trace; pspp -O format=csv nparX.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 1 $at_status "$at_srcdir/npar.at:309"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_585
#AT_START_586
at_fn_group_banner 586 'npar.at:315' \
  "NPAR TESTS CHISQUARE" "                           " 82
at_xfail=no
(
  $as_echo "586. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >npar.sps <<'_ATEOF'
DATA LIST NOTABLE LIST /x * y * w *.
BEGIN DATA.
1   2  1
2   1  3
3.1 1  4
3.2 2  1
4   2  2
5   3  1
1   4  2
END DATA.

WEIGHT BY w.

NPAR TESTS
  CHISQUARE=x y
  .

NPAR TESTS
  CHISQUARE=y
  /EXPECTED=3 4 5 4
  .

NPAR TESTS
  CHISQUARE=x y(2, 4)
  /EXPECTED = 6 10 3
  .
_ATEOF


{ set +x
$as_echo "$at_srcdir/npar.at:345: pspp -O format=csv npar.sps"
at_fn_check_prepare_trace "npar.at:345"
( $at_check_trace; pspp -O format=csv npar.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: x
,Observed N,Expected N,Residual
1.00,3.00,2.33,.67
2.00,3.00,2.33,.67
3.10,4.00,2.33,1.67
3.20,1.00,2.33,-1.33
4.00,2.00,2.33,-.33
5.00,1.00,2.33,-1.33
Total,14.00,,

Table: y
,Observed N,Expected N,Residual
1.00,7.00,3.50,3.50
2.00,4.00,3.50,.50
3.00,1.00,3.50,-2.50
4.00,2.00,3.50,-1.50
Total,14.00,,

Table: Test Statistics
,x,y
Chi-Square,3.14,6.00
df,5,3
Asymp. Sig.,.678,.112

Table: y
,Observed N,Expected N,Residual
1.00,7.00,2.63,4.38
2.00,4.00,3.50,.50
3.00,1.00,4.38,-3.38
4.00,2.00,3.50,-1.50
Total,14.00,,

Table: Test Statistics
,y
Chi-Square,10.61
df,3
Asymp. Sig.,.014

Table: Frequencies
,x,,,,y,,,
,Category,Observed N,Expected N,Residual,Category,Observed N,Expected N,Residual
1,2.00,3.00,3.16,-.16,2.00,4.00,2.21,1.79
2,3.00,5.00,5.26,-.26,3.00,1.00,3.68,-2.68
3,4.00,2.00,1.58,.42,4.00,2.00,1.11,.89
Total,,10.00,,,,7.00,,

Table: Test Statistics
,x,y
Chi-Square,.13,4.13
df,2,2
Asymp. Sig.,.936,.127
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/npar.at:345"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_586
#AT_START_587
at_fn_group_banner 587 'npar.at:401' \
  "NPAR TESTS CHISQUARE expected values missing" "   " 82
at_xfail=no
(
  $as_echo "587. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >npar.sps <<'_ATEOF'
DATA LIST NOTABLE LIST /x * y * w *.
BEGIN DATA.
1   2  1
2   1  3
3.1 1  4
3.2 2  1
4   2  2
5   3  1
1   4  2
END DATA.

WEIGHT BY w.

NPAR TESTS
  CHISQUARE=y
  /EXPECTED = 3 4 5 4 3 1
  .
_ATEOF


{ set +x
$as_echo "$at_srcdir/npar.at:422: pspp -O format=csv npar.sps"
at_fn_check_prepare_trace "npar.at:422"
( $at_check_trace; pspp -O format=csv npar.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "\"error: CHISQUARE test specified 6 expected values, but 4 distinct values were encountered in variable y.\"

Table: Test Statistics
,y
Chi-Square,.00
df,0
Asymp. Sig.,1.000
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/npar.at:422"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_587
#AT_START_588
at_fn_group_banner 588 'npar.at:434' \
  "NPAR TESTS CHISQUARE with DESCRIPTIVES" "         " 82
at_xfail=no
(
  $as_echo "588. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >npar.sps <<'_ATEOF'
DATA LIST NOTABLE LIST /x * y * w * .
BEGIN DATA.
1   2  1
2   1  3
3.1 1  4
3.2 2  1
4   2  2
5   3  1
1   4  2
.   5  1
END DATA.

WEIGHT BY w.

MISSING VALUES x (4).

NPAR TESTS
  CHISQUARE=x y(-2,5)
  /MISSING=ANALYSIS
  /STATISTICS=DESCRIPTIVES
  .
_ATEOF


{ set +x
$as_echo "$at_srcdir/npar.at:459: pspp -O format=csv npar.sps"
at_fn_check_prepare_trace "npar.at:459"
( $at_check_trace; pspp -O format=csv npar.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Frequencies
,x,,,,y,,,
,Category,Observed N,Expected N,Residual,Category,Observed N,Expected N,Residual
1,-2.00,.00,1.50,-1.50,-2.00,.00,1.88,-1.88
2,-1.00,.00,1.50,-1.50,-1.00,.00,1.88,-1.88
3,.00,.00,1.50,-1.50,.00,.00,1.88,-1.88
4,1.00,3.00,1.50,1.50,1.00,7.00,1.88,5.13
5,2.00,3.00,1.50,1.50,2.00,4.00,1.88,2.13
6,3.00,5.00,1.50,3.50,3.00,1.00,1.88,-.88
7,4.00,.00,1.50,-1.50,4.00,2.00,1.88,.13
8,5.00,1.00,1.50,-.50,5.00,1.00,1.88,-.88
Total,,12.00,,,,15.00,,

Table: Test Statistics
,x,y
Chi-Square,17.33,22.87
df,7,7
Asymp. Sig.,.015,.002

Table: Descriptive Statistics
,N,Mean,Std. Deviation,Minimum,Maximum
,,,,,
x,12.00,2.47,1.19,1.00,5.00
y,15.00,2.07,1.33,1.00,5.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/npar.at:459"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_588
#AT_START_589
at_fn_group_banner 589 'npar.at:487' \
  "NPAR TESTS CHISQUARE, listwise missing" "         " 82
at_xfail=no
(
  $as_echo "589. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >npar.sps <<'_ATEOF'
DATA LIST NOTABLE LIST /x * y * w * .
BEGIN DATA.
1   2  1
2   1  3
3.1 1  4
3.2 2  1
4   2  2
5   3  1
1   4  2
.   5  1
END DATA.

WEIGHT BY w.

* MISSING VALUES x (4).

NPAR TESTS
  CHISQUARE=x y(-2,5)
  /MISSING=LISTWISE
  /STATISTICS=DESCRIPTIVES
  .
_ATEOF


{ set +x
$as_echo "$at_srcdir/npar.at:512: pspp -O format=csv npar.sps"
at_fn_check_prepare_trace "npar.at:512"
( $at_check_trace; pspp -O format=csv npar.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Frequencies
,x,,,,y,,,
,Category,Observed N,Expected N,Residual,Category,Observed N,Expected N,Residual
1,-2.00,.00,1.75,-1.75,-2.00,.00,1.75,-1.75
2,-1.00,.00,1.75,-1.75,-1.00,.00,1.75,-1.75
3,.00,.00,1.75,-1.75,.00,.00,1.75,-1.75
4,1.00,3.00,1.75,1.25,1.00,7.00,1.75,5.25
5,2.00,3.00,1.75,1.25,2.00,4.00,1.75,2.25
6,3.00,5.00,1.75,3.25,3.00,1.00,1.75,-.75
7,4.00,2.00,1.75,.25,4.00,2.00,1.75,.25
8,5.00,1.00,1.75,-.75,5.00,.00,1.75,-1.75
Total,,14.00,,,,14.00,,

Table: Test Statistics
,x,y
Chi-Square,13.43,26.00
df,7,7
Asymp. Sig.,.062,.001

Table: Descriptive Statistics
,N,Mean,Std. Deviation,Minimum,Maximum
,,,,,
x,14.00,2.69,1.23,1.00,5.00
y,14.00,1.86,1.10,1.00,4.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/npar.at:512"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_589
#AT_START_590
at_fn_group_banner 590 'npar.at:540' \
  "NPAR TESTS WILCOXON" "                            " 82
at_xfail=no
(
  $as_echo "590. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >npar.sps <<'_ATEOF'
data list notable list /foo * bar * w (f8.0).
begin data.
1.00     1.00   1
1.00     2.00   1
2.00     1.00   1
1.00     4.00   1
2.00     5.00   1
1.00    19.00   1
2.00     7.00   1
4.00     5.00   1
1.00    12.00   1
2.00    13.00   1
2.00     2.00   1
12.00      .00  2
12.00     1.00  1
13.00     1.00  1
end data

variable labels foo "first" bar "second".

weight by w.

npar test
 /wilcoxon=foo with bar (paired)
 /missing analysis
 /method=exact.
_ATEOF


{ set +x
$as_echo "$at_srcdir/npar.at:570: pspp -O format=csv npar.sps"
at_fn_check_prepare_trace "npar.at:570"
( $at_check_trace; pspp -O format=csv npar.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Ranks
,,N,Mean Rank,Sum of Ranks
first - second,Negative Ranks,8,6.00,48.00
,Positive Ranks,5,8.60,43.00
,Ties,2,,
,Total,15,,

Table: Test Statistics
,first - second
Z,-.18
Asymp. Sig. (2-tailed),.861
Exact Sig. (2-tailed),.893
Exact Sig. (1-tailed),.446
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/npar.at:570"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_590
#AT_START_591
at_fn_group_banner 591 'npar.at:588' \
  "NPAR TESTS WILCOXON with missing values" "        " 82
at_xfail=no
(
  $as_echo "591. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >npar.sps <<'_ATEOF'
data list notable list /foo * bar * dummy *.
begin data.
1.00     1.00    1
1.00     2.00    1
2.00     1.00    1
1.00     4.00    .
2.00     5.00    .
1.00    19.00    .
2.00     7.00    1
4.00     5.00    1
1.00    12.00    1
2.00    13.00    1
2.00     2.00    1
12.00      .00   1
12.00      .00   1
34.2       .     1
12.00     1.00   1
13.00     1.00   1
end data

variable labels foo "first" bar "second".

npar test
 /wilcoxon=foo with bar (paired)
 /missing analysis
 /method=exact.
_ATEOF


{ set +x
$as_echo "$at_srcdir/npar.at:619: pspp -O format=csv npar.sps"
at_fn_check_prepare_trace "npar.at:619"
( $at_check_trace; pspp -O format=csv npar.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Ranks
,,N,Mean Rank,Sum of Ranks
first - second,Negative Ranks,8,6.00,48.00
,Positive Ranks,5,8.60,43.00
,Ties,2,,
,Total,15,,

Table: Test Statistics
,first - second
Z,-.18
Asymp. Sig. (2-tailed),.861
Exact Sig. (2-tailed),.893
Exact Sig. (1-tailed),.446
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/npar.at:619"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_591
#AT_START_592
at_fn_group_banner 592 'npar.at:636' \
  "NPAR TESTS SIGN" "                                " 82
at_xfail=no
(
  $as_echo "592. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >npar.sps <<'_ATEOF'
set format = F9.3.

data list notable list /age * height rank *.
begin data.
10 12 11
12 13 13
13 14 12
12 12 10
9   9 10
10.3 10.2 12
end data.

npar tests
	/sign=age height WITH height rank (PAIRED)
	/MISSING ANALYSIS
	/METHOD=EXACT
	.
_ATEOF

{ set +x
$as_echo "$at_srcdir/npar.at:656: pspp -o pspp.csv npar.sps"
at_fn_check_prepare_trace "npar.at:656"
( $at_check_trace; pspp -o pspp.csv npar.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/npar.at:656"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/npar.at:659: sed -e 's/\\.313\$/.312/' -e 's/^Exact Sig\\. (1-tailed),\\.313/Exact Sig. (1-tailed),.312/' pspp.csv"
at_fn_check_prepare_dynamic "sed -e 's/\\.313$/.312/' -e 's/^Exact Sig\\. (1-tailed),\\.313/Exact Sig. (1-tailed),.312/' pspp.csv" "npar.at:659"
( $at_check_trace; sed -e 's/\.313$/.312/' -e 's/^Exact Sig\. (1-tailed),\.313/Exact Sig. (1-tailed),.312/' pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Frequencies
,,N
age - height,Negative Differences,3
,Positive Differences,1
,Ties,2
,Total,6
height - rank,Negative Differences,2
,Positive Differences,3
,Ties,1
,Total,6

Table: Test Statistics
,age - height,height - rank
Exact Sig. (2-tailed),.625,1.000
Exact Sig. (1-tailed),.312,.500
Point Probability,.250,.312
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/npar.at:659"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_592
#AT_START_593
at_fn_group_banner 593 'npar.at:680' \
  "NPAR Kruskal-Wallis test" "                       " 82
at_xfail=no
(
  $as_echo "593. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >kw-simple.sps <<'_ATEOF'
set format = F9.3.

data list notable list /gv * xscore *.
begin data
1 96
1 128
1 83
2 132
2 135
2 109
3 115
1 61
1 101
2 82
2 124
3 149
3 166
3 147
end data.

value label /gv
       1 "timed out"
       2 "hit wicket"
       3 "handled the ball".

npar tests
	/kruskal-wallis xscore by gv (1, 3)
	.
_ATEOF


{ set +x
$as_echo "$at_srcdir/npar.at:714: pspp -o pspp.csv kw-simple.sps"
at_fn_check_prepare_trace "npar.at:714"
( $at_check_trace; pspp -o pspp.csv kw-simple.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/npar.at:714"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/npar.at:715: cat pspp.csv"
at_fn_check_prepare_trace "npar.at:715"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Ranks
,gv,N,Mean Rank
xscore,timed out,5,4.400
,hit wicket,5,7.400
,handled the ball,4,11.500
,Total,14,

Table: Test Statistics
,,xscore
Chi-Square,,6.406
df,,2
Asymp. Sig.,,.041
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/npar.at:715"
$at_failed && at_fn_log_failure
$at_traceon; }



cat >kw-missing-group.sps <<'_ATEOF'
set format = F9.3.

data list notable list /gv * xscore *.
begin data
1 96
1 128
1 83
1 61
1 101
2 82
2 124
2 132
2 135
2 109
3 115
3 149
3 166
3 147
2.5 344
end data.

missing values gv (2.5).

value label /gv
       1 "timed out"
       2 "hit wicket"
       3 "handled the ball".

npar tests
	/kruskal-wallis xscore by gv (1, 3)
	/missing=exclude
	.
_ATEOF


{ set +x
$as_echo "$at_srcdir/npar.at:767: pspp -o pspp2.csv kw-missing-group.sps"
at_fn_check_prepare_trace "npar.at:767"
( $at_check_trace; pspp -o pspp2.csv kw-missing-group.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/npar.at:767"
$at_failed && at_fn_log_failure
$at_traceon; }


{ set +x
$as_echo "$at_srcdir/npar.at:770: diff pspp.csv pspp2.csv"
at_fn_check_prepare_trace "npar.at:770"
( $at_check_trace; diff pspp.csv pspp2.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/npar.at:770"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_593
#AT_START_594
at_fn_group_banner 594 'npar.at:775' \
  "NPAR Kruskal-Wallis multiple-variables" "         " 82
at_xfail=no
(
  $as_echo "594. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >kw-multi.sps <<'_ATEOF'
set format = F9.3.

data list notable list /gv * xscore * yscore.
begin data
1 96   .
1 128  .
1 83   .
2 132  132
2 135  135
2 109  109
3 115  115
1 61   .
1 101  .
2 82   82
2 124  124
3 149  149
3 166  166
3 147  147
4 .    96
4 .    128
4 .    83
4 .    61
4 .    101
end data.

value label /gv
       1 "timed out"
       2 "hit wicket"
       3 "handled the ball"
       4 "bowled"
       5 "lbw"
       .

npar tests
	/k-w xscore yscore by gv (1, 5)
	.

_ATEOF



{ set +x
$as_echo "$at_srcdir/npar.at:818: pspp -o pspp.csv kw-multi.sps"
at_fn_check_prepare_trace "npar.at:818"
( $at_check_trace; pspp -o pspp.csv kw-multi.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/npar.at:818"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/npar.at:819: cat pspp.csv"
at_fn_check_prepare_trace "npar.at:819"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Ranks
,gv,N,Mean Rank
xscore,timed out,5,4.400
,hit wicket,5,7.400
,handled the ball,4,11.500
,Total,14,
yscore,hit wicket,5,7.400
,handled the ball,4,11.500
,bowled,5,4.400
,Total,14,

Table: Test Statistics
,,xscore,yscore,
Chi-Square,,6.406,6.406,
df,,2,2,
Asymp. Sig.,,.041,.041,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/npar.at:819"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_594
#AT_START_595
at_fn_group_banner 595 'npar.at:842' \
  "NPAR TESTS Runs" "                                " 82
at_xfail=no
(
  $as_echo "595. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >npar-runs.sps <<'_ATEOF'
set format F11.4.
data list notable list /score * w *.
begin data
4     6
.     4
4     3
3    20
2    29
1    42
6    18
5     7
6    78
5    10
6    46
5     5
6    17
5     1
6    11
4     2
3     7
2     6
1    10
4    13
3    22
3    11
2    24
1    18
4     4
3    12
2    10
1    25
4     4
3     7
2     3
1     4
4     2
3     3
2     2
1     4
end data.

weight by w.

npar tests
	/runs (MEDIAN) = score
	/runs (MEAN) = score
	/runs (MODE) = score
	.
_ATEOF


{ set +x
$as_echo "$at_srcdir/npar.at:894: pspp -O format=csv npar-runs.sps"
at_fn_check_prepare_trace "npar.at:894"
( $at_check_trace; pspp -O format=csv npar-runs.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Runs Test
,score
Test Value (median),3.0000
Cases < Test Value,177.0000
Cases ≥ Test Value,309.0000
Total Cases,486.0000
Number of Runs,12
Z,-20.9931
Asymp. Sig. (2-tailed),2.000

Table: Runs Test
,score
Test Value (mean),3.6379
Cases < Test Value,259.0000
Cases ≥ Test Value,227.0000
Total Cases,486.0000
Number of Runs,12
Z,-21.0650
Asymp. Sig. (2-tailed),2.000

Table: Runs Test
,score
Test Value (mode),6.0000
Cases < Test Value,316.0000
Cases ≥ Test Value,170.0000
Total Cases,486.0000
Number of Runs,11
Z,-21.0742
Asymp. Sig. (2-tailed),2.000
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/npar.at:894"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_595
#AT_START_596
at_fn_group_banner 596 'npar.at:930' \
  "NPAR TESTS Runs (2)" "                            " 82
at_xfail=no
(
  $as_echo "596. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >npar-runs.sps <<'_ATEOF'
data list notable free /y.
begin data
1 1 2 1 2 1 1 2 1 1 1 2 1 2
end data.
NPAR TEST /RUNS(1.5) = y.
_ATEOF


{ set +x
$as_echo "$at_srcdir/npar.at:939: pspp -O format=csv npar-runs.sps"
at_fn_check_prepare_trace "npar.at:939"
( $at_check_trace; pspp -O format=csv npar-runs.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Runs Test
,y
Test Value,1.50
Cases < Test Value,9
Cases ≥ Test Value,5
Total Cases,14
Number of Runs,10
Z,1.26
Asymp. Sig. (2-tailed),.206
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/npar.at:939"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_596
#AT_START_597
at_fn_group_banner 597 'npar.at:953' \
  "NPAR TESTS Friedman" "                            " 82
at_xfail=no
(
  $as_echo "597. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >npar-friedman.sps <<'_ATEOF'
set format F15.4.
data list notable list /x * y * z.
begin data
9.5 6.5	8.1
8.0 6.0	6.0
7.0 6.5	4.2
9.5 5.0	7.3
9.0 7.0 6.2
8.5 6.9	6.5
7.5 8.0	6.5
6.0 8.0	3.1
5.0 6.0	4.9
7.5 7.5	6.2
end data.

npar tests
     /friedman = x y z.
_ATEOF


{ set +x
$as_echo "$at_srcdir/npar.at:974: pspp -O format=csv npar-friedman.sps"
at_fn_check_prepare_trace "npar.at:974"
( $at_check_trace; pspp -O format=csv npar-friedman.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Ranks
,Mean Rank
x,2.6500
y,2.1000
z,1.2500

Table: Test Statistics
N,10
Chi-Square,10.4737
df,2
Asymp. Sig.,.005
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/npar.at:974"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_597
#AT_START_598
at_fn_group_banner 598 'npar.at:992' \
  "NPAR TESTS Mann-Whitney" "                        " 82
at_xfail=no
(
  $as_echo "598. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >npar-mann-whitney.sps <<'_ATEOF'
SET FORMAT     = F11.4

data list notable list /height * sex (f1.0).
begin data.
201 1
84 1
83 1
94 1
88 0
99 0
55 0
69 0
86 1
79 1
91 0
201 0
88 1
85 1
82 1
88 0
75 0
99 0
81 0
72 1
89 1
92 1
80 0
82 0
76 0
65 0
85 0
76 1
145 1
24 1
1 4
-4 5
34 5
21 4
end data.

NPAR TESTS
     /M-W = height BY sex (0,1).
_ATEOF


{ set +x
$as_echo "$at_srcdir/npar.at:1038: pspp -O format=csv npar-mann-whitney.sps"
at_fn_check_prepare_trace "npar.at:1038"
( $at_check_trace; pspp -O format=csv npar-mann-whitney.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Ranks
,N,,,Mean Rank,,Sum of Ranks,
,0,1,Total,0,1,0,1
height,15.0000,15.0000,30.0000,14.5333,16.4667,218.0000,247.0000

Table: Test Statistics
,Mann-Whitney U,Wilcoxon W,Z,Asymp. Sig. (2-tailed)
height,98.0000,218.0000,-.6020,.547
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/npar.at:1038"
$at_failed && at_fn_log_failure
$at_traceon; }



  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_598
#AT_START_599
at_fn_group_banner 599 'npar.at:1053' \
  "NPAR TESTS Mann-Whitney Multiple" "               " 82
at_xfail=no
(
  $as_echo "599. $at_setup_line: testing $at_desc ..."
  $at_traceon


cp $abs_srcdir/language/mann-whitney.txt .

cat >npar-mann-whitney.sps <<'_ATEOF'
SET FORMAT     = F11.3

DATA LIST NOTABLE FILE='mann-whitney.txt'
     LIST /I002_01 I002_02 I002_03 I002_04 sum_HL *.

VARIABLE LABELS
  I002_01 'IOS: Familie'
  I002_02 'IOS: Freunde'
  I002_03 'IOS: Partner*in'
  I002_04 'IOS: Bekannte'.

MISSING VALUES I002_01 I002_02 I002_03 I002_04 (-9 -1).

NPAR TESTS
    /MISSING=ANALYSIS
    /M-W=I002_01 I002_02 I002_03 I002_04 BY sum_HL (0 1).
_ATEOF


{ set +x
$as_echo "$at_srcdir/npar.at:1078: pspp -O format=csv npar-mann-whitney.sps"
at_fn_check_prepare_trace "npar.at:1078"
( $at_check_trace; pspp -O format=csv npar-mann-whitney.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Ranks
,N,,,Mean Rank,,Sum of Ranks,
,.000,1.000,Total,.000,1.000,.000,1.000
IOS: Familie,114.000,115.000,229.000,110.018,119.939,12542.000,13793.000
IOS: Freunde,115.000,115.000,230.000,108.339,122.661,12459.000,14106.000
IOS: Partner*in,97.000,91.000,188.000,95.351,93.593,9249.000,8517.000
IOS: Bekannte,115.000,115.000,230.000,111.065,119.935,12772.500,13792.500

Table: Test Statistics
,Mann-Whitney U,Wilcoxon W,Z,Asymp. Sig. (2-tailed)
IOS: Familie,5987.000,12542.000,-1.167,.243
IOS: Freunde,5789.000,12459.000,-1.674,.094
IOS: Partner*in,4331.000,8517.000,-.245,.807
IOS: Bekannte,6102.500,12772.500,-1.046,.296
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/npar.at:1078"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_599
#AT_START_600
at_fn_group_banner 600 'npar.at:1099' \
  "NPAR TESTS Cochran" "                             " 82
at_xfail=no
(
  $as_echo "600. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >npar-cochran.sps <<'_ATEOF'
set format f11.3.

data list notable list /v1 * v2 * v3 * v4 * v5 * v6 * v7 *.
begin data.
2 1 1 2 1 1 2
2 2 2 2 1 1 1
1 1 2 2 1 1 2
2 2 2 2 1 1 2
2 1 2 1 1 2 1
1 2 2 1 1 1 1
1 2 2 2 2 2 2
2 2 1 2 1 1 1
1 2 1 2 1 1 2
end data.

npar tests
	/cochran = v1 to v7 .

_ATEOF


{ set +x
$as_echo "$at_srcdir/npar.at:1121: pspp -o pspp.csv npar-cochran.sps"
at_fn_check_prepare_trace "npar.at:1121"
( $at_check_trace; pspp -o pspp.csv npar-cochran.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/npar.at:1121"
$at_failed && at_fn_log_failure
$at_traceon; }


{ set +x
$as_echo "$at_srcdir/npar.at:1123: cat pspp.csv"
at_fn_check_prepare_trace "npar.at:1123"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Frequencies
,Value,
,Success (2),Failure (1)
v1,5,4
v2,6,3
v3,6,3
v4,7,2
v5,1,8
v6,2,7
v7,5,4

Table: Test Statistics
N,9
Cochran's Q,12.735
df,6
Asymp. Sig.,.047
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/npar.at:1123"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_600
#AT_START_601
at_fn_group_banner 601 'npar.at:1146' \
  "NPAR TESTS Kendall" "                             " 82
at_xfail=no
(
  $as_echo "601. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >npar-kendall.sps <<'_ATEOF'
SET FORMAT F14.3.

data list notable list /v1 * v2 * v3
begin data.
 7  7  2
 5  6  5
 8  6  4
 5  7  4
 5  4  4
 8  6  5
 6  3  5
 7  6  5
 8  5  5
 .  2  2
 5  4  5
 3  4  4
 5  1  2
 5  2  1
 7  6  5
 6  3  4
 6  6  6
 5  4  5
 4  3  4
 9  1  1
 6  2  1
 3  7  8
 6  3  4
 4  4  4
 5  4  3
 6  5  2
 4  4  8
 4  6  4
 6  5  5
 7  8  6
 5  3  5
end data.

npar tests
	/kendall = all
	.
_ATEOF


{ set +x
$as_echo "$at_srcdir/npar.at:1190: pspp -o pspp.csv npar-kendall.sps"
at_fn_check_prepare_trace "npar.at:1190"
( $at_check_trace; pspp -o pspp.csv npar-kendall.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/npar.at:1190"
$at_failed && at_fn_log_failure
$at_traceon; }


{ set +x
$as_echo "$at_srcdir/npar.at:1192: cat pspp.csv"
at_fn_check_prepare_trace "npar.at:1192"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Ranks
,Mean Rank
v1,2.500
v2,1.817
v3,1.683

Table: Test Statistics
N,30
Kendall's W,.233
Chi-Square,13.960
df,2
Asymp. Sig.,.001
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/npar.at:1192"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_601
#AT_START_602
at_fn_group_banner 602 'npar.at:1211' \
  "NPAR TESTS McNemar" "                             " 82
at_xfail=no
(
  $as_echo "602. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >mcnemar.sps <<'_ATEOF'
set format = F12.3.
data list notable list /v1 * v2 * junk *.
begin data.
0 0 0
0 0 0
0 0 0
0 0 0
0 1 0
0 1 0
0 1 0
0 1 0
0 1 1
0 1 1
0 1 1
0 1 1
0 1 1
1 0 1
1 0 1
1 1 1
1 1 1
1 1 0
1 1 0
1 1 1
end data.

npar tests
     /mcnemar = v1 WITH v2 junk.
_ATEOF


{ set +x
$as_echo "$at_srcdir/npar.at:1243: pspp -O format=csv mcnemar.sps"
at_fn_check_prepare_trace "npar.at:1243"
( $at_check_trace; pspp -O format=csv mcnemar.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: v1 & v2
v1,v2,
,.000,1.000
.000,4,9
1.000,2,5

Table: v1 & junk
v1,junk,
,.000,1.000
.000,8,5
1.000,2,5

Table: Test Statistics
,N,Exact Sig. (2-tailed),Exact Sig. (1-tailed),Point Probability
v1 & v2,20,.065,.033,.027
v1 & junk,20,.453,.227,.164
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/npar.at:1243"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_602
#AT_START_603
at_fn_group_banner 603 'npar.at:1265' \
  "NPAR TESTS Kolmogorov-Smirnov Uniform parameters given" "" 82
at_xfail=no
(
  $as_echo "603. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >ks-uniform.sps <<'_ATEOF'
set format F12.3.
data list notable list /x *.
begin data
.554
.382
.329
.480
.711
.503
.203
.477
.621
.581
end data.

npar tests k-s (uniform 0 1) = x.
_ATEOF


{ set +x
$as_echo "$at_srcdir/npar.at:1286: pspp -O format=csv ks-uniform.sps"
at_fn_check_prepare_trace "npar.at:1286"
( $at_check_trace; pspp -O format=csv ks-uniform.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: One-Sample Kolmogorov-Smirnov Test
,,x
N,,10
Uniform Parameters,Minimum,.000
,Maximum,1.000
Most Extreme Differences,Absolute,.289
,Positive,.289
,Negative,-.229
Kolmogorov-Smirnov Z,,.914
Asymp. Sig. (2-tailed),,.374
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/npar.at:1286"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_603
#AT_START_604
at_fn_group_banner 604 'npar.at:1302' \
  "NPAR TESTS Kolmogorov-Smirnov Normal parameters imputed" "" 82
at_xfail=no
(
  $as_echo "604. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >ks-normal.sps <<'_ATEOF'
set format = F12.3.

data list notable list /foo * bar *.
begin data.
65 12.5
59 14.2
43 12.6
57
68
79
51
62
57
73
58
58
68
75
47
70
59
71
52
48 13.0
58 14.1
37 15.0
39 13.1
58 13.2
43 14.5
58 13.5
86 14.0
63 12.5
80 12.8
70
63
53
53
48
49
51
47
81
66
78
65
69
70 12.1
63 12.5
64 12.4
39 13.8
51 13.2
68 14.0
76 12.6
53 12.1
71 13.5
47 13.8
87 14.1
72 12.9
48 12.1
75 12.8
51 13.4
63 13.9
61 12.5
61 12.4
66 12.8
82 12.9
81 13.6
46
52
71
73
58
57
46
58
52 13.5
71 13.2
57 12.8
78 14.1
73 12.1
50 12.6
71
51
51
68
84
64
66
65
52
56
70
68
66
78
65
71
53
81
53
57
64
61
43
56
37
74
66
81
67
80
68
76
70
80
42
74
80
70
60
39
72
69
63
72
63
49
53 13.2
43 13.8
51 12.5
63 12.6
64 12.9
65 13.0
64 12.5
66 12.0
55
62
58
48
67
46
36
61
55
77
74
60
70
69
57
49
63
69
63
76
53
54
42
64
66
61
62
73
73
60
79
40
48
76
60
76
54
69
65
69
51
54
82
end data.

npar tests
	/k-s (normal) = foo bar.
_ATEOF


{ set +x
$as_echo "$at_srcdir/npar.at:1489: pspp -O format=csv ks-normal.sps"
at_fn_check_prepare_trace "npar.at:1489"
( $at_check_trace; pspp -O format=csv ks-normal.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: One-Sample Kolmogorov-Smirnov Test
,,foo,bar
N,,174,48
Normal Parameters,Mean,62.109,13.108
,Std. Deviation,11.548,.718
Most Extreme Differences,Absolute,.059,.115
,Positive,.055,.115
,Negative,-.059,-.082
Kolmogorov-Smirnov Z,,.785,.795
Asymp. Sig. (2-tailed),,.569,.552
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/npar.at:1489"
$at_failed && at_fn_log_failure
$at_traceon; }



  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_604
#AT_START_605
at_fn_group_banner 605 'npar.at:1506' \
  "NPAR TESTS Median Test (median imputed)" "        " 82
at_xfail=no
(
  $as_echo "605. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >median1.sps <<'_ATEOF'
set format F12.3.
data list notable list /ignore * animal * years * w *.
begin data
99  1   10  1
99  4    1  1
99  5   11  1
99  5   10  1
99  3    7  1
99  6   10  1
99  0    7  1
99  3   14  1
99  2    3  1
99  1    1  1
99  4    7  1
99  5   12  1
99  3    6  1
99  4    1  1
99  3    5  1
99  5    7  1
99  4    6  1
99  3   14  1
99  4    8  1
99  5   13  1
99  2    0  1
99  4    7  1
99  4    7  1
99  1    0  1
99  2    8  1
99  4   10  1
99  2    3  1
99  2    0  1
99  4    8  1
99  1    8  1
end data.


variable label years 'Years expected'.
variable label animal 'Animal Genus'.

add value labels animal 1 'Animal 1' 2 'Animal 2' 3 'Animal 3' 4 'Animal 4' 5 'Animal 5'.

npar tests
     /median = years by animal (1, 5)
     .
_ATEOF



{ set +x
$as_echo "$at_srcdir/npar.at:1556: pspp -O format=csv median1.sps"
at_fn_check_prepare_trace "npar.at:1556"
( $at_check_trace; pspp -O format=csv median1.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Frequencies
,,Animal Genus,,,,
,,Animal 1,Animal 2,Animal 3,Animal 4,Animal 5
Years expected,> Median,2,1,2,3,4
,≤ Median,2,4,3,6,1

Table: Test Statistics
,N,Median,Chi-Square,df,Asymp. Sig.
Years expected,28,7.000,4.317,4,.365
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/npar.at:1556"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_605
#AT_START_606
at_fn_group_banner 606 'npar.at:1571' \
  "NPAR TESTS Median Test (median given)" "          " 82
at_xfail=no
(
  $as_echo "606. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >median2.sps <<'_ATEOF'
set format F12.3.
data list notable list /ignore * animal * years * w *.
begin data
99  1   10  1
99  4    1  1
99  5   11  1
99  5   10  1
99  3    7  1
99  3   14  1
99  2    3  1
99  1    1  1
99  4    7  1
99  5   12  1
99  3    6  1
99  4    1  1
99  3    5  1
99  5    7  1
99  4    6  1
99  3   14  1
99  4    8  1
99  5   13  1
99  2    0  1
99  4    7  1
99  4    7  1
99  1    0  1
99  2    8  1
99  4   10  1
99  2    3  1
99  2    0  1
99  4    8  1
99  1    8  1
end data.


variable label years 'Years expected'.
variable label animal 'Animal Genus'.

add value labels animal 1 'Animal 1' 2 'Animal 2' 3 'Animal 3' 4 'Animal 4' 5 'Animal 5'.

npar tests
     /median (7) = years by animal (1, 5)
     .
_ATEOF



{ set +x
$as_echo "$at_srcdir/npar.at:1619: pspp -O format=csv median2.sps"
at_fn_check_prepare_trace "npar.at:1619"
( $at_check_trace; pspp -O format=csv median2.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Frequencies
,,Animal Genus,,,,
,,Animal 1,Animal 2,Animal 3,Animal 4,Animal 5
Years expected,> Median,2,1,2,3,4
,≤ Median,2,4,3,6,1

Table: Test Statistics
,N,Median,Chi-Square,df,Asymp. Sig.
Years expected,28,7.000,4.317,4,.365
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/npar.at:1619"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_606
#AT_START_607
at_fn_group_banner 607 'npar.at:1634' \
  "NPAR TESTS Median Test (two sample)" "            " 82
at_xfail=no
(
  $as_echo "607. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >median3.sps <<'_ATEOF'
set format F12.3.
data list notable list /xx * animal * years * w *.
begin data
99  1   10  1
99  4    1  1
99  5   11  1
99  5   10  1
99  3    7  1
99  3   14  1
99  2    3  1
99  1    1  1
99  4    7  1
99  5   12  1
99  3    6  1
99  4    1  1
99  3    5  1
99  5    7  1
99  4    6  1
99  3   14  1
99  4    8  1
99  5   13  1
99  2    0  1
99  4    7  1
99  4    7  1
99  1    0  1
99  2    8  1
99  4   10  1
99  2    3  1
99  2    0  1
99  4    8  1
99  1    8  1
end data.


variable label years 'Years expected'.
variable label animal 'Animal Genus'.

add value labels animal 1 'Animal 1' 2 'Animal 2' 3 'Animal 3' 4 'Animal 4' 5 'Animal 5'.

npar tests
     /median (7) = xx years by animal (5, 1)
     .
_ATEOF



{ set +x
$as_echo "$at_srcdir/npar.at:1682: pspp -O format=csv median3.sps"
at_fn_check_prepare_trace "npar.at:1682"
( $at_check_trace; pspp -O format=csv median3.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Frequencies
,,Animal Genus,
,,Animal 1,Animal 5
xx,> Median,4,5
,≤ Median,0,0
Years expected,> Median,2,4
,≤ Median,2,1

Table: Test Statistics
,N,Median,Chi-Square,df,Asymp. Sig.
xx,9,7.000,NaN,1,NaN
Years expected,9,7.000,.900,1,.343
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/npar.at:1682"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_607
#AT_START_608
at_fn_group_banner 608 'npar.at:1700' \
  "NPAR TESTS Jonckheere-Terpstra" "                 " 82
at_xfail=no
(
  $as_echo "608. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >jt.sps <<'_ATEOF'
set format = F12.3.
data list notable list /x * g * w *.
begin data.
52  2  2
58  2  1
60  2  1
62  2  1
58  0  1
44  2  1
46  2  1
14  3  1
32  2  1
16  3  1
56  2  1
26  3  1
40  3  2
50  4  1
6   5  1
34  2  3
36  2  2
40  2  2
50  2  1
end data.

weight by w.

npar test /jonckheere-terpstra = x by g (5, 2).
_ATEOF



{ set +x
$as_echo "$at_srcdir/npar.at:1733: pspp -O format=csv jt.sps"
at_fn_check_prepare_trace "npar.at:1733"
( $at_check_trace; pspp -O format=csv jt.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Jonckheere-Terpstra Test
,Number of levels in g,N,Observed J-T Statistic,Mean J-T Statistic,Std. Deviation of J-T Statistic,Std. J-T Statistic,Asymp. Sig. (2-tailed)
x,4,24.000,29.500,65.000,15.902,-2.232,.026
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/npar.at:1733"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_608
#AT_START_609
at_fn_group_banner 609 'npar.at:1743' \
  "NPAR TESTS (PAIRED)" "                            " 82
at_xfail=no
(
  $as_echo "609. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >npar.sps <<'_ATEOF'
set format = F12.3.
data list notable list /a * b * c *.
begin data.
1 2 4
4 5 3
1 2 2
4 5 1
end data.

npar tests /wilcoxon a b with c c (paired).
_ATEOF


{ set +x
$as_echo "$at_srcdir/npar.at:1757: pspp -O format=csv npar.sps"
at_fn_check_prepare_trace "npar.at:1757"
( $at_check_trace; pspp -O format=csv npar.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Ranks
,,N,Mean Rank,Sum of Ranks
a - c,Negative Ranks,2,2.500,5.000
,Positive Ranks,2,2.500,5.000
,Ties,0,,
,Total,4,,
b - c,Negative Ranks,1,1.500,1.500
,Positive Ranks,2,2.250,4.500
,Ties,1,,
,Total,4,,

Table: Test Statistics
,a - c,b - c
Z,.000,-.816
Asymp. Sig. (2-tailed),1.000,.414
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/npar.at:1757"
$at_failed && at_fn_log_failure
$at_traceon; }



  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_609
#AT_START_610
at_fn_group_banner 610 'npar.at:1780' \
  "NPAR TESTS CHISQUARE crash" "                     " 82
at_xfail=no
(
  $as_echo "610. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >npar.sps <<'_ATEOF'
data list list /x *.
begin data.
1
2
3
4
5
6
7
8
9
10
end data.

* This happens to be invalid syntax.  But should not crash.
NPAR TEST
	/CHISQUARE= x(0.098, 99.098)
	/EXPECTED =  1.2.
_ATEOF


{ set +x
$as_echo "$at_srcdir/npar.at:1804: pspp -O format=csv npar.sps"
at_fn_check_prepare_trace "npar.at:1804"
( $at_check_trace; pspp -O format=csv npar.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 1 $at_status "$at_srcdir/npar.at:1804"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_610
#AT_START_611
at_fn_group_banner 611 'npar.at:1809' \
  "NPAR TESTS - crash on invalid syntax" "           " 82
at_xfail=no
(
  $as_echo "611. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >npar.sps <<'_ATEOF'
data list notable list /ev * xscore *.
begin data.
2 109
3 115
1 61
1 101
3 147
end data.


npar tests
        /kruskal-wallis xscore by(gv (1, 3).
_ATEOF


{ set +x
$as_echo "$at_srcdir/npar.at:1826: pspp -O format=csv npar.sps"
at_fn_check_prepare_trace "npar.at:1826"
( $at_check_trace; pspp -O format=csv npar.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 1 $at_status "$at_srcdir/npar.at:1826"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_611
#AT_START_612
at_fn_group_banner 612 'npar.at:1833' \
  "NPAR TESTS - crash on unterminated string" "      " 82
at_xfail=no
(
  $as_echo "612. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >npar.sps <<'_ATEOF'
DATA LIST NOTABLE LIST /x * y * w * .
BEGIN DATA.
3.1 1  4
3.2 2  1
4   2  6
END DATA.


NPAR TESTS
" CHISQUARE=x y(-2,5)
  /STATISTICS=DESCRIPTIVES
  .
_ATEOF


{ set +x
$as_echo "$at_srcdir/npar.at:1850: pspp -O format=csv npar.sps"
at_fn_check_prepare_trace "npar.at:1850"
( $at_check_trace; pspp -O format=csv npar.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 1 $at_status "$at_srcdir/npar.at:1850"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_612
#AT_START_613
at_fn_group_banner 613 'oneway.at:19' \
  "ONEWAY basic operation" "                         " 83
at_xfail=no
(
  $as_echo "613. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >oneway.sps <<'_ATEOF'
DATA LIST NOTABLE LIST /QUALITY * BRAND * .
BEGIN DATA
7  3
4  3
3  1
2  1
1  1
4  2
2  2
3  2
5  3
1  1
4  1
5  2
2  2
3  3
6  3
END DATA

VARIABLE LABELS brand 'Manufacturer'.
VARIABLE LABELS quality 'Breaking Strain'.

VALUE LABELS /brand 1 'Aspeger' 2 'Bloggs' 3 'Charlies'.

ONEWAY
	quality BY brand
	/STATISTICS descriptives homogeneity
	/CONTRAST =  -2 1 1
	/CONTRAST = 0 -1 1
	.
_ATEOF


{ set +x
$as_echo "$at_srcdir/oneway.at:53: pspp -O format=csv oneway.sps"
at_fn_check_prepare_trace "oneway.at:53"
( $at_check_trace; pspp -O format=csv oneway.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Descriptives
,,,,,,95% Confidence Interval for Mean,,,
,,N,Mean,Std. Deviation,Std. Error,Lower Bound,Upper Bound,Minimum,Maximum
Breaking Strain,Aspeger,5,2.20,1.30,.58,.58,3.82,1.00,4.00
,Bloggs,5,3.20,1.30,.58,1.58,4.82,2.00,5.00
,Charlies,5,5.00,1.58,.71,3.04,6.96,3.00,7.00
,Total,15,3.47,1.77,.46,2.49,4.45,1.00,7.00

Table: Test of Homogeneity of Variances
,Levene Statistic,df1,df2,Sig.
Breaking Strain,.09,2,12,.913

Table: ANOVA
,,Sum of Squares,df,Mean Square,F,Sig.
Breaking Strain,Between Groups,20.13,2,10.07,5.12,.025
,Within Groups,23.60,12,1.97,,
,Total,43.73,14,,,

Table: Contrast Coefficients
,,Manufacturer,,
,,Aspeger,Bloggs,Charlies
Contrast,1,-2,1,1
,2,0,-1,1

Table: Contrast Tests
,,Contrast,Value of Contrast,Std. Error,t,df,Sig. (2-tailed)
Breaking Strain,Assume equal variances,1,3.80,1.54,2.47,12,.029
,,2,1.80,.89,2.03,12,.065
,Does not assume equal,1,3.80,1.48,2.56,8.74,.031
,,2,1.80,.92,1.96,7.72,.086
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/oneway.at:53"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_613
#AT_START_614
at_fn_group_banner 614 'oneway.at:88' \
  "ONEWAY with splits" "                             " 83
at_xfail=no
(
  $as_echo "614. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >oneway-splits.sps <<'_ATEOF'
DATA LIST NOTABLE LIST /QUALITY * BRAND * S *.
BEGIN DATA
3 1 1
2 1 1
1 1 1
1 1 1
4 1 1
5 2 1
2 2 1
4 2 2
2 2 2
3 2 2
7  3 2
4  3 2
5  3 2
3  3 2
6  3 2
END DATA

VARIABLE LABELS brand 'Manufacturer'.
VARIABLE LABELS quality 'Breaking Strain'.

VALUE LABELS /brand 1 'Aspeger' 2 'Bloggs' 3 'Charlies'.

SPLIT FILE by s.

ONEWAY
	quality BY brand
	/STATISTICS descriptives homogeneity
	/CONTRAST =  -2 2
	/CONTRAST = -1 1
	.
_ATEOF


{ set +x
$as_echo "$at_srcdir/oneway.at:124: pspp -O format=csv oneway-splits.sps"
at_fn_check_prepare_trace "oneway.at:124"
( $at_check_trace; pspp -O format=csv oneway-splits.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Variable,Value,Label
S,1.00,

Table: Descriptives
,,,,,,95% Confidence Interval for Mean,,,
,,N,Mean,Std. Deviation,Std. Error,Lower Bound,Upper Bound,Minimum,Maximum
Breaking Strain,Aspeger,5,2.20,1.30,.58,.58,3.82,1.00,4.00
,Bloggs,2,3.50,2.12,1.50,-15.56,22.56,2.00,5.00
,Total,7,2.57,1.51,.57,1.17,3.97,1.00,5.00

Table: Test of Homogeneity of Variances
,Levene Statistic,df1,df2,Sig.
Breaking Strain,1.09,1,5,.345

Table: ANOVA
,,Sum of Squares,df,Mean Square,F,Sig.
Breaking Strain,Between Groups,2.41,1,2.41,1.07,.349
,Within Groups,11.30,5,2.26,,
,Total,13.71,6,,,

Table: Contrast Coefficients
,,Manufacturer,
,,Aspeger,Bloggs
Contrast,1,-2,2
,2,-1,1

Table: Contrast Tests
,,Contrast,Value of Contrast,Std. Error,t,df,Sig. (2-tailed)
Breaking Strain,Assume equal variances,1,2.60,2.52,1.03,5,.349
,,2,1.30,1.26,1.03,5,.349
,Does not assume equal,1,2.60,3.22,.81,1.32,.539
,,2,1.30,1.61,.81,1.32,.539

Variable,Value,Label
S,2.00,

Table: Descriptives
,,,,,,95% Confidence Interval for Mean,,,
,,N,Mean,Std. Deviation,Std. Error,Lower Bound,Upper Bound,Minimum,Maximum
Breaking Strain,Bloggs,3,3.00,1.00,.58,.52,5.48,2.00,4.00
,Charlies,5,5.00,1.58,.71,3.04,6.96,3.00,7.00
,Total,8,4.25,1.67,.59,2.85,5.65,2.00,7.00

Table: Test of Homogeneity of Variances
,Levene Statistic,df1,df2,Sig.
Breaking Strain,.92,1,6,.374

Table: ANOVA
,,Sum of Squares,df,Mean Square,F,Sig.
Breaking Strain,Between Groups,7.50,1,7.50,3.75,.101
,Within Groups,12.00,6,2.00,,
,Total,19.50,7,,,

Table: Contrast Coefficients
,,Manufacturer,
,,Bloggs,Charlies
Contrast,1,-2,2
,2,-1,1

Table: Contrast Tests
,,Contrast,Value of Contrast,Std. Error,t,df,Sig. (2-tailed)
Breaking Strain,Assume equal variances,1,4.00,2.07,1.94,6,.101
,,2,2.00,1.03,1.94,6,.101
,Does not assume equal,1,4.00,1.83,2.19,5.88,.072
,,2,2.00,.91,2.19,5.88,.072
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/oneway.at:124"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_614
#AT_START_615
at_fn_group_banner 615 'oneway.at:195' \
  "ONEWAY with missing values" "                     " 83
at_xfail=no
(
  $as_echo "615. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >oneway-missing1.sps <<'_ATEOF'
DATA LIST NOTABLE LIST /v1 * v2 * dep * vn *.
BEGIN DATA
. .  1  4
3 3  1  2
2 2  1  2
1 1  1  2
1 1  1  2
4 4  1  2
5 5  2  2
2 2  2  2
4 4  2  2
2 2  2  2
3 3  2  2
7 7  3  2
4 4  3  2
5 5  3  2
3 3  3  2
6 6  3  2
END DATA

ONEWAY
	v1 v2 BY dep
	/STATISTICS descriptives homogeneity
	/MISSING ANALYSIS
	.
_ATEOF


cat >oneway-missing2.sps <<'_ATEOF'
DATA LIST NOTABLE LIST /v1 * v2 * dep * vn * .
BEGIN DATA
4 .  1  2
3 3  1  2
2 2  1  2
1 1  1  2
1 1  1  2
4 4  1  2
5 5  2  2
2 2  2  2
4 4  2  2
2 2  2  2
3 3  2  2
7 7  3  2
4 4  3  2
5 5  3  2
3 3  3  2
6 6  3  2
END DATA

ONEWAY
	v1 v2 BY dep
	/STATISTICS descriptives homogeneity
	/MISSING LISTWISE
	.
_ATEOF




{ set +x
$as_echo "$at_srcdir/oneway.at:255: pspp -O format=csv oneway-missing1.sps > first.out"
at_fn_check_prepare_trace "oneway.at:255"
( $at_check_trace; pspp -O format=csv oneway-missing1.sps > first.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/oneway.at:255"
$at_failed && at_fn_log_failure
$at_traceon; }


{ set +x
$as_echo "$at_srcdir/oneway.at:257: pspp -O format=csv oneway-missing2.sps > second.out"
at_fn_check_prepare_trace "oneway.at:257"
( $at_check_trace; pspp -O format=csv oneway-missing2.sps > second.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/oneway.at:257"
$at_failed && at_fn_log_failure
$at_traceon; }


{ set +x
$as_echo "$at_srcdir/oneway.at:259: diff first.out second.out"
at_fn_check_prepare_trace "oneway.at:259"
( $at_check_trace; diff first.out second.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/oneway.at:259"
$at_failed && at_fn_log_failure
$at_traceon; }


cat >oneway-missing3.sps <<'_ATEOF'
DATA LIST NOTABLE LIST /v1 * v2 * dep * vn * .
BEGIN DATA
4 2  .  2
3 3  1  2
2 2  1  2
1 1  1  2
1 1  1  2
4 4  1  2
5 5  2  2
2 2  2  2
4 4  2  2
2 2  2  2
3 3  2  2
7 7  3  2
4 4  3  2
5 5  3  4
3 3  3  2
6 6  3  2
END DATA

ONEWAY
	v1 v2 BY dep
	/STATISTICS descriptives homogeneity
	/MISSING ANALYSIS
	.
_ATEOF


{ set +x
$as_echo "$at_srcdir/oneway.at:290: pspp -O format=csv oneway-missing3.sps > third.out"
at_fn_check_prepare_trace "oneway.at:290"
( $at_check_trace; pspp -O format=csv oneway-missing3.sps > third.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/oneway.at:290"
$at_failed && at_fn_log_failure
$at_traceon; }


{ set +x
$as_echo "$at_srcdir/oneway.at:292: diff first.out third.out"
at_fn_check_prepare_trace "oneway.at:292"
( $at_check_trace; diff first.out third.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/oneway.at:292"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_615
#AT_START_616
at_fn_group_banner 616 'oneway.at:300' \
  "ONEWAY descriptives subcommand" "                 " 83
at_xfail=no
(
  $as_echo "616. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >oneway-descriptives.sps <<'_ATEOF'
DATA LIST NOTABLE LIST /QUALITY * BRAND * .
BEGIN DATA
13 11
12 11
11 11
11 11
14 11
15 25
12 25
14 25
12 25
13 25
17  301
14  301
15  301
13  301
16  301
END DATA


ONEWAY
	quality BY brand
	/STATISTICS descriptives
	.
_ATEOF


{ set +x
$as_echo "$at_srcdir/oneway.at:329: pspp -O format=csv oneway-descriptives.sps"
at_fn_check_prepare_trace "oneway.at:329"
( $at_check_trace; pspp -O format=csv oneway-descriptives.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Descriptives
,,,,,,95% Confidence Interval for Mean,,,
,,N,Mean,Std. Deviation,Std. Error,Lower Bound,Upper Bound,Minimum,Maximum
QUALITY,11.00,5,12.20,1.30,.58,10.58,13.82,11.00,14.00
,25.00,5,13.20,1.30,.58,11.58,14.82,12.00,15.00
,301.00,5,15.00,1.58,.71,13.04,16.96,13.00,17.00
,Total,15,13.47,1.77,.46,12.49,14.45,11.00,17.00

Table: ANOVA
,,Sum of Squares,df,Mean Square,F,Sig.
QUALITY,Between Groups,20.13,2,10.07,5.12,.025
,Within Groups,23.60,12,1.97,,
,Total,43.73,14,,,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/oneway.at:329"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_616
#AT_START_617
at_fn_group_banner 617 'oneway.at:349' \
  "ONEWAY homogeneity subcommand" "                  " 83
at_xfail=no
(
  $as_echo "617. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >oneway-homogeneity.sps <<'_ATEOF'
DATA LIST NOTABLE LIST /QUALITY * BRAND * .
BEGIN DATA
13 11
12 11
11 11
11 11
14 11
15 25
12 25
14 25
12 25
13 25
17  301
14  301
15  301
13  301
16  301
END DATA


ONEWAY
	quality BY brand
	/STATISTICS homogeneity
	.
_ATEOF


{ set +x
$as_echo "$at_srcdir/oneway.at:378: pspp -O format=csv oneway-homogeneity.sps"
at_fn_check_prepare_trace "oneway.at:378"
( $at_check_trace; pspp -O format=csv oneway-homogeneity.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Test of Homogeneity of Variances
,Levene Statistic,df1,df2,Sig.
QUALITY,.09,2,12,.913

Table: ANOVA
,,Sum of Squares,df,Mean Square,F,Sig.
QUALITY,Between Groups,20.13,2,10.07,5.12,.025
,Within Groups,23.60,12,1.97,,
,Total,43.73,14,,,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/oneway.at:378"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_617
#AT_START_618
at_fn_group_banner 618 'oneway.at:394' \
  "ONEWAY multiple variables" "                      " 83
at_xfail=no
(
  $as_echo "618. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >multivar.sps <<'_ATEOF'
DATA LIST notable LIST /x * y * z * g *.
begin data.
1 1 0 10
1 1 9 10
9 1 2 10
1 1 3 20
1 1 8 20
1 1 1 20
1 1 2 20
0 1 3 20
1 1 4 30
0 1 5 30
1 1 6 30
0 1 7 30
1 2 8 30
2 2 9 30
1 2 1 30
1 2 0 30
1 2 2 40
8 2 3 40
1 2 4 40
1 2 9 40
9 2 8 40
7 3 7 40
2 3 6 40
3 3 5 40
end data.

ONEWAY x y z by g
	/STATISTICS = DESCRIPTIVES HOMOGENEITY
	/CONTRAST 3  2 0 -5
	/CONTRAST 2 -9 7  0
	.
_ATEOF


{ set +x
$as_echo "$at_srcdir/oneway.at:434: pspp -o pspp.csv multivar.sps"
at_fn_check_prepare_trace "oneway.at:434"
( $at_check_trace; pspp -o pspp.csv multivar.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/oneway.at:434"
$at_failed && at_fn_log_failure
$at_traceon; }


{ set +x
$as_echo "$at_srcdir/oneway.at:437: sed 's/^,Within Groups,3.88/,Within Groups,3.87/' pspp.csv"
at_fn_check_prepare_trace "oneway.at:437"
( $at_check_trace; sed 's/^,Within Groups,3.88/,Within Groups,3.87/' pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Descriptives
,,,,,,95% Confidence Interval for Mean,,,
,,N,Mean,Std. Deviation,Std. Error,Lower Bound,Upper Bound,Minimum,Maximum
x,10.00,3,3.67,4.62,2.67,-7.81,15.14,1.00,9.00
,20.00,5,.80,.45,.20,.24,1.36,.00,1.00
,30.00,8,.88,.64,.23,.34,1.41,.00,2.00
,40.00,8,4.00,3.42,1.21,1.14,6.86,1.00,9.00
,Total,24,2.25,2.83,.58,1.05,3.45,.00,9.00
y,10.00,3,1.00,.00,.00,1.00,1.00,1.00,1.00
,20.00,5,1.00,.00,.00,1.00,1.00,1.00,1.00
,30.00,8,1.50,.53,.19,1.05,1.95,1.00,2.00
,40.00,8,2.38,.52,.18,1.94,2.81,2.00,3.00
,Total,24,1.63,.71,.15,1.32,1.93,1.00,3.00
z,10.00,3,3.67,4.73,2.73,-8.07,15.41,.00,9.00
,20.00,5,3.40,2.70,1.21,.05,6.75,1.00,8.00
,30.00,8,5.00,3.21,1.13,2.32,7.68,.00,9.00
,40.00,8,5.50,2.45,.87,3.45,7.55,2.00,9.00
,Total,24,4.67,2.99,.61,3.40,5.93,.00,9.00

Table: Test of Homogeneity of Variances
,Levene Statistic,df1,df2,Sig.
x,18.76,3,20,.000
y,71.41,3,20,.000
z,.89,3,20,.463

Table: ANOVA
,,Sum of Squares,df,Mean Square,F,Sig.
x,Between Groups,56.16,3,18.72,2.92,.059
,Within Groups,128.34,20,6.42,,
,Total,184.50,23,,,
y,Between Groups,7.75,3,2.58,13.33,.000
,Within Groups,3.87,20,.19,,
,Total,11.63,23,,,
z,Between Groups,17.47,3,5.82,.62,.610
,Within Groups,187.87,20,9.39,,
,Total,205.33,23,,,

Table: Contrast Coefficients
,,g,,,
,,10.00,20.00,30.00,40.00
Contrast,1,3,2,0,-5
,2,2,-9,7,0

Table: Contrast Tests
,,Contrast,Value of Contrast,Std. Error,t,df,Sig. (2-tailed)
x,Assume equal variances,1,-7.40,6.67,1.11,20,.280
,,2,6.26,12.32,.51,20,.617
,Does not assume equal,1,-7.40,10.04,-.74,4.53,.497
,,2,6.26,5.85,1.07,2.87,.366
y,Assume equal variances,1,-6.88,1.16,5.94,20,.000
,,2,3.50,2.14,1.63,20,.118
,Does not assume equal,1,-6.88,.91,-7.51,7.00,.000
,,2,3.50,1.32,2.65,7.00,.033
z,Assume equal variances,1,-9.70,8.07,1.20,20,.243
,,2,11.73,14.91,.79,20,.440
,Does not assume equal,1,-9.70,9.57,-1.01,3.64,.373
,,2,11.73,14.53,.81,9.88,.438
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/oneway.at:437"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_618
#AT_START_619
at_fn_group_banner 619 'oneway.at:502' \
  "ONEWAY vs. weights" "                             " 83
at_xfail=no
(
  $as_echo "619. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >oneway-unweighted.sps <<'_ATEOF'
DATA LIST NOTABLE LIST /QUALITY * BRAND * W *.
BEGIN DATA
3  1   1
2  1   1
1  1   1
1  1   1
4  1   1
5  2   1
2  2   1
4  2   1
4  2   1
4  2   1
2  2   1
2  2   1
3  2   1
7  3   1
4  3   1
5  3   1
5  3   1
3  3   1
6  3   1
END DATA.

WEIGHT BY W.

ONEWAY
	quality BY brand
	/STATISTICS descriptives homogeneity
	.
_ATEOF


{ set +x
$as_echo "$at_srcdir/oneway.at:536: pspp -o pspp-unweighted.csv oneway-unweighted.sps"
at_fn_check_prepare_trace "oneway.at:536"
( $at_check_trace; pspp -o pspp-unweighted.csv oneway-unweighted.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/oneway.at:536"
$at_failed && at_fn_log_failure
$at_traceon; }


cat >oneway-weighted.sps <<'_ATEOF'
DATA LIST NOTABLE LIST /QUALITY * BRAND * W *.
BEGIN DATA
3  1   1
2  1   1
1  1   2
4  1   1
5  2   1
2  2   1
4  2   3
2  2   2
3  2   1
7  3   1
4  3   1
5  3   2
3  3   1
6  3   1
END DATA.

WEIGHT BY W.

ONEWAY
	quality BY brand
	/STATISTICS descriptives homogeneity
	.
_ATEOF


{ set +x
$as_echo "$at_srcdir/oneway.at:565: pspp -o pspp-weighted.csv oneway-weighted.sps"
at_fn_check_prepare_trace "oneway.at:565"
( $at_check_trace; pspp -o pspp-weighted.csv oneway-weighted.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/oneway.at:565"
$at_failed && at_fn_log_failure
$at_traceon; }


{ set +x
$as_echo "$at_srcdir/oneway.at:567: diff pspp-weighted.csv pspp-unweighted.csv"
at_fn_check_prepare_trace "oneway.at:567"
( $at_check_trace; diff pspp-weighted.csv pspp-unweighted.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/oneway.at:567"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_619
#AT_START_620
at_fn_group_banner 620 'oneway.at:573' \
  "ONEWAY posthoc LSD and BONFERRONI" "              " 83
at_xfail=no
(
  $as_echo "620. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >oneway-pig.sps <<'_ATEOF'
SET FORMAT F12.3.
data list notable list /pigmentation * family *.
begin data.
36 1
39 1
43 1
38 1
37 1
46 2
47 2
47 2
47 2
43 2
40 3
50 3
44 3
48 3
50 3
45 4
53 4
56 4
52 4
56 4
end data.


oneway pigmentation by family
	/statistics = descriptives
	/posthoc = lsd bonferroni alpha (0.05)
	 .
_ATEOF


{ set +x
$as_echo "$at_srcdir/oneway.at:607: pspp -O format=csv oneway-pig.sps"
at_fn_check_prepare_trace "oneway.at:607"
( $at_check_trace; pspp -O format=csv oneway-pig.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Descriptives
,,,,,,95% Confidence Interval for Mean,,,
,,N,Mean,Std. Deviation,Std. Error,Lower Bound,Upper Bound,Minimum,Maximum
pigmentation,1.000,5,38.600,2.702,1.208,35.245,41.955,36.000,43.000
,2.000,5,46.000,1.732,.775,43.849,48.151,43.000,47.000
,3.000,5,46.400,4.336,1.939,41.016,51.784,40.000,50.000
,4.000,5,52.400,4.506,2.015,46.806,57.994,45.000,56.000
,Total,20,45.850,5.967,1.334,43.057,48.643,36.000,56.000

Table: ANOVA
,,Sum of Squares,df,Mean Square,F,Sig.
pigmentation,Between Groups,478.950,3,159.650,12.927,.000
,Within Groups,197.600,16,12.350,,
,Total,676.550,19,,,

Table: Multiple Comparisons (pigmentation)
,,,Mean Difference,,,95% Confidence Interval,
,(I) family,(J) family,(I - J),Std. Error,Sig.,Lower Bound,Upper Bound
LSD,1.000,2.000,-7.400,2.223,.004,-12.112,-2.688
,,3.000,-7.800,2.223,.003,-12.512,-3.088
,,4.000,-13.800,2.223,.000,-18.512,-9.088
,2.000,1.000,7.400,2.223,.004,2.688,12.112
,,3.000,-.400,2.223,.859,-5.112,4.312
,,4.000,-6.400,2.223,.011,-11.112,-1.688
,3.000,1.000,7.800,2.223,.003,3.088,12.512
,,2.000,.400,2.223,.859,-4.312,5.112
,,4.000,-6.000,2.223,.016,-10.712,-1.288
,4.000,1.000,13.800,2.223,.000,9.088,18.512
,,2.000,6.400,2.223,.011,1.688,11.112
,,3.000,6.000,2.223,.016,1.288,10.712
Bonferroni,1.000,2.000,-7.400,2.223,.025,-14.086,-.714
,,3.000,-7.800,2.223,.017,-14.486,-1.114
,,4.000,-13.800,2.223,.000,-20.486,-7.114
,2.000,1.000,7.400,2.223,.025,.714,14.086
,,3.000,-.400,2.223,1.000,-7.086,6.286
,,4.000,-6.400,2.223,.065,-13.086,.286
,3.000,1.000,7.800,2.223,.017,1.114,14.486
,,2.000,.400,2.223,1.000,-6.286,7.086
,,4.000,-6.000,2.223,.095,-12.686,.686
,4.000,1.000,13.800,2.223,.000,7.114,20.486
,,2.000,6.400,2.223,.065,-.286,13.086
,,3.000,6.000,2.223,.095,-.686,12.686
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/oneway.at:607"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_620
#AT_START_621
at_fn_group_banner 621 'oneway.at:655' \
  "ONEWAY posthoc Tukey HSD and Games-Howell" "      " 83
at_xfail=no
(
  $as_echo "621. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >oneway-tukey.sps <<'_ATEOF'
set format = f11.3.
data list notable list /libido * dose *.
begin data.
3 0
2 0
1 0
1 0
4 0
5 1
2 1
4 1
2 1
3 1
7 2
4 2
5 2
3 2
6 2
end data.

variable label dose 'Dose of Viagra'.

add value labels dose 0 'Placebo' 1 '1 Dose' 2 '2 Doses'.

oneway libido by dose
	/posthoc tukey gh.
_ATEOF


{ set +x
$as_echo "$at_srcdir/oneway.at:685: pspp -O format=csv oneway-tukey.sps"
at_fn_check_prepare_trace "oneway.at:685"
( $at_check_trace; pspp -O format=csv oneway-tukey.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: ANOVA
,,Sum of Squares,df,Mean Square,F,Sig.
libido,Between Groups,20.133,2,10.067,5.119,.025
,Within Groups,23.600,12,1.967,,
,Total,43.733,14,,,

Table: Multiple Comparisons (libido)
,,,Mean Difference,,,95% Confidence Interval,
,(I) Dose of Viagra,(J) Dose of Viagra,(I - J),Std. Error,Sig.,Lower Bound,Upper Bound
Tukey HSD,Placebo,1 Dose,-1.000,.887,.516,-3.366,1.366
,,2 Doses,-2.800,.887,.021,-5.166,-.434
,1 Dose,Placebo,1.000,.887,.516,-1.366,3.366
,,2 Doses,-1.800,.887,.147,-4.166,.566
,2 Doses,Placebo,2.800,.887,.021,.434,5.166
,,1 Dose,1.800,.887,.147,-.566,4.166
Games-Howell,Placebo,1 Dose,-1.000,.887,.479,-3.356,1.356
,,2 Doses,-2.800,.887,.039,-5.439,-.161
,1 Dose,Placebo,1.000,.887,.479,-1.356,3.356
,,2 Doses,-1.800,.887,.185,-4.439,.839
,2 Doses,Placebo,2.800,.887,.039,.161,5.439
,,1 Dose,1.800,.887,.185,-.839,4.439
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/oneway.at:685"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_621
#AT_START_622
at_fn_group_banner 622 'oneway.at:711' \
  "ONEWAY posthoc Sidak" "                           " 83
at_xfail=no
(
  $as_echo "622. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >oneway-sidak.sps <<'_ATEOF'
SET FORMAT F20.4.

DATA LIST notable LIST /program score.
BEGIN DATA.
1   9
1  12
1  14
1  11
1  13
2  10
2   6
2   9
2   9
2  10
3  12
3  14
3  11
3  13
3  11
4   9
4   8
4  11
4   7
4   8
END DATA.

ONEWAY
  score BY program
  /MISSING ANALYSIS
  /POSTHOC = SIDAK.
_ATEOF


{ set +x
$as_echo "$at_srcdir/oneway.at:745: pspp -O format=csv oneway-sidak.sps"
at_fn_check_prepare_trace "oneway.at:745"
( $at_check_trace; pspp -O format=csv oneway-sidak.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: ANOVA
,,Sum of Squares,df,Mean Square,F,Sig.
score,Between Groups,54.9500,3,18.3167,7.0449,.003
,Within Groups,41.6000,16,2.6000,,
,Total,96.5500,19,,,

Table: Multiple Comparisons (score)
,,,Mean Difference,,,95% Confidence Interval,
,(I) program,(J) program,(I - J),Std. Error,Sig.,Lower Bound,Upper Bound
Šidák,1.0000,2.0000,3.0000,1.0198,.056,-.0575,6.0575
,,3.0000,-.4000,1.0198,.999,-3.4575,2.6575
,,4.0000,3.2000,1.0198,.038,.1425,6.2575
,2.0000,1.0000,-3.0000,1.0198,.056,-6.0575,.0575
,,3.0000,-3.4000,1.0198,.025,-6.4575,-.3425
,,4.0000,.2000,1.0198,1.000,-2.8575,3.2575
,3.0000,1.0000,.4000,1.0198,.999,-2.6575,3.4575
,,2.0000,3.4000,1.0198,.025,.3425,6.4575
,,4.0000,3.6000,1.0198,.017,.5425,6.6575
,4.0000,1.0000,-3.2000,1.0198,.038,-6.2575,-.1425
,,2.0000,-.2000,1.0198,1.000,-3.2575,2.8575
,,3.0000,-3.6000,1.0198,.017,-6.6575,-.5425
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/oneway.at:745"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_622
#AT_START_623
at_fn_group_banner 623 'oneway.at:771' \
  "ONEWAY posthoc Scheffe" "                         " 83
at_xfail=no
(
  $as_echo "623. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >oneway-scheffe.sps <<'_ATEOF'
set format = f11.3.
data list notable list /usage * group *.
begin data.
21.00     1
19.00     1
18.00     1
25.00     1
14.00     1
13.00     1
24.00     1
19.00     1
20.00     1
21.00     1
15.00     2
10.00     2
13.00     2
16.00     2
14.00     2
24.00     2
16.00     2
14.00     2
18.00     2
16.00     2
10.00     3
 7.00     3
13.00     3
20.00     3
  .00     3
 8.00     3
 6.00     3
 1.00     3
12.00     3
14.00     3
18.00     4
15.00     4
 3.00     4
27.00     4
 6.00     4
14.00     4
13.00     4
11.00     4
 9.00     4
18.00     4
end data.

variable label usage 'Days of Use'.

add value labels group 0 'none' 1 'one' 2 'two' 3 'three' 4 'four'.

oneway usage by group
	/posthoc scheffe.
_ATEOF


{ set +x
$as_echo "$at_srcdir/oneway.at:826: pspp -O format=csv oneway-scheffe.sps"
at_fn_check_prepare_trace "oneway.at:826"
( $at_check_trace; pspp -O format=csv oneway-scheffe.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: ANOVA
,,Sum of Squares,df,Mean Square,F,Sig.
Days of Use,Between Groups,555.275,3,185.092,6.663,.001
,Within Groups,1000.100,36,27.781,,
,Total,1555.375,39,,,

Table: Multiple Comparisons (Days of Use)
,,,Mean Difference,,,95% Confidence Interval,
,(I) group,(J) group,(I - J),Std. Error,Sig.,Lower Bound,Upper Bound
Scheffé,one,two,3.800,2.357,.467,-3.112,10.712
,,three,10.300,2.357,.001,3.388,17.212
,,four,6.000,2.357,.110,-.912,12.912
,two,one,-3.800,2.357,.467,-10.712,3.112
,,three,6.500,2.357,.072,-.412,13.412
,,four,2.200,2.357,.832,-4.712,9.112
,three,one,-10.300,2.357,.001,-17.212,-3.388
,,two,-6.500,2.357,.072,-13.412,.412
,,four,-4.300,2.357,.358,-11.212,2.612
,four,one,-6.000,2.357,.110,-12.912,.912
,,two,-2.200,2.357,.832,-9.112,4.712
,,three,4.300,2.357,.358,-2.612,11.212
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/oneway.at:826"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_623
#AT_START_624
at_fn_group_banner 624 'oneway.at:853' \
  "ONEWAY bad contrast count" "                      " 83
at_xfail=no
(
  $as_echo "624. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >oneway-bad-contrast.sps <<'_ATEOF'
DATA LIST NOTABLE LIST /height * weight * temperature * sex *.
BEGIN DATA.
1884     88.6       39.97     0
1801     90.9       39.03     0
1801     91.7       38.98     0
1607     56.3       36.26     1
1608     46.3       46.26     1
1607     55.9       37.84     1
1604     56.6       36.81     1
1606     56.1       34.56     1
END DATA.

ONEWAY /VARIABLES= height weight temperature BY sex
 /CONTRAST = -1  1
 /CONTRAST = -3  3
 /CONTRAST =  2 -2  1
 /CONTRAST = -9  9
 .
_ATEOF



{ set +x
$as_echo "$at_srcdir/oneway.at:877: pspp -O format=csv oneway-bad-contrast.sps"
at_fn_check_prepare_trace "oneway.at:877"
( $at_check_trace; pspp -O format=csv oneway-bad-contrast.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "\"oneway-bad-contrast.sps:18: warning: ONEWAY: In contrast list 3, the number of coefficients (3) does not equal the number of groups (2). This contrast list will be ignored.\"

Table: ANOVA
,,Sum of Squares,df,Mean Square,F,Sig.
height,Between Groups,92629.63,1,92629.63,120.77,.000
,Within Groups,4601.87,6,766.98,,
,Total,97231.50,7,,,
weight,Between Groups,2451.65,1,2451.65,174.59,.000
,Within Groups,84.25,6,14.04,,
,Total,2535.90,7,,,
temperature,Between Groups,1.80,1,1.80,.13,.733
,Within Groups,84.55,6,14.09,,
,Total,86.36,7,,,

Table: Contrast Coefficients
,,sex,
,,.00,1.00
Contrast,1,-1,1
,2,-3,3
,3,-9,9

Table: Contrast Tests
,,Contrast,Value of Contrast,Std. Error,t,df,Sig. (2-tailed)
height,Assume equal variances,1,-222.27,20.23,10.99,6,.000
,,2,-666.80,60.68,10.99,6,.000
,,3,-2000.40,182.03,10.99,6,.000
,Does not assume equal,1,-222.27,27.67,-8.03,2.00,.015
,,2,-666.80,83.02,-8.03,2.00,.015
,,3,-2000.40,249.07,-8.03,2.00,.015
weight,Assume equal variances,1,-36.16,2.74,13.21,6,.000
,,2,-108.48,8.21,13.21,6,.000
,,3,-325.44,24.63,13.21,6,.000
,Does not assume equal,1,-36.16,2.19,-16.48,5.42,.000
,,2,-108.48,6.58,-16.48,5.42,.000
,,3,-325.44,19.75,-16.48,5.42,.000
temperature,Assume equal variances,1,-.98,2.74,.36,6,.733
,,2,-2.94,8.22,.36,6,.733
,,3,-8.83,24.67,.36,6,.733
,Does not assume equal,1,-.98,2.07,-.47,4.19,.660
,,2,-2.94,6.22,-.47,4.19,.660
,,3,-8.83,18.66,-.47,4.19,.660
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/oneway.at:877"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_624
#AT_START_625
at_fn_group_banner 625 'oneway.at:924' \
  "ONEWAY crash on single category independent variable" "" 83
at_xfail=no
(
  $as_echo "625. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >crash.sps <<'_ATEOF'

input program.
loop #i = 1 to 10.
compute test = #i.
end case.
end loop.
end file.
end input program.

compute x = 1.

oneway test by x.
_ATEOF


{ set +x
$as_echo "$at_srcdir/oneway.at:939: pspp -O format=csv crash.sps"
at_fn_check_prepare_trace "oneway.at:939"
( $at_check_trace; pspp -O format=csv crash.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/oneway.at:939"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_625
#AT_START_626
at_fn_group_banner 626 'oneway.at:945' \
  "ONEWAY crash on missing dependent variable" "     " 83
at_xfail=no
(
  $as_echo "626. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >crash2.sps <<'_ATEOF'
data list notable list /dv1 * dv2  *  y * .
begin data.
2  .  2
1  .  2
1  .  1
2  .  4
3  .  4
4  .  4
5  .  4
end data.

ONEWAY
       /VARIABLES= dv1 dv2  BY y
       /STATISTICS = DESCRIPTIVES
       /POSTHOC = BONFERRONI LSD SCHEFFE SIDAK TUKEY
       /MISSING = ANALYSIS
       .
_ATEOF


{ set +x
$as_echo "$at_srcdir/oneway.at:966: pspp -O format=csv crash2.sps"
at_fn_check_prepare_trace "oneway.at:966"
( $at_check_trace; pspp -O format=csv crash2.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/oneway.at:966"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_626
#AT_START_627
at_fn_group_banner 627 'oneway.at:973' \
  "ONEWAY Games-Howell test with few cases" "        " 83
at_xfail=no
(
  $as_echo "627. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >crash3.sps <<'_ATEOF'
data list notable list /dv * y * .
begin data.
2 2
1 2
1 1
2 4
3 4
end data.

ONEWAY
 /VARIABLES= dv BY y
 /POSTHOC = GH
 .
_ATEOF


{ set +x
$as_echo "$at_srcdir/oneway.at:990: pspp -O format=csv crash3.sps"
at_fn_check_prepare_trace "oneway.at:990"
( $at_check_trace; pspp -O format=csv crash3.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/oneway.at:990"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_627
#AT_START_628
at_fn_group_banner 628 'oneway.at:995' \
  "ONEWAY Crash on empty data" "                     " 83
at_xfail=no
(
  $as_echo "628. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >crash4.sps <<'_ATEOF'
DATA LIST NOTABLE LIST /height * weight * temperature * sex *.
BEGIN DATA.
1801     .       .     0
1606     .       .     1
END DATA.

ONEWAY /VARIABLES= height weight temperature BY sex
 /CONTRAST = -1  1
 /CONTRAST = -3  3
 /CONTRAST =  2 -2  1
 /CONTRAST = -9  9
 .
_ATEOF


{ set +x
$as_echo "$at_srcdir/oneway.at:1011: pspp -O format=csv crash4.sps"
at_fn_check_prepare_trace "oneway.at:1011"
( $at_check_trace; pspp -O format=csv crash4.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/oneway.at:1011"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_628
#AT_START_629
at_fn_group_banner 629 'oneway.at:1017' \
  "ONEWAY Crash on invalid dependent variable" "     " 83
at_xfail=no
(
  $as_echo "629. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >crash5.sps <<'_ATEOF'
data list notable list /a * b *.
begin data.
3 0
2 0
6 2
end data.

oneway a"by b.

_ATEOF


{ set +x
$as_echo "$at_srcdir/oneway.at:1030: pspp -O format=csv crash5.sps"
at_fn_check_prepare_trace "oneway.at:1030"
( $at_check_trace; pspp -O format=csv crash5.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 1 $at_status "$at_srcdir/oneway.at:1030"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_629
#AT_START_630
at_fn_group_banner 630 'oneway.at:1037' \
  "ONEWAY Crash on unterminated string" "            " 83
at_xfail=no
(
  $as_echo "630. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >crash6.sps <<'_ATEOF'
DATA LIST NOTABLE LIST /height * weight * temperature * sex *.
BEGIN DATA.
1801     .       .     0
1606     .   0   .     1
END DATA.

ONEWAY /VARIABLES= height weight temperature BY sex
 /CONTRAST =" 2 -2  1
 .
_ATEOF


{ set +x
$as_echo "$at_srcdir/oneway.at:1051: pspp -O format=csv crash6.sps"
at_fn_check_prepare_trace "oneway.at:1051"
( $at_check_trace; pspp -O format=csv crash6.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 1 $at_status "$at_srcdir/oneway.at:1051"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_630
#AT_START_631
at_fn_group_banner 631 'quick-cluster.at:19' \
  "QUICK CLUSTER with small data set" "              " 84
at_xfail=no
(
  $as_echo "631. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >quick-cluster.sps <<'_ATEOF'
DATA LIST LIST /x y z.
BEGIN DATA.
22,2930,4099
17,3350,4749
22,2640,3799
20, 3250,4816
15,4080,7827
4,5,4
5,6,5
6,7,6
7,8,7
8,9,8
9,10,9
END DATA.
QUICK CLUSTER x y z
  /CRITERIA=CLUSTER(2) MXITER(20).
_ATEOF

{ set +x
$as_echo "$at_srcdir/quick-cluster.at:38: pspp -o pspp.csv quick-cluster.sps"
at_fn_check_prepare_trace "quick-cluster.at:38"
( $at_check_trace; pspp -o pspp.csv quick-cluster.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/quick-cluster.at:38"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/quick-cluster.at:39: cat pspp.csv"
at_fn_check_prepare_trace "quick-cluster.at:39"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Reading free-form data from INLINE.
Variable,Format
x,F8.0
y,F8.0
z,F8.0

Table: Final Cluster Centers
,Cluster,
,,
,1,2
,,
x,6.50,19.20
y,7.50,3250.00
z,6.50,5058.00

Table: Number of Cases in each Cluster
Cluster,1,6
,2,5
Valid,,11
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/quick-cluster.at:39"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_631
#AT_START_632
at_fn_group_banner 632 'quick-cluster.at:62' \
  "QUICK CLUSTER with large data set" "              " 84
at_xfail=no
(
  $as_echo "632. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >quick-cluster.sps <<'_ATEOF'
input program.
loop #i = 1 to 50000.
compute x = 3.
end case.
end loop.
end file.
end input program.
QUICK CLUSTER x /CRITERIA = CLUSTER(4) NOINITIAL.
_ATEOF

{ set +x
$as_echo "$at_srcdir/quick-cluster.at:73: pspp -o pspp.csv quick-cluster.sps"
at_fn_check_prepare_trace "quick-cluster.at:73"
( $at_check_trace; pspp -o pspp.csv quick-cluster.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/quick-cluster.at:73"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/quick-cluster.at:74: cat pspp.csv"
at_fn_check_prepare_trace "quick-cluster.at:74"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Final Cluster Centers
,Cluster,,,
,,,,
,1,2,3,4
,,,,
x,NaN,NaN,NaN,3.00

Table: Number of Cases in each Cluster
Cluster,1,0
,2,0
,3,0
,4,50000
Valid,,50000
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/quick-cluster.at:74"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_632
#AT_START_633
at_fn_group_banner 633 'quick-cluster.at:92' \
  "QUICK CLUSTER with weights" "                     " 84
at_xfail=no
(
  $as_echo "633. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >qc-weighted.sps <<'_ATEOF'
input program.
loop #i = 1 to 400.
 compute x = mod (#i, 4).
 compute w = 5.
 end case.
end loop.
loop #i = 1 to 400.
 compute x = mod (#i, 4).
 compute w = 3.
 end case.
end loop.
end file.
end input program.

weight by w.

QUICK CLUSTER x /CRITERIA = CLUSTER(4) MXITER (10).
_ATEOF


{ set +x
$as_echo "$at_srcdir/quick-cluster.at:113: pspp -o pspp-w.csv qc-weighted.sps"
at_fn_check_prepare_trace "quick-cluster.at:113"
( $at_check_trace; pspp -o pspp-w.csv qc-weighted.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/quick-cluster.at:113"
$at_failed && at_fn_log_failure
$at_traceon; }



cat >qc-unweighted.sps <<'_ATEOF'
input program.
loop #i = 1 to 3200.
 compute x = mod (#i, 4).
 end case.
end loop.
end file.
end input program.

QUICK CLUSTER x /CRITERIA = CLUSTER(4) MXITER (10).
_ATEOF


{ set +x
$as_echo "$at_srcdir/quick-cluster.at:128: pspp -o pspp-unw.csv qc-unweighted.sps"
at_fn_check_prepare_trace "quick-cluster.at:128"
( $at_check_trace; pspp -o pspp-unw.csv qc-unweighted.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/quick-cluster.at:128"
$at_failed && at_fn_log_failure
$at_traceon; }


{ set +x
$as_echo "$at_srcdir/quick-cluster.at:130: diff pspp-w.csv pspp-unw.csv"
at_fn_check_prepare_trace "quick-cluster.at:130"
( $at_check_trace; diff pspp-w.csv pspp-unw.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/quick-cluster.at:130"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_633
#AT_START_634
at_fn_group_banner 634 'quick-cluster.at:134' \
  "QUICK CLUSTER with listwise missing" "            " 84
at_xfail=no
(
  $as_echo "634. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >quick-miss.sps <<'_ATEOF'
data list notable list /x *.
begin data.
1
1
2
3
4
.
2
end data.

QUICK CLUSTER x /CRITERIA = CLUSTER(4) MXITER (10).
_ATEOF


{ set +x
$as_echo "$at_srcdir/quick-cluster.at:150: pspp -o pspp-m.csv quick-miss.sps"
at_fn_check_prepare_trace "quick-cluster.at:150"
( $at_check_trace; pspp -o pspp-m.csv quick-miss.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/quick-cluster.at:150"
$at_failed && at_fn_log_failure
$at_traceon; }


cat >quick-nmiss.sps <<'_ATEOF'
data list notable list /x *.
begin data.
1
1
2
3
4
2
end data.

QUICK CLUSTER x /CRITERIA = CLUSTER(4) MXITER (10).
_ATEOF


{ set +x
$as_echo "$at_srcdir/quick-cluster.at:166: pspp -o pspp-nm.csv quick-nmiss.sps"
at_fn_check_prepare_trace "quick-cluster.at:166"
( $at_check_trace; pspp -o pspp-nm.csv quick-nmiss.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/quick-cluster.at:166"
$at_failed && at_fn_log_failure
$at_traceon; }


{ set +x
$as_echo "$at_srcdir/quick-cluster.at:168: diff pspp-m.csv pspp-nm.csv"
at_fn_check_prepare_trace "quick-cluster.at:168"
( $at_check_trace; diff pspp-m.csv pspp-nm.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/quick-cluster.at:168"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_634
#AT_START_635
at_fn_group_banner 635 'quick-cluster.at:173' \
  "QUICK CLUSTER with pairwise missing" "            " 84
at_xfail=no
(
  $as_echo "635. $at_setup_line: testing $at_desc ..."
  $at_traceon



cat >quick-s.sps <<'_ATEOF'
data list notable list /x * y *.
begin data.
1   2
1   2.2
1.1 1.9
1   9
1   10
1.3 9.5
0.9 8.9
3.5 2
3.4 3
3.5 2.5
3.1 2.0
end data.

QUICK CLUSTER x y
	/PRINT = INITIAL
	/CRITERIA = CLUSTER(3) NOINITIAL NOUPDATE
	.
_ATEOF


{ set +x
$as_echo "$at_srcdir/quick-cluster.at:202: pspp -O format=csv quick-s.sps  > pspp-s.csv"
at_fn_check_prepare_trace "quick-cluster.at:202"
( $at_check_trace; pspp -O format=csv quick-s.sps  > pspp-s.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/quick-cluster.at:202"
$at_failed && at_fn_log_failure
$at_traceon; }


cat >quick-pw.sps <<'_ATEOF'
data list notable list /x * y *.
begin data.
1   2
1   2.2
1.1 1.9
1   9
1   10
1.3 9.5
0.9 8.9
3.5 2
3.4 3
3.5 2.5
3.1 2.0
.   2.3
end data.

QUICK CLUSTER x y
	/CRITERIA = CLUSTER(3) NOINITIAL NOUPDATE
	/PRINT = INITIAL
	/MISSING = PAIRWISE
	.
_ATEOF


{ set +x
$as_echo "$at_srcdir/quick-cluster.at:228: pspp -O format=csv quick-pw.sps  > pspp-pw.csv"
at_fn_check_prepare_trace "quick-cluster.at:228"
( $at_check_trace; pspp -O format=csv quick-pw.sps  > pspp-pw.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/quick-cluster.at:228"
$at_failed && at_fn_log_failure
$at_traceon; }


{ set +x
$as_echo "$at_srcdir/quick-cluster.at:230: head -n 18  pspp-s.csv > top-s.csv"
at_fn_check_prepare_trace "quick-cluster.at:230"
( $at_check_trace; head -n 18  pspp-s.csv > top-s.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/quick-cluster.at:230"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/quick-cluster.at:231: head -n 18  pspp-pw.csv > top-pw.csv"
at_fn_check_prepare_trace "quick-cluster.at:231"
( $at_check_trace; head -n 18  pspp-pw.csv > top-pw.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/quick-cluster.at:231"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/quick-cluster.at:232: diff top-s.csv top-pw.csv"
at_fn_check_prepare_trace "quick-cluster.at:232"
( $at_check_trace; diff top-s.csv top-pw.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/quick-cluster.at:232"
$at_failed && at_fn_log_failure
$at_traceon; }



{ set +x
$as_echo "$at_srcdir/quick-cluster.at:235: grep Valid pspp-s.csv"
at_fn_check_prepare_trace "quick-cluster.at:235"
( $at_check_trace; grep Valid pspp-s.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Valid,,11
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/quick-cluster.at:235"
$at_failed && at_fn_log_failure
$at_traceon; }


{ set +x
$as_echo "$at_srcdir/quick-cluster.at:238: grep Valid pspp-pw.csv"
at_fn_check_prepare_trace "quick-cluster.at:238"
( $at_check_trace; grep Valid pspp-pw.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Valid,,12
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/quick-cluster.at:238"
$at_failed && at_fn_log_failure
$at_traceon; }



  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_635
#AT_START_636
at_fn_group_banner 636 'quick-cluster.at:246' \
  "QUICK CLUSTER crash on bad cluster quantity" "    " 84
at_xfail=no
(
  $as_echo "636. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >badn.sps <<'_ATEOF'
data list notable list /x * y *.
begin data.
1   2
1   2.2
end data.

QUICK CLUSTER x y
	/CRITERIA = CLUSTER(0)
	.
_ATEOF


{ set +x
$as_echo "$at_srcdir/quick-cluster.at:259: pspp -O format=csv badn.sps"
at_fn_check_prepare_trace "quick-cluster.at:259"
( $at_check_trace; pspp -O format=csv badn.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 1 $at_status "$at_srcdir/quick-cluster.at:259"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_636
#AT_START_637
at_fn_group_banner 637 'quick-cluster.at:263' \
  "QUICK CLUSTER infinite loop on bad command name" "" 84
at_xfail=no
(
  $as_echo "637. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >quick-cluster.sps <<'_ATEOF'
data list notable list /x y.
begin data.
1   2
1   2.2
end data.

QUICK CLUSTER x y /UNSUPPORTED.
_ATEOF

{ set +x
$as_echo "$at_srcdir/quick-cluster.at:273: pspp -O format=csv quick-cluster.sps"
at_fn_check_prepare_trace "quick-cluster.at:273"
( $at_check_trace; pspp -O format=csv quick-cluster.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "quick-cluster.sps:7.20-7.30: error: QUICK CLUSTER: Syntax error at \`UNSUPPORTED'.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/quick-cluster.at:273"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_637
#AT_START_638
at_fn_group_banner 638 'quick-cluster.at:280' \
  "QUICK CLUSTER /PRINT subcommand" "                " 84
at_xfail=no
(
  $as_echo "638. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >quick-cluster.sps <<'_ATEOF'
data list notable list /cluster (A8) x (F) y (F).
begin data.
A 10.45 9.38
A 10.67 9.17
A 10.86 9.63
A 8.77 8.45
A 8.04 11.77
A 10.34 9.83
A 10.37 10.54
A 11.49 8.18
A 10.17 11.10
A 11.37 9.16
A 10.25 8.83
A 8.69 9.92
A 10.36 10.39
A 10.89 10.51
A 9.9 11.39
A 11.1 10.91
A 11.77 8.47
A 9.5 10.46
B -11.01 -9.21
B -10.8 -11.76
B -10.03 -10.29
B -9.54 -9.17
B -10.16 -9.82
B -10.01 -8.63
B -9.6 -10.22
B -11.36 -10.93
B -10.63 -10.97
B -9.53 -10.78
B -9.40 -10.26
B -10.76 -9.76
B -9.9 -10.11
B -10.16 -9.75
B -8.65 -11.31
B -10.10 -10.90
B -11.67 -9.89
B -11.11 -9.23
B -8.7 -8.43
B -11.35 -8.68
C -10.20 9.00
C -10.12 9.92
C -10.41 10.16
C -9.86 10.12
C -10.31 10.12
C -9.57 10.16
C -9.69 9.93
C -9.14 10.84
C -9.8 10.19
C -9.97 10.22
C -11.65 10.81
C -9.80 11.39
C -10.31 10.74
C -10.26 10.38
C -11.57 10.02
C -10.50 9.75
C -9.06 9.63
C -10.17 10.82
C -10.22 9.99
end data.

QUICK CLUSTER x y
  /CRITERIA=CLUSTERS(3)
  /PRINT=INITIAL CLUSTER.
_ATEOF


{ set +x
$as_echo "$at_srcdir/quick-cluster.at:348: pspp -O format=csv quick-cluster.sps"
at_fn_check_prepare_trace "quick-cluster.at:348"
( $at_check_trace; pspp -O format=csv quick-cluster.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Initial Cluster Centers
,Cluster,,
,,,
,1,2,3
,,,
x,-11,-12,11
y,-12,11,11

Table: Final Cluster Centers
,Cluster,,
,,,
,1,2,3
,,,
x,-10,-10,10
y,-10,10,10

Table: Number of Cases in each Cluster
Cluster,1,20
,2,19
,3,18
Valid,,57

Table: Cluster Membership
Case Number,Cluster
1,3
2,3
3,3
4,3
5,3
6,3
7,3
8,3
9,3
10,3
11,3
12,3
13,3
14,3
15,3
16,3
17,3
18,3
19,1
20,1
21,1
22,1
23,1
24,1
25,1
26,1
27,1
28,1
29,1
30,1
31,1
32,1
33,1
34,1
35,1
36,1
37,1
38,1
39,2
40,2
41,2
42,2
43,2
44,2
45,2
46,2
47,2
48,2
49,2
50,2
51,2
52,2
53,2
54,2
55,2
56,2
57,2
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/quick-cluster.at:348"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_638
#AT_START_639
at_fn_group_banner 639 'quick-cluster.at:436' \
  "QUICK CLUSTER -- Empty Parentheses" "             " 84
at_xfail=no
(
  $as_echo "639. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >empty-parens.sps <<'_ATEOF'
data list notable list /x * y *.
begin data.
1   2
1   2.2
end data.

QUICK CLUSTER x y
	/CRITERIA = CONVERGE()
	.
_ATEOF


{ set +x
$as_echo "$at_srcdir/quick-cluster.at:450: pspp -o pspp.csv empty-parens.sps"
at_fn_check_prepare_trace "quick-cluster.at:450"
( $at_check_trace; pspp -o pspp.csv empty-parens.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 1 $at_status "$at_srcdir/quick-cluster.at:450"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_639
#AT_START_640
at_fn_group_banner 640 'rank.at:19' \
  "RANK simple case with defaults" "                 " 85
at_xfail=no
(
  $as_echo "640. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >rank.sps <<'_ATEOF'
DATA LIST LIST NOTABLE /x (f8).
BEGIN DATA.
-1
0
1
2
2
4
5
END DATA.

RANK x.

LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/rank.at:36: pspp -o pspp.csv rank.sps"
at_fn_check_prepare_trace "rank.at:36"
( $at_check_trace; pspp -o pspp.csv rank.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/rank.at:36"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/rank.at:37: cat pspp.csv"
at_fn_check_prepare_trace "rank.at:37"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Variables Created By RANK



x into Rx(RANK of x)

Table: Data List
x,Rx
-1,1.000
0,2.000
1,3.000
2,4.500
2,4.500
4,6.000
5,7.000
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/rank.at:37"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_640
#AT_START_641
at_fn_group_banner 641 'rank.at:59' \
  "RANK multiple variables with defaults" "          " 85
at_xfail=no
(
  $as_echo "641. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >rank.sps <<'_ATEOF'
DATA LIST LIST NOTABLE /x * y * z *.
BEGIN DATA.
    1.00     2.00     3.00
    4.00     5.00     6.00
END DATA.

RANK ALL.

LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/rank.at:71: pspp -o pspp.csv rank.sps"
at_fn_check_prepare_trace "rank.at:71"
( $at_check_trace; pspp -o pspp.csv rank.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/rank.at:71"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/rank.at:72: cat pspp.csv"
at_fn_check_prepare_trace "rank.at:72"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Variables Created By RANK



x into Rx(RANK of x)

y into Ry(RANK of y)

z into Rz(RANK of z)

Table: Data List
x,y,z,Rx,Ry,Rz
1.00,2.00,3.00,1.000,1.000,1.000
4.00,5.00,6.00,2.000,2.000,2.000
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/rank.at:72"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_641
#AT_START_642
at_fn_group_banner 642 'rank.at:90' \
  "RANK with RANK, RFRACTION, N" "                   " 85
at_xfail=no
(
  $as_echo "642. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >rank.sps <<'_ATEOF'
DATA LIST LIST NOTABLE /a * b *.
BEGIN DATA.
0 24
1 32
2 31
2 32
4 30
5 29
6 1
7 43
8 .
9 45
END DATA.

RANK a b (D)
   /PRINT=YES
   /RANK
   /TIES=HIGH
   /RFRACTION
   /N INTO count
   .

DISPLAY DICTIONARY.

LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/rank.at:118: pspp -o pspp.csv rank.sps"
at_fn_check_prepare_trace "rank.at:118"
( $at_check_trace; pspp -o pspp.csv rank.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/rank.at:118"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/rank.at:119: cat pspp.csv"
at_fn_check_prepare_trace "rank.at:119"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Variables Created By RANK



a into Ra(RANK of a)

b into Rb(RANK of b)

a into RFR001(RFRACTION of a)

b into RFR002(RFRACTION of b)

a into count(N of a)

b into Nb(N of b)

Variable,Description,Position
a,Format: F8.2,1
b,Format: F8.2,2
Ra,\"Label: RANK of a
Format: F9.3\",3
RFR001,\"Label: RFRACTION of a
Format: F6.4\",4
count,\"Label: N of a
Format: F6.0\",5
Rb,\"Label: RANK of b
Format: F9.3\",6
RFR002,\"Label: RFRACTION of b
Format: F6.4\",7
Nb,\"Label: N of b
Format: F6.0\",8

Table: Data List
a,b,Ra,RFR001,count,Rb,RFR002,Nb
.00,24.00,10.000,1.0000,10,8.000,.8889,9
1.00,32.00,9.000,.9000,10,4.000,.4444,9
2.00,31.00,8.000,.8000,10,5.000,.5556,9
2.00,32.00,8.000,.8000,10,4.000,.4444,9
4.00,30.00,6.000,.6000,10,6.000,.6667,9
5.00,29.00,5.000,.5000,10,7.000,.7778,9
6.00,1.00,4.000,.4000,10,9.000,1.0000,9
7.00,43.00,3.000,.3000,10,2.000,.2222,9
8.00,.  ,2.000,.2000,10,.   ,.    ,.
9.00,45.00,1.000,.1000,10,1.000,.1111,9
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/rank.at:119"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_642
#AT_START_643
at_fn_group_banner 643 'rank.at:167' \
  "RANK with SAVAGE, PERCENT, PROPORTION, NTILES" "  " 85
at_xfail=no
(
  $as_echo "643. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >rank.sps <<'_ATEOF'
DATA LIST LIST NOTABLE /a * b *.
BEGIN DATA.
0 24
1 32
2 31
2 32
4 30
5 29
6 1
7 43
8 8
9 45
END DATA.

RANK a
  /PRINT=YES
  /TIES=CONDENSE
  /SAVAGE
  /PERCENT
  /PROPORTION
  /NTILES(4)
  /NORMAL
.

LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/rank.at:195: pspp -o pspp.csv rank.sps"
at_fn_check_prepare_trace "rank.at:195"
( $at_check_trace; pspp -o pspp.csv rank.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/rank.at:195"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/rank.at:196: cat pspp.csv"
at_fn_check_prepare_trace "rank.at:196"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Variables Created By RANK



a into Sa(SAVAGE of a)

a into Pa(PERCENT of a)

a into PRO001(PROPORTION of a using BLOM)

a into Na(NTILES of a)

a into NOR001(NORMAL of a using BLOM)

Table: Data List
a,b,Sa,Pa,PRO001,Na,NOR001
.00,24.00,-.9000,10.00,.0610,1,-1.547
1.00,32.00,-.7889,20.00,.1585,1,-1.000
2.00,31.00,-.5925,30.00,.2561,2,-.6554
2.00,32.00,-.5925,30.00,.2561,2,-.6554
4.00,30.00,-.3544,40.00,.3537,2,-.3755
5.00,29.00,-.1544,50.00,.4512,2,-.1226
6.00,1.00,.0956,60.00,.5488,3,.1226
7.00,43.00,.4290,70.00,.6463,3,.3755
8.00,8.00,.9290,80.00,.7439,3,.6554
9.00,45.00,1.9290,90.00,.8415,4,1.0005
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/rank.at:196"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_643
#AT_START_644
at_fn_group_banner 644 'rank.at:226' \
  "RANK with SPLIT FILE" "                           " 85
at_xfail=no
(
  $as_echo "644. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >rank.sps <<'_ATEOF'
DATA LIST LIST NOTABLE /a * g1 g2 *.
BEGIN DATA.
2 1 2
2 1 2
3 1 2
4 1 2
5 1 2
1 0 2
2 0 2
3 0 2
4 0 2
5 0 2
6 0 2
7 0 2
8 0 2
6 1 2
7 1 2
7 1 2
8 1 2
9 1 1
END DATA.

RANK a (D) BY g2 g1
  /PRINT=YES
  /TIES=LOW
  /MISSING=INCLUDE
  /FRACTION=RANKIT
  /RANK
  /NORMAL
  .

SPLIT FILE BY g1.

RANK a (D) BY g2
  /PRINT=YES
  /TIES=LOW
  /MISSING=INCLUDE
  /FRACTION=RANKIT
  /RANK
  /NORMAL
  .

SPLIT FILE OFF.

LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/rank.at:274: pspp -o pspp.csv rank.sps"
at_fn_check_prepare_trace "rank.at:274"
( $at_check_trace; pspp -o pspp.csv rank.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/rank.at:274"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/rank.at:275: cat pspp.csv"
at_fn_check_prepare_trace "rank.at:275"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Variables Created By RANK



a into Ra(RANK of a BY g2 g1)

a into Na(NORMAL of a using RANKIT BY g2 g1)

Variables Created By RANK



a into RAN001(RANK of a BY g2)

a into NOR001(NORMAL of a using RANKIT BY g2)

Table: Data List
a,g1,g2,Ra,Na,RAN001,NOR001
2.00,1.00,2.00,8.000,.9674,4.000,.5244
2.00,1.00,2.00,8.000,.9674,4.000,.5244
3.00,1.00,2.00,7.000,.5895,3.000,.0000
4.00,1.00,2.00,6.000,.2822,2.000,-.5244
5.00,1.00,2.00,5.000,.0000,1.000,-1.282
1.00,.00,2.00,8.000,1.5341,8.000,1.5341
2.00,.00,2.00,7.000,.8871,7.000,.8871
3.00,.00,2.00,6.000,.4888,6.000,.4888
4.00,.00,2.00,5.000,.1573,5.000,.1573
5.00,.00,2.00,4.000,-.1573,4.000,-.1573
6.00,.00,2.00,3.000,-.4888,3.000,-.4888
7.00,.00,2.00,2.000,-.8871,2.000,-.8871
8.00,.00,2.00,1.000,-1.534,1.000,-1.534
6.00,1.00,2.00,4.000,-.2822,4.000,1.1503
7.00,1.00,2.00,2.000,-.9674,2.000,-.3186
7.00,1.00,2.00,2.000,-.9674,2.000,-.3186
8.00,1.00,2.00,1.000,-1.593,1.000,-1.150
9.00,1.00,1.00,1.000,.0000,1.000,.0000
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/rank.at:275"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_644
#AT_START_645
at_fn_group_banner 645 'rank.at:316' \
  "RANK with fractional ranks" "                     " 85
at_xfail=no
(
  $as_echo "645. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >rank.sps <<'_ATEOF'
DATA LIST LIST NOTABLE  /a *  w * .
BEGIN DATA.
1 1.5
2 0.2
3 0.1
4 1
5 1
6 1
7 1
8 1
END DATA.

WEIGHT BY w.

RANK a
  /FRACTION=TUKEY
  /PROPORTION
  /SAVAGE
.

LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/rank.at:340: pspp -o pspp.csv rank.sps"
at_fn_check_prepare_trace "rank.at:340"
( $at_check_trace; pspp -o pspp.csv rank.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/rank.at:340"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/rank.at:341: cat pspp.csv"
at_fn_check_prepare_trace "rank.at:341"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Variables Created By RANK



a into Pa(PROPORTION of a using TUKEY)

a into Sa(SAVAGE of a)

Table: Data List
a,w,Pa,Sa
1.00,1.50,.1285,-.8016
2.00,.20,.1776,-.6905
3.00,.10,.1986,-.6905
4.00,1.00,.3458,-.5305
5.00,1.00,.4860,-.2905
6.00,1.00,.6262,.0262
7.00,1.00,.7664,.4929
8.00,1.00,.9065,1.3929
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/rank.at:341"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_645
#AT_START_646
at_fn_group_banner 646 'rank.at:363' \
  "RANK all-ties due to tiny weights" "              " 85
at_xfail=no
(
  $as_echo "646. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >rank.sps <<'_ATEOF'
DATA LIST LIST NOTABLE /x * w *.
BEGIN DATA.
1 0.1
2 0.1
3 0.1
4 0.2
5 0.1
6 0.1
7 0.1
8 0.1
END DATA.

WEIGHT BY w.

RANK x
 /TIES=low
 /RANK into xl.


RANK x
 /TIES=high
 /RANK into xh.

RANK x
 /TIES=condense
 /RANK into xc.


* Test VW fraction

RANK x
 /FRACTION=VW
 /NORMAL.

LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/rank.at:401: pspp -o pspp.csv rank.sps"
at_fn_check_prepare_trace "rank.at:401"
( $at_check_trace; pspp -o pspp.csv rank.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/rank.at:401"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/rank.at:402: cat pspp.csv"
at_fn_check_prepare_trace "rank.at:402"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Variables Created By RANK



x into xl(RANK of x)

Variables Created By RANK



x into xh(RANK of x)

Variables Created By RANK



x into xc(RANK of x)

Variables Created By RANK



x into Nx(NORMAL of x using VW)

Table: Data List
x,w,xl,xh,xc,Nx
1.00,.10,.000,.100,1.000,-1.938
2.00,.10,.100,.200,2.000,-1.412
3.00,.10,.200,.300,3.000,-1.119
4.00,.20,.300,.500,4.000,-.8046
5.00,.10,.500,.600,5.000,-.5549
6.00,.10,.600,.700,6.000,-.4067
7.00,.10,.700,.800,7.000,-.2670
8.00,.10,.800,.900,8.000,-.1323
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/rank.at:402"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_646
#AT_START_647
at_fn_group_banner 647 'rank.at:440' \
  "RANK and TEMPORARY" "                             " 85
at_xfail=no
(
  $as_echo "647. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >rank.sps <<'_ATEOF'
DATA LIST LIST NOTABLE /age (f2) gender (a1).
BEGIN DATA.
44 m
32 f
43 m
49 m
33 f
35 f
29 f
50 m
42 m
33 f
48 m
END DATA.

TEMPORARY.
SELECT IF gender = 'm'.
RANK age /RANK INTO Rm.

TEMPORARY.
SELECT IF gender = 'f'.
RANK age /RANK INTO Rf.

LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/rank.at:467: pspp -O format=csv rank.sps"
at_fn_check_prepare_trace "rank.at:467"
( $at_check_trace; pspp -O format=csv rank.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Variables Created By RANK



age into Rm(RANK of age)

Variables Created By RANK



age into Rf(RANK of age)

Table: Data List
age,gender,Rm,Rf
44,m,3.000,.   
32,f,.   ,2.000
43,m,2.000,.   
49,m,5.000,.   
33,f,.   ,3.500
35,f,.   ,5.000
29,f,.   ,1.000
50,m,6.000,.   
42,m,1.000,.   
33,f,.   ,3.500
48,m,4.000,.   
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/rank.at:467"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_647
#AT_START_648
at_fn_group_banner 648 'rank.at:496' \
  "RANK variable name fallback" "                    " 85
at_xfail=no
(
  $as_echo "648. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >rank.sps <<'_ATEOF'
DATA LIST LIST NOTABLE /foo * rfoo * ran003 *.
BEGIN DATA.
0 3 2
1 3 2
2 3 2
2 3 2
4 3 2
5 3 2
6 3 2
7 3 2
8 3 2
9 3 2
END DATA.

RANK foo.


DISPLAY DICTIONARY.
_ATEOF

{ set +x
$as_echo "$at_srcdir/rank.at:517: pspp -o pspp.csv rank.sps"
at_fn_check_prepare_trace "rank.at:517"
( $at_check_trace; pspp -o pspp.csv rank.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/rank.at:517"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/rank.at:518: cat pspp.csv"
at_fn_check_prepare_trace "rank.at:518"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Variables Created By RANK



foo into RAN001(RANK of foo)

Variable,Description,Position
foo,Format: F8.2,1
rfoo,Format: F8.2,2
ran003,Format: F8.2,3
RAN001,\"Label: RANK of foo
Format: F9.3\",4
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/rank.at:518"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_648
#AT_START_649
at_fn_group_banner 649 'rank.at:534' \
  "RANK robust variable name creation" "             " 85
at_xfail=no
(
  $as_echo "649. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >rank.sps <<'_ATEOF'
DATA LIST LIST notable /x * rx * ran001 TO ran999.
BEGIN DATA.
1
2
3
4
5
6
7
END DATA.

RANK x.

DELETE VAR ran001 TO ran999.

LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/rank.at:553: pspp -O format=csv rank.sps"
at_fn_check_prepare_trace "rank.at:553"
( $at_check_trace; pspp -O format=csv rank.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "\"rank.sps:3: warning: Missing value(s) for all variables from rx onward.  These will be filled with the system-missing value or blanks, as appropriate.\"

\"rank.sps:4: warning: Missing value(s) for all variables from rx onward.  These will be filled with the system-missing value or blanks, as appropriate.\"

\"rank.sps:5: warning: Missing value(s) for all variables from rx onward.  These will be filled with the system-missing value or blanks, as appropriate.\"

\"rank.sps:6: warning: Missing value(s) for all variables from rx onward.  These will be filled with the system-missing value or blanks, as appropriate.\"

\"rank.sps:7: warning: Missing value(s) for all variables from rx onward.  These will be filled with the system-missing value or blanks, as appropriate.\"

\"rank.sps:8: warning: Missing value(s) for all variables from rx onward.  These will be filled with the system-missing value or blanks, as appropriate.\"

\"rank.sps:9: warning: Missing value(s) for all variables from rx onward.  These will be filled with the system-missing value or blanks, as appropriate.\"

Variables Created By RANK



x into RNKRA01(RANK of x)

Table: Data List
x,rx,RNKRA01
1.00,.  ,1.000
2.00,.  ,2.000
3.00,.  ,3.000
4.00,.  ,4.000
5.00,.  ,5.000
6.00,.  ,6.000
7.00,.  ,7.000
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/rank.at:553"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_649
#AT_START_650
at_fn_group_banner 650 'rank.at:587' \
  "RANK handling of invalid input" "                 " 85
at_xfail=no
(
  $as_echo "650. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >rank.sps <<'_ATEOF'
DATA LIST LIST NOTABLE /x * a (a2).
BEGIN DATA.
-1 s
0  s
1  s
2  s
2  s
4  s
5  s
END DATA.

DEBUG XFORM FAIL.

RANK x.
_ATEOF

{ set +x
$as_echo "$at_srcdir/rank.at:604: pspp -O format=csv --testing-mode rank.sps"
at_fn_check_prepare_trace "rank.at:604"
( $at_check_trace; pspp -O format=csv --testing-mode rank.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Variables Created By RANK



x into Rx(RANK of x)

rank.sps:14: error: RANK: DEBUG XFORM FAIL transformation executed
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/rank.at:604"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_650
#AT_START_651
at_fn_group_banner 651 'rank.at:615' \
  "RANK handling of invalid syntax" "                " 85
at_xfail=no
(
  $as_echo "651. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >rank.sps <<'_ATEOF'
DATA LIST LIST NOTABLE /x * a (a2).
BEGIN DATA.
-1 s
0  s
1  s
2  s
2  s
4  s
5  s
END DATA.

* invalid NTILES (no parameter)
RANK x
  /NTILES
.

* invalid NTILES (not an integer)
RANK x
  /NTILES(d)
.


* destination variable already exists
RANK x
 /RANK INTO x.


* Too many variables in INTO
RANK x
 /RANK INTO foo  bar wiz.
_ATEOF

{ set +x
$as_echo "$at_srcdir/rank.at:648: pspp -O format=csv rank.sps"
at_fn_check_prepare_trace "rank.at:648"
( $at_check_trace; pspp -O format=csv rank.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "rank.sps:15.1: error: RANK: Syntax error at end of command: expecting \`('.

rank.sps:19.11: error: RANK: Syntax error at \`d': expecting integer.

rank.sps:25: error: RANK: Variable x already exists.

rank.sps:30: error: RANK: Too many variables in INTO clause.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/rank.at:648"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_651
#AT_START_652
at_fn_group_banner 652 'regression.at:19' \
  "LINEAR REGRESSION - basic" "                      " 86
at_xfail=no
(
  $as_echo "652. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >regression.sps <<'_ATEOF'
set format = F22.3.
data list notable list / v0 to v2.
filter by v0.
begin data
 0.65377128  7.735648 -23.97588
-0.13087553  6.142625 -19.63854
 0.34880368  7.651430 -25.26557
 0.69249021  6.125125 -16.57090
-0.07368178  8.245789 -25.80001
-0.34404919  6.031540 -17.56743
 0.75981559  9.832291 -28.35977
-0.46958313  5.343832 -16.79548
-0.06108490  8.838262 -29.25689
 0.56154863  6.200189 -18.58219
end data
regression /variables=v0 v1 v2 /statistics defaults /dependent=v2 /method=enter /save=pred resid.
list.
_ATEOF


{ set +x
$as_echo "$at_srcdir/regression.at:40: pspp -O format=csv regression.sps"
at_fn_check_prepare_trace "regression.at:40"
( $at_check_trace; pspp -O format=csv regression.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "regression.sps:16: warning: REGRESSION: REGRESSION with SAVE ignores FILTER.  All cases will be processed.

Table: Model Summary (v2)
,R,R Square,Adjusted R Square,Std. Error of the Estimate
,.971,.942,.925,1.337

Table: ANOVA (v2)
,,Sum of Squares,df,Mean Square,F,Sig.
,Regression,202.753,2,101.376,56.754,.000
,Residual,12.504,7,1.786,,
,Total,215.256,9,,,

Table: Coefficients (v2)
,,Unstandardized Coefficients,,Standardized Coefficients,,
,,B,Std. Error,Beta,t,Sig.
,(Constant),2.191,2.357,.000,.930,.380
,v0,1.813,1.053,.171,1.722,.129
,v1,-3.427,.332,-1.026,-10.334,.000

Table: Data List
v0,v1,v2,RES1,PRED1
.654,7.736,-23.976,-.84,-23.13
-.131,6.143,-19.639,-.54,-19.10
.349,7.651,-25.266,-1.87,-23.40
.692,6.125,-16.571,.97,-17.54
-.074,8.246,-25.800,.40,-26.20
-.344,6.032,-17.567,1.53,-19.10
.760,9.832,-28.360,1.77,-30.13
-.470,5.344,-16.795,.18,-16.97
-.061,8.838,-29.257,-1.05,-28.21
.562,6.200,-18.582,-.54,-18.04
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/regression.at:40"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_652
#AT_START_653
at_fn_group_banner 653 'regression.at:76' \
  "LINEAR REGRESSION - one save" "                   " 86
at_xfail=no
(
  $as_echo "653. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >regression.sps <<'_ATEOF'
set format = F22.3.
data list notable list / v0 to v2.
begin data
 0.65377128  7.735648 -23.97588
-0.13087553  6.142625 -19.63854
 0.34880368  7.651430 -25.26557
 0.69249021  6.125125 -16.57090
-0.07368178  8.245789 -25.80001
-0.34404919  6.031540 -17.56743
 0.75981559  9.832291 -28.35977
-0.46958313  5.343832 -16.79548
-0.06108490  8.838262 -29.25689
 0.56154863  6.200189 -18.58219
end data
regression /variables=v0 v1 v2 /statistics defaults /dependent=v2 /method=enter /save=resid.
regression /variables=v0 v1 v2 /statistics defaults /dependent=v2 /method=enter /save=pred.
list.
_ATEOF


{ set +x
$as_echo "$at_srcdir/regression.at:97: pspp -O format=csv regression.sps"
at_fn_check_prepare_trace "regression.at:97"
( $at_check_trace; pspp -O format=csv regression.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Model Summary (v2)
,R,R Square,Adjusted R Square,Std. Error of the Estimate
,.971,.942,.925,1.337

Table: ANOVA (v2)
,,Sum of Squares,df,Mean Square,F,Sig.
,Regression,202.753,2,101.376,56.754,.000
,Residual,12.504,7,1.786,,
,Total,215.256,9,,,

Table: Coefficients (v2)
,,Unstandardized Coefficients,,Standardized Coefficients,,
,,B,Std. Error,Beta,t,Sig.
,(Constant),2.191,2.357,.000,.930,.380
,v0,1.813,1.053,.171,1.722,.129
,v1,-3.427,.332,-1.026,-10.334,.000

Table: Model Summary (v2)
,R,R Square,Adjusted R Square,Std. Error of the Estimate
,.971,.942,.925,1.337

Table: ANOVA (v2)
,,Sum of Squares,df,Mean Square,F,Sig.
,Regression,202.753,2,101.376,56.754,.000
,Residual,12.504,7,1.786,,
,Total,215.256,9,,,

Table: Coefficients (v2)
,,Unstandardized Coefficients,,Standardized Coefficients,,
,,B,Std. Error,Beta,t,Sig.
,(Constant),2.191,2.357,.000,.930,.380
,v0,1.813,1.053,.171,1.722,.129
,v1,-3.427,.332,-1.026,-10.334,.000

Table: Data List
v0,v1,v2,RES1,PRED1
.654,7.736,-23.976,-.84,-23.13
-.131,6.143,-19.639,-.54,-19.10
.349,7.651,-25.266,-1.87,-23.40
.692,6.125,-16.571,.97,-17.54
-.074,8.246,-25.800,.40,-26.20
-.344,6.032,-17.567,1.53,-19.10
.760,9.832,-28.360,1.77,-30.13
-.470,5.344,-16.795,.18,-16.97
-.061,8.838,-29.257,-1.05,-28.21
.562,6.200,-18.582,-.54,-18.04
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/regression.at:97"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_653
#AT_START_654
at_fn_group_banner 654 'regression.at:149' \
  "LINEAR REGRESSION - SAVE vs SPLITS" "             " 86
at_xfail=no
(
  $as_echo "654. $at_setup_line: testing $at_desc ..."
  $at_traceon


# Generate some test data based on a linear model
cat >gen-data.sps <<'_ATEOF'
set seed = 1.
input program.
loop #c = 1 to 20.
     compute x0 = rv.normal (0,1).
     compute x1 = rv.normal (0,2).
     compute err = rv.normal (0,0.1).
     compute y = 4 - 2 * x0 + 3 * x1 + err.
     compute g = (#c > 10).
     end case.
end loop.
end file.
end input program.

print outfile='regdata.txt' /g x0 x1 y err *.
execute.
_ATEOF


{ set +x
$as_echo "$at_srcdir/regression.at:170: pspp -O format=csv gen-data.sps"
at_fn_check_prepare_trace "regression.at:170"
( $at_check_trace; pspp -O format=csv gen-data.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/regression.at:170"
$at_failed && at_fn_log_failure
$at_traceon; }


# Use our test data to create a predictor and a residual variable
# for G == 0
cat >regression0.sps <<'_ATEOF'
data list notable file='regdata.txt' list /g x0 x1 y err *.

select if (g = 0).

regression
	   /variables = x0 x1
	   /dependent = y
	   /statistics = all
	   /save = pred resid.
	   .

print outfile='outdata-g0.txt' /g x0 x1 y err res1 pred1 *.
execute.
_ATEOF



{ set +x
$as_echo "$at_srcdir/regression.at:191: pspp -O format=csv regression0.sps"
at_fn_check_prepare_trace "regression.at:191"
( $at_check_trace; pspp -O format=csv regression0.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/regression.at:191"
$at_failed && at_fn_log_failure
$at_traceon; }


# Use our test data to create a predictor and a residual variable
# for G == 1
cat >regression1.sps <<'_ATEOF'
data list notable file='regdata.txt' list /g x0 x1 y err *.

select if (g = 1).

regression
	   /variables = x0 x1
	   /dependent = y
	   /statistics = all
	   /save = pred resid.
	   .

print outfile='outdata-g1.txt' /g x0 x1 y err res1 pred1 *.
execute.
_ATEOF



{ set +x
$as_echo "$at_srcdir/regression.at:212: pspp -O format=csv regression1.sps"
at_fn_check_prepare_trace "regression.at:212"
( $at_check_trace; pspp -O format=csv regression1.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/regression.at:212"
$at_failed && at_fn_log_failure
$at_traceon; }


# Use our test data to create a predictor and a residual variable
# The data is split on G
cat >regression-split.sps <<'_ATEOF'
data list notable file='regdata.txt' list /g x0 x1 y err *.

split file by g.

regression
	   /variables = x0 x1
	   /dependent = y
	   /statistics = all
	   /save = pred resid.
	   .

print outfile='outdata-split.txt' /g x0 x1 y err res1 pred1 *.
execute.
_ATEOF


{ set +x
$as_echo "$at_srcdir/regression.at:232: pspp -O format=csv regression-split.sps"
at_fn_check_prepare_trace "regression.at:232"
( $at_check_trace; pspp -O format=csv regression-split.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/regression.at:232"
$at_failed && at_fn_log_failure
$at_traceon; }


# The concatenation of G==0 and G==1 should be identical to the SPLIT data
{ set +x
$as_echo "$at_srcdir/regression.at:235: cat outdata-g0.txt outdata-g1.txt | diff outdata-split.txt - "
at_fn_check_prepare_notrace 'a shell pipeline' "regression.at:235"
( $at_check_trace; cat outdata-g0.txt outdata-g1.txt | diff outdata-split.txt -
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/regression.at:235"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_654
#AT_START_655
at_fn_group_banner 655 'regression.at:242' \
  "LINEAR REGRESSION multiple dependent variables" " " 86
at_xfail=no
(
  $as_echo "655. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >regression.sps <<'_ATEOF'
set seed = 2.
input program.
loop #c = 1 to 200.
     compute x0 = rv.normal (0, 1).
     compute x1 = rv.normal (0, 2).
     compute err = rv.normal (0, 0.8).
     compute y = 2 - 1.5 * x0 + 8.4 * x1 + err.
     compute ycopy = y.
     end case.
end loop.
end file.
end input program.

regression
	   /variables = x0 x1
	   /dependent = y ycopy
	   /statistics = default.
_ATEOF


{ set +x
$as_echo "$at_srcdir/regression.at:263: pspp -O format=csv regression.sps > output"
at_fn_check_prepare_trace "regression.at:263"
( $at_check_trace; pspp -O format=csv regression.sps > output
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/regression.at:263"
$at_failed && at_fn_log_failure
$at_traceon; }


{ set +x
$as_echo "$at_srcdir/regression.at:265: head -16 output > first"
at_fn_check_prepare_trace "regression.at:265"
( $at_check_trace; head -16 output > first
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/regression.at:265"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/regression.at:266: tail -16 output > second"
at_fn_check_prepare_trace "regression.at:266"
( $at_check_trace; tail -16 output > second
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/regression.at:266"
$at_failed && at_fn_log_failure
$at_traceon; }


{ set +x
$as_echo "$at_srcdir/regression.at:268: sed -e 's/ycopy/y/g' second | diff first -"
at_fn_check_prepare_notrace 'a shell pipeline' "regression.at:268"
( $at_check_trace; sed -e 's/ycopy/y/g' second | diff first -
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/regression.at:268"
$at_failed && at_fn_log_failure
$at_traceon; }



  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_655
#AT_START_656
at_fn_group_banner 656 'regression.at:274' \
  "LINEAR REGRESSION test of QR decomposition" "     " 86
at_xfail=no
(
  $as_echo "656. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >regression.sps <<'_ATEOF'
data list list / v0 to v1.
begin data
-12.84099361 0.873270778
 16.64932538 0.371315664
 -1.88061907 0.505503722
 -6.20952354 0.734698282
  0.33272576 0.891224610
 -5.54912717 0.052318165
  6.11832417 0.448853404
 11.78124974 0.470447593
  0.75960353 0.565082303
  6.06432768 0.149316743
 -2.64919436 0.752532411
-10.32250712 0.798263603
  2.06355038 0.469129797
 -9.71851742 0.927162270
  4.65582553 0.250629262
  9.54574474 0.847032310
  7.35544368 0.197028541
 -2.09609740 0.400584261
 10.30101161 0.671546480
 -5.24501039 0.929962876
  1.73412473 0.758161354
 -3.12732732 0.569785505
 12.66261501 0.630640223
 -2.90956805 0.576067804
  4.89649177 0.624483995
 13.64613114 0.591089881
 14.03198397 0.544587572
  2.23566810 0.967898139
  5.37367760 0.916246929
  9.01346888 0.451702743
  0.75378683 0.235544137
 -3.47470624 0.742668194
 -1.02063266 0.860311687
 -2.67132813 0.082460702
 23.67661680 0.932553932
  7.95061359 0.430161125
  2.05300558 0.066331375
 -2.01332644 0.163705417
 20.00663784 0.587292630
  3.06099417 0.161411889
 -3.46115358 0.216684625
 -6.85287183 0.548714855
 -4.27923809 0.630997663
 -0.94863395 0.880612945
  4.47481747 0.359885215
-12.80962955 0.886070341
  9.35753086 0.187176558
  2.81002235 0.063035095
  0.01532424 0.964327101
  0.29867732 0.866408063
 -2.89035649 0.812135868
  4.17352811 0.608884061
 18.15502183 0.920568258
 -2.92662792 0.550792959
 -6.08090449 0.965036595
 -1.09135397 0.862548019
  7.02816784 0.042277017
-21.20245068 0.430673493
 -8.83397584 0.724976162
 -0.89055843 0.017934904
  7.03871587 0.308829557
  3.84286316 0.685105924
  4.50280692 0.447635420
 11.39207346 0.875177896
 10.86673874 0.518530912
  7.09853081 0.588367569
-12.82864915 0.184667098
 13.74888760 0.610891139
  0.37379146 0.557720134
 -9.79020267 0.942839981
  0.71574466 0.564570338
-17.56040637 0.182061777
  2.52620466 0.306875011
  5.37718673 0.366807049
 -1.83964300 0.465772898
  6.04848363 0.644501799
  4.57402403 0.121419591
  8.55606848 0.373011464
 -8.46827907 0.491176571
 -1.77989798 0.734722847
 -0.68661121 0.540984182
  1.55798880 0.822587656
  5.22810831 0.333747878
  9.50280477 0.068100934
 -3.74521465 0.248537644
  1.36045068 0.851827791
  4.41604088 0.197207162
 -3.72568327 0.726916693
 -5.36123334 0.906513529
  3.61594583 0.414340595
-10.01952852 0.140372658
 25.48681482 0.354309660
 -3.34529093 0.090075388
-18.00437582 0.461438059
 -5.29782460 0.004362856
  2.79608522 0.861294398
 -1.64076209 0.345775481
  6.82802334 0.137933862
 -0.45416818 0.404379208
 -1.66868582 0.797685201
-10.02820292 0.075876582
  5.68232031 0.404815042
  8.25113850 0.769173748
 -2.83544237 0.076583474
  0.87659945 0.092751009
  6.60270870 0.530444351
-12.63924989 0.362099960
 -6.24451253 0.641993458
  3.53339015 0.461991892
 -0.74012232 0.437409755
 15.37311996 0.974913038
 -8.09464797 0.543308711
 -9.61320222 0.221564578
  0.21843662 0.856512540
 -1.56958954 0.610709221
  6.44977372 0.200382138
-13.29136274 0.093222309
  6.46257214 0.024135196
 -3.82727990 0.601335801
  0.43081953 0.268230667
 19.06654416 0.219972815
 17.02906651 0.996849502
-10.18073139 0.012543080
 12.72088788 0.910600764
 10.45328185 0.331285901
  7.14370922 0.896312020
 -2.81754334 0.048741266
  6.40217095 0.075796756
 -3.18030478 0.666325307
  8.64585957 0.120549153
  1.37952764 0.899991932
-11.81143886 0.601949630
  0.03899706 0.363808260
-10.63828243 0.031092967
 -6.66940972 0.246204205
 -5.07374962 0.951272057
  4.82281566 0.063928187
-21.93693564 0.050972680
 -4.54569883 0.225839693
 -0.92422779 0.437796785
 -1.11683029 0.740215139
 16.77765554 0.851072372
  9.73614597 0.388180586
 14.05345168 0.063760129
  1.20512012 0.665964184
  8.00307080 0.102447114
  8.01252623 0.580929209
-13.54924183 0.438420739
  9.87164361 0.970859344
 17.63437095 0.250501797
 -3.42503574 0.873290220
 -2.45873197 0.847756049
 17.29212092 0.411683187
  1.15496098 0.530658504
 -2.14438907 0.592255367
 -1.79942021 0.517773009
 -1.30677990 0.830860762
  1.70233874 0.291826660
 -3.05532536 0.801767829
 -4.06732625 0.092294501
  6.34665476 0.270426235
  9.46946411 0.196915311
 14.50919907 0.480357167
  8.93767237 0.778228613
  1.90298854 0.903146151
 18.50500507 0.598561307
  4.45123027 0.555898218
 11.37344114 0.616557707
-12.14693218 0.409187285
 18.27198688 0.141619222
 -5.75939569 0.056989619
 -4.05515382 0.369281201
 16.69882098 0.946885257
  6.39050536 0.679704228
  4.04213339 0.662792380
  6.89608366 0.419877433
  1.56496633 0.358227958
  5.16679947 0.095144366
 -3.06280456 0.883265975
  2.76279175 0.866571973
  1.84969249 0.264869828
 21.79840498 0.702650979
  1.42450528 0.719308635
  0.96797046 0.111937435
 18.26840323 0.075621738
 13.38288377 0.573399086
  2.41101500 0.766238677
  3.83866337 0.499888953
 -1.56577367 0.695244089
 -0.90342790 0.671654151
 10.83775583 0.026041124
 -9.89767935 0.745297991
 11.74840150 0.309144074
  1.73069359 0.814063985
 -5.27966183 0.591005828
  3.33030043 0.559401806
  1.31427975 0.520950237
-10.04588558 0.507008362
 10.41228345 0.425867272
  1.71961097 0.595783108
-17.54904427 0.328788939
 -2.23545419 0.223377350
 -8.68774333 0.980964240
 -3.48048220 0.008877675
 -3.69635326 0.090236718
  9.76114237 0.769375983
-10.25662038 0.508137553
  0.11155446 0.468504431
 -8.06824580 0.414098962
  3.10031660 0.327130207
 -3.33393146 0.756896774
 -3.96276749 0.530956360
 14.53610268 0.846474699
  1.70505918 0.754662464
 -1.93495001 0.656650411
  5.01974522 0.745337633
 13.41249973 0.489362476
 11.49288744 0.335924476
 12.59019763 0.155560469
-10.17947298 0.677318449
  0.05556115 0.655090105
  3.82092860 0.051838719
  8.23041456 0.918272190
 -0.50314649 0.772015826
 20.05162157 0.880265258
  8.98816884 0.666646668
 -6.28312120 0.138534416
  3.68589909 0.274559458
  0.59699510 0.253180863
 -2.74783135 0.983525221
  0.32515065 0.839969577
 -3.60606166 0.330646732
 -0.82037740 0.129591173
  6.12444860 0.098536516
 10.95671074 0.033546728
 -2.84911174 0.720288722
  6.04597572 0.577061422
 -0.60147150 0.674096868
 -5.30458364 0.291468008
  2.68044943 0.379853840
  0.85986585 0.984214339
-12.77906359 0.882390290
  7.21420144 0.550884826
  2.31817022 0.231021556
 11.60161950 0.888496654
 -0.19346228 0.242609713
  5.07478120 0.759161318
 14.54155003 0.040387654
  3.81039636 0.874572741
  2.23233049 0.448317248
  0.19481869 0.201906051
  2.81530451 0.132131690
 12.39893259 0.674693704
  0.47054642 0.632959494
  2.16152913 0.734480632
  0.33398836 0.315024718
  7.35509037 0.304570986
 -2.92336559 0.539062343
  5.79622573 0.392393310
 -2.37607425 0.403380474
  0.04498550 0.756875541
 -1.63674414 0.613789514
 11.80310547 0.832651469
  6.30630243 0.850689403
  1.48394652 0.096243229
  4.03361865 0.799660045
  3.54707273 0.408520520
  2.00327040 0.702944912
 17.30761707 0.380542812
  5.72738968 0.105447516
-13.64604891 0.328506659
  8.35976334 0.702173924
 -7.41197443 0.134396488
-15.95683040 0.618526462
  8.76889573 0.950243069
 -1.13482624 0.113477080
 -0.60311407 0.090444247
  4.95508365 0.612511543
  5.36934491 0.979213258
 -0.03554882 0.807185690
-11.58131144 0.183341373
  4.46809041 0.796330582
 12.49741067 0.346860912
  8.63824488 0.073684997
  0.49990913 0.732519306
 12.82688360 0.109400213
 13.20375065 0.850369092
 -8.41110869 0.177717087
 16.31959963 0.727704840
 17.59203613 0.235311681
  0.32148420 0.842195936
  5.43148331 0.670904647
  7.14649727 0.028190029
  0.25410683 0.421535783
-12.41047826 0.086404379
-10.64180909 0.229659236
 -6.40185653 0.876365242
 15.63063324 0.667672536
  1.94280423 0.799266628
 -5.76507450 0.367344192
  8.60895533 0.154109357
  9.38306751 0.788742770
  3.43573528 0.284535277
  4.81848966 0.872283177
 11.65839314 0.234109111
 -5.57884822 0.030363060
 -3.94238060 0.325320686
  9.38133340 0.201141788
 -7.65003459 0.647734396
 11.23091019 0.084927159
 -6.07705432 0.037273791
  7.46380750 0.506897136
  7.42034855 0.869351148
 -4.43031973 0.231191152
 -1.07351537 0.480234836
 -1.40653281 0.690620421
 -3.82710168 0.990191328
  5.04583490 0.543427375
-11.54265099 0.270542185
  0.49059479 0.991447248
 -1.40871469 0.555998766
  3.64241437 0.743840673
-18.30031589 0.357478210
  4.27487959 0.770619738
  1.28805821 0.654787106
 -3.19542768 0.218110139
 12.53375654 0.011857644
 11.78889419 0.054127726
 -5.38392310 0.839309080
 16.38024181 0.228801038
 -0.59622631 0.134381782
 -0.74107258 0.258146632
-12.31429450 0.020524447
 -0.79785028 0.968028764
  6.39899711 0.038162566
  7.42024044 0.716163692
 -3.62470664 0.018201813
 -2.55049724 0.162446610
-10.79888854 0.683070478
 10.18490144 0.546461234
 -2.76979044 0.198830067
  4.85164813 0.094100357
  0.96477200 0.381801756
  8.13344336 0.639730450
  9.04684412 0.786084368
 10.41746272 0.828304181
  0.94334368 0.798419831
 10.13116556 0.191715972
 -4.12728628 0.575178239
 -9.59222379 0.876405375
  1.64680258 0.391003085
 -4.58897613 0.039176486
  0.38394379 0.511577564
 -4.80428215 0.222785463
  0.35363661 0.681658725
 -9.63685708 0.183035382
  3.54363414 0.766127414
  6.89610808 0.967514568
 -2.03781105 0.464416752
  8.67956196 0.421424078
 -1.09959038 0.061231448
  7.12587456 0.028601318
 -6.93064672 0.402561175
  8.57989199 0.925089270
 -9.55071810 0.454993099
 -8.11914736 0.509644286
 -5.41909698 0.077813151
-17.03336572 0.875713545
 -1.27438609 0.602163625
  3.09834374 0.105599007
 -1.59865741 0.439939102
 11.82272089 0.754984309
  4.30969696 0.483834579
-10.76886192 0.222486992
  7.05419803 0.903020271
  7.36096847 0.440357053
 -2.05864869 0.581170147
 -9.08366913 0.318677911
  8.57119930 0.605668919
  7.87702340 0.570206991
  5.22035786 0.542344385
  2.37238850 0.595969470
 -4.29809941 0.634313781
  4.51647479 0.796663089
 -0.62478780 0.562099444
  8.50866078 0.490014249
  3.46694991 0.122890089
 -7.31956453 0.885170890
  2.20259268 0.167180856
 -1.81003626 0.702563515
  8.44526939 0.973495019
  8.19767069 0.881261264
 -5.92422578 0.686557351
 -0.11826129 0.712798344
  5.66132869 0.922826429
 -5.40845018 0.642183516
  6.67839036 0.680978989
 11.88962825 0.487904896
  3.32266332 0.931709581
  0.24234019 0.405641313
-12.79023339 0.361005489
-13.57875491 0.266289733
  1.81304596 0.775093821
  0.36755600 0.400225605
 -9.15574205 0.518040748
 -3.90436548 0.396869908
  9.24764042 0.669374848
  0.74869385 0.609881390
 -3.62958907 0.928867495
 -0.02527232 0.557679930
  0.04433418 0.152565816
 11.76152632 0.865663501
 -4.62181124 0.007000650
  5.82271403 0.389678502
  0.33289002 0.532940826
 -7.65647076 0.681574524
 11.81023732 0.107165912
 11.42121999 0.989580324
 -5.47120641 0.762285550
  3.82311561 0.388755074
 16.91059711 0.461236022
  4.14012105 0.802420151
 -1.35278659 0.036646959
-12.81733350 0.179096148
 -0.94395134 0.450959878
 -5.39002376 0.264783062
  4.16227017 0.780743762
  7.26179625 0.821382454
 15.10062276 0.469253936
  1.45877225 0.685434405
 -9.87966760 0.767201511
  7.03156071 0.195142483
-11.71327419 0.774014869
 -4.55518706 0.973103604
 -1.75221406 0.175172193
 10.35631400 0.080670414
  4.97650495 0.597478189
  2.25703939 0.585949751
 10.72500409 0.339720931
 -5.02901029 0.997874377
  6.24398637 0.655067479
 -5.83880059 0.184948259
  2.17256077 0.746741866
 -5.59809380 0.277523381
  8.19384177 0.334565607
  3.35250431 0.952057263
 16.20874892 0.901400446
  1.63205839 0.235388475
 -1.07921163 0.608376332
  0.24315118 0.862639830
 15.61923078 0.050955422
  1.99639207 0.358905687
  8.14825538 0.190069662
  4.55210835 0.784025901
 13.51582298 0.973572910
 15.42415796 0.969080992
  2.23978124 0.551857514
  1.00858991 0.919566804
 -2.77293574 0.906998180
  7.10750420 0.934792213
 -8.01377290 0.682306063
  9.67873875 0.239576806
  7.54867950 0.065860266
 13.85701962 0.733823443
  8.48212853 0.285731085
  3.55278843 0.998255904
 21.94592206 0.205463912
 -2.07957143 0.948665109
  1.54169997 0.200109744
-11.36934275 0.447122472
  3.07094572 0.815147945
  6.45818709 0.007849948
  1.85594578 0.818796540
 -2.43799564 0.962013689
-17.96539549 0.654190963
 -0.93433746 0.454930236
-11.06904368 0.898560975
 14.89733742 0.479152492
 -5.72390675 0.136197255
  9.46781102 0.669006610
  5.35954546 0.259381138
  3.78388994 0.933778797
  1.95373423 0.517555994
 10.96772341 0.666138826
  9.40585102 0.779906833
  0.75347502 0.142656741
  7.64803672 0.734297119
 -0.40051164 0.362230232
 10.00747057 0.660820381
-12.86024975 0.072988046
  1.43515528 0.229672223
 -6.75981709 0.658534537
 -5.61355474 0.795897133
 -4.40596595 0.038787666
 -1.37033650 0.371835229
  6.66666573 0.560963737
  8.18430044 0.284787698
 -0.55742330 0.622783662
 -0.39757686 0.673551753
-12.68628005 0.373038561
  4.06416215 0.760546238
  4.65859855 0.516761886
  3.55304076 0.266856843
 -7.35294817 0.615783196
  1.01222898 0.158266779
  9.91052610 0.285619547
 -6.42966726 0.573689954
 10.97425098 0.985095061
  5.79394599 0.404333309
 10.09106608 0.441037857
 -1.47295537 0.577661077
 -2.07959719 0.547176133
 -8.76910940 0.498979558
-11.15658312 0.135862745
 -0.88456783 0.326480064
  9.71607440 0.998076370
 -8.76072622 0.386244511
-19.26823092 0.461833959
 -0.11280313 0.064155908
  0.64625887 0.172078148
 -5.35323428 0.331153163
 -1.71034509 0.330955888
  4.27104744 0.590544244
  7.33843789 0.263171531
 -5.38121637 0.539675802
 -6.87566548 0.127313096
 -2.50161298 0.269417630
 10.99076986 0.097362729
  6.34017269 0.318528587
 -4.63672382 0.451038055
-11.55122495 0.987073278
  4.78618612 0.297342215
  2.97547390 0.197312152
 -5.54495280 0.499701114
 17.67606173 0.810316588
 16.01578815 0.643667608
 -0.16258467 0.228284761
  7.92123340 0.784289369
 -2.26303900 0.270764770
  5.84136933 0.437763291
  4.96955217 0.389720490
 -8.09516710 0.829068548
 14.59207207 0.513593803
  2.80954688 0.650799867
  4.53653552 0.672326278
  4.49116737 0.807447691
 18.87549709 0.647303378
  9.80118464 0.932576117
-13.02124969 0.038651904
 -6.15189291 0.697593318
 15.81920283 0.249825051
 10.81503188 0.152372300
-23.58738366 0.593560367
  8.15716338 0.411680007
  3.45349379 0.351061414
 -6.39345334 0.374926213
  8.72924585 0.165759028
 22.17948804 0.003736780
 -4.73053410 0.582425257
 16.88289626 0.484899167
 -1.78826142 0.663273340
 -0.78106025 0.337039969
 -2.92461669 0.810174719
-13.89224399 0.177428986
  4.56809819 0.025010350
 -1.07452825 0.649632933
  0.58148751 0.829606422
 12.13329525 0.354819526
 17.35605568 0.284862590
-12.43678107 0.827661083
 -1.89492796 0.574929572
  2.18520382 0.846299917
 18.11449649 0.603173531
  4.34508582 0.484049042
 17.49394569 0.094811656
 10.67752350 0.166176400
 17.13374502 0.547208197
  4.42138123 0.768691494
  5.38445574 0.788597361
  0.79946671 0.851883720
 -4.67547904 0.995621191
 -5.61496422 0.523793593
-20.52093126 0.881207308
 -8.95996814 0.851078124
 -7.63483710 0.739657373
 11.02131097 0.678060014
-10.56228517 0.202393048
  6.48841788 0.143946271
  3.44853632 0.913249620
 -0.02080024 0.070765134
  2.08654297 0.032468089
  8.13415912 0.439470874
 11.19028936 0.944954026
  0.26670866 0.492724593
 -9.33692734 0.982611921
 17.23967092 0.313428994
  0.36906670 0.660669528
  7.89735684 0.977628886
 -4.00171487 0.379327632
  5.01615432 0.735627296
  0.42214214 0.092461754
 13.60634772 0.218359635
  6.57431413 0.067653525
 -1.77668341 0.717799276
  5.16227422 0.325502093
-15.29091550 0.332815338
  3.33602480 0.594168551
 13.80131443 0.817724470
  5.92111679 0.947854666
  3.59747624 0.330860216
 -6.79722403 0.093518715
 -1.86606213 0.824179728
 17.05226458 0.466573672
 10.39712467 0.409067778
 -4.78536386 0.891470739
 11.92963128 0.719633060
 -1.44230992 0.232628002
-12.31860616 0.834134222
  2.93439660 0.957842480
 14.27963295 0.546264646
  2.17488820 0.701170328
 10.78772417 0.612332448
 -0.47049341 0.378564293
 -0.35140634 0.034337429
  5.04887868 0.211697132
 -3.51562580 0.663243607
 -0.82013387 0.602497174
  2.78954743 0.325294790
  8.67905777 0.820296625
-12.70343389 0.315467361
 -2.59373236 0.015571904
 -4.60369241 0.293737716
  1.58669084 0.671091860
-10.44245103 0.501340276
  4.85215578 0.141572007
 10.46303284 0.801814632
  1.27898298 0.236929983
 -1.72225479 0.608500539
 20.18685735 0.827124630
  3.27308817 0.542065179
  1.01596956 0.254672115
 -8.88872881 0.460876757
-11.31397349 0.636168639
  0.85294367 0.816417328
  3.54262337 0.944147626
-10.53603202 0.675775741
  4.34832198 0.121988381
 11.56451662 0.283063133
 -7.36454369 0.500596540
 -8.23701113 0.379483261
 -8.36081323 0.219730782
 -6.39158860 0.739171315
 -1.40518544 0.478709398
 -4.01314821 0.460476388
 -7.34814047 0.406242873
 -7.80836711 0.730648091
 -0.57729135 0.152336258
  4.98352832 0.026424939
 -3.78181635 0.453598432
 20.16821827 0.845273124
  5.20758271 0.573569671
 -3.05534245 0.286828574
 -5.31306254 0.961990401
  1.09307567 0.006478724
 -3.75412572 0.598277695
 -2.38444245 0.777900122
  2.46837742 0.280363751
  9.72195519 0.041094463
  3.96271247 0.604775284
  2.14105354 0.400315328
  7.88645912 0.404573389
 -4.03565076 0.798377309
 10.80180959 0.932152434
-10.89359212 0.446813857
  1.43144578 0.310194540
  4.79825196 0.504826858
 10.73201365 0.384306369
 -4.07526187 0.893893643
 -2.84330198 0.390202663
  5.81825057 0.830581384
 -2.77842745 0.382966910
 -7.70333673 0.157692966
 -3.25753058 0.726303603
  8.50032387 0.556524444
  2.35027236 0.857076526
 -1.70740565 0.194760923
 -3.40693880 0.696420946
 -8.03983352 0.514393263
 -1.85105344 0.609459979
 -9.01148029 0.526019631
 18.37344635 0.690793045
 16.46079416 0.811535334
  4.10224315 0.043403618
  7.06657672 0.831274577
 15.31421824 0.434558881
-12.36760970 0.004215634
  1.95473415 0.277788662
 -0.93207006 0.368433415
 15.39919341 0.843189783
  5.23452387 0.626226925
 11.40805770 0.002417288
 -1.30282837 0.072493756
  3.92130690 0.675355182
  2.53148399 0.027222295
  4.92705318 0.934429364
  5.54978818 0.042268708
 -2.19608977 0.246743834
 -0.62565550 0.858214200
 -8.98329365 0.646827226
 12.78468146 0.533966352
  2.01061290 0.418710227
  1.03689579 0.019241741
  8.01166696 0.992268130
 -4.49786437 0.694127903
 -8.15387184 0.066275002
  2.22256207 0.083301613
-12.27145086 0.535369809
  9.95709112 0.227692557
 14.58198717 0.667298058
  5.98046083 0.922503625
  1.25640725 0.632933575
  9.77623752 0.136171032
  5.57068426 0.374916651
-10.07048336 0.470411379
  3.69267954 0.897278365
  2.22185354 0.212539549
  7.96155623 0.720525208
 -6.21272358 0.771491819
  2.63054735 0.474989115
 -2.81488890 0.675381020
  4.52747191 0.118615879
 -3.22975936 0.783991133
 11.42834761 0.423344824
  0.26512464 0.617515445
 -5.84322807 0.210915613
  9.61073028 0.988117333
 -6.11878012 0.492318959
  5.30581443 0.339379499
 -6.40132703 0.903540026
  1.22921808 0.122161655
  8.08547837 0.197296588
 -0.77943801 0.935963718
 11.43194858 0.828270943
 -5.41689395 0.556863468
 15.14667847 0.565186375
 -5.15327419 0.542802437
 -3.95903082 0.643379366
  5.78847793 0.391369361
 11.54430873 0.158789330
  1.90340148 0.841316129
 14.69680285 0.532022770
  0.68552840 0.367073827
 -8.72287967 0.250127491
  9.35401445 0.836083158
  5.32139524 0.996712598
-14.53387897 0.825434481
 -2.93925146 0.513153861
 12.54386493 0.713306793
  2.04842442 0.993893406
  2.87461954 0.049843312
  4.89765230 0.376710062
 -6.23945314 0.321108142
 -3.45840168 0.854710947
  9.05807160 0.199992188
  3.33815006 0.787302467
  4.22244242 0.351841910
 15.75879160 0.268699469
  2.78549859 0.920299974
 -4.46643118 0.727283862
  0.48021298 0.428672083
  2.55814938 0.130915212
  5.00692968 0.062266047
  4.78801127 0.325124688
  6.39524485 0.693406744
-10.46792584 0.458128441
 10.14111908 0.353412759
-10.56424183 0.821588957
  7.60967746 0.267669137
 -2.34956688 0.434855697
 23.82269027 0.802311880
  8.37170447 0.445185000
 10.05024769 0.778687843
 -9.15753018 0.957292819
 12.17438228 0.774769426
  1.57960028 0.783591989
  0.06719501 0.849073924
 16.21114558 0.243444943
 -3.79808298 0.842994720
  8.98927715 0.020537113
  7.72362992 0.984168340
 11.25158442 0.152385348
-21.23936903 0.909204114
  7.34995949 0.987249305
 -7.99435203 0.335456401
 -2.78218185 0.768517548
 11.59547596 0.466617637
 15.90870706 0.071892573
  5.58160897 0.554485703
 16.05253351 0.815206562
 -3.23103465 0.280495460
 -4.61108636 0.035757819
  5.41596511 0.746146856
  2.92445613 0.136743821
 11.23628254 0.681316365
-12.93714705 0.838791576
  9.94668264 0.084457395
 -4.56061529 0.983605894
 -4.24795688 0.601732731
 -2.83740044 0.375102341
 -0.43078317 0.403870303
 15.19689584 0.114826374
-10.29920266 0.731582141
  6.01686515 0.641655876
  6.69431335 0.496723697
  4.62223602 0.328118236
 -1.74309026 0.072604771
 14.31971261 0.827101483
 -1.86629155 0.613346722
  8.30971428 0.274948560
  8.50080711 0.059822908
 -7.94061422 0.121069240
 -2.72096492 0.710791774
  3.33259421 0.398621625
  1.73248470 0.488581205
  9.56008489 0.011104565
 12.71499762 0.038568985
  4.11512127 0.219846314
 -0.96707584 0.822646857
  4.98621667 0.633779997
  4.69384821 0.295708955
 10.16008645 0.778287787
 -7.72973800 0.097096969
  2.87264210 0.796538177
  4.56095440 0.862952770
  5.02621658 0.934628629
  3.18138681 0.805600816
 -1.02245780 0.317640678
 18.16001652 0.992503640
  4.13729026 0.941910149
  1.61211303 0.377271914
  1.71520009 0.735196094
  3.26325421 0.514432564
 12.94663819 0.591190711
 10.53239931 0.005877708
  8.06705056 0.340779884
 -5.09007267 0.332516161
 12.31973355 0.323119296
 -2.69957650 0.633232996
 12.51207803 0.377641090
  8.02081444 0.859293157
 -0.13098726 0.099370804
 -0.97757546 0.852873609
 16.73605399 0.595854575
  3.63219184 0.329310613
 -4.79105630 0.247760146
 -4.77209495 0.708235587
  0.92107647 0.924567254
 12.12724271 0.433550712
 -5.07731478 0.200109463
  9.16019579 0.897456586
 18.33260560 0.649877409
  1.93596773 0.584401505
  8.51254631 0.283154523
 11.41092928 0.698703314
 10.85035748 0.351078210
 12.62749979 0.570101319
 -2.32028296 0.313842122
 -2.45778301 0.007943144
  6.93102526 0.108737491
 -0.67304654 0.245399613
  9.27294774 0.204010286
 14.29292826 0.396294626
 14.05843185 0.864613328
 -3.73515954 0.305862948
  0.36606339 0.116802407
 -5.79235478 0.457308058
  8.70346900 0.858244380
 -8.91321043 0.077001581
  0.58499566 0.503209780
  0.39160153 0.324883353
  7.46715326 0.343451039
 12.36256009 0.679483638
  8.84283689 0.687359177
 -6.39396909 0.113065562
 -3.67844896 0.667335667
  9.36904962 0.009815419
 -3.25244888 0.213105120
 19.09389976 0.593130536
  7.28826611 0.829483570
 -5.44565944 0.956490203
  7.96993416 0.770961635
  0.20683778 0.006497153
 -3.73273760 0.037042812
-10.64745846 0.813594448
  5.70578906 0.157678242
  4.05282218 0.224663656
 14.77711159 0.577586777
  0.89685942 0.297213941
  3.92600687 0.672347849
-12.29347477 0.367072171
 -9.33603480 0.456544225
 -0.86683190 0.088696811
  4.65685745 0.779783359
  1.24438030 0.712958633
 11.43533814 0.920345548
-10.18380242 0.044456697
 -1.20684029 0.992051648
 -9.78059038 0.611477837
  3.05588762 0.581933667
  3.47419279 0.769325101
  0.87528245 0.455214184
 -3.13185655 0.805887381
 -0.82283965 0.707668384
 -1.86717272 0.984060013
 16.56357048 0.217369677
 -2.11052646 0.474156371
 -1.39795364 0.958554209
  4.87468692 0.328779186
  2.69163553 0.401633221
  6.08640626 0.599963560
  7.41420081 0.240202007
  5.73729928 0.696034193
  7.31747120 0.569520861
 -6.20465547 0.214005920
 17.52477873 0.667125450
 12.97855692 0.796977778
 -3.35883428 0.379721403
 -2.90306972 0.552454626
  5.31617371 0.401625473
 -3.86414389 0.830986352
-14.94107832 0.702705123
 -5.74060402 0.833328045
 -8.10116203 0.078855027
 23.48247017 0.568666620
 20.22005082 0.357069809
 -2.53387193 0.637455425
 15.72048831 0.845354124
 -4.41494567 0.934471473
 -8.02254420 0.378467959
 -0.13398716 0.489382793
  0.95967155 0.813667919
  0.14835664 0.215786848
 14.31875579 0.675145039
 -6.36589196 0.822037848
  8.25942906 0.156787526
 -7.33597529 0.051076292
 12.58936771 0.666507807
  2.34653798 0.626196518
 -0.69351398 0.050664564
  7.08738260 0.808776877
  5.19653521 0.779008623
  3.20900427 0.197212774
  7.81171331 0.744975548
  6.49008186 0.991318119
  7.27471854 0.839642650
 -7.68367290 0.880500743
 12.04846713 0.797754890
 14.93435279 0.190527791
 -3.83641079 0.075995951
  2.15090497 0.426560973
 -3.61166623 0.777188818
  8.49333248 0.891445999
 -7.46936100 0.148607446
 13.85406193 0.983656455
 12.20477754 0.499345090
 10.09415710 0.638127733
  5.37134772 0.110929011
  8.17660840 0.879411588
 -4.38804367 0.608933700
-11.78145902 0.265134740
  6.18940186 0.970982743
-16.24831477 0.844983635
  9.52790402 0.578152651
 16.44372225 0.264144422
 -2.48286428 0.893865621
  5.33297280 0.512990215
 -2.68912507 0.851636020
  9.94607707 0.644483197
 -1.93526852 0.550759844
  2.34310539 0.787853650
 11.79131608 0.983668283
  3.16689104 0.605394987
 10.47759320 0.919442774
  2.86973133 0.557835916
 10.30674302 0.442504870
 10.92820575 0.976183635
  7.98050212 0.139334994
 -0.64719705 0.981199028
 -2.63625596 0.341524563
 11.38799583 0.858987904
  1.37321916 0.202373294
 12.66698520 0.142127091
  5.83599540 0.864497670
  4.88659560 0.472598564
 13.00108599 0.961629827
  5.79514791 0.408377170
 -1.47807631 0.536772872
 -3.38142805 0.288956265
  6.25154986 0.828695103
  2.40919373 0.478123848
  3.72990486 0.056539500
 -9.90915815 0.603356617
  0.21737084 0.737251896
  5.36929388 0.026920178
 -1.05027354 0.034992509
 -4.97887624 0.506301429
 -6.40058435 0.014061876
 -0.14610837 0.619699963
  3.78483619 0.653952701
  3.84143365 0.162122572
  2.66030676 0.196542503
-10.56809462 0.386200215
 -5.01140125 0.711703654
 -3.09809005 0.118120179
 -2.76110171 0.118809515
  2.85825107 0.129646974
  2.75993661 0.171779333
 11.55931169 0.372165133
  9.21211486 0.969079819
  6.02207148 0.498965865
 -3.52883224 0.954619249
 -2.60190803 0.069405278
  1.34183694 0.569402487
-11.35155228 0.766344735
  1.04661568 0.023673810
 -1.90461932 0.179728300
 13.72465582 0.467775796
 19.14882438 0.476924297
 -1.07480326 0.944407858
 -8.44289331 0.059804028
  1.89732882 0.743225795
 -7.87832463 0.672539050
-12.24163608 0.916803014
-12.77212790 0.648129714
  6.39197262 0.622954436
  5.26261666 0.494421400
-10.65239640 0.695527931
  4.63841458 0.499519163
 -2.94276544 0.429201572
  4.68788953 0.639613685
 -1.03031400 0.349342009
 -2.69946354 0.221796918
-15.32237714 0.631289988
 -8.31962698 0.925363812
 -5.80897714 0.833536878
  7.16070989 0.832098478
-10.99679727 0.794048223
  0.84514458 0.748014415
  2.23308495 0.111176288
  3.56351018 0.599805508
  0.88336430 0.746908710
-14.63461670 0.314391808
  4.39039715 0.079604833
 -7.07001439 0.633705345
  2.11252583 0.461468123
  7.60219364 0.497389476
 -4.87713428 0.039952736
  2.17515292 0.421830084
  0.64302362 0.267982804
-22.29371533 0.646257366
  0.31652779 0.060548371
  7.93445046 0.343570449
  0.28292029 0.651909785
  2.77775640 0.637679287
  6.22941586 0.291132945
 23.68567532 0.708513840
  9.49503014 0.645200206
  0.87405420 0.063154289
 -4.04931224 0.110797498
  8.91607239 0.732917195
 -5.77728018 0.635435595
-16.37296319 0.343727613
  9.87409940 0.774177478
 -8.11360210 0.377765616
 14.54242540 0.204343527
  0.36239636 0.115528352
 19.51009176 0.181365423
  1.23592729 0.011676577
-15.81877035 0.767155028
 -0.05911251 0.737944231
 -6.55395965 0.214062137
 -7.85591487 0.539865054
 -9.73010882 0.730924287
 11.79433862 0.267116856
 -8.84308360 0.088069165
 -5.56689174 0.405987947
  7.59010135 0.655631611
 10.07629305 0.031106157
 -6.19331485 0.052350502
 -4.58626710 0.326901540
 -5.19431549 0.125740555
 -2.08129025 0.034657174
-10.48798034 0.153632237
 13.04657686 0.317295703
  1.94142067 0.731437668
 -1.62470735 0.701070475
-12.27046912 0.505781742
 -2.96095228 0.122808075
 -2.91847765 0.372668438
-14.83230131 0.100749725
 16.57350659 0.707854947
 10.05473238 0.244046174
  5.50858969 0.070691273
  7.65309196 0.245393047
  7.16359996 0.056261015
  4.33026356 0.318855549
 -4.65721575 0.271249938
  2.85909691 0.309377566
  3.02736080 0.553944209
  6.22796768 0.763945813
 -4.47036396 0.197721195
  2.78901176 0.441166128
 -9.94574794 0.964660659
  1.86451969 0.704635530
-10.38926659 0.772304221
 -5.36565800 0.029527218
  1.99230152 0.578448308
 13.65547415 0.936050102
 -2.05229879 0.851521142
  0.99504588 0.974891334
 -1.46027404 0.320227281
 -8.45614275 0.727910071
 -0.95201934 0.199101032
 -2.46642929 0.462252060
 -6.44060430 0.703637604
 -2.58115910 0.084948525
  0.76248197 0.125769097
 12.00603845 0.675927328
  1.97538215 0.782502470
  2.23331320 0.870228155
 -3.10226060 0.485056198
 12.59337170 0.584729095
 -2.42247402 0.387588168
  9.41981063 0.374604221
  6.26806243 0.727453335
 -5.30630356 0.427294265
 13.81542647 0.394246994
  1.05647858 0.646684666
-12.25005208 0.010531726
 -4.58162076 0.077133994
  0.58094190 0.400275636
  5.79443858 0.641731247
  8.87635216 0.913593476
  9.71048520 0.955285711
 13.10563373 0.908471848
  4.99194220 0.967014095
 15.88178853 0.041518216
  9.35962068 0.864770023
 -7.53095731 0.300106124
 12.18427585 0.248876997
  9.22034502 0.450149366
 -1.02861237 0.684246939
 -2.98140404 0.326901490
 -4.64316598 0.425381055
 15.35233259 0.630774937
 -1.85655250 0.226889991
 15.43748330 0.584219351
 10.39060893 0.387854461
  2.80705696 0.564024865
  3.48201221 0.787103673
  7.03787977 0.112019552
  8.41853061 0.798376796
 15.63925527 0.873984550
 -4.05742183 0.699131238
  6.56954685 0.720018710
  2.44007265 0.232697343
  3.75597926 0.975133449
  2.92362149 0.290975435
 -4.74372257 0.003738451
  1.28365940 0.987536495
 15.65288265 0.179629701
-11.76385004 0.850614822
  1.56331228 0.592017435
 -9.64774741 0.024951969
 -9.44879860 0.993960270
 29.33340056 0.913358233
  7.97233120 0.021820585
-12.10837953 0.401535846
 -1.20729618 0.984977268
  3.63219301 0.491142613
  2.79853507 0.663823888
  3.19584583 0.612511282
 -0.81790885 0.908769330
 -1.67795944 0.611690031
  2.55137163 0.109447998
  4.36572889 0.382049700
 -6.35667866 0.162787163
 -0.76239101 0.892383562
 -3.99558996 0.466572017
 -0.47513018 0.457760464
-10.69568261 0.544872910
  4.30943512 0.982456072
  2.91825703 0.823403368
  0.10753188 0.945676881
 -8.38623073 0.923085521
  4.95690232 0.188128654
  5.39956649 0.331692462
 -1.47421789 0.327711090
 -1.81689665 0.713285385
  5.15137860 0.414906436
  5.68897151 0.110799415
  0.78825159 0.396824099
 -1.78376652 0.929264595
  0.76991060 0.950124414
 15.81469073 0.951245195
 -4.33820920 0.009896093
  1.67174323 0.821983745
  0.38997945 0.928857784
  1.97848484 0.175680230
 -5.81067801 0.772580245
-10.45208478 0.418845035
 13.34024524 0.905645046
 -8.79585122 0.906516178
  2.89093397 0.113010960
  2.22324289 0.799940482
  8.95497981 0.984663669
  0.93288527 0.277914575
-17.35306978 0.455587022
 -3.26914604 0.406757639
  8.75871227 0.067059659
  1.79914932 0.784879863
 -0.67305388 0.006393497
  1.66805704 0.039614073
  9.03868439 0.601066847
  4.29458670 0.015772820
 -8.15564320 0.939633197
 12.50538902 0.766347628
 -0.45547258 0.464314122
 -9.47180656 0.640114882
-13.25567198 0.125841930
  2.87660101 0.381931128
  7.37834152 0.648958712
 -0.45874073 0.303139498
  4.87941450 0.500090729
  4.50344891 0.311329309
 -6.14257896 0.061368838
  5.98243271 0.873804882
 -2.64694079 0.080493398
-17.79727796 0.188420116
-13.52552336 0.798403568
  2.29086373 0.518700767
  5.21493652 0.788828533
 -8.09641615 0.775041349
  5.87005782 0.079447757
 10.74795720 0.955691540
 -8.01115709 0.004508053
 -7.53735064 0.054195934
 -6.79130165 0.877193354
 -1.26419539 0.837772170
  8.31082852 0.967509866
 21.83090247 0.261529880
 11.20453234 0.913858875
  7.19128396 0.541942489
 -2.93623595 0.860095891
 -3.61446403 0.022418065
 -6.59997709 0.532998307
  3.71486934 0.522669434
 18.03420874 0.295064126
 -8.75452291 0.390175021
 -7.83680812 0.263760724
 -1.10263921 0.501819826
  2.05633484 0.338684642
  5.25636848 0.558667384
 -7.33260497 0.457327559
  3.86721296 0.612182242
-15.94331373 0.478329365
  3.71501899 0.264241588
 18.26175822 0.023212661
 -5.21093378 0.184378036
 -2.44074986 0.297114134
-11.88339919 0.875956945
  7.52127093 0.927322099
  5.31597834 0.416344968
 11.42012314 0.952491078
 13.64950955 0.794183413
 12.50861255 0.390723282
 -3.48142207 0.538708662
 14.32910902 0.085221990
  5.76196699 0.313860477
  2.63751452 0.917424732
  2.99975231 0.208662214
  7.09852825 0.798246964
 -1.95742636 0.352166210
  7.80534904 0.386523123
 -4.47229047 0.290188493
 -4.35535158 0.761527294
  1.47083860 0.447897289
  3.09504296 0.048513534
  3.50446804 0.925072429
 12.00487617 0.574499971
 10.35171466 0.934193962
 -5.63256003 0.968833982
  7.15625220 0.467160468
 -7.81378393 0.790220187
  4.52101003 0.014459969
 12.90773453 0.990835752
  7.70737851 0.785329264
 -3.37196794 0.066025357
 -5.12793918 0.347459322
 -7.96083724 0.216608294
 12.81247279 0.287880308
  4.63872463 0.426881173
 -3.85439309 0.336532356
  4.55633320 0.108001536
 -2.40824634 0.135247519
  1.65932541 0.005108006
  3.26129578 0.093163961
 -3.52114597 0.544041275
 -9.08479260 0.111212700
  7.75150456 0.942726234
  7.44829768 0.396996218
 14.44430576 0.525470762
 -2.13457508 0.207577358
  9.74871681 0.537177845
 -4.53338693 0.625854028
 16.15962824 0.947933141
 -0.17711664 0.480940902
 -7.21470818 0.006952612
 -6.27644212 0.737909602
 -0.81648165 0.230003567
 -2.10429152 0.209671398
  7.69291241 0.987903443
 -0.32284504 0.183904658
 -0.90833921 0.782169770
 10.35542238 0.201758865
 10.40788689 0.540802365
 10.80011849 0.298263948
  7.39943598 0.785716539
-12.71674257 0.154135834
 16.67139866 0.116794235
 12.47832985 0.998179468
  3.24041348 0.653080096
 -5.50381593 0.995396942
-10.41952811 0.576472768
  4.33514092 0.146434686
  4.41294276 0.507165968
 -0.14746982 0.698144836
 -1.33323051 0.466481571
 -7.01201350 0.797150114
  6.58669848 0.942287809
  7.19444974 0.053569397
 -5.66046997 0.435728340
 -5.07828702 0.497727572
 13.72045272 0.324222944
  9.99111984 0.355713969
 -4.42363728 0.071790181
 -2.34300923 0.618434528
  4.98594041 0.605667438
 -2.45307721 0.894546647
 -3.52276424 0.760086779
 -3.69489441 0.960758209
 13.04792817 0.511273320
 21.61433486 0.236270637
 -9.57303968 0.964235539
 11.70400744 0.391045695
  4.25170422 0.411577090
  7.87516537 0.952858161
  9.89202673 0.971106687
  7.51554467 0.505791978
  2.17944879 0.893835908
  0.82420351 0.213912155
  2.47121932 0.688019842
-14.88503628 0.640950883
  8.16032283 0.277742858
 -4.65776244 0.129415853
  7.48274838 0.074213153
  7.70537066 0.476778957
  5.88202944 0.351838898
  1.95618325 0.106331699
  7.22064623 0.511434587
-18.64632081 0.009314188
 -6.16794611 0.526204245
  2.14042033 0.675800465
 -1.89535048 0.916845690
 -7.77156605 0.069742819
 -6.84078801 0.865082345
  8.17539904 0.095895629
 10.75170309 0.821383078
 14.31498805 0.117893208
 -2.82264467 0.809086411
  0.11117380 0.400587471
  6.43898314 0.333163663
  9.48110784 0.465173316
  5.39395511 0.695273081
 -2.05636570 0.508060862
  0.68666117 0.647109494
 -6.41880322 0.267530762
 -0.12096589 0.986901165
  6.46062643 0.588580914
 -4.20926136 0.550783675
  4.07354300 0.907963701
 10.84045143 0.900920521
  2.64504664 0.767700269
 10.34578229 0.197810342
 -0.19222273 0.281932395
  3.47400952 0.977555902
 11.04549389 0.694010579
  6.79729856 0.056652433
  9.28300628 0.598930531
 -3.53453282 0.183412212
  8.04028248 0.250746943
  5.75964045 0.424692336
 -4.98252741 0.867446071
 12.00352175 0.289615080
  7.53497791 0.350915526
  2.54579776 0.655113837
 -9.29572208 0.900136667
  6.41659249 0.100570650
  7.37095646 0.907179211
-12.78417775 0.262214556
  0.87962107 0.624657444
 -5.96939907 0.296725805
 -2.56857339 0.604065931
  4.27131811 0.962952479
 21.72603838 0.442485270
  6.10056565 0.418383130
 10.48099521 0.333593221
 19.28363092 0.382408442
  2.12080726 0.601206970
 -6.82450704 0.740158518
 11.32395692 0.627015570
  5.00040701 0.476274658
-11.64750733 0.105099095
  5.77442654 0.576560214
  0.31340364 0.516479036
 -2.09881449 0.146089191
  5.12411327 0.368130477
  1.70530391 0.621828438
-12.95649749 0.355726301
  8.43735652 0.275383759
-15.56161079 0.413160084
  5.28942694 0.069125495
  5.96040877 0.438716686
 -2.59318107 0.571116303
  6.95988992 0.650760909
 14.00074797 0.623645969
  1.66101456 0.558763985
 -2.57968349 0.648185379
 -5.47584253 0.716901151
  6.37222581 0.060563130
  2.83664864 0.842419730
  1.48926558 0.620280308
  0.33471689 0.170312461
  5.21648412 0.317639631
  0.51733642 0.843867329
  9.86005834 0.306036746
 -5.81145791 0.975655452
 -5.43219061 0.303385368
  5.87157118 0.677369776
  2.08889926 0.310200439
 -2.53433085 0.194730908
  7.01359575 0.674259533
 -2.00936260 0.682056466
 -2.98240739 0.787899917
 -7.43289210 0.357483044
-12.58905988 0.981387385
  5.78095517 0.533526274
 -1.23065889 0.687266774
 -6.82309960 0.293249774
  8.47000829 0.842056399
 -5.81624772 0.303700280
-14.83571031 0.311387926
  4.66808472 0.091222946
 -2.90144463 0.438301785
 10.62458662 0.828335698
  7.88002491 0.990156110
 10.27680283 0.251087079
 -9.42498970 0.292462244
  6.73027640 0.213065205
  1.28169895 0.353152789
-14.29203733 0.264563048
 20.35772711 0.265208837
  3.55095071 0.242905653
-17.97067670 0.373951756
 10.53141139 0.247520698
  0.05293205 0.579940423
 12.79674707 0.288031751
 -5.44235185 0.075899079
 14.29464811 0.960707538
 -1.36753291 0.124265178
 -4.25946974 0.521720352
-12.46519252 0.385503339
 -6.65343143 0.540942219
  5.55949184 0.143194404
 -1.20480594 0.515905644
 -4.13839908 0.164461445
 -2.21345425 0.812969725
  3.94223380 0.229238952
-10.78661097 0.395049514
  3.06997341 0.791234255
 24.82205477 0.110859039
  6.28791249 0.867125744
 -2.80296119 0.703583849
 13.24274039 0.425951975
 -0.19577471 0.361568727
 -2.34894781 0.954814545
 19.76339577 0.635462177
 -1.87591480 0.149121567
 -7.70962391 0.711708342
 -2.46291902 0.390902746
end data
regression /variables=v0 v1 /statistics defaults /dependent=v0 /method=enter.
_ATEOF


{ set +x
$as_echo "$at_srcdir/regression.at:1782: pspp -O format=csv regression.sps"
at_fn_check_prepare_trace "regression.at:1782"
( $at_check_trace; pspp -O format=csv regression.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Reading free-form data from INLINE.
Variable,Format
v0,F8.0
v1,F8.0

Table: Model Summary (v0)
,R,R Square,Adjusted R Square,Std. Error of the Estimate
,.05,.00,.00,8.11

Table: ANOVA (v0)
,,Sum of Squares,df,Mean Square,F,Sig.
,Regression,235.23,1,235.23,3.58,.059
,Residual,98438.40,1498,65.71,,
,Total,98673.63,1499,,,

Table: Coefficients (v0)
,,Unstandardized Coefficients,,Standardized Coefficients,,
,,B,Std. Error,Beta,t,Sig.
,(Constant),1.24,.42,.00,2.95,.003
,v1,1.37,.72,.05,1.89,.059
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1782"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_656
#AT_START_657
at_fn_group_banner 657 'regression.at:1807' \
  "LINEAR REGRESSION no crash on all missing" "      " 86
at_xfail=no
(
  $as_echo "657. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >regcrash.sps <<'_ATEOF'
data list list /x * y.
begin data.
 . .
 . .
 . .
 . .
 . .
 . .
 . .
 . .
 . .
 . .
end data.


regression /variables=x y /dependent=y.
_ATEOF


{ set +x
$as_echo "$at_srcdir/regression.at:1827: pspp -o pspp.csv regcrash.sps"
at_fn_check_prepare_trace "regression.at:1827"
( $at_check_trace; pspp -o pspp.csv regcrash.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
at_fn_check_status 1 $at_status "$at_srcdir/regression.at:1827"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_657
#AT_START_658
at_fn_group_banner 658 'regression.at:1833' \
  "LINEAR REGRESSION missing dependent variable" "   " 86
at_xfail=no
(
  $as_echo "658. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >reg-mdv-ref.sps <<'_ATEOF'
data list notable list / v0 to v2.
begin data
 0.65377128  7.735648 -23.97588
-0.13087553  6.142625 -19.63854
 0.34880368  7.651430 -25.26557
 0.69249021  6.125125 -16.57090
-0.07368178  8.245789 -25.80001
-0.34404919  6.031540 -17.56743
 0.75981559  9.832291 -28.35977
-0.46958313  5.343832 -16.79548
-0.06108490  8.838262 -29.25689
 0.56154863  6.200189 -18.58219
end data
regression /variables=v0 v1
	     /statistics defaults
	     /dependent=v2
	     /method=enter.
_ATEOF


{ set +x
$as_echo "$at_srcdir/regression.at:1857: pspp -o pspp-ref.csv reg-mdv-ref.sps"
at_fn_check_prepare_trace "regression.at:1857"
( $at_check_trace; pspp -o pspp-ref.csv reg-mdv-ref.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1857"
$at_failed && at_fn_log_failure
$at_traceon; }


cat >reg-mdv.sps <<'_ATEOF'
data list notable list / v0 to v2.
begin data
 0.65377128  7.735648 -23.97588
-0.13087553  6.142625 -19.63854
 0.34880368  7.651430 -25.26557
 0.69249021  6.125125 -16.57090
-0.07368178  8.245789 -25.80001
-0.34404919  6.031540 -17.56743
 0.75981559  9.832291 -28.35977
-0.46958313  5.343832 -16.79548
-0.06108490  8.838262 -29.25689
 0.56154863  6.200189 -18.58219
 0.5         8         9
end data

missing values v2 (9).

regression /variables=v0 v1
	     /statistics defaults
	     /dependent=v2
	     /method=enter.
_ATEOF


{ set +x
$as_echo "$at_srcdir/regression.at:1883: pspp -o pspp.csv reg-mdv.sps"
at_fn_check_prepare_trace "regression.at:1883"
( $at_check_trace; pspp -o pspp.csv reg-mdv.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1883"
$at_failed && at_fn_log_failure
$at_traceon; }


{ set +x
$as_echo "$at_srcdir/regression.at:1885: diff pspp.csv pspp-ref.csv"
at_fn_check_prepare_trace "regression.at:1885"
( $at_check_trace; diff pspp.csv pspp-ref.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/regression.at:1885"
$at_failed && at_fn_log_failure
$at_traceon; }



  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_658
#AT_START_659
at_fn_group_banner 659 'regression.at:1890' \
  "LINEAR REGRESSION with invalid syntax (and empty dataset)" "" 86
at_xfail=no
(
  $as_echo "659. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >ss.sps <<'_ATEOF'
data list notable list / v0 to v2.
begin data
end data.

regression /variables=v0 v1
	     /statistics r coeff anova
	     /dependent=v2
	     /method=enter v2.
_ATEOF


{ set +x
$as_echo "$at_srcdir/regression.at:1903: pspp ss.sps"
at_fn_check_prepare_trace "regression.at:1903"
( $at_check_trace; pspp ss.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 1 $at_status "$at_srcdir/regression.at:1903"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_659
#AT_START_660
at_fn_group_banner 660 'regression.at:1910' \
  "LINEAR REGRESSION coefficient confidence interval" "" 86
at_xfail=no
(
  $as_echo "660. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >conf.sps <<'_ATEOF'
set format = F22.3.

data list notable list /math female socst read science *
begin data.
    41.00       .00     57.00     57.00     47.00
    53.00      1.00     61.00     68.00     63.00
    54.00       .00     31.00     44.00     58.00
    47.00       .00     56.00     63.00     53.00
    57.00       .00     61.00     47.00     53.00
    51.00       .00     61.00     44.00     63.00
    42.00       .00     61.00     50.00     53.00
    45.00       .00     36.00     34.00     39.00
    54.00       .00     51.00     63.00     58.00
    52.00       .00     51.00     57.00     50.00
    51.00       .00     61.00     60.00     53.00
    51.00       .00     61.00     57.00     63.00
    71.00       .00     71.00     73.00     61.00
    57.00       .00     46.00     54.00     55.00
    50.00       .00     56.00     45.00     31.00
    43.00       .00     56.00     42.00     50.00
    51.00       .00     56.00     47.00     50.00
    60.00       .00     56.00     57.00     58.00
    62.00       .00     61.00     68.00     55.00
    57.00       .00     46.00     55.00     53.00
    35.00       .00     41.00     63.00     66.00
    75.00       .00     66.00     63.00     72.00
    45.00       .00     56.00     50.00     55.00
    57.00       .00     61.00     60.00     61.00
    45.00       .00     46.00     37.00     39.00
    46.00       .00     31.00     34.00     39.00
    66.00       .00     66.00     65.00     61.00
    57.00       .00     46.00     47.00     58.00
    49.00       .00     46.00     44.00     39.00
    49.00       .00     41.00     52.00     55.00
    57.00       .00     51.00     42.00     47.00
    64.00       .00     61.00     76.00     64.00
    63.00       .00     71.00     65.00     66.00
    57.00       .00     31.00     42.00     72.00
    50.00       .00     61.00     52.00     61.00
    58.00       .00     66.00     60.00     61.00
    75.00       .00     66.00     68.00     66.00
    68.00       .00     66.00     65.00     66.00
    44.00       .00     36.00     47.00     36.00
    40.00       .00     51.00     39.00     39.00
    41.00       .00     51.00     47.00     42.00
    62.00       .00     51.00     55.00     58.00
    57.00       .00     51.00     52.00     55.00
    43.00       .00     41.00     42.00     50.00
    48.00       .00     66.00     65.00     63.00
    63.00       .00     46.00     55.00     69.00
    39.00       .00     47.00     50.00     49.00
    70.00       .00     51.00     65.00     63.00
    63.00       .00     46.00     47.00     53.00
    59.00       .00     51.00     57.00     47.00
    61.00       .00     56.00     53.00     57.00
    38.00       .00     41.00     39.00     47.00
    61.00       .00     46.00     44.00     50.00
    49.00       .00     71.00     63.00     55.00
    73.00       .00     66.00     73.00     69.00
    44.00       .00     42.00     39.00     26.00
    42.00       .00     32.00     37.00     33.00
    39.00       .00     46.00     42.00     56.00
    55.00       .00     41.00     63.00     58.00
    52.00       .00     51.00     48.00     44.00
    45.00       .00     61.00     50.00     58.00
    61.00       .00     66.00     47.00     69.00
    39.00       .00     46.00     44.00     34.00
    41.00       .00     36.00     34.00     36.00
    50.00       .00     61.00     50.00     36.00
    40.00       .00     26.00     44.00     50.00
    60.00       .00     66.00     60.00     55.00
    47.00       .00     26.00     47.00     42.00
    59.00       .00     44.00     63.00     65.00
    49.00       .00     36.00     50.00     44.00
    46.00       .00     51.00     44.00     39.00
    58.00       .00     61.00     60.00     58.00
    71.00       .00     66.00     73.00     63.00
    58.00       .00     66.00     68.00     74.00
    46.00       .00     51.00     55.00     58.00
    43.00       .00     31.00     47.00     45.00
    54.00       .00     61.00     55.00     49.00
    56.00       .00     66.00     68.00     63.00
    46.00       .00     46.00     31.00     39.00
    54.00       .00     56.00     47.00     42.00
    57.00       .00     56.00     63.00     55.00
    54.00       .00     36.00     36.00     61.00
    71.00       .00     56.00     68.00     66.00
    48.00       .00     56.00     63.00     63.00
    40.00       .00     41.00     55.00     44.00
    64.00       .00     66.00     55.00     63.00
    51.00       .00     56.00     52.00     53.00
    39.00       .00     56.00     34.00     42.00
    40.00       .00     31.00     50.00     34.00
    61.00       .00     56.00     55.00     61.00
    66.00       .00     46.00     52.00     47.00
    49.00       .00     46.00     63.00     66.00
    65.00      1.00     61.00     68.00     69.00
    52.00      1.00     48.00     39.00     44.00
    46.00      1.00     51.00     44.00     47.00
    61.00      1.00     51.00     50.00     63.00
    72.00      1.00     56.00     71.00     66.00
    71.00      1.00     71.00     63.00     69.00
    40.00      1.00     41.00     34.00     39.00
    69.00      1.00     61.00     63.00     61.00
    64.00      1.00     66.00     68.00     69.00
    56.00      1.00     61.00     47.00     66.00
    49.00      1.00     41.00     47.00     33.00
    54.00      1.00     51.00     63.00     50.00
    53.00      1.00     51.00     52.00     61.00
    66.00      1.00     56.00     55.00     42.00
    67.00      1.00     56.00     60.00     50.00
    40.00      1.00     33.00     35.00     51.00
    46.00      1.00     56.00     47.00     50.00
    69.00      1.00     71.00     71.00     58.00
    40.00      1.00     56.00     57.00     61.00
    41.00      1.00     51.00     44.00     39.00
    57.00      1.00     66.00     65.00     46.00
    58.00      1.00     56.00     68.00     59.00
    57.00      1.00     66.00     73.00     55.00
    37.00      1.00     41.00     36.00     42.00
    55.00      1.00     46.00     43.00     55.00
    62.00      1.00     66.00     73.00     58.00
    64.00      1.00     56.00     52.00     58.00
    40.00      1.00     51.00     41.00     39.00
    50.00      1.00     51.00     60.00     50.00
    46.00      1.00     56.00     50.00     50.00
    53.00      1.00     56.00     50.00     39.00
    52.00      1.00     46.00     47.00     48.00
    45.00      1.00     46.00     47.00     34.00
    56.00      1.00     61.00     55.00     58.00
    45.00      1.00     56.00     50.00     44.00
    54.00      1.00     41.00     39.00     50.00
    56.00      1.00     46.00     50.00     47.00
    41.00      1.00     26.00     34.00     29.00
    54.00      1.00     56.00     57.00     50.00
    72.00      1.00     56.00     57.00     54.00
    56.00      1.00     51.00     68.00     50.00
    47.00      1.00     46.00     42.00     47.00
    49.00      1.00     66.00     61.00     44.00
    60.00      1.00     66.00     76.00     67.00
    54.00      1.00     46.00     47.00     58.00
    55.00      1.00     56.00     46.00     44.00
    33.00      1.00     41.00     39.00     42.00
    49.00      1.00     61.00     52.00     44.00
    43.00      1.00     51.00     28.00     44.00
    50.00      1.00     52.00     42.00     50.00
    52.00      1.00     51.00     47.00     39.00
    48.00      1.00     41.00     47.00     44.00
    58.00      1.00     66.00     52.00     53.00
    43.00      1.00     61.00     47.00     48.00
    41.00      1.00     31.00     50.00     55.00
    43.00      1.00     51.00     44.00     44.00
    46.00      1.00     41.00     47.00     40.00
    44.00      1.00     41.00     45.00     34.00
    43.00      1.00     46.00     47.00     42.00
    61.00      1.00     56.00     65.00     58.00
    40.00      1.00     51.00     43.00     50.00
    49.00      1.00     61.00     47.00     53.00
    56.00      1.00     66.00     57.00     58.00
    61.00      1.00     71.00     68.00     55.00
    50.00      1.00     61.00     52.00     54.00
    51.00      1.00     61.00     42.00     47.00
    42.00      1.00     41.00     42.00     42.00
    67.00      1.00     66.00     66.00     61.00
    53.00      1.00     61.00     47.00     53.00
    50.00      1.00     58.00     57.00     51.00
    51.00      1.00     31.00     47.00     63.00
    72.00      1.00     61.00     57.00     61.00
    48.00      1.00     61.00     52.00     55.00
    40.00      1.00     31.00     44.00     40.00
    53.00      1.00     61.00     50.00     61.00
    39.00      1.00     36.00     39.00     47.00
    63.00      1.00     41.00     57.00     55.00
    51.00      1.00     37.00     57.00     53.00
    45.00      1.00     43.00     42.00     50.00
    39.00      1.00     61.00     47.00     47.00
    42.00      1.00     39.00     42.00     31.00
    62.00      1.00     51.00     60.00     61.00
    44.00      1.00     51.00     44.00     35.00
    65.00      1.00     66.00     63.00     54.00
    63.00      1.00     71.00     65.00     55.00
    54.00      1.00     41.00     39.00     53.00
    45.00      1.00     36.00     50.00     58.00
    60.00      1.00     51.00     52.00     56.00
    49.00      1.00     51.00     60.00     50.00
    48.00      1.00     51.00     44.00     39.00
    57.00      1.00     61.00     52.00     63.00
    55.00      1.00     61.00     55.00     50.00
    66.00      1.00     56.00     50.00     66.00
    64.00      1.00     71.00     65.00     58.00
    55.00      1.00     51.00     52.00     53.00
    42.00      1.00     36.00     47.00     42.00
    56.00      1.00     61.00     63.00     55.00
    53.00      1.00     66.00     50.00     53.00
    41.00      1.00     41.00     42.00     42.00
    42.00      1.00     41.00     36.00     50.00
    53.00      1.00     56.00     50.00     55.00
    42.00      1.00     51.00     41.00     34.00
    60.00      1.00     56.00     47.00     50.00
    52.00      1.00     56.00     55.00     42.00
    38.00      1.00     46.00     42.00     36.00
    57.00      1.00     52.00     57.00     55.00
    58.00      1.00     61.00     55.00     58.00
    65.00      1.00     61.00     63.00     53.00
end data.

regression
 /variables = math female socst read
 /statistics = coeff r anova ci (95)
 /dependent = science
 /method = enter
_ATEOF


{ set +x
$as_echo "$at_srcdir/regression.at:2126: pspp -O format=csv conf.sps"
at_fn_check_prepare_trace "regression.at:2126"
( $at_check_trace; pspp -O format=csv conf.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Model Summary (science)
,R,R Square,Adjusted R Square,Std. Error of the Estimate
,.699,.489,.479,7.148

Table: ANOVA (science)
,,Sum of Squares,df,Mean Square,F,Sig.
,Regression,9543.721,4,2385.930,46.695,.000
,Residual,9963.779,195,51.096,,
,Total,19507.500,199,,,

Table: Coefficients (science)
,,Unstandardized Coefficients,,Standardized Coefficients,,,95% Confidence Interval for B,
,,B,Std. Error,Beta,t,Sig.,Lower Bound,Upper Bound
,(Constant),12.325,3.194,.000,3.859,.000,6.027,18.624
,math,.389,.074,.368,5.252,.000,.243,.535
,female,-2.010,1.023,-.101,-1.965,.051,-4.027,.007
,socst,.050,.062,.054,.801,.424,-.073,.173
,read,.335,.073,.347,4.607,.000,.192,.479
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/regression.at:2126"
$at_failed && at_fn_log_failure
$at_traceon; }



  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_660
#AT_START_661
at_fn_group_banner 661 'regression.at:2152' \
  "LINEAR REGRESSION crash with long string variables" "" 86
at_xfail=no
(
  $as_echo "661. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >regression.sps <<'_ATEOF'
SET DECIMAL=DOT.

DATA LIST notable LIST /text (A24) Y * X1 *
BEGIN DATA.
V00276601 0.00 90.00
V00292909 10.00 30.00
V00291204 20.00 20.00
V00300070 0.00 90.00
END DATA.

REGRESSION
/VARIABLES= Y
/DEPENDENT= X1
/METHOD=ENTER
/STATISTICS=COEFF R ANOVA
/SAVE= RESID.

LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/regression.at:2173: pspp -o pspp.csv regression.sps"
at_fn_check_prepare_trace "regression.at:2173"
( $at_check_trace; pspp -o pspp.csv regression.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/regression.at:2173"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/regression.at:2174: cat pspp.csv"
at_fn_check_prepare_trace "regression.at:2174"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Model Summary (X1)
,R,R Square,Adjusted R Square,Std. Error of the Estimate
,.95,.89,.84,15.08

Table: ANOVA (X1)
,,Sum of Squares,df,Mean Square,F,Sig.
,Regression,3820.45,1,3820.45,16.81,.055
,Residual,454.55,2,227.27,,
,Total,4275.00,3,,,

Table: Coefficients (X1)
,,Unstandardized Coefficients,,Standardized Coefficients,,
,,B,Std. Error,Beta,t,Sig.
,(Constant),85.45,10.16,.00,8.41,.004
,Y,-3.73,.91,-.95,-4.10,.055

Table: Data List
text,Y,X1,RES1
V00276601               ,.00,90.00,4.55
V00292909               ,10.00,30.00,-18.18
V00291204               ,20.00,20.00,9.09
V00300070               ,.00,90.00,4.55
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/regression.at:2174"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_661
#AT_START_662
at_fn_group_banner 662 'regression.at:2202' \
  "LINEAR REGRESSION -- Empty Parentheses" "         " 86
at_xfail=no
(
  $as_echo "662. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >empty-parens.sps <<'_ATEOF'
set format = F22.3.

data list notable list /math female socst read science *
begin data.
    58.00      1.00     61.00     55.00     58.00
    65.00      1.00     61.00     63.00     53.00
end data.

regression
 /variables = math female socst read
 /statistics = coeff r anova ci ()
 /dependent = science
 /method = enter
_ATEOF


{ set +x
$as_echo "$at_srcdir/regression.at:2220: pspp -o pspp.csv empty-parens.sps"
at_fn_check_prepare_trace "regression.at:2220"
( $at_check_trace; pspp -o pspp.csv empty-parens.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 1 $at_status "$at_srcdir/regression.at:2220"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_662
#AT_START_663
at_fn_group_banner 663 'regression.at:2227' \
  "LINEAR REGRESSION varibles on ENTER subcommand" " " 86
at_xfail=no
(
  $as_echo "663. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >regression.sps <<'_ATEOF'
SET FORMAT=F10.3.

DATA LIST notable LIST /number * value *.
BEGIN DATA
 16 7.25
  0  .00
  1  .10
  9 27.9
  0  .00
  7 3.65
 14 16.8
 24 9.15
  0  .00
 24 19.0
  7 4.05
 12 7.90
  6  .75
 11 1.40
  0  .00
  3 2.30
 12 7.60
 11 6.80
 16 8.65
END DATA.

REGRESSION
  /STATISTICS COEFF R ANOVA
  /DEPENDENT value
  /METHOD=ENTER number.
_ATEOF



{ set +x
$as_echo "$at_srcdir/regression.at:2261: pspp -O format=csv regression.sps"
at_fn_check_prepare_trace "regression.at:2261"
( $at_check_trace; pspp -O format=csv regression.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Model Summary (value)
,R,R Square,Adjusted R Square,Std. Error of the Estimate
,.612,.374,.338,6.176

Table: ANOVA (value)
,,Sum of Squares,df,Mean Square,F,Sig.
,Regression,388.065,1,388.065,10.173,.005
,Residual,648.498,17,38.147,,
,Total,1036.563,18,,,

Table: Coefficients (value)
,,Unstandardized Coefficients,,Standardized Coefficients,,
,,B,Std. Error,Beta,t,Sig.
,(Constant),.927,2.247,.000,.413,.685
,number,.611,.192,.612,3.189,.005
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/regression.at:2261"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_663
#AT_START_664
at_fn_group_banner 664 'regression.at:2283' \
  "LINEAR REGRESSION /ORIGIN" "                      " 86
at_xfail=no
(
  $as_echo "664. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >regression-origin.sps <<'_ATEOF'
SET FORMAT=F10.3.

DATA LIST notable LIST /number * value *.
BEGIN DATA
 16 7.25
  0  .00
  1  .10
  9 27.9
  0  .00
  7 3.65
 14 16.8
 24 9.15
  0  .00
 24 19.0
  7 4.05
 12 7.90
  6  .75
 11 1.40
  0  .00
  3 2.30
 12 7.60
 11 6.80
 16 8.65
END DATA.

REGRESSION
  /STATISTICS COEFF R ANOVA
  /DEPENDENT value
  /ORIGIN
  /METHOD=ENTER number.
_ATEOF



{ set +x
$as_echo "$at_srcdir/regression.at:2318: pspp -O format=csv regression-origin.sps"
at_fn_check_prepare_trace "regression.at:2318"
( $at_check_trace; pspp -O format=csv regression-origin.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Model Summary (value)
,R,R Square,Adjusted R Square,Std. Error of the Estimate
,.802,.643,.622,6.032

Table: ANOVA (value)
,,Sum of Squares,df,Mean Square,F,Sig.
,Regression,1181.726,1,1181.726,32.475,.000
,Residual,654.989,18,36.388,,
,Total,1836.715,19,,,

Table: Coefficients (value)
,,Unstandardized Coefficients,,Standardized Coefficients,,
,,B,Std. Error,Beta,t,Sig.
,number,.672,.118,.802,5.699,.000
,,,,,,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/regression.at:2318"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_664
#AT_START_665
at_fn_group_banner 665 'reliability.at:19' \
  "RELIABILITY" "                                    " 87
at_xfail=no
(
  $as_echo "665. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >reliability.sps <<'_ATEOF'
data list notable list  /var1 *
	var2  *
	var6  *
	var7  *
	var8  *
	var9  *
	var11 *
	var12 *
	var15 *
	var16 *
	var17 *
	var19 *
	.

begin data.
6 7 7 5 7 7 7 7 7 7 6 6
6 7 7 6 7 6 7 5 6 5 7 7
6 6 7 6 5 3 6 4 5 6 4 5
4 6 5 6 6 5 4 3 5 6 5 6
5 6 5 5 6 5 4 4 6 6 5 5
6 6 7 6 6 5 6 5 6 6 5 6
5 6 6 5 6 5 5 4 6 5 5 5
5 7 7 7 7 7 6 5 7 7 7 7
6 6 6 5 5 7 6 5 6 6 5 6
. . . . . . . . . . . .
6 6 5 5 5 6 6 4 6 5 5 5
7 7 7 6 7 6 7 6 6 6 7 6
4 7 6 6 6 5 5 4 4 5 5 6
5 6 3 5 4 1 4 6 2 3 3 2
3 6 6 5 6 2 4 2 2 4 4 5
6 6 7 5 6 5 7 6 5 6 6 5
6 5 6 6 5 6 6 6 6 4 5 5
5 7 7 . 6 6 6 5 6 6 6 6
5 7 5 5 4 6 7 6 5 4 6 5
7 7 7 6 7 7 7 6 7 7 7 6
3 6 5 6 5 7 7 3 4 7 5 7
6 7 7 6 5 6 5 5 6 6 6 6
5 5 6 5 5 5 5 4 5 5 5 6
6 6 7 4 5 6 6 6 6 5 5 6
6 5 6 6 4 4 5 4 5 6 4 5
5 6 7 6 6 7 7 5 6 6 6 5
5 6 5 7 4 6 6 5 7 7 5 6
. . . . . . . . . . . .
7 6 6 5 6 6 7 6 6 5 5 6
6 6 7 7 7 7 7 6 7 6 6 7
7 5 5 . 5 . 7 3 5 4 5 3
7 6 7 5 4 5 7 5 7 5 5 6
6 5 6 6 6 5 5 5 5 6 5 6
7 7 7 7 7 7 7 7 5 6 7 7
. . . . . . . . . . . .
5 5 6 7 5 6 6 4 6 6 6 5
6 6 5 7 5 6 7 5 6 5 4 6
7 6 7 6 7 5 6 7 7 6 6 6
5 6 5 6 5 6 7 2 5 7 3 7
6 6 5 6 5 6 6 6 6 6 5 6
7 6 7 6 6 6 6 6 6 7 6 7
7 7 6 5 6 6 7 7 7 4 6 5
3 7 7 6 6 7 7 7 6 6 6 4
3 5 3 4 3 3 3 3 3 3 3 5
5 7 7 7 5 7 6 2 6 7 6 7
7 7 7 7 7 7 7 6 7 7 7 6
6 5 7 4 4 4 5 6 5 5 4 5
4 7 7 4 4 3 6 3 5 3 4 5
7 7 7 7 7 7 7 7 7 7 7 5
3 6 5 5 4 5 4 4 5 5 3 5
6 7 6 6 6 7 7 6 6 6 7 6
2 5 4 6 3 2 2 2 2 7 2 2
4 6 6 5 5 5 6 5 5 6 6 5
5 7 4 5 6 6 6 5 6 6 5 6
5 7 7 5 6 5 6 5 5 4 5 4
4 5 6 5 6 4 5 5 5 4 5 5
7 6 6 5 5 6 7 5 6 5 7 6
5 6 6 5 4 5 5 3 4 5 5 5
5 7 6 4 4 5 6 5 6 4 4 6
6 6 6 6 5 7 7 6 5 5 6 6
6 6 7 6 7 6 6 5 6 7 6 5
7 6 7 6 7 6 7 7 5 5 6 6
5 6 6 5 5 5 6 5 6 7 7 5
5 6 6 5 6 5 6 6 6 6 6 6
5 5 5 5 6 4 5 3 4 7 6 5
5 7 7 6 6 6 6 5 6 7 6 7
6 6 7 7 7 5 6 5 5 5 5 4
2 7 5 4 6 5 5 2 5 6 4 6
6 7 7 5 6 6 7 6 6 7 5 7
5 6 7 6 6 3 5 7 6 6 5 6
6 6 6 3 5 5 5 6 6 6 4 5
4 7 7 4 7 4 5 5 5 7 4 4
. . . . . . . . . . . .
6 6 7 6 7 6 7 7 6 7 7 6
. . . . . . . . . . . .
5 6 5 7 6 5 6 6 5 6 4 6
5 5 5 5 4 5 5 5 7 5 5 5
6 6 6 4 5 4 6 6 6 4 5 4
6 5 7 4 6 4 6 5 6 6 6 3
5 7 6 5 5 5 5 5 6 7 6 6
5 5 7 7 5 5 6 6 5 5 5 7
5 6 7 6 7 5 6 4 6 7 6 7
4 5 5 5 6 5 6 5 6 6 5 6
6 5 5 5 6 3 4 5 5 4 5 3
6 6 6 5 5 5 4 3 4 5 5 5
6 7 7 6 2 3 6 6 6 5 7 7
6 7 5 5 6 6 6 5 6 6 6 6
6 7 7 6 7 7 7 5 5 6 6 6
6 6 6 6 7 6 6 7 6 6 6 6
5 6 6 6 3 5 6 6 5 5 4 6
4 6 5 6 6 5 6 5 6 6 5 5
6 4 6 5 4 6 7 4 5 6 5 5
6 7 6 4 6 5 7 6 7 7 6 5
6 7 7 6 7 6 7 7 7 6 6 6
6 6 6 4 5 6 7 7 5 6 4 4
3 3 5 3 3 1 5 6 3 2 3 3
7 7 5 6 6 7 7 6 7 7 7 7
5 6 6 6 7 5 4 5 4 7 6 7
3 6 5 4 3 3 3 5 5 6 3 4
5 7 6 4 6 5 5 6 6 7 5 6
5 7 6 6 6 6 6 5 6 7 7 6
7 7 5 6 7 7 7 7 6 5 7 7
6 7 6 6 5 6 7 7 6 5 6 6
6 7 7 7 7 6 6 7 6 7 7 7
4 6 4 7 3 6 5 5 4 3 5 6
5 5 7 5 4 6 7 5 4 6 6 5
5 5 6 4 6 5 7 6 5 5 5 6
. . . . . . . . . . . .
. . . . . . . . . . . .
5 7 7 5 6 6 7 7 6 6 6 7
6 7 7 1 2 1 7 7 5 5 5 2
. . . . . . . . . . . .
3 7 4 6 4 7 4 6 4 7 4 7
5 7 3 5 5 6 7 5 4 7 7 4
4 7 7 5 4 6 7 7 6 5 4 4
6 6 2 2 6 4 6 5 5 1 5 2
5 5 6 4 5 4 6 5 5 6 5 5
. . . . . . . . . . . .
5 7 6 6 6 6 6 6 5 6 6 6
6 6 6 5 6 6 6 6 7 5 6 7
3 6 3 3 5 3 3 5 3 5 7 4
4 4 6 3 3 3 4 3 4 2 3 6
5 7 7 6 5 4 7 5 7 7 3 7
4 5 4 4 4 4 3 3 3 4 3 3
6 7 7 5 6 6 7 5 4 5 5 5
3 5 3 3 1 3 4 3 4 7 6 7
4 5 4 4 4 3 4 5 6 6 4 5
5 6 3 4 5 3 5 3 4 5 6 4
5 5 5 6 6 6 6 4 5 6 6 5
6 7 7 2 2 6 7 7 7 7 5 7
5 7 7 4 6 5 7 5 5 5 6 6
6 6 7 7 5 5 5 7 6 7 7 7
6 5 7 3 6 5 6 5 5 6 5 4
5 7 6 5 6 6 6 5 6 5 5 6
4 5 5 5 6 3 5 3 3 6 5 5
. . . . . . . . . . . .
5 6 6 4 4 4 5 3 5 5 2 6
5 6 7 5 5 6 6 5 5 6 6 6
6 7 7 6 4 7 7 6 7 5 6 7
6 6 5 4 5 2 7 6 6 5 6 6
2 2 2 2 2 2 3 2 3 1 1 2
end data.

RELIABILITY
  /VARIABLES=var2 var8 var15 var17 var6
  /SCALE('Everything') var6 var8 var15 var17
  /MODEL=ALPHA.

RELIABILITY
  /VARIABLES=var6 var8 var15 var17
  /SCALE('Nothing') ALL
  /MODEL=SPLIT(2)
 .

RELIABILITY
  /VARIABLES=var2 var6 var8 var15 var17 var19
  /SCALE('Totals') var6 var8 var15 var17
  /SUMMARY = total
  /STATISTICS = DESCRIPTIVES COVARIANCES
 .


RELIABILITY
  /VARIABLES=var6 var8 var15 var17
  .
_ATEOF

{ set +x
$as_echo "$at_srcdir/reliability.at:202: pspp -o pspp.csv reliability.sps"
at_fn_check_prepare_trace "reliability.at:202"
( $at_check_trace; pspp -o pspp.csv reliability.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "reliability.sps:174: warning: RELIABILITY: The STATISTICS subcommand is not yet implemented.  No statistics will be produced.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/reliability.at:202"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/reliability.at:205: cat pspp.csv"
at_fn_check_prepare_trace "reliability.at:205"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Scale: Everything

Table: Case Processing Summary
,,N,%
Cases,Valid,131,92.91
,Excluded,10,7.09
,Total,141,100.00

Table: Reliability Statistics
Cronbach's Alpha,N of Items
.75,4

Scale: Nothing

Table: Case Processing Summary
,,N,%
Cases,Valid,131,92.91
,Excluded,10,7.09
,Total,141,100.00

Table: Reliability Statistics
Cronbach's Alpha,Part 1,Value,.55
,,N of Items,2
,Part 2,Value,.63
,,N of Items,2
,Total N of Items,,4
Correlation Between Forms,,,.61
Spearman-Brown Coefficient,Equal Length,,.75
,Unequal Length,,.75
Guttman Split-Half Coefficient,,,.75

reliability.sps:174: warning: RELIABILITY: The STATISTICS subcommand is not yet implemented.  No statistics will be produced.

Scale: Totals

Table: Case Processing Summary
,,N,%
Cases,Valid,131,92.91
,Excluded,10,7.09
,Total,141,100.00

Table: Reliability Statistics
Cronbach's Alpha,N of Items
.75,4

Table: Item-Total Statistics
,Scale Mean if Item Deleted,Scale Variance if Item Deleted,Corrected Item-Total Correlation,Cronbach's Alpha if Item Deleted
var6,15.97,8.43,.51,.71
var8,16.56,7.86,.53,.70
var15,16.47,8.45,.56,.68
var17,16.60,8.00,.57,.67

Scale: ANY

Table: Case Processing Summary
,,N,%
Cases,Valid,131,92.91
,Excluded,10,7.09
,Total,141,100.00

Table: Reliability Statistics
Cronbach's Alpha,N of Items
.75,4
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/reliability.at:205"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_665
#AT_START_666
at_fn_group_banner 666 'reliability.at:274' \
  "RELIABILITY bad syntax" "                         " 87
at_xfail=no
(
  $as_echo "666. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >bad-syntax.sps <<'_ATEOF'
data list notable list /x * y *.
begin data.
1 10
2 20
3 30
4 50
5 50
end data.

* This syntax is incorrect
reliability x y.
_ATEOF


{ set +x
$as_echo "$at_srcdir/reliability.at:289: pspp -O format=csv bad-syntax.sps"
at_fn_check_prepare_trace "reliability.at:289"
( $at_check_trace; pspp -O format=csv bad-syntax.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 1 $at_status "$at_srcdir/reliability.at:289"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_666
#AT_START_667
at_fn_group_banner 667 'reliability.at:294' \
  "RELIABILITY bad syntax 2" "                       " 87
at_xfail=no
(
  $as_echo "667. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >bad-syntax.sps <<'_ATEOF'
new file.
data list notable list /f01 f02 f03 f04 f05 f06 f07 f08 f09 f10 *.
begin data.
end data.

* This syntax is incorrect
reliability variables=f01 to f10/asdfj.
_ATEOF

{ set +x
$as_echo "$at_srcdir/reliability.at:304: pspp -O format=csv bad-syntax.sps"
at_fn_check_prepare_trace "reliability.at:304"
( $at_check_trace; pspp -O format=csv bad-syntax.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 1 $at_status "$at_srcdir/reliability.at:304"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_667
#AT_START_668
at_fn_group_banner 668 'reliability.at:309' \
  "RELIABILITY crash with no data" "                 " 87
at_xfail=no
(
  $as_echo "668. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >reliability.sps <<'_ATEOF'
new file.
data list notable list /f01 f02 f03 f04 f05 f06 f07 f08 f09 f10 *.
begin data.
end data.

reliability variables=f01 to f10.
_ATEOF

{ set +x
$as_echo "$at_srcdir/reliability.at:318: pspp -O format=csv reliability.sps"
at_fn_check_prepare_trace "reliability.at:318"
( $at_check_trace; pspp -O format=csv reliability.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/reliability.at:318"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_668
#AT_START_669
at_fn_group_banner 669 'reliability.at:327' \
  "RELIABILITY tutorial example" "                   " 87
at_xfail=no
(
  $as_echo "669. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >tut-example.sps <<'_ATEOF'
get file='hotel.sav'.

compute v3 = 6 - v3.
compute v5 = 6 - v5.

reliability variables = v1 v3 v4.
_ATEOF


{ set +x
$as_echo "$at_srcdir/reliability.at:337: ln -s \$top_srcdir/examples/hotel.sav ."
at_fn_check_prepare_dynamic "ln -s $top_srcdir/examples/hotel.sav ." "reliability.at:337"
( $at_check_trace; ln -s $top_srcdir/examples/hotel.sav .
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/reliability.at:337"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/reliability.at:338: pspp -O format=csv tut-example.sps"
at_fn_check_prepare_trace "reliability.at:338"
( $at_check_trace; pspp -O format=csv tut-example.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Scale: ANY

Table: Case Processing Summary
,,N,%
Cases,Valid,17,100.00
,Excluded,0,.00
,Total,17,100.00

Table: Reliability Statistics
Cronbach's Alpha,N of Items
.81,3
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/reliability.at:338"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_669
#AT_START_670
at_fn_group_banner 670 'roc.at:19' \
  "ROC, free distribution" "                         " 88
at_xfail=no
(
  $as_echo "670. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >roc.sps <<'_ATEOF'
set format F10.3.
data list notable list /x * y * w * a *.
begin data.
1 1 2  1
1 2 28 0
2 3 4  1
2 4 14 0
3 5 10 1
. . 1  0
3 1 5  0
4 2 14 1
4 3 2  0
5 4 20 1
5 4 20 .
5 5 1  0
end data.

weight by w.

roc x by a (1)
	/plot = none
	/print = se coordinates
	/criteria = testpos(large) distribution(free) ci(99)
	/missing = exclude .
_ATEOF

{ set +x
$as_echo "$at_srcdir/roc.at:46: pspp -o pspp.csv roc.sps"
at_fn_check_prepare_trace "roc.at:46"
( $at_check_trace; pspp -o pspp.csv roc.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/roc.at:46"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/roc.at:47: cat pspp.csv"
at_fn_check_prepare_trace "roc.at:47"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Case Summary
,Valid N (listwise),
a,Unweighted,Weighted
Positive,5,50.000
Negative,5,50.000

Table: Area Under the Curve (x)
,,,Asymp. 99% Confidence Interval,
Area,Std. Error,Asymptotic Sig.,Lower Bound,Upper Bound
.910,.030,.000,.839,.981

Table: Coordinates of the Curve (x)
Positive if greater than or equal to,Sensitivity,1 - Specificity
.000,1.000,1.000
1.500,.960,.440
2.500,.880,.160
3.500,.680,.060
4.500,.400,.020
6.000,.000,.000
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/roc.at:47"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_670
#AT_START_671
at_fn_group_banner 671 'roc.at:70' \
  "ROC, negative exponential distribution" "         " 88
at_xfail=no
(
  $as_echo "671. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >roc.sps <<'_ATEOF'
set format F10.3.
data list notable list /x * y * w * a *.
begin data.
1 1 2  1
1 2 28 0
2 3 4  1
2 4 14 0
3 5 10 1
. . 1  0
3 1 5  0
4 2 14 1
4 3 2  0
5 4 20 1
5 4 20 .
5 5 1  0
end data.

weight by w.

roc x y by a (1)
	/plot = curve(reference)
        /print = se coordinates
	/criteria = testpos(large) distribution(negexpo) ci(95)
	/missing = exclude .
_ATEOF

{ set +x
$as_echo "$at_srcdir/roc.at:97: pspp -o pspp.csv roc.sps"
at_fn_check_prepare_trace "roc.at:97"
( $at_check_trace; pspp -o pspp.csv roc.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/roc.at:97"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/roc.at:98: cat pspp.csv"
at_fn_check_prepare_trace "roc.at:98"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Case Summary
,Valid N (listwise),
a,Unweighted,Weighted
Positive,5,50.000
Negative,5,50.000

Table: Area Under the Curve
,,,,Asymp. 95% Confidence Interval,
Variable under test,Area,Std. Error,Asymptotic Sig.,Lower Bound,Upper Bound
x,.910,.030,.000,.860,.960
y,.697,.052,.001,.611,.783

Table: Coordinates of the Curve
Test variable,Positive if greater than or equal to,Sensitivity,1 - Specificity
x,.000,1.000,1.000
,1.500,.960,.440
,2.500,.880,.160
,3.500,.680,.060
,4.500,.400,.020
,6.000,.000,.000
y,.000,1.000,1.000
,1.500,.960,.900
,2.500,.680,.340
,3.000,.600,.340
,3.500,.600,.300
,4.500,.200,.020
,6.000,.000,.000
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/roc.at:98"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_671
#AT_START_672
at_fn_group_banner 672 'roc.at:129' \
  "ROC, with anomaly" "                              " 88
at_xfail=no
(
  $as_echo "672. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >roc.sps <<'_ATEOF'
set format F10.3.
data list notable list /x * a * comment (a20).
begin data.
0  1 ""
0  0 ""
1  1 ""
1  0 ""
2  1 ""
2  0 ""
5  1 ""
5  0 ""
10 1 ""
10 0 ""
15 1 ""
15 0 ""
20 1 ""
20 1 ""
22 0 "here and"
22 0 "here is the anomaly"
25 1 ""
25 0 ""
30 1 ""
30 0 ""
35 1 ""
35 0 ""
38 1 ""
38 0 ""
39 1 ""
39 0 ""
40 1 ""
40 0 ""
end data.

roc x by a (1)
	/plot = none
	print = se
	.
_ATEOF

{ set +x
$as_echo "$at_srcdir/roc.at:169: pspp -o pspp.csv roc.sps"
at_fn_check_prepare_trace "roc.at:169"
( $at_check_trace; pspp -o pspp.csv roc.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/roc.at:169"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/roc.at:170: cat pspp.csv"
at_fn_check_prepare_trace "roc.at:170"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Case Summary
,Valid N (listwise),
a,Unweighted,Weighted
Positive,14,14.000
Negative,14,14.000

Table: Area Under the Curve (x)
,,,Asymp. 95% Confidence Interval,
Area,Std. Error,Asymptotic Sig.,Lower Bound,Upper Bound
.490,.111,.927,.307,.673
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/roc.at:170"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_672
#AT_START_673
at_fn_group_banner 673 'roc.at:187' \
  "ROC crash on no state variable" "                 " 88
at_xfail=no
(
  $as_echo "673. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >roc.sps <<'_ATEOF'
data list notable list /x * y * w * a *.
begin data.
5 5 1  0
end data.


roc x y By(a (1)
 .
_ATEOF


{ set +x
$as_echo "$at_srcdir/roc.at:199: pspp -o pspp.csv roc.sps"
at_fn_check_prepare_trace "roc.at:199"
( $at_check_trace; pspp -o pspp.csv roc.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 1 $at_status "$at_srcdir/roc.at:199"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_673
#AT_START_674
at_fn_group_banner 674 'roc.at:204' \
  "ROC crash on invalid syntax" "                    " 88
at_xfail=no
(
  $as_echo "674. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >roc.sps <<'_ATEOF'
data list notable list /x * y * a *.
bggin data.
1 1 2
1 2 28
end data.


roc x y by a (1)
	/criteria = ci(y5)
_ATEOF


{ set +x
$as_echo "$at_srcdir/roc.at:217: pspp -O format=csv roc.sps"
at_fn_check_prepare_trace "roc.at:217"
( $at_check_trace; pspp -O format=csv roc.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 1 $at_status "$at_srcdir/roc.at:217"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_674
#AT_START_675
at_fn_group_banner 675 'sort-cases.at:73' \
  "sort 500 cases (100 unique) with 2 buffers" "     " 89
at_xfail=no
(
  $as_echo "675. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/sort-cases.at:73: sort_cases_gen_data 100 5 2"
at_fn_check_prepare_trace "sort-cases.at:73"
( $at_check_trace; sort_cases_gen_data 100 5 2
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sort-cases.at:73"
$at_failed && at_fn_log_failure
$at_traceon; }




   cat >sort-cases.sps <<'_ATEOF'
DATA LIST LIST NOTABLE FILE='data.txt'/x y (F8).
SORT CASES BY x/BUFFERS=2.
PRINT OUTFILE='output.txt'/x y.
EXECUTE.
_ATEOF

   { set +x
$as_echo "$at_srcdir/sort-cases.at:73: pspp --testing-mode -o pspp.csv sort-cases.sps"
at_fn_check_prepare_trace "sort-cases.at:73"
( $at_check_trace; pspp --testing-mode -o pspp.csv sort-cases.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sort-cases.at:73"
$at_failed && at_fn_log_failure  \
"data.txt" \
"output.txt" \
"sort-cases.sps"
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/sort-cases.at:73: cat output.txt"
at_fn_check_prepare_trace "sort-cases.at:73"
( $at_check_trace; cat output.txt
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sort-cases.at:73"
$at_failed && at_fn_log_failure  \
"data.txt" \
"output.txt" \
"sort-cases.sps"
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_675
#AT_START_676
at_fn_group_banner 676 'sort-cases.at:74' \
  "sort 500 cases (100 unique) with 3 buffers" "     " 89
at_xfail=no
(
  $as_echo "676. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/sort-cases.at:74: sort_cases_gen_data 100 5 3"
at_fn_check_prepare_trace "sort-cases.at:74"
( $at_check_trace; sort_cases_gen_data 100 5 3
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sort-cases.at:74"
$at_failed && at_fn_log_failure
$at_traceon; }




   cat >sort-cases.sps <<'_ATEOF'
DATA LIST LIST NOTABLE FILE='data.txt'/x y (F8).
SORT CASES BY x/BUFFERS=3.
PRINT OUTFILE='output.txt'/x y.
EXECUTE.
_ATEOF

   { set +x
$as_echo "$at_srcdir/sort-cases.at:74: pspp --testing-mode -o pspp.csv sort-cases.sps"
at_fn_check_prepare_trace "sort-cases.at:74"
( $at_check_trace; pspp --testing-mode -o pspp.csv sort-cases.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sort-cases.at:74"
$at_failed && at_fn_log_failure  \
"data.txt" \
"output.txt" \
"sort-cases.sps"
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/sort-cases.at:74: cat output.txt"
at_fn_check_prepare_trace "sort-cases.at:74"
( $at_check_trace; cat output.txt
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sort-cases.at:74"
$at_failed && at_fn_log_failure  \
"data.txt" \
"output.txt" \
"sort-cases.sps"
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_676
#AT_START_677
at_fn_group_banner 677 'sort-cases.at:75' \
  "sort 500 cases (100 unique) with 4 buffers" "     " 89
at_xfail=no
(
  $as_echo "677. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/sort-cases.at:75: sort_cases_gen_data 100 5 4"
at_fn_check_prepare_trace "sort-cases.at:75"
( $at_check_trace; sort_cases_gen_data 100 5 4
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sort-cases.at:75"
$at_failed && at_fn_log_failure
$at_traceon; }




   cat >sort-cases.sps <<'_ATEOF'
DATA LIST LIST NOTABLE FILE='data.txt'/x y (F8).
SORT CASES BY x/BUFFERS=4.
PRINT OUTFILE='output.txt'/x y.
EXECUTE.
_ATEOF

   { set +x
$as_echo "$at_srcdir/sort-cases.at:75: pspp --testing-mode -o pspp.csv sort-cases.sps"
at_fn_check_prepare_trace "sort-cases.at:75"
( $at_check_trace; pspp --testing-mode -o pspp.csv sort-cases.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sort-cases.at:75"
$at_failed && at_fn_log_failure  \
"data.txt" \
"output.txt" \
"sort-cases.sps"
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/sort-cases.at:75: cat output.txt"
at_fn_check_prepare_trace "sort-cases.at:75"
( $at_check_trace; cat output.txt
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sort-cases.at:75"
$at_failed && at_fn_log_failure  \
"data.txt" \
"output.txt" \
"sort-cases.sps"
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_677
#AT_START_678
at_fn_group_banner 678 'sort-cases.at:76' \
  "sort 500 cases (100 unique) with 5 buffers" "     " 89
at_xfail=no
(
  $as_echo "678. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/sort-cases.at:76: sort_cases_gen_data 100 5 5"
at_fn_check_prepare_trace "sort-cases.at:76"
( $at_check_trace; sort_cases_gen_data 100 5 5
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sort-cases.at:76"
$at_failed && at_fn_log_failure
$at_traceon; }




   cat >sort-cases.sps <<'_ATEOF'
DATA LIST LIST NOTABLE FILE='data.txt'/x y (F8).
SORT CASES BY x/BUFFERS=5.
PRINT OUTFILE='output.txt'/x y.
EXECUTE.
_ATEOF

   { set +x
$as_echo "$at_srcdir/sort-cases.at:76: pspp --testing-mode -o pspp.csv sort-cases.sps"
at_fn_check_prepare_trace "sort-cases.at:76"
( $at_check_trace; pspp --testing-mode -o pspp.csv sort-cases.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sort-cases.at:76"
$at_failed && at_fn_log_failure  \
"data.txt" \
"output.txt" \
"sort-cases.sps"
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/sort-cases.at:76: cat output.txt"
at_fn_check_prepare_trace "sort-cases.at:76"
( $at_check_trace; cat output.txt
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sort-cases.at:76"
$at_failed && at_fn_log_failure  \
"data.txt" \
"output.txt" \
"sort-cases.sps"
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_678
#AT_START_679
at_fn_group_banner 679 'sort-cases.at:77' \
  "sort 500 cases (100 unique) with 10 buffers" "    " 89
at_xfail=no
(
  $as_echo "679. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/sort-cases.at:77: sort_cases_gen_data 100 5 10"
at_fn_check_prepare_trace "sort-cases.at:77"
( $at_check_trace; sort_cases_gen_data 100 5 10
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sort-cases.at:77"
$at_failed && at_fn_log_failure
$at_traceon; }




   cat >sort-cases.sps <<'_ATEOF'
DATA LIST LIST NOTABLE FILE='data.txt'/x y (F8).
SORT CASES BY x/BUFFERS=10.
PRINT OUTFILE='output.txt'/x y.
EXECUTE.
_ATEOF

   { set +x
$as_echo "$at_srcdir/sort-cases.at:77: pspp --testing-mode -o pspp.csv sort-cases.sps"
at_fn_check_prepare_trace "sort-cases.at:77"
( $at_check_trace; pspp --testing-mode -o pspp.csv sort-cases.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sort-cases.at:77"
$at_failed && at_fn_log_failure  \
"data.txt" \
"output.txt" \
"sort-cases.sps"
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/sort-cases.at:77: cat output.txt"
at_fn_check_prepare_trace "sort-cases.at:77"
( $at_check_trace; cat output.txt
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sort-cases.at:77"
$at_failed && at_fn_log_failure  \
"data.txt" \
"output.txt" \
"sort-cases.sps"
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_679
#AT_START_680
at_fn_group_banner 680 'sort-cases.at:78' \
  "sort 500 cases (100 unique) with 50 buffers" "    " 89
at_xfail=no
(
  $as_echo "680. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/sort-cases.at:78: sort_cases_gen_data 100 5 50"
at_fn_check_prepare_trace "sort-cases.at:78"
( $at_check_trace; sort_cases_gen_data 100 5 50
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sort-cases.at:78"
$at_failed && at_fn_log_failure
$at_traceon; }




   cat >sort-cases.sps <<'_ATEOF'
DATA LIST LIST NOTABLE FILE='data.txt'/x y (F8).
SORT CASES BY x/BUFFERS=50.
PRINT OUTFILE='output.txt'/x y.
EXECUTE.
_ATEOF

   { set +x
$as_echo "$at_srcdir/sort-cases.at:78: pspp --testing-mode -o pspp.csv sort-cases.sps"
at_fn_check_prepare_trace "sort-cases.at:78"
( $at_check_trace; pspp --testing-mode -o pspp.csv sort-cases.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sort-cases.at:78"
$at_failed && at_fn_log_failure  \
"data.txt" \
"output.txt" \
"sort-cases.sps"
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/sort-cases.at:78: cat output.txt"
at_fn_check_prepare_trace "sort-cases.at:78"
( $at_check_trace; cat output.txt
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sort-cases.at:78"
$at_failed && at_fn_log_failure  \
"data.txt" \
"output.txt" \
"sort-cases.sps"
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_680
#AT_START_681
at_fn_group_banner 681 'sort-cases.at:79' \
  "sort 500 cases (100 unique) with 100 buffers" "   " 89
at_xfail=no
(
  $as_echo "681. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/sort-cases.at:79: sort_cases_gen_data 100 5 100"
at_fn_check_prepare_trace "sort-cases.at:79"
( $at_check_trace; sort_cases_gen_data 100 5 100
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sort-cases.at:79"
$at_failed && at_fn_log_failure
$at_traceon; }




   cat >sort-cases.sps <<'_ATEOF'
DATA LIST LIST NOTABLE FILE='data.txt'/x y (F8).
SORT CASES BY x/BUFFERS=100.
PRINT OUTFILE='output.txt'/x y.
EXECUTE.
_ATEOF

   { set +x
$as_echo "$at_srcdir/sort-cases.at:79: pspp --testing-mode -o pspp.csv sort-cases.sps"
at_fn_check_prepare_trace "sort-cases.at:79"
( $at_check_trace; pspp --testing-mode -o pspp.csv sort-cases.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sort-cases.at:79"
$at_failed && at_fn_log_failure  \
"data.txt" \
"output.txt" \
"sort-cases.sps"
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/sort-cases.at:79: cat output.txt"
at_fn_check_prepare_trace "sort-cases.at:79"
( $at_check_trace; cat output.txt
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sort-cases.at:79"
$at_failed && at_fn_log_failure  \
"data.txt" \
"output.txt" \
"sort-cases.sps"
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_681
#AT_START_682
at_fn_group_banner 682 'sort-cases.at:80' \
  "sort 500 cases (100 unique)" "                    " 89
at_xfail=no
(
  $as_echo "682. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/sort-cases.at:80: sort_cases_gen_data 100 5 "
at_fn_check_prepare_trace "sort-cases.at:80"
( $at_check_trace; sort_cases_gen_data 100 5
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sort-cases.at:80"
$at_failed && at_fn_log_failure
$at_traceon; }




   cat >sort-cases.sps <<'_ATEOF'
DATA LIST LIST NOTABLE FILE='data.txt'/x y (F8).
SORT CASES BY x.
PRINT OUTFILE='output.txt'/x y.
EXECUTE.
_ATEOF

   { set +x
$as_echo "$at_srcdir/sort-cases.at:80: pspp --testing-mode -o pspp.csv sort-cases.sps"
at_fn_check_prepare_trace "sort-cases.at:80"
( $at_check_trace; pspp --testing-mode -o pspp.csv sort-cases.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sort-cases.at:80"
$at_failed && at_fn_log_failure  \
"data.txt" \
"output.txt" \
"sort-cases.sps"
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/sort-cases.at:80: cat output.txt"
at_fn_check_prepare_trace "sort-cases.at:80"
( $at_check_trace; cat output.txt
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sort-cases.at:80"
$at_failed && at_fn_log_failure  \
"data.txt" \
"output.txt" \
"sort-cases.sps"
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_682
#AT_START_683
at_fn_group_banner 683 'sort-cases.at:82' \
  "sort 1000 cases (100 unique) with 2 buffers" "    " 89
at_xfail=no
(
  $as_echo "683. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/sort-cases.at:82: sort_cases_gen_data 100 10 2"
at_fn_check_prepare_trace "sort-cases.at:82"
( $at_check_trace; sort_cases_gen_data 100 10 2
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sort-cases.at:82"
$at_failed && at_fn_log_failure
$at_traceon; }




   cat >sort-cases.sps <<'_ATEOF'
DATA LIST LIST NOTABLE FILE='data.txt'/x y (F8).
SORT CASES BY x/BUFFERS=2.
PRINT OUTFILE='output.txt'/x y.
EXECUTE.
_ATEOF

   { set +x
$as_echo "$at_srcdir/sort-cases.at:82: pspp --testing-mode -o pspp.csv sort-cases.sps"
at_fn_check_prepare_trace "sort-cases.at:82"
( $at_check_trace; pspp --testing-mode -o pspp.csv sort-cases.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sort-cases.at:82"
$at_failed && at_fn_log_failure  \
"data.txt" \
"output.txt" \
"sort-cases.sps"
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/sort-cases.at:82: cat output.txt"
at_fn_check_prepare_trace "sort-cases.at:82"
( $at_check_trace; cat output.txt
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sort-cases.at:82"
$at_failed && at_fn_log_failure  \
"data.txt" \
"output.txt" \
"sort-cases.sps"
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_683
#AT_START_684
at_fn_group_banner 684 'sort-cases.at:83' \
  "sort 1000 cases (100 unique) with 3 buffers" "    " 89
at_xfail=no
(
  $as_echo "684. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/sort-cases.at:83: sort_cases_gen_data 100 10 3"
at_fn_check_prepare_trace "sort-cases.at:83"
( $at_check_trace; sort_cases_gen_data 100 10 3
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sort-cases.at:83"
$at_failed && at_fn_log_failure
$at_traceon; }




   cat >sort-cases.sps <<'_ATEOF'
DATA LIST LIST NOTABLE FILE='data.txt'/x y (F8).
SORT CASES BY x/BUFFERS=3.
PRINT OUTFILE='output.txt'/x y.
EXECUTE.
_ATEOF

   { set +x
$as_echo "$at_srcdir/sort-cases.at:83: pspp --testing-mode -o pspp.csv sort-cases.sps"
at_fn_check_prepare_trace "sort-cases.at:83"
( $at_check_trace; pspp --testing-mode -o pspp.csv sort-cases.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sort-cases.at:83"
$at_failed && at_fn_log_failure  \
"data.txt" \
"output.txt" \
"sort-cases.sps"
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/sort-cases.at:83: cat output.txt"
at_fn_check_prepare_trace "sort-cases.at:83"
( $at_check_trace; cat output.txt
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sort-cases.at:83"
$at_failed && at_fn_log_failure  \
"data.txt" \
"output.txt" \
"sort-cases.sps"
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_684
#AT_START_685
at_fn_group_banner 685 'sort-cases.at:84' \
  "sort 1000 cases (100 unique) with 5 buffers" "    " 89
at_xfail=no
(
  $as_echo "685. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/sort-cases.at:84: sort_cases_gen_data 100 10 5"
at_fn_check_prepare_trace "sort-cases.at:84"
( $at_check_trace; sort_cases_gen_data 100 10 5
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sort-cases.at:84"
$at_failed && at_fn_log_failure
$at_traceon; }




   cat >sort-cases.sps <<'_ATEOF'
DATA LIST LIST NOTABLE FILE='data.txt'/x y (F8).
SORT CASES BY x/BUFFERS=5.
PRINT OUTFILE='output.txt'/x y.
EXECUTE.
_ATEOF

   { set +x
$as_echo "$at_srcdir/sort-cases.at:84: pspp --testing-mode -o pspp.csv sort-cases.sps"
at_fn_check_prepare_trace "sort-cases.at:84"
( $at_check_trace; pspp --testing-mode -o pspp.csv sort-cases.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sort-cases.at:84"
$at_failed && at_fn_log_failure  \
"data.txt" \
"output.txt" \
"sort-cases.sps"
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/sort-cases.at:84: cat output.txt"
at_fn_check_prepare_trace "sort-cases.at:84"
( $at_check_trace; cat output.txt
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sort-cases.at:84"
$at_failed && at_fn_log_failure  \
"data.txt" \
"output.txt" \
"sort-cases.sps"
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_685
#AT_START_686
at_fn_group_banner 686 'sort-cases.at:85' \
  "sort 1000 cases (100 unique)" "                   " 89
at_xfail=no
(
  $as_echo "686. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/sort-cases.at:85: sort_cases_gen_data 100 10 "
at_fn_check_prepare_trace "sort-cases.at:85"
( $at_check_trace; sort_cases_gen_data 100 10
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sort-cases.at:85"
$at_failed && at_fn_log_failure
$at_traceon; }




   cat >sort-cases.sps <<'_ATEOF'
DATA LIST LIST NOTABLE FILE='data.txt'/x y (F8).
SORT CASES BY x.
PRINT OUTFILE='output.txt'/x y.
EXECUTE.
_ATEOF

   { set +x
$as_echo "$at_srcdir/sort-cases.at:85: pspp --testing-mode -o pspp.csv sort-cases.sps"
at_fn_check_prepare_trace "sort-cases.at:85"
( $at_check_trace; pspp --testing-mode -o pspp.csv sort-cases.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sort-cases.at:85"
$at_failed && at_fn_log_failure  \
"data.txt" \
"output.txt" \
"sort-cases.sps"
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/sort-cases.at:85: cat output.txt"
at_fn_check_prepare_trace "sort-cases.at:85"
( $at_check_trace; cat output.txt
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sort-cases.at:85"
$at_failed && at_fn_log_failure  \
"data.txt" \
"output.txt" \
"sort-cases.sps"
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_686
#AT_START_687
at_fn_group_banner 687 'sort-cases.at:87' \
  "sort 5000 cases (1000 unique) with 5 buffers" "   " 89
at_xfail=no
(
  $as_echo "687. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/sort-cases.at:87: sort_cases_gen_data 1000 5 5"
at_fn_check_prepare_trace "sort-cases.at:87"
( $at_check_trace; sort_cases_gen_data 1000 5 5
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sort-cases.at:87"
$at_failed && at_fn_log_failure
$at_traceon; }




   cat >sort-cases.sps <<'_ATEOF'
DATA LIST LIST NOTABLE FILE='data.txt'/x y (F8).
SORT CASES BY x/BUFFERS=5.
PRINT OUTFILE='output.txt'/x y.
EXECUTE.
_ATEOF

   { set +x
$as_echo "$at_srcdir/sort-cases.at:87: pspp --testing-mode -o pspp.csv sort-cases.sps"
at_fn_check_prepare_trace "sort-cases.at:87"
( $at_check_trace; pspp --testing-mode -o pspp.csv sort-cases.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sort-cases.at:87"
$at_failed && at_fn_log_failure  \
"data.txt" \
"output.txt" \
"sort-cases.sps"
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/sort-cases.at:87: cat output.txt"
at_fn_check_prepare_trace "sort-cases.at:87"
( $at_check_trace; cat output.txt
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sort-cases.at:87"
$at_failed && at_fn_log_failure  \
"data.txt" \
"output.txt" \
"sort-cases.sps"
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_687
#AT_START_688
at_fn_group_banner 688 'sort-cases.at:88' \
  "sort 5000 cases (1000 unique) with 50 buffers" "  " 89
at_xfail=no
(
  $as_echo "688. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/sort-cases.at:88: sort_cases_gen_data 1000 5 50"
at_fn_check_prepare_trace "sort-cases.at:88"
( $at_check_trace; sort_cases_gen_data 1000 5 50
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sort-cases.at:88"
$at_failed && at_fn_log_failure
$at_traceon; }




   cat >sort-cases.sps <<'_ATEOF'
DATA LIST LIST NOTABLE FILE='data.txt'/x y (F8).
SORT CASES BY x/BUFFERS=50.
PRINT OUTFILE='output.txt'/x y.
EXECUTE.
_ATEOF

   { set +x
$as_echo "$at_srcdir/sort-cases.at:88: pspp --testing-mode -o pspp.csv sort-cases.sps"
at_fn_check_prepare_trace "sort-cases.at:88"
( $at_check_trace; pspp --testing-mode -o pspp.csv sort-cases.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sort-cases.at:88"
$at_failed && at_fn_log_failure  \
"data.txt" \
"output.txt" \
"sort-cases.sps"
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/sort-cases.at:88: cat output.txt"
at_fn_check_prepare_trace "sort-cases.at:88"
( $at_check_trace; cat output.txt
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sort-cases.at:88"
$at_failed && at_fn_log_failure  \
"data.txt" \
"output.txt" \
"sort-cases.sps"
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_688
#AT_START_689
at_fn_group_banner 689 'sort-cases.at:89' \
  "sort 5000 cases (1000 unique)" "                  " 89
at_xfail=no
(
  $as_echo "689. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/sort-cases.at:89: sort_cases_gen_data 1000 5 "
at_fn_check_prepare_trace "sort-cases.at:89"
( $at_check_trace; sort_cases_gen_data 1000 5
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sort-cases.at:89"
$at_failed && at_fn_log_failure
$at_traceon; }




   cat >sort-cases.sps <<'_ATEOF'
DATA LIST LIST NOTABLE FILE='data.txt'/x y (F8).
SORT CASES BY x.
PRINT OUTFILE='output.txt'/x y.
EXECUTE.
_ATEOF

   { set +x
$as_echo "$at_srcdir/sort-cases.at:89: pspp --testing-mode -o pspp.csv sort-cases.sps"
at_fn_check_prepare_trace "sort-cases.at:89"
( $at_check_trace; pspp --testing-mode -o pspp.csv sort-cases.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sort-cases.at:89"
$at_failed && at_fn_log_failure  \
"data.txt" \
"output.txt" \
"sort-cases.sps"
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/sort-cases.at:89: cat output.txt"
at_fn_check_prepare_trace "sort-cases.at:89"
( $at_check_trace; cat output.txt
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sort-cases.at:89"
$at_failed && at_fn_log_failure  \
"data.txt" \
"output.txt" \
"sort-cases.sps"
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_689
#AT_START_690
at_fn_group_banner 690 'sort-cases.at:91' \
  "sort 10000 cases (100 unique) with 3 buffers" "   " 89
at_xfail=no
(
  $as_echo "690. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/sort-cases.at:91: sort_cases_gen_data 100 100 3"
at_fn_check_prepare_trace "sort-cases.at:91"
( $at_check_trace; sort_cases_gen_data 100 100 3
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sort-cases.at:91"
$at_failed && at_fn_log_failure
$at_traceon; }




   cat >sort-cases.sps <<'_ATEOF'
DATA LIST LIST NOTABLE FILE='data.txt'/x y (F8).
SORT CASES BY x/BUFFERS=3.
PRINT OUTFILE='output.txt'/x y.
EXECUTE.
_ATEOF

   { set +x
$as_echo "$at_srcdir/sort-cases.at:91: pspp --testing-mode -o pspp.csv sort-cases.sps"
at_fn_check_prepare_trace "sort-cases.at:91"
( $at_check_trace; pspp --testing-mode -o pspp.csv sort-cases.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sort-cases.at:91"
$at_failed && at_fn_log_failure  \
"data.txt" \
"output.txt" \
"sort-cases.sps"
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/sort-cases.at:91: cat output.txt"
at_fn_check_prepare_trace "sort-cases.at:91"
( $at_check_trace; cat output.txt
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sort-cases.at:91"
$at_failed && at_fn_log_failure  \
"data.txt" \
"output.txt" \
"sort-cases.sps"
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_690
#AT_START_691
at_fn_group_banner 691 'sort-cases.at:92' \
  "sort 10000 cases (100 unique) with 5 buffers" "   " 89
at_xfail=no
(
  $as_echo "691. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/sort-cases.at:92: sort_cases_gen_data 100 100 5"
at_fn_check_prepare_trace "sort-cases.at:92"
( $at_check_trace; sort_cases_gen_data 100 100 5
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sort-cases.at:92"
$at_failed && at_fn_log_failure
$at_traceon; }




   cat >sort-cases.sps <<'_ATEOF'
DATA LIST LIST NOTABLE FILE='data.txt'/x y (F8).
SORT CASES BY x/BUFFERS=5.
PRINT OUTFILE='output.txt'/x y.
EXECUTE.
_ATEOF

   { set +x
$as_echo "$at_srcdir/sort-cases.at:92: pspp --testing-mode -o pspp.csv sort-cases.sps"
at_fn_check_prepare_trace "sort-cases.at:92"
( $at_check_trace; pspp --testing-mode -o pspp.csv sort-cases.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sort-cases.at:92"
$at_failed && at_fn_log_failure  \
"data.txt" \
"output.txt" \
"sort-cases.sps"
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/sort-cases.at:92: cat output.txt"
at_fn_check_prepare_trace "sort-cases.at:92"
( $at_check_trace; cat output.txt
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sort-cases.at:92"
$at_failed && at_fn_log_failure  \
"data.txt" \
"output.txt" \
"sort-cases.sps"
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_691
#AT_START_692
at_fn_group_banner 692 'sort-cases.at:93' \
  "sort 10000 cases (100 unique)" "                  " 89
at_xfail=no
(
  $as_echo "692. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/sort-cases.at:93: sort_cases_gen_data 100 100 "
at_fn_check_prepare_trace "sort-cases.at:93"
( $at_check_trace; sort_cases_gen_data 100 100
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sort-cases.at:93"
$at_failed && at_fn_log_failure
$at_traceon; }




   cat >sort-cases.sps <<'_ATEOF'
DATA LIST LIST NOTABLE FILE='data.txt'/x y (F8).
SORT CASES BY x.
PRINT OUTFILE='output.txt'/x y.
EXECUTE.
_ATEOF

   { set +x
$as_echo "$at_srcdir/sort-cases.at:93: pspp --testing-mode -o pspp.csv sort-cases.sps"
at_fn_check_prepare_trace "sort-cases.at:93"
( $at_check_trace; pspp --testing-mode -o pspp.csv sort-cases.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sort-cases.at:93"
$at_failed && at_fn_log_failure  \
"data.txt" \
"output.txt" \
"sort-cases.sps"
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/sort-cases.at:93: cat output.txt"
at_fn_check_prepare_trace "sort-cases.at:93"
( $at_check_trace; cat output.txt
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sort-cases.at:93"
$at_failed && at_fn_log_failure  \
"data.txt" \
"output.txt" \
"sort-cases.sps"
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_692
#AT_START_693
at_fn_group_banner 693 'sort-cases.at:95' \
  "sort 50000 cases (10000 unique) with 500 buffers" "" 89
at_xfail=no
(
  $as_echo "693. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/sort-cases.at:95: sort_cases_gen_data 10000 5 500"
at_fn_check_prepare_trace "sort-cases.at:95"
( $at_check_trace; sort_cases_gen_data 10000 5 500
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sort-cases.at:95"
$at_failed && at_fn_log_failure
$at_traceon; }




   cat >sort-cases.sps <<'_ATEOF'
DATA LIST LIST NOTABLE FILE='data.txt'/x y (F8).
SORT CASES BY x/BUFFERS=500.
PRINT OUTFILE='output.txt'/x y.
EXECUTE.
_ATEOF

   { set +x
$as_echo "$at_srcdir/sort-cases.at:95: pspp --testing-mode -o pspp.csv sort-cases.sps"
at_fn_check_prepare_trace "sort-cases.at:95"
( $at_check_trace; pspp --testing-mode -o pspp.csv sort-cases.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sort-cases.at:95"
$at_failed && at_fn_log_failure  \
"data.txt" \
"output.txt" \
"sort-cases.sps"
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/sort-cases.at:95: cat output.txt"
at_fn_check_prepare_trace "sort-cases.at:95"
( $at_check_trace; cat output.txt
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sort-cases.at:95"
$at_failed && at_fn_log_failure  \
"data.txt" \
"output.txt" \
"sort-cases.sps"
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_693
#AT_START_694
at_fn_group_banner 694 'sort-cases.at:97' \
  "sort 50000 cases" "                               " 89
at_xfail=no
(
  $as_echo "694. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/sort-cases.at:97: sort_cases_gen_data 50000 1 "
at_fn_check_prepare_trace "sort-cases.at:97"
( $at_check_trace; sort_cases_gen_data 50000 1
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sort-cases.at:97"
$at_failed && at_fn_log_failure
$at_traceon; }




   cat >sort-cases.sps <<'_ATEOF'
DATA LIST LIST NOTABLE FILE='data.txt'/x y (F8).
SORT CASES BY x.
PRINT OUTFILE='output.txt'/x y.
EXECUTE.
_ATEOF

   { set +x
$as_echo "$at_srcdir/sort-cases.at:97: pspp --testing-mode -o pspp.csv sort-cases.sps"
at_fn_check_prepare_trace "sort-cases.at:97"
( $at_check_trace; pspp --testing-mode -o pspp.csv sort-cases.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sort-cases.at:97"
$at_failed && at_fn_log_failure  \
"data.txt" \
"output.txt" \
"sort-cases.sps"
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/sort-cases.at:97: cat output.txt"
at_fn_check_prepare_trace "sort-cases.at:97"
( $at_check_trace; cat output.txt
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sort-cases.at:97"
$at_failed && at_fn_log_failure  \
"data.txt" \
"output.txt" \
"sort-cases.sps"
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_694
#AT_START_695
at_fn_group_banner 695 'sort-cases.at:100' \
  "SORT CASES preserves filtered cases" "            " 89
at_xfail=no
(
  $as_echo "695. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >sort-cases.sps <<'_ATEOF'
DATA LIST FREE /x.
BEGIN DATA.
5 4 3 2 1 0
END DATA.
COMPUTE mod2 = MOD(x, 2).
LIST.
FILTER BY mod2.
LIST.
SORT CASES BY x.
LIST.
FILTER OFF.
LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/sort-cases.at:115: pspp -O format=csv sort-cases.sps"
at_fn_check_prepare_trace "sort-cases.at:115"
( $at_check_trace; pspp -O format=csv sort-cases.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
x,mod2
5.00,1.00
4.00,.00
3.00,1.00
2.00,.00
1.00,1.00
.00,.00

Table: Data List
x,mod2
5.00,1.00
3.00,1.00
1.00,1.00

Table: Data List
x,mod2
1.00,1.00
3.00,1.00
5.00,1.00

Table: Data List
x,mod2
.00,.00
1.00,1.00
2.00,.00
3.00,1.00
4.00,.00
5.00,1.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sort-cases.at:115"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_695
#AT_START_696
at_fn_group_banner 696 't-test.at:19' \
  "T-TEST /PAIRS" "                                  " 90
at_xfail=no
(
  $as_echo "696. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >t-test.sps <<'_ATEOF'
data list list /ID * A * B *.
begin data.
1 2.0 3.0
2 1.0 2.0
3 2.0 4.5
4 2.0 4.5
5 3.0 6.0
end data.

t-test /PAIRS a with b (PAIRED).
_ATEOF


{ set +x
$as_echo "$at_srcdir/t-test.at:33: pspp -O format=csv t-test.sps"
at_fn_check_prepare_trace "t-test.at:33"
( $at_check_trace; pspp -O format=csv t-test.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Reading free-form data from INLINE.
Variable,Format
ID,F8.0
A,F8.0
B,F8.0

Table: Paired Sample Statistics
,,Mean,N,Std. Deviation,S.E. Mean
Pair 1,A,2.00,5,.71,.32
,B,4.00,5,1.54,.69

Table: Paired Samples Correlations
,,N,Correlation,Sig.
Pair 1,A & B,5,.92,.028

Table: Paired Samples Test
,,Paired Differences,,,,,,,
,,,,,95% Confidence Interval of the Difference,,,,
,,Mean,Std. Deviation,Std. Error Mean,Lower,Upper,t,df,Sig. (2-tailed)
Pair 1,A - B,-2.00,.94,.42,-3.16,-.84,-4.78,4,.009
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/t-test.at:33"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_696
#AT_START_697
at_fn_group_banner 697 't-test.at:59' \
  "T-TEST /PAIRS with per-analysis missing values" " " 90
at_xfail=no
(
  $as_echo "697. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >ref.sps <<'_ATEOF'
data list list /id * a * b * c * d *.
begin data.
1 2.0 3.0 4.0 4.0
2 1.0 2.0 5.1 3.9
3 2.0 4.5 5.2 3.8
4 2.0 4.5 5.3 3.7
56 3.0 6.0 5.9 3.6
end data.

t-test /PAIRS a c with b d (PAIRED).
_ATEOF


cat >expout <<'_ATEOF'
Table: Reading free-form data from INLINE.
Variable,Format
id,F8.0
a,F8.0
b,F8.0
c,F8.0
d,F8.0

Table: Paired Sample Statistics
,,Mean,N,Std. Deviation,S.E. Mean
Pair 1,a,2.00,5,.71,.32
,b,4.00,5,1.54,.69
Pair 2,c,5.10,5,.69,.31
,d,3.80,5,.16,.07

Table: Paired Samples Correlations
,,N,Correlation,Sig.
Pair 1,a & b,5,.92,.028
Pair 2,c & d,5,-.92,.028

Table: Paired Samples Test
,,Paired Differences,,,,,,,
,,,,,95% Confidence Interval of the Difference,,,,
,,Mean,Std. Deviation,Std. Error Mean,Lower,Upper,t,df,Sig. (2-tailed)
Pair 1,a - b,-2.00,.94,.42,-3.16,-.84,-4.78,4,.009
Pair 2,c - d,1.30,.84,.37,.26,2.34,3.47,4,.025
_ATEOF


{ set +x
$as_echo "$at_srcdir/t-test.at:103: pspp -o ref.csv ref.sps"
at_fn_check_prepare_trace "t-test.at:103"
( $at_check_trace; pspp -o ref.csv ref.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/t-test.at:103"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/t-test.at:104: cat ref.csv"
at_fn_check_prepare_trace "t-test.at:104"
( $at_check_trace; cat ref.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/t-test.at:104"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >missing.sps <<'_ATEOF'
data list list /id * a * b * c * d *.
begin data.
1 2.0 3.0 4.0 4.0
2 1.0 2.0 5.1 3.9
3 2.0 4.5 5.2 3.8
4 2.0 4.5 5.3 3.7
5 3.0 6.0 5.9 .
6 3.0  .  5.9 3.6
end data.


t-test /MISSING=analysis /PAIRS a c with b d (PAIRED) /CRITERIA=CI(0.95).
_ATEOF


{ set +x
$as_echo "$at_srcdir/t-test.at:120: pspp -o missing.csv missing.sps"
at_fn_check_prepare_trace "t-test.at:120"
( $at_check_trace; pspp -o missing.csv missing.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/t-test.at:120"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/t-test.at:121: cat missing.csv"
at_fn_check_prepare_trace "t-test.at:121"
( $at_check_trace; cat missing.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/t-test.at:121"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_697
#AT_START_698
at_fn_group_banner 698 't-test.at:124' \
  "T-TEST /PAIRS with listwise missing values" "     " 90
at_xfail=no
(
  $as_echo "698. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >ref.sps <<'_ATEOF'
data list list /id * a * b * c * d *.
begin data.
1 2.0 3.0 4.0 4.0
2 1.0 2.0 5.1 3.9
3 2.0 4.5 5.2 3.8
4 2.0 4.5 5.3 3.7
5 3.0 6.0 5.9 3.6
end data.

t-test /PAIRS a b with c d (PAIRED).
_ATEOF


cat >expout <<'_ATEOF'
Table: Reading free-form data from INLINE.
Variable,Format
id,F8.0
a,F8.0
b,F8.0
c,F8.0
d,F8.0

Table: Paired Sample Statistics
,,Mean,N,Std. Deviation,S.E. Mean
Pair 1,a,2.00,5,.71,.32
,c,5.10,5,.69,.31
Pair 2,b,4.00,5,1.54,.69
,d,3.80,5,.16,.07

Table: Paired Samples Correlations
,,N,Correlation,Sig.
Pair 1,a & c,5,.41,.493
Pair 2,b & d,5,-.87,.054

Table: Paired Samples Test
,,Paired Differences,,,,,,,
,,,,,95% Confidence Interval of the Difference,,,,
,,Mean,Std. Deviation,Std. Error Mean,Lower,Upper,t,df,Sig. (2-tailed)
Pair 1,a - c,-3.10,.76,.34,-4.04,-2.16,-9.14,4,.001
Pair 2,b - d,.20,1.68,.75,-1.89,2.29,.27,4,.803
_ATEOF


{ set +x
$as_echo "$at_srcdir/t-test.at:167: pspp -o ref.csv ref.sps"
at_fn_check_prepare_trace "t-test.at:167"
( $at_check_trace; pspp -o ref.csv ref.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/t-test.at:167"
$at_failed && at_fn_log_failure
$at_traceon; }


{ set +x
$as_echo "$at_srcdir/t-test.at:169: cat ref.csv"
at_fn_check_prepare_trace "t-test.at:169"
( $at_check_trace; cat ref.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/t-test.at:169"
$at_failed && at_fn_log_failure
$at_traceon; }


cat >missing.sps <<'_ATEOF'
data list list /id * a * b * c * d *.
begin data.
1 2.0 3.0 4.0 4.0
2 1.0 2.0 5.1 3.9
3 2.0 4.5 5.2 3.8
4 2.0 4.5 5.3 3.7
5 3.0 6.0 5.9 3.6
6 3.0 6.0 5.9  .
end data.


t-test /MISSING=listwise /PAIRS a b with c d (PAIRED).
_ATEOF

{ set +x
$as_echo "$at_srcdir/t-test.at:185: pspp -o missing.csv missing.sps"
at_fn_check_prepare_trace "t-test.at:185"
( $at_check_trace; pspp -o missing.csv missing.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/t-test.at:185"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/t-test.at:186: cat missing.csv"
at_fn_check_prepare_trace "t-test.at:186"
( $at_check_trace; cat missing.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/t-test.at:186"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_698
#AT_START_699
at_fn_group_banner 699 't-test.at:192' \
  "T-TEST weighted paired bug" "                     " 90
at_xfail=no
(
  $as_echo "699. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >t-test.sps <<'_ATEOF'
DATA LIST notable LIST /x y w *.
BEGIN DATA.
1 1 255
1 2 43
1 3 216
2 1 3
2 2 1
2 3 12
END DATA.

WEIGHT BY w.

T-TEST
        PAIRS =  y WITH  x (PAIRED)
        /MISSING=ANALYSIS
        /CRITERIA=CI(0.95).
_ATEOF


{ set +x
$as_echo "$at_srcdir/t-test.at:212: pspp -O format=csv t-test.sps"
at_fn_check_prepare_trace "t-test.at:212"
( $at_check_trace; pspp -O format=csv t-test.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Paired Sample Statistics
,,Mean,N,Std. Deviation,S.E. Mean
Pair 1,y,1.94,530.00,.96,.04
,x,1.03,530.00,.17,.01

Table: Paired Samples Correlations
,,N,Correlation,Sig.
Pair 1,y & x,530.00,.11,.008

Table: Paired Samples Test
,,Paired Differences,,,,,,,
,,,,,95% Confidence Interval of the Difference,,,,
,,Mean,Std. Deviation,Std. Error Mean,Lower,Upper,t,df,Sig. (2-tailed)
Pair 1,y - x,.91,.95,.04,.83,.99,22.07,529.00,.000
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/t-test.at:212"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_699
#AT_START_700
at_fn_group_banner 700 't-test.at:234' \
  "T-TEST /PAIRS bug" "                              " 90
at_xfail=no
(
  $as_echo "700. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >t-test.sps <<'_ATEOF'
set format f8.3.
data list list /A * B *.
begin data.
11 2
1  1
1  1
end data.

t-test pairs = a with b (paired).
_ATEOF

{ set +x
$as_echo "$at_srcdir/t-test.at:246: pspp -o pspp.csv t-test.sps"
at_fn_check_prepare_trace "t-test.at:246"
( $at_check_trace; pspp -o pspp.csv t-test.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/t-test.at:246"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/t-test.at:247: cat pspp.csv"
at_fn_check_prepare_trace "t-test.at:247"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Reading free-form data from INLINE.
Variable,Format
A,F8.0
B,F8.0

Table: Paired Sample Statistics
,,Mean,N,Std. Deviation,S.E. Mean
Pair 1,A,4.333,3,5.774,3.333
,B,1.333,3,.577,.333

Table: Paired Samples Correlations
,,N,Correlation,Sig.
Pair 1,A & B,3,1.000,.000

Table: Paired Samples Test
,,Paired Differences,,,,,,,
,,,,,95% Confidence Interval of the Difference,,,,
,,Mean,Std. Deviation,Std. Error Mean,Lower,Upper,t,df,Sig. (2-tailed)
Pair 1,A - B,3.000,5.196,3.000,-9.908,15.908,1.000,2,.423
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/t-test.at:247"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_700
#AT_START_701
at_fn_group_banner 701 't-test.at:270' \
  "T-TEST /GROUPS" "                                 " 90
at_xfail=no
(
  $as_echo "701. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >t-test.sps <<'_ATEOF'
data list list /ID * INDEP * DEP1 * DEP2 *.
begin data.
1  1.1 1 3
2  1.1 2 4
3  1.1 2 4
4  1.1 2 4
5  1.1 3 5
6  2.1 3 1
7  2.1 4 2
8  2.1 4 2
9  2.1 4 2
10 2.1 5 3
11 3.1 2 2
end data.

* Note that the last case should be IGNORED since it doesn't have a
  dependent variable of either 1.1 or 2.1.

t-test /GROUPS=indep(1.1,2.1) /var=dep1 dep2.
_ATEOF


{ set +x
$as_echo "$at_srcdir/t-test.at:293: pspp -O format=csv t-test.sps"
at_fn_check_prepare_trace "t-test.at:293"
( $at_check_trace; pspp -O format=csv t-test.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Reading free-form data from INLINE.
Variable,Format
ID,F8.0
INDEP,F8.0
DEP1,F8.0
DEP2,F8.0

Table: Group Statistics
,INDEP,N,Mean,Std. Deviation,S.E. Mean
DEP1,1.10,5,2.00,.71,.32
,2.10,5,4.00,.71,.32
DEP2,1.10,5,4.00,.71,.32
,2.10,5,2.00,.71,.32

Table: Independent Samples Test
,,Levene's Test for Equality of Variances,,t-test for Equality of Means,,,,,,
,,,,,,,,,95% Confidence Interval of the Difference,
,,F,Sig.,t,df,Sig. (2-tailed),Mean Difference,Std. Error Difference,Lower,Upper
DEP1,Equal variances assumed,.00,1.000,-4.47,8.00,.002,-2.00,.45,-3.03,-.97
,Equal variances not assumed,,,-4.47,8.00,.002,-2.00,.45,-3.03,-.97
DEP2,Equal variances assumed,.00,1.000,4.47,8.00,.002,2.00,.45,.97,3.03
,Equal variances not assumed,,,4.47,8.00,.002,2.00,.45,.97,3.03
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/t-test.at:293"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_701
#AT_START_702
at_fn_group_banner 702 't-test.at:320' \
  "T-TEST /GROUPS with one value for independent variable" "" 90
at_xfail=no
(
  $as_echo "702. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >t-test.sps <<'_ATEOF'
data list list /INDEP * DEP *.
begin data.
       1        6
       1        6
       1        7
       1        6
       1       13
       1        4
       1        7
       1        9
       1        7
       1       12
       1       11
       2       11
       2        9
       2        8
       2        4
       2       16
       2        9
       2        9
       2        5
       2        4
       2       10
       2       14
end data.
t-test /groups=indep(1.514) /var=dep.
_ATEOF


{ set +x
$as_echo "$at_srcdir/t-test.at:350: pspp -O format=csv t-test.sps"
at_fn_check_prepare_trace "t-test.at:350"
( $at_check_trace; pspp -O format=csv t-test.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Reading free-form data from INLINE.
Variable,Format
INDEP,F8.0
DEP,F8.0

Table: Group Statistics
,INDEP,N,Mean,Std. Deviation,S.E. Mean
DEP,≥    1.51,11,9.00,3.82,1.15
,<    1.51,11,8.00,2.86,.86

Table: Independent Samples Test
,,Levene's Test for Equality of Variances,,t-test for Equality of Means,,,,,,
,,,,,,,,,95% Confidence Interval of the Difference,
,,F,Sig.,t,df,Sig. (2-tailed),Mean Difference,Std. Error Difference,Lower,Upper
DEP,Equal variances assumed,.17,.683,.69,20.00,.495,1.00,1.44,-2.00,4.00
,Equal variances not assumed,,,.69,18.54,.496,1.00,1.44,-2.02,4.02
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/t-test.at:350"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_702
#AT_START_703
at_fn_group_banner 703 't-test.at:370' \
  "T-TEST /GROUPS with per-analysis missing values" "" 90
at_xfail=no
(
  $as_echo "703. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >ref.sps <<'_ATEOF'
data list list /id * indep * dep1 * dep2 *.
begin data.
1  1.0 3.5 6
2  1.0 2.0 5
3  1.0 2.0 4
4  2.0 3.5 3
56 2.0 3.0 1
end data.

t-test /group=indep /var=dep1, dep2.
_ATEOF

cat >expout <<'_ATEOF'
Table: Reading free-form data from INLINE.
Variable,Format
id,F8.0
indep,F8.0
dep1,F8.0
dep2,F8.0

Table: Group Statistics
,indep,N,Mean,Std. Deviation,S.E. Mean
dep1,1.00,3,2.50,.87,.50
,2.00,2,3.25,.35,.25
dep2,1.00,3,5.00,1.00,.58
,2.00,2,2.00,1.41,1.00

Table: Independent Samples Test
,,Levene's Test for Equality of Variances,,t-test for Equality of Means,,,,,,
,,,,,,,,,95% Confidence Interval of the Difference,
,,F,Sig.,t,df,Sig. (2-tailed),Mean Difference,Std. Error Difference,Lower,Upper
dep1,Equal variances assumed,3.75,.148,-1.12,3.00,.346,-.75,.67,-2.89,1.39
,Equal variances not assumed,,,-1.34,2.78,.279,-.75,.56,-2.61,1.11
dep2,Equal variances assumed,.60,.495,2.85,3.00,.065,3.00,1.05,-.35,6.35
,Equal variances not assumed,,,2.60,1.68,.144,3.00,1.15,-2.98,8.98
_ATEOF

{ set +x
$as_echo "$at_srcdir/t-test.at:407: pspp -o ref.csv ref.sps"
at_fn_check_prepare_trace "t-test.at:407"
( $at_check_trace; pspp -o ref.csv ref.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/t-test.at:407"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/t-test.at:408: cat ref.csv"
at_fn_check_prepare_trace "t-test.at:408"
( $at_check_trace; cat ref.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/t-test.at:408"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >missing.sps <<'_ATEOF'
data list list /id * indep * dep1 * dep2.
begin data.
1 1.0 3.5 6
2 1.0 2.0 5
3 1.0 2.0 4
4 2.0 3.5 3
5 2.0 3.0 .
6 2.0 .   1
7  .  3.1 5
end data.

* Note that if the independent variable is missing, then it's implicitly
* listwise missing.

t-test /missing=analysis /group=indep /var=dep1 dep2.
_ATEOF

{ set +x
$as_echo "$at_srcdir/t-test.at:426: pspp -o missing.csv missing.sps"
at_fn_check_prepare_trace "t-test.at:426"
( $at_check_trace; pspp -o missing.csv missing.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/t-test.at:426"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/t-test.at:427: cat missing.csv"
at_fn_check_prepare_trace "t-test.at:427"
( $at_check_trace; cat missing.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/t-test.at:427"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_703
#AT_START_704
at_fn_group_banner 704 't-test.at:430' \
  "T-TEST /GROUPS with listwise missing values" "    " 90
at_xfail=no
(
  $as_echo "704. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >ref.sps <<'_ATEOF'
data list list /id * indep * dep1 * dep2.
begin data.
1 1.0 3.5 6
2 1.0 2.0 5
3 1.0 2.0 4
4 2.0 3.5 3
5 2.0 3.0 2
6 2.0 4.0 1
end data.

t-test /group=indep /var=dep1 dep2.
_ATEOF


cat >expout <<'_ATEOF'
Table: Reading free-form data from INLINE.
Variable,Format
id,F8.0
indep,F8.0
dep1,F8.0
dep2,F8.0

Table: Group Statistics
,indep,N,Mean,Std. Deviation,S.E. Mean
dep1,1.00,3,2.50,.87,.50
,2.00,3,3.50,.50,.29
dep2,1.00,3,5.00,1.00,.58
,2.00,3,2.00,1.00,.58

Table: Independent Samples Test
,,Levene's Test for Equality of Variances,,t-test for Equality of Means,,,,,,
,,,,,,,,,95% Confidence Interval of the Difference,
,,F,Sig.,t,df,Sig. (2-tailed),Mean Difference,Std. Error Difference,Lower,Upper
dep1,Equal variances assumed,2.00,.230,-1.73,4.00,.158,-1.00,.58,-2.60,.60
,Equal variances not assumed,,,-1.73,3.20,.176,-1.00,.58,-2.77,.77
dep2,Equal variances assumed,.00,1.000,3.67,4.00,.021,3.00,.82,.73,5.27
,Equal variances not assumed,,,3.67,4.00,.021,3.00,.82,.73,5.27
_ATEOF


{ set +x
$as_echo "$at_srcdir/t-test.at:470: pspp -o ref.csv ref.sps"
at_fn_check_prepare_trace "t-test.at:470"
( $at_check_trace; pspp -o ref.csv ref.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/t-test.at:470"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/t-test.at:471: cat ref.csv"
at_fn_check_prepare_trace "t-test.at:471"
( $at_check_trace; cat ref.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/t-test.at:471"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >missing.sps <<'_ATEOF'
data list list /id * indep * dep1 * dep2 *.
begin data.
1 1.0 3.5 6
2 1.0 2.0 5
3 1.0 2.0 4
4 2.0 3.5 3
5 2.0 3.0 2
6 2.0 4.0 1
7 2.0 .   0
end data.

t-test /missing=listwise,exclude /group=indep /var=dep1, dep2.
_ATEOF

{ set +x
$as_echo "$at_srcdir/t-test.at:486: pspp -o missing.csv missing.sps"
at_fn_check_prepare_trace "t-test.at:486"
( $at_check_trace; pspp -o missing.csv missing.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/t-test.at:486"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/t-test.at:487: cat missing.csv"
at_fn_check_prepare_trace "t-test.at:487"
( $at_check_trace; cat missing.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/t-test.at:487"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_704
#AT_START_705
at_fn_group_banner 705 't-test.at:490' \
  "T-TEST /TESTVAL" "                                " 90
at_xfail=no
(
  $as_echo "705. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >t-test.sps <<'_ATEOF'
data list list /ID * ABC *.
begin data.
1 3.5
2 2.0
3 2.0
4 3.5
5 3.0
6 4.0
end data.

t-test /testval=2.0 /var=abc.
_ATEOF

{ set +x
$as_echo "$at_srcdir/t-test.at:504: pspp -O format=csv t-test.sps"
at_fn_check_prepare_trace "t-test.at:504"
( $at_check_trace; pspp -O format=csv t-test.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Reading free-form data from INLINE.
Variable,Format
ID,F8.0
ABC,F8.0

Table: One-Sample Statistics
,N,Mean,Std. Deviation,S.E. Mean
ABC,6,3.00,.84,.34

Table: One-Sample Test
,Test Value = 2.000000,,,,,
,,,,,95% Confidence Interval of the Difference,
,t,df,Sig. (2-tailed),Mean Difference,Lower,Upper
ABC,2.93,5,.033,1.00,.12,1.88
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/t-test.at:504"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_705
#AT_START_706
at_fn_group_banner 706 't-test.at:522' \
  "T-TEST /TESTVAL with per-analysis missing values" "" 90
at_xfail=no
(
  $as_echo "706. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >ref.sps <<'_ATEOF'
data list list /id * x1 * x2.
begin data.
1 3.5 34
2 2.0 10
3 2.0 23
4 3.5 98
5 3.0 23
67 4.0 8
end data.

t-test /testval=3.0 /var=x1 x2.
_ATEOF

cat >expout <<'_ATEOF'
Table: Reading free-form data from INLINE.
Variable,Format
id,F8.0
x1,F8.0
x2,F8.0

Table: One-Sample Statistics
,N,Mean,Std. Deviation,S.E. Mean
x1,6,3.00,.84,.34
x2,6,32.67,33.40,13.64

Table: One-Sample Test
,Test Value = 3.000000,,,,,
,,,,,95% Confidence Interval of the Difference,
,t,df,Sig. (2-tailed),Mean Difference,Lower,Upper
x1,.00,5,1.000,.00,-.88,.88
x2,2.18,5,.082,29.67,-5.39,64.72
_ATEOF

{ set +x
$as_echo "$at_srcdir/t-test.at:555: pspp -o ref.csv ref.sps"
at_fn_check_prepare_trace "t-test.at:555"
( $at_check_trace; pspp -o ref.csv ref.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/t-test.at:555"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/t-test.at:556: cat ref.csv"
at_fn_check_prepare_trace "t-test.at:556"
( $at_check_trace; cat ref.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/t-test.at:556"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >missing.sps <<'_ATEOF'
data list list /id * x1 * x2.
begin data.
1 3.5 34
2 2.0 10
3 2.0 23
4 3.5 98
5 3.0 23
6 4.0 .
7  .  8
end data.

t-test /missing=analysis /testval=3.0 /var=x1 x2.
_ATEOF

{ set +x
$as_echo "$at_srcdir/t-test.at:571: pspp -o missing.csv missing.sps"
at_fn_check_prepare_trace "t-test.at:571"
( $at_check_trace; pspp -o missing.csv missing.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/t-test.at:571"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/t-test.at:572: cat missing.csv"
at_fn_check_prepare_trace "t-test.at:572"
( $at_check_trace; cat missing.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/t-test.at:572"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_706
#AT_START_707
at_fn_group_banner 707 't-test.at:575' \
  "T-TEST /TESTVAL with listwise missing values" "   " 90
at_xfail=no
(
  $as_echo "707. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >ref.sps <<'_ATEOF'
data list list /id * x1 * x2.
begin data.
1 3.5 34
2 2.0 10
3 2.0 23
4 3.5 98
5 3.0 23
end data.

t-test /testval=3.0 /var=x1 x2.
_ATEOF

cat >expout <<'_ATEOF'
Table: Reading free-form data from INLINE.
Variable,Format
id,F8.0
x1,F8.0
x2,F8.0

Table: One-Sample Statistics
,N,Mean,Std. Deviation,S.E. Mean
x1,5,2.80,.76,.34
x2,5,37.60,34.82,15.57

Table: One-Sample Test
,Test Value = 3.000000,,,,,
,,,,,95% Confidence Interval of the Difference,
,t,df,Sig. (2-tailed),Mean Difference,Lower,Upper
x1,-.59,4,.587,-.20,-1.14,.74
x2,2.22,4,.090,34.60,-8.63,77.83
_ATEOF

{ set +x
$as_echo "$at_srcdir/t-test.at:607: pspp -o ref.csv ref.sps"
at_fn_check_prepare_trace "t-test.at:607"
( $at_check_trace; pspp -o ref.csv ref.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/t-test.at:607"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/t-test.at:608: cat ref.csv"
at_fn_check_prepare_trace "t-test.at:608"
( $at_check_trace; cat ref.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/t-test.at:608"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >missing.sps <<'_ATEOF'
data list list /id * x1 * x2.
begin data.
1 3.5 34
2 2.0 10
3 2.0 23
4 3.5 98
5 3.0 23
6 4.0 99
end data.

MISSING VALUES x2(99).

t-test /missing=listwise /testval=3.0 /var=x1 x2.
_ATEOF

{ set +x
$as_echo "$at_srcdir/t-test.at:624: pspp -o missing.csv missing.sps"
at_fn_check_prepare_trace "t-test.at:624"
( $at_check_trace; pspp -o missing.csv missing.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/t-test.at:624"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/t-test.at:625: cat missing.csv"
at_fn_check_prepare_trace "t-test.at:625"
( $at_check_trace; cat missing.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/t-test.at:625"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_707
#AT_START_708
at_fn_group_banner 708 't-test.at:628' \
  "T-TEST wih TEMPORARY transformation" "            " 90
at_xfail=no
(
  $as_echo "708. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >ref.sps <<'_ATEOF'
data list list /ind * x * .
begin data.
1 3.5
1 2.0
1 2.0
2 3.5
2 3.0
2 4.0
end data.

t-test /groups=ind(1,2) /var x.
_ATEOF

cat >expout <<'_ATEOF'
Table: Reading free-form data from INLINE.
Variable,Format
ind,F8.0
x,F8.0

Table: Group Statistics
,ind,N,Mean,Std. Deviation,S.E. Mean
x,1.00,3,2.50,.87,.50
,2.00,3,3.50,.50,.29

Table: Independent Samples Test
,,Levene's Test for Equality of Variances,,t-test for Equality of Means,,,,,,
,,,,,,,,,95% Confidence Interval of the Difference,
,,F,Sig.,t,df,Sig. (2-tailed),Mean Difference,Std. Error Difference,Lower,Upper
x,Equal variances assumed,2.00,.230,-1.73,4.00,.158,-1.00,.58,-2.60,.60
,Equal variances not assumed,,,-1.73,3.20,.176,-1.00,.58,-2.77,.77
_ATEOF

{ set +x
$as_echo "$at_srcdir/t-test.at:660: pspp -o ref.csv ref.sps"
at_fn_check_prepare_trace "t-test.at:660"
( $at_check_trace; pspp -o ref.csv ref.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/t-test.at:660"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/t-test.at:661: cat ref.csv"
at_fn_check_prepare_trace "t-test.at:661"
( $at_check_trace; cat ref.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/t-test.at:661"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >temporary.sps <<'_ATEOF'
data list list /ind * x * .
begin data.
1 3.5
1 2.0
1 2.0
2 3.5
2 3.0
2 4.0
2 9.0
end data.

TEMPORARY.
SELECT IF x < 7.

t-test /groups=ind(1 2) /var x.
_ATEOF

{ set +x
$as_echo "$at_srcdir/t-test.at:679: pspp -o temporary.csv temporary.sps"
at_fn_check_prepare_trace "t-test.at:679"
( $at_check_trace; pspp -o temporary.csv temporary.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/t-test.at:679"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/t-test.at:680: cat temporary.csv"
at_fn_check_prepare_trace "t-test.at:680"
( $at_check_trace; cat temporary.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/t-test.at:680"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_708
#AT_START_709
at_fn_group_banner 709 't-test.at:684' \
  "T-TEST invalid syntax" "                          " 90
at_xfail=no
(
  $as_echo "709. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >t-test.sps <<'_ATEOF'
DATA LIST LIST NOTABLE /id * a * .
BEGIN DATA.
1 3.5
2 2.0
3 2.0
4 3.5
5 3.0
6 4.0
END DATA.

T-TEST /testval=2.0 .
T-TEST /groups=id(3) .
_ATEOF

{ set +x
$as_echo "$at_srcdir/t-test.at:699: pspp -O format=csv t-test.sps"
at_fn_check_prepare_trace "t-test.at:699"
( $at_check_trace; pspp -O format=csv t-test.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "t-test.sps:11: error: T-TEST: Required subcommand VARIABLES was not specified.

t-test.sps:12: error: T-TEST: Required subcommand VARIABLES was not specified.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/t-test.at:699"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_709
#AT_START_710
at_fn_group_banner 710 't-test.at:707' \
  "T-TEST string variable" "                         " 90
at_xfail=no
(
  $as_echo "710. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >t-test.sps <<'_ATEOF'
data list list /ID * INDEP (a1) DEP1 * DEP2 *.
begin data.
1  'a' 1 3
2  'a' 2 4
3  'a' 2 4
4  'a' 2 4
5  'a' 3 5
6  'b' 3 1
7  'b' 4 2
8  'b' 4 2
9  'b' 4 2
10 'b' 5 3
11 'c' 2 2
end data.


t-test /GROUPS=indep('a','b') /var=dep1 dep2.
_ATEOF


{ set +x
$as_echo "$at_srcdir/t-test.at:728: pspp -O format=csv t-test.sps"
at_fn_check_prepare_trace "t-test.at:728"
( $at_check_trace; pspp -O format=csv t-test.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Reading free-form data from INLINE.
Variable,Format
ID,F8.0
INDEP,A1
DEP1,F8.0
DEP2,F8.0

Table: Group Statistics
,INDEP,N,Mean,Std. Deviation,S.E. Mean
DEP1,a,5,2.00,.71,.32
,b,5,4.00,.71,.32
DEP2,a,5,4.00,.71,.32
,b,5,2.00,.71,.32

Table: Independent Samples Test
,,Levene's Test for Equality of Variances,,t-test for Equality of Means,,,,,,
,,,,,,,,,95% Confidence Interval of the Difference,
,,F,Sig.,t,df,Sig. (2-tailed),Mean Difference,Std. Error Difference,Lower,Upper
DEP1,Equal variances assumed,.00,1.000,-4.47,8.00,.002,-2.00,.45,-3.03,-.97
,Equal variances not assumed,,,-4.47,8.00,.002,-2.00,.45,-3.03,-.97
DEP2,Equal variances assumed,.00,1.000,4.47,8.00,.002,2.00,.45,.97,3.03
,Equal variances not assumed,,,4.47,8.00,.002,2.00,.45,.97,3.03
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/t-test.at:728"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_710
#AT_START_711
at_fn_group_banner 711 't-test.at:754' \
  "T-TEST string variable, only one value" "         " 90
at_xfail=no
(
  $as_echo "711. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >t-test.sps <<'_ATEOF'
data list list notable /id * indep (a1) dep1 * dep2 *.
begin data.
1  'a' 1 3
2  'a' 2 4
3  'a' 2 4
4  'a' 2 4
5  'a' 3 5
6  'b' 3 1
7  'b' 4 2
8  'b' 4 2
9  'b' 4 2
10 'b' 5 3
11 'c' 2 2
end data.


t-test /GROUPS=indep('a') /var=dep1 dep2.
_ATEOF

{ set +x
$as_echo "$at_srcdir/t-test.at:774: pspp -O format=csv t-test.sps"
at_fn_check_prepare_trace "t-test.at:774"
( $at_check_trace; pspp -O format=csv t-test.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "\"t-test.sps:17: error: T-TEST: When applying GROUPS to a string variable, two values must be specified.\"
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/t-test.at:774"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_711
#AT_START_712
at_fn_group_banner 712 't-test.at:780' \
  "T-TEST string variable comparison bug" "          " 90
at_xfail=no
(
  $as_echo "712. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >t-test.sps <<'_ATEOF'
data list list /x * gv (a8).
begin data.
3   One
2   One
3   One
2   One
3   One
4   Two
3.5 Two
3.0 Two
end data.

t-test group=gv('One', 'Two')
	/variables = x.
_ATEOF


{ set +x
$as_echo "$at_srcdir/t-test.at:798: pspp -O format=csv t-test.sps"
at_fn_check_prepare_trace "t-test.at:798"
( $at_check_trace; pspp -O format=csv t-test.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Reading free-form data from INLINE.
Variable,Format
x,F8.0
gv,A8

Table: Group Statistics
,gv,N,Mean,Std. Deviation,S.E. Mean
x,One     ,5,2.60,.55,.24
,Two     ,3,3.50,.50,.29

Table: Independent Samples Test
,,Levene's Test for Equality of Variances,,t-test for Equality of Means,,,,,,
,,,,,,,,,95% Confidence Interval of the Difference,
,,F,Sig.,t,df,Sig. (2-tailed),Mean Difference,Std. Error Difference,Lower,Upper
x,Equal variances assumed,1.13,.329,-2.32,6.00,.060,-.90,.39,-1.85,.05
,Equal variances not assumed,,,-2.38,4.70,.067,-.90,.38,-1.89,.09
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/t-test.at:798"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_712
#AT_START_713
at_fn_group_banner 713 't-test.at:821' \
  "T-TEST wrong group" "                             " 90
at_xfail=no
(
  $as_echo "713. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >t-test-crs.sps <<'_ATEOF'
data list list /x * g *.
begin data.
1 2
2 2
3 2
4 2
5 2
end data.

t-test /variables = x group=g(1,3).
_ATEOF


{ set +x
$as_echo "$at_srcdir/t-test.at:835: pspp t-test-crs.sps"
at_fn_check_prepare_trace "t-test.at:835"
( $at_check_trace; pspp t-test-crs.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/t-test.at:835"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_713
#AT_START_714
at_fn_group_banner 714 't-test.at:842' \
  "T-TEST non number p value" "                      " 90
at_xfail=no
(
  $as_echo "714. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >t.sps <<'_ATEOF'
data list list /age d_frage_1 weight height *.
begin data.
1 2 3 1
4 5 6 2
end data.

T-TEST /VARIABLES=age weight height
 /GROUPS=d_frage_1(1,0) /MISSING=ANALYSIS /CRITERIA=CIN(p.95).
_ATEOF


{ set +x
$as_echo "$at_srcdir/t-test.at:854: pspp t.sps"
at_fn_check_prepare_trace "t-test.at:854"
( $at_check_trace; pspp t.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
at_fn_check_status 1 $at_status "$at_srcdir/t-test.at:854"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_714
#AT_START_715
at_fn_group_banner 715 't-test.at:861' \
  "T-TEST unterminated string - paired" "            " 90
at_xfail=no
(
  $as_echo "715. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >t.sps <<'_ATEOF'
data list list /id * a * b * c * d *.
begin data.
5 2.0 3.0 4.0 4.0
3 1.0 2.0 5.1 3.9
3 2.0 4.5 5.2(3.8
4 2.0 4.5 5n3 3.7
5 3.0 6.0 5.9 3.6
6 3.4 6.0 5.9  .
end data.


t-test /MISSING=listwise /PAIRS a"b with c d (PA	RED).
_ATEOF


{ set +x
$as_echo "$at_srcdir/t-test.at:877: pspp t.sps"
at_fn_check_prepare_trace "t-test.at:877"
( $at_check_trace; pspp t.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
at_fn_check_status 1 $at_status "$at_srcdir/t-test.at:877"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_715
#AT_START_716
at_fn_group_banner 716 'cache.at:19' \
  "CACHE" "                                          " 91
at_xfail=no
(
  $as_echo "716. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >cache.sps <<'_ATEOF'
CACHE.
_ATEOF

{ set +x
$as_echo "$at_srcdir/cache.at:23: pspp -O format=csv cache.sps"
at_fn_check_prepare_trace "cache.at:23"
( $at_check_trace; pspp -O format=csv cache.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/cache.at:23"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_716
#AT_START_717
at_fn_group_banner 717 'cd.at:19' \
  "CD" "                                             " 92
at_xfail=no
(
  $as_echo "717. $at_setup_line: testing $at_desc ..."
  $at_traceon

mkdir subdir
cat >cd.sps <<'_ATEOF'
cd 'subdir'.
host command=['pwd > mydir'].
_ATEOF

{ set +x
$as_echo "$at_srcdir/cd.at:25: pspp -O format=csv cd.sps"
at_fn_check_prepare_trace "cd.at:25"
( $at_check_trace; pspp -O format=csv cd.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/cd.at:25"
$at_failed && at_fn_log_failure
$at_traceon; }


{ set +x
$as_echo "$at_srcdir/cd.at:27: sed 's,.*/,,' subdir/mydir"
at_fn_check_prepare_trace "cd.at:27"
( $at_check_trace; sed 's,.*/,,' subdir/mydir
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "subdir
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/cd.at:27"
$at_failed && at_fn_log_failure  \
"subdir/mydir"
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_717
#AT_START_718
at_fn_group_banner 718 'date.at:19' \
  "USE ALL" "                                        " 93
at_xfail=no
(
  $as_echo "718. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >use.sps <<'_ATEOF'
data list notable /X 1-2.
begin data.
1
2
3
4
5
6
7
8
9
10
end data.
use all.
list.
_ATEOF

{ set +x
$as_echo "$at_srcdir/date.at:37: pspp -o pspp.csv use.sps"
at_fn_check_prepare_trace "date.at:37"
( $at_check_trace; pspp -o pspp.csv use.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/date.at:37"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/date.at:38: cat pspp.csv"
at_fn_check_prepare_trace "date.at:38"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
X
1
2
3
4
5
6
7
8
9
10
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/date.at:38"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_718
#AT_START_719
at_fn_group_banner 719 'insert.at:31' \
  "INSERT SYNTAX=INTERACTIVE" "                      " 94
at_xfail=no
(
  $as_echo "719. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >batch.sps <<'_ATEOF'
input program
loop #i = 1 to 5
+  compute z = #i
+  end case
end loop
end file
end input program
_ATEOF

cat >insert.sps <<'_ATEOF'
INSERT
  FILE='batch.sps'
  SYNTAX=interactive.
LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/insert.at:39: pspp -o pspp.csv insert.sps"
at_fn_check_prepare_trace "insert.at:39"
( $at_check_trace; pspp -o pspp.csv insert.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "batch.sps:2.1-2.4: error: INPUT PROGRAM: Syntax error at \`loop': expecting end of command.
batch.sps:3: error: COMPUTE: COMPUTE is allowed only after the active dataset has been defined or inside INPUT PROGRAM.
batch.sps:4: error: END CASE: END CASE is allowed only inside INPUT PROGRAM.
insert.sps:4: error: LIST: LIST is allowed only after the active dataset has been defined.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/insert.at:39"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_719
#AT_START_720
at_fn_group_banner 720 'insert.at:47' \
  "INSERT SYNTAX=BATCH" "                            " 94
at_xfail=no
(
  $as_echo "720. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >batch.sps <<'_ATEOF'
input program
loop #i = 1 to 5
+  compute z = #i
+  end case
end loop
end file
end input program
_ATEOF

cat >insert.sps <<'_ATEOF'
INSERT
  FILE='batch.sps'
  SYNTAX=BATCH.
LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/insert.at:55: pspp -o pspp.csv insert.sps"
at_fn_check_prepare_trace "insert.at:55"
( $at_check_trace; pspp -o pspp.csv insert.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/insert.at:55"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/insert.at:56: cat pspp.csv"
at_fn_check_prepare_trace "insert.at:56"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
z
1.00
2.00
3.00
4.00
5.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/insert.at:56"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_720
#AT_START_721
at_fn_group_banner 721 'insert.at:67' \
  "INSERT CD=NO" "                                   " 94
at_xfail=no
(
  $as_echo "721. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >insert.sps <<'_ATEOF'
INSERT FILE='Dir1/foo.sps'.
LIST.
_ATEOF

mkdir Dir1
cat >Dir1/foo.sps <<'_ATEOF'
INSERT FILE='bar.sps' CD=NO.
_ATEOF

cat >Dir1/bar.sps <<'_ATEOF'
DATA LIST LIST /x *.
BEGIN DATA.
1
2
3
END DATA.
_ATEOF

{ set +x
$as_echo "$at_srcdir/insert.at:82: pspp -o pspp.csv insert.sps"
at_fn_check_prepare_trace "insert.at:82"
( $at_check_trace; pspp -o pspp.csv insert.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Dir1/foo.sps:1: error: INSERT: Can't find \`bar.sps' in include file search path.
insert.sps:2: error: LIST: LIST is allowed only after the active dataset has been defined.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/insert.at:82"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_721
#AT_START_722
at_fn_group_banner 722 'insert.at:88' \
  "INSERT CD=YES" "                                  " 94
at_xfail=no
(
  $as_echo "722. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >insert.sps <<'_ATEOF'
INSERT FILE='Dir1/foo.sps' CD=YES.
LIST.
_ATEOF

mkdir Dir1
cat >Dir1/foo.sps <<'_ATEOF'
INSERT FILE='bar.sps'.
_ATEOF

cat >Dir1/bar.sps <<'_ATEOF'
DATA LIST LIST /x *.
BEGIN DATA.
1
2
3
END DATA.
_ATEOF

{ set +x
$as_echo "$at_srcdir/insert.at:103: pspp -o pspp.csv insert.sps"
at_fn_check_prepare_trace "insert.at:103"
( $at_check_trace; pspp -o pspp.csv insert.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/insert.at:103"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/insert.at:104: cat pspp.csv"
at_fn_check_prepare_trace "insert.at:104"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Reading free-form data from INLINE.
Variable,Format
x,F8.0

Table: Data List
x
1.00
2.00
3.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/insert.at:104"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_722
#AT_START_723
at_fn_group_banner 723 'insert.at:132' \
  "INSERT ERROR=STOP" "                              " 94
at_xfail=no
(
  $as_echo "723. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >error.sps <<'_ATEOF'
DATA LIST NOTABLE LIST /x *.
BEGIN DATA.
1
2
3
END DATA.

* The following line is erroneous

DISPLAY AKSDJ.
LIST.
_ATEOF

cat >insert.sps <<'_ATEOF'
INSERT FILE='error.sps' ERROR=STOP.
_ATEOF

{ set +x
$as_echo "$at_srcdir/insert.at:136: pspp -o pspp.csv insert.sps"
at_fn_check_prepare_trace "insert.at:136"
( $at_check_trace; pspp -o pspp.csv insert.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "error.sps:10: error: DISPLAY: AKSDJ is not a variable name.
warning: Error encountered while ERROR=STOP is effective.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/insert.at:136"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_723
#AT_START_724
at_fn_group_banner 724 'insert.at:142' \
  "INSERT ERROR=CONTINUE" "                          " 94
at_xfail=no
(
  $as_echo "724. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >error.sps <<'_ATEOF'
DATA LIST NOTABLE LIST /x *.
BEGIN DATA.
1
2
3
END DATA.

* The following line is erroneous

DISPLAY AKSDJ.
LIST.
_ATEOF

cat >insert.sps <<'_ATEOF'
INSERT FILE='error.sps' ERROR=CONTINUE.
_ATEOF

{ set +x
$as_echo "$at_srcdir/insert.at:146: pspp -o pspp.csv insert.sps"
at_fn_check_prepare_trace "insert.at:146"
( $at_check_trace; pspp -o pspp.csv insert.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "error.sps:10: error: DISPLAY: AKSDJ is not a variable name.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/insert.at:146"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/insert.at:149: cat pspp.csv"
at_fn_check_prepare_trace "insert.at:149"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "error.sps:10: error: DISPLAY: AKSDJ is not a variable name.

Table: Data List
x
1.00
2.00
3.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/insert.at:149"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_724
#AT_START_725
at_fn_group_banner 725 'insert.at:162' \
  "INSERT nonexistent file" "                        " 94
at_xfail=no
(
  $as_echo "725. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >insert.sps <<'_ATEOF'
INSERT
  FILE='nonexistent'
  ERROR=CONTINUE.
  .

LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/insert.at:171: pspp -O format=csv insert.sps"
at_fn_check_prepare_trace "insert.at:171"
( $at_check_trace; pspp -O format=csv insert.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "insert.sps:2: error: INSERT: Can't find \`nonexistent' in include file search path.

insert.sps:6: error: LIST: LIST is allowed only after the active dataset has been defined.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/insert.at:171"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_725
#AT_START_726
at_fn_group_banner 726 'insert.at:181' \
  "INCLUDE full check" "                             " 94
at_xfail=no
(
  $as_echo "726. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >two-utf8.sps <<'_ATEOF'
echo 'Äpfelfölfaß'.
_ATEOF


cat >include.sps <<'_ATEOF'
echo 'ONE'.

include FILE='two-latin1.sps' ENCODING='ISO_8859-1'.
_ATEOF


{ set +x
$as_echo "$at_srcdir/insert.at:192: iconv -f UTF-8 -t iso-8859-1 two-utf8.sps > two-latin1.sps"
at_fn_check_prepare_trace "insert.at:192"
( $at_check_trace; iconv -f UTF-8 -t iso-8859-1 two-utf8.sps > two-latin1.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/insert.at:192"
$at_failed && at_fn_log_failure
$at_traceon; }


{ set +x
$as_echo "$at_srcdir/insert.at:194: pspp -O format=csv include.sps"
at_fn_check_prepare_trace "insert.at:194"
( $at_check_trace; pspp -O format=csv include.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "ONE

Äpfelfölfaß
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/insert.at:194"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_726
#AT_START_727
at_fn_group_banner 727 'insert.at:205' \
  "INSERT unterminated string" "                     " 94
at_xfail=no
(
  $as_echo "727. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >insert.sps <<'_ATEOF'
INSERT FILE=7bar.sps' CD=NO.
_ATEOF


{ set +x
$as_echo "$at_srcdir/insert.at:210: pspp -O format=csv insert.sps"
at_fn_check_prepare_trace "insert.at:210"
( $at_check_trace; pspp -O format=csv insert.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 1 $at_status "$at_srcdir/insert.at:210"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_727
#AT_START_728
at_fn_group_banner 728 'permissions.at:19' \
  "PERMISSIONS" "                                    " 95
at_xfail=no
(
  $as_echo "728. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >foobar <<'_ATEOF'
Hello
_ATEOF


chmod 666 foobar
{ set +x
$as_echo "$at_srcdir/permissions.at:24: ls -l foobar"
at_fn_check_prepare_trace "permissions.at:24"
( $at_check_trace; ls -l foobar
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; tee stdout <"$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/permissions.at:24"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/permissions.at:25: sed 's/^\\(..........\\).*/\\1/' stdout"
at_fn_check_prepare_trace "permissions.at:25"
( $at_check_trace; sed 's/^\(..........\).*/\1/' stdout
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "-rw-rw-rw-
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/permissions.at:25"
$at_failed && at_fn_log_failure
$at_traceon; }


cat >permissions.sps <<'_ATEOF'
PERMISSIONS /FILE='foobar' PERMISSIONS=READONLY.
_ATEOF

{ set +x
$as_echo "$at_srcdir/permissions.at:30: pspp -O format=csv permissions.sps"
at_fn_check_prepare_trace "permissions.at:30"
( $at_check_trace; pspp -O format=csv permissions.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/permissions.at:30"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/permissions.at:31: ls -l foobar"
at_fn_check_prepare_trace "permissions.at:31"
( $at_check_trace; ls -l foobar
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; tee stdout <"$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/permissions.at:31"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/permissions.at:32: sed 's/^\\(..........\\).*/\\1/' stdout"
at_fn_check_prepare_trace "permissions.at:32"
( $at_check_trace; sed 's/^\(..........\).*/\1/' stdout
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "-r--r--r--
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/permissions.at:32"
$at_failed && at_fn_log_failure
$at_traceon; }


cat >permissions.sps <<'_ATEOF'
PERMISSIONS /FILE='foobar' PERMISSIONS=WRITEABLE.
_ATEOF

{ set +x
$as_echo "$at_srcdir/permissions.at:37: pspp -O format=csv permissions.sps"
at_fn_check_prepare_trace "permissions.at:37"
( $at_check_trace; pspp -O format=csv permissions.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/permissions.at:37"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/permissions.at:38: ls -l foobar"
at_fn_check_prepare_trace "permissions.at:38"
( $at_check_trace; ls -l foobar
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; tee stdout <"$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/permissions.at:38"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/permissions.at:39: sed 's/^\\(..........\\).*/\\1/' stdout"
at_fn_check_prepare_trace "permissions.at:39"
( $at_check_trace; sed 's/^\(..........\).*/\1/' stdout
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "-rw-r--r--
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/permissions.at:39"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_728
#AT_START_729
at_fn_group_banner 729 'permissions.at:45' \
  "PERMISSIONS - bad syntax" "                       " 95
at_xfail=no
(
  $as_echo "729. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >pe.sps <<'_ATEOF'
PERMI|SIONS /FILE='foobar' PERMISSIONS=WRITEABLE.
_ATEOF


{ set +x
$as_echo "$at_srcdir/permissions.at:49: pspp -O format=csv pe.sps"
at_fn_check_prepare_trace "permissions.at:49"
( $at_check_trace; pspp -O format=csv pe.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "pe.sps:1.6: error: PERMISSIONS: Syntax error at \`|': expecting STRING.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/permissions.at:49"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_729
#AT_START_730
at_fn_group_banner 730 'set.at:20' \
  "SET FORMAT to invalid output format" "            " 96
at_xfail=no
(
  $as_echo "730. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >set.pspp <<'_ATEOF'
DATA LIST LIST NOTABLE /x.
BEGIN DATA.
1
2
3
END DATA.
SET FORMAT F41.
DESCRIPTIVES /x.
_ATEOF

{ set +x
$as_echo "$at_srcdir/set.at:31: pspp -O format=csv set.pspp"
at_fn_check_prepare_trace "set.at:31"
( $at_check_trace; pspp -O format=csv set.pspp
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "\"set.pspp:7: error: SET: Output format F41.0 specifies width 41, but F requires a width between 1 and 40.\"

Table: Valid cases = 3; cases with missing value(s) = 0.
Variable,N,Mean,Std Dev,Minimum,Maximum
x,3,2.00,1.00,1.00,3.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/set.at:31"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_730
#AT_START_731
at_fn_group_banner 731 'set.at:42' \
  "SET crash on invalid cc" "                        " 96
at_xfail=no
(
  $as_echo "731. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >set.pspp <<'_ATEOF'
SET CCA='xxxx'.SHGW CCA.
_ATEOF


{ set +x
$as_echo "$at_srcdir/set.at:47: pspp -O format=csv set.pspp"
at_fn_check_prepare_trace "set.at:47"
( $at_check_trace; pspp -O format=csv set.pspp
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 1 $at_status "$at_srcdir/set.at:47"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_731
#AT_START_732
at_fn_group_banner 732 'set.at:52' \
  "SET MXWARNS" "                                    " 96
at_xfail=no
(
  $as_echo "732. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >set.pspp <<'_ATEOF'
set mxwarns=2.
data list notable list /x (f8.2) y (f8.2).
begin data
1 2
3 r
5 x
q 8
9 9
3 x
w w
end data.

comment The following line should not be executed.
list.
_ATEOF


{ set +x
$as_echo "$at_srcdir/set.at:73: pspp -O format=csv set.pspp"
at_fn_check_prepare_trace "set.at:73"
( $at_check_trace; pspp -O format=csv set.pspp
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "set.pspp:5.3: warning: Data for variable y is not valid as format F: Field contents are not numeric.

set.pspp:6.3: warning: Data for variable y is not valid as format F: Field contents are not numeric.

set.pspp:7.1: warning: Data for variable x is not valid as format F: Field contents are not numeric.

note: Warnings (3) exceed limit (2).  Syntax processing will be halted.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/set.at:73"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_732
#AT_START_733
at_fn_group_banner 733 'set.at:88' \
  "SET MXWARNS special case zero" "                  " 96
at_xfail=no
(
  $as_echo "733. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >mxwarns.pspp <<'_ATEOF'
set mxwarns=0.
data list notable list /x (f8.2) y (f8.2) z *.
begin data
1 2 3
3 r 3
5 x 3
q 8 4
9 9 4
3 x 4
w w 4
end data.

list.
_ATEOF


{ set +x
$as_echo "$at_srcdir/set.at:106: pspp -O format=csv mxwarns.pspp"
at_fn_check_prepare_trace "set.at:106"
( $at_check_trace; pspp -O format=csv mxwarns.pspp
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "warning: MXWARNS set to zero.  No further warnings will be given even when potentially problematic situations are encountered.

Table: Data List
x,y,z
1.00,2.00,3.00
3.00,.  ,3.00
5.00,.  ,3.00
.  ,8.00,4.00
9.00,9.00,4.00
3.00,.  ,4.00
.  ,.  ,4.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/set.at:106"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_733
#AT_START_734
at_fn_group_banner 734 'set.at:126' \
  "PRESERVE of SET FORMAT" "                         " 97
at_xfail=no
(
  $as_echo "734. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >set.pspp <<'_ATEOF'
SHOW FORMAT.
PRESERVE.
SET FORMAT F10.0.
SHOW FORMAT
RESTORE.
SHOW FORMAT.
_ATEOF

{ set +x
$as_echo "$at_srcdir/set.at:135: pspp -O format=csv set.pspp"
at_fn_check_prepare_trace "set.at:135"
( $at_check_trace; pspp -O format=csv set.pspp
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "set.pspp:1: note: SHOW: FORMAT is F8.2.

set.pspp:5: note: SHOW: FORMAT is F10.0.

set.pspp:6: note: SHOW: FORMAT is F8.2.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/set.at:135"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_734
#AT_START_735
at_fn_group_banner 735 'show.at:19' \
  "SHOW N" "                                         " 98
at_xfail=no
(
  $as_echo "735. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >show.sps <<'_ATEOF'
DATA LIST LIST NOTABLE /x.
BEGIN DATA.
1
2
3
END DATA.

SHOW N.
_ATEOF


{ set +x
$as_echo "$at_srcdir/show.at:32: pspp -O format=csv show.sps"
at_fn_check_prepare_trace "show.at:32"
( $at_check_trace; pspp -O format=csv show.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "show.sps:8: note: SHOW: N is 3.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/show.at:32"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_735
#AT_START_736
at_fn_group_banner 736 'show.at:39' \
  "SHOW N empty" "                                   " 98
at_xfail=no
(
  $as_echo "736. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >shown-empty.sps <<'_ATEOF'
SHOW N.
_ATEOF


{ set +x
$as_echo "$at_srcdir/show.at:45: pspp -O format=csv shown-empty.sps"
at_fn_check_prepare_trace "show.at:45"
( $at_check_trace; pspp -O format=csv shown-empty.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "shown-empty.sps:1: note: SHOW: N is Unknown.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/show.at:45"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_736
#AT_START_737
at_fn_group_banner 737 'title.at:19' \
  "FILE LABEL and (ADD) DOCUMENT" "                  " 99
at_xfail=no
(
  $as_echo "737. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >file-label.sps <<'_ATEOF'
/* Set up a dummy active dataset in memory.
data list /X 1 Y 2.
begin data.
16
27
38
49
50
end data.

/* Add value labels for some further testing of value labels.
value labels x y 1 'first label' 2 'second label' 3 'third label'.
add value labels x 1 'first label mark two'.

/* Add a file label and a few documents.
file label This is a test file label.
document First line of a document
Second line of a document
The last line should end with a period: .


/* Display the documents.
display documents.
display file label.

ADD DOCUMENT 'Line one' 'Line two'.

/* Save the active dataset then get it and display the documents again.
save /OUTFILE='foo.save'.
get /FILE='foo.save'.
display documents.
display file label.

/* There is an interesting interaction that occurs if the 'execute'
/* command below.  What happens is that an error message is output
/* at the next 'save' command that 'foo.save' is already open for
/* input.  This is because the 'get' hasn't been executed yet and
/* therefore PSPP would be reading from and writing to the same
/* file at once, which is obviously a Bad Thing.  But 'execute'
/* here clears up that potential problem.
execute.

/* Add another (shorter) document and try again.
document There should be another document now.
display documents.

/* Save and get.
save /OUTFILE='foo.save'.
get /FILE='foo.save'.
display documents.
display file label.

/* Done.
_ATEOF

{ set +x
$as_echo "$at_srcdir/title.at:75: pspp -o pspp.csv file-label.sps"
at_fn_check_prepare_trace "title.at:75"
( $at_check_trace; pspp -o pspp.csv file-label.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/title.at:75"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/title.at:77: sed 's/(Entered [^)]*)/(Entered <date>)/' pspp.csv"
at_fn_check_prepare_trace "title.at:77"
( $at_check_trace; sed 's/(Entered [^)]*)/(Entered <date>)/' pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Reading 1 record from INLINE.
Variable,Record,Columns,Format
X,1,1-  1,F1.0
Y,1,2-  2,F1.0

Documents in the active dataset:

document First line of a document

Second line of a document

The last line should end with a period: .

(Entered <date>)

File label: This is a test file label

Documents in the active dataset:

document First line of a document

Second line of a document

The last line should end with a period: .

(Entered <date>)

Line one

Line two

(Entered <date>)

File label: This is a test file label

Documents in the active dataset:

document First line of a document

Second line of a document

The last line should end with a period: .

(Entered <date>)

Line one

Line two

(Entered <date>)

document There should be another document now.

(Entered <date>)

Documents in the active dataset:

document First line of a document

Second line of a document

The last line should end with a period: .

(Entered <date>)

Line one

Line two

(Entered <date>)

document There should be another document now.

(Entered <date>)

File label: This is a test file label
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/title.at:77"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_737
#AT_START_738
at_fn_group_banner 738 'compute.at:19' \
  "COMPUTE crash with SAVE" "                        " 100
at_xfail=no
(
  $as_echo "738. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >compute.sps <<'_ATEOF'
INPUT PROGRAM.
COMPUTE num = 3.
END FILE.
END INPUT PROGRAM.
EXECUTE.

SAVE outfile='temp.sav'.
_ATEOF

{ set +x
$as_echo "$at_srcdir/compute.at:29: pspp -O format=csv compute.sps"
at_fn_check_prepare_trace "compute.at:29"
( $at_check_trace; pspp -O format=csv compute.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/compute.at:29"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >list.sps <<'_ATEOF'
GET FILE='temp.sav'.
LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/compute.at:34: pspp -O format=csv list.sps"
at_fn_check_prepare_trace "compute.at:34"
( $at_check_trace; pspp -O format=csv list.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/compute.at:34"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_738
#AT_START_739
at_fn_group_banner 739 'compute.at:38' \
  "COMPUTE bug in long string UPCASE" "              " 100
at_xfail=no
(
  $as_echo "739. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >compute.sps <<'_ATEOF'
DATA LIST LIST
 /A (A161)
 B (A3).

BEGIN DATA
abc   def
ghi   jkl
END DATA.

COMPUTE A=upcase(A).
EXECUTE.
LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/compute.at:53: pspp -O format=csv compute.sps"
at_fn_check_prepare_trace "compute.at:53"
( $at_check_trace; pspp -O format=csv compute.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Reading free-form data from INLINE.
Variable,Format
A,A161
B,A3

Table: Data List
A,B
ABC                                                                                                                                                              ,def
GHI                                                                                                                                                              ,jkl
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/compute.at:53"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_739
#AT_START_740
at_fn_group_banner 740 'compute.at:66' \
  "COMPUTE bug with long variable names" "           " 100
at_xfail=no
(
  $as_echo "740. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >compute.sps <<'_ATEOF'
DATA LIST LIST /longVariablename * x *.
BEGIN DATA.
1 2
3 4
END DATA.


COMPUTE longvariableName=100-longvariablename.

LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/compute.at:79: pspp -O format=csv compute.sps"
at_fn_check_prepare_trace "compute.at:79"
( $at_check_trace; pspp -O format=csv compute.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Reading free-form data from INLINE.
Variable,Format
longVariablename,F8.0
x,F8.0

Table: Data List
longVariablename,x
99.00,2.00
97.00,4.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/compute.at:79"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_740
#AT_START_741
at_fn_group_banner 741 'compute.at:92' \
  "COMPUTE self-reference to new variable" "         " 100
at_xfail=no
(
  $as_echo "741. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >compute.sps <<'_ATEOF'
DATA LIST /ITEM 1-3.
COMPUTE SUM=SUM+ITEM.
PRINT OUTFILE='compute-sum.out' /ITEM SUM.
LEAVE SUM
BEGIN DATA.
123
404
555
999
END DATA.
_ATEOF

{ set +x
$as_echo "$at_srcdir/compute.at:105: pspp -O format=csv compute.sps"
at_fn_check_prepare_trace "compute.at:105"
( $at_check_trace; pspp -O format=csv compute.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Reading 1 record from INLINE.
Variable,Record,Columns,Format
ITEM,1,1-  3,F3.0
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/compute.at:105"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/compute.at:110: cat compute-sum.out"
at_fn_check_prepare_trace "compute.at:110"
( $at_check_trace; cat compute-sum.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo " 123   123.00 
 404   527.00 
 555  1082.00 
 999  2081.00 
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/compute.at:110"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_741
#AT_START_742
at_fn_group_banner 742 'count.at:19' \
  "COUNT -- numeric data" "                          " 101
at_xfail=no
(
  $as_echo "742. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >count.sps <<'_ATEOF'
DATA LIST LIST /x y.
BEGIN DATA.
1 2
2 3
4 5
2 2
5 6
7 2
. 2
END DATA.

MISSING VALUES x(7)/y(3).

COUNT c=x y (2)/d=x y(7)/e=x y(missing)/f=x y(sysmis).

FORMATS ALL(F1).

LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/count.at:40: pspp -O format=csv count.sps"
at_fn_check_prepare_trace "count.at:40"
( $at_check_trace; pspp -O format=csv count.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Reading free-form data from INLINE.
Variable,Format
x,F8.0
y,F8.0

Table: Data List
x,y,c,d,e,f
1,2,1,0,0,0
2,3,1,0,1,0
4,5,0,0,0,0
2,2,2,0,0,0
5,6,0,0,0,0
7,2,1,1,1,0
.,2,1,0,1,1
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/count.at:40"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_742
#AT_START_743
at_fn_group_banner 743 'count.at:58' \
  "COUNT -- string data" "                           " 101
at_xfail=no
(
  $as_echo "743. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >count.sps <<'_ATEOF'
TITLE 'Test COUNT transformation'.

DATA LIST /v1 to v2 1-4(a).
BEGIN DATA.
1234
321
2 13
4121
1104
03 4
0193
END DATA.
COUNT c=v1 to v2('2',' 4','1').
LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/count.at:75: pspp -O format=csv count.sps"
at_fn_check_prepare_trace "count.at:75"
( $at_check_trace; pspp -O format=csv count.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Title: Test COUNT transformation

Table: Reading 1 record from INLINE.
Variable,Record,Columns,Format
v1,1,1-  2,A2
v2,1,3-  4,A2

Table: Data List
v1,v2,c
12,34,.00
32,1 ,1.00
2 ,13,1.00
41,21,.00
11,04,.00
03,4,1.00
01,93,.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/count.at:75"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_743
#AT_START_744
at_fn_group_banner 744 'recode.at:37' \
  "RECODE numeric to numeric, without INTO" "        " 102
at_xfail=no
(
  $as_echo "744. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >recode.sps <<'_ATEOF'
DATA LIST LIST NOTABLE/x (f1) s (a4) t (a10).
MISSING VALUES x(9)/s('xxx').
BEGIN DATA.
0, '', ''
1, a, a
2, ab, ab
3, abc, abc
4, abcd, abcd
5, 123, 123
6, ' 123', ' 123'
7, +1, +1
8, 1x, 1x
9, abcd, abcdefghi
,  xxx, abcdefghij
END DATA.

NUMERIC x0 TO x8 (F3).
MISSING VALUES x0 to x8 (9).
COMPUTE x0=value(x).
RECODE x0 (1=9).
COMPUTE x1=value(x).
RECODE x1 (1=9)(3=8)(5=7).
COMPUTE x2=value(x).
RECODE x2 (1=8)(2,3,4,5,6,8=9)(9=1).
COMPUTE x3=value(x).
RECODE x3 (1 THRU 9=10)(MISSING=11).
COMPUTE x4=value(x).
RECODE x4 (MISSING=11)(1 THRU 9=10).
COMPUTE x5=value(x).
RECODE x5 (LOWEST THRU 5=1).
COMPUTE x6=value(x).
RECODE x6 (4 THRU HIGHEST=2).
COMPUTE x7=value(x).
RECODE x7 (LO THRU HI=3).
COMPUTE x8=value(x).
RECODE x8 (SYSMIS=4).
LIST x x0 TO x8.
_ATEOF

{ set +x
$as_echo "$at_srcdir/recode.at:62: pspp -O format=csv recode.sps"
at_fn_check_prepare_trace "recode.at:62"
( $at_check_trace; pspp -O format=csv recode.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
x,x0,x1,x2,x3,x4,x5,x6,x7,x8
0,0,0,0,0,0,1,0,3,0
1,9,9,8,10,10,1,1,3,1
2,2,2,9,10,10,1,2,3,2
3,3,8,9,10,10,1,3,3,3
4,4,4,9,10,10,1,2,3,4
5,5,7,9,10,10,1,2,3,5
6,6,6,9,10,10,6,2,3,6
7,7,7,7,10,10,7,2,3,7
8,8,8,9,10,10,8,2,3,8
9,9,9,1,10,11,9,2,3,9
.,.,.,.,11,11,.,.,.,4
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/recode.at:62"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_744
#AT_START_745
at_fn_group_banner 745 'recode.at:79' \
  "RECODE numeric to numeric, with INTO, without COPY" "" 102
at_xfail=no
(
  $as_echo "745. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >recode.sps <<'_ATEOF'
DATA LIST LIST NOTABLE/x (f1) s (a4) t (a10).
MISSING VALUES x(9)/s('xxx').
BEGIN DATA.
0, '', ''
1, a, a
2, ab, ab
3, abc, abc
4, abcd, abcd
5, 123, 123
6, ' 123', ' 123'
7, +1, +1
8, 1x, 1x
9, abcd, abcdefghi
,  xxx, abcdefghij
END DATA.

NUMERIC ix0 TO ix8 (F3).
RECODE x (1=9) INTO ix0.
RECODE x (1=9)(3=8)(5=7) INTO ix1.
RECODE x (1=8)(2,3,4,5,6,8=9)(9=1) INTO ix2.
RECODE x (1 THRU 9=10)(MISSING=11) INTO ix3.
RECODE x (MISSING=11)(1 THRU 9=10) INTO ix4.
RECODE x (LOWEST THRU 5=1) INTO ix5.
RECODE x (4 THRU HIGHEST=2) INTO ix6.
RECODE x (LO THRU HI=3) INTO ix7.
RECODE x (SYSMIS=4) INTO ix8.
LIST x ix0 TO ix8.
_ATEOF

{ set +x
$as_echo "$at_srcdir/recode.at:94: pspp -O format=csv recode.sps"
at_fn_check_prepare_trace "recode.at:94"
( $at_check_trace; pspp -O format=csv recode.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
x,ix0,ix1,ix2,ix3,ix4,ix5,ix6,ix7,ix8
0,.,.,.,.,.,1,.,3,.
1,9,9,8,10,10,1,.,3,.
2,.,.,9,10,10,1,.,3,.
3,.,8,9,10,10,1,.,3,.
4,.,.,9,10,10,1,2,3,.
5,.,7,9,10,10,1,2,3,.
6,.,.,9,10,10,.,2,3,.
7,.,.,.,10,10,.,2,3,.
8,.,.,9,10,10,.,2,3,.
9,.,.,1,10,11,.,2,3,.
.,.,.,.,11,11,.,.,.,4
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/recode.at:94"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_745
#AT_START_746
at_fn_group_banner 746 'recode.at:111' \
  "RECODE numeric to numeric, with INTO, with COPY" "" 102
at_xfail=no
(
  $as_echo "746. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >recode.sps <<'_ATEOF'
DATA LIST LIST NOTABLE/x (f1) s (a4) t (a10).
MISSING VALUES x(9)/s('xxx').
BEGIN DATA.
0, '', ''
1, a, a
2, ab, ab
3, abc, abc
4, abcd, abcd
5, 123, 123
6, ' 123', ' 123'
7, +1, +1
8, 1x, 1x
9, abcd, abcdefghi
,  xxx, abcdefghij
END DATA.

NUMERIC cx0 TO cx8 (F3).
RECODE x (1=9)(ELSE=COPY) INTO cx0.
RECODE x (1=9)(3=8)(5=7)(ELSE=COPY) INTO cx1.
RECODE x (1=8)(2,3,4,5,6,8=9)(9=1)(ELSE=COPY) INTO cx2.
RECODE x (1 THRU 9=10)(MISSING=11)(ELSE=COPY) INTO cx3.
RECODE x (MISSING=11)(1 THRU 9=10)(ELSE=COPY) INTO cx4.
RECODE x (LOWEST THRU 5=1)(ELSE=COPY) INTO cx5.
RECODE x (4 THRU HIGHEST=2)(ELSE=COPY) INTO cx6.
RECODE x (LO THRU HI=3)(ELSE=COPY) INTO cx7.
RECODE x (SYSMIS=4)(ELSE=COPY) INTO cx8.
RECODE x (5=COPY)(ELSE=22) INTO cx9.
LIST x cx0 TO cx9.
_ATEOF

{ set +x
$as_echo "$at_srcdir/recode.at:127: pspp -O format=csv recode.sps"
at_fn_check_prepare_trace "recode.at:127"
( $at_check_trace; pspp -O format=csv recode.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
x,cx0,cx1,cx2,cx3,cx4,cx5,cx6,cx7,cx8,cx9
0,0,0,0,0,0,1,0,3,0,22.00
1,9,9,8,10,10,1,1,3,1,22.00
2,2,2,9,10,10,1,2,3,2,22.00
3,3,8,9,10,10,1,3,3,3,22.00
4,4,4,9,10,10,1,2,3,4,22.00
5,5,7,9,10,10,1,2,3,5,5.00
6,6,6,9,10,10,6,2,3,6,22.00
7,7,7,7,10,10,7,2,3,7,22.00
8,8,8,9,10,10,8,2,3,8,22.00
9,9,9,1,10,11,9,2,3,9,22.00
.,.,.,.,11,11,.,.,.,4,22.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/recode.at:127"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_746
#AT_START_747
at_fn_group_banner 747 'recode.at:144' \
  "RECODE string to string, with INTO, without COPY" "" 102
at_xfail=no
(
  $as_echo "747. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >recode.sps <<'_ATEOF'
DATA LIST LIST NOTABLE/x (f1) s (a4) t (a10).
MISSING VALUES x(9)/s('xxx').
BEGIN DATA.
0, '', ''
1, a, a
2, ab, ab
3, abc, abc
4, abcd, abcd
5, 123, 123
6, ' 123', ' 123'
7, +1, +1
8, 1x, 1x
9, abcd, abcdefghi
,  xxx, abcdefghij
END DATA.

STRING s0 TO s3 (A4)/t0 TO t3 (A10).
RECODE s t ('a'='b')('ab'='bc') INTO s0 t0.
RECODE s t ('abcd'='xyzw') INTO s1 t1.
RECODE s t ('abc'='def')(ELSE='xyz') INTO s2 t2.
RECODE t ('a'='b')('abcdefghi'='xyz')('abcdefghij'='jklmnopqr') INTO t3.
RECODE s (MISSING='gone') INTO s3.
LIST s t s0 TO s3 t0 TO t3.
_ATEOF

{ set +x
$as_echo "$at_srcdir/recode.at:155: pspp -O format=csv recode.sps"
at_fn_check_prepare_trace "recode.at:155"
( $at_check_trace; pspp -O format=csv recode.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
s,t,s0,s1,s2,s3,t0,t1,t2,t3
,,,,xyz ,,,,xyz       ,
a   ,a         ,b   ,,xyz ,,b         ,,xyz       ,b         
ab  ,ab        ,bc  ,,xyz ,,bc        ,,xyz       ,
abc ,abc       ,,,def ,,,,def       ,
abcd,abcd      ,,xyzw,xyz ,,,xyzw      ,xyz       ,
123 ,123       ,,,xyz ,,,,xyz       ,
123,123      ,,,xyz ,,,,xyz       ,
+1  ,+1        ,,,xyz ,,,,xyz       ,
1x  ,1x        ,,,xyz ,,,,xyz       ,
abcd,abcdefghi ,,xyzw,xyz ,,,,xyz       ,xyz       
xxx ,abcdefghij,,,xyz ,gone,,,xyz       ,jklmnopqr 
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/recode.at:155"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_747
#AT_START_748
at_fn_group_banner 748 'recode.at:172' \
  "RECODE string to string" "                        " 102
at_xfail=no
(
  $as_echo "748. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >recode.sps <<'_ATEOF'
DATA LIST LIST NOTABLE/x (f1) s (a4) t (a10).
MISSING VALUES x(9)/s('xxx').
BEGIN DATA.
0, '', ''
1, a, a
2, ab, ab
3, abc, abc
4, abcd, abcd
5, 123, 123
6, ' 123', ' 123'
7, +1, +1
8, 1x, 1x
9, abcd, abcdefghi
,  xxx, abcdefghij
END DATA.

STRING cs0 TO cs2 (A4)/ct0 TO ct3 (A10).
RECODE s t ('a'='b')('ab'='bc')(ELSE=COPY) INTO cs0 ct0.
RECODE s t ('abcd'='xyzw')(ELSE=COPY) INTO cs1 ct1.
RECODE s t ('abc'='def')(ELSE='xyz')(ELSE=COPY) INTO cs2 ct2.
RECODE t ('a'='b')('abcdefghi'='xyz')('abcdefghij'='jklmnopqr')(ELSE=COPY)
    INTO ct3.
LIST s t cs0 TO cs2 ct0 TO ct3.
_ATEOF

{ set +x
$as_echo "$at_srcdir/recode.at:183: pspp -O format=csv recode.sps"
at_fn_check_prepare_trace "recode.at:183"
( $at_check_trace; pspp -O format=csv recode.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
s,t,cs0,cs1,cs2,ct0,ct1,ct2,ct3
,,,,xyz ,,,xyz       ,
a   ,a         ,b   ,a   ,xyz ,b         ,a         ,xyz       ,b         
ab  ,ab        ,bc  ,ab  ,xyz ,bc        ,ab        ,xyz       ,ab        
abc ,abc       ,abc ,abc ,def ,abc       ,abc       ,def       ,abc       
abcd,abcd      ,abcd,xyzw,xyz ,abcd      ,xyzw      ,xyz       ,abcd      
123 ,123       ,123 ,123 ,xyz ,123       ,123       ,xyz       ,123       
123,123      ,123,123,xyz ,123      ,123      ,xyz       ,123      
+1  ,+1        ,+1  ,+1  ,xyz ,+1        ,+1        ,xyz       ,+1        
1x  ,1x        ,1x  ,1x  ,xyz ,1x        ,1x        ,xyz       ,1x        
abcd,abcdefghi ,abcd,xyzw,xyz ,abcdefghi ,abcdefghi ,xyz       ,xyz       
xxx ,abcdefghij,xxx ,xxx ,xyz ,abcdefghij,abcdefghij,xyz       ,jklmnopqr 
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/recode.at:183"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_748
#AT_START_749
at_fn_group_banner 749 'recode.at:200' \
  "RECODE string to numeric" "                       " 102
at_xfail=no
(
  $as_echo "749. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >recode.sps <<'_ATEOF'
DATA LIST LIST NOTABLE/x (f1) s (a4) t (a10).
MISSING VALUES x(9)/s('xxx').
BEGIN DATA.
0, '', ''
1, a, a
2, ab, ab
3, abc, abc
4, abcd, abcd
5, 123, 123
6, ' 123', ' 123'
7, +1, +1
8, 1x, 1x
9, abcd, abcdefghi
,  xxx, abcdefghij
END DATA.

NUMERIC ns0 TO ns2 (F3)/nt0 TO nt2 (F3).
RECODE s t (CONVERT)(' '=0)('abcd'=1) INTO ns0 nt0.
RECODE s t (' '=0)(CONVERT)('abcd'=1) INTO ns1 nt1.
RECODE s t ('1x'=1)('abcd'=2)(ELSE=3) INTO ns2 nt2.
LIST s t ns0 TO ns2 nt0 TO nt2.
_ATEOF

{ set +x
$as_echo "$at_srcdir/recode.at:209: pspp -O format=csv recode.sps"
at_fn_check_prepare_trace "recode.at:209"
( $at_check_trace; pspp -O format=csv recode.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
s,t,ns0,ns1,ns2,nt0,nt1,nt2
,,.,0,3,.,0,3
a   ,a         ,.,.,3,.,.,3
ab  ,ab        ,.,.,3,.,.,3
abc ,abc       ,.,.,3,.,.,3
abcd,abcd      ,1,1,2,1,1,2
123 ,123       ,123,123,3,123,123,3
123,123      ,123,123,3,123,123,3
+1  ,+1        ,1,1,3,1,1,3
1x  ,1x        ,.,.,1,.,.,1
abcd,abcdefghi ,1,1,2,.,.,3
xxx ,abcdefghij,.,.,3,.,.,3
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/recode.at:209"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_749
#AT_START_750
at_fn_group_banner 750 'recode.at:226' \
  "RECODE numeric to string" "                       " 102
at_xfail=no
(
  $as_echo "750. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >recode.sps <<'_ATEOF'
DATA LIST LIST NOTABLE/x (f1) s (a4) t (a10).
MISSING VALUES x(9)/s('xxx').
BEGIN DATA.
0, '', ''
1, a, a
2, ab, ab
3, abc, abc
4, abcd, abcd
5, 123, 123
6, ' 123', ' 123'
7, +1, +1
8, 1x, 1x
9, abcd, abcdefghi
,  xxx, abcdefghij
END DATA.

STRING sx0 TO sx2 (a10).
RECODE x (1 THRU 9='abcdefghij') INTO sx0.
RECODE x (0,1,3,5,7,MISSING='xxx') INTO sx1.
RECODE x (2 THRU 6,SYSMIS='xyz')(ELSE='foobar') INTO sx2.
LIST x sx0 TO sx2.
_ATEOF

{ set +x
$as_echo "$at_srcdir/recode.at:235: pspp -O format=csv recode.sps"
at_fn_check_prepare_trace "recode.at:235"
( $at_check_trace; pspp -O format=csv recode.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
x,sx0,sx1,sx2
0,,xxx       ,foobar    
1,abcdefghij,xxx       ,foobar    
2,abcdefghij,,xyz       
3,abcdefghij,xxx       ,xyz       
4,abcdefghij,,xyz       
5,abcdefghij,xxx       ,xyz       
6,abcdefghij,,xyz       
7,abcdefghij,xxx       ,foobar    
8,abcdefghij,,foobar    
9,abcdefghij,xxx       ,foobar    
.,,xxx       ,xyz       
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/recode.at:235"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_750
#AT_START_751
at_fn_group_banner 751 'recode.at:252' \
  "RECODE bug in COPY" "                             " 102
at_xfail=no
(
  $as_echo "751. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >recode.sps <<'_ATEOF'
DATA LIST LIST
 /A (A1)
 B (A1).

BEGIN DATA
1     2
2     3
3     4
END DATA.

** Clearly, the else=copy is superfluous here
RECODE A ("1"="3") ("3"="1") (ELSE=COPY).
EXECUTE.
LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/recode.at:269: pspp -O format=csv recode.sps"
at_fn_check_prepare_trace "recode.at:269"
( $at_check_trace; pspp -O format=csv recode.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Reading free-form data from INLINE.
Variable,Format
A,A1
B,A1

Table: Data List
A,B
3,2
2,3
1,4
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/recode.at:269"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_751
#AT_START_752
at_fn_group_banner 752 'recode.at:283' \
  "RECODE bug in COPY with INTO" "                   " 102
at_xfail=no
(
  $as_echo "752. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >recode.sps <<'_ATEOF'
DATA LIST LIST
 /A (A1)
 B (A1).

BEGIN DATA
1     2
2     3
3     4
END DATA.

STRING A1 (A1).
RECODE A ("1"="3") ("3"="1") (ELSE=COPY) INTO a1.
EXECUTE.
LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/recode.at:300: pspp -O format=csv recode.sps"
at_fn_check_prepare_trace "recode.at:300"
( $at_check_trace; pspp -O format=csv recode.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Reading free-form data from INLINE.
Variable,Format
A,A1
B,A1

Table: Data List
A,B,A1
1,2,3
2,3,2
3,4,1
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/recode.at:300"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_752
#AT_START_753
at_fn_group_banner 753 'recode.at:316' \
  "RECODE increased string widths" "                 " 102
at_xfail=no
(
  $as_echo "753. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >recode.sps <<'_ATEOF'
data list notable list /x (a1) y (a8) z *.
begin data.
a a         2
a two       2
b three     2
c b         2
end data.

recode x y ("a" = "first") .

list.
_ATEOF


{ set +x
$as_echo "$at_srcdir/recode.at:332: pspp -O format=csv recode.sps"
at_fn_check_prepare_trace "recode.at:332"
( $at_check_trace; pspp -O format=csv recode.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "\"error: Cannot recode because the variable x would require a width of 5 bytes or greater, but it has a width of only 1 bytes.\"

Table: Data List
x,y,z
a,a       ,2.00
a,two     ,2.00
b,three   ,2.00
c,b       ,2.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/recode.at:332"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_753
#AT_START_754
at_fn_group_banner 754 'recode.at:347' \
  "RECODE crash on invalid dest variable" "          " 102
at_xfail=no
(
  $as_echo "754. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >recode.sps <<'_ATEOF'
DATA LIST LIST NOTABLE/x (f1) s (a4) t (a10).
MISSING VALUES x(9)/s('xxx').
BEGIN DATA.
0, '', ''
1, a, a
2, ab, ab
3, abc, abc
END DATA.

RECODE x (1=9) INTO ".
EXECUTE.
_ATEOF


{ set +x
$as_echo "$at_srcdir/recode.at:363: pspp -O format=csv recode.sps"
at_fn_check_prepare_trace "recode.at:363"
( $at_check_trace; pspp -O format=csv recode.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 1 $at_status "$at_srcdir/recode.at:363"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_754
#AT_START_755
at_fn_group_banner 755 'sample.at:19' \
  "SAMPLE" "                                         " 103
at_xfail=no
(
  $as_echo "755. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >sample.sps <<'_ATEOF'
set seed=3

data list notable /A 1-2.
begin data.
1
2
3
4
5
6
7
8
9
10
end data.
sample .5.
list.
_ATEOF

{ set +x
$as_echo "$at_srcdir/sample.at:39: pspp -o pspp.csv sample.sps"
at_fn_check_prepare_trace "sample.at:39"
( $at_check_trace; pspp -o pspp.csv sample.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sample.at:39"
$at_failed && at_fn_log_failure
$at_traceon; }


{ set +x
$as_echo "$at_srcdir/sample.at:41: n=0
   while read line; do
     n=\`expr \$n + 1\`
     case \$line in # (
       \"Table: Data List\" | A | [0-9] | 10) ;; # (
       *) echo \$line; exit 1;
     esac
   done < pspp.csv
   if test \$n -ge 11; then exit 1; fi
  "
at_fn_check_prepare_notrace 'a `...` command substitution' "sample.at:41"
( $at_check_trace; n=0
   while read line; do
     n=`expr $n + 1`
     case $line in # (
       "Table: Data List" | A | [0-9] | 10) ;; # (
       *) echo $line; exit 1;
     esac
   done < pspp.csv
   if test $n -ge 11; then exit 1; fi

) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sample.at:41"
$at_failed && at_fn_log_failure  \
"pspp.csv"
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_755
#AT_START_756
at_fn_group_banner 756 'select-if.at:19' \
  "FILTER" "                                         " 104
at_xfail=no
(
  $as_echo "756. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >filter.sps <<'_ATEOF'
data list notable /X 1-2.
begin data.
1
2
3
4
5
6
7
8
9
10
end data.
compute FILTER_$ = mod(x,2).

filter by filter_$.
list.
filter off.
list.
compute filter_$ = 1 - filter_$.
filter by filter_$.
list.
_ATEOF

{ set +x
$as_echo "$at_srcdir/select-if.at:44: pspp -o pspp.csv filter.sps"
at_fn_check_prepare_trace "select-if.at:44"
( $at_check_trace; pspp -o pspp.csv filter.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/select-if.at:44"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/select-if.at:45: cat pspp.csv"
at_fn_check_prepare_trace "select-if.at:45"
( $at_check_trace; cat pspp.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Data List
X,FILTER_\$
1,1.00
3,1.00
5,1.00
7,1.00
9,1.00

Table: Data List
X,FILTER_\$
1,1.00
2,.00
3,1.00
4,.00
5,1.00
6,.00
7,1.00
8,.00
9,1.00
10,.00

Table: Data List
X,FILTER_\$
2,1.00
4,1.00
6,1.00
8,1.00
10,1.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/select-if.at:45"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_756
#AT_START_757
at_fn_group_banner 757 'abt.at:24' \
  "ABT -- insert-any-remove-any" "                   " 105
at_xfail=no
(
  $as_echo "757. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/abt.at:24: abt-test insert-any-remove-any"
at_fn_check_prepare_trace "abt.at:24"
( $at_check_trace; abt-test insert-any-remove-any
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/abt.at:24"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_757
#AT_START_758
at_fn_group_banner 758 'abt.at:25' \
  "ABT -- insert-any-remove-same" "                  " 105
at_xfail=no
(
  $as_echo "758. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/abt.at:25: abt-test insert-any-remove-same"
at_fn_check_prepare_trace "abt.at:25"
( $at_check_trace; abt-test insert-any-remove-same
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/abt.at:25"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_758
#AT_START_759
at_fn_group_banner 759 'abt.at:26' \
  "ABT -- insert-any-remove-reverse" "               " 105
at_xfail=no
(
  $as_echo "759. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/abt.at:26: abt-test insert-any-remove-reverse"
at_fn_check_prepare_trace "abt.at:26"
( $at_check_trace; abt-test insert-any-remove-reverse
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/abt.at:26"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_759
#AT_START_760
at_fn_group_banner 760 'abt.at:27' \
  "ABT -- random-sequence" "                         " 105
at_xfail=no
(
  $as_echo "760. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/abt.at:27: abt-test random-sequence"
at_fn_check_prepare_trace "abt.at:27"
( $at_check_trace; abt-test random-sequence
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/abt.at:27"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_760
#AT_START_761
at_fn_group_banner 761 'abt.at:28' \
  "ABT -- insert-ordered" "                          " 105
at_xfail=no
(
  $as_echo "761. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/abt.at:28: abt-test insert-ordered"
at_fn_check_prepare_trace "abt.at:28"
( $at_check_trace; abt-test insert-ordered
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/abt.at:28"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_761
#AT_START_762
at_fn_group_banner 762 'abt.at:29' \
  "ABT -- moved" "                                   " 105
at_xfail=no
(
  $as_echo "762. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/abt.at:29: abt-test moved"
at_fn_check_prepare_trace "abt.at:29"
( $at_check_trace; abt-test moved
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/abt.at:29"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_762
#AT_START_763
at_fn_group_banner 763 'abt.at:30' \
  "ABT -- changed" "                                 " 105
at_xfail=no
(
  $as_echo "763. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/abt.at:30: abt-test changed"
at_fn_check_prepare_trace "abt.at:30"
( $at_check_trace; abt-test changed
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/abt.at:30"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_763
#AT_START_764
at_fn_group_banner 764 'bt.at:24' \
  "BT -- insert-any-remove-any" "                    " 106
at_xfail=no
(
  $as_echo "764. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/bt.at:24: bt-test insert-any-remove-any"
at_fn_check_prepare_trace "bt.at:24"
( $at_check_trace; bt-test insert-any-remove-any
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/bt.at:24"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_764
#AT_START_765
at_fn_group_banner 765 'bt.at:25' \
  "BT -- insert-any-remove-same" "                   " 106
at_xfail=no
(
  $as_echo "765. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/bt.at:25: bt-test insert-any-remove-same"
at_fn_check_prepare_trace "bt.at:25"
( $at_check_trace; bt-test insert-any-remove-same
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/bt.at:25"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_765
#AT_START_766
at_fn_group_banner 766 'bt.at:26' \
  "BT -- insert-any-remove-reverse" "                " 106
at_xfail=no
(
  $as_echo "766. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/bt.at:26: bt-test insert-any-remove-reverse"
at_fn_check_prepare_trace "bt.at:26"
( $at_check_trace; bt-test insert-any-remove-reverse
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/bt.at:26"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_766
#AT_START_767
at_fn_group_banner 767 'bt.at:27' \
  "BT -- random-sequence" "                          " 106
at_xfail=no
(
  $as_echo "767. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/bt.at:27: bt-test random-sequence"
at_fn_check_prepare_trace "bt.at:27"
( $at_check_trace; bt-test random-sequence
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/bt.at:27"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_767
#AT_START_768
at_fn_group_banner 768 'bt.at:28' \
  "BT -- insert-ordered" "                           " 106
at_xfail=no
(
  $as_echo "768. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/bt.at:28: bt-test insert-ordered"
at_fn_check_prepare_trace "bt.at:28"
( $at_check_trace; bt-test insert-ordered
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/bt.at:28"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_768
#AT_START_769
at_fn_group_banner 769 'bt.at:29' \
  "BT -- find-ge-le" "                               " 106
at_xfail=no
(
  $as_echo "769. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/bt.at:29: bt-test find-ge-le"
at_fn_check_prepare_trace "bt.at:29"
( $at_check_trace; bt-test find-ge-le
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/bt.at:29"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_769
#AT_START_770
at_fn_group_banner 770 'bt.at:30' \
  "BT -- moved" "                                    " 106
at_xfail=no
(
  $as_echo "770. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/bt.at:30: bt-test moved"
at_fn_check_prepare_trace "bt.at:30"
( $at_check_trace; bt-test moved
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/bt.at:30"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_770
#AT_START_771
at_fn_group_banner 771 'bt.at:31' \
  "BT -- changed" "                                  " 106
at_xfail=no
(
  $as_echo "771. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/bt.at:31: bt-test changed"
at_fn_check_prepare_trace "bt.at:31"
( $at_check_trace; bt-test changed
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/bt.at:31"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_771
#AT_START_772
at_fn_group_banner 772 'encoding-guesser.at:19' \
  "ASCII" "                                          " 107
at_xfail=no
(
  $as_echo "772. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/encoding-guesser.at:21: echo string | encoding-guesser-test Auto,ISO-8859-1"
at_fn_check_prepare_notrace 'a shell pipeline' "encoding-guesser.at:21"
( $at_check_trace; echo string | encoding-guesser-test Auto,ISO-8859-1
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "ASCII
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/encoding-guesser.at:21"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_772
#AT_START_773
at_fn_group_banner 773 'encoding-guesser.at:25' \
  "UTF-8" "                                          " 107
at_xfail=no
(
  $as_echo "773. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/encoding-guesser.at:27: i18n-test supports_encodings ISO-8859-1"
at_fn_check_prepare_trace "encoding-guesser.at:27"
( $at_check_trace; i18n-test supports_encodings ISO-8859-1
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/encoding-guesser.at:27"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/encoding-guesser.at:28: printf '\\346\\227\\245\\346\\234\\254\\350\\252\\236\\n' | encoding-guesser-test Auto,ISO-8859-1"
at_fn_check_prepare_notrace 'a shell pipeline' "encoding-guesser.at:28"
( $at_check_trace; printf '\346\227\245\346\234\254\350\252\236\n' | encoding-guesser-test Auto,ISO-8859-1
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "UTF-8
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/encoding-guesser.at:28"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_773
#AT_START_774
at_fn_group_banner 774 'encoding-guesser.at:32' \
  "UTF-8 starting with ASCII" "                      " 107
at_xfail=no
(
  $as_echo "774. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/encoding-guesser.at:34: i18n-test supports_encodings ISO-8859-1"
at_fn_check_prepare_trace "encoding-guesser.at:34"
( $at_check_trace; i18n-test supports_encodings ISO-8859-1
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/encoding-guesser.at:34"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/encoding-guesser.at:35: printf 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\\346\\227\\245\\346\\234\\254\\350\\252\\236\\n' | encoding-guesser-test Auto,ISO-8859-1 32"
at_fn_check_prepare_notrace 'a shell pipeline' "encoding-guesser.at:35"
( $at_check_trace; printf 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\346\227\245\346\234\254\350\252\236\n' | encoding-guesser-test Auto,ISO-8859-1 32
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "UTF-8
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/encoding-guesser.at:35"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_774
#AT_START_775
at_fn_group_banner 775 'encoding-guesser.at:39' \
  "UTF-16 with big-endian byte order mark" "         " 107
at_xfail=no
(
  $as_echo "775. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/encoding-guesser.at:41: printf '\\376\\377' | encoding-guesser-test Auto,ISO-8859-1"
at_fn_check_prepare_notrace 'a shell pipeline' "encoding-guesser.at:41"
( $at_check_trace; printf '\376\377' | encoding-guesser-test Auto,ISO-8859-1
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "UTF-16
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/encoding-guesser.at:41"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_775
#AT_START_776
at_fn_group_banner 776 'encoding-guesser.at:46' \
  "UTF-16 with little-endian byte order mark" "      " 107
at_xfail=no
(
  $as_echo "776. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/encoding-guesser.at:48: printf '\\377\\376' | encoding-guesser-test Auto,ISO-8859-1"
at_fn_check_prepare_notrace 'a shell pipeline' "encoding-guesser.at:48"
( $at_check_trace; printf '\377\376' | encoding-guesser-test Auto,ISO-8859-1
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "UTF-16
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/encoding-guesser.at:48"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_776
#AT_START_777
at_fn_group_banner 777 'encoding-guesser.at:53' \
  "UTF-16BE" "                                       " 107
at_xfail=no
(
  $as_echo "777. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/encoding-guesser.at:55: printf '\\0e\\0n\\0t\\0r\\0\\351\\0e\\0\\n' | encoding-guesser-test Auto,ISO-8859-1"
at_fn_check_prepare_notrace 'a shell pipeline' "encoding-guesser.at:55"
( $at_check_trace; printf '\0e\0n\0t\0r\0\351\0e\0\n' | encoding-guesser-test Auto,ISO-8859-1
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "UTF-16BE
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/encoding-guesser.at:55"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_777
#AT_START_778
at_fn_group_banner 778 'encoding-guesser.at:62' \
  "UTF-16BE starting with U+0100" "                  " 107
at_xfail=no
(
  $as_echo "778. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/encoding-guesser.at:64: printf '\\1\\0\\0e\\0n\\0t\\0r\\0\\351\\0e\\0\\n' | encoding-guesser-test Auto,ISO-8859-1"
at_fn_check_prepare_notrace 'a shell pipeline' "encoding-guesser.at:64"
( $at_check_trace; printf '\1\0\0e\0n\0t\0r\0\351\0e\0\n' | encoding-guesser-test Auto,ISO-8859-1
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "UTF-16BE
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/encoding-guesser.at:64"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_778
#AT_START_779
at_fn_group_banner 779 'encoding-guesser.at:69' \
  "UTF-16LE" "                                       " 107
at_xfail=no
(
  $as_echo "779. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/encoding-guesser.at:71: printf 'e\\0n\\0t\\0r\\0\\351\\0e\\0\\n\\0' | encoding-guesser-test Auto,ISO-8859-1"
at_fn_check_prepare_notrace 'a shell pipeline' "encoding-guesser.at:71"
( $at_check_trace; printf 'e\0n\0t\0r\0\351\0e\0\n\0' | encoding-guesser-test Auto,ISO-8859-1
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "UTF-16LE
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/encoding-guesser.at:71"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_779
#AT_START_780
at_fn_group_banner 780 'encoding-guesser.at:78' \
  "UTF-16LE starting with U+0100" "                  " 107
at_xfail=no
(
  $as_echo "780. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/encoding-guesser.at:80: printf '\\0\\1e\\0n\\0t\\0r\\0\\351\\0e\\0\\n\\0' | encoding-guesser-test Auto,ISO-8859-1"
at_fn_check_prepare_notrace 'a shell pipeline' "encoding-guesser.at:80"
( $at_check_trace; printf '\0\1e\0n\0t\0r\0\351\0e\0\n\0' | encoding-guesser-test Auto,ISO-8859-1
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "UTF-16LE
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/encoding-guesser.at:80"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_780
#AT_START_781
at_fn_group_banner 781 'encoding-guesser.at:85' \
  "UTF-32 with big-endian byte order mark" "         " 107
at_xfail=no
(
  $as_echo "781. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/encoding-guesser.at:87: printf '\\0\\0\\376\\377' | encoding-guesser-test Auto,ISO-8859-1"
at_fn_check_prepare_notrace 'a shell pipeline' "encoding-guesser.at:87"
( $at_check_trace; printf '\0\0\376\377' | encoding-guesser-test Auto,ISO-8859-1
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "UTF-32
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/encoding-guesser.at:87"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_781
#AT_START_782
at_fn_group_banner 782 'encoding-guesser.at:92' \
  "UTF-32 with little-endian byte order mark" "      " 107
at_xfail=no
(
  $as_echo "782. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/encoding-guesser.at:94: printf '\\377\\376\\0\\0' | encoding-guesser-test Auto,ISO-8859-1"
at_fn_check_prepare_notrace 'a shell pipeline' "encoding-guesser.at:94"
( $at_check_trace; printf '\377\376\0\0' | encoding-guesser-test Auto,ISO-8859-1
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "UTF-32
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/encoding-guesser.at:94"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_782
#AT_START_783
at_fn_group_banner 783 'encoding-guesser.at:99' \
  "UTF-32BE" "                                       " 107
at_xfail=no
(
  $as_echo "783. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/encoding-guesser.at:101: printf '\\0\\0\\0e\\0\\0\\0n\\0\\0\\0t\\0\\0\\0r\\0\\0\\0\\351\\0\\0\\0e\\0\\0\\0\\n' | encoding-guesser-test Auto,ISO-8859-1"
at_fn_check_prepare_notrace 'a shell pipeline' "encoding-guesser.at:101"
( $at_check_trace; printf '\0\0\0e\0\0\0n\0\0\0t\0\0\0r\0\0\0\351\0\0\0e\0\0\0\n' | encoding-guesser-test Auto,ISO-8859-1
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "UTF-32BE
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/encoding-guesser.at:101"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_783
#AT_START_784
at_fn_group_banner 784 'encoding-guesser.at:106' \
  "UTF-32LE" "                                       " 107
at_xfail=no
(
  $as_echo "784. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/encoding-guesser.at:108: printf 'e\\0\\0\\0n\\0\\0\\0t\\0\\0\\0r\\0\\0\\0\\351\\0\\0\\0e\\0\\0\\0\\n\\0\\0\\0' | encoding-guesser-test Auto,ISO-8859-1"
at_fn_check_prepare_notrace 'a shell pipeline' "encoding-guesser.at:108"
( $at_check_trace; printf 'e\0\0\0n\0\0\0t\0\0\0r\0\0\0\351\0\0\0e\0\0\0\n\0\0\0' | encoding-guesser-test Auto,ISO-8859-1
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "UTF-32LE
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/encoding-guesser.at:108"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_784
#AT_START_785
at_fn_group_banner 785 'encoding-guesser.at:113' \
  "ISO-8859-1" "                                     " 107
at_xfail=no
(
  $as_echo "785. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/encoding-guesser.at:115: i18n-test supports_encodings ISO-8859-1"
at_fn_check_prepare_trace "encoding-guesser.at:115"
( $at_check_trace; i18n-test supports_encodings ISO-8859-1
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/encoding-guesser.at:115"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/encoding-guesser.at:116: printf 'entr\\351e\\n' | encoding-guesser-test Auto,ISO-8859-1"
at_fn_check_prepare_notrace 'a shell pipeline' "encoding-guesser.at:116"
( $at_check_trace; printf 'entr\351e\n' | encoding-guesser-test Auto,ISO-8859-1
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "ISO-8859-1
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/encoding-guesser.at:116"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_785
#AT_START_786
at_fn_group_banner 786 'encoding-guesser.at:121' \
  "GB-18030 with byte order mark" "                  " 107
at_xfail=no
(
  $as_echo "786. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/encoding-guesser.at:123: i18n-test supports_encodings ISO-8859-1"
at_fn_check_prepare_trace "encoding-guesser.at:123"
( $at_check_trace; i18n-test supports_encodings ISO-8859-1
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/encoding-guesser.at:123"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/encoding-guesser.at:124: printf '\\204\\061\\225\\063' | encoding-guesser-test Auto,ISO-8859-1"
at_fn_check_prepare_notrace 'a shell pipeline' "encoding-guesser.at:124"
( $at_check_trace; printf '\204\061\225\063' | encoding-guesser-test Auto,ISO-8859-1
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "GB-18030
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/encoding-guesser.at:124"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_786
#AT_START_787
at_fn_group_banner 787 'encoding-guesser.at:129' \
  "UTF-EBCDIC with byte order mark" "                " 107
at_xfail=no
(
  $as_echo "787. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/encoding-guesser.at:131: i18n-test supports_encodings ISO-8859-1"
at_fn_check_prepare_trace "encoding-guesser.at:131"
( $at_check_trace; i18n-test supports_encodings ISO-8859-1
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/encoding-guesser.at:131"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/encoding-guesser.at:132: printf '\\335\\163\\146\\163' | encoding-guesser-test Auto,ISO-8859-1"
at_fn_check_prepare_notrace 'a shell pipeline' "encoding-guesser.at:132"
( $at_check_trace; printf '\335\163\146\163' | encoding-guesser-test Auto,ISO-8859-1
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "UTF-EBCDIC
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/encoding-guesser.at:132"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_787
#AT_START_788
at_fn_group_banner 788 'encoding-guesser.at:137' \
  "EUC-JP as Auto,EUC-JP" "                          " 107
at_xfail=no
(
  $as_echo "788. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/encoding-guesser.at:139: i18n-test supports_encodings EUC-JP"
at_fn_check_prepare_trace "encoding-guesser.at:139"
( $at_check_trace; i18n-test supports_encodings EUC-JP
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/encoding-guesser.at:139"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/encoding-guesser.at:140: printf '\\244\\241 \\244\\242 \\244\\243 \\244\\244 \\244\\245 \\244\\246 \\244\\247 \\244\\250 \\244\\251 \\244\\252\\n' | encoding-guesser-test Auto,EUC-JP"
at_fn_check_prepare_notrace 'a shell pipeline' "encoding-guesser.at:140"
( $at_check_trace; printf '\244\241 \244\242 \244\243 \244\244 \244\245 \244\246 \244\247 \244\250 \244\251 \244\252\n' | encoding-guesser-test Auto,EUC-JP
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "EUC-JP
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/encoding-guesser.at:140"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_788
#AT_START_789
at_fn_group_banner 789 'encoding-guesser.at:145' \
  "EUC-JP starting with ASCII as Auto,EUC-JP" "      " 107
at_xfail=no
(
  $as_echo "789. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/encoding-guesser.at:147: i18n-test supports_encodings EUC-JP"
at_fn_check_prepare_trace "encoding-guesser.at:147"
( $at_check_trace; i18n-test supports_encodings EUC-JP
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/encoding-guesser.at:147"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/encoding-guesser.at:148: printf 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx \\244\\241 \\244\\242 \\244\\243 \\244\\244 \\244\\245 \\244\\246 \\244\\247 \\244\\250 \\244\\251 \\244\\252\\n' | encoding-guesser-test Auto,EUC-JP 32"
at_fn_check_prepare_notrace 'a shell pipeline' "encoding-guesser.at:148"
( $at_check_trace; printf 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx \244\241 \244\242 \244\243 \244\244 \244\245 \244\246 \244\247 \244\250 \244\251 \244\252\n' | encoding-guesser-test Auto,EUC-JP 32
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "EUC-JP
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/encoding-guesser.at:148"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_789
#AT_START_790
at_fn_group_banner 790 'encoding-guesser.at:153' \
  "UTF-8 with character split across input buffers" "" 107
at_xfail=no
(
  $as_echo "790. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/encoding-guesser.at:155: i18n-test supports_encodings ISO-8859-1"
at_fn_check_prepare_trace "encoding-guesser.at:155"
( $at_check_trace; i18n-test supports_encodings ISO-8859-1
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/encoding-guesser.at:155"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/encoding-guesser.at:156: printf '\\343\\201\\201\\343\\201\\202\\343\\201\\203\\343\\201\\204\\343\\201\\205\\343\\201\\206\\343\\201\\207\\343\\201\\210\\343\\201\\211\\343\\201\\212\\343\\201\\201\\343\\201\\202\\343\\201\\203\\343\\201\\204\\343\\201\\205\\343\\201\\206\\343\\201\\207\\343\\201\\210\\343\\201\\211\\343\\201\\212\\n' | encoding-guesser-test Auto,ISO-8859-1 32"
at_fn_check_prepare_notrace 'a shell pipeline' "encoding-guesser.at:156"
( $at_check_trace; printf '\343\201\201\343\201\202\343\201\203\343\201\204\343\201\205\343\201\206\343\201\207\343\201\210\343\201\211\343\201\212\343\201\201\343\201\202\343\201\203\343\201\204\343\201\205\343\201\206\343\201\207\343\201\210\343\201\211\343\201\212\n' | encoding-guesser-test Auto,ISO-8859-1 32
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "UTF-8
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/encoding-guesser.at:156"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_790
#AT_START_791
at_fn_group_banner 791 'encoding-guesser.at:161' \
  "windows-1252 as Auto,UTF-8" "                     " 107
at_xfail=no
(
  $as_echo "791. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/encoding-guesser.at:163: i18n-test supports_encodings windows-1252"
at_fn_check_prepare_trace "encoding-guesser.at:163"
( $at_check_trace; i18n-test supports_encodings windows-1252
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/encoding-guesser.at:163"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/encoding-guesser.at:164: printf 'entr\\351e' | encoding-guesser-test Auto,UTF-8 32"
at_fn_check_prepare_notrace 'a shell pipeline' "encoding-guesser.at:164"
( $at_check_trace; printf 'entr\351e' | encoding-guesser-test Auto,UTF-8 32
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "windows-1252
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/encoding-guesser.at:164"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_791
#AT_START_792
at_fn_group_banner 792 'float-format.at:19' \
  "floating point format conversions" "              " 108
at_xfail=no
(
  $as_echo "792. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >float-format.txt <<'_ATEOF'
# Each of the tests below checks that conversion between
# floating-point formats works correctly.  Comparisons that use ==
# require that conversion from any format on the line to any other
# format on the line work losslessly.  Comparisons that use => only
# check that conversions work losslessly in the given direction.

# Key to format names:
# isl: IEEE single-precision, little endian
# isb: IEEE single-precision, big endian
# idl: IEEE double-precision, little endian
# idb: IEEE double-precision, big endian
# vf: VAX F
# vd: VAX D
# vg: VAX G
# zs: Z architecture short
# zl: Z architecture long
# x: hexadecimal digits

# IEEE special values.
 0 == isb('00000000')
x('Infinity') == isb('7f800000')
x('-Infinity') == isb('ff800000')
x('NaN:') => isb('7f800001')		# NaN requires nonzero fraction.
x('NaN:e000000000000000') == isb('7ff00000') == idb('7ffe000000000000')
x('NaN:5a5a5e0000000000') == isb('7fad2d2f') == idb('7ff5a5a5e0000000')
x('NaN:975612abcdef4000') == idb('7ff975612abcdef4')
x('-NaN:e000000000000000') == isb('fff00000') == idb('fffe000000000000')
x('-NaN:5a5a5e0000000000') == isb('ffad2d2f') == idb('fff5a5a5e0000000')
x('-NaN:975612abcdef4000') == idb('fff975612abcdef4')

# PSPP special values.
x('Missing') == isb('ff7fffff') == idb('ffefffffffffffff') == isl('ffff7fff') == idl('ffffffffffffefff') == vf('ffffffff') == vd('ffffffffffffffff') == vg('ffffffffffffffff') == zs('ffffffff') == zl('ffffffffffffffff')
x('Lowest') == isb('ff7ffffe') == idb('ffeffffffffffffe') == isl('feff7fff') == idl('feffffffffffefff') == vf('fffffeff') == vd('fffffeffffffffff') == vg('fffffeffffffffff') == zs('fffffffe') == zl('fffffffffffffffe')
x('Highest') == isb('7f7fffff') == idb('7fefffffffffffff') == isl('ffff7f7f') == idl('ffffffffffffef7f') == vf('ff7fffff') == vd('ffffffffff7fffff') == vg('ffffffffff7fffff') == zs('7fffffff') == zl('7fffffffffffffff')

# From Wikipedia.
0.15625 == isb('3e200000')
-118.625 == isb('c2ed4000')

# http://www.psc.edu/general/software/packages/ieee/ieee.html
x('NaN:0400000000000000') == isb('7f820000')
x('-NaN:2225540000000000') == isb('ff9112aa')
2 == isb('40000000')
6.5 == isb('40d00000')
-6.5 == isb('c0d00000')
x('.4p-124') == isb('00800000')
x('.2p-124') == isb('00400000')

# Using converter at http://babbage.cs.qc.edu/IEEE-754/Decimal.html
# plus Emacs 'calc' to convert decimal to hexadecimal
x('.7b74bc6a7ef9db23p8') => isb('42f6e979')		# 123.456
x('.7b74bc6a7ef9db23p8') => idb('405edd2f1a9fbe77')
x('.817427d2d4642004p-12') => isb('39017428')		# .0001234567
x('.817427d2d4642004p-12') => idb('3f202e84fa5a8c84')
x('.446c3b15f9926688p168') => isb('7f800000')		# 1e50; overflow
x('.446c3b15f9926688p168') => idb('4a511b0ec57e649a')

# From multiple editions of the z/Architecture Principles of Operation
# manual.
	      1.0 == zs('41100000') == isb('3f800000')
	      0.5 == zs('40800000') == isb('3f000000')
       x('.4p-4') == zs('3f400000') == isb('3c800000')
		0 == zs('00000000') == isb('00000000')
	             zs('80000000') == isb('80000000')
	      -15 == zs('c1f00000') == isb('c1700000')
# x('.ffffffp252') == zs('7fffffff')
      x('.3b4p8') == zs('423b4000')
     x('.1p-256') == zs('00100000')
     x('.4p-124') == zs('21400000') == isb('00800000')
     x('.8p-148') == zs('1b800000') == isb('00000001')
# x('.ffffffp128') == zs('60ffffff') == isb('7f7fffff')
     x('.1p-256') == zs('00100000')
     x('.1p-256') => isb('00000000')              # Underflow to zero.
 x('.ffffffp248') == zs('7effffff')
 x('.ffffffp248') => isb('7f800000')              # Overflow to +Infinity.

            x('.4p-1020') => zl('0000000000000000')     # Underflow to zero.
            x('.4p-1020') == idb('0010000000000000')
            x('.4p-1072') => zl('0000000000000000')     # Underflow to zero.
            x('.4p-1072') => idb('0000000000000001')
x('.fffffffffffff8p1024') => zl('7fffffffffffffff')     # Overflow to maxval.
x('.fffffffffffff8p1024') => idb('7fefffffffffffff')
            x('.1p-256') == zl('0010000000000000') == idb('2fb0000000000000')
 x('.ffffffffffffffp248') == zl('7effffffffffffff')
 x('.ffffffffffffffp248') => idb('4f70000000000000')	# Loses precision.
_ATEOF

{ set +x
$as_echo "$at_srcdir/float-format.at:107: sed 's/#.*//
s/^ 	*//
s/ 	*\$//
/^\$/d
s/^\\(..*\\)\$/DEBUG FLOAT FORMAT \\1./' < float-format.txt > float-format.sps"
at_fn_check_prepare_notrace 'an embedded newline' "float-format.at:107"
( $at_check_trace; sed 's/#.*//
s/^ 	*//
s/ 	*$//
/^$/d
s/^\(..*\)$/DEBUG FLOAT FORMAT \1./' < float-format.txt > float-format.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/float-format.at:107"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/float-format.at:113: pspp --testing-mode -O format=csv float-format.sps"
at_fn_check_prepare_trace "float-format.at:113"
( $at_check_trace; pspp --testing-mode -O format=csv float-format.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/float-format.at:113"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_792
#AT_START_793
at_fn_group_banner 793 'heap.at:24' \
  "heap -- insert-no-dups-delete-min" "              " 109
at_xfail=no
(
  $as_echo "793. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/heap.at:24: heap-test insert-no-dups-delete-min"
at_fn_check_prepare_trace "heap.at:24"
( $at_check_trace; heap-test insert-no-dups-delete-min
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/heap.at:24"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_793
#AT_START_794
at_fn_group_banner 794 'heap.at:25' \
  "heap -- insert-with-dups-delete-min" "            " 109
at_xfail=no
(
  $as_echo "794. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/heap.at:25: heap-test insert-with-dups-delete-min"
at_fn_check_prepare_trace "heap.at:25"
( $at_check_trace; heap-test insert-with-dups-delete-min
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/heap.at:25"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_794
#AT_START_795
at_fn_group_banner 795 'heap.at:26' \
  "heap -- insert-no-dups-delete-random" "           " 109
at_xfail=no
(
  $as_echo "795. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/heap.at:26: heap-test insert-no-dups-delete-random"
at_fn_check_prepare_trace "heap.at:26"
( $at_check_trace; heap-test insert-no-dups-delete-random
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/heap.at:26"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_795
#AT_START_796
at_fn_group_banner 796 'heap.at:27' \
  "heap -- inc-dec" "                                " 109
at_xfail=no
(
  $as_echo "796. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/heap.at:27: heap-test inc-dec"
at_fn_check_prepare_trace "heap.at:27"
( $at_check_trace; heap-test inc-dec
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/heap.at:27"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_796
#AT_START_797
at_fn_group_banner 797 'heap.at:28' \
  "heap -- random-insert-delete" "                   " 109
at_xfail=no
(
  $as_echo "797. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/heap.at:28: heap-test random-insert-delete"
at_fn_check_prepare_trace "heap.at:28"
( $at_check_trace; heap-test random-insert-delete
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/heap.at:28"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_797
#AT_START_798
at_fn_group_banner 798 'hmap.at:24' \
  "hmap -- insert-any-remove-any-random-hash" "      " 110
at_xfail=no
(
  $as_echo "798. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/hmap.at:24: hmap-test insert-any-remove-any-random-hash"
at_fn_check_prepare_trace "hmap.at:24"
( $at_check_trace; hmap-test insert-any-remove-any-random-hash
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/hmap.at:24"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_798
#AT_START_799
at_fn_group_banner 799 'hmap.at:25' \
  "hmap -- insert-any-remove-any-identity-hash" "    " 110
at_xfail=no
(
  $as_echo "799. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/hmap.at:25: hmap-test insert-any-remove-any-identity-hash"
at_fn_check_prepare_trace "hmap.at:25"
( $at_check_trace; hmap-test insert-any-remove-any-identity-hash
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/hmap.at:25"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_799
#AT_START_800
at_fn_group_banner 800 'hmap.at:26' \
  "hmap -- insert-any-remove-any-constant-hash" "    " 110
at_xfail=no
(
  $as_echo "800. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/hmap.at:26: hmap-test insert-any-remove-any-constant-hash"
at_fn_check_prepare_trace "hmap.at:26"
( $at_check_trace; hmap-test insert-any-remove-any-constant-hash
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/hmap.at:26"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_800
#AT_START_801
at_fn_group_banner 801 'hmap.at:27' \
  "hmap -- insert-any-remove-same-random-hash" "     " 110
at_xfail=no
(
  $as_echo "801. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/hmap.at:27: hmap-test insert-any-remove-same-random-hash"
at_fn_check_prepare_trace "hmap.at:27"
( $at_check_trace; hmap-test insert-any-remove-same-random-hash
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/hmap.at:27"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_801
#AT_START_802
at_fn_group_banner 802 'hmap.at:28' \
  "hmap -- insert-any-remove-same-identity-hash" "   " 110
at_xfail=no
(
  $as_echo "802. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/hmap.at:28: hmap-test insert-any-remove-same-identity-hash"
at_fn_check_prepare_trace "hmap.at:28"
( $at_check_trace; hmap-test insert-any-remove-same-identity-hash
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/hmap.at:28"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_802
#AT_START_803
at_fn_group_banner 803 'hmap.at:29' \
  "hmap -- insert-any-remove-same-constant-hash" "   " 110
at_xfail=no
(
  $as_echo "803. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/hmap.at:29: hmap-test insert-any-remove-same-constant-hash"
at_fn_check_prepare_trace "hmap.at:29"
( $at_check_trace; hmap-test insert-any-remove-same-constant-hash
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/hmap.at:29"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_803
#AT_START_804
at_fn_group_banner 804 'hmap.at:30' \
  "hmap -- insert-any-remove-reverse-random-hash" "  " 110
at_xfail=no
(
  $as_echo "804. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/hmap.at:30: hmap-test insert-any-remove-reverse-random-hash"
at_fn_check_prepare_trace "hmap.at:30"
( $at_check_trace; hmap-test insert-any-remove-reverse-random-hash
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/hmap.at:30"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_804
#AT_START_805
at_fn_group_banner 805 'hmap.at:31' \
  "hmap -- insert-any-remove-reverse-identity-hash" "" 110
at_xfail=no
(
  $as_echo "805. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/hmap.at:31: hmap-test insert-any-remove-reverse-identity-hash"
at_fn_check_prepare_trace "hmap.at:31"
( $at_check_trace; hmap-test insert-any-remove-reverse-identity-hash
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/hmap.at:31"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_805
#AT_START_806
at_fn_group_banner 806 'hmap.at:32' \
  "hmap -- insert-any-remove-reverse-constant-hash" "" 110
at_xfail=no
(
  $as_echo "806. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/hmap.at:32: hmap-test insert-any-remove-reverse-constant-hash"
at_fn_check_prepare_trace "hmap.at:32"
( $at_check_trace; hmap-test insert-any-remove-reverse-constant-hash
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/hmap.at:32"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_806
#AT_START_807
at_fn_group_banner 807 'hmap.at:33' \
  "hmap -- random-sequence-random-hash" "            " 110
at_xfail=no
(
  $as_echo "807. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/hmap.at:33: hmap-test random-sequence-random-hash"
at_fn_check_prepare_trace "hmap.at:33"
( $at_check_trace; hmap-test random-sequence-random-hash
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/hmap.at:33"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_807
#AT_START_808
at_fn_group_banner 808 'hmap.at:34' \
  "hmap -- random-sequence-identity-hash" "          " 110
at_xfail=no
(
  $as_echo "808. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/hmap.at:34: hmap-test random-sequence-identity-hash"
at_fn_check_prepare_trace "hmap.at:34"
( $at_check_trace; hmap-test random-sequence-identity-hash
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/hmap.at:34"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_808
#AT_START_809
at_fn_group_banner 809 'hmap.at:35' \
  "hmap -- random-sequence-constant-hash" "          " 110
at_xfail=no
(
  $as_echo "809. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/hmap.at:35: hmap-test random-sequence-constant-hash"
at_fn_check_prepare_trace "hmap.at:35"
( $at_check_trace; hmap-test random-sequence-constant-hash
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/hmap.at:35"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_809
#AT_START_810
at_fn_group_banner 810 'hmap.at:36' \
  "hmap -- insert-ordered-random-hash" "             " 110
at_xfail=no
(
  $as_echo "810. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/hmap.at:36: hmap-test insert-ordered-random-hash"
at_fn_check_prepare_trace "hmap.at:36"
( $at_check_trace; hmap-test insert-ordered-random-hash
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/hmap.at:36"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_810
#AT_START_811
at_fn_group_banner 811 'hmap.at:37' \
  "hmap -- insert-ordered-identity-hash" "           " 110
at_xfail=no
(
  $as_echo "811. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/hmap.at:37: hmap-test insert-ordered-identity-hash"
at_fn_check_prepare_trace "hmap.at:37"
( $at_check_trace; hmap-test insert-ordered-identity-hash
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/hmap.at:37"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_811
#AT_START_812
at_fn_group_banner 812 'hmap.at:38' \
  "hmap -- insert-ordered-constant-hash" "           " 110
at_xfail=no
(
  $as_echo "812. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/hmap.at:38: hmap-test insert-ordered-constant-hash"
at_fn_check_prepare_trace "hmap.at:38"
( $at_check_trace; hmap-test insert-ordered-constant-hash
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/hmap.at:38"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_812
#AT_START_813
at_fn_group_banner 813 'hmap.at:39' \
  "hmap -- moved-random-hash" "                      " 110
at_xfail=no
(
  $as_echo "813. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/hmap.at:39: hmap-test moved-random-hash"
at_fn_check_prepare_trace "hmap.at:39"
( $at_check_trace; hmap-test moved-random-hash
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/hmap.at:39"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_813
#AT_START_814
at_fn_group_banner 814 'hmap.at:40' \
  "hmap -- moved-identity-hash" "                    " 110
at_xfail=no
(
  $as_echo "814. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/hmap.at:40: hmap-test moved-identity-hash"
at_fn_check_prepare_trace "hmap.at:40"
( $at_check_trace; hmap-test moved-identity-hash
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/hmap.at:40"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_814
#AT_START_815
at_fn_group_banner 815 'hmap.at:41' \
  "hmap -- moved-constant-hash" "                    " 110
at_xfail=no
(
  $as_echo "815. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/hmap.at:41: hmap-test moved-constant-hash"
at_fn_check_prepare_trace "hmap.at:41"
( $at_check_trace; hmap-test moved-constant-hash
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/hmap.at:41"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_815
#AT_START_816
at_fn_group_banner 816 'hmap.at:42' \
  "hmap -- changed-random-hash" "                    " 110
at_xfail=no
(
  $as_echo "816. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/hmap.at:42: hmap-test changed-random-hash"
at_fn_check_prepare_trace "hmap.at:42"
( $at_check_trace; hmap-test changed-random-hash
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/hmap.at:42"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_816
#AT_START_817
at_fn_group_banner 817 'hmap.at:43' \
  "hmap -- changed-identity-hash" "                  " 110
at_xfail=no
(
  $as_echo "817. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/hmap.at:43: hmap-test changed-identity-hash"
at_fn_check_prepare_trace "hmap.at:43"
( $at_check_trace; hmap-test changed-identity-hash
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/hmap.at:43"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_817
#AT_START_818
at_fn_group_banner 818 'hmap.at:44' \
  "hmap -- changed-constant-hash" "                  " 110
at_xfail=no
(
  $as_echo "818. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/hmap.at:44: hmap-test changed-constant-hash"
at_fn_check_prepare_trace "hmap.at:44"
( $at_check_trace; hmap-test changed-constant-hash
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/hmap.at:44"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_818
#AT_START_819
at_fn_group_banner 819 'hmap.at:45' \
  "hmap -- swap-random-hash" "                       " 110
at_xfail=no
(
  $as_echo "819. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/hmap.at:45: hmap-test swap-random-hash"
at_fn_check_prepare_trace "hmap.at:45"
( $at_check_trace; hmap-test swap-random-hash
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/hmap.at:45"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_819
#AT_START_820
at_fn_group_banner 820 'hmap.at:46' \
  "hmap -- clear" "                                  " 110
at_xfail=no
(
  $as_echo "820. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/hmap.at:46: hmap-test clear"
at_fn_check_prepare_trace "hmap.at:46"
( $at_check_trace; hmap-test clear
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/hmap.at:46"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_820
#AT_START_821
at_fn_group_banner 821 'hmap.at:47' \
  "hmap -- destroy-null" "                           " 110
at_xfail=no
(
  $as_echo "821. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/hmap.at:47: hmap-test destroy-null"
at_fn_check_prepare_trace "hmap.at:47"
( $at_check_trace; hmap-test destroy-null
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/hmap.at:47"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_821
#AT_START_822
at_fn_group_banner 822 'hmap.at:48' \
  "hmap -- shrink-empty" "                           " 110
at_xfail=no
(
  $as_echo "822. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/hmap.at:48: hmap-test shrink-empty"
at_fn_check_prepare_trace "hmap.at:48"
( $at_check_trace; hmap-test shrink-empty
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/hmap.at:48"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_822
#AT_START_823
at_fn_group_banner 823 'hmapx.at:24' \
  "hmapx -- insert-any-remove-any-random-hash" "     " 111
at_xfail=no
(
  $as_echo "823. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/hmapx.at:24: hmapx-test insert-any-remove-any-random-hash"
at_fn_check_prepare_trace "hmapx.at:24"
( $at_check_trace; hmapx-test insert-any-remove-any-random-hash
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/hmapx.at:24"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_823
#AT_START_824
at_fn_group_banner 824 'hmapx.at:25' \
  "hmapx -- insert-any-remove-any-identity-hash" "   " 111
at_xfail=no
(
  $as_echo "824. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/hmapx.at:25: hmapx-test insert-any-remove-any-identity-hash"
at_fn_check_prepare_trace "hmapx.at:25"
( $at_check_trace; hmapx-test insert-any-remove-any-identity-hash
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/hmapx.at:25"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_824
#AT_START_825
at_fn_group_banner 825 'hmapx.at:26' \
  "hmapx -- insert-any-remove-any-constant-hash" "   " 111
at_xfail=no
(
  $as_echo "825. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/hmapx.at:26: hmapx-test insert-any-remove-any-constant-hash"
at_fn_check_prepare_trace "hmapx.at:26"
( $at_check_trace; hmapx-test insert-any-remove-any-constant-hash
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/hmapx.at:26"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_825
#AT_START_826
at_fn_group_banner 826 'hmapx.at:27' \
  "hmapx -- insert-any-remove-same-random-hash" "    " 111
at_xfail=no
(
  $as_echo "826. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/hmapx.at:27: hmapx-test insert-any-remove-same-random-hash"
at_fn_check_prepare_trace "hmapx.at:27"
( $at_check_trace; hmapx-test insert-any-remove-same-random-hash
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/hmapx.at:27"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_826
#AT_START_827
at_fn_group_banner 827 'hmapx.at:28' \
  "hmapx -- insert-any-remove-same-identity-hash" "  " 111
at_xfail=no
(
  $as_echo "827. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/hmapx.at:28: hmapx-test insert-any-remove-same-identity-hash"
at_fn_check_prepare_trace "hmapx.at:28"
( $at_check_trace; hmapx-test insert-any-remove-same-identity-hash
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/hmapx.at:28"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_827
#AT_START_828
at_fn_group_banner 828 'hmapx.at:29' \
  "hmapx -- insert-any-remove-same-constant-hash" "  " 111
at_xfail=no
(
  $as_echo "828. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/hmapx.at:29: hmapx-test insert-any-remove-same-constant-hash"
at_fn_check_prepare_trace "hmapx.at:29"
( $at_check_trace; hmapx-test insert-any-remove-same-constant-hash
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/hmapx.at:29"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_828
#AT_START_829
at_fn_group_banner 829 'hmapx.at:30' \
  "hmapx -- insert-any-remove-reverse-random-hash" " " 111
at_xfail=no
(
  $as_echo "829. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/hmapx.at:30: hmapx-test insert-any-remove-reverse-random-hash"
at_fn_check_prepare_trace "hmapx.at:30"
( $at_check_trace; hmapx-test insert-any-remove-reverse-random-hash
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/hmapx.at:30"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_829
#AT_START_830
at_fn_group_banner 830 'hmapx.at:31' \
  "hmapx -- insert-any-remove-reverse-identity-hash" "" 111
at_xfail=no
(
  $as_echo "830. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/hmapx.at:31: hmapx-test insert-any-remove-reverse-identity-hash"
at_fn_check_prepare_trace "hmapx.at:31"
( $at_check_trace; hmapx-test insert-any-remove-reverse-identity-hash
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/hmapx.at:31"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_830
#AT_START_831
at_fn_group_banner 831 'hmapx.at:32' \
  "hmapx -- insert-any-remove-reverse-constant-hash" "" 111
at_xfail=no
(
  $as_echo "831. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/hmapx.at:32: hmapx-test insert-any-remove-reverse-constant-hash"
at_fn_check_prepare_trace "hmapx.at:32"
( $at_check_trace; hmapx-test insert-any-remove-reverse-constant-hash
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/hmapx.at:32"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_831
#AT_START_832
at_fn_group_banner 832 'hmapx.at:33' \
  "hmapx -- random-sequence-random-hash" "           " 111
at_xfail=no
(
  $as_echo "832. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/hmapx.at:33: hmapx-test random-sequence-random-hash"
at_fn_check_prepare_trace "hmapx.at:33"
( $at_check_trace; hmapx-test random-sequence-random-hash
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/hmapx.at:33"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_832
#AT_START_833
at_fn_group_banner 833 'hmapx.at:34' \
  "hmapx -- random-sequence-identity-hash" "         " 111
at_xfail=no
(
  $as_echo "833. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/hmapx.at:34: hmapx-test random-sequence-identity-hash"
at_fn_check_prepare_trace "hmapx.at:34"
( $at_check_trace; hmapx-test random-sequence-identity-hash
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/hmapx.at:34"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_833
#AT_START_834
at_fn_group_banner 834 'hmapx.at:35' \
  "hmapx -- random-sequence-constant-hash" "         " 111
at_xfail=no
(
  $as_echo "834. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/hmapx.at:35: hmapx-test random-sequence-constant-hash"
at_fn_check_prepare_trace "hmapx.at:35"
( $at_check_trace; hmapx-test random-sequence-constant-hash
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/hmapx.at:35"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_834
#AT_START_835
at_fn_group_banner 835 'hmapx.at:36' \
  "hmapx -- insert-ordered-random-hash" "            " 111
at_xfail=no
(
  $as_echo "835. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/hmapx.at:36: hmapx-test insert-ordered-random-hash"
at_fn_check_prepare_trace "hmapx.at:36"
( $at_check_trace; hmapx-test insert-ordered-random-hash
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/hmapx.at:36"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_835
#AT_START_836
at_fn_group_banner 836 'hmapx.at:37' \
  "hmapx -- insert-ordered-identity-hash" "          " 111
at_xfail=no
(
  $as_echo "836. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/hmapx.at:37: hmapx-test insert-ordered-identity-hash"
at_fn_check_prepare_trace "hmapx.at:37"
( $at_check_trace; hmapx-test insert-ordered-identity-hash
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/hmapx.at:37"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_836
#AT_START_837
at_fn_group_banner 837 'hmapx.at:38' \
  "hmapx -- insert-ordered-constant-hash" "          " 111
at_xfail=no
(
  $as_echo "837. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/hmapx.at:38: hmapx-test insert-ordered-constant-hash"
at_fn_check_prepare_trace "hmapx.at:38"
( $at_check_trace; hmapx-test insert-ordered-constant-hash
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/hmapx.at:38"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_837
#AT_START_838
at_fn_group_banner 838 'hmapx.at:39' \
  "hmapx -- moved-random-hash" "                     " 111
at_xfail=no
(
  $as_echo "838. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/hmapx.at:39: hmapx-test moved-random-hash"
at_fn_check_prepare_trace "hmapx.at:39"
( $at_check_trace; hmapx-test moved-random-hash
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/hmapx.at:39"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_838
#AT_START_839
at_fn_group_banner 839 'hmapx.at:40' \
  "hmapx -- moved-identity-hash" "                   " 111
at_xfail=no
(
  $as_echo "839. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/hmapx.at:40: hmapx-test moved-identity-hash"
at_fn_check_prepare_trace "hmapx.at:40"
( $at_check_trace; hmapx-test moved-identity-hash
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/hmapx.at:40"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_839
#AT_START_840
at_fn_group_banner 840 'hmapx.at:41' \
  "hmapx -- moved-constant-hash" "                   " 111
at_xfail=no
(
  $as_echo "840. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/hmapx.at:41: hmapx-test moved-constant-hash"
at_fn_check_prepare_trace "hmapx.at:41"
( $at_check_trace; hmapx-test moved-constant-hash
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/hmapx.at:41"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_840
#AT_START_841
at_fn_group_banner 841 'hmapx.at:42' \
  "hmapx -- changed-random-hash" "                   " 111
at_xfail=no
(
  $as_echo "841. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/hmapx.at:42: hmapx-test changed-random-hash"
at_fn_check_prepare_trace "hmapx.at:42"
( $at_check_trace; hmapx-test changed-random-hash
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/hmapx.at:42"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_841
#AT_START_842
at_fn_group_banner 842 'hmapx.at:43' \
  "hmapx -- changed-identity-hash" "                 " 111
at_xfail=no
(
  $as_echo "842. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/hmapx.at:43: hmapx-test changed-identity-hash"
at_fn_check_prepare_trace "hmapx.at:43"
( $at_check_trace; hmapx-test changed-identity-hash
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/hmapx.at:43"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_842
#AT_START_843
at_fn_group_banner 843 'hmapx.at:44' \
  "hmapx -- changed-constant-hash" "                 " 111
at_xfail=no
(
  $as_echo "843. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/hmapx.at:44: hmapx-test changed-constant-hash"
at_fn_check_prepare_trace "hmapx.at:44"
( $at_check_trace; hmapx-test changed-constant-hash
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/hmapx.at:44"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_843
#AT_START_844
at_fn_group_banner 844 'hmapx.at:45' \
  "hmapx -- change-random-hash" "                    " 111
at_xfail=no
(
  $as_echo "844. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/hmapx.at:45: hmapx-test change-random-hash"
at_fn_check_prepare_trace "hmapx.at:45"
( $at_check_trace; hmapx-test change-random-hash
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/hmapx.at:45"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_844
#AT_START_845
at_fn_group_banner 845 'hmapx.at:46' \
  "hmapx -- change-identity-hash" "                  " 111
at_xfail=no
(
  $as_echo "845. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/hmapx.at:46: hmapx-test change-identity-hash"
at_fn_check_prepare_trace "hmapx.at:46"
( $at_check_trace; hmapx-test change-identity-hash
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/hmapx.at:46"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_845
#AT_START_846
at_fn_group_banner 846 'hmapx.at:47' \
  "hmapx -- change-constant-hash" "                  " 111
at_xfail=no
(
  $as_echo "846. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/hmapx.at:47: hmapx-test change-constant-hash"
at_fn_check_prepare_trace "hmapx.at:47"
( $at_check_trace; hmapx-test change-constant-hash
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/hmapx.at:47"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_846
#AT_START_847
at_fn_group_banner 847 'hmapx.at:48' \
  "hmapx -- swap-random-hash" "                      " 111
at_xfail=no
(
  $as_echo "847. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/hmapx.at:48: hmapx-test swap-random-hash"
at_fn_check_prepare_trace "hmapx.at:48"
( $at_check_trace; hmapx-test swap-random-hash
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/hmapx.at:48"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_847
#AT_START_848
at_fn_group_banner 848 'hmapx.at:49' \
  "hmapx -- clear" "                                 " 111
at_xfail=no
(
  $as_echo "848. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/hmapx.at:49: hmapx-test clear"
at_fn_check_prepare_trace "hmapx.at:49"
( $at_check_trace; hmapx-test clear
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/hmapx.at:49"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_848
#AT_START_849
at_fn_group_banner 849 'hmapx.at:50' \
  "hmapx -- destroy-null" "                          " 111
at_xfail=no
(
  $as_echo "849. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/hmapx.at:50: hmapx-test destroy-null"
at_fn_check_prepare_trace "hmapx.at:50"
( $at_check_trace; hmapx-test destroy-null
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/hmapx.at:50"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_849
#AT_START_850
at_fn_group_banner 850 'hmapx.at:51' \
  "hmapx -- shrink-empty" "                          " 111
at_xfail=no
(
  $as_echo "850. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/hmapx.at:51: hmapx-test shrink-empty"
at_fn_check_prepare_trace "hmapx.at:51"
( $at_check_trace; hmapx-test shrink-empty
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/hmapx.at:51"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_850
#AT_START_851
at_fn_group_banner 851 'i18n.at:36' \
  "convert reflexively" "                            " 112
at_xfail=no
(
  $as_echo "851. $at_setup_line: testing $at_desc ..."
  $at_traceon



      { set +x
$as_echo "$at_srcdir/i18n.at:36: i18n-test supports_encodings 'ASCII' 'ASCII'"
at_fn_check_prepare_trace "i18n.at:36"
( $at_check_trace; i18n-test supports_encodings 'ASCII' 'ASCII'
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/i18n.at:36"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/i18n.at:36: i18n-test recode 'ASCII' 'ASCII' \`printf 'abc'\`"
at_fn_check_prepare_notrace 'a `...` command substitution' "i18n.at:36"
( $at_check_trace; i18n-test recode 'ASCII' 'ASCII' `printf 'abc'`
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "`printf 'abc'`
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/i18n.at:36"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_851
#AT_START_852
at_fn_group_banner 852 'i18n.at:37' \
  "convert without any change" "                     " 112
at_xfail=no
(
  $as_echo "852. $at_setup_line: testing $at_desc ..."
  $at_traceon



      { set +x
$as_echo "$at_srcdir/i18n.at:37: i18n-test supports_encodings 'ASCII' 'UTF-8'"
at_fn_check_prepare_trace "i18n.at:37"
( $at_check_trace; i18n-test supports_encodings 'ASCII' 'UTF-8'
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/i18n.at:37"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/i18n.at:37: i18n-test recode 'ASCII' 'UTF-8' \`printf 'abc'\`"
at_fn_check_prepare_notrace 'a `...` command substitution' "i18n.at:37"
( $at_check_trace; i18n-test recode 'ASCII' 'UTF-8' `printf 'abc'`
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "`printf 'abc'`
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/i18n.at:37"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_852
#AT_START_853
at_fn_group_banner 853 'i18n.at:39' \
  "convert from ISO-8859-1 to UTF-8" "               " 112
at_xfail=no
(
  $as_echo "853. $at_setup_line: testing $at_desc ..."
  $at_traceon



      { set +x
$as_echo "$at_srcdir/i18n.at:39: i18n-test supports_encodings 'ISO-8859-1' 'UTF-8'"
at_fn_check_prepare_trace "i18n.at:39"
( $at_check_trace; i18n-test supports_encodings 'ISO-8859-1' 'UTF-8'
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/i18n.at:39"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/i18n.at:39: i18n-test recode 'ISO-8859-1' 'UTF-8' \`printf '\\242'\`"
at_fn_check_prepare_notrace 'a `...` command substitution' "i18n.at:39"
( $at_check_trace; i18n-test recode 'ISO-8859-1' 'UTF-8' `printf '\242'`
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "`printf '\302\242'`
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/i18n.at:39"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_853
#AT_START_854
at_fn_group_banner 854 'i18n.at:41' \
  "convert from UTF-8 to ISO-8859-1" "               " 112
at_xfail=no
(
  $as_echo "854. $at_setup_line: testing $at_desc ..."
  $at_traceon



      { set +x
$as_echo "$at_srcdir/i18n.at:41: i18n-test supports_encodings 'UTF-8' 'ISO-8859-1'"
at_fn_check_prepare_trace "i18n.at:41"
( $at_check_trace; i18n-test supports_encodings 'UTF-8' 'ISO-8859-1'
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/i18n.at:41"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/i18n.at:41: i18n-test recode 'UTF-8' 'ISO-8859-1' \`printf '\\302\\242'\`"
at_fn_check_prepare_notrace 'a `...` command substitution' "i18n.at:41"
( $at_check_trace; i18n-test recode 'UTF-8' 'ISO-8859-1' `printf '\302\242'`
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "`printf '\242'`
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/i18n.at:41"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_854
#AT_START_855
at_fn_group_banner 855 'i18n.at:45' \
  "convert invalid UTF-8 to ISO-8859-1" "            " 112
at_xfail=no
(
  $as_echo "855. $at_setup_line: testing $at_desc ..."
  $at_traceon



      { set +x
$as_echo "$at_srcdir/i18n.at:45: i18n-test supports_encodings 'UTF-8' 'ISO-8859-1'"
at_fn_check_prepare_trace "i18n.at:45"
( $at_check_trace; i18n-test supports_encodings 'UTF-8' 'ISO-8859-1'
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/i18n.at:45"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/i18n.at:45: i18n-test recode 'UTF-8' 'ISO-8859-1' \`printf 'xy\\300z'\`"
at_fn_check_prepare_notrace 'a `...` command substitution' "i18n.at:45"
( $at_check_trace; i18n-test recode 'UTF-8' 'ISO-8859-1' `printf 'xy\300z'`
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "`printf 'xy?z'`
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/i18n.at:45"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_855
#AT_START_856
at_fn_group_banner 856 'i18n.at:48' \
  "convert truncated UTF-8 to ISO-8559-1" "          " 112
at_xfail=no
(
  $as_echo "856. $at_setup_line: testing $at_desc ..."
  $at_traceon



      { set +x
$as_echo "$at_srcdir/i18n.at:48: i18n-test supports_encodings 'UTF-8' 'ISO-8859-1'"
at_fn_check_prepare_trace "i18n.at:48"
( $at_check_trace; i18n-test supports_encodings 'UTF-8' 'ISO-8859-1'
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/i18n.at:48"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/i18n.at:48: i18n-test recode 'UTF-8' 'ISO-8859-1' \`printf 'xy\\302'\`"
at_fn_check_prepare_notrace 'a `...` command substitution' "i18n.at:48"
( $at_check_trace; i18n-test recode 'UTF-8' 'ISO-8859-1' `printf 'xy\302'`
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "`printf 'xy?'`
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/i18n.at:48"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_856
#AT_START_857
at_fn_group_banner 857 'i18n.at:53' \
  "convert dropped final character in windows-1258" "" 112
at_xfail=no
(
  $as_echo "857. $at_setup_line: testing $at_desc ..."
  $at_traceon



      { set +x
$as_echo "$at_srcdir/i18n.at:53: i18n-test supports_encodings 'windows-1258' 'UTF-8'"
at_fn_check_prepare_trace "i18n.at:53"
( $at_check_trace; i18n-test supports_encodings 'windows-1258' 'UTF-8'
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/i18n.at:53"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/i18n.at:53: i18n-test recode 'windows-1258' 'UTF-8' \`printf 'aeiou'\`"
at_fn_check_prepare_notrace 'a `...` command substitution' "i18n.at:53"
( $at_check_trace; i18n-test recode 'windows-1258' 'UTF-8' `printf 'aeiou'`
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "`printf 'aeiou'`
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/i18n.at:53"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_857
#AT_START_858
at_fn_group_banner 858 'i18n.at:58' \
  "convert from ISO-8859-1 to UTF-8 with overflow" " " 112
at_xfail=no
(
  $as_echo "858. $at_setup_line: testing $at_desc ..."
  $at_traceon



      { set +x
$as_echo "$at_srcdir/i18n.at:58: i18n-test supports_encodings 'ISO-8859-1' 'UTF-8'"
at_fn_check_prepare_trace "i18n.at:58"
( $at_check_trace; i18n-test supports_encodings 'ISO-8859-1' 'UTF-8'
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/i18n.at:58"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/i18n.at:58: i18n-test recode 'ISO-8859-1' 'UTF-8' \`printf 'Tsch\\374\\337!'\`"
at_fn_check_prepare_notrace 'a `...` command substitution' "i18n.at:58"
( $at_check_trace; i18n-test recode 'ISO-8859-1' 'UTF-8' `printf 'Tsch\374\337!'`
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "`printf 'Tsch\303\274\303\237!'`
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/i18n.at:58"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_858
#AT_START_859
at_fn_group_banner 859 'i18n.at:62' \
  "convert unknown encoding" "                       " 112
at_xfail=no
(
  $as_echo "859. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/i18n.at:64: i18n-test recode nonexistent1 nonexistent2 asdf"
at_fn_check_prepare_trace "i18n.at:64"
( $at_check_trace; i18n-test recode nonexistent1 nonexistent2 asdf
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo >>"$at_stderr"; $as_echo "Warning: cannot create a converter for \`nonexistent1' to \`nonexistent2': Invalid argument
" | \
  $at_diff - "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "asdf
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/i18n.at:64"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_859
#AT_START_860
at_fn_group_banner 860 'i18n.at:93' \
  "truncate \"abc\" to 6 bytes in UTF-8" "             " 113
at_xfail=no
(
  $as_echo "860. $at_setup_line: testing $at_desc ..."
  $at_traceon



      { set +x
$as_echo "$at_srcdir/i18n.at:93: i18n-test supports_encodings 'UTF-8'"
at_fn_check_prepare_trace "i18n.at:93"
( $at_check_trace; i18n-test supports_encodings 'UTF-8'
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/i18n.at:93"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/i18n.at:93: i18n-test concat \"\`printf 'abc'\`\" \"\`printf ''\`\" 'UTF-8' '6'"
at_fn_check_prepare_notrace 'a `...` command substitution' "i18n.at:93"
( $at_check_trace; i18n-test concat "`printf 'abc'`" "`printf ''`" 'UTF-8' '6'
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "`printf 'abc'`
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/i18n.at:93"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_860
#AT_START_861
at_fn_group_banner 861 'i18n.at:94' \
  "truncate \"\" + \"xyz\" to 6 bytes in UTF-8" "        " 113
at_xfail=no
(
  $as_echo "861. $at_setup_line: testing $at_desc ..."
  $at_traceon



      { set +x
$as_echo "$at_srcdir/i18n.at:94: i18n-test supports_encodings 'UTF-8'"
at_fn_check_prepare_trace "i18n.at:94"
( $at_check_trace; i18n-test supports_encodings 'UTF-8'
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/i18n.at:94"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/i18n.at:94: i18n-test concat \"\`printf ''\`\" \"\`printf 'xyz'\`\" 'UTF-8' '6'"
at_fn_check_prepare_notrace 'a `...` command substitution' "i18n.at:94"
( $at_check_trace; i18n-test concat "`printf ''`" "`printf 'xyz'`" 'UTF-8' '6'
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "`printf 'xyz'`
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/i18n.at:94"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_861
#AT_START_862
at_fn_group_banner 862 'i18n.at:95' \
  "truncate \"\" to 6 bytes in UTF-8" "                " 113
at_xfail=no
(
  $as_echo "862. $at_setup_line: testing $at_desc ..."
  $at_traceon



      { set +x
$as_echo "$at_srcdir/i18n.at:95: i18n-test supports_encodings 'UTF-8'"
at_fn_check_prepare_trace "i18n.at:95"
( $at_check_trace; i18n-test supports_encodings 'UTF-8'
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/i18n.at:95"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/i18n.at:95: i18n-test concat \"\`printf ''\`\" \"\`printf ''\`\" 'UTF-8' '6'"
at_fn_check_prepare_notrace 'a `...` command substitution' "i18n.at:95"
( $at_check_trace; i18n-test concat "`printf ''`" "`printf ''`" 'UTF-8' '6'
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "`printf ''`
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/i18n.at:95"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_862
#AT_START_863
at_fn_group_banner 863 'i18n.at:96' \
  "truncate \"abcdefghij\" to 6 bytes in UTF-8" "      " 113
at_xfail=no
(
  $as_echo "863. $at_setup_line: testing $at_desc ..."
  $at_traceon



      { set +x
$as_echo "$at_srcdir/i18n.at:96: i18n-test supports_encodings 'UTF-8'"
at_fn_check_prepare_trace "i18n.at:96"
( $at_check_trace; i18n-test supports_encodings 'UTF-8'
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/i18n.at:96"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/i18n.at:96: i18n-test concat \"\`printf 'abcdefghij'\`\" \"\`printf ''\`\" 'UTF-8' '6'"
at_fn_check_prepare_notrace 'a `...` command substitution' "i18n.at:96"
( $at_check_trace; i18n-test concat "`printf 'abcdefghij'`" "`printf ''`" 'UTF-8' '6'
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "`printf 'abcdef'`
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/i18n.at:96"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_863
#AT_START_864
at_fn_group_banner 864 'i18n.at:97' \
  "truncate \"\" + \"tuvwxyz\" to 6 bytes in UTF-8" "    " 113
at_xfail=no
(
  $as_echo "864. $at_setup_line: testing $at_desc ..."
  $at_traceon



      { set +x
$as_echo "$at_srcdir/i18n.at:97: i18n-test supports_encodings 'UTF-8'"
at_fn_check_prepare_trace "i18n.at:97"
( $at_check_trace; i18n-test supports_encodings 'UTF-8'
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/i18n.at:97"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/i18n.at:97: i18n-test concat \"\`printf ''\`\" \"\`printf 'tuvwxyz'\`\" 'UTF-8' '6'"
at_fn_check_prepare_notrace 'a `...` command substitution' "i18n.at:97"
( $at_check_trace; i18n-test concat "`printf ''`" "`printf 'tuvwxyz'`" 'UTF-8' '6'
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "`printf 'tuvwxyz'`
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/i18n.at:97"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_864
#AT_START_865
at_fn_group_banner 865 'i18n.at:99' \
  "truncate \"abc\" + \"xyz\" to 6 bytes in UTF-8" "     " 113
at_xfail=no
(
  $as_echo "865. $at_setup_line: testing $at_desc ..."
  $at_traceon



      { set +x
$as_echo "$at_srcdir/i18n.at:99: i18n-test supports_encodings 'UTF-8'"
at_fn_check_prepare_trace "i18n.at:99"
( $at_check_trace; i18n-test supports_encodings 'UTF-8'
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/i18n.at:99"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/i18n.at:99: i18n-test concat \"\`printf 'abc'\`\" \"\`printf 'xyz'\`\" 'UTF-8' '6'"
at_fn_check_prepare_notrace 'a `...` command substitution' "i18n.at:99"
( $at_check_trace; i18n-test concat "`printf 'abc'`" "`printf 'xyz'`" 'UTF-8' '6'
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "`printf 'abcxyz'`
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/i18n.at:99"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_865
#AT_START_866
at_fn_group_banner 866 'i18n.at:100' \
  "truncate \"abcd\" + \"xyz\" to 6 bytes in UTF-8" "    " 113
at_xfail=no
(
  $as_echo "866. $at_setup_line: testing $at_desc ..."
  $at_traceon



      { set +x
$as_echo "$at_srcdir/i18n.at:100: i18n-test supports_encodings 'UTF-8'"
at_fn_check_prepare_trace "i18n.at:100"
( $at_check_trace; i18n-test supports_encodings 'UTF-8'
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/i18n.at:100"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/i18n.at:100: i18n-test concat \"\`printf 'abcd'\`\" \"\`printf 'xyz'\`\" 'UTF-8' '6'"
at_fn_check_prepare_notrace 'a `...` command substitution' "i18n.at:100"
( $at_check_trace; i18n-test concat "`printf 'abcd'`" "`printf 'xyz'`" 'UTF-8' '6'
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "`printf 'abcxyz'`
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/i18n.at:100"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_866
#AT_START_867
at_fn_group_banner 867 'i18n.at:101' \
  "truncate \"abc\" + \"uvwxyz\" to 6 bytes in UTF-8" "  " 113
at_xfail=no
(
  $as_echo "867. $at_setup_line: testing $at_desc ..."
  $at_traceon



      { set +x
$as_echo "$at_srcdir/i18n.at:101: i18n-test supports_encodings 'UTF-8'"
at_fn_check_prepare_trace "i18n.at:101"
( $at_check_trace; i18n-test supports_encodings 'UTF-8'
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/i18n.at:101"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/i18n.at:101: i18n-test concat \"\`printf 'abc'\`\" \"\`printf 'uvwxyz'\`\" 'UTF-8' '6'"
at_fn_check_prepare_notrace 'a `...` command substitution' "i18n.at:101"
( $at_check_trace; i18n-test concat "`printf 'abc'`" "`printf 'uvwxyz'`" 'UTF-8' '6'
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "`printf 'uvwxyz'`
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/i18n.at:101"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_867
#AT_START_868
at_fn_group_banner 868 'i18n.at:105' \
  "truncate \"x\\342\\203\\236\" + \"y\" to 0 bytes in UTF-8" "" 113
at_xfail=no
(
  $as_echo "868. $at_setup_line: testing $at_desc ..."
  $at_traceon



      { set +x
$as_echo "$at_srcdir/i18n.at:105: i18n-test supports_encodings 'UTF-8'"
at_fn_check_prepare_trace "i18n.at:105"
( $at_check_trace; i18n-test supports_encodings 'UTF-8'
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/i18n.at:105"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/i18n.at:105: i18n-test concat \"\`printf 'x\\342\\203\\236'\`\" \"\`printf 'y'\`\" 'UTF-8' '0'"
at_fn_check_prepare_notrace 'a `...` command substitution' "i18n.at:105"
( $at_check_trace; i18n-test concat "`printf 'x\342\203\236'`" "`printf 'y'`" 'UTF-8' '0'
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "`printf 'y'`
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/i18n.at:105"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_868
#AT_START_869
at_fn_group_banner 869 'i18n.at:106' \
  "truncate \"x\\342\\203\\236\" + \"y\" to 1 bytes in UTF-8" "" 113
at_xfail=no
(
  $as_echo "869. $at_setup_line: testing $at_desc ..."
  $at_traceon



      { set +x
$as_echo "$at_srcdir/i18n.at:106: i18n-test supports_encodings 'UTF-8'"
at_fn_check_prepare_trace "i18n.at:106"
( $at_check_trace; i18n-test supports_encodings 'UTF-8'
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/i18n.at:106"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/i18n.at:106: i18n-test concat \"\`printf 'x\\342\\203\\236'\`\" \"\`printf 'y'\`\" 'UTF-8' '1'"
at_fn_check_prepare_notrace 'a `...` command substitution' "i18n.at:106"
( $at_check_trace; i18n-test concat "`printf 'x\342\203\236'`" "`printf 'y'`" 'UTF-8' '1'
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "`printf 'y'`
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/i18n.at:106"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_869
#AT_START_870
at_fn_group_banner 870 'i18n.at:107' \
  "truncate \"x\\342\\203\\236\" + \"y\" to 2 bytes in UTF-8" "" 113
at_xfail=no
(
  $as_echo "870. $at_setup_line: testing $at_desc ..."
  $at_traceon



      { set +x
$as_echo "$at_srcdir/i18n.at:107: i18n-test supports_encodings 'UTF-8'"
at_fn_check_prepare_trace "i18n.at:107"
( $at_check_trace; i18n-test supports_encodings 'UTF-8'
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/i18n.at:107"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/i18n.at:107: i18n-test concat \"\`printf 'x\\342\\203\\236'\`\" \"\`printf 'y'\`\" 'UTF-8' '2'"
at_fn_check_prepare_notrace 'a `...` command substitution' "i18n.at:107"
( $at_check_trace; i18n-test concat "`printf 'x\342\203\236'`" "`printf 'y'`" 'UTF-8' '2'
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "`printf 'y'`
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/i18n.at:107"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_870
#AT_START_871
at_fn_group_banner 871 'i18n.at:108' \
  "truncate \"x\\342\\203\\236\" + \"y\" to 3 bytes in UTF-8" "" 113
at_xfail=no
(
  $as_echo "871. $at_setup_line: testing $at_desc ..."
  $at_traceon



      { set +x
$as_echo "$at_srcdir/i18n.at:108: i18n-test supports_encodings 'UTF-8'"
at_fn_check_prepare_trace "i18n.at:108"
( $at_check_trace; i18n-test supports_encodings 'UTF-8'
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/i18n.at:108"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/i18n.at:108: i18n-test concat \"\`printf 'x\\342\\203\\236'\`\" \"\`printf 'y'\`\" 'UTF-8' '3'"
at_fn_check_prepare_notrace 'a `...` command substitution' "i18n.at:108"
( $at_check_trace; i18n-test concat "`printf 'x\342\203\236'`" "`printf 'y'`" 'UTF-8' '3'
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "`printf 'y'`
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/i18n.at:108"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_871
#AT_START_872
at_fn_group_banner 872 'i18n.at:109' \
  "truncate \"x\\342\\203\\236\" + \"y\" to 4 bytes in UTF-8" "" 113
at_xfail=no
(
  $as_echo "872. $at_setup_line: testing $at_desc ..."
  $at_traceon



      { set +x
$as_echo "$at_srcdir/i18n.at:109: i18n-test supports_encodings 'UTF-8'"
at_fn_check_prepare_trace "i18n.at:109"
( $at_check_trace; i18n-test supports_encodings 'UTF-8'
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/i18n.at:109"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/i18n.at:109: i18n-test concat \"\`printf 'x\\342\\203\\236'\`\" \"\`printf 'y'\`\" 'UTF-8' '4'"
at_fn_check_prepare_notrace 'a `...` command substitution' "i18n.at:109"
( $at_check_trace; i18n-test concat "`printf 'x\342\203\236'`" "`printf 'y'`" 'UTF-8' '4'
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "`printf 'y'`
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/i18n.at:109"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_872
#AT_START_873
at_fn_group_banner 873 'i18n.at:110' \
  "truncate \"x\\342\\203\\236\" + \"y\" to 5 bytes in UTF-8" "" 113
at_xfail=no
(
  $as_echo "873. $at_setup_line: testing $at_desc ..."
  $at_traceon



      { set +x
$as_echo "$at_srcdir/i18n.at:110: i18n-test supports_encodings 'UTF-8'"
at_fn_check_prepare_trace "i18n.at:110"
( $at_check_trace; i18n-test supports_encodings 'UTF-8'
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/i18n.at:110"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/i18n.at:110: i18n-test concat \"\`printf 'x\\342\\203\\236'\`\" \"\`printf 'y'\`\" 'UTF-8' '5'"
at_fn_check_prepare_notrace 'a `...` command substitution' "i18n.at:110"
( $at_check_trace; i18n-test concat "`printf 'x\342\203\236'`" "`printf 'y'`" 'UTF-8' '5'
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "`printf 'x\342\203\236y'`
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/i18n.at:110"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_873
#AT_START_874
at_fn_group_banner 874 'i18n.at:113' \
  "truncate \"\\303\\251\\303\\250\\303\\244\" + \"xyz\" to 0 bytes in ISO-8859-1" "" 113
at_xfail=no
(
  $as_echo "874. $at_setup_line: testing $at_desc ..."
  $at_traceon



      { set +x
$as_echo "$at_srcdir/i18n.at:113: i18n-test supports_encodings 'ISO-8859-1'"
at_fn_check_prepare_trace "i18n.at:113"
( $at_check_trace; i18n-test supports_encodings 'ISO-8859-1'
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/i18n.at:113"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/i18n.at:113: i18n-test concat \"\`printf '\\303\\251\\303\\250\\303\\244'\`\" \"\`printf 'xyz'\`\" 'ISO-8859-1' '0'"
at_fn_check_prepare_notrace 'a `...` command substitution' "i18n.at:113"
( $at_check_trace; i18n-test concat "`printf '\303\251\303\250\303\244'`" "`printf 'xyz'`" 'ISO-8859-1' '0'
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "`printf 'xyz'`
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/i18n.at:113"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_874
#AT_START_875
at_fn_group_banner 875 'i18n.at:114' \
  "truncate \"\\303\\251\\303\\250\\303\\244\" + \"xyz\" to 1 bytes in ISO-8859-1" "" 113
at_xfail=no
(
  $as_echo "875. $at_setup_line: testing $at_desc ..."
  $at_traceon



      { set +x
$as_echo "$at_srcdir/i18n.at:114: i18n-test supports_encodings 'ISO-8859-1'"
at_fn_check_prepare_trace "i18n.at:114"
( $at_check_trace; i18n-test supports_encodings 'ISO-8859-1'
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/i18n.at:114"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/i18n.at:114: i18n-test concat \"\`printf '\\303\\251\\303\\250\\303\\244'\`\" \"\`printf 'xyz'\`\" 'ISO-8859-1' '1'"
at_fn_check_prepare_notrace 'a `...` command substitution' "i18n.at:114"
( $at_check_trace; i18n-test concat "`printf '\303\251\303\250\303\244'`" "`printf 'xyz'`" 'ISO-8859-1' '1'
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "`printf 'xyz'`
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/i18n.at:114"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_875
#AT_START_876
at_fn_group_banner 876 'i18n.at:115' \
  "truncate \"\\303\\251\\303\\250\\303\\244\" + \"xyz\" to 2 bytes in ISO-8859-1" "" 113
at_xfail=no
(
  $as_echo "876. $at_setup_line: testing $at_desc ..."
  $at_traceon



      { set +x
$as_echo "$at_srcdir/i18n.at:115: i18n-test supports_encodings 'ISO-8859-1'"
at_fn_check_prepare_trace "i18n.at:115"
( $at_check_trace; i18n-test supports_encodings 'ISO-8859-1'
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/i18n.at:115"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/i18n.at:115: i18n-test concat \"\`printf '\\303\\251\\303\\250\\303\\244'\`\" \"\`printf 'xyz'\`\" 'ISO-8859-1' '2'"
at_fn_check_prepare_notrace 'a `...` command substitution' "i18n.at:115"
( $at_check_trace; i18n-test concat "`printf '\303\251\303\250\303\244'`" "`printf 'xyz'`" 'ISO-8859-1' '2'
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "`printf 'xyz'`
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/i18n.at:115"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_876
#AT_START_877
at_fn_group_banner 877 'i18n.at:116' \
  "truncate \"\\303\\251\\303\\250\\303\\244\" + \"xyz\" to 3 bytes in ISO-8859-1" "" 113
at_xfail=no
(
  $as_echo "877. $at_setup_line: testing $at_desc ..."
  $at_traceon



      { set +x
$as_echo "$at_srcdir/i18n.at:116: i18n-test supports_encodings 'ISO-8859-1'"
at_fn_check_prepare_trace "i18n.at:116"
( $at_check_trace; i18n-test supports_encodings 'ISO-8859-1'
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/i18n.at:116"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/i18n.at:116: i18n-test concat \"\`printf '\\303\\251\\303\\250\\303\\244'\`\" \"\`printf 'xyz'\`\" 'ISO-8859-1' '3'"
at_fn_check_prepare_notrace 'a `...` command substitution' "i18n.at:116"
( $at_check_trace; i18n-test concat "`printf '\303\251\303\250\303\244'`" "`printf 'xyz'`" 'ISO-8859-1' '3'
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "`printf 'xyz'`
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/i18n.at:116"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_877
#AT_START_878
at_fn_group_banner 878 'i18n.at:117' \
  "truncate \"\\303\\251\\303\\250\\303\\244\" + \"xyz\" to 4 bytes in ISO-8859-1" "" 113
at_xfail=no
(
  $as_echo "878. $at_setup_line: testing $at_desc ..."
  $at_traceon



      { set +x
$as_echo "$at_srcdir/i18n.at:117: i18n-test supports_encodings 'ISO-8859-1'"
at_fn_check_prepare_trace "i18n.at:117"
( $at_check_trace; i18n-test supports_encodings 'ISO-8859-1'
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/i18n.at:117"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/i18n.at:117: i18n-test concat \"\`printf '\\303\\251\\303\\250\\303\\244'\`\" \"\`printf 'xyz'\`\" 'ISO-8859-1' '4'"
at_fn_check_prepare_notrace 'a `...` command substitution' "i18n.at:117"
( $at_check_trace; i18n-test concat "`printf '\303\251\303\250\303\244'`" "`printf 'xyz'`" 'ISO-8859-1' '4'
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "`printf '\303\251xyz'`
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/i18n.at:117"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_878
#AT_START_879
at_fn_group_banner 879 'i18n.at:119' \
  "truncate \"\\303\\251\\303\\250\\303\\244\" + \"xyz\" to 5 bytes in ISO-8859-1" "" 113
at_xfail=no
(
  $as_echo "879. $at_setup_line: testing $at_desc ..."
  $at_traceon



      { set +x
$as_echo "$at_srcdir/i18n.at:119: i18n-test supports_encodings 'ISO-8859-1'"
at_fn_check_prepare_trace "i18n.at:119"
( $at_check_trace; i18n-test supports_encodings 'ISO-8859-1'
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/i18n.at:119"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/i18n.at:119: i18n-test concat \"\`printf '\\303\\251\\303\\250\\303\\244'\`\" \"\`printf 'xyz'\`\" 'ISO-8859-1' '5'"
at_fn_check_prepare_notrace 'a `...` command substitution' "i18n.at:119"
( $at_check_trace; i18n-test concat "`printf '\303\251\303\250\303\244'`" "`printf 'xyz'`" 'ISO-8859-1' '5'
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "`printf '\303\251\303\250xyz'`
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/i18n.at:119"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_879
#AT_START_880
at_fn_group_banner 880 'i18n.at:121' \
  "truncate \"\\303\\251\\303\\250\\303\\244\" + \"xyz\" to 6 bytes in ISO-8859-1" "" 113
at_xfail=no
(
  $as_echo "880. $at_setup_line: testing $at_desc ..."
  $at_traceon



      { set +x
$as_echo "$at_srcdir/i18n.at:121: i18n-test supports_encodings 'ISO-8859-1'"
at_fn_check_prepare_trace "i18n.at:121"
( $at_check_trace; i18n-test supports_encodings 'ISO-8859-1'
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/i18n.at:121"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/i18n.at:121: i18n-test concat \"\`printf '\\303\\251\\303\\250\\303\\244'\`\" \"\`printf 'xyz'\`\" 'ISO-8859-1' '6'"
at_fn_check_prepare_notrace 'a `...` command substitution' "i18n.at:121"
( $at_check_trace; i18n-test concat "`printf '\303\251\303\250\303\244'`" "`printf 'xyz'`" 'ISO-8859-1' '6'
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "`printf '\303\251\303\250\303\244xyz'`
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/i18n.at:121"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_880
#AT_START_881
at_fn_group_banner 881 'line-reader.at:19' \
  "read ASCII" "                                     " 114
at_xfail=no
(
  $as_echo "881. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/line-reader.at:21: i18n-test supports_encodings ASCII"
at_fn_check_prepare_trace "line-reader.at:21"
( $at_check_trace; i18n-test supports_encodings ASCII
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/line-reader.at:21"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/line-reader.at:22: echo string | line-reader-test read - ASCII"
at_fn_check_prepare_notrace 'a shell pipeline' "line-reader.at:22"
( $at_check_trace; echo string | line-reader-test read - ASCII
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "encoded in ASCII
\"string\"
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/line-reader.at:22"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_881
#AT_START_882
at_fn_group_banner 882 'line-reader.at:28' \
  "read UTF-8" "                                     " 114
at_xfail=no
(
  $as_echo "882. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/line-reader.at:30: printf '\\346\\227\\245\\346\\234\\254\\350\\252\\236\\n' | line-reader-test read - UTF-8"
at_fn_check_prepare_notrace 'a shell pipeline' "line-reader.at:30"
( $at_check_trace; printf '\346\227\245\346\234\254\350\252\236\n' | line-reader-test read - UTF-8
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "encoded in UTF-8
\"日本語\"
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/line-reader.at:30"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_882
#AT_START_883
at_fn_group_banner 883 'line-reader.at:36' \
  "read EUC-JP" "                                    " 114
at_xfail=no
(
  $as_echo "883. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/line-reader.at:38: i18n-test supports_encodings EUC-JP"
at_fn_check_prepare_trace "line-reader.at:38"
( $at_check_trace; i18n-test supports_encodings EUC-JP
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/line-reader.at:38"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/line-reader.at:39: printf '\\244\\241 \\244\\242 \\244\\243 \\244\\244 \\244\\245 \\244\\246 \\244\\247 \\244\\250 \\244\\251 \\244\\252\\n' | line-reader-test read - EUC-JP"
at_fn_check_prepare_notrace 'a shell pipeline' "line-reader.at:39"
( $at_check_trace; printf '\244\241 \244\242 \244\243 \244\244 \244\245 \244\246 \244\247 \244\250 \244\251 \244\252\n' | line-reader-test read - EUC-JP
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "encoded in EUC-JP
\"ぁ あ ぃ い ぅ う ぇ え ぉ お\"
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/line-reader.at:39"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_883
#AT_START_884
at_fn_group_banner 884 'line-reader.at:45' \
  "read ASCII as Auto" "                             " 114
at_xfail=no
(
  $as_echo "884. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/line-reader.at:47: echo string | line-reader-test read - Auto"
at_fn_check_prepare_notrace 'a shell pipeline' "line-reader.at:47"
( $at_check_trace; echo string | line-reader-test read - Auto
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "encoded in ASCII (auto)
\"string\"
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/line-reader.at:47"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_884
#AT_START_885
at_fn_group_banner 885 'line-reader.at:53' \
  "read UTF-8 as Auto" "                             " 114
at_xfail=no
(
  $as_echo "885. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/line-reader.at:55: printf 'entr\\303\\251e\\n' | line-reader-test read - Auto"
at_fn_check_prepare_notrace 'a shell pipeline' "line-reader.at:55"
( $at_check_trace; printf 'entr\303\251e\n' | line-reader-test read - Auto
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "encoded in ASCII (auto)
encoded in UTF-8
\"entrée\"
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/line-reader.at:55"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_885
#AT_START_886
at_fn_group_banner 886 'line-reader.at:62' \
  "read ISO-8859-1 as Auto,ISO-8859-1" "             " 114
at_xfail=no
(
  $as_echo "886. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/line-reader.at:64: i18n-test supports_encodings ISO-8859-1"
at_fn_check_prepare_trace "line-reader.at:64"
( $at_check_trace; i18n-test supports_encodings ISO-8859-1
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/line-reader.at:64"
$at_failed && at_fn_log_failure
$at_traceon; }

buffer_size=`line-reader-test buffer-size`
($PERL -e "print 'x' x ($buffer_size - 2)"
 printf '\none line\ntwo lines\nentr\351e\nfour lines\n') > input
(printf 'encoded in ASCII (auto)\n\"'
 $PERL -e "print 'x' x ($buffer_size - 2)"
 printf '\"\n"one line"\n"two lines"\nencoded in ISO-8859-1\n"entr\303\251e"\n"four lines"\n') > expout
{ set +x
$as_echo "$at_srcdir/line-reader.at:71: line-reader-test read input Auto,ISO-8859-1"
at_fn_check_prepare_trace "line-reader.at:71"
( $at_check_trace; line-reader-test read input Auto,ISO-8859-1
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/line-reader.at:71"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_886
#AT_START_887
at_fn_group_banner 887 'line-reader.at:74' \
  "read UTF-16BE as Auto,UTF-16BE" "                 " 114
at_xfail=no
(
  $as_echo "887. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/line-reader.at:76: i18n-test supports_encodings UTF-16BE"
at_fn_check_prepare_trace "line-reader.at:76"
( $at_check_trace; i18n-test supports_encodings UTF-16BE
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/line-reader.at:76"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/line-reader.at:77: printf '\\0e\\0n\\0t\\0r\\0\\351\\0e\\0\\n' | line-reader-test read - Auto,UTF-16BE"
at_fn_check_prepare_notrace 'a shell pipeline' "line-reader.at:77"
( $at_check_trace; printf '\0e\0n\0t\0r\0\351\0e\0\n' | line-reader-test read - Auto,UTF-16BE
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "encoded in UTF-16BE
\"entrée\"
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/line-reader.at:77"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_887
#AT_START_888
at_fn_group_banner 888 'line-reader.at:83' \
  "read EUC-JP as Auto,EUC-JP" "                     " 114
at_xfail=no
(
  $as_echo "888. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/line-reader.at:85: i18n-test supports_encodings EUC-JP"
at_fn_check_prepare_trace "line-reader.at:85"
( $at_check_trace; i18n-test supports_encodings EUC-JP
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/line-reader.at:85"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/line-reader.at:86: printf 'entr\\217\\253\\261e\\n' | line-reader-test read - Auto,EUC-JP"
at_fn_check_prepare_notrace 'a shell pipeline' "line-reader.at:86"
( $at_check_trace; printf 'entr\217\253\261e\n' | line-reader-test read - Auto,EUC-JP
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "encoded in EUC-JP
\"entrée\"
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/line-reader.at:86"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_888
#AT_START_889
at_fn_group_banner 889 'll.at:24' \
  "ll -- push-pop" "                                 " 115
at_xfail=no
(
  $as_echo "889. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/ll.at:24: ll-test push-pop"
at_fn_check_prepare_trace "ll.at:24"
( $at_check_trace; ll-test push-pop
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/ll.at:24"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_889
#AT_START_890
at_fn_group_banner 890 'll.at:25' \
  "ll -- insert-remove" "                            " 115
at_xfail=no
(
  $as_echo "890. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/ll.at:25: ll-test insert-remove"
at_fn_check_prepare_trace "ll.at:25"
( $at_check_trace; ll-test insert-remove
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/ll.at:25"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_890
#AT_START_891
at_fn_group_banner 891 'll.at:26' \
  "ll -- swap" "                                     " 115
at_xfail=no
(
  $as_echo "891. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/ll.at:26: ll-test swap"
at_fn_check_prepare_trace "ll.at:26"
( $at_check_trace; ll-test swap
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/ll.at:26"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_891
#AT_START_892
at_fn_group_banner 892 'll.at:27' \
  "ll -- swap-range" "                               " 115
at_xfail=no
(
  $as_echo "892. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/ll.at:27: ll-test swap-range"
at_fn_check_prepare_trace "ll.at:27"
( $at_check_trace; ll-test swap-range
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/ll.at:27"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_892
#AT_START_893
at_fn_group_banner 893 'll.at:28' \
  "ll -- remove-range" "                             " 115
at_xfail=no
(
  $as_echo "893. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/ll.at:28: ll-test remove-range"
at_fn_check_prepare_trace "ll.at:28"
( $at_check_trace; ll-test remove-range
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/ll.at:28"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_893
#AT_START_894
at_fn_group_banner 894 'll.at:29' \
  "ll -- remove-equal" "                             " 115
at_xfail=no
(
  $as_echo "894. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/ll.at:29: ll-test remove-equal"
at_fn_check_prepare_trace "ll.at:29"
( $at_check_trace; ll-test remove-equal
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/ll.at:29"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_894
#AT_START_895
at_fn_group_banner 895 'll.at:30' \
  "ll -- remove-if" "                                " 115
at_xfail=no
(
  $as_echo "895. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/ll.at:30: ll-test remove-if"
at_fn_check_prepare_trace "ll.at:30"
( $at_check_trace; ll-test remove-if
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/ll.at:30"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_895
#AT_START_896
at_fn_group_banner 896 'll.at:31' \
  "ll -- moved" "                                    " 115
at_xfail=no
(
  $as_echo "896. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/ll.at:31: ll-test moved"
at_fn_check_prepare_trace "ll.at:31"
( $at_check_trace; ll-test moved
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/ll.at:31"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_896
#AT_START_897
at_fn_group_banner 897 'll.at:32' \
  "ll -- find-equal" "                               " 115
at_xfail=no
(
  $as_echo "897. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/ll.at:32: ll-test find-equal"
at_fn_check_prepare_trace "ll.at:32"
( $at_check_trace; ll-test find-equal
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/ll.at:32"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_897
#AT_START_898
at_fn_group_banner 898 'll.at:33' \
  "ll -- find-if" "                                  " 115
at_xfail=no
(
  $as_echo "898. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/ll.at:33: ll-test find-if"
at_fn_check_prepare_trace "ll.at:33"
( $at_check_trace; ll-test find-if
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/ll.at:33"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_898
#AT_START_899
at_fn_group_banner 899 'll.at:34' \
  "ll -- find-adjacent-equal" "                      " 115
at_xfail=no
(
  $as_echo "899. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/ll.at:34: ll-test find-adjacent-equal"
at_fn_check_prepare_trace "ll.at:34"
( $at_check_trace; ll-test find-adjacent-equal
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/ll.at:34"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_899
#AT_START_900
at_fn_group_banner 900 'll.at:35' \
  "ll -- count-range" "                              " 115
at_xfail=no
(
  $as_echo "900. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/ll.at:35: ll-test count-range"
at_fn_check_prepare_trace "ll.at:35"
( $at_check_trace; ll-test count-range
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/ll.at:35"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_900
#AT_START_901
at_fn_group_banner 901 'll.at:36' \
  "ll -- count-equal" "                              " 115
at_xfail=no
(
  $as_echo "901. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/ll.at:36: ll-test count-equal"
at_fn_check_prepare_trace "ll.at:36"
( $at_check_trace; ll-test count-equal
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/ll.at:36"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_901
#AT_START_902
at_fn_group_banner 902 'll.at:37' \
  "ll -- count-if" "                                 " 115
at_xfail=no
(
  $as_echo "902. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/ll.at:37: ll-test count-if"
at_fn_check_prepare_trace "ll.at:37"
( $at_check_trace; ll-test count-if
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/ll.at:37"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_902
#AT_START_903
at_fn_group_banner 903 'll.at:38' \
  "ll -- min-max" "                                  " 115
at_xfail=no
(
  $as_echo "903. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/ll.at:38: ll-test min-max"
at_fn_check_prepare_trace "ll.at:38"
( $at_check_trace; ll-test min-max
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/ll.at:38"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_903
#AT_START_904
at_fn_group_banner 904 'll.at:39' \
  "ll -- lexicographical-compare-3way" "             " 115
at_xfail=no
(
  $as_echo "904. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/ll.at:39: ll-test lexicographical-compare-3way"
at_fn_check_prepare_trace "ll.at:39"
( $at_check_trace; ll-test lexicographical-compare-3way
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/ll.at:39"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_904
#AT_START_905
at_fn_group_banner 905 'll.at:40' \
  "ll -- apply" "                                    " 115
at_xfail=no
(
  $as_echo "905. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/ll.at:40: ll-test apply"
at_fn_check_prepare_trace "ll.at:40"
( $at_check_trace; ll-test apply
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/ll.at:40"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_905
#AT_START_906
at_fn_group_banner 906 'll.at:41' \
  "ll -- reverse" "                                  " 115
at_xfail=no
(
  $as_echo "906. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/ll.at:41: ll-test reverse"
at_fn_check_prepare_trace "ll.at:41"
( $at_check_trace; ll-test reverse
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/ll.at:41"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_906
#AT_START_907
at_fn_group_banner 907 'll.at:42' \
  "ll -- permutations-no-dups" "                     " 115
at_xfail=no
(
  $as_echo "907. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/ll.at:42: ll-test permutations-no-dups"
at_fn_check_prepare_trace "ll.at:42"
( $at_check_trace; ll-test permutations-no-dups
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/ll.at:42"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_907
#AT_START_908
at_fn_group_banner 908 'll.at:43' \
  "ll -- permutations-with-dups" "                   " 115
at_xfail=no
(
  $as_echo "908. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/ll.at:43: ll-test permutations-with-dups"
at_fn_check_prepare_trace "ll.at:43"
( $at_check_trace; ll-test permutations-with-dups
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/ll.at:43"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_908
#AT_START_909
at_fn_group_banner 909 'll.at:44' \
  "ll -- merge-no-dups" "                            " 115
at_xfail=no
(
  $as_echo "909. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/ll.at:44: ll-test merge-no-dups"
at_fn_check_prepare_trace "ll.at:44"
( $at_check_trace; ll-test merge-no-dups
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/ll.at:44"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_909
#AT_START_910
at_fn_group_banner 910 'll.at:45' \
  "ll -- merge-with-dups" "                          " 115
at_xfail=no
(
  $as_echo "910. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/ll.at:45: ll-test merge-with-dups"
at_fn_check_prepare_trace "ll.at:45"
( $at_check_trace; ll-test merge-with-dups
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/ll.at:45"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_910
#AT_START_911
at_fn_group_banner 911 'll.at:46' \
  "ll -- sort-exhaustive" "                          " 115
at_xfail=no
(
  $as_echo "911. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/ll.at:46: ll-test sort-exhaustive"
at_fn_check_prepare_trace "ll.at:46"
( $at_check_trace; ll-test sort-exhaustive
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/ll.at:46"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_911
#AT_START_912
at_fn_group_banner 912 'll.at:47' \
  "ll -- sort-stable" "                              " 115
at_xfail=no
(
  $as_echo "912. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/ll.at:47: ll-test sort-stable"
at_fn_check_prepare_trace "ll.at:47"
( $at_check_trace; ll-test sort-stable
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/ll.at:47"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_912
#AT_START_913
at_fn_group_banner 913 'll.at:48' \
  "ll -- sort-subset" "                              " 115
at_xfail=no
(
  $as_echo "913. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/ll.at:48: ll-test sort-subset"
at_fn_check_prepare_trace "ll.at:48"
( $at_check_trace; ll-test sort-subset
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/ll.at:48"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_913
#AT_START_914
at_fn_group_banner 914 'll.at:49' \
  "ll -- sort-big" "                                 " 115
at_xfail=no
(
  $as_echo "914. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/ll.at:49: ll-test sort-big"
at_fn_check_prepare_trace "ll.at:49"
( $at_check_trace; ll-test sort-big
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/ll.at:49"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_914
#AT_START_915
at_fn_group_banner 915 'll.at:50' \
  "ll -- unique" "                                   " 115
at_xfail=no
(
  $as_echo "915. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/ll.at:50: ll-test unique"
at_fn_check_prepare_trace "ll.at:50"
( $at_check_trace; ll-test unique
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/ll.at:50"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_915
#AT_START_916
at_fn_group_banner 916 'll.at:51' \
  "ll -- sort-unique" "                              " 115
at_xfail=no
(
  $as_echo "916. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/ll.at:51: ll-test sort-unique"
at_fn_check_prepare_trace "ll.at:51"
( $at_check_trace; ll-test sort-unique
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/ll.at:51"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_916
#AT_START_917
at_fn_group_banner 917 'll.at:52' \
  "ll -- insert-ordered" "                           " 115
at_xfail=no
(
  $as_echo "917. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/ll.at:52: ll-test insert-ordered"
at_fn_check_prepare_trace "ll.at:52"
( $at_check_trace; ll-test insert-ordered
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/ll.at:52"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_917
#AT_START_918
at_fn_group_banner 918 'll.at:53' \
  "ll -- partition" "                                " 115
at_xfail=no
(
  $as_echo "918. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/ll.at:53: ll-test partition"
at_fn_check_prepare_trace "ll.at:53"
( $at_check_trace; ll-test partition
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/ll.at:53"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_918
#AT_START_919
at_fn_group_banner 919 'llx.at:24' \
  "llx -- push-pop" "                                " 116
at_xfail=no
(
  $as_echo "919. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/llx.at:24: llx-test push-pop"
at_fn_check_prepare_trace "llx.at:24"
( $at_check_trace; llx-test push-pop
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/llx.at:24"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_919
#AT_START_920
at_fn_group_banner 920 'llx.at:25' \
  "llx -- insert-remove" "                           " 116
at_xfail=no
(
  $as_echo "920. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/llx.at:25: llx-test insert-remove"
at_fn_check_prepare_trace "llx.at:25"
( $at_check_trace; llx-test insert-remove
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/llx.at:25"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_920
#AT_START_921
at_fn_group_banner 921 'llx.at:26' \
  "llx -- swap" "                                    " 116
at_xfail=no
(
  $as_echo "921. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/llx.at:26: llx-test swap"
at_fn_check_prepare_trace "llx.at:26"
( $at_check_trace; llx-test swap
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/llx.at:26"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_921
#AT_START_922
at_fn_group_banner 922 'llx.at:27' \
  "llx -- swap-range" "                              " 116
at_xfail=no
(
  $as_echo "922. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/llx.at:27: llx-test swap-range"
at_fn_check_prepare_trace "llx.at:27"
( $at_check_trace; llx-test swap-range
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/llx.at:27"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_922
#AT_START_923
at_fn_group_banner 923 'llx.at:28' \
  "llx -- remove-range" "                            " 116
at_xfail=no
(
  $as_echo "923. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/llx.at:28: llx-test remove-range"
at_fn_check_prepare_trace "llx.at:28"
( $at_check_trace; llx-test remove-range
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/llx.at:28"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_923
#AT_START_924
at_fn_group_banner 924 'llx.at:29' \
  "llx -- remove-equal" "                            " 116
at_xfail=no
(
  $as_echo "924. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/llx.at:29: llx-test remove-equal"
at_fn_check_prepare_trace "llx.at:29"
( $at_check_trace; llx-test remove-equal
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/llx.at:29"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_924
#AT_START_925
at_fn_group_banner 925 'llx.at:30' \
  "llx -- remove-if" "                               " 116
at_xfail=no
(
  $as_echo "925. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/llx.at:30: llx-test remove-if"
at_fn_check_prepare_trace "llx.at:30"
( $at_check_trace; llx-test remove-if
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/llx.at:30"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_925
#AT_START_926
at_fn_group_banner 926 'llx.at:31' \
  "llx -- find-equal" "                              " 116
at_xfail=no
(
  $as_echo "926. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/llx.at:31: llx-test find-equal"
at_fn_check_prepare_trace "llx.at:31"
( $at_check_trace; llx-test find-equal
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/llx.at:31"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_926
#AT_START_927
at_fn_group_banner 927 'llx.at:32' \
  "llx -- find" "                                    " 116
at_xfail=no
(
  $as_echo "927. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/llx.at:32: llx-test find"
at_fn_check_prepare_trace "llx.at:32"
( $at_check_trace; llx-test find
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/llx.at:32"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_927
#AT_START_928
at_fn_group_banner 928 'llx.at:33' \
  "llx -- find-if" "                                 " 116
at_xfail=no
(
  $as_echo "928. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/llx.at:33: llx-test find-if"
at_fn_check_prepare_trace "llx.at:33"
( $at_check_trace; llx-test find-if
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/llx.at:33"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_928
#AT_START_929
at_fn_group_banner 929 'llx.at:34' \
  "llx -- find-adjacent-equal" "                     " 116
at_xfail=no
(
  $as_echo "929. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/llx.at:34: llx-test find-adjacent-equal"
at_fn_check_prepare_trace "llx.at:34"
( $at_check_trace; llx-test find-adjacent-equal
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/llx.at:34"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_929
#AT_START_930
at_fn_group_banner 930 'llx.at:35' \
  "llx -- count-range" "                             " 116
at_xfail=no
(
  $as_echo "930. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/llx.at:35: llx-test count-range"
at_fn_check_prepare_trace "llx.at:35"
( $at_check_trace; llx-test count-range
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/llx.at:35"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_930
#AT_START_931
at_fn_group_banner 931 'llx.at:36' \
  "llx -- count-equal" "                             " 116
at_xfail=no
(
  $as_echo "931. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/llx.at:36: llx-test count-equal"
at_fn_check_prepare_trace "llx.at:36"
( $at_check_trace; llx-test count-equal
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/llx.at:36"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_931
#AT_START_932
at_fn_group_banner 932 'llx.at:37' \
  "llx -- count-if" "                                " 116
at_xfail=no
(
  $as_echo "932. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/llx.at:37: llx-test count-if"
at_fn_check_prepare_trace "llx.at:37"
( $at_check_trace; llx-test count-if
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/llx.at:37"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_932
#AT_START_933
at_fn_group_banner 933 'llx.at:38' \
  "llx -- min-max" "                                 " 116
at_xfail=no
(
  $as_echo "933. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/llx.at:38: llx-test min-max"
at_fn_check_prepare_trace "llx.at:38"
( $at_check_trace; llx-test min-max
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/llx.at:38"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_933
#AT_START_934
at_fn_group_banner 934 'llx.at:39' \
  "llx -- lexicographical-compare-3way" "            " 116
at_xfail=no
(
  $as_echo "934. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/llx.at:39: llx-test lexicographical-compare-3way"
at_fn_check_prepare_trace "llx.at:39"
( $at_check_trace; llx-test lexicographical-compare-3way
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/llx.at:39"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_934
#AT_START_935
at_fn_group_banner 935 'llx.at:40' \
  "llx -- apply" "                                   " 116
at_xfail=no
(
  $as_echo "935. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/llx.at:40: llx-test apply"
at_fn_check_prepare_trace "llx.at:40"
( $at_check_trace; llx-test apply
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/llx.at:40"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_935
#AT_START_936
at_fn_group_banner 936 'llx.at:41' \
  "llx -- destroy" "                                 " 116
at_xfail=no
(
  $as_echo "936. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/llx.at:41: llx-test destroy"
at_fn_check_prepare_trace "llx.at:41"
( $at_check_trace; llx-test destroy
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/llx.at:41"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_936
#AT_START_937
at_fn_group_banner 937 'llx.at:42' \
  "llx -- reverse" "                                 " 116
at_xfail=no
(
  $as_echo "937. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/llx.at:42: llx-test reverse"
at_fn_check_prepare_trace "llx.at:42"
( $at_check_trace; llx-test reverse
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/llx.at:42"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_937
#AT_START_938
at_fn_group_banner 938 'llx.at:43' \
  "llx -- permutations-no-dups" "                    " 116
at_xfail=no
(
  $as_echo "938. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/llx.at:43: llx-test permutations-no-dups"
at_fn_check_prepare_trace "llx.at:43"
( $at_check_trace; llx-test permutations-no-dups
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/llx.at:43"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_938
#AT_START_939
at_fn_group_banner 939 'llx.at:44' \
  "llx -- permutations-with-dups" "                  " 116
at_xfail=no
(
  $as_echo "939. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/llx.at:44: llx-test permutations-with-dups"
at_fn_check_prepare_trace "llx.at:44"
( $at_check_trace; llx-test permutations-with-dups
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/llx.at:44"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_939
#AT_START_940
at_fn_group_banner 940 'llx.at:45' \
  "llx -- merge-no-dups" "                           " 116
at_xfail=no
(
  $as_echo "940. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/llx.at:45: llx-test merge-no-dups"
at_fn_check_prepare_trace "llx.at:45"
( $at_check_trace; llx-test merge-no-dups
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/llx.at:45"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_940
#AT_START_941
at_fn_group_banner 941 'llx.at:46' \
  "llx -- merge-with-dups" "                         " 116
at_xfail=no
(
  $as_echo "941. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/llx.at:46: llx-test merge-with-dups"
at_fn_check_prepare_trace "llx.at:46"
( $at_check_trace; llx-test merge-with-dups
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/llx.at:46"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_941
#AT_START_942
at_fn_group_banner 942 'llx.at:47' \
  "llx -- sort-exhaustive" "                         " 116
at_xfail=no
(
  $as_echo "942. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/llx.at:47: llx-test sort-exhaustive"
at_fn_check_prepare_trace "llx.at:47"
( $at_check_trace; llx-test sort-exhaustive
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/llx.at:47"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_942
#AT_START_943
at_fn_group_banner 943 'llx.at:48' \
  "llx -- sort-stable" "                             " 116
at_xfail=no
(
  $as_echo "943. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/llx.at:48: llx-test sort-stable"
at_fn_check_prepare_trace "llx.at:48"
( $at_check_trace; llx-test sort-stable
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/llx.at:48"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_943
#AT_START_944
at_fn_group_banner 944 'llx.at:49' \
  "llx -- sort-subset" "                             " 116
at_xfail=no
(
  $as_echo "944. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/llx.at:49: llx-test sort-subset"
at_fn_check_prepare_trace "llx.at:49"
( $at_check_trace; llx-test sort-subset
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/llx.at:49"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_944
#AT_START_945
at_fn_group_banner 945 'llx.at:50' \
  "llx -- sort-big" "                                " 116
at_xfail=no
(
  $as_echo "945. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/llx.at:50: llx-test sort-big"
at_fn_check_prepare_trace "llx.at:50"
( $at_check_trace; llx-test sort-big
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/llx.at:50"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_945
#AT_START_946
at_fn_group_banner 946 'llx.at:51' \
  "llx -- unique" "                                  " 116
at_xfail=no
(
  $as_echo "946. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/llx.at:51: llx-test unique"
at_fn_check_prepare_trace "llx.at:51"
( $at_check_trace; llx-test unique
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/llx.at:51"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_946
#AT_START_947
at_fn_group_banner 947 'llx.at:52' \
  "llx -- sort-unique" "                             " 116
at_xfail=no
(
  $as_echo "947. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/llx.at:52: llx-test sort-unique"
at_fn_check_prepare_trace "llx.at:52"
( $at_check_trace; llx-test sort-unique
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/llx.at:52"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_947
#AT_START_948
at_fn_group_banner 948 'llx.at:53' \
  "llx -- insert-ordered" "                          " 116
at_xfail=no
(
  $as_echo "948. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/llx.at:53: llx-test insert-ordered"
at_fn_check_prepare_trace "llx.at:53"
( $at_check_trace; llx-test insert-ordered
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/llx.at:53"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_948
#AT_START_949
at_fn_group_banner 949 'llx.at:54' \
  "llx -- partition" "                               " 116
at_xfail=no
(
  $as_echo "949. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/llx.at:54: llx-test partition"
at_fn_check_prepare_trace "llx.at:54"
( $at_check_trace; llx-test partition
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/llx.at:54"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_949
#AT_START_950
at_fn_group_banner 950 'llx.at:55' \
  "llx -- allocation-failure" "                      " 116
at_xfail=no
(
  $as_echo "950. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/llx.at:55: llx-test allocation-failure"
at_fn_check_prepare_trace "llx.at:55"
( $at_check_trace; llx-test allocation-failure
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/llx.at:55"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_950
#AT_START_951
at_fn_group_banner 951 'range-map.at:24' \
  "range-map -- insert" "                            " 117
at_xfail=no
(
  $as_echo "951. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/range-map.at:24: range-map-test insert"
at_fn_check_prepare_trace "range-map.at:24"
( $at_check_trace; range-map-test insert
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/range-map.at:24"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_951
#AT_START_952
at_fn_group_banner 952 'range-map.at:25' \
  "range-map -- delete-contiguous" "                 " 117
at_xfail=no
(
  $as_echo "952. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/range-map.at:25: range-map-test delete-contiguous"
at_fn_check_prepare_trace "range-map.at:25"
( $at_check_trace; range-map-test delete-contiguous
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/range-map.at:25"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_952
#AT_START_953
at_fn_group_banner 953 'range-map.at:26' \
  "range-map -- delete-gaps" "                       " 117
at_xfail=no
(
  $as_echo "953. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/range-map.at:26: range-map-test delete-gaps"
at_fn_check_prepare_trace "range-map.at:26"
( $at_check_trace; range-map-test delete-gaps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/range-map.at:26"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_953
#AT_START_954
at_fn_group_banner 954 'range-set.at:24' \
  "range-set -- insert" "                            " 118
at_xfail=no
(
  $as_echo "954. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/range-set.at:24: range-set-test insert"
at_fn_check_prepare_trace "range-set.at:24"
( $at_check_trace; range-set-test insert
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/range-set.at:24"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_954
#AT_START_955
at_fn_group_banner 955 'range-set.at:25' \
  "range-set -- delete" "                            " 118
at_xfail=no
(
  $as_echo "955. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/range-set.at:25: range-set-test delete"
at_fn_check_prepare_trace "range-set.at:25"
( $at_check_trace; range-set-test delete
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/range-set.at:25"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_955
#AT_START_956
at_fn_group_banner 956 'range-set.at:26' \
  "range-set -- allocate" "                          " 118
at_xfail=no
(
  $as_echo "956. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/range-set.at:26: range-set-test allocate"
at_fn_check_prepare_trace "range-set.at:26"
( $at_check_trace; range-set-test allocate
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/range-set.at:26"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_956
#AT_START_957
at_fn_group_banner 957 'range-set.at:27' \
  "range-set -- allocate-fully" "                    " 118
at_xfail=no
(
  $as_echo "957. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/range-set.at:27: range-set-test allocate-fully"
at_fn_check_prepare_trace "range-set.at:27"
( $at_check_trace; range-set-test allocate-fully
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/range-set.at:27"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_957
#AT_START_958
at_fn_group_banner 958 'range-set.at:28' \
  "range-set -- pool" "                              " 118
at_xfail=no
(
  $as_echo "958. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/range-set.at:28: range-set-test pool"
at_fn_check_prepare_trace "range-set.at:28"
( $at_check_trace; range-set-test pool
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/range-set.at:28"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_958
#AT_START_959
at_fn_group_banner 959 'range-set.at:29' \
  "range-set -- destroy-null" "                      " 118
at_xfail=no
(
  $as_echo "959. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/range-set.at:29: range-set-test destroy-null"
at_fn_check_prepare_trace "range-set.at:29"
( $at_check_trace; range-set-test destroy-null
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/range-set.at:29"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_959
#AT_START_960
at_fn_group_banner 960 'range-tower.at:24' \
  "range-tower -- set1" "                            " 119
at_xfail=no
(
  $as_echo "960. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/range-tower.at:24: range-tower-test set1"
at_fn_check_prepare_trace "range-tower.at:24"
( $at_check_trace; range-tower-test set1
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/range-tower.at:24"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_960
#AT_START_961
at_fn_group_banner 961 'range-tower.at:25' \
  "range-tower -- set0" "                            " 119
at_xfail=no
(
  $as_echo "961. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/range-tower.at:25: range-tower-test set0"
at_fn_check_prepare_trace "range-tower.at:25"
( $at_check_trace; range-tower-test set0
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/range-tower.at:25"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_961
#AT_START_962
at_fn_group_banner 962 'range-tower.at:26' \
  "range-tower -- insert0" "                         " 119
at_xfail=no
(
  $as_echo "962. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/range-tower.at:26: range-tower-test insert0"
at_fn_check_prepare_trace "range-tower.at:26"
( $at_check_trace; range-tower-test insert0
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/range-tower.at:26"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_962
#AT_START_963
at_fn_group_banner 963 'range-tower.at:27' \
  "range-tower -- insert1" "                         " 119
at_xfail=no
(
  $as_echo "963. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/range-tower.at:27: range-tower-test insert1"
at_fn_check_prepare_trace "range-tower.at:27"
( $at_check_trace; range-tower-test insert1
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/range-tower.at:27"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_963
#AT_START_964
at_fn_group_banner 964 'range-tower.at:28' \
  "range-tower -- delete" "                          " 119
at_xfail=no
(
  $as_echo "964. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/range-tower.at:28: range-tower-test delete"
at_fn_check_prepare_trace "range-tower.at:28"
( $at_check_trace; range-tower-test delete
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/range-tower.at:28"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_964
#AT_START_965
at_fn_group_banner 965 'range-tower.at:29' \
  "range-tower -- move" "                            " 119
at_xfail=no
(
  $as_echo "965. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/range-tower.at:29: range-tower-test move"
at_fn_check_prepare_trace "range-tower.at:29"
( $at_check_trace; range-tower-test move
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/range-tower.at:29"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_965
#AT_START_966
at_fn_group_banner 966 'range-tower.at:30' \
  "range-tower -- pool" "                            " 119
at_xfail=no
(
  $as_echo "966. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/range-tower.at:30: range-tower-test pool"
at_fn_check_prepare_trace "range-tower.at:30"
( $at_check_trace; range-tower-test pool
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/range-tower.at:30"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_966
#AT_START_967
at_fn_group_banner 967 'range-tower.at:31' \
  "range-tower -- destroy-null" "                    " 119
at_xfail=no
(
  $as_echo "967. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/range-tower.at:31: range-tower-test destroy-null"
at_fn_check_prepare_trace "range-tower.at:31"
( $at_check_trace; range-tower-test destroy-null
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/range-tower.at:31"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_967
#AT_START_968
at_fn_group_banner 968 'sparse-array.at:25' \
  "sparse array -- random-insert-delete" "           " 120
at_xfail=no
(
  $as_echo "968. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/sparse-array.at:25: sparse-array-test random-insert-delete"
at_fn_check_prepare_trace "sparse-array.at:25"
( $at_check_trace; sparse-array-test random-insert-delete
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sparse-array.at:25"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_968
#AT_START_969
at_fn_group_banner 969 'sparse-array.at:27' \
  "sparse array -- insert and delete with strides" " " 120
at_xfail=no
(
  $as_echo "969. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/sparse-array.at:29: sparse-array-test insert-delete-strides"
at_fn_check_prepare_trace "sparse-array.at:29"
( $at_check_trace; sparse-array-test insert-delete-strides
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "1
2
4
16
64
4096
262144
16777216
3
5
17
67
4099
262147
16777259
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sparse-array.at:29"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_969
#AT_START_970
at_fn_group_banner 970 'sparse-xarray-test.at:58' \
  "in-memory sparse_xarray" "                        " 121
at_xfail=no
(
  $as_echo "970. $at_setup_line: testing $at_desc ..."
  $at_traceon

{ set +x
$as_echo "$at_srcdir/sparse-xarray-test.at:60: sparse-xarray-test \\
	    --verbosity=0 --queue-limit=\`sparse_xarray_queue_limit\` \\
	    --columns=3 --max-rows=3 --max-memory-rows=3 --values=2"
at_fn_check_prepare_notrace 'a `...` command substitution' "sparse-xarray-test.at:60"
( $at_check_trace; sparse-xarray-test \
	    --verbosity=0 --queue-limit=`sparse_xarray_queue_limit` \
	    --columns=3 --max-rows=3 --max-memory-rows=3 --values=2
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/sparse-xarray-test.at:60"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_970
#AT_START_971
at_fn_group_banner 971 'sparse-xarray-test.at:73' \
  "on-disk sparse_xarray max-memory-rows=0" "        " 121
at_xfail=no
(
  $as_echo "971. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/sparse-xarray-test.at:73: sparse-xarray-test \\
	       --verbosity=0 --queue-limit=\`sparse_xarray_queue_limit\` \\
               --columns=2 --max-rows=3 --max-memory-rows=0 --values=2"
at_fn_check_prepare_notrace 'a `...` command substitution' "sparse-xarray-test.at:73"
( $at_check_trace; sparse-xarray-test \
	       --verbosity=0 --queue-limit=`sparse_xarray_queue_limit` \
               --columns=2 --max-rows=3 --max-memory-rows=0 --values=2
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/sparse-xarray-test.at:73"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_971
#AT_START_972
at_fn_group_banner 972 'sparse-xarray-test.at:74' \
  "on-disk sparse_xarray max-memory-rows=1" "        " 121
at_xfail=no
(
  $as_echo "972. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/sparse-xarray-test.at:74: sparse-xarray-test \\
	       --verbosity=0 --queue-limit=\`sparse_xarray_queue_limit\` \\
               --columns=2 --max-rows=3 --max-memory-rows=1 --values=2"
at_fn_check_prepare_notrace 'a `...` command substitution' "sparse-xarray-test.at:74"
( $at_check_trace; sparse-xarray-test \
	       --verbosity=0 --queue-limit=`sparse_xarray_queue_limit` \
               --columns=2 --max-rows=3 --max-memory-rows=1 --values=2
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/sparse-xarray-test.at:74"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_972
#AT_START_973
at_fn_group_banner 973 'sparse-xarray-test.at:75' \
  "on-disk sparse_xarray max-memory-rows=2" "        " 121
at_xfail=no
(
  $as_echo "973. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/sparse-xarray-test.at:75: sparse-xarray-test \\
	       --verbosity=0 --queue-limit=\`sparse_xarray_queue_limit\` \\
               --columns=2 --max-rows=3 --max-memory-rows=2 --values=2"
at_fn_check_prepare_notrace 'a `...` command substitution' "sparse-xarray-test.at:75"
( $at_check_trace; sparse-xarray-test \
	       --verbosity=0 --queue-limit=`sparse_xarray_queue_limit` \
               --columns=2 --max-rows=3 --max-memory-rows=2 --values=2
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/sparse-xarray-test.at:75"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_973
#AT_START_974
at_fn_group_banner 974 'sparse-xarray-test.at:77' \
  "copying between in-memory sparse_xarrays" "       " 121
at_xfail=no
(
  $as_echo "974. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/sparse-xarray-test.at:79: sparse-xarray-test \\
	    --verbosity=0 --queue-limit=\`sparse_xarray_queue_limit\` \\
 	    --columns=2 --max-rows=2 --max-memory-rows=2 --values=2 \\
	    --xarrays=2 --no-write-rows --no-copy-columns"
at_fn_check_prepare_notrace 'a `...` command substitution' "sparse-xarray-test.at:79"
( $at_check_trace; sparse-xarray-test \
	    --verbosity=0 --queue-limit=`sparse_xarray_queue_limit` \
 	    --columns=2 --max-rows=2 --max-memory-rows=2 --values=2 \
	    --xarrays=2 --no-write-rows --no-copy-columns
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/sparse-xarray-test.at:79"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_974
#AT_START_975
at_fn_group_banner 975 'sparse-xarray-test.at:98' \
  "copying between on-disk sparse_xarrays max-memory-rows=0" "" 121
at_xfail=no
(
  $as_echo "975. $at_setup_line: testing $at_desc ..."
  $at_traceon


   limit=`sparse_xarray_queue_limit`
   { set +x
$as_echo "$at_srcdir/sparse-xarray-test.at:98: sparse-xarray-test \\
               --verbosity=0 --queue-limit=\`expr \$limit / 2\` \\
	       --columns=1 --max-rows=2 --max-memory-rows=\$max_memory_rows \\
	       --values=2 --xarrays=2 --no-write-rows --no-copy-columns"
at_fn_check_prepare_notrace 'a `...` command substitution' "sparse-xarray-test.at:98"
( $at_check_trace; sparse-xarray-test \
               --verbosity=0 --queue-limit=`expr $limit / 2` \
	       --columns=1 --max-rows=2 --max-memory-rows=$max_memory_rows \
	       --values=2 --xarrays=2 --no-write-rows --no-copy-columns
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/sparse-xarray-test.at:98"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_975
#AT_START_976
at_fn_group_banner 976 'sparse-xarray-test.at:99' \
  "copying between on-disk sparse_xarrays max-memory-rows=1" "" 121
at_xfail=no
(
  $as_echo "976. $at_setup_line: testing $at_desc ..."
  $at_traceon


   limit=`sparse_xarray_queue_limit`
   { set +x
$as_echo "$at_srcdir/sparse-xarray-test.at:99: sparse-xarray-test \\
               --verbosity=0 --queue-limit=\`expr \$limit / 2\` \\
	       --columns=1 --max-rows=2 --max-memory-rows=\$max_memory_rows \\
	       --values=2 --xarrays=2 --no-write-rows --no-copy-columns"
at_fn_check_prepare_notrace 'a `...` command substitution' "sparse-xarray-test.at:99"
( $at_check_trace; sparse-xarray-test \
               --verbosity=0 --queue-limit=`expr $limit / 2` \
	       --columns=1 --max-rows=2 --max-memory-rows=$max_memory_rows \
	       --values=2 --xarrays=2 --no-write-rows --no-copy-columns
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/sparse-xarray-test.at:99"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_976
#AT_START_977
at_fn_group_banner 977 'str.at:19' \
  "26-adic string formatting" "                      " 122
at_xfail=no
(
  $as_echo "977. $at_setup_line: testing $at_desc ..."
  $at_traceon

{ set +x
$as_echo "$at_srcdir/str.at:20: str-test format-26adic"
at_fn_check_prepare_trace "str.at:20"
( $at_check_trace; str-test format-26adic
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/str.at:20"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_977
#AT_START_978
at_fn_group_banner 978 'string-map.at:25' \
  "string map -- insert-any-remove-any" "            " 123
at_xfail=no
(
  $as_echo "978. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/string-map.at:25: string-map-test insert-any-remove-any"
at_fn_check_prepare_trace "string-map.at:25"
( $at_check_trace; string-map-test insert-any-remove-any
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/string-map.at:25"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_978
#AT_START_979
at_fn_group_banner 979 'string-map.at:26' \
  "string map -- insert-any-remove-same" "           " 123
at_xfail=no
(
  $as_echo "979. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/string-map.at:26: string-map-test insert-any-remove-same"
at_fn_check_prepare_trace "string-map.at:26"
( $at_check_trace; string-map-test insert-any-remove-same
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/string-map.at:26"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_979
#AT_START_980
at_fn_group_banner 980 'string-map.at:27' \
  "string map -- insert-any-remove-reverse" "        " 123
at_xfail=no
(
  $as_echo "980. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/string-map.at:27: string-map-test insert-any-remove-reverse"
at_fn_check_prepare_trace "string-map.at:27"
( $at_check_trace; string-map-test insert-any-remove-reverse
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/string-map.at:27"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_980
#AT_START_981
at_fn_group_banner 981 'string-map.at:28' \
  "string map -- random-sequence" "                  " 123
at_xfail=no
(
  $as_echo "981. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/string-map.at:28: string-map-test random-sequence"
at_fn_check_prepare_trace "string-map.at:28"
( $at_check_trace; string-map-test random-sequence
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/string-map.at:28"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_981
#AT_START_982
at_fn_group_banner 982 'string-map.at:29' \
  "string map -- replace" "                          " 123
at_xfail=no
(
  $as_echo "982. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/string-map.at:29: string-map-test replace"
at_fn_check_prepare_trace "string-map.at:29"
( $at_check_trace; string-map-test replace
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/string-map.at:29"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_982
#AT_START_983
at_fn_group_banner 983 'string-map.at:30' \
  "string map -- insert-ordered" "                   " 123
at_xfail=no
(
  $as_echo "983. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/string-map.at:30: string-map-test insert-ordered"
at_fn_check_prepare_trace "string-map.at:30"
( $at_check_trace; string-map-test insert-ordered
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/string-map.at:30"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_983
#AT_START_984
at_fn_group_banner 984 'string-map.at:31' \
  "string map -- clear" "                            " 123
at_xfail=no
(
  $as_echo "984. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/string-map.at:31: string-map-test clear"
at_fn_check_prepare_trace "string-map.at:31"
( $at_check_trace; string-map-test clear
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/string-map.at:31"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_984
#AT_START_985
at_fn_group_banner 985 'string-map.at:32' \
  "string map -- clone" "                            " 123
at_xfail=no
(
  $as_echo "985. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/string-map.at:32: string-map-test clone"
at_fn_check_prepare_trace "string-map.at:32"
( $at_check_trace; string-map-test clone
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/string-map.at:32"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_985
#AT_START_986
at_fn_group_banner 986 'string-map.at:33' \
  "string map -- swap" "                             " 123
at_xfail=no
(
  $as_echo "986. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/string-map.at:33: string-map-test swap"
at_fn_check_prepare_trace "string-map.at:33"
( $at_check_trace; string-map-test swap
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/string-map.at:33"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_986
#AT_START_987
at_fn_group_banner 987 'string-map.at:34' \
  "string map -- node-swap-value" "                  " 123
at_xfail=no
(
  $as_echo "987. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/string-map.at:34: string-map-test node-swap-value"
at_fn_check_prepare_trace "string-map.at:34"
( $at_check_trace; string-map-test node-swap-value
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/string-map.at:34"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_987
#AT_START_988
at_fn_group_banner 988 'string-map.at:35' \
  "string map -- insert-map" "                       " 123
at_xfail=no
(
  $as_echo "988. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/string-map.at:35: string-map-test insert-map"
at_fn_check_prepare_trace "string-map.at:35"
( $at_check_trace; string-map-test insert-map
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/string-map.at:35"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_988
#AT_START_989
at_fn_group_banner 989 'string-map.at:36' \
  "string map -- replace-map" "                      " 123
at_xfail=no
(
  $as_echo "989. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/string-map.at:36: string-map-test replace-map"
at_fn_check_prepare_trace "string-map.at:36"
( $at_check_trace; string-map-test replace-map
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/string-map.at:36"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_989
#AT_START_990
at_fn_group_banner 990 'string-map.at:37' \
  "string map -- get-keys-and-values" "              " 123
at_xfail=no
(
  $as_echo "990. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/string-map.at:37: string-map-test get-keys-and-values"
at_fn_check_prepare_trace "string-map.at:37"
( $at_check_trace; string-map-test get-keys-and-values
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/string-map.at:37"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_990
#AT_START_991
at_fn_group_banner 991 'string-map.at:38' \
  "string map -- destroy-null" "                     " 123
at_xfail=no
(
  $as_echo "991. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/string-map.at:38: string-map-test destroy-null"
at_fn_check_prepare_trace "string-map.at:38"
( $at_check_trace; string-map-test destroy-null
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/string-map.at:38"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_991
#AT_START_992
at_fn_group_banner 992 'stringi-map.at:25' \
  "case-insensitive string map -- insert-any-remove-any" "" 124
at_xfail=no
(
  $as_echo "992. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/stringi-map.at:25: stringi-map-test insert-any-remove-any"
at_fn_check_prepare_trace "stringi-map.at:25"
( $at_check_trace; stringi-map-test insert-any-remove-any
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/stringi-map.at:25"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_992
#AT_START_993
at_fn_group_banner 993 'stringi-map.at:26' \
  "case-insensitive string map -- insert-any-remove-same" "" 124
at_xfail=no
(
  $as_echo "993. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/stringi-map.at:26: stringi-map-test insert-any-remove-same"
at_fn_check_prepare_trace "stringi-map.at:26"
( $at_check_trace; stringi-map-test insert-any-remove-same
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/stringi-map.at:26"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_993
#AT_START_994
at_fn_group_banner 994 'stringi-map.at:27' \
  "case-insensitive string map -- insert-any-remove-reverse" "" 124
at_xfail=no
(
  $as_echo "994. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/stringi-map.at:27: stringi-map-test insert-any-remove-reverse"
at_fn_check_prepare_trace "stringi-map.at:27"
( $at_check_trace; stringi-map-test insert-any-remove-reverse
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/stringi-map.at:27"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_994
#AT_START_995
at_fn_group_banner 995 'stringi-map.at:28' \
  "case-insensitive string map -- random-sequence" " " 124
at_xfail=no
(
  $as_echo "995. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/stringi-map.at:28: stringi-map-test random-sequence"
at_fn_check_prepare_trace "stringi-map.at:28"
( $at_check_trace; stringi-map-test random-sequence
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/stringi-map.at:28"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_995
#AT_START_996
at_fn_group_banner 996 'stringi-map.at:29' \
  "case-insensitive string map -- replace" "         " 124
at_xfail=no
(
  $as_echo "996. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/stringi-map.at:29: stringi-map-test replace"
at_fn_check_prepare_trace "stringi-map.at:29"
( $at_check_trace; stringi-map-test replace
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/stringi-map.at:29"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_996
#AT_START_997
at_fn_group_banner 997 'stringi-map.at:30' \
  "case-insensitive string map -- insert-ordered" "  " 124
at_xfail=no
(
  $as_echo "997. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/stringi-map.at:30: stringi-map-test insert-ordered"
at_fn_check_prepare_trace "stringi-map.at:30"
( $at_check_trace; stringi-map-test insert-ordered
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/stringi-map.at:30"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_997
#AT_START_998
at_fn_group_banner 998 'stringi-map.at:31' \
  "case-insensitive string map -- clear" "           " 124
at_xfail=no
(
  $as_echo "998. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/stringi-map.at:31: stringi-map-test clear"
at_fn_check_prepare_trace "stringi-map.at:31"
( $at_check_trace; stringi-map-test clear
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/stringi-map.at:31"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_998
#AT_START_999
at_fn_group_banner 999 'stringi-map.at:32' \
  "case-insensitive string map -- clone" "           " 124
at_xfail=no
(
  $as_echo "999. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/stringi-map.at:32: stringi-map-test clone"
at_fn_check_prepare_trace "stringi-map.at:32"
( $at_check_trace; stringi-map-test clone
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/stringi-map.at:32"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_999
#AT_START_1000
at_fn_group_banner 1000 'stringi-map.at:33' \
  "case-insensitive string map -- swap" "            " 124
at_xfail=no
(
  $as_echo "1000. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/stringi-map.at:33: stringi-map-test swap"
at_fn_check_prepare_trace "stringi-map.at:33"
( $at_check_trace; stringi-map-test swap
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/stringi-map.at:33"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1000
#AT_START_1001
at_fn_group_banner 1001 'stringi-map.at:34' \
  "case-insensitive string map -- node-swap-value" " " 124
at_xfail=no
(
  $as_echo "1001. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/stringi-map.at:34: stringi-map-test node-swap-value"
at_fn_check_prepare_trace "stringi-map.at:34"
( $at_check_trace; stringi-map-test node-swap-value
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/stringi-map.at:34"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1001
#AT_START_1002
at_fn_group_banner 1002 'stringi-map.at:35' \
  "case-insensitive string map -- insert-map" "      " 124
at_xfail=no
(
  $as_echo "1002. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/stringi-map.at:35: stringi-map-test insert-map"
at_fn_check_prepare_trace "stringi-map.at:35"
( $at_check_trace; stringi-map-test insert-map
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/stringi-map.at:35"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1002
#AT_START_1003
at_fn_group_banner 1003 'stringi-map.at:36' \
  "case-insensitive string map -- replace-map" "     " 124
at_xfail=no
(
  $as_echo "1003. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/stringi-map.at:36: stringi-map-test replace-map"
at_fn_check_prepare_trace "stringi-map.at:36"
( $at_check_trace; stringi-map-test replace-map
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/stringi-map.at:36"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1003
#AT_START_1004
at_fn_group_banner 1004 'stringi-map.at:37' \
  "case-insensitive string map -- get-keys-and-values" "" 124
at_xfail=no
(
  $as_echo "1004. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/stringi-map.at:37: stringi-map-test get-keys-and-values"
at_fn_check_prepare_trace "stringi-map.at:37"
( $at_check_trace; stringi-map-test get-keys-and-values
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/stringi-map.at:37"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1004
#AT_START_1005
at_fn_group_banner 1005 'stringi-map.at:38' \
  "case-insensitive string map -- destroy-null" "    " 124
at_xfail=no
(
  $as_echo "1005. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/stringi-map.at:38: stringi-map-test destroy-null"
at_fn_check_prepare_trace "stringi-map.at:38"
( $at_check_trace; stringi-map-test destroy-null
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/stringi-map.at:38"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1005
#AT_START_1006
at_fn_group_banner 1006 'string-set.at:25' \
  "string set -- insert-any-remove-any" "            " 125
at_xfail=no
(
  $as_echo "1006. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/string-set.at:25: string-set-test insert-any-remove-any"
at_fn_check_prepare_trace "string-set.at:25"
( $at_check_trace; string-set-test insert-any-remove-any
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/string-set.at:25"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1006
#AT_START_1007
at_fn_group_banner 1007 'string-set.at:26' \
  "string set -- insert-any-remove-same" "           " 125
at_xfail=no
(
  $as_echo "1007. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/string-set.at:26: string-set-test insert-any-remove-same"
at_fn_check_prepare_trace "string-set.at:26"
( $at_check_trace; string-set-test insert-any-remove-same
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/string-set.at:26"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1007
#AT_START_1008
at_fn_group_banner 1008 'string-set.at:27' \
  "string set -- insert-any-remove-reverse" "        " 125
at_xfail=no
(
  $as_echo "1008. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/string-set.at:27: string-set-test insert-any-remove-reverse"
at_fn_check_prepare_trace "string-set.at:27"
( $at_check_trace; string-set-test insert-any-remove-reverse
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/string-set.at:27"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1008
#AT_START_1009
at_fn_group_banner 1009 'string-set.at:28' \
  "string set -- random-sequence" "                  " 125
at_xfail=no
(
  $as_echo "1009. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/string-set.at:28: string-set-test random-sequence"
at_fn_check_prepare_trace "string-set.at:28"
( $at_check_trace; string-set-test random-sequence
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/string-set.at:28"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1009
#AT_START_1010
at_fn_group_banner 1010 'string-set.at:29' \
  "string set -- insert-ordered" "                   " 125
at_xfail=no
(
  $as_echo "1010. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/string-set.at:29: string-set-test insert-ordered"
at_fn_check_prepare_trace "string-set.at:29"
( $at_check_trace; string-set-test insert-ordered
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/string-set.at:29"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1010
#AT_START_1011
at_fn_group_banner 1011 'string-set.at:30' \
  "string set -- union" "                            " 125
at_xfail=no
(
  $as_echo "1011. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/string-set.at:30: string-set-test union"
at_fn_check_prepare_trace "string-set.at:30"
( $at_check_trace; string-set-test union
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/string-set.at:30"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1011
#AT_START_1012
at_fn_group_banner 1012 'string-set.at:31' \
  "string set -- union-and-intersection" "           " 125
at_xfail=no
(
  $as_echo "1012. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/string-set.at:31: string-set-test union-and-intersection"
at_fn_check_prepare_trace "string-set.at:31"
( $at_check_trace; string-set-test union-and-intersection
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/string-set.at:31"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1012
#AT_START_1013
at_fn_group_banner 1013 'string-set.at:32' \
  "string set -- intersect" "                        " 125
at_xfail=no
(
  $as_echo "1013. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/string-set.at:32: string-set-test intersect"
at_fn_check_prepare_trace "string-set.at:32"
( $at_check_trace; string-set-test intersect
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/string-set.at:32"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1013
#AT_START_1014
at_fn_group_banner 1014 'string-set.at:33' \
  "string set -- subtract" "                         " 125
at_xfail=no
(
  $as_echo "1014. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/string-set.at:33: string-set-test subtract"
at_fn_check_prepare_trace "string-set.at:33"
( $at_check_trace; string-set-test subtract
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/string-set.at:33"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1014
#AT_START_1015
at_fn_group_banner 1015 'string-set.at:34' \
  "string set -- swap" "                             " 125
at_xfail=no
(
  $as_echo "1015. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/string-set.at:34: string-set-test swap"
at_fn_check_prepare_trace "string-set.at:34"
( $at_check_trace; string-set-test swap
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/string-set.at:34"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1015
#AT_START_1016
at_fn_group_banner 1016 'string-set.at:35' \
  "string set -- clear" "                            " 125
at_xfail=no
(
  $as_echo "1016. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/string-set.at:35: string-set-test clear"
at_fn_check_prepare_trace "string-set.at:35"
( $at_check_trace; string-set-test clear
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/string-set.at:35"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1016
#AT_START_1017
at_fn_group_banner 1017 'string-set.at:36' \
  "string set -- clone" "                            " 125
at_xfail=no
(
  $as_echo "1017. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/string-set.at:36: string-set-test clone"
at_fn_check_prepare_trace "string-set.at:36"
( $at_check_trace; string-set-test clone
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/string-set.at:36"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1017
#AT_START_1018
at_fn_group_banner 1018 'string-set.at:37' \
  "string set -- destroy-null" "                     " 125
at_xfail=no
(
  $as_echo "1018. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/string-set.at:37: string-set-test destroy-null"
at_fn_check_prepare_trace "string-set.at:37"
( $at_check_trace; string-set-test destroy-null
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/string-set.at:37"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1018
#AT_START_1019
at_fn_group_banner 1019 'stringi-set.at:25' \
  "case-insensitive string set -- insert-any-remove-any" "" 126
at_xfail=no
(
  $as_echo "1019. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/stringi-set.at:25: stringi-set-test insert-any-remove-any"
at_fn_check_prepare_trace "stringi-set.at:25"
( $at_check_trace; stringi-set-test insert-any-remove-any
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/stringi-set.at:25"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1019
#AT_START_1020
at_fn_group_banner 1020 'stringi-set.at:26' \
  "case-insensitive string set -- insert-any-remove-same" "" 126
at_xfail=no
(
  $as_echo "1020. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/stringi-set.at:26: stringi-set-test insert-any-remove-same"
at_fn_check_prepare_trace "stringi-set.at:26"
( $at_check_trace; stringi-set-test insert-any-remove-same
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/stringi-set.at:26"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1020
#AT_START_1021
at_fn_group_banner 1021 'stringi-set.at:27' \
  "case-insensitive string set -- insert-any-remove-reverse" "" 126
at_xfail=no
(
  $as_echo "1021. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/stringi-set.at:27: stringi-set-test insert-any-remove-reverse"
at_fn_check_prepare_trace "stringi-set.at:27"
( $at_check_trace; stringi-set-test insert-any-remove-reverse
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/stringi-set.at:27"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1021
#AT_START_1022
at_fn_group_banner 1022 'stringi-set.at:28' \
  "case-insensitive string set -- random-sequence" " " 126
at_xfail=no
(
  $as_echo "1022. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/stringi-set.at:28: stringi-set-test random-sequence"
at_fn_check_prepare_trace "stringi-set.at:28"
( $at_check_trace; stringi-set-test random-sequence
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/stringi-set.at:28"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1022
#AT_START_1023
at_fn_group_banner 1023 'stringi-set.at:29' \
  "case-insensitive string set -- insert-ordered" "  " 126
at_xfail=no
(
  $as_echo "1023. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/stringi-set.at:29: stringi-set-test insert-ordered"
at_fn_check_prepare_trace "stringi-set.at:29"
( $at_check_trace; stringi-set-test insert-ordered
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/stringi-set.at:29"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1023
#AT_START_1024
at_fn_group_banner 1024 'stringi-set.at:30' \
  "case-insensitive string set -- union" "           " 126
at_xfail=no
(
  $as_echo "1024. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/stringi-set.at:30: stringi-set-test union"
at_fn_check_prepare_trace "stringi-set.at:30"
( $at_check_trace; stringi-set-test union
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/stringi-set.at:30"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1024
#AT_START_1025
at_fn_group_banner 1025 'stringi-set.at:31' \
  "case-insensitive string set -- union-and-intersection" "" 126
at_xfail=no
(
  $as_echo "1025. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/stringi-set.at:31: stringi-set-test union-and-intersection"
at_fn_check_prepare_trace "stringi-set.at:31"
( $at_check_trace; stringi-set-test union-and-intersection
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/stringi-set.at:31"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1025
#AT_START_1026
at_fn_group_banner 1026 'stringi-set.at:32' \
  "case-insensitive string set -- intersect" "       " 126
at_xfail=no
(
  $as_echo "1026. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/stringi-set.at:32: stringi-set-test intersect"
at_fn_check_prepare_trace "stringi-set.at:32"
( $at_check_trace; stringi-set-test intersect
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/stringi-set.at:32"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1026
#AT_START_1027
at_fn_group_banner 1027 'stringi-set.at:33' \
  "case-insensitive string set -- subtract" "        " 126
at_xfail=no
(
  $as_echo "1027. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/stringi-set.at:33: stringi-set-test subtract"
at_fn_check_prepare_trace "stringi-set.at:33"
( $at_check_trace; stringi-set-test subtract
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/stringi-set.at:33"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1027
#AT_START_1028
at_fn_group_banner 1028 'stringi-set.at:34' \
  "case-insensitive string set -- swap" "            " 126
at_xfail=no
(
  $as_echo "1028. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/stringi-set.at:34: stringi-set-test swap"
at_fn_check_prepare_trace "stringi-set.at:34"
( $at_check_trace; stringi-set-test swap
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/stringi-set.at:34"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1028
#AT_START_1029
at_fn_group_banner 1029 'stringi-set.at:35' \
  "case-insensitive string set -- clear" "           " 126
at_xfail=no
(
  $as_echo "1029. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/stringi-set.at:35: stringi-set-test clear"
at_fn_check_prepare_trace "stringi-set.at:35"
( $at_check_trace; stringi-set-test clear
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/stringi-set.at:35"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1029
#AT_START_1030
at_fn_group_banner 1030 'stringi-set.at:36' \
  "case-insensitive string set -- clone" "           " 126
at_xfail=no
(
  $as_echo "1030. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/stringi-set.at:36: stringi-set-test clone"
at_fn_check_prepare_trace "stringi-set.at:36"
( $at_check_trace; stringi-set-test clone
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/stringi-set.at:36"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1030
#AT_START_1031
at_fn_group_banner 1031 'stringi-set.at:37' \
  "case-insensitive string set -- destroy-null" "    " 126
at_xfail=no
(
  $as_echo "1031. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/stringi-set.at:37: stringi-set-test destroy-null"
at_fn_check_prepare_trace "stringi-set.at:37"
( $at_check_trace; stringi-set-test destroy-null
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/stringi-set.at:37"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1031
#AT_START_1032
at_fn_group_banner 1032 'tower.at:24' \
  "tower -- insert" "                                " 127
at_xfail=no
(
  $as_echo "1032. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/tower.at:24: tower-test insert"
at_fn_check_prepare_trace "tower.at:24"
( $at_check_trace; tower-test insert
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/tower.at:24"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1032
#AT_START_1033
at_fn_group_banner 1033 'tower.at:25' \
  "tower -- delete" "                                " 127
at_xfail=no
(
  $as_echo "1033. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/tower.at:25: tower-test delete"
at_fn_check_prepare_trace "tower.at:25"
( $at_check_trace; tower-test delete
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/tower.at:25"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1033
#AT_START_1034
at_fn_group_banner 1034 'tower.at:26' \
  "tower -- resize" "                                " 127
at_xfail=no
(
  $as_echo "1034. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/tower.at:26: tower-test resize"
at_fn_check_prepare_trace "tower.at:26"
( $at_check_trace; tower-test resize
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/tower.at:26"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1034
#AT_START_1035
at_fn_group_banner 1035 'tower.at:27' \
  "tower -- splice-out" "                            " 127
at_xfail=no
(
  $as_echo "1035. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/tower.at:27: tower-test splice-out"
at_fn_check_prepare_trace "tower.at:27"
( $at_check_trace; tower-test splice-out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/tower.at:27"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1035
#AT_START_1036
at_fn_group_banner 1036 'tower.at:28' \
  "tower -- splice-in" "                             " 127
at_xfail=no
(
  $as_echo "1036. $at_setup_line: testing $at_desc ..."
  $at_traceon

   { set +x
$as_echo "$at_srcdir/tower.at:28: tower-test splice-in"
at_fn_check_prepare_trace "tower.at:28"
( $at_check_trace; tower-test splice-in
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/tower.at:28"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1036
#AT_START_1037
at_fn_group_banner 1037 'u8-istream.at:19' \
  "read ASCII" "                                     " 128
at_xfail=no
(
  $as_echo "1037. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/u8-istream.at:21: i18n-test supports_encodings ASCII"
at_fn_check_prepare_trace "u8-istream.at:21"
( $at_check_trace; i18n-test supports_encodings ASCII
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/u8-istream.at:21"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/u8-istream.at:22: echo string | u8-istream-test read - ASCII"
at_fn_check_prepare_notrace 'a shell pipeline' "u8-istream.at:22"
( $at_check_trace; echo string | u8-istream-test read - ASCII
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "string
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/u8-istream.at:22"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1037
#AT_START_1038
at_fn_group_banner 1038 'u8-istream.at:26' \
  "read UTF-8" "                                     " 128
at_xfail=no
(
  $as_echo "1038. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/u8-istream.at:28: printf '\\346\\227\\245\\346\\234\\254\\350\\252\\236\\n' | u8-istream-test read - UTF-8"
at_fn_check_prepare_notrace 'a shell pipeline' "u8-istream.at:28"
( $at_check_trace; printf '\346\227\245\346\234\254\350\252\236\n' | u8-istream-test read - UTF-8
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "UTF-8 mode
日本語
UTF-8 mode
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/u8-istream.at:28"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1038
#AT_START_1039
at_fn_group_banner 1039 'u8-istream.at:35' \
  "read EUC-JP" "                                    " 128
at_xfail=no
(
  $as_echo "1039. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/u8-istream.at:37: i18n-test supports_encodings EUC-JP"
at_fn_check_prepare_trace "u8-istream.at:37"
( $at_check_trace; i18n-test supports_encodings EUC-JP
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/u8-istream.at:37"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/u8-istream.at:38: printf '\\244\\241 \\244\\242 \\244\\243 \\244\\244 \\244\\245 \\244\\246 \\244\\247 \\244\\250 \\244\\251 \\244\\252\\n' | u8-istream-test read - EUC-JP"
at_fn_check_prepare_notrace 'a shell pipeline' "u8-istream.at:38"
( $at_check_trace; printf '\244\241 \244\242 \244\243 \244\244 \244\245 \244\246 \244\247 \244\250 \244\251 \244\252\n' | u8-istream-test read - EUC-JP
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "ぁ あ ぃ い ぅ う ぇ え ぉ お
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/u8-istream.at:38"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1039
#AT_START_1040
at_fn_group_banner 1040 'u8-istream.at:44' \
  "read UTF-8 with character split across input buffers" "" 128
at_xfail=no
(
  $as_echo "1040. $at_setup_line: testing $at_desc ..."
  $at_traceon


buffer_size=`u8-istream-test buffer-size`
($PERL -e "print 'x' x ($buffer_size - 16)"
 printf '\343\201\201\343\201\202\343\201\203\343\201\204\343\201\205\343\201\206\343\201\207\343\201\210\343\201\211\343\201\212\n') > input
(echo "UTF-8 mode"
 cat input
 echo "UTF-8 mode") > expout
{ set +x
$as_echo "$at_srcdir/u8-istream.at:52: u8-istream-test read input UTF-8 16"
at_fn_check_prepare_trace "u8-istream.at:52"
( $at_check_trace; u8-istream-test read input UTF-8 16
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/u8-istream.at:52"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1040
#AT_START_1041
at_fn_group_banner 1041 'u8-istream.at:55' \
  "read UTF-8 with character split across output buffers" "" 128
at_xfail=no
(
  $as_echo "1041. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/u8-istream.at:57: printf '\\343\\201\\201\\343\\201\\202\\343\\201\\203\\343\\201\\204\\343\\201\\205\\343\\201\\206\\343\\201\\207\\343\\201\\210\\343\\201\\211\\343\\201\\212\\n' | u8-istream-test read - UTF-8 16"
at_fn_check_prepare_notrace 'a shell pipeline' "u8-istream.at:57"
( $at_check_trace; printf '\343\201\201\343\201\202\343\201\203\343\201\204\343\201\205\343\201\206\343\201\207\343\201\210\343\201\211\343\201\212\n' | u8-istream-test read - UTF-8 16
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "UTF-8 mode
ぁあぃいぅうぇえぉお
UTF-8 mode
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/u8-istream.at:57"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1041
#AT_START_1042
at_fn_group_banner 1042 'u8-istream.at:64' \
  "read UTF-8 with character split across input and output buffers" "" 128
at_xfail=no
(
  $as_echo "1042. $at_setup_line: testing $at_desc ..."
  $at_traceon


buffer_size=`u8-istream-test buffer-size`
($PERL -e "print 'x' x ($buffer_size - 16)"
 printf '\343\201\201\343\201\202\343\201\203\343\201\204\343\201\205\343\201\206\343\201\207\343\201\210\343\201\211\343\201\212\n') > input
(echo "UTF-8 mode"
 cat input
 echo "UTF-8 mode") > expout
{ set +x
$as_echo "$at_srcdir/u8-istream.at:72: u8-istream-test read input UTF-8 16"
at_fn_check_prepare_trace "u8-istream.at:72"
( $at_check_trace; u8-istream-test read input UTF-8 16
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/u8-istream.at:72"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1042
#AT_START_1043
at_fn_group_banner 1043 'u8-istream.at:75' \
  "read EUC-JP with character split across input buffers" "" 128
at_xfail=no
(
  $as_echo "1043. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/u8-istream.at:77: i18n-test supports_encodings EUC-JP"
at_fn_check_prepare_trace "u8-istream.at:77"
( $at_check_trace; i18n-test supports_encodings EUC-JP
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/u8-istream.at:77"
$at_failed && at_fn_log_failure
$at_traceon; }

buffer_size=`u8-istream-test buffer-size`
($PERL -e "print 'x' x ($buffer_size - 16)"
 printf '\244\241 \244\242 \244\243 \244\244 \244\245 \244\246 \244\247 '
 printf '\244\250 \244\251 \244\252\n') > input
($PERL -e "print 'x' x ($buffer_size - 16)"
 printf '\343\201\201\040\343\201\202\040\343\201\203\040\343\201\204\040'
 printf '\343\201\205\040\343\201\206\040\343\201\207\040\343\201\210\040'
 printf '\343\201\211\040\343\201\212\n') > expout
{ set +x
$as_echo "$at_srcdir/u8-istream.at:86: u8-istream-test read input EUC-JP"
at_fn_check_prepare_trace "u8-istream.at:86"
( $at_check_trace; u8-istream-test read input EUC-JP
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/u8-istream.at:86"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1043
#AT_START_1044
at_fn_group_banner 1044 'u8-istream.at:89' \
  "read EUC-JP with character split across output buffers" "" 128
at_xfail=no
(
  $as_echo "1044. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/u8-istream.at:91: i18n-test supports_encodings EUC-JP"
at_fn_check_prepare_trace "u8-istream.at:91"
( $at_check_trace; i18n-test supports_encodings EUC-JP
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/u8-istream.at:91"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/u8-istream.at:92: printf '\\244\\241\\244\\242\\244\\243\\244\\244\\244\\245\\244\\246\\244\\247\\244\\250\\244\\251\\244\\252\\n' | u8-istream-test read - EUC-JP 16"
at_fn_check_prepare_notrace 'a shell pipeline' "u8-istream.at:92"
( $at_check_trace; printf '\244\241\244\242\244\243\244\244\244\245\244\246\244\247\244\250\244\251\244\252\n' | u8-istream-test read - EUC-JP 16
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "ぁあぃいぅうぇえぉお
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/u8-istream.at:92"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1044
#AT_START_1045
at_fn_group_banner 1045 'u8-istream.at:98' \
  "read EUC-JP with character split across input and output buffers" "" 128
at_xfail=no
(
  $as_echo "1045. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/u8-istream.at:100: i18n-test supports_encodings EUC-JP"
at_fn_check_prepare_trace "u8-istream.at:100"
( $at_check_trace; i18n-test supports_encodings EUC-JP
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/u8-istream.at:100"
$at_failed && at_fn_log_failure
$at_traceon; }

buffer_size=`u8-istream-test buffer-size`
($PERL -e "print 'x' x ($buffer_size - 16)"
 printf 'xyz\244\241\244\242\244\243\244\244\244\245\244\246\244\247\244\250'
 printf '\244\251\244\252\n') > input
($PERL -e "print 'x' x ($buffer_size - 16)"
 printf '\170\171\172\343\201\201\343\201\202\343\201\203\343\201\204\343'
 printf '\201\205\343\201\206\343\201\207\343\201\210\343\201\211\343\201'
 printf '\212\n') > expout
{ set +x
$as_echo "$at_srcdir/u8-istream.at:109: u8-istream-test read input EUC-JP 16"
at_fn_check_prepare_trace "u8-istream.at:109"
( $at_check_trace; u8-istream-test read input EUC-JP 16
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/u8-istream.at:109"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1045
#AT_START_1046
at_fn_group_banner 1046 'u8-istream.at:112' \
  "read ASCII as Auto" "                             " 128
at_xfail=no
(
  $as_echo "1046. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/u8-istream.at:114: echo string | u8-istream-test read - Auto"
at_fn_check_prepare_notrace 'a shell pipeline' "u8-istream.at:114"
( $at_check_trace; echo string | u8-istream-test read - Auto
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Auto mode
string
Auto mode
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/u8-istream.at:114"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1046
#AT_START_1047
at_fn_group_banner 1047 'u8-istream.at:121' \
  "read UTF-8 as Auto" "                             " 128
at_xfail=no
(
  $as_echo "1047. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/u8-istream.at:123: printf 'entr\\303\\251e\\n' | u8-istream-test read - Auto"
at_fn_check_prepare_notrace 'a shell pipeline' "u8-istream.at:123"
( $at_check_trace; printf 'entr\303\251e\n' | u8-istream-test read - Auto
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Auto mode
entrée
UTF-8 mode
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/u8-istream.at:123"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/u8-istream.at:128: printf '\\357\\273\\277entr\\303\\251e\\n' | u8-istream-test read - Auto"
at_fn_check_prepare_notrace 'a shell pipeline' "u8-istream.at:128"
( $at_check_trace; printf '\357\273\277entr\303\251e\n' | u8-istream-test read - Auto
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "UTF-8 mode
entrée
UTF-8 mode
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/u8-istream.at:128"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1047
#AT_START_1048
at_fn_group_banner 1048 'u8-istream.at:135' \
  "read ISO-8859-1 as Auto,ISO-8859-1" "             " 128
at_xfail=no
(
  $as_echo "1048. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/u8-istream.at:137: i18n-test supports_encodings ISO-8859-1"
at_fn_check_prepare_trace "u8-istream.at:137"
( $at_check_trace; i18n-test supports_encodings ISO-8859-1
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/u8-istream.at:137"
$at_failed && at_fn_log_failure
$at_traceon; }

buffer_size=`u8-istream-test buffer-size`
($PERL -e 'print "xyzzy\n" x int('$buffer_size' * 2.5 / 7)'; printf 'entr\351e\n') > input
(echo "Auto mode"
 $PERL -e 'print "xyzzy\n" x int('$buffer_size' * 2.5 / 7)'
 printf 'entr\303\251e\n') > expout
{ set +x
$as_echo "$at_srcdir/u8-istream.at:143: u8-istream-test read input Auto,ISO-8859-1"
at_fn_check_prepare_trace "u8-istream.at:143"
( $at_check_trace; u8-istream-test read input Auto,ISO-8859-1
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/u8-istream.at:143"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1048
#AT_START_1049
at_fn_group_banner 1049 'u8-istream.at:147' \
  "read UTF-16BE as Auto,UTF-16BE" "                 " 128
at_xfail=no
(
  $as_echo "1049. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/u8-istream.at:149: i18n-test supports_encodings UTF-16BE"
at_fn_check_prepare_trace "u8-istream.at:149"
( $at_check_trace; i18n-test supports_encodings UTF-16BE
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/u8-istream.at:149"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/u8-istream.at:150: printf '\\0e\\0n\\0t\\0r\\0\\351\\0e\\0\\n' | u8-istream-test read - Auto,UTF-16BE"
at_fn_check_prepare_notrace 'a shell pipeline' "u8-istream.at:150"
( $at_check_trace; printf '\0e\0n\0t\0r\0\351\0e\0\n' | u8-istream-test read - Auto,UTF-16BE
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "entrée
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/u8-istream.at:150"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1049
#AT_START_1050
at_fn_group_banner 1050 'u8-istream.at:156' \
  "read UTF-16 as Auto" "                            " 128
at_xfail=no
(
  $as_echo "1050. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/u8-istream.at:158: i18n-test supports_encodings UTF-16 UTF-16BE UTF-16LE"
at_fn_check_prepare_trace "u8-istream.at:158"
( $at_check_trace; i18n-test supports_encodings UTF-16 UTF-16BE UTF-16LE
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/u8-istream.at:158"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/u8-istream.at:161: { printf '\\0e\\0n\\0t\\0'; sleep 1; printf 'r\\0\\351\\0e\\0\\n'; } | u8-istream-test read - Auto"
at_fn_check_prepare_notrace 'a shell pipeline' "u8-istream.at:161"
( $at_check_trace; { printf '\0e\0n\0t\0'; sleep 1; printf 'r\0\351\0e\0\n'; } | u8-istream-test read - Auto
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "entrée
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/u8-istream.at:161"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/u8-istream.at:164: printf 'e\\0n\\0t\\0r\\0\\351\\0e\\0\\n\\0' | u8-istream-test read - Auto"
at_fn_check_prepare_notrace 'a shell pipeline' "u8-istream.at:164"
( $at_check_trace; printf 'e\0n\0t\0r\0\351\0e\0\n\0' | u8-istream-test read - Auto
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "entrée
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/u8-istream.at:164"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/u8-istream.at:167: printf '\\376\\377\\0e\\0n\\0t\\0r\\0\\351\\0e\\0\\n' | u8-istream-test read - Auto"
at_fn_check_prepare_notrace 'a shell pipeline' "u8-istream.at:167"
( $at_check_trace; printf '\376\377\0e\0n\0t\0r\0\351\0e\0\n' | u8-istream-test read - Auto
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "entrée
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/u8-istream.at:167"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/u8-istream.at:170: printf '\\377\\376e\\0n\\0t\\0r\\0\\351\\0e\\0\\n\\0' | u8-istream-test read - Auto"
at_fn_check_prepare_notrace 'a shell pipeline' "u8-istream.at:170"
( $at_check_trace; printf '\377\376e\0n\0t\0r\0\351\0e\0\n\0' | u8-istream-test read - Auto
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "entrée
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/u8-istream.at:170"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1050
#AT_START_1051
at_fn_group_banner 1051 'u8-istream.at:175' \
  "read UTF-32 as Auto" "                            " 128
at_xfail=no
(
  $as_echo "1051. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/u8-istream.at:177: i18n-test supports_encodings UTF-16 UTF-16BE UTF-16LE"
at_fn_check_prepare_trace "u8-istream.at:177"
( $at_check_trace; i18n-test supports_encodings UTF-16 UTF-16BE UTF-16LE
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/u8-istream.at:177"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/u8-istream.at:178: printf '\\0\\0\\0e\\0\\0\\0n\\0\\0\\0t\\0\\0\\0r\\0\\0\\0\\351\\0\\0\\0e\\0\\0\\0\\n' | u8-istream-test read - Auto"
at_fn_check_prepare_notrace 'a shell pipeline' "u8-istream.at:178"
( $at_check_trace; printf '\0\0\0e\0\0\0n\0\0\0t\0\0\0r\0\0\0\351\0\0\0e\0\0\0\n' | u8-istream-test read - Auto
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "entrée
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/u8-istream.at:178"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/u8-istream.at:181: printf 'e\\0\\0\\0n\\0\\0\\0t\\0\\0\\0r\\0\\0\\0\\351\\0\\0\\0e\\0\\0\\0\\n\\0\\0\\0' | u8-istream-test read - Auto"
at_fn_check_prepare_notrace 'a shell pipeline' "u8-istream.at:181"
( $at_check_trace; printf 'e\0\0\0n\0\0\0t\0\0\0r\0\0\0\351\0\0\0e\0\0\0\n\0\0\0' | u8-istream-test read - Auto
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "entrée
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/u8-istream.at:181"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/u8-istream.at:184: printf '\\0\\0\\376\\377\\0\\0\\0e\\0\\0\\0n\\0\\0\\0t\\0\\0\\0r\\0\\0\\0\\351\\0\\0\\0e\\0\\0\\0\\n' | u8-istream-test read - Auto"
at_fn_check_prepare_notrace 'a shell pipeline' "u8-istream.at:184"
( $at_check_trace; printf '\0\0\376\377\0\0\0e\0\0\0n\0\0\0t\0\0\0r\0\0\0\351\0\0\0e\0\0\0\n' | u8-istream-test read - Auto
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "entrée
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/u8-istream.at:184"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/u8-istream.at:187: printf '\\377\\376\\0\\0e\\0\\0\\0n\\0\\0\\0t\\0\\0\\0r\\0\\0\\0\\351\\0\\0\\0e\\0\\0\\0\\n\\0\\0\\0' | u8-istream-test read - Auto"
at_fn_check_prepare_notrace 'a shell pipeline' "u8-istream.at:187"
( $at_check_trace; printf '\377\376\0\0e\0\0\0n\0\0\0t\0\0\0r\0\0\0\351\0\0\0e\0\0\0\n\0\0\0' | u8-istream-test read - Auto
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "entrée
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/u8-istream.at:187"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1051
#AT_START_1052
at_fn_group_banner 1052 'u8-istream.at:192' \
  "read EUC-JP as Auto,EUC-JP" "                     " 128
at_xfail=no
(
  $as_echo "1052. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/u8-istream.at:194: i18n-test supports_encodings EUC-JP"
at_fn_check_prepare_trace "u8-istream.at:194"
( $at_check_trace; i18n-test supports_encodings EUC-JP
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/u8-istream.at:194"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/u8-istream.at:195: printf 'entr\\217\\253\\261e\\n' | u8-istream-test read - Auto,EUC-JP"
at_fn_check_prepare_notrace 'a shell pipeline' "u8-istream.at:195"
( $at_check_trace; printf 'entr\217\253\261e\n' | u8-istream-test read - Auto,EUC-JP
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "entrée
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/u8-istream.at:195"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1052
#AT_START_1053
at_fn_group_banner 1053 'zip.at:19' \
  "Basic zip - unzip test" "                         " 129
at_xfail=no
(
  $as_echo "1053. $at_setup_line: testing $at_desc ..."
  $at_traceon



{ set +x
$as_echo "$at_srcdir/zip.at:22: here=\`pwd\`
dir1=\$here/original
dir2=\$here/recovered

mkdir -p \$dir1

# Generate files of differing sizes with random data in them
names=\"\"
s=1;
while test \$s -le 8192 ; do
	name=\$dir1/\$s
	dd if=/dev/urandom of=\$name count=1 bs=\$s 2> /dev/null
	s=\$((\$s * 2));
	bn=\`basename \$name\`;
        names=\"\$names \$bn\";
done

(cd \$dir1 && zip-test w foo.zip \$names)


mkdir -p \$dir2
cp \$dir1/foo.zip \$dir2
cd \$dir2
zip-test r foo.zip \$names

# Compare the files to their originals
for f in \$names; do
 diff \$dir1/\$f \$dir2/\$f;
 if test \$? -ne 0 ; then exit 1; fi;
done

exit 0
"
at_fn_check_prepare_notrace 'a `...` command substitution' "zip.at:22"
( $at_check_trace; here=`pwd`
dir1=$here/original
dir2=$here/recovered

mkdir -p $dir1

# Generate files of differing sizes with random data in them
names=""
s=1;
while test $s -le 8192 ; do
	name=$dir1/$s
	dd if=/dev/urandom of=$name count=1 bs=$s 2> /dev/null
	s=$(($s * 2));
	bn=`basename $name`;
        names="$names $bn";
done

(cd $dir1 && zip-test w foo.zip $names)


mkdir -p $dir2
cp $dir1/foo.zip $dir2
cd $dir2
zip-test r foo.zip $names

# Compare the files to their originals
for f in $names; do
 diff $dir1/$f $dir2/$f;
 if test $? -ne 0 ; then exit 1; fi;
done

exit 0

) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/zip.at:22"
$at_failed && at_fn_log_failure
$at_traceon; }



  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1053
#AT_START_1054
at_fn_group_banner 1054 'chart-geometry.at:19' \
  "Chart Scale" "                                    " 130
at_xfail=no
(
  $as_echo "1054. $at_setup_line: testing $at_desc ..."
  $at_traceon

{ set +x
$as_echo "$at_srcdir/chart-geometry.at:20: ../../math/chart-get-scale-test"
at_fn_check_prepare_trace "chart-geometry.at:20"
( $at_check_trace; ../../math/chart-get-scale-test
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/chart-geometry.at:20"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1054
#AT_START_1055
at_fn_group_banner 1055 'chart-geometry.at:23' \
  "Chart Ticks Format" "                             " 130
at_xfail=no
(
  $as_echo "1055. $at_setup_line: testing $at_desc ..."
  $at_traceon

{ set +x
$as_echo "$at_srcdir/chart-geometry.at:24: ../../math/chart-get-ticks-format-test"
at_fn_check_prepare_trace "chart-geometry.at:24"
( $at_check_trace; ../../math/chart-get-ticks-format-test
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "lower: 1000, interval: 10, nticks: 10, fs: %.0lf, scale: 1, ex: 1030, ex 2: 1040
lower: 10000, interval: 10, nticks: 10, fs: %.0lf, scale: 1, ex: 10030, ex 2: 10040
lower: 100000, interval: 10, nticks: 10, fs: %.0lf, scale: 1, ex: 100030, ex 2: 100040
lower: 1e+06, interval: 10, nticks: 10, fs: %.0lf, scale: 1, ex: 1000030, ex 2: 1000040
lower: 1e+07, interval: 10, nticks: 10, fs: %.0lf, scale: 1, ex: 10000030, ex 2: 10000040
lower: 1e+08, interval: 10, nticks: 10, fs: %.0lf, scale: 1, ex: 100000030, ex 2: 100000040
lower: 0.1, interval: 0.01, nticks: 10, fs: %.2lf, scale: 1, ex: 0.13, ex 2: 0.14
lower: 0.01, interval: 0.001, nticks: 10, fs: %.3lf, scale: 1, ex: 0.013, ex 2: 0.014
lower: 0.001, interval: 0.0001, nticks: 10, fs: %.4lf, scale: 1, ex: 0.0013, ex 2: 0.0014
lower: 0.0001, interval: 1e-05, nticks: 10, fs: %.1lf&#215;10<sup>-4</sup>, scale: 10000, ex: 1.3&#215;10<sup>-4</sup>, ex 2: 1.4&#215;10<sup>-4</sup>
lower: 1e-05, interval: 1e-07, nticks: 10, fs: %.2lf&#215;10<sup>-5</sup>, scale: 100000, ex: 1.03&#215;10<sup>-5</sup>, ex 2: 1.04&#215;10<sup>-5</sup>
lower: 1e-07, interval: 1e-08, nticks: 10, fs: %.1lf&#215;10<sup>-7</sup>, scale: 1e+07, ex: 1.3&#215;10<sup>-7</sup>, ex 2: 1.4&#215;10<sup>-7</sup>
lower: -5, interval: 1, nticks: 10, fs: %.0lf, scale: 1, ex: -2, ex 2: -1
lower: -5, interval: 0.5, nticks: 10, fs: %.1lf, scale: 1, ex: -3.5, ex 2: -3.0
lower: -5, interval: 0.2, nticks: 9, fs: %.1lf, scale: 1, ex: -4.4, ex 2: -4.2
lower: -5, interval: 2, nticks: 10, fs: %.0lf, scale: 1, ex: 1, ex 2: 3
lower: -0.5, interval: 0.1, nticks: 9, fs: %.1lf, scale: 1, ex: -0.2, ex 2: -0.1
lower: 9.75e+08, interval: 5e+06, nticks: 9, fs: %.3lf&#215;10<sup>9</sup>, scale: 1e-09, ex: 0.990&#215;10<sup>9</sup>, ex 2: 0.995&#215;10<sup>9</sup>
lower: 9.7e+08, interval: 1e+07, nticks: 9, fs: %.2lf&#215;10<sup>9</sup>, scale: 1e-09, ex: 1.00&#215;10<sup>9</sup>, ex 2: 1.01&#215;10<sup>9</sup>
lower: -4e+07, interval: 1e+07, nticks: 9, fs: %.0lf&#215;10<sup>7</sup>, scale: 1e-07, ex: -1&#215;10<sup>7</sup>, ex 2: 0&#215;10<sup>7</sup>
lower: -3e+07, interval: 5e+06, nticks: 9, fs: %.1lf&#215;10<sup>7</sup>, scale: 1e-07, ex: -1.5&#215;10<sup>7</sup>, ex 2: -1.0&#215;10<sup>7</sup>
lower: 1.001e-95, interval: 2e-99, nticks: 10, fs: %.4lf&#215;10<sup>-95</sup>, scale: 1e+95, ex: 1.0016&#215;10<sup>-95</sup>, ex 2: 1.0018&#215;10<sup>-95</sup>
lower: 1.001e+98, interval: 2e+94, nticks: 10, fs: %.4lf&#215;10<sup>98</sup>, scale: 1e-98, ex: 1.0016&#215;10<sup>98</sup>, ex 2: 1.0018&#215;10<sup>98</sup>
lower: 5984, interval: 1e-05, nticks: 10, fs: %.5lf, scale: 1, ex: 5984.00003, ex 2: 5984.00004
lower: 3e+33, interval: 1e-22, nticks: 10, fs: %lg, scale: 1, ex: 3e+33, ex 2: 3e+33
lower: 3e+33, interval: 1000, nticks: 10, fs: %.8lf&#215;10<sup>33</sup>, scale: 1e-33, ex: 3.00000000&#215;10<sup>33</sup>, ex 2: 3.00000000&#215;10<sup>33</sup>
lower: 0.1, interval: 2e-42, nticks: 10, fs: %.8lf, scale: 1, ex: 0.10000000, ex 2: 0.10000000
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/chart-geometry.at:24"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1055
#AT_START_1056
at_fn_group_banner 1056 'moments.at:44' \
  "two-pass moments" "                               " 131
at_xfail=no
(
  $as_echo "1056. $at_setup_line: testing $at_desc ..."
  $at_traceon


   cat >moments.sps <<'_ATEOF'
DEBUG MOMENTS /1 2 3 4.
DEBUG MOMENTS /1*5 2*5 3*5 4*5.
DEBUG MOMENTS /1*1 2*2 3*3 4*4.
DEBUG MOMENTS /1*0.
DEBUG MOMENTS /1*1.
DEBUG MOMENTS /1*2.
DEBUG MOMENTS /1*3.
DEBUG MOMENTS /1*2 3.
DEBUG MOMENTS /1 1.00000001.
DEBUG MOMENTS /1000001 1000002 1000003 1000004.
_ATEOF

   { set +x
$as_echo "$at_srcdir/moments.at:44: pspp --testing-mode --no-output moments.sps"
at_fn_check_prepare_trace "moments.at:44"
( $at_check_trace; pspp --testing-mode --no-output moments.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo >>"$at_stderr"; $as_echo "W=4.000 M1=2.500 M2=1.667 M3=0.000 M4=-1.200
W=20.000 M1=2.500 M2=1.316 M3=0.000 M4=-1.401
W=10.000 M1=3.000 M2=1.111 M3=-0.712 M4=-0.450
W=0.000 M1=sysmis M2=sysmis M3=sysmis M4=sysmis
W=1.000 M1=1.000 M2=sysmis M3=sysmis M4=sysmis
W=2.000 M1=1.000 M2=0.000 M3=sysmis M4=sysmis
W=3.000 M1=1.000 M2=0.000 M3=sysmis M4=sysmis
W=3.000 M1=1.667 M2=1.333 M3=1.732 M4=sysmis
W=2.000 M1=1.000 M2=0.000 M3=sysmis M4=sysmis
W=4.000 M1=1000002.500 M2=1.667 M3=0.000 M4=-1.200
" | \
  $at_diff - "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/moments.at:44"
$at_failed && at_fn_log_failure  \
"moments.sps"
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1056
#AT_START_1057
at_fn_group_banner 1057 'moments.at:45' \
  "one-pass moments" "                               " 131
at_xfail=no
(
  $as_echo "1057. $at_setup_line: testing $at_desc ..."
  $at_traceon


   cat >moments.sps <<'_ATEOF'
DEBUG MOMENTS ONEPASS/1 2 3 4.
DEBUG MOMENTS ONEPASS/1*5 2*5 3*5 4*5.
DEBUG MOMENTS ONEPASS/1*1 2*2 3*3 4*4.
DEBUG MOMENTS ONEPASS/1*0.
DEBUG MOMENTS ONEPASS/1*1.
DEBUG MOMENTS ONEPASS/1*2.
DEBUG MOMENTS ONEPASS/1*3.
DEBUG MOMENTS ONEPASS/1*2 3.
DEBUG MOMENTS ONEPASS/1 1.00000001.
DEBUG MOMENTS ONEPASS/1000001 1000002 1000003 1000004.
_ATEOF

   { set +x
$as_echo "$at_srcdir/moments.at:45: pspp --testing-mode --no-output moments.sps"
at_fn_check_prepare_trace "moments.at:45"
( $at_check_trace; pspp --testing-mode --no-output moments.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo >>"$at_stderr"; $as_echo "W=4.000 M1=2.500 M2=1.667 M3=0.000 M4=-1.200
W=20.000 M1=2.500 M2=1.316 M3=0.000 M4=-1.401
W=10.000 M1=3.000 M2=1.111 M3=-0.712 M4=-0.450
W=0.000 M1=sysmis M2=sysmis M3=sysmis M4=sysmis
W=1.000 M1=1.000 M2=sysmis M3=sysmis M4=sysmis
W=2.000 M1=1.000 M2=0.000 M3=sysmis M4=sysmis
W=3.000 M1=1.000 M2=0.000 M3=sysmis M4=sysmis
W=3.000 M1=1.667 M2=1.333 M3=1.732 M4=sysmis
W=2.000 M1=1.000 M2=0.000 M3=sysmis M4=sysmis
W=4.000 M1=1000002.500 M2=1.667 M3=0.000 M4=-1.200
" | \
  $at_diff - "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/moments.at:45"
$at_failed && at_fn_log_failure  \
"moments.sps"
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1057
#AT_START_1058
at_fn_group_banner 1058 'randist.at:102' \
  "random distributions -- beta" "                   " 132
at_xfail=no
(
  $as_echo "1058. $at_setup_line: testing $at_desc ..."
  $at_traceon

   randist_compare
   cat >beta.in <<'_ATEOF'
       P        a        b          x        cdf        pdf
     .01      .75      .25      .0107      .0100      .7059
     .01      .75      .50      .0047      .0100     1.5975
     .01      .75     1.00      .0022      .0100     3.4812
     .01      .75     1.50      .0014      .0100     5.4014
     .01      .75     2.00      .0010      .0100     7.3328
     .01      .75     2.50      .0008      .0100     9.2691
     .01      .75     3.00      .0007      .0100    11.2077
     .01     1.00      .25      .0394      .0100      .2577
     .01     1.00      .50      .0199      .0100      .5051
     .01     1.00     1.00      .0100      .0100     1.0000
     .01     1.00     1.50      .0067      .0100     1.4950
     .01     1.00     2.00      .0050      .0100     1.9900
     .01     1.00     2.50      .0040      .0100     2.4850
     .01     1.00     3.00      .0033      .0100     2.9800
     .01     1.50      .25      .1343      .0100      .1168
     .01     1.50      .50      .0808      .0100      .1888
     .01     1.50     1.00      .0464      .0100      .3232
     .01     1.50     1.50      .0328      .0100      .4538
     .01     1.50     2.00      .0255      .0100      .5831
     .01     1.50     2.50      .0208      .0100      .7118
     .01     1.50     3.00      .0176      .0100      .8402
     .10      .75      .25      .2094      .1000      .3968
     .10      .75      .50      .0985      .1000      .7845
     .10      .75     1.00      .0464      .1000     1.6158
     .10      .75     1.50      .0302      .1000     2.4656
     .10      .75     2.00      .0223      .1000     3.3210
     .10      .75     2.50      .0177      .1000     4.1787
     .10      .75     3.00      .0146      .1000     5.0376
     .10     1.00      .25      .3439      .1000      .3429
     .10     1.00      .50      .1900      .1000      .5556
     .10     1.00     1.00      .1000      .1000     1.0000
     .10     1.00     1.50      .0678      .1000     1.4482
     .10     1.00     2.00      .0513      .1000     1.8974
     .10     1.00     2.50      .0413      .1000     2.3469
     .10     1.00     3.00      .0345      .1000     2.7965
     .10     1.50      .25      .5280      .1000      .3650
     .10     1.50      .50      .3514      .1000      .4685
     .10     1.50     1.00      .2154      .1000      .6962
     .10     1.50     1.50      .1565      .1000      .9252
     .10     1.50     2.00      .1231      .1000     1.1537
     .10     1.50     2.50      .1015      .1000     1.3821
     .10     1.50     3.00      .0864      .1000     1.6102
     .20      .75      .25      .4559      .2000      .4324
     .20      .75      .50      .2372      .2000      .6847
     .20      .75     1.00      .1170      .2000     1.2825
     .20      .75     1.50      .0770      .2000     1.9025
     .20      .75     2.00      .0573      .2000     2.5285
     .20      .75     2.50      .0456      .2000     3.1569
     .20      .75     3.00      .0379      .2000     3.7865
     .20     1.00      .25      .5904      .2000      .4883
     .20     1.00      .50      .3600      .2000      .6250
     .20     1.00     1.00      .2000      .2000     1.0000
     .20     1.00     1.50      .1382      .2000     1.3925
     .20     1.00     2.00      .1056      .2000     1.7889
     .20     1.00     2.50      .0854      .2000     2.1867
     .20     1.00     3.00      .0717      .2000     2.5853
     .20     1.50      .25      .7324      .2000      .6579
     .20     1.50      .50      .5280      .2000      .6733
     .20     1.50     1.00      .3420      .2000      .8772
     .20     1.50     1.50      .2541      .2000     1.1086
     .20     1.50     2.00      .2024      .2000     1.3456
     .20     1.50     2.50      .1683      .2000     1.5847
     .20     1.50     3.00      .1441      .2000     1.8249
     .30      .75      .25      .6615      .3000      .5624
     .30      .75      .50      .3852      .3000      .6756
     .30      .75     1.00      .2008      .3000     1.1204
     .30      .75     1.50      .1346      .3000     1.6023
     .30      .75     2.00      .1010      .3000     2.0929
     .30      .75     2.50      .0808      .3000     2.5868
     .30      .75     3.00      .0673      .3000     3.0823
     .30     1.00      .25      .7599      .3000      .7289
     .30     1.00      .50      .5100      .3000      .7143
     .30     1.00     1.00      .3000      .3000     1.0000
     .30     1.00     1.50      .2116      .3000     1.3319
     .30     1.00     2.00      .1633      .3000     1.6733
     .30     1.00     2.50      .1330      .3000     2.0184
     .30     1.00     3.00      .1121      .3000     2.3651
     .30     1.50      .25      .8510      .3000     1.1004
     .30     1.50      .50      .6576      .3000      .8823
     .30     1.50     1.00      .4481      .3000     1.0041
     .30     1.50     1.50      .3402      .3000     1.2064
     .30     1.50     2.00      .2743      .3000     1.4253
     .30     1.50     2.50      .2298      .3000     1.6503
     .30     1.50     3.00      .1978      .3000     1.8782
     .40      .75      .25      .8106      .4000      .8261
     .40      .75      .50      .5300      .4000      .7134
     .40      .75     1.00      .2947      .4000     1.0179
     .40      .75     1.50      .2017      .4000     1.3908
     .40      .75     2.00      .1530      .4000     1.7776
     .40      .75     2.50      .1231      .4000     2.1695
     .40      .75     3.00      .1029      .4000     2.5638
     .40     1.00      .25      .8704      .4000     1.1574
     .40     1.00      .50      .6400      .4000      .8333
     .40     1.00     1.00      .4000      .4000     1.0000
     .40     1.00     1.50      .2886      .4000     1.2651
     .40     1.00     2.00      .2254      .4000     1.5492
     .40     1.00     2.50      .1848      .4000     1.8401
     .40     1.00     3.00      .1566      .4000     2.1341
     .40     1.50      .25      .9219      .4000     1.8596
     .40     1.50      .50      .7581      .4000     1.1269
     .40     1.50     1.00      .5429      .4000     1.1052
     .40     1.50     1.50      .4211      .4000     1.2573
     .40     1.50     2.00      .3438      .4000     1.4428
     .40     1.50     2.50      .2904      .4000     1.6405
     .40     1.50     3.00      .2514      .4000     1.8440
     .50      .75      .25      .9067      .5000     1.3662
     .50      .75      .50      .6633      .5000      .7969
     .50      .75     1.00      .3969      .5000      .9449
     .50      .75     1.50      .2786      .5000     1.2197
     .50      .75     2.00      .2139      .5000     1.5170
     .50      .75     2.50      .1734      .5000     1.8224
     .50      .75     3.00      .1458      .5000     2.1314
     .50     1.00      .25      .9375      .5000     2.0000
     .50     1.00      .50      .7500      .5000     1.0000
     .50     1.00     1.00      .5000      .5000     1.0000
     .50     1.00     1.50      .3700      .5000     1.1906
     .50     1.00     2.00      .2929      .5000     1.4142
     .50     1.00     2.50      .2421      .5000     1.6494
     .50     1.00     3.00      .2063      .5000     1.8899
     .50     1.50      .25      .9630      .5000     3.3258
     .50     1.50      .50      .8368      .5000     1.4416
     .50     1.50     1.00      .6300      .5000     1.1906
     .50     1.50     1.50      .5000      .5000     1.2732
     .50     1.50     2.00      .4136      .5000     1.4142
     .50     1.50     2.50      .3525      .5000     1.5755
     .50     1.50     3.00      .3069      .5000     1.7464
     .60      .75      .25      .9613      .6000     2.6072
     .60      .75      .50      .7793      .6000      .9454
     .60      .75     1.00      .5061      .6000      .8892
     .60      .75     1.50      .3662      .6000     1.0676
     .60      .75     2.00      .2856      .6000     1.2826
     .60      .75     2.50      .2337      .6000     1.5099
     .60      .75     3.00      .1976      .6000     1.7426
     .60     1.00      .25      .9744      .6000     3.9063
     .60     1.00      .50      .8400      .6000     1.2500
     .60     1.00     1.00      .6000      .6000     1.0000
     .60     1.00     1.50      .4571      .6000     1.1052
     .60     1.00     2.00      .3675      .6000     1.2649
     .60     1.00     2.50      .3069      .6000     1.4427
     .60     1.00     3.00      .2632      .6000     1.6287
     .60     1.50      .25      .9850      .6000     6.6134
     .60     1.50      .50      .8978      .6000     1.8869
     .60     1.50     1.00      .7114      .6000     1.2651
     .60     1.50     1.50      .5789      .6000     1.2573
     .60     1.50     2.00      .4860      .6000     1.3438
     .60     1.50     2.50      .4182      .6000     1.4617
     .60     1.50     3.00      .3667      .6000     1.5938
     .70      .75      .25      .9877      .7000     6.1137
     .70      .75      .50      .8736      .7000     1.2142
     .70      .75     1.00      .6215      .7000      .8447
     .70      .75     1.50      .4670      .7000      .9214
     .70      .75     2.00      .3714      .7000     1.0570
     .70      .75     2.50      .3075      .7000     1.2110
     .70      .75     3.00      .2622      .7000     1.3731
     .70     1.00      .25      .9919      .7000     9.2593
     .70     1.00      .50      .9100      .7000     1.6667
     .70     1.00     1.00      .7000      .7000     1.0000
     .70     1.00     1.50      .5519      .7000     1.0041
     .70     1.00     2.00      .4523      .7000     1.0954
     .70     1.00     2.50      .3822      .7000     1.2140
     .70     1.00     3.00      .3306      .7000     1.3444
     .70     1.50      .25      .9953      .7000    15.8068
     .70     1.50      .50      .9434      .7000     2.5994
     .70     1.50     1.00      .7884      .7000     1.3319
     .70     1.50     1.50      .6598      .7000     1.2064
     .70     1.50     2.00      .5635      .7000     1.2287
     .70     1.50     2.50      .4905      .7000     1.2972
     .70     1.50     3.00      .4337      .7000     1.3859
     .80      .75      .25      .9976      .8000    20.5520
     .80      .75      .50      .9431      .8000     1.7757
     .80      .75     1.00      .7427      .8000      .8079
     .80      .75     1.50      .5855      .8000      .7679
     .80      .75     2.00      .4781      .8000      .8238
     .80      .75     2.50      .4025      .8000      .9075
     .80      .75     3.00      .3469      .8000     1.0028
     .80     1.00      .25      .9984      .8000    31.2500
     .80     1.00      .50      .9600      .8000     2.5000
     .80     1.00     1.00      .8000      .8000     1.0000
     .80     1.00     1.50      .6580      .8000      .8772
     .80     1.00     2.00      .5528      .8000      .8944
     .80     1.00     2.50      .4747      .8000      .9518
     .80     1.00     3.00      .4152      .8000     1.0260
     .80     1.50      .25      .9991      .8000    53.5108
     .80     1.50      .50      .9751      .8000     3.9855
     .80     1.50     1.00      .8618      .8000     1.3925
     .80     1.50     1.50      .7459      .8000     1.1086
     .80     1.50     2.00      .6508      .8000     1.0564
     .80     1.50     2.50      .5748      .8000     1.0706
     .80     1.50     3.00      .5137      .8000     1.1124
     .90      .75      .25      .9998      .9000   164.2657
     .90      .75      .50      .9857      .9000     3.4998
     .90      .75     1.00      .8689      .9000      .7768
     .90      .75     1.50      .7336      .9000      .5818
     .90      .75     2.00      .6239      .9000      .5555
     .90      .75     2.50      .5392      .9000      .5712
     .90      .75     3.00      .4734      .9000      .6033
     .90     1.00      .25      .9999      .9000   250.0000
     .90     1.00      .50      .9900      .9000     5.0000
     .90     1.00     1.00      .9000      .9000     1.0000
     .90     1.00     1.50      .7846      .9000      .6962
     .90     1.00     2.00      .6838      .9000      .6325
     .90     1.00     2.50      .6019      .9000      .6280
     .90     1.00     3.00      .5358      .9000      .6463
     .90     1.50      .25      .9999      .9000   428.3866
     .90     1.50      .50      .9938      .9000     8.0723
     .90     1.50     1.00      .9322      .9000     1.4482
     .90     1.50     1.50      .8435      .9000      .9252
     .90     1.50     2.00      .7586      .9000      .7883
     .90     1.50     2.50      .6847      .9000      .7461
     .90     1.50     3.00      .6218      .9000      .7400
     .99      .75      .25     1.0000      .9900 164255.717
     .99      .75      .50      .9999      .9900    34.8318
     .99      .75     1.00      .9867      .9900      .7525
     .99      .75     1.50      .9412      .9900      .2568
     .99      .75     2.00      .8779      .9900      .1656
     .99      .75     2.50      .8116      .9900      .1348
     .99      .75     3.00      .7492      .9900      .1220
     .99     1.00      .25     1.0000      .9900 249999.999
     .99     1.00      .50      .9999      .9900    50.0000
     .99     1.00     1.00      .9900      .9900     1.0000
     .99     1.00     1.50      .9536      .9900      .3232
     .99     1.00     2.00      .9000      .9900      .2000
     .99     1.00     2.50      .8415      .9900      .1577
     .99     1.00     3.00      .7846      .9900      .1392
     .99     1.50      .25     1.0000      .9900 428406.592
     .99     1.50      .50      .9999      .9900    81.0536
     .99     1.50     1.00      .9933      .9900     1.4950
     .99     1.50     1.50      .9672      .9900      .4538
     .99     1.50     2.00      .9260      .9900      .2669
     .99     1.50     2.50      .8786      .9900      .2020
     .99     1.50     3.00      .8302      .9900      .1724
_ATEOF

   cat >beta.sps <<'_ATEOF'
DATA LIST LIST FILE='beta.in' NOTABLE SKIP=1
	/P a b Xx Xcdf Xpdf.
NUMERIC x cdf pdf (F10.4).
COMPUTE x = IDF.beta(P, a, b).
COMPUTE cdf = cdf.beta(x, a, b).
COMPUTE pdf = pdf.beta(x, a, b).
DO IF $CASENUM = 1.
PRINT OUTFILE='beta.out'/"       P        a        b          x        cdf        pdf ".
END IF.
PRINT OUTFILE='beta.out'/P a b x cdf pdf.
EXECUTE.
_ATEOF

   { set +x
$as_echo "$at_srcdir/randist.at:102: pspp -O format=csv beta.sps"
at_fn_check_prepare_trace "randist.at:102"
( $at_check_trace; pspp -O format=csv beta.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/randist.at:102"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/randist.at:102: \$PERL compare.pl beta.in beta.out"
at_fn_check_prepare_dynamic "$PERL compare.pl beta.in beta.out" "randist.at:102"
( $at_check_trace; $PERL compare.pl beta.in beta.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/randist.at:102"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1058
#AT_START_1059
at_fn_group_banner 1059 'randist.at:337' \
  "random distributions -- cauchy" "                 " 132
at_xfail=no
(
  $as_echo "1059. $at_setup_line: testing $at_desc ..."
  $at_traceon

   randist_compare
   cat >cauchy.in <<'_ATEOF'
       P        a        b          x        cdf        pdf
     .01    -5.00      .50   -20.9103      .0100      .0006
     .01    -5.00      .75   -28.8654      .0100      .0004
     .01    -5.00     1.00   -36.8205      .0100      .0003
     .01    -5.00     1.25   -44.7756      .0100      .0003
     .01    -5.00     1.50   -52.7308      .0100      .0002
     .01    -4.00      .50   -19.9103      .0100      .0006
     .01    -4.00      .75   -27.8654      .0100      .0004
     .01    -4.00     1.00   -35.8205      .0100      .0003
     .01    -4.00     1.25   -43.7756      .0100      .0003
     .01    -4.00     1.50   -51.7308      .0100      .0002
     .01    -3.00      .50   -18.9103      .0100      .0006
     .01    -3.00      .75   -26.8654      .0100      .0004
     .01    -3.00     1.00   -34.8205      .0100      .0003
     .01    -3.00     1.25   -42.7756      .0100      .0003
     .01    -3.00     1.50   -50.7308      .0100      .0002
     .01    -2.00      .50   -17.9103      .0100      .0006
     .01    -2.00      .75   -25.8654      .0100      .0004
     .01    -2.00     1.00   -33.8205      .0100      .0003
     .01    -2.00     1.25   -41.7756      .0100      .0003
     .01    -2.00     1.50   -49.7308      .0100      .0002
     .01    -1.00      .50   -16.9103      .0100      .0006
     .01    -1.00      .75   -24.8654      .0100      .0004
     .01    -1.00     1.00   -32.8205      .0100      .0003
     .01    -1.00     1.25   -40.7756      .0100      .0003
     .01    -1.00     1.50   -48.7308      .0100      .0002
     .01      .00      .50   -15.9103      .0100      .0006
     .01      .00      .75   -23.8654      .0100      .0004
     .01      .00     1.00   -31.8205      .0100      .0003
     .01      .00     1.25   -39.7756      .0100      .0003
     .01      .00     1.50   -47.7308      .0100      .0002
     .01     1.00      .50   -14.9103      .0100      .0006
     .01     1.00      .75   -22.8654      .0100      .0004
     .01     1.00     1.00   -30.8205      .0100      .0003
     .01     1.00     1.25   -38.7756      .0100      .0003
     .01     1.00     1.50   -46.7308      .0100      .0002
     .01     2.00      .50   -13.9103      .0100      .0006
     .01     2.00      .75   -21.8654      .0100      .0004
     .01     2.00     1.00   -29.8205      .0100      .0003
     .01     2.00     1.25   -37.7756      .0100      .0003
     .01     2.00     1.50   -45.7308      .0100      .0002
     .01     3.00      .50   -12.9103      .0100      .0006
     .01     3.00      .75   -20.8654      .0100      .0004
     .01     3.00     1.00   -28.8205      .0100      .0003
     .01     3.00     1.25   -36.7756      .0100      .0003
     .01     3.00     1.50   -44.7308      .0100      .0002
     .01     4.00      .50   -11.9103      .0100      .0006
     .01     4.00      .75   -19.8654      .0100      .0004
     .01     4.00     1.00   -27.8205      .0100      .0003
     .01     4.00     1.25   -35.7756      .0100      .0003
     .01     4.00     1.50   -43.7308      .0100      .0002
     .01     5.00      .50   -10.9103      .0100      .0006
     .01     5.00      .75   -18.8654      .0100      .0004
     .01     5.00     1.00   -26.8205      .0100      .0003
     .01     5.00     1.25   -34.7756      .0100      .0003
     .01     5.00     1.50   -42.7308      .0100      .0002
     .10    -5.00      .50    -6.5388      .1000      .0608
     .10    -5.00      .75    -7.3083      .1000      .0405
     .10    -5.00     1.00    -8.0777      .1000      .0304
     .10    -5.00     1.25    -8.8471      .1000      .0243
     .10    -5.00     1.50    -9.6165      .1000      .0203
     .10    -4.00      .50    -5.5388      .1000      .0608
     .10    -4.00      .75    -6.3083      .1000      .0405
     .10    -4.00     1.00    -7.0777      .1000      .0304
     .10    -4.00     1.25    -7.8471      .1000      .0243
     .10    -4.00     1.50    -8.6165      .1000      .0203
     .10    -3.00      .50    -4.5388      .1000      .0608
     .10    -3.00      .75    -5.3083      .1000      .0405
     .10    -3.00     1.00    -6.0777      .1000      .0304
     .10    -3.00     1.25    -6.8471      .1000      .0243
     .10    -3.00     1.50    -7.6165      .1000      .0203
     .10    -2.00      .50    -3.5388      .1000      .0608
     .10    -2.00      .75    -4.3083      .1000      .0405
     .10    -2.00     1.00    -5.0777      .1000      .0304
     .10    -2.00     1.25    -5.8471      .1000      .0243
     .10    -2.00     1.50    -6.6165      .1000      .0203
     .10    -1.00      .50    -2.5388      .1000      .0608
     .10    -1.00      .75    -3.3083      .1000      .0405
     .10    -1.00     1.00    -4.0777      .1000      .0304
     .10    -1.00     1.25    -4.8471      .1000      .0243
     .10    -1.00     1.50    -5.6165      .1000      .0203
     .10      .00      .50    -1.5388      .1000      .0608
     .10      .00      .75    -2.3083      .1000      .0405
     .10      .00     1.00    -3.0777      .1000      .0304
     .10      .00     1.25    -3.8471      .1000      .0243
     .10      .00     1.50    -4.6165      .1000      .0203
     .10     1.00      .50     -.5388      .1000      .0608
     .10     1.00      .75    -1.3083      .1000      .0405
     .10     1.00     1.00    -2.0777      .1000      .0304
     .10     1.00     1.25    -2.8471      .1000      .0243
     .10     1.00     1.50    -3.6165      .1000      .0203
     .10     2.00      .50      .4612      .1000      .0608
     .10     2.00      .75     -.3083      .1000      .0405
     .10     2.00     1.00    -1.0777      .1000      .0304
     .10     2.00     1.25    -1.8471      .1000      .0243
     .10     2.00     1.50    -2.6165      .1000      .0203
     .10     3.00      .50     1.4612      .1000      .0608
     .10     3.00      .75      .6917      .1000      .0405
     .10     3.00     1.00     -.0777      .1000      .0304
     .10     3.00     1.25     -.8471      .1000      .0243
     .10     3.00     1.50    -1.6165      .1000      .0203
     .10     4.00      .50     2.4612      .1000      .0608
     .10     4.00      .75     1.6917      .1000      .0405
     .10     4.00     1.00      .9223      .1000      .0304
     .10     4.00     1.25      .1529      .1000      .0243
     .10     4.00     1.50     -.6165      .1000      .0203
     .10     5.00      .50     3.4612      .1000      .0608
     .10     5.00      .75     2.6917      .1000      .0405
     .10     5.00     1.00     1.9223      .1000      .0304
     .10     5.00     1.25     1.1529      .1000      .0243
     .10     5.00     1.50      .3835      .1000      .0203
     .20    -5.00      .50    -5.6882      .2000      .2199
     .20    -5.00      .75    -6.0323      .2000      .1466
     .20    -5.00     1.00    -6.3764      .2000      .1100
     .20    -5.00     1.25    -6.7205      .2000      .0880
     .20    -5.00     1.50    -7.0646      .2000      .0733
     .20    -4.00      .50    -4.6882      .2000      .2199
     .20    -4.00      .75    -5.0323      .2000      .1466
     .20    -4.00     1.00    -5.3764      .2000      .1100
     .20    -4.00     1.25    -5.7205      .2000      .0880
     .20    -4.00     1.50    -6.0646      .2000      .0733
     .20    -3.00      .50    -3.6882      .2000      .2199
     .20    -3.00      .75    -4.0323      .2000      .1466
     .20    -3.00     1.00    -4.3764      .2000      .1100
     .20    -3.00     1.25    -4.7205      .2000      .0880
     .20    -3.00     1.50    -5.0646      .2000      .0733
     .20    -2.00      .50    -2.6882      .2000      .2199
     .20    -2.00      .75    -3.0323      .2000      .1466
     .20    -2.00     1.00    -3.3764      .2000      .1100
     .20    -2.00     1.25    -3.7205      .2000      .0880
     .20    -2.00     1.50    -4.0646      .2000      .0733
     .20    -1.00      .50    -1.6882      .2000      .2199
     .20    -1.00      .75    -2.0323      .2000      .1466
     .20    -1.00     1.00    -2.3764      .2000      .1100
     .20    -1.00     1.25    -2.7205      .2000      .0880
     .20    -1.00     1.50    -3.0646      .2000      .0733
     .20      .00      .50     -.6882      .2000      .2199
     .20      .00      .75    -1.0323      .2000      .1466
     .20      .00     1.00    -1.3764      .2000      .1100
     .20      .00     1.25    -1.7205      .2000      .0880
     .20      .00     1.50    -2.0646      .2000      .0733
     .20     1.00      .50      .3118      .2000      .2199
     .20     1.00      .75     -.0323      .2000      .1466
     .20     1.00     1.00     -.3764      .2000      .1100
     .20     1.00     1.25     -.7205      .2000      .0880
     .20     1.00     1.50    -1.0646      .2000      .0733
     .20     2.00      .50     1.3118      .2000      .2199
     .20     2.00      .75      .9677      .2000      .1466
     .20     2.00     1.00      .6236      .2000      .1100
     .20     2.00     1.25      .2795      .2000      .0880
     .20     2.00     1.50     -.0646      .2000      .0733
     .20     3.00      .50     2.3118      .2000      .2199
     .20     3.00      .75     1.9677      .2000      .1466
     .20     3.00     1.00     1.6236      .2000      .1100
     .20     3.00     1.25     1.2795      .2000      .0880
     .20     3.00     1.50      .9354      .2000      .0733
     .20     4.00      .50     3.3118      .2000      .2199
     .20     4.00      .75     2.9677      .2000      .1466
     .20     4.00     1.00     2.6236      .2000      .1100
     .20     4.00     1.25     2.2795      .2000      .0880
     .20     4.00     1.50     1.9354      .2000      .0733
     .20     5.00      .50     4.3118      .2000      .2199
     .20     5.00      .75     3.9677      .2000      .1466
     .20     5.00     1.00     3.6236      .2000      .1100
     .20     5.00     1.25     3.2795      .2000      .0880
     .20     5.00     1.50     2.9354      .2000      .0733
     .30    -5.00      .50    -5.3633      .3000      .4167
     .30    -5.00      .75    -5.5449      .3000      .2778
     .30    -5.00     1.00    -5.7265      .3000      .2083
     .30    -5.00     1.25    -5.9082      .3000      .1667
     .30    -5.00     1.50    -6.0898      .3000      .1389
     .30    -4.00      .50    -4.3633      .3000      .4167
     .30    -4.00      .75    -4.5449      .3000      .2778
     .30    -4.00     1.00    -4.7265      .3000      .2083
     .30    -4.00     1.25    -4.9082      .3000      .1667
     .30    -4.00     1.50    -5.0898      .3000      .1389
     .30    -3.00      .50    -3.3633      .3000      .4167
     .30    -3.00      .75    -3.5449      .3000      .2778
     .30    -3.00     1.00    -3.7265      .3000      .2083
     .30    -3.00     1.25    -3.9082      .3000      .1667
     .30    -3.00     1.50    -4.0898      .3000      .1389
     .30    -2.00      .50    -2.3633      .3000      .4167
     .30    -2.00      .75    -2.5449      .3000      .2778
     .30    -2.00     1.00    -2.7265      .3000      .2083
     .30    -2.00     1.25    -2.9082      .3000      .1667
     .30    -2.00     1.50    -3.0898      .3000      .1389
     .30    -1.00      .50    -1.3633      .3000      .4167
     .30    -1.00      .75    -1.5449      .3000      .2778
     .30    -1.00     1.00    -1.7265      .3000      .2083
     .30    -1.00     1.25    -1.9082      .3000      .1667
     .30    -1.00     1.50    -2.0898      .3000      .1389
     .30      .00      .50     -.3633      .3000      .4167
     .30      .00      .75     -.5449      .3000      .2778
     .30      .00     1.00     -.7265      .3000      .2083
     .30      .00     1.25     -.9082      .3000      .1667
     .30      .00     1.50    -1.0898      .3000      .1389
     .30     1.00      .50      .6367      .3000      .4167
     .30     1.00      .75      .4551      .3000      .2778
     .30     1.00     1.00      .2735      .3000      .2083
     .30     1.00     1.25      .0918      .3000      .1667
     .30     1.00     1.50     -.0898      .3000      .1389
     .30     2.00      .50     1.6367      .3000      .4167
     .30     2.00      .75     1.4551      .3000      .2778
     .30     2.00     1.00     1.2735      .3000      .2083
     .30     2.00     1.25     1.0918      .3000      .1667
     .30     2.00     1.50      .9102      .3000      .1389
     .30     3.00      .50     2.6367      .3000      .4167
     .30     3.00      .75     2.4551      .3000      .2778
     .30     3.00     1.00     2.2735      .3000      .2083
     .30     3.00     1.25     2.0918      .3000      .1667
     .30     3.00     1.50     1.9102      .3000      .1389
     .30     4.00      .50     3.6367      .3000      .4167
     .30     4.00      .75     3.4551      .3000      .2778
     .30     4.00     1.00     3.2735      .3000      .2083
     .30     4.00     1.25     3.0918      .3000      .1667
     .30     4.00     1.50     2.9102      .3000      .1389
     .30     5.00      .50     4.6367      .3000      .4167
     .30     5.00      .75     4.4551      .3000      .2778
     .30     5.00     1.00     4.2735      .3000      .2083
     .30     5.00     1.25     4.0918      .3000      .1667
     .30     5.00     1.50     3.9102      .3000      .1389
     .40    -5.00      .50    -5.1625      .4000      .5758
     .40    -5.00      .75    -5.2437      .4000      .3839
     .40    -5.00     1.00    -5.3249      .4000      .2879
     .40    -5.00     1.25    -5.4061      .4000      .2303
     .40    -5.00     1.50    -5.4874      .4000      .1919
     .40    -4.00      .50    -4.1625      .4000      .5758
     .40    -4.00      .75    -4.2437      .4000      .3839
     .40    -4.00     1.00    -4.3249      .4000      .2879
     .40    -4.00     1.25    -4.4061      .4000      .2303
     .40    -4.00     1.50    -4.4874      .4000      .1919
     .40    -3.00      .50    -3.1625      .4000      .5758
     .40    -3.00      .75    -3.2437      .4000      .3839
     .40    -3.00     1.00    -3.3249      .4000      .2879
     .40    -3.00     1.25    -3.4061      .4000      .2303
     .40    -3.00     1.50    -3.4874      .4000      .1919
     .40    -2.00      .50    -2.1625      .4000      .5758
     .40    -2.00      .75    -2.2437      .4000      .3839
     .40    -2.00     1.00    -2.3249      .4000      .2879
     .40    -2.00     1.25    -2.4061      .4000      .2303
     .40    -2.00     1.50    -2.4874      .4000      .1919
     .40    -1.00      .50    -1.1625      .4000      .5758
     .40    -1.00      .75    -1.2437      .4000      .3839
     .40    -1.00     1.00    -1.3249      .4000      .2879
     .40    -1.00     1.25    -1.4061      .4000      .2303
     .40    -1.00     1.50    -1.4874      .4000      .1919
     .40      .00      .50     -.1625      .4000      .5758
     .40      .00      .75     -.2437      .4000      .3839
     .40      .00     1.00     -.3249      .4000      .2879
     .40      .00     1.25     -.4061      .4000      .2303
     .40      .00     1.50     -.4874      .4000      .1919
     .40     1.00      .50      .8375      .4000      .5758
     .40     1.00      .75      .7563      .4000      .3839
     .40     1.00     1.00      .6751      .4000      .2879
     .40     1.00     1.25      .5939      .4000      .2303
     .40     1.00     1.50      .5126      .4000      .1919
     .40     2.00      .50     1.8375      .4000      .5758
     .40     2.00      .75     1.7563      .4000      .3839
     .40     2.00     1.00     1.6751      .4000      .2879
     .40     2.00     1.25     1.5939      .4000      .2303
     .40     2.00     1.50     1.5126      .4000      .1919
     .40     3.00      .50     2.8375      .4000      .5758
     .40     3.00      .75     2.7563      .4000      .3839
     .40     3.00     1.00     2.6751      .4000      .2879
     .40     3.00     1.25     2.5939      .4000      .2303
     .40     3.00     1.50     2.5126      .4000      .1919
     .40     4.00      .50     3.8375      .4000      .5758
     .40     4.00      .75     3.7563      .4000      .3839
     .40     4.00     1.00     3.6751      .4000      .2879
     .40     4.00     1.25     3.5939      .4000      .2303
     .40     4.00     1.50     3.5126      .4000      .1919
     .40     5.00      .50     4.8375      .4000      .5758
     .40     5.00      .75     4.7563      .4000      .3839
     .40     5.00     1.00     4.6751      .4000      .2879
     .40     5.00     1.25     4.5939      .4000      .2303
     .40     5.00     1.50     4.5126      .4000      .1919
     .50    -5.00      .50    -5.0000      .5000      .6366
     .50    -5.00      .75    -5.0000      .5000      .4244
     .50    -5.00     1.00    -5.0000      .5000      .3183
     .50    -5.00     1.25    -5.0000      .5000      .2546
     .50    -5.00     1.50    -5.0000      .5000      .2122
     .50    -4.00      .50    -4.0000      .5000      .6366
     .50    -4.00      .75    -4.0000      .5000      .4244
     .50    -4.00     1.00    -4.0000      .5000      .3183
     .50    -4.00     1.25    -4.0000      .5000      .2546
     .50    -4.00     1.50    -4.0000      .5000      .2122
     .50    -3.00      .50    -3.0000      .5000      .6366
     .50    -3.00      .75    -3.0000      .5000      .4244
     .50    -3.00     1.00    -3.0000      .5000      .3183
     .50    -3.00     1.25    -3.0000      .5000      .2546
     .50    -3.00     1.50    -3.0000      .5000      .2122
     .50    -2.00      .50    -2.0000      .5000      .6366
     .50    -2.00      .75    -2.0000      .5000      .4244
     .50    -2.00     1.00    -2.0000      .5000      .3183
     .50    -2.00     1.25    -2.0000      .5000      .2546
     .50    -2.00     1.50    -2.0000      .5000      .2122
     .50    -1.00      .50    -1.0000      .5000      .6366
     .50    -1.00      .75    -1.0000      .5000      .4244
     .50    -1.00     1.00    -1.0000      .5000      .3183
     .50    -1.00     1.25    -1.0000      .5000      .2546
     .50    -1.00     1.50    -1.0000      .5000      .2122
     .50      .00      .50      .0000      .5000      .6366
     .50      .00      .75      .0000      .5000      .4244
     .50      .00     1.00      .0000      .5000      .3183
     .50      .00     1.25      .0000      .5000      .2546
     .50      .00     1.50      .0000      .5000      .2122
     .50     1.00      .50     1.0000      .5000      .6366
     .50     1.00      .75     1.0000      .5000      .4244
     .50     1.00     1.00     1.0000      .5000      .3183
     .50     1.00     1.25     1.0000      .5000      .2546
     .50     1.00     1.50     1.0000      .5000      .2122
     .50     2.00      .50     2.0000      .5000      .6366
     .50     2.00      .75     2.0000      .5000      .4244
     .50     2.00     1.00     2.0000      .5000      .3183
     .50     2.00     1.25     2.0000      .5000      .2546
     .50     2.00     1.50     2.0000      .5000      .2122
     .50     3.00      .50     3.0000      .5000      .6366
     .50     3.00      .75     3.0000      .5000      .4244
     .50     3.00     1.00     3.0000      .5000      .3183
     .50     3.00     1.25     3.0000      .5000      .2546
     .50     3.00     1.50     3.0000      .5000      .2122
     .50     4.00      .50     4.0000      .5000      .6366
     .50     4.00      .75     4.0000      .5000      .4244
     .50     4.00     1.00     4.0000      .5000      .3183
     .50     4.00     1.25     4.0000      .5000      .2546
     .50     4.00     1.50     4.0000      .5000      .2122
     .50     5.00      .50     5.0000      .5000      .6366
     .50     5.00      .75     5.0000      .5000      .4244
     .50     5.00     1.00     5.0000      .5000      .3183
     .50     5.00     1.25     5.0000      .5000      .2546
     .50     5.00     1.50     5.0000      .5000      .2122
     .60    -5.00      .50    -4.8375      .6000      .5758
     .60    -5.00      .75    -4.7563      .6000      .3839
     .60    -5.00     1.00    -4.6751      .6000      .2879
     .60    -5.00     1.25    -4.5939      .6000      .2303
     .60    -5.00     1.50    -4.5126      .6000      .1919
     .60    -4.00      .50    -3.8375      .6000      .5758
     .60    -4.00      .75    -3.7563      .6000      .3839
     .60    -4.00     1.00    -3.6751      .6000      .2879
     .60    -4.00     1.25    -3.5939      .6000      .2303
     .60    -4.00     1.50    -3.5126      .6000      .1919
     .60    -3.00      .50    -2.8375      .6000      .5758
     .60    -3.00      .75    -2.7563      .6000      .3839
     .60    -3.00     1.00    -2.6751      .6000      .2879
     .60    -3.00     1.25    -2.5939      .6000      .2303
     .60    -3.00     1.50    -2.5126      .6000      .1919
     .60    -2.00      .50    -1.8375      .6000      .5758
     .60    -2.00      .75    -1.7563      .6000      .3839
     .60    -2.00     1.00    -1.6751      .6000      .2879
     .60    -2.00     1.25    -1.5939      .6000      .2303
     .60    -2.00     1.50    -1.5126      .6000      .1919
     .60    -1.00      .50     -.8375      .6000      .5758
     .60    -1.00      .75     -.7563      .6000      .3839
     .60    -1.00     1.00     -.6751      .6000      .2879
     .60    -1.00     1.25     -.5939      .6000      .2303
     .60    -1.00     1.50     -.5126      .6000      .1919
     .60      .00      .50      .1625      .6000      .5758
     .60      .00      .75      .2437      .6000      .3839
     .60      .00     1.00      .3249      .6000      .2879
     .60      .00     1.25      .4061      .6000      .2303
     .60      .00     1.50      .4874      .6000      .1919
     .60     1.00      .50     1.1625      .6000      .5758
     .60     1.00      .75     1.2437      .6000      .3839
     .60     1.00     1.00     1.3249      .6000      .2879
     .60     1.00     1.25     1.4061      .6000      .2303
     .60     1.00     1.50     1.4874      .6000      .1919
     .60     2.00      .50     2.1625      .6000      .5758
     .60     2.00      .75     2.2437      .6000      .3839
     .60     2.00     1.00     2.3249      .6000      .2879
     .60     2.00     1.25     2.4061      .6000      .2303
     .60     2.00     1.50     2.4874      .6000      .1919
     .60     3.00      .50     3.1625      .6000      .5758
     .60     3.00      .75     3.2437      .6000      .3839
     .60     3.00     1.00     3.3249      .6000      .2879
     .60     3.00     1.25     3.4061      .6000      .2303
     .60     3.00     1.50     3.4874      .6000      .1919
     .60     4.00      .50     4.1625      .6000      .5758
     .60     4.00      .75     4.2437      .6000      .3839
     .60     4.00     1.00     4.3249      .6000      .2879
     .60     4.00     1.25     4.4061      .6000      .2303
     .60     4.00     1.50     4.4874      .6000      .1919
     .60     5.00      .50     5.1625      .6000      .5758
     .60     5.00      .75     5.2437      .6000      .3839
     .60     5.00     1.00     5.3249      .6000      .2879
     .60     5.00     1.25     5.4061      .6000      .2303
     .60     5.00     1.50     5.4874      .6000      .1919
     .70    -5.00      .50    -4.6367      .7000      .4167
     .70    -5.00      .75    -4.4551      .7000      .2778
     .70    -5.00     1.00    -4.2735      .7000      .2083
     .70    -5.00     1.25    -4.0918      .7000      .1667
     .70    -5.00     1.50    -3.9102      .7000      .1389
     .70    -4.00      .50    -3.6367      .7000      .4167
     .70    -4.00      .75    -3.4551      .7000      .2778
     .70    -4.00     1.00    -3.2735      .7000      .2083
     .70    -4.00     1.25    -3.0918      .7000      .1667
     .70    -4.00     1.50    -2.9102      .7000      .1389
     .70    -3.00      .50    -2.6367      .7000      .4167
     .70    -3.00      .75    -2.4551      .7000      .2778
     .70    -3.00     1.00    -2.2735      .7000      .2083
     .70    -3.00     1.25    -2.0918      .7000      .1667
     .70    -3.00     1.50    -1.9102      .7000      .1389
     .70    -2.00      .50    -1.6367      .7000      .4167
     .70    -2.00      .75    -1.4551      .7000      .2778
     .70    -2.00     1.00    -1.2735      .7000      .2083
     .70    -2.00     1.25    -1.0918      .7000      .1667
     .70    -2.00     1.50     -.9102      .7000      .1389
     .70    -1.00      .50     -.6367      .7000      .4167
     .70    -1.00      .75     -.4551      .7000      .2778
     .70    -1.00     1.00     -.2735      .7000      .2083
     .70    -1.00     1.25     -.0918      .7000      .1667
     .70    -1.00     1.50      .0898      .7000      .1389
     .70      .00      .50      .3633      .7000      .4167
     .70      .00      .75      .5449      .7000      .2778
     .70      .00     1.00      .7265      .7000      .2083
     .70      .00     1.25      .9082      .7000      .1667
     .70      .00     1.50     1.0898      .7000      .1389
     .70     1.00      .50     1.3633      .7000      .4167
     .70     1.00      .75     1.5449      .7000      .2778
     .70     1.00     1.00     1.7265      .7000      .2083
     .70     1.00     1.25     1.9082      .7000      .1667
     .70     1.00     1.50     2.0898      .7000      .1389
     .70     2.00      .50     2.3633      .7000      .4167
     .70     2.00      .75     2.5449      .7000      .2778
     .70     2.00     1.00     2.7265      .7000      .2083
     .70     2.00     1.25     2.9082      .7000      .1667
     .70     2.00     1.50     3.0898      .7000      .1389
     .70     3.00      .50     3.3633      .7000      .4167
     .70     3.00      .75     3.5449      .7000      .2778
     .70     3.00     1.00     3.7265      .7000      .2083
     .70     3.00     1.25     3.9082      .7000      .1667
     .70     3.00     1.50     4.0898      .7000      .1389
     .70     4.00      .50     4.3633      .7000      .4167
     .70     4.00      .75     4.5449      .7000      .2778
     .70     4.00     1.00     4.7265      .7000      .2083
     .70     4.00     1.25     4.9082      .7000      .1667
     .70     4.00     1.50     5.0898      .7000      .1389
     .70     5.00      .50     5.3633      .7000      .4167
     .70     5.00      .75     5.5449      .7000      .2778
     .70     5.00     1.00     5.7265      .7000      .2083
     .70     5.00     1.25     5.9082      .7000      .1667
     .70     5.00     1.50     6.0898      .7000      .1389
     .80    -5.00      .50    -4.3118      .8000      .2199
     .80    -5.00      .75    -3.9677      .8000      .1466
     .80    -5.00     1.00    -3.6236      .8000      .1100
     .80    -5.00     1.25    -3.2795      .8000      .0880
     .80    -5.00     1.50    -2.9354      .8000      .0733
     .80    -4.00      .50    -3.3118      .8000      .2199
     .80    -4.00      .75    -2.9677      .8000      .1466
     .80    -4.00     1.00    -2.6236      .8000      .1100
     .80    -4.00     1.25    -2.2795      .8000      .0880
     .80    -4.00     1.50    -1.9354      .8000      .0733
     .80    -3.00      .50    -2.3118      .8000      .2199
     .80    -3.00      .75    -1.9677      .8000      .1466
     .80    -3.00     1.00    -1.6236      .8000      .1100
     .80    -3.00     1.25    -1.2795      .8000      .0880
     .80    -3.00     1.50     -.9354      .8000      .0733
     .80    -2.00      .50    -1.3118      .8000      .2199
     .80    -2.00      .75     -.9677      .8000      .1466
     .80    -2.00     1.00     -.6236      .8000      .1100
     .80    -2.00     1.25     -.2795      .8000      .0880
     .80    -2.00     1.50      .0646      .8000      .0733
     .80    -1.00      .50     -.3118      .8000      .2199
     .80    -1.00      .75      .0323      .8000      .1466
     .80    -1.00     1.00      .3764      .8000      .1100
     .80    -1.00     1.25      .7205      .8000      .0880
     .80    -1.00     1.50     1.0646      .8000      .0733
     .80      .00      .50      .6882      .8000      .2199
     .80      .00      .75     1.0323      .8000      .1466
     .80      .00     1.00     1.3764      .8000      .1100
     .80      .00     1.25     1.7205      .8000      .0880
     .80      .00     1.50     2.0646      .8000      .0733
     .80     1.00      .50     1.6882      .8000      .2199
     .80     1.00      .75     2.0323      .8000      .1466
     .80     1.00     1.00     2.3764      .8000      .1100
     .80     1.00     1.25     2.7205      .8000      .0880
     .80     1.00     1.50     3.0646      .8000      .0733
     .80     2.00      .50     2.6882      .8000      .2199
     .80     2.00      .75     3.0323      .8000      .1466
     .80     2.00     1.00     3.3764      .8000      .1100
     .80     2.00     1.25     3.7205      .8000      .0880
     .80     2.00     1.50     4.0646      .8000      .0733
     .80     3.00      .50     3.6882      .8000      .2199
     .80     3.00      .75     4.0323      .8000      .1466
     .80     3.00     1.00     4.3764      .8000      .1100
     .80     3.00     1.25     4.7205      .8000      .0880
     .80     3.00     1.50     5.0646      .8000      .0733
     .80     4.00      .50     4.6882      .8000      .2199
     .80     4.00      .75     5.0323      .8000      .1466
     .80     4.00     1.00     5.3764      .8000      .1100
     .80     4.00     1.25     5.7205      .8000      .0880
     .80     4.00     1.50     6.0646      .8000      .0733
     .80     5.00      .50     5.6882      .8000      .2199
     .80     5.00      .75     6.0323      .8000      .1466
     .80     5.00     1.00     6.3764      .8000      .1100
     .80     5.00     1.25     6.7205      .8000      .0880
     .80     5.00     1.50     7.0646      .8000      .0733
     .90    -5.00      .50    -3.4612      .9000      .0608
     .90    -5.00      .75    -2.6917      .9000      .0405
     .90    -5.00     1.00    -1.9223      .9000      .0304
     .90    -5.00     1.25    -1.1529      .9000      .0243
     .90    -5.00     1.50     -.3835      .9000      .0203
     .90    -4.00      .50    -2.4612      .9000      .0608
     .90    -4.00      .75    -1.6917      .9000      .0405
     .90    -4.00     1.00     -.9223      .9000      .0304
     .90    -4.00     1.25     -.1529      .9000      .0243
     .90    -4.00     1.50      .6165      .9000      .0203
     .90    -3.00      .50    -1.4612      .9000      .0608
     .90    -3.00      .75     -.6917      .9000      .0405
     .90    -3.00     1.00      .0777      .9000      .0304
     .90    -3.00     1.25      .8471      .9000      .0243
     .90    -3.00     1.50     1.6165      .9000      .0203
     .90    -2.00      .50     -.4612      .9000      .0608
     .90    -2.00      .75      .3083      .9000      .0405
     .90    -2.00     1.00     1.0777      .9000      .0304
     .90    -2.00     1.25     1.8471      .9000      .0243
     .90    -2.00     1.50     2.6165      .9000      .0203
     .90    -1.00      .50      .5388      .9000      .0608
     .90    -1.00      .75     1.3083      .9000      .0405
     .90    -1.00     1.00     2.0777      .9000      .0304
     .90    -1.00     1.25     2.8471      .9000      .0243
     .90    -1.00     1.50     3.6165      .9000      .0203
     .90      .00      .50     1.5388      .9000      .0608
     .90      .00      .75     2.3083      .9000      .0405
     .90      .00     1.00     3.0777      .9000      .0304
     .90      .00     1.25     3.8471      .9000      .0243
     .90      .00     1.50     4.6165      .9000      .0203
     .90     1.00      .50     2.5388      .9000      .0608
     .90     1.00      .75     3.3083      .9000      .0405
     .90     1.00     1.00     4.0777      .9000      .0304
     .90     1.00     1.25     4.8471      .9000      .0243
     .90     1.00     1.50     5.6165      .9000      .0203
     .90     2.00      .50     3.5388      .9000      .0608
     .90     2.00      .75     4.3083      .9000      .0405
     .90     2.00     1.00     5.0777      .9000      .0304
     .90     2.00     1.25     5.8471      .9000      .0243
     .90     2.00     1.50     6.6165      .9000      .0203
     .90     3.00      .50     4.5388      .9000      .0608
     .90     3.00      .75     5.3083      .9000      .0405
     .90     3.00     1.00     6.0777      .9000      .0304
     .90     3.00     1.25     6.8471      .9000      .0243
     .90     3.00     1.50     7.6165      .9000      .0203
     .90     4.00      .50     5.5388      .9000      .0608
     .90     4.00      .75     6.3083      .9000      .0405
     .90     4.00     1.00     7.0777      .9000      .0304
     .90     4.00     1.25     7.8471      .9000      .0243
     .90     4.00     1.50     8.6165      .9000      .0203
     .90     5.00      .50     6.5388      .9000      .0608
     .90     5.00      .75     7.3083      .9000      .0405
     .90     5.00     1.00     8.0777      .9000      .0304
     .90     5.00     1.25     8.8471      .9000      .0243
     .90     5.00     1.50     9.6165      .9000      .0203
     .99    -5.00      .50    10.9103      .9900      .0006
     .99    -5.00      .75    18.8654      .9900      .0004
     .99    -5.00     1.00    26.8205      .9900      .0003
     .99    -5.00     1.25    34.7756      .9900      .0003
     .99    -5.00     1.50    42.7308      .9900      .0002
     .99    -4.00      .50    11.9103      .9900      .0006
     .99    -4.00      .75    19.8654      .9900      .0004
     .99    -4.00     1.00    27.8205      .9900      .0003
     .99    -4.00     1.25    35.7756      .9900      .0003
     .99    -4.00     1.50    43.7308      .9900      .0002
     .99    -3.00      .50    12.9103      .9900      .0006
     .99    -3.00      .75    20.8654      .9900      .0004
     .99    -3.00     1.00    28.8205      .9900      .0003
     .99    -3.00     1.25    36.7756      .9900      .0003
     .99    -3.00     1.50    44.7308      .9900      .0002
     .99    -2.00      .50    13.9103      .9900      .0006
     .99    -2.00      .75    21.8654      .9900      .0004
     .99    -2.00     1.00    29.8205      .9900      .0003
     .99    -2.00     1.25    37.7756      .9900      .0003
     .99    -2.00     1.50    45.7308      .9900      .0002
     .99    -1.00      .50    14.9103      .9900      .0006
     .99    -1.00      .75    22.8654      .9900      .0004
     .99    -1.00     1.00    30.8205      .9900      .0003
     .99    -1.00     1.25    38.7756      .9900      .0003
     .99    -1.00     1.50    46.7308      .9900      .0002
     .99      .00      .50    15.9103      .9900      .0006
     .99      .00      .75    23.8654      .9900      .0004
     .99      .00     1.00    31.8205      .9900      .0003
     .99      .00     1.25    39.7756      .9900      .0003
     .99      .00     1.50    47.7308      .9900      .0002
     .99     1.00      .50    16.9103      .9900      .0006
     .99     1.00      .75    24.8654      .9900      .0004
     .99     1.00     1.00    32.8205      .9900      .0003
     .99     1.00     1.25    40.7756      .9900      .0003
     .99     1.00     1.50    48.7308      .9900      .0002
     .99     2.00      .50    17.9103      .9900      .0006
     .99     2.00      .75    25.8654      .9900      .0004
     .99     2.00     1.00    33.8205      .9900      .0003
     .99     2.00     1.25    41.7756      .9900      .0003
     .99     2.00     1.50    49.7308      .9900      .0002
     .99     3.00      .50    18.9103      .9900      .0006
     .99     3.00      .75    26.8654      .9900      .0004
     .99     3.00     1.00    34.8205      .9900      .0003
     .99     3.00     1.25    42.7756      .9900      .0003
     .99     3.00     1.50    50.7308      .9900      .0002
     .99     4.00      .50    19.9103      .9900      .0006
     .99     4.00      .75    27.8654      .9900      .0004
     .99     4.00     1.00    35.8205      .9900      .0003
     .99     4.00     1.25    43.7756      .9900      .0003
     .99     4.00     1.50    51.7308      .9900      .0002
     .99     5.00      .50    20.9103      .9900      .0006
     .99     5.00      .75    28.8654      .9900      .0004
     .99     5.00     1.00    36.8205      .9900      .0003
     .99     5.00     1.25    44.7756      .9900      .0003
     .99     5.00     1.50    52.7308      .9900      .0002
_ATEOF

   cat >cauchy.sps <<'_ATEOF'
DATA LIST LIST FILE='cauchy.in' NOTABLE SKIP=1
	/P a b Xx Xcdf Xpdf.
NUMERIC x cdf pdf (F10.4).
COMPUTE x = IDF.cauchy(P, a, b).
COMPUTE cdf = cdf.cauchy(x, a, b).
COMPUTE pdf = pdf.cauchy(x, a, b).
DO IF $CASENUM = 1.
PRINT OUTFILE='cauchy.out'/"       P        a        b          x        cdf        pdf ".
END IF.
PRINT OUTFILE='cauchy.out'/P a b x cdf pdf.
EXECUTE.
_ATEOF

   { set +x
$as_echo "$at_srcdir/randist.at:337: pspp -O format=csv cauchy.sps"
at_fn_check_prepare_trace "randist.at:337"
( $at_check_trace; pspp -O format=csv cauchy.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/randist.at:337"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/randist.at:337: \$PERL compare.pl cauchy.in cauchy.out"
at_fn_check_prepare_dynamic "$PERL compare.pl cauchy.in cauchy.out" "randist.at:337"
( $at_check_trace; $PERL compare.pl cauchy.in cauchy.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/randist.at:337"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1059
#AT_START_1060
at_fn_group_banner 1060 'randist.at:946' \
  "random distributions -- chisq" "                  " 132
at_xfail=no
(
  $as_echo "1060. $at_setup_line: testing $at_desc ..."
  $at_traceon

   randist_compare
   cat >chisq.in <<'_ATEOF'
       P       df          x        cdf        pdf        sig
     .01     1.00      .0002      .0100    31.8277      .9900
     .01     2.00      .0201      .0100      .4950      .9900
     .01     5.00      .5543      .0100      .0416      .9900
     .01    10.00     2.5582      .0100      .0155      .9900
     .10     1.00      .0158      .1000     3.1498      .9000
     .10     2.00      .2107      .1000      .4500      .9000
     .10     5.00     1.6103      .1000      .1215      .9000
     .10    10.00     4.8652      .1000      .0641      .9000
     .20     1.00      .0642      .2000     1.5250      .8000
     .20     2.00      .4463      .2000      .4000      .8000
     .20     5.00     2.3425      .2000      .1478      .8000
     .20    10.00     6.1791      .2000      .0864      .8000
     .30     1.00      .1485      .3000      .9613      .7000
     .30     2.00      .7133      .3000      .3500      .7000
     .30     5.00     2.9999      .3000      .1542      .7000
     .30    10.00     7.2672      .3000      .0960      .7000
     .40     1.00      .2750      .4000      .6630      .6000
     .40     2.00     1.0217      .4000      .3000      .6000
     .40     5.00     3.6555      .4000      .1494      .6000
     .40    10.00     8.2955      .4000      .0974      .6000
     .50     1.00      .4549      .5000      .4711      .5000
     .50     2.00     1.3863      .5000      .2500      .5000
     .50     5.00     4.3515      .5000      .1370      .5000
     .50    10.00     9.3418      .5000      .0929      .5000
     .60     1.00      .7083      .6000      .3326      .4000
     .60     2.00     1.8326      .6000      .2000      .4000
     .60     5.00     5.1319      .6000      .1188      .4000
     .60    10.00    10.4732      .6000      .0833      .4000
     .70     1.00     1.0742      .7000      .2250      .3000
     .70     2.00     2.4079      .7000      .1500      .3000
     .70     5.00     6.0644      .7000      .0957      .3000
     .70    10.00    11.7807      .7000      .0694      .3000
     .80     1.00     1.6424      .8000      .1369      .2000
     .80     2.00     3.2189      .8000      .1000      .2000
     .80     5.00     7.2893      .8000      .0684      .2000
     .80    10.00    13.4420      .8000      .0512      .2000
     .90     1.00     2.7055      .9000      .0627      .1000
     .90     2.00     4.6052      .9000      .0500      .1000
     .90     5.00     9.2364      .9000      .0368      .1000
     .90    10.00    15.9872      .9000      .0287      .1000
     .99     1.00     6.6349      .9900      .0056      .0100
     .99     2.00     9.2103      .9900      .0050      .0100
     .99     5.00    15.0863      .9900      .0041      .0100
     .99    10.00    23.2093      .9900      .0034      .0100
_ATEOF

   cat >chisq.sps <<'_ATEOF'
DATA LIST LIST FILE='chisq.in' NOTABLE SKIP=1
	/P df Xx Xcdf Xpdf Xsig.
NUMERIC x cdf pdf sig (F10.4).
COMPUTE x = IDF.chisq(P, df).
COMPUTE cdf = cdf.chisq(x, df).
COMPUTE pdf = pdf.chisq(x, df).
COMPUTE sig = sig.chisq(x, df).
DO IF $CASENUM = 1.
PRINT OUTFILE='chisq.out'/"       P       df          x        cdf        pdf        sig ".
END IF.
PRINT OUTFILE='chisq.out'/P df x cdf pdf sig.
EXECUTE.
_ATEOF

   { set +x
$as_echo "$at_srcdir/randist.at:946: pspp -O format=csv chisq.sps"
at_fn_check_prepare_trace "randist.at:946"
( $at_check_trace; pspp -O format=csv chisq.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/randist.at:946"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/randist.at:946: \$PERL compare.pl chisq.in chisq.out"
at_fn_check_prepare_dynamic "$PERL compare.pl chisq.in chisq.out" "randist.at:946"
( $at_check_trace; $PERL compare.pl chisq.in chisq.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/randist.at:946"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1060
#AT_START_1061
at_fn_group_banner 1061 'randist.at:994' \
  "random distributions -- exp" "                    " 132
at_xfail=no
(
  $as_echo "1061. $at_setup_line: testing $at_desc ..."
  $at_traceon

   randist_compare
   cat >exp.in <<'_ATEOF'
       P        a          x        cdf        pdf
     .01     1.00      .0101      .0100      .9900
     .01     2.00      .0050      .0100     1.9800
     .01     5.00      .0020      .0100     4.9500
     .01    10.00      .0010      .0100     9.9000
     .10     1.00      .1054      .1000      .9000
     .10     2.00      .0527      .1000     1.8000
     .10     5.00      .0211      .1000     4.5000
     .10    10.00      .0105      .1000     9.0000
     .20     1.00      .2231      .2000      .8000
     .20     2.00      .1116      .2000     1.6000
     .20     5.00      .0446      .2000     4.0000
     .20    10.00      .0223      .2000     8.0000
     .30     1.00      .3567      .3000      .7000
     .30     2.00      .1783      .3000     1.4000
     .30     5.00      .0713      .3000     3.5000
     .30    10.00      .0357      .3000     7.0000
     .40     1.00      .5108      .4000      .6000
     .40     2.00      .2554      .4000     1.2000
     .40     5.00      .1022      .4000     3.0000
     .40    10.00      .0511      .4000     6.0000
     .50     1.00      .6931      .5000      .5000
     .50     2.00      .3466      .5000     1.0000
     .50     5.00      .1386      .5000     2.5000
     .50    10.00      .0693      .5000     5.0000
     .60     1.00      .9163      .6000      .4000
     .60     2.00      .4581      .6000      .8000
     .60     5.00      .1833      .6000     2.0000
     .60    10.00      .0916      .6000     4.0000
     .70     1.00     1.2040      .7000      .3000
     .70     2.00      .6020      .7000      .6000
     .70     5.00      .2408      .7000     1.5000
     .70    10.00      .1204      .7000     3.0000
     .80     1.00     1.6094      .8000      .2000
     .80     2.00      .8047      .8000      .4000
     .80     5.00      .3219      .8000     1.0000
     .80    10.00      .1609      .8000     2.0000
     .90     1.00     2.3026      .9000      .1000
     .90     2.00     1.1513      .9000      .2000
     .90     5.00      .4605      .9000      .5000
     .90    10.00      .2303      .9000     1.0000
     .99     1.00     4.6052      .9900      .0100
     .99     2.00     2.3026      .9900      .0200
     .99     5.00      .9210      .9900      .0500
     .99    10.00      .4605      .9900      .1000
_ATEOF

   cat >exp.sps <<'_ATEOF'
DATA LIST LIST FILE='exp.in' NOTABLE SKIP=1
	/P a Xx Xcdf Xpdf.
NUMERIC x cdf pdf (F10.4).
COMPUTE x = IDF.exp(P, a).
COMPUTE cdf = cdf.exp(x, a).
COMPUTE pdf = pdf.exp(x, a).
DO IF $CASENUM = 1.
PRINT OUTFILE='exp.out'/"       P        a          x        cdf        pdf ".
END IF.
PRINT OUTFILE='exp.out'/P a x cdf pdf.
EXECUTE.
_ATEOF

   { set +x
$as_echo "$at_srcdir/randist.at:994: pspp -O format=csv exp.sps"
at_fn_check_prepare_trace "randist.at:994"
( $at_check_trace; pspp -O format=csv exp.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/randist.at:994"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/randist.at:994: \$PERL compare.pl exp.in exp.out"
at_fn_check_prepare_dynamic "$PERL compare.pl exp.in exp.out" "randist.at:994"
( $at_check_trace; $PERL compare.pl exp.in exp.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/randist.at:994"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1061
#AT_START_1062
at_fn_group_banner 1062 'randist.at:1042' \
  "random distributions -- f" "                      " 132
at_xfail=no
(
  $as_echo "1062. $at_setup_line: testing $at_desc ..."
  $at_traceon

   randist_compare
   cat >f.in <<'_ATEOF'
       P      df1      df2          x        cdf        pdf
     .01     1.00     1.00      .0002      .0100    20.2576
     .01     1.00     2.00      .0002      .0100    24.9950
     .01     1.00     5.00      .0002      .0100    28.8162
     .01     1.00    10.00      .0002      .0100    30.2774
     .01     2.00     1.00      .0102      .0100      .9703
     .01     2.00     2.00      .0101      .0100      .9801
     .01     2.00     5.00      .0101      .0100      .9860
     .01     2.00    10.00      .0101      .0100      .9880
     .01     5.00     1.00      .0615      .0100      .3238
     .01     5.00     2.00      .0753      .0100      .2793
     .01     5.00     5.00      .0912      .0100      .2417
     .01     5.00    10.00      .0995      .0100      .2261
     .01    10.00     1.00      .0996      .0100      .2704
     .01    10.00     2.00      .1323      .0100      .2275
     .01    10.00     5.00      .1774      .0100      .1907
     .01    10.00    10.00      .2062      .0100      .1747
     .10     1.00     1.00      .0251      .1000     1.9605
     .10     1.00     2.00      .0202      .1000     2.4503
     .10     1.00     5.00      .0175      .1000     2.8421
     .10     1.00    10.00      .0166      .1000     2.9915
     .10     2.00     1.00      .1173      .1000      .7290
     .10     2.00     2.00      .1111      .1000      .8100
     .10     2.00     5.00      .1076      .1000      .8629
     .10     2.00    10.00      .1065      .1000      .8812
     .10     5.00     1.00      .2463      .1000      .5220
     .10     5.00     2.00      .2646      .1000      .5687
     .10     5.00     5.00      .2896      .1000      .5934
     .10     5.00    10.00      .3033      .1000      .6006
     .10    10.00     1.00      .3044      .1000      .4857
     .10    10.00     2.00      .3419      .1000      .5396
     .10    10.00     5.00      .3966      .1000      .5816
     .10    10.00    10.00      .4306      .1000      .6031
     .20     1.00     1.00      .1056      .2000      .8861
     .20     1.00     2.00      .0833      .2000     1.1520
     .20     1.00     5.00      .0714      .2000     1.3616
     .20     1.00    10.00      .0677      .2000     1.4410
     .20     2.00     1.00      .2812      .2000      .5120
     .20     2.00     2.00      .2500      .2000      .6400
     .20     2.00     5.00      .2334      .2000      .7317
     .20     2.00    10.00      .2282      .2000      .7651
     .20     5.00     1.00      .4591      .2000      .4124
     .20     5.00     2.00      .4426      .2000      .5362
     .20     5.00     5.00      .4489      .2000      .6397
     .20     5.00    10.00      .4563      .2000      .6842
     .20    10.00     1.00      .5311      .2000      .3893
     .20    10.00     2.00      .5267      .2000      .5225
     .20    10.00     5.00      .5547      .2000      .6584
     .20    10.00    10.00      .5775      .2000      .7343
     .30     1.00     1.00      .2596      .3000      .4960
     .30     1.00     2.00      .1978      .3000      .6901
     .30     1.00     5.00      .1667      .3000      .8428
     .30     1.00    10.00      .1573      .3000      .9004
     .30     2.00     1.00      .5204      .3000      .3430
     .30     2.00     2.00      .4286      .3000      .4900
     .30     2.00     5.00      .3834      .3000      .6069
     .30     2.00    10.00      .3697      .3000      .6518
     .30     5.00     1.00      .7486      .3000      .2880
     .30     5.00     2.00      .6466      .3000      .4433
     .30     5.00     5.00      .6094      .3000      .5984
     .30     5.00    10.00      .6026      .3000      .6729
     .30    10.00     1.00      .8370      .3000      .2732
     .30    10.00     2.00      .7346      .3000      .4370
     .30    10.00     5.00      .7085      .3000      .6313
     .30    10.00    10.00      .7112      .3000      .7487
     .40     1.00     1.00      .5279      .4000      .2868
     .40     1.00     2.00      .3810      .4000      .4410
     .40     1.00     5.00      .3130      .4000      .5656
     .40     1.00    10.00      .2933      .4000      .6129
     .40     2.00     1.00      .8889      .4000      .2160
     .40     2.00     2.00      .6667      .4000      .3600
     .40     2.00     5.00      .5668      .4000      .4891
     .40     2.00    10.00      .5378      .4000      .5417
     .40     5.00     1.00     1.1826      .4000      .1847
     .40     5.00     2.00      .9035      .4000      .3396
     .40     5.00     5.00      .7879      .4000      .5199
     .40     5.00    10.00      .7573      .4000      .6147
     .40    10.00     1.00     1.2941      .4000      .1755
     .40    10.00     2.00      .9944      .4000      .3368
     .40    10.00     5.00      .8763      .4000      .5572
     .40    10.00    10.00      .8484      .4000      .7011
     .50     1.00     1.00     1.0000      .5000      .1592
     .50     1.00     2.00      .6667      .5000      .2813
     .50     1.00     5.00      .5281      .5000      .3865
     .50     1.00    10.00      .4897      .5000      .4274
     .50     2.00     1.00     1.5000      .5000      .1250
     .50     2.00     2.00     1.0000      .5000      .2500
     .50     2.00     5.00      .7988      .5000      .3789
     .50     2.00    10.00      .7435      .5000      .4353
     .50     5.00     1.00     1.8937      .5000      .1078
     .50     5.00     2.00     1.2519      .5000      .2418
     .50     5.00     5.00     1.0000      .5000      .4244
     .50     5.00    10.00      .9319      .5000      .5295
     .50    10.00     1.00     2.0419      .5000      .1025
     .50    10.00     2.00     1.3450      .5000      .2406
     .50    10.00     5.00     1.0730      .5000      .4599
     .50    10.00    10.00     1.0000      .5000      .6152
     .60     1.00     1.00     1.8944      .6000      .0799
     .60     1.00     2.00     1.1250      .6000      .1707
     .60     1.00     5.00      .8456      .6000      .2583
     .60     1.00    10.00      .7727      .6000      .2939
     .60     2.00     1.00     2.6250      .6000      .0640
     .60     2.00     2.00     1.5000      .6000      .1600
     .60     2.00     5.00     1.1067      .6000      .2773
     .60     2.00    10.00     1.0056      .6000      .3330
     .60     5.00     1.00     3.1953      .6000      .0554
     .60     5.00     2.00     1.7644      .6000      .1571
     .60     5.00     5.00     1.2692      .6000      .3227
     .60     5.00    10.00     1.1412      .6000      .4278
     .60    10.00     1.00     3.4100      .6000      .0527
     .60    10.00     2.00     1.8593      .6000      .1567
     .60    10.00     5.00     1.3204      .6000      .3526
     .60    10.00    10.00     1.1787      .6000      .5047
     .70     1.00     1.00     3.8518      .7000      .0334
     .70     1.00     2.00     1.9216      .7000      .0929
     .70     1.00     5.00     1.3358      .7000      .1614
     .70     1.00    10.00     1.1948      .7000      .1914
     .70     2.00     1.00     5.0556      .7000      .0270
     .70     2.00     2.00     2.3333      .7000      .0900
     .70     2.00     5.00     1.5466      .7000      .1853
     .70     2.00    10.00     1.3613      .7000      .2358
     .70     5.00     1.00     6.0006      .7000      .0234
     .70     5.00     2.00     2.6084      .7000      .0892
     .70     5.00     5.00     1.6410      .7000      .2222
     .70     5.00    10.00     1.4114      .7000      .3169
     .70    10.00     1.00     6.3579      .7000      .0223
     .70    10.00     2.00     2.7049      .7000      .0891
     .70    10.00     5.00     1.6595      .7000      .2443
     .70    10.00    10.00     1.4061      .7000      .3787
     .80     1.00     1.00     9.4721      .8000      .0099
     .80     1.00     2.00     3.5556      .8000      .0405
     .80     1.00     5.00     2.1782      .8000      .0869
     .80     1.00    10.00     1.8829      .8000      .1098
     .80     2.00     1.00    12.0000      .8000      .0080
     .80     2.00     2.00     4.0000      .8000      .0400
     .80     2.00     5.00     2.2591      .8000      .1051
     .80     2.00    10.00     1.8986      .8000      .1450
     .80     5.00     1.00    14.0084      .8000      .0069
     .80     5.00     2.00     4.2844      .8000      .0399
     .80     5.00     5.00     2.2275      .8000      .1289
     .80     5.00    10.00     1.8027      .8000      .2026
     .80    10.00     1.00    14.7719      .8000      .0066
     .80    10.00     2.00     4.3822      .8000      .0398
     .80    10.00     5.00     2.1914      .8000      .1425
     .80    10.00    10.00     1.7316      .8000      .2449
     .90     1.00     1.00    39.8635      .9000      .0012
     .90     1.00     2.00     8.5263      .9000      .0100
     .90     1.00     5.00     4.0604      .9000      .0317
     .90     1.00    10.00     3.2850      .9000      .0450
     .90     2.00     1.00    49.5000      .9000      .0010
     .90     2.00     2.00     9.0000      .9000      .0100
     .90     2.00     5.00     3.7797      .9000      .0398
     .90     2.00    10.00     2.9245      .9000      .0631
     .90     5.00     1.00    57.2401      .9000      .0009
     .90     5.00     2.00     9.2926      .9000      .0100
     .90     5.00     5.00     3.4530      .9000      .0498
     .90     5.00    10.00     2.5216      .9000      .0915
     .90    10.00     1.00    60.1950      .9000      .0008
     .90    10.00     2.00     9.3916      .9000      .0100
     .90    10.00     5.00     3.2974      .9000      .0552
     .90    10.00    10.00     2.3226      .9000      .1118
     .99     1.00     1.00  4052.1807      .9900      .0000
     .99     1.00     2.00    98.5025      .9900      .0001
     .99     1.00     5.00    16.2582      .9900      .0012
     .99     1.00    10.00    10.0443      .9900      .0027
     .99     2.00     1.00  4999.5000      .9900      .0000
     .99     2.00     2.00    99.0000      .9900      .0001
     .99     2.00     5.00    13.2739      .9900      .0016
     .99     2.00    10.00     7.5594      .9900      .0040
     .99     5.00     1.00  5763.6496      .9900      .0000
     .99     5.00     2.00    99.2993      .9900      .0001
     .99     5.00     5.00    10.9670      .9900      .0020
     .99     5.00    10.00     5.6363      .9900      .0060
     .99    10.00     1.00  6055.8467      .9900      .0000
     .99    10.00     2.00    99.3992      .9900      .0001
     .99    10.00     5.00    10.0510      .9900      .0022
     .99    10.00    10.00     4.8491      .9900      .0074
_ATEOF

   cat >f.sps <<'_ATEOF'
DATA LIST LIST FILE='f.in' NOTABLE SKIP=1
	/P df1 df2 Xx Xcdf Xpdf.
NUMERIC x cdf pdf (F10.4).
COMPUTE x = IDF.f(P, df1, df2).
COMPUTE cdf = cdf.f(x, df1, df2).
COMPUTE pdf = pdf.f(x, df1, df2).
DO IF $CASENUM = 1.
PRINT OUTFILE='f.out'/"       P      df1      df2          x        cdf        pdf ".
END IF.
PRINT OUTFILE='f.out'/P df1 df2 x cdf pdf.
EXECUTE.
_ATEOF

   { set +x
$as_echo "$at_srcdir/randist.at:1042: pspp -O format=csv f.sps"
at_fn_check_prepare_trace "randist.at:1042"
( $at_check_trace; pspp -O format=csv f.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/randist.at:1042"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/randist.at:1042: \$PERL compare.pl f.in f.out"
at_fn_check_prepare_dynamic "$PERL compare.pl f.in f.out" "randist.at:1042"
( $at_check_trace; $PERL compare.pl f.in f.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/randist.at:1042"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1062
#AT_START_1063
at_fn_group_banner 1063 'randist.at:1222' \
  "random distributions -- gamma" "                  " 132
at_xfail=no
(
  $as_echo "1063. $at_setup_line: testing $at_desc ..."
  $at_traceon

   randist_compare
   cat >gamma.in <<'_ATEOF'
       P        a        b          x        cdf        pdf
     .01      .50   -10.00      .          .          .
     .01      .50    -5.00      .          .          .
     .01      .50      .00      .          .          .
     .01      .50     5.00      .0000      .0100   318.2766
     .01      .50    10.00      .0000      .0100   636.5531
     .01     1.00   -10.00      .          .          .
     .01     1.00    -5.00      .          .          .
     .01     1.00      .00      .          .          .
     .01     1.00     5.00      .0020      .0100     4.9500
     .01     1.00    10.00      .0010      .0100     9.9000
     .01     2.00   -10.00      .          .          .
     .01     2.00    -5.00      .          .          .
     .01     2.00      .00      .          .          .
     .01     2.00     5.00      .0297      .0100      .6402
     .01     2.00    10.00      .0149      .0100     1.2805
     .01     5.00   -10.00      .          .          .
     .01     5.00    -5.00      .          .          .
     .01     5.00      .00      .          .          .
     .01     5.00     5.00      .2558      .0100      .1552
     .01     5.00    10.00      .1279      .0100      .3104
     .10      .50   -10.00      .          .          .
     .10      .50    -5.00      .          .          .
     .10      .50      .00      .          .          .
     .10      .50     5.00      .0016      .1000    31.4977
     .10      .50    10.00      .0008      .1000    62.9955
     .10     1.00   -10.00      .          .          .
     .10     1.00    -5.00      .          .          .
     .10     1.00      .00      .          .          .
     .10     1.00     5.00      .0211      .1000     4.5000
     .10     1.00    10.00      .0105      .1000     9.0000
     .10     2.00   -10.00      .          .          .
     .10     2.00    -5.00      .          .          .
     .10     2.00      .00      .          .          .
     .10     2.00     5.00      .1064      .1000     1.5623
     .10     2.00    10.00      .0532      .1000     3.1246
     .10     5.00   -10.00      .          .          .
     .10     5.00    -5.00      .          .          .
     .10     5.00      .00      .          .          .
     .10     5.00     5.00      .4865      .1000      .6406
     .10     5.00    10.00      .2433      .1000     1.2812
     .20      .50   -10.00      .          .          .
     .20      .50    -5.00      .          .          .
     .20      .50      .00      .          .          .
     .20      .50     5.00      .0064      .2000    15.2495
     .20      .50    10.00      .0032      .2000    30.4991
     .20     1.00   -10.00      .          .          .
     .20     1.00    -5.00      .          .          .
     .20     1.00      .00      .          .          .
     .20     1.00     5.00      .0446      .2000     4.0000
     .20     1.00    10.00      .0223      .2000     8.0000
     .20     2.00   -10.00      .          .          .
     .20     2.00    -5.00      .          .          .
     .20     2.00      .00      .          .          .
     .20     2.00     5.00      .1649      .2000     1.8075
     .20     2.00    10.00      .0824      .2000     3.6150
     .20     5.00   -10.00      .          .          .
     .20     5.00    -5.00      .          .          .
     .20     5.00      .00      .          .          .
     .20     5.00     5.00      .6179      .2000      .8641
     .20     5.00    10.00      .3090      .2000     1.7282
     .30      .50   -10.00      .          .          .
     .30      .50    -5.00      .          .          .
     .30      .50      .00      .          .          .
     .30      .50     5.00      .0148      .3000     9.6128
     .30      .50    10.00      .0074      .3000    19.2255
     .30     1.00   -10.00      .          .          .
     .30     1.00    -5.00      .          .          .
     .30     1.00      .00      .          .          .
     .30     1.00     5.00      .0713      .3000     3.5000
     .30     1.00    10.00      .0357      .3000     7.0000
     .30     2.00   -10.00      .          .          .
     .30     2.00    -5.00      .          .          .
     .30     2.00      .00      .          .          .
     .30     2.00     5.00      .2195      .3000     1.8312
     .30     2.00    10.00      .1097      .3000     3.6625
     .30     5.00   -10.00      .          .          .
     .30     5.00    -5.00      .          .          .
     .30     5.00      .00      .          .          .
     .30     5.00     5.00      .7267      .3000      .9595
     .30     5.00    10.00      .3634      .3000     1.9190
     .40      .50   -10.00      .          .          .
     .40      .50    -5.00      .          .          .
     .40      .50      .00      .          .          .
     .40      .50     5.00      .0275      .4000     6.6303
     .40      .50    10.00      .0137      .4000    13.2606
     .40     1.00   -10.00      .          .          .
     .40     1.00    -5.00      .          .          .
     .40     1.00      .00      .          .          .
     .40     1.00     5.00      .1022      .4000     3.0000
     .40     1.00    10.00      .0511      .4000     6.0000
     .40     2.00   -10.00      .          .          .
     .40     2.00    -5.00      .          .          .
     .40     2.00      .00      .          .          .
     .40     2.00     5.00      .2753      .4000     1.7376
     .40     2.00    10.00      .1376      .4000     3.4752
     .40     5.00   -10.00      .          .          .
     .40     5.00    -5.00      .          .          .
     .40     5.00      .00      .          .          .
     .40     5.00     5.00      .8295      .4000      .9742
     .40     5.00    10.00      .4148      .4000     1.9485
     .50      .50   -10.00      .          .          .
     .50      .50    -5.00      .          .          .
     .50      .50      .00      .          .          .
     .50      .50     5.00      .0455      .5000     4.7114
     .50      .50    10.00      .0227      .5000     9.4227
     .50     1.00   -10.00      .          .          .
     .50     1.00    -5.00      .          .          .
     .50     1.00      .00      .          .          .
     .50     1.00     5.00      .1386      .5000     2.5000
     .50     1.00    10.00      .0693      .5000     5.0000
     .50     2.00   -10.00      .          .          .
     .50     2.00    -5.00      .          .          .
     .50     2.00      .00      .          .          .
     .50     2.00     5.00      .3357      .5000     1.5666
     .50     2.00    10.00      .1678      .5000     3.1332
     .50     5.00   -10.00      .          .          .
     .50     5.00    -5.00      .          .          .
     .50     5.00      .00      .          .          .
     .50     5.00     5.00      .9342      .5000      .9286
     .50     5.00    10.00      .4671      .5000     1.8571
     .60      .50   -10.00      .          .          .
     .60      .50    -5.00      .          .          .
     .60      .50      .00      .          .          .
     .60      .50     5.00      .0708      .6000     3.3265
     .60      .50    10.00      .0354      .6000     6.6529
     .60     1.00   -10.00      .          .          .
     .60     1.00    -5.00      .          .          .
     .60     1.00      .00      .          .          .
     .60     1.00     5.00      .1833      .6000     2.0000
     .60     1.00    10.00      .0916      .6000     4.0000
     .60     2.00   -10.00      .          .          .
     .60     2.00    -5.00      .          .          .
     .60     2.00      .00      .          .          .
     .60     2.00     5.00      .4045      .6000     1.3383
     .60     2.00    10.00      .2022      .6000     2.6765
     .60     5.00   -10.00      .          .          .
     .60     5.00    -5.00      .          .          .
     .60     5.00      .00      .          .          .
     .60     5.00     5.00     1.0473      .6000      .8332
     .60     5.00    10.00      .5237      .6000     1.6663
     .70      .50   -10.00      .          .          .
     .70      .50    -5.00      .          .          .
     .70      .50      .00      .          .          .
     .70      .50     5.00      .1074      .7000     2.2496
     .70      .50    10.00      .0537      .7000     4.4993
     .70     1.00   -10.00      .          .          .
     .70     1.00    -5.00      .          .          .
     .70     1.00      .00      .          .          .
     .70     1.00     5.00      .2408      .7000     1.5000
     .70     1.00    10.00      .1204      .7000     3.0000
     .70     2.00   -10.00      .          .          .
     .70     2.00    -5.00      .          .          .
     .70     2.00      .00      .          .          .
     .70     2.00     5.00      .4878      .7000     1.0639
     .70     2.00    10.00      .2439      .7000     2.1277
     .70     5.00   -10.00      .          .          .
     .70     5.00    -5.00      .          .          .
     .70     5.00      .00      .          .          .
     .70     5.00     5.00     1.1781      .7000      .6937
     .70     5.00    10.00      .5890      .7000     1.3874
     .80      .50   -10.00      .          .          .
     .80      .50    -5.00      .          .          .
     .80      .50      .00      .          .          .
     .80      .50     5.00      .1642      .8000     1.3694
     .80      .50    10.00      .0821      .8000     2.7388
     .80     1.00   -10.00      .          .          .
     .80     1.00    -5.00      .          .          .
     .80     1.00      .00      .          .          .
     .80     1.00     5.00      .3219      .8000     1.0000
     .80     1.00    10.00      .1609      .8000     2.0000
     .80     2.00   -10.00      .          .          .
     .80     2.00    -5.00      .          .          .
     .80     2.00      .00      .          .          .
     .80     2.00     5.00      .5989      .8000      .7496
     .80     2.00    10.00      .2994      .8000     1.4993
     .80     5.00   -10.00      .          .          .
     .80     5.00    -5.00      .          .          .
     .80     5.00      .00      .          .          .
     .80     5.00     5.00     1.3442      .8000      .5124
     .80     5.00    10.00      .6721      .8000     1.0248
     .90      .50   -10.00      .          .          .
     .90      .50    -5.00      .          .          .
     .90      .50      .00      .          .          .
     .90      .50     5.00      .2706      .9000      .6270
     .90      .50    10.00      .1353      .9000     1.2540
     .90     1.00   -10.00      .          .          .
     .90     1.00    -5.00      .          .          .
     .90     1.00      .00      .          .          .
     .90     1.00     5.00      .4605      .9000      .5000
     .90     1.00    10.00      .2303      .9000     1.0000
     .90     2.00   -10.00      .          .          .
     .90     2.00    -5.00      .          .          .
     .90     2.00      .00      .          .          .
     .90     2.00     5.00      .7779      .9000      .3977
     .90     2.00    10.00      .3890      .9000      .7955
     .90     5.00   -10.00      .          .          .
     .90     5.00    -5.00      .          .          .
     .90     5.00      .00      .          .          .
     .90     5.00     5.00     1.5987      .9000      .2872
     .90     5.00    10.00      .7994      .9000      .5744
     .99      .50   -10.00      .          .          .
     .99      .50    -5.00      .          .          .
     .99      .50      .00      .          .          .
     .99      .50     5.00      .6635      .9900      .0561
     .99      .50    10.00      .3317      .9900      .1123
     .99     1.00   -10.00      .          .          .
     .99     1.00    -5.00      .          .          .
     .99     1.00      .00      .          .          .
     .99     1.00     5.00      .9210      .9900      .0500
     .99     1.00    10.00      .4605      .9900      .1000
     .99     2.00   -10.00      .          .          .
     .99     2.00    -5.00      .          .          .
     .99     2.00      .00      .          .          .
     .99     2.00     5.00     1.3277      .9900      .0435
     .99     2.00    10.00      .6638      .9900      .0869
     .99     5.00   -10.00      .          .          .
     .99     5.00    -5.00      .          .          .
     .99     5.00      .00      .          .          .
     .99     5.00     5.00     2.3209      .9900      .0345
     .99     5.00    10.00     1.1605      .9900      .0689
_ATEOF

   cat >gamma.sps <<'_ATEOF'
DATA LIST LIST FILE='gamma.in' NOTABLE SKIP=1
	/P a b Xx Xcdf Xpdf.
NUMERIC x cdf pdf (F10.4).
COMPUTE x = IDF.gamma(P, a, b).
COMPUTE cdf = cdf.gamma(x, a, b).
COMPUTE pdf = pdf.gamma(x, a, b).
DO IF $CASENUM = 1.
PRINT OUTFILE='gamma.out'/"       P        a        b          x        cdf        pdf ".
END IF.
PRINT OUTFILE='gamma.out'/P a b x cdf pdf.
EXECUTE.
_ATEOF

   { set +x
$as_echo "$at_srcdir/randist.at:1222: pspp -O format=csv gamma.sps"
at_fn_check_prepare_trace "randist.at:1222"
( $at_check_trace; pspp -O format=csv gamma.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/randist.at:1222"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/randist.at:1222: \$PERL compare.pl gamma.in gamma.out"
at_fn_check_prepare_dynamic "$PERL compare.pl gamma.in gamma.out" "randist.at:1222"
( $at_check_trace; $PERL compare.pl gamma.in gamma.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/randist.at:1222"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1063
#AT_START_1064
at_fn_group_banner 1064 'randist.at:1446' \
  "random distributions -- laplace" "                " 132
at_xfail=no
(
  $as_echo "1064. $at_setup_line: testing $at_desc ..."
  $at_traceon

   randist_compare
   cat >laplace.in <<'_ATEOF'
       P        a        b          x        cdf        pdf
     .01   -10.00      .50   -11.9560      .0100      .0200
     .01   -10.00     1.00   -13.9120      .0100      .0100
     .01   -10.00     2.00   -17.8240      .0100      .0050
     .01   -10.00     5.00   -29.5601      .0100      .0020
     .01    -5.00      .50    -6.9560      .0100      .0200
     .01    -5.00     1.00    -8.9120      .0100      .0100
     .01    -5.00     2.00   -12.8240      .0100      .0050
     .01    -5.00     5.00   -24.5601      .0100      .0020
     .01      .00      .50    -1.9560      .0100      .0200
     .01      .00     1.00    -3.9120      .0100      .0100
     .01      .00     2.00    -7.8240      .0100      .0050
     .01      .00     5.00   -19.5601      .0100      .0020
     .01     5.00      .50     3.0440      .0100      .0200
     .01     5.00     1.00     1.0880      .0100      .0100
     .01     5.00     2.00    -2.8240      .0100      .0050
     .01     5.00     5.00   -14.5601      .0100      .0020
     .01    10.00      .50     8.0440      .0100      .0200
     .01    10.00     1.00     6.0880      .0100      .0100
     .01    10.00     2.00     2.1760      .0100      .0050
     .01    10.00     5.00    -9.5601      .0100      .0020
     .10   -10.00      .50   -10.8047      .1000      .2000
     .10   -10.00     1.00   -11.6094      .1000      .1000
     .10   -10.00     2.00   -13.2189      .1000      .0500
     .10   -10.00     5.00   -18.0472      .1000      .0200
     .10    -5.00      .50    -5.8047      .1000      .2000
     .10    -5.00     1.00    -6.6094      .1000      .1000
     .10    -5.00     2.00    -8.2189      .1000      .0500
     .10    -5.00     5.00   -13.0472      .1000      .0200
     .10      .00      .50     -.8047      .1000      .2000
     .10      .00     1.00    -1.6094      .1000      .1000
     .10      .00     2.00    -3.2189      .1000      .0500
     .10      .00     5.00    -8.0472      .1000      .0200
     .10     5.00      .50     4.1953      .1000      .2000
     .10     5.00     1.00     3.3906      .1000      .1000
     .10     5.00     2.00     1.7811      .1000      .0500
     .10     5.00     5.00    -3.0472      .1000      .0200
     .10    10.00      .50     9.1953      .1000      .2000
     .10    10.00     1.00     8.3906      .1000      .1000
     .10    10.00     2.00     6.7811      .1000      .0500
     .10    10.00     5.00     1.9528      .1000      .0200
     .20   -10.00      .50   -10.4581      .2000      .4000
     .20   -10.00     1.00   -10.9163      .2000      .2000
     .20   -10.00     2.00   -11.8326      .2000      .1000
     .20   -10.00     5.00   -14.5815      .2000      .0400
     .20    -5.00      .50    -5.4581      .2000      .4000
     .20    -5.00     1.00    -5.9163      .2000      .2000
     .20    -5.00     2.00    -6.8326      .2000      .1000
     .20    -5.00     5.00    -9.5815      .2000      .0400
     .20      .00      .50     -.4581      .2000      .4000
     .20      .00     1.00     -.9163      .2000      .2000
     .20      .00     2.00    -1.8326      .2000      .1000
     .20      .00     5.00    -4.5815      .2000      .0400
     .20     5.00      .50     4.5419      .2000      .4000
     .20     5.00     1.00     4.0837      .2000      .2000
     .20     5.00     2.00     3.1674      .2000      .1000
     .20     5.00     5.00      .4185      .2000      .0400
     .20    10.00      .50     9.5419      .2000      .4000
     .20    10.00     1.00     9.0837      .2000      .2000
     .20    10.00     2.00     8.1674      .2000      .1000
     .20    10.00     5.00     5.4185      .2000      .0400
     .30   -10.00      .50   -10.2554      .3000      .6000
     .30   -10.00     1.00   -10.5108      .3000      .3000
     .30   -10.00     2.00   -11.0217      .3000      .1500
     .30   -10.00     5.00   -12.5541      .3000      .0600
     .30    -5.00      .50    -5.2554      .3000      .6000
     .30    -5.00     1.00    -5.5108      .3000      .3000
     .30    -5.00     2.00    -6.0217      .3000      .1500
     .30    -5.00     5.00    -7.5541      .3000      .0600
     .30      .00      .50     -.2554      .3000      .6000
     .30      .00     1.00     -.5108      .3000      .3000
     .30      .00     2.00    -1.0217      .3000      .1500
     .30      .00     5.00    -2.5541      .3000      .0600
     .30     5.00      .50     4.7446      .3000      .6000
     .30     5.00     1.00     4.4892      .3000      .3000
     .30     5.00     2.00     3.9783      .3000      .1500
     .30     5.00     5.00     2.4459      .3000      .0600
     .30    10.00      .50     9.7446      .3000      .6000
     .30    10.00     1.00     9.4892      .3000      .3000
     .30    10.00     2.00     8.9783      .3000      .1500
     .30    10.00     5.00     7.4459      .3000      .0600
     .40   -10.00      .50   -10.1116      .4000      .8000
     .40   -10.00     1.00   -10.2231      .4000      .4000
     .40   -10.00     2.00   -10.4463      .4000      .2000
     .40   -10.00     5.00   -11.1157      .4000      .0800
     .40    -5.00      .50    -5.1116      .4000      .8000
     .40    -5.00     1.00    -5.2231      .4000      .4000
     .40    -5.00     2.00    -5.4463      .4000      .2000
     .40    -5.00     5.00    -6.1157      .4000      .0800
     .40      .00      .50     -.1116      .4000      .8000
     .40      .00     1.00     -.2231      .4000      .4000
     .40      .00     2.00     -.4463      .4000      .2000
     .40      .00     5.00    -1.1157      .4000      .0800
     .40     5.00      .50     4.8884      .4000      .8000
     .40     5.00     1.00     4.7769      .4000      .4000
     .40     5.00     2.00     4.5537      .4000      .2000
     .40     5.00     5.00     3.8843      .4000      .0800
     .40    10.00      .50     9.8884      .4000      .8000
     .40    10.00     1.00     9.7769      .4000      .4000
     .40    10.00     2.00     9.5537      .4000      .2000
     .40    10.00     5.00     8.8843      .4000      .0800
     .50   -10.00      .50   -10.0000      .5000     1.0000
     .50   -10.00     1.00   -10.0000      .5000      .5000
     .50   -10.00     2.00   -10.0000      .5000      .2500
     .50   -10.00     5.00   -10.0000      .5000      .1000
     .50    -5.00      .50    -5.0000      .5000     1.0000
     .50    -5.00     1.00    -5.0000      .5000      .5000
     .50    -5.00     2.00    -5.0000      .5000      .2500
     .50    -5.00     5.00    -5.0000      .5000      .1000
     .50      .00      .50      .0000      .5000     1.0000
     .50      .00     1.00      .0000      .5000      .5000
     .50      .00     2.00      .0000      .5000      .2500
     .50      .00     5.00      .0000      .5000      .1000
     .50     5.00      .50     5.0000      .5000     1.0000
     .50     5.00     1.00     5.0000      .5000      .5000
     .50     5.00     2.00     5.0000      .5000      .2500
     .50     5.00     5.00     5.0000      .5000      .1000
     .50    10.00      .50    10.0000      .5000     1.0000
     .50    10.00     1.00    10.0000      .5000      .5000
     .50    10.00     2.00    10.0000      .5000      .2500
     .50    10.00     5.00    10.0000      .5000      .1000
     .60   -10.00      .50    -9.8884      .6000      .8000
     .60   -10.00     1.00    -9.7769      .6000      .4000
     .60   -10.00     2.00    -9.5537      .6000      .2000
     .60   -10.00     5.00    -8.8843      .6000      .0800
     .60    -5.00      .50    -4.8884      .6000      .8000
     .60    -5.00     1.00    -4.7769      .6000      .4000
     .60    -5.00     2.00    -4.5537      .6000      .2000
     .60    -5.00     5.00    -3.8843      .6000      .0800
     .60      .00      .50      .1116      .6000      .8000
     .60      .00     1.00      .2231      .6000      .4000
     .60      .00     2.00      .4463      .6000      .2000
     .60      .00     5.00     1.1157      .6000      .0800
     .60     5.00      .50     5.1116      .6000      .8000
     .60     5.00     1.00     5.2231      .6000      .4000
     .60     5.00     2.00     5.4463      .6000      .2000
     .60     5.00     5.00     6.1157      .6000      .0800
     .60    10.00      .50    10.1116      .6000      .8000
     .60    10.00     1.00    10.2231      .6000      .4000
     .60    10.00     2.00    10.4463      .6000      .2000
     .60    10.00     5.00    11.1157      .6000      .0800
     .70   -10.00      .50    -9.7446      .7000      .6000
     .70   -10.00     1.00    -9.4892      .7000      .3000
     .70   -10.00     2.00    -8.9783      .7000      .1500
     .70   -10.00     5.00    -7.4459      .7000      .0600
     .70    -5.00      .50    -4.7446      .7000      .6000
     .70    -5.00     1.00    -4.4892      .7000      .3000
     .70    -5.00     2.00    -3.9783      .7000      .1500
     .70    -5.00     5.00    -2.4459      .7000      .0600
     .70      .00      .50      .2554      .7000      .6000
     .70      .00     1.00      .5108      .7000      .3000
     .70      .00     2.00     1.0217      .7000      .1500
     .70      .00     5.00     2.5541      .7000      .0600
     .70     5.00      .50     5.2554      .7000      .6000
     .70     5.00     1.00     5.5108      .7000      .3000
     .70     5.00     2.00     6.0217      .7000      .1500
     .70     5.00     5.00     7.5541      .7000      .0600
     .70    10.00      .50    10.2554      .7000      .6000
     .70    10.00     1.00    10.5108      .7000      .3000
     .70    10.00     2.00    11.0217      .7000      .1500
     .70    10.00     5.00    12.5541      .7000      .0600
     .80   -10.00      .50    -9.5419      .8000      .4000
     .80   -10.00     1.00    -9.0837      .8000      .2000
     .80   -10.00     2.00    -8.1674      .8000      .1000
     .80   -10.00     5.00    -5.4185      .8000      .0400
     .80    -5.00      .50    -4.5419      .8000      .4000
     .80    -5.00     1.00    -4.0837      .8000      .2000
     .80    -5.00     2.00    -3.1674      .8000      .1000
     .80    -5.00     5.00     -.4185      .8000      .0400
     .80      .00      .50      .4581      .8000      .4000
     .80      .00     1.00      .9163      .8000      .2000
     .80      .00     2.00     1.8326      .8000      .1000
     .80      .00     5.00     4.5815      .8000      .0400
     .80     5.00      .50     5.4581      .8000      .4000
     .80     5.00     1.00     5.9163      .8000      .2000
     .80     5.00     2.00     6.8326      .8000      .1000
     .80     5.00     5.00     9.5815      .8000      .0400
     .80    10.00      .50    10.4581      .8000      .4000
     .80    10.00     1.00    10.9163      .8000      .2000
     .80    10.00     2.00    11.8326      .8000      .1000
     .80    10.00     5.00    14.5815      .8000      .0400
     .90   -10.00      .50    -9.1953      .9000      .2000
     .90   -10.00     1.00    -8.3906      .9000      .1000
     .90   -10.00     2.00    -6.7811      .9000      .0500
     .90   -10.00     5.00    -1.9528      .9000      .0200
     .90    -5.00      .50    -4.1953      .9000      .2000
     .90    -5.00     1.00    -3.3906      .9000      .1000
     .90    -5.00     2.00    -1.7811      .9000      .0500
     .90    -5.00     5.00     3.0472      .9000      .0200
     .90      .00      .50      .8047      .9000      .2000
     .90      .00     1.00     1.6094      .9000      .1000
     .90      .00     2.00     3.2189      .9000      .0500
     .90      .00     5.00     8.0472      .9000      .0200
     .90     5.00      .50     5.8047      .9000      .2000
     .90     5.00     1.00     6.6094      .9000      .1000
     .90     5.00     2.00     8.2189      .9000      .0500
     .90     5.00     5.00    13.0472      .9000      .0200
     .90    10.00      .50    10.8047      .9000      .2000
     .90    10.00     1.00    11.6094      .9000      .1000
     .90    10.00     2.00    13.2189      .9000      .0500
     .90    10.00     5.00    18.0472      .9000      .0200
     .99   -10.00      .50    -8.0440      .9900      .0200
     .99   -10.00     1.00    -6.0880      .9900      .0100
     .99   -10.00     2.00    -2.1760      .9900      .0050
     .99   -10.00     5.00     9.5601      .9900      .0020
     .99    -5.00      .50    -3.0440      .9900      .0200
     .99    -5.00     1.00    -1.0880      .9900      .0100
     .99    -5.00     2.00     2.8240      .9900      .0050
     .99    -5.00     5.00    14.5601      .9900      .0020
     .99      .00      .50     1.9560      .9900      .0200
     .99      .00     1.00     3.9120      .9900      .0100
     .99      .00     2.00     7.8240      .9900      .0050
     .99      .00     5.00    19.5601      .9900      .0020
     .99     5.00      .50     6.9560      .9900      .0200
     .99     5.00     1.00     8.9120      .9900      .0100
     .99     5.00     2.00    12.8240      .9900      .0050
     .99     5.00     5.00    24.5601      .9900      .0020
     .99    10.00      .50    11.9560      .9900      .0200
     .99    10.00     1.00    13.9120      .9900      .0100
     .99    10.00     2.00    17.8240      .9900      .0050
     .99    10.00     5.00    29.5601      .9900      .0020
_ATEOF

   cat >laplace.sps <<'_ATEOF'
DATA LIST LIST FILE='laplace.in' NOTABLE SKIP=1
	/P a b Xx Xcdf Xpdf.
NUMERIC x cdf pdf (F10.4).
COMPUTE x = IDF.laplace(P, a, b).
COMPUTE cdf = cdf.laplace(x, a, b).
COMPUTE pdf = pdf.laplace(x, a, b).
DO IF $CASENUM = 1.
PRINT OUTFILE='laplace.out'/"       P        a        b          x        cdf        pdf ".
END IF.
PRINT OUTFILE='laplace.out'/P a b x cdf pdf.
EXECUTE.
_ATEOF

   { set +x
$as_echo "$at_srcdir/randist.at:1446: pspp -O format=csv laplace.sps"
at_fn_check_prepare_trace "randist.at:1446"
( $at_check_trace; pspp -O format=csv laplace.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/randist.at:1446"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/randist.at:1446: \$PERL compare.pl laplace.in laplace.out"
at_fn_check_prepare_dynamic "$PERL compare.pl laplace.in laplace.out" "randist.at:1446"
( $at_check_trace; $PERL compare.pl laplace.in laplace.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/randist.at:1446"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1064
#AT_START_1065
at_fn_group_banner 1065 'randist.at:1670' \
  "random distributions -- logistic" "               " 132
at_xfail=no
(
  $as_echo "1065. $at_setup_line: testing $at_desc ..."
  $at_traceon

   randist_compare
   cat >logistic.in <<'_ATEOF'
       P        a        b          x        cdf        pdf
     .01   -10.00      .50   -12.2976      .0100      .0198
     .01   -10.00     1.00   -14.5951      .0100      .0099
     .01   -10.00     2.00   -19.1902      .0100      .0049
     .01   -10.00     5.00   -32.9756      .0100      .0020
     .01    -5.00      .50    -7.2976      .0100      .0198
     .01    -5.00     1.00    -9.5951      .0100      .0099
     .01    -5.00     2.00   -14.1902      .0100      .0050
     .01    -5.00     5.00   -27.9756      .0100      .0020
     .01      .00      .50    -2.2976      .0100      .0198
     .01      .00     1.00    -4.5951      .0100      .0099
     .01      .00     2.00    -9.1902      .0100      .0050
     .01      .00     5.00   -22.9756      .0100      .0020
     .01     5.00      .50     2.7024      .0100      .0198
     .01     5.00     1.00      .4049      .0100      .0099
     .01     5.00     2.00    -4.1902      .0100      .0050
     .01     5.00     5.00   -17.9756      .0100      .0020
     .01    10.00      .50     7.7024      .0100      .0198
     .01    10.00     1.00     5.4049      .0100      .0099
     .01    10.00     2.00      .8098      .0100      .0050
     .01    10.00     5.00   -12.9756      .0100      .0020
     .10   -10.00      .50   -11.0986      .1000      .1800
     .10   -10.00     1.00   -12.1972      .1000      .0900
     .10   -10.00     2.00   -14.3944      .1000      .0450
     .10   -10.00     5.00   -20.9861      .1000      .0180
     .10    -5.00      .50    -6.0986      .1000      .1800
     .10    -5.00     1.00    -7.1972      .1000      .0900
     .10    -5.00     2.00    -9.3944      .1000      .0450
     .10    -5.00     5.00   -15.9861      .1000      .0180
     .10      .00      .50    -1.0986      .1000      .1800
     .10      .00     1.00    -2.1972      .1000      .0900
     .10      .00     2.00    -4.3944      .1000      .0450
     .10      .00     5.00   -10.9861      .1000      .0180
     .10     5.00      .50     3.9014      .1000      .1800
     .10     5.00     1.00     2.8028      .1000      .0900
     .10     5.00     2.00      .6056      .1000      .0450
     .10     5.00     5.00    -5.9861      .1000      .0180
     .10    10.00      .50     8.9014      .1000      .1800
     .10    10.00     1.00     7.8028      .1000      .0900
     .10    10.00     2.00     5.6056      .1000      .0450
     .10    10.00     5.00     -.9861      .1000      .0180
     .20   -10.00      .50   -10.6931      .2000      .3200
     .20   -10.00     1.00   -11.3863      .2000      .1600
     .20   -10.00     2.00   -12.7726      .2000      .0800
     .20   -10.00     5.00   -16.9315      .2000      .0320
     .20    -5.00      .50    -5.6931      .2000      .3200
     .20    -5.00     1.00    -6.3863      .2000      .1600
     .20    -5.00     2.00    -7.7726      .2000      .0800
     .20    -5.00     5.00   -11.9315      .2000      .0320
     .20      .00      .50     -.6931      .2000      .3200
     .20      .00     1.00    -1.3863      .2000      .1600
     .20      .00     2.00    -2.7726      .2000      .0800
     .20      .00     5.00    -6.9315      .2000      .0320
     .20     5.00      .50     4.3069      .2000      .3200
     .20     5.00     1.00     3.6137      .2000      .1600
     .20     5.00     2.00     2.2274      .2000      .0800
     .20     5.00     5.00    -1.9315      .2000      .0320
     .20    10.00      .50     9.3069      .2000      .3200
     .20    10.00     1.00     8.6137      .2000      .1600
     .20    10.00     2.00     7.2274      .2000      .0800
     .20    10.00     5.00     3.0685      .2000      .0320
     .30   -10.00      .50   -10.4236      .3000      .4200
     .30   -10.00     1.00   -10.8473      .3000      .2100
     .30   -10.00     2.00   -11.6946      .3000      .1050
     .30   -10.00     5.00   -14.2365      .3000      .0420
     .30    -5.00      .50    -5.4236      .3000      .4200
     .30    -5.00     1.00    -5.8473      .3000      .2100
     .30    -5.00     2.00    -6.6946      .3000      .1050
     .30    -5.00     5.00    -9.2365      .3000      .0420
     .30      .00      .50     -.4236      .3000      .4200
     .30      .00     1.00     -.8473      .3000      .2100
     .30      .00     2.00    -1.6946      .3000      .1050
     .30      .00     5.00    -4.2365      .3000      .0420
     .30     5.00      .50     4.5764      .3000      .4200
     .30     5.00     1.00     4.1527      .3000      .2100
     .30     5.00     2.00     3.3054      .3000      .1050
     .30     5.00     5.00      .7635      .3000      .0420
     .30    10.00      .50     9.5764      .3000      .4200
     .30    10.00     1.00     9.1527      .3000      .2100
     .30    10.00     2.00     8.3054      .3000      .1050
     .30    10.00     5.00     5.7635      .3000      .0420
     .40   -10.00      .50   -10.2027      .4000      .4800
     .40   -10.00     1.00   -10.4055      .4000      .2400
     .40   -10.00     2.00   -10.8109      .4000      .1200
     .40   -10.00     5.00   -12.0273      .4000      .0480
     .40    -5.00      .50    -5.2027      .4000      .4800
     .40    -5.00     1.00    -5.4055      .4000      .2400
     .40    -5.00     2.00    -5.8109      .4000      .1200
     .40    -5.00     5.00    -7.0273      .4000      .0480
     .40      .00      .50     -.2027      .4000      .4800
     .40      .00     1.00     -.4055      .4000      .2400
     .40      .00     2.00     -.8109      .4000      .1200
     .40      .00     5.00    -2.0273      .4000      .0480
     .40     5.00      .50     4.7973      .4000      .4800
     .40     5.00     1.00     4.5945      .4000      .2400
     .40     5.00     2.00     4.1891      .4000      .1200
     .40     5.00     5.00     2.9727      .4000      .0480
     .40    10.00      .50     9.7973      .4000      .4800
     .40    10.00     1.00     9.5945      .4000      .2400
     .40    10.00     2.00     9.1891      .4000      .1200
     .40    10.00     5.00     7.9727      .4000      .0480
     .50   -10.00      .50   -10.0000      .5000      .5000
     .50   -10.00     1.00   -10.0000      .5000      .2500
     .50   -10.00     2.00   -10.0000      .5000      .1250
     .50   -10.00     5.00   -10.0000      .5000      .0500
     .50    -5.00      .50    -5.0000      .5000      .5000
     .50    -5.00     1.00    -5.0000      .5000      .2500
     .50    -5.00     2.00    -5.0000      .5000      .1250
     .50    -5.00     5.00    -5.0000      .5000      .0500
     .50      .00      .50      .0000      .5000      .5000
     .50      .00     1.00      .0000      .5000      .2500
     .50      .00     2.00      .0000      .5000      .1250
     .50      .00     5.00      .0000      .5000      .0500
     .50     5.00      .50     5.0000      .5000      .5000
     .50     5.00     1.00     5.0000      .5000      .2500
     .50     5.00     2.00     5.0000      .5000      .1250
     .50     5.00     5.00     5.0000      .5000      .0500
     .50    10.00      .50    10.0000      .5000      .5000
     .50    10.00     1.00    10.0000      .5000      .2500
     .50    10.00     2.00    10.0000      .5000      .1250
     .50    10.00     5.00    10.0000      .5000      .0500
     .60   -10.00      .50    -9.7973      .6000      .4800
     .60   -10.00     1.00    -9.5945      .6000      .2400
     .60   -10.00     2.00    -9.1891      .6000      .1200
     .60   -10.00     5.00    -7.9727      .6000      .0480
     .60    -5.00      .50    -4.7973      .6000      .4800
     .60    -5.00     1.00    -4.5945      .6000      .2400
     .60    -5.00     2.00    -4.1891      .6000      .1200
     .60    -5.00     5.00    -2.9727      .6000      .0480
     .60      .00      .50      .2027      .6000      .4800
     .60      .00     1.00      .4055      .6000      .2400
     .60      .00     2.00      .8109      .6000      .1200
     .60      .00     5.00     2.0273      .6000      .0480
     .60     5.00      .50     5.2027      .6000      .4800
     .60     5.00     1.00     5.4055      .6000      .2400
     .60     5.00     2.00     5.8109      .6000      .1200
     .60     5.00     5.00     7.0273      .6000      .0480
     .60    10.00      .50    10.2027      .6000      .4800
     .60    10.00     1.00    10.4055      .6000      .2400
     .60    10.00     2.00    10.8109      .6000      .1200
     .60    10.00     5.00    12.0273      .6000      .0480
     .70   -10.00      .50    -9.5764      .7000      .4200
     .70   -10.00     1.00    -9.1527      .7000      .2100
     .70   -10.00     2.00    -8.3054      .7000      .1050
     .70   -10.00     5.00    -5.7635      .7000      .0420
     .70    -5.00      .50    -4.5764      .7000      .4200
     .70    -5.00     1.00    -4.1527      .7000      .2100
     .70    -5.00     2.00    -3.3054      .7000      .1050
     .70    -5.00     5.00     -.7635      .7000      .0420
     .70      .00      .50      .4236      .7000      .4200
     .70      .00     1.00      .8473      .7000      .2100
     .70      .00     2.00     1.6946      .7000      .1050
     .70      .00     5.00     4.2365      .7000      .0420
     .70     5.00      .50     5.4236      .7000      .4200
     .70     5.00     1.00     5.8473      .7000      .2100
     .70     5.00     2.00     6.6946      .7000      .1050
     .70     5.00     5.00     9.2365      .7000      .0420
     .70    10.00      .50    10.4236      .7000      .4200
     .70    10.00     1.00    10.8473      .7000      .2100
     .70    10.00     2.00    11.6946      .7000      .1050
     .70    10.00     5.00    14.2365      .7000      .0420
     .80   -10.00      .50    -9.3069      .8000      .3200
     .80   -10.00     1.00    -8.6137      .8000      .1600
     .80   -10.00     2.00    -7.2274      .8000      .0800
     .80   -10.00     5.00    -3.0685      .8000      .0320
     .80    -5.00      .50    -4.3069      .8000      .3200
     .80    -5.00     1.00    -3.6137      .8000      .1600
     .80    -5.00     2.00    -2.2274      .8000      .0800
     .80    -5.00     5.00     1.9315      .8000      .0320
     .80      .00      .50      .6931      .8000      .3200
     .80      .00     1.00     1.3863      .8000      .1600
     .80      .00     2.00     2.7726      .8000      .0800
     .80      .00     5.00     6.9315      .8000      .0320
     .80     5.00      .50     5.6931      .8000      .3200
     .80     5.00     1.00     6.3863      .8000      .1600
     .80     5.00     2.00     7.7726      .8000      .0800
     .80     5.00     5.00    11.9315      .8000      .0320
     .80    10.00      .50    10.6931      .8000      .3200
     .80    10.00     1.00    11.3863      .8000      .1600
     .80    10.00     2.00    12.7726      .8000      .0800
     .80    10.00     5.00    16.9315      .8000      .0320
     .90   -10.00      .50    -8.9014      .9000      .1800
     .90   -10.00     1.00    -7.8028      .9000      .0900
     .90   -10.00     2.00    -5.6056      .9000      .0450
     .90   -10.00     5.00      .9861      .9000      .0180
     .90    -5.00      .50    -3.9014      .9000      .1800
     .90    -5.00     1.00    -2.8028      .9000      .0900
     .90    -5.00     2.00     -.6056      .9000      .0450
     .90    -5.00     5.00     5.9861      .9000      .0180
     .90      .00      .50     1.0986      .9000      .1800
     .90      .00     1.00     2.1972      .9000      .0900
     .90      .00     2.00     4.3944      .9000      .0450
     .90      .00     5.00    10.9861      .9000      .0180
     .90     5.00      .50     6.0986      .9000      .1800
     .90     5.00     1.00     7.1972      .9000      .0900
     .90     5.00     2.00     9.3944      .9000      .0450
     .90     5.00     5.00    15.9861      .9000      .0180
     .90    10.00      .50    11.0986      .9000      .1800
     .90    10.00     1.00    12.1972      .9000      .0900
     .90    10.00     2.00    14.3944      .9000      .0450
     .90    10.00     5.00    20.9861      .9000      .0180
     .99   -10.00      .50    -7.7024      .9900      .0198
     .99   -10.00     1.00    -5.4049      .9900      .0099
     .99   -10.00     2.00     -.8098      .9900      .0050
     .99   -10.00     5.00    12.9756      .9900      .0020
     .99    -5.00      .50    -2.7024      .9900      .0198
     .99    -5.00     1.00     -.4049      .9900      .0099
     .99    -5.00     2.00     4.1902      .9900      .0050
     .99    -5.00     5.00    17.9756      .9900      .0020
     .99      .00      .50     2.2976      .9900      .0198
     .99      .00     1.00     4.5951      .9900      .0099
     .99      .00     2.00     9.1902      .9900      .0050
     .99      .00     5.00    22.9756      .9900      .0020
     .99     5.00      .50     7.2976      .9900      .0198
     .99     5.00     1.00     9.5951      .9900      .0099
     .99     5.00     2.00    14.1902      .9900      .0050
     .99     5.00     5.00    27.9756      .9900      .0020
     .99    10.00      .50    12.2976      .9900      .0198
     .99    10.00     1.00    14.5951      .9900      .0099
     .99    10.00     2.00    19.1902      .9900      .0050
     .99    10.00     5.00    32.9756      .9900      .0020
_ATEOF

   cat >logistic.sps <<'_ATEOF'
DATA LIST LIST FILE='logistic.in' NOTABLE SKIP=1
	/P a b Xx Xcdf Xpdf.
NUMERIC x cdf pdf (F10.4).
COMPUTE x = IDF.logistic(P, a, b).
COMPUTE cdf = cdf.logistic(x, a, b).
COMPUTE pdf = pdf.logistic(x, a, b).
DO IF $CASENUM = 1.
PRINT OUTFILE='logistic.out'/"       P        a        b          x        cdf        pdf ".
END IF.
PRINT OUTFILE='logistic.out'/P a b x cdf pdf.
EXECUTE.
_ATEOF

   { set +x
$as_echo "$at_srcdir/randist.at:1670: pspp -O format=csv logistic.sps"
at_fn_check_prepare_trace "randist.at:1670"
( $at_check_trace; pspp -O format=csv logistic.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/randist.at:1670"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/randist.at:1670: \$PERL compare.pl logistic.in logistic.out"
at_fn_check_prepare_dynamic "$PERL compare.pl logistic.in logistic.out" "randist.at:1670"
( $at_check_trace; $PERL compare.pl logistic.in logistic.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/randist.at:1670"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1065
#AT_START_1066
at_fn_group_banner 1066 'randist.at:1894' \
  "random distributions -- lnormal" "                " 132
at_xfail=no
(
  $as_echo "1066. $at_setup_line: testing $at_desc ..."
  $at_traceon

   randist_compare
   cat >lnormal.in <<'_ATEOF'
       P        z        s          x        cdf        pdf
     .01      .50      .50      .1562      .0100      .3412
     .01      .50     1.00      .0488      .0100      .5459
     .01      .50     2.00      .0048      .0100     2.7949
     .01      .50     5.00      .0000      .0100  1200.5834
     .01     1.00      .50      .3125      .0100      .1706
     .01     1.00     1.00      .0977      .0100      .2729
     .01     1.00     2.00      .0095      .0100     1.3975
     .01     1.00     5.00      .0000      .0100   600.2917
     .01     2.00      .50      .6250      .0100      .0853
     .01     2.00     1.00      .1953      .0100      .1365
     .01     2.00     2.00      .0191      .0100      .6987
     .01     2.00     5.00      .0000      .0100   300.1459
     .01     5.00      .50     1.5625      .0100      .0341
     .01     5.00     1.00      .4883      .0100      .0546
     .01     5.00     2.00      .0477      .0100      .2795
     .01     5.00     5.00      .0000      .0100   120.0583
     .10      .50      .50      .2634      .1000     1.3324
     .10      .50     1.00      .1388      .1000     1.2644
     .10      .50     2.00      .0385      .1000     2.2773
     .10      .50     5.00      .0008      .1000    42.5782
     .10     1.00      .50      .5269      .1000      .6662
     .10     1.00     1.00      .2776      .1000      .6322
     .10     1.00     2.00      .0771      .1000     1.1386
     .10     1.00     5.00      .0016      .1000    21.2891
     .10     2.00      .50     1.0538      .1000      .3331
     .10     2.00     1.00      .5552      .1000      .3161
     .10     2.00     2.00      .1541      .1000      .5693
     .10     2.00     5.00      .0033      .1000    10.6445
     .10     5.00      .50     2.6344      .1000      .1332
     .10     5.00     1.00     1.3880      .1000      .1264
     .10     5.00     2.00      .3853      .1000      .2277
     .10     5.00     5.00      .0082      .1000     4.2578
     .20      .50      .50      .3283      .2000     1.7057
     .20      .50     1.00      .2155      .2000     1.2991
     .20      .50     2.00      .0929      .2000     1.5070
     .20      .50     5.00      .0074      .2000     7.5286
     .20     1.00      .50      .6565      .2000      .8529
     .20     1.00     1.00      .4310      .2000      .6495
     .20     1.00     2.00      .1858      .2000      .7535
     .20     1.00     5.00      .0149      .2000     3.7643
     .20     2.00      .50     1.3130      .2000      .4264
     .20     2.00     1.00      .8620      .2000      .3248
     .20     2.00     2.00      .3715      .2000      .3768
     .20     2.00     5.00      .0297      .2000     1.8822
     .20     5.00      .50     3.2826      .2000      .1706
     .20     5.00     1.00     2.1551      .2000      .1299
     .20     5.00     2.00      .9289      .2000      .1507
     .20     5.00     5.00      .0744      .2000      .7529
     .30      .50      .50      .3847      .3000     1.8077
     .30      .50     1.00      .2960      .3000     1.1748
     .30      .50     2.00      .1752      .3000      .9924
     .30      .50     5.00      .0363      .3000     1.9142
     .30     1.00      .50      .7694      .3000      .9039
     .30     1.00     1.00      .5919      .3000      .5874
     .30     1.00     2.00      .3504      .3000      .4962
     .30     1.00     5.00      .0727      .3000      .9571
     .30     2.00      .50     1.5387      .3000      .4519
     .30     2.00     1.00     1.1838      .3000      .2937
     .30     2.00     2.00      .7007      .3000      .2481
     .30     2.00     5.00      .1453      .3000      .4785
     .30     5.00      .50     3.8468      .3000      .1808
     .30     5.00     1.00     2.9596      .3000      .1175
     .30     5.00     2.00     1.7518      .3000      .0992
     .30     5.00     5.00      .3633      .3000      .1914
     .40      .50      .50      .4405      .4000     1.7541
     .40      .50     1.00      .3881      .4000      .9955
     .40      .50     2.00      .3012      .4000      .6412
     .40      .50     5.00      .1409      .4000      .5485
     .40     1.00      .50      .8810      .4000      .8770
     .40     1.00     1.00      .7762      .4000      .4977
     .40     1.00     2.00      .6025      .4000      .3206
     .40     1.00     5.00      .2817      .4000      .2742
     .40     2.00      .50     1.7620      .4000      .4385
     .40     2.00     1.00     1.5524      .4000      .2489
     .40     2.00     2.00     1.2050      .4000      .1603
     .40     2.00     5.00      .5635      .4000      .1371
     .40     5.00      .50     4.4051      .4000      .1754
     .40     5.00     1.00     3.8810      .4000      .0995
     .40     5.00     2.00     3.0124      .4000      .0641
     .40     5.00     5.00     1.4087      .4000      .0548
     .50      .50      .50      .5000      .5000     1.5958
     .50      .50     1.00      .5000      .5000      .7979
     .50      .50     2.00      .5000      .5000      .3989
     .50      .50     5.00      .5000      .5000      .1596
     .50     1.00      .50     1.0000      .5000      .7979
     .50     1.00     1.00     1.0000      .5000      .3989
     .50     1.00     2.00     1.0000      .5000      .1995
     .50     1.00     5.00     1.0000      .5000      .0798
     .50     2.00      .50     2.0000      .5000      .3989
     .50     2.00     1.00     2.0000      .5000      .1995
     .50     2.00     2.00     2.0000      .5000      .0997
     .50     2.00     5.00     2.0000      .5000      .0399
     .50     5.00      .50     5.0000      .5000      .1596
     .50     5.00     1.00     5.0000      .5000      .0798
     .50     5.00     2.00     5.0000      .5000      .0399
     .50     5.00     5.00     5.0000      .5000      .0160
     .60      .50      .50      .5675      .6000     1.3615
     .60      .50     1.00      .6442      .6000      .5998
     .60      .50     2.00      .8299      .6000      .2328
     .60      .50     5.00     1.7746      .6000      .0435
     .60     1.00      .50     1.1350      .6000      .6808
     .60     1.00     1.00     1.2883      .6000      .2999
     .60     1.00     2.00     1.6598      .6000      .1164
     .60     1.00     5.00     3.5492      .6000      .0218
     .60     2.00      .50     2.2701      .6000      .3404
     .60     2.00     1.00     2.5767      .6000      .1499
     .60     2.00     2.00     3.3196      .6000      .0582
     .60     2.00     5.00     7.0985      .6000      .0109
     .60     5.00      .50     5.6752      .6000      .1362
     .60     5.00     1.00     6.4417      .6000      .0600
     .60     5.00     2.00     8.2990      .6000      .0233
     .60     5.00     5.00    17.7462      .6000      .0044
     .70      .50      .50      .6499      .7000     1.0700
     .70      .50     1.00      .8447      .7000      .4116
     .70      .50     2.00     1.4271      .7000      .1218
     .70      .50     5.00     6.8816      .7000      .0101
     .70     1.00      .50     1.2998      .7000      .5350
     .70     1.00     1.00     1.6894      .7000      .2058
     .70     1.00     2.00     2.8542      .7000      .0609
     .70     1.00     5.00    13.7633      .7000      .0051
     .70     2.00      .50     2.5996      .7000      .2675
     .70     2.00     1.00     3.3789      .7000      .1029
     .70     2.00     2.00     5.7085      .7000      .0305
     .70     2.00     5.00    27.5265      .7000      .0025
     .70     5.00      .50     6.4989      .7000      .1070
     .70     5.00     1.00     8.4472      .7000      .0412
     .70     5.00     2.00    14.2711      .7000      .0122
     .70     5.00     5.00    68.8163      .7000      .0010
     .80      .50      .50      .7616      .8000      .7352
     .80      .50     1.00     1.1601      .8000      .2413
     .80      .50     2.00     2.6915      .8000      .0520
     .80      .50     5.00    33.6145      .8000      .0017
     .80     1.00      .50     1.5232      .8000      .3676
     .80     1.00     1.00     2.3201      .8000      .1207
     .80     1.00     2.00     5.3830      .8000      .0260
     .80     1.00     5.00    67.2291      .8000      .0008
     .80     2.00      .50     3.0464      .8000      .1838
     .80     2.00     1.00     4.6403      .8000      .0603
     .80     2.00     2.00    10.7660      .8000      .0130
     .80     2.00     5.00   134.4582      .8000      .0004
     .80     5.00      .50     7.6160      .8000      .0735
     .80     5.00     1.00    11.6006      .8000      .0241
     .80     5.00     2.00    26.9149      .8000      .0052
     .80     5.00     5.00   336.1455      .8000      .0002
     .90      .50      .50      .9490      .9000      .3699
     .90      .50     1.00     1.8011      .9000      .0974
     .90      .50     2.00     6.4880      .9000      .0135
     .90      .50     5.00   303.2661      .9000      .0001
     .90     1.00      .50     1.8980      .9000      .1849
     .90     1.00     1.00     3.6022      .9000      .0487
     .90     1.00     2.00    12.9760      .9000      .0068
     .90     1.00     5.00   606.5322      .9000      .0001
     .90     2.00      .50     3.7959      .9000      .0925
     .90     2.00     1.00     7.2044      .9000      .0244
     .90     2.00     2.00    25.9520      .9000      .0034
     .90     2.00     5.00  1213.0644      .9000      .0000
     .90     5.00      .50     9.4898      .9000      .0370
     .90     5.00     1.00    18.0111      .9000      .0097
     .90     5.00     2.00    64.8801      .9000      .0014
     .90     5.00     5.00  3032.6610      .9000      .0000
     .99      .50      .50     1.6000      .9900      .0333
     .99      .50     1.00     5.1202      .9900      .0052
     .99      .50     2.00    52.4337      .9900      .0003
     .99      .50     5.00 56308.0163      .9900      .0000
     .99     1.00      .50     3.2001      .9900      .0167
     .99     1.00     1.00    10.2405      .9900      .0026
     .99     1.00     2.00   104.8673      .9900      .0001
     .99     1.00     5.00 112616.033      .9900      .0000
     .99     2.00      .50     6.4001      .9900      .0083
     .99     2.00     1.00    20.4809      .9900      .0013
     .99     2.00     2.00   209.7346      .9900      .0001
     .99     2.00     5.00 225232.065      .9900      .0000
     .99     5.00      .50    16.0004      .9900      .0033
     .99     5.00     1.00    51.2024      .9900      .0005
     .99     5.00     2.00   524.3365      .9900      .0000
     .99     5.00     5.00 563080.163      .9900      .0000
_ATEOF

   cat >lnormal.sps <<'_ATEOF'
DATA LIST LIST FILE='lnormal.in' NOTABLE SKIP=1
	/P z s Xx Xcdf Xpdf.
NUMERIC x cdf pdf (F10.4).
COMPUTE x = IDF.lnormal(P, z, s).
COMPUTE cdf = cdf.lnormal(x, z, s).
COMPUTE pdf = pdf.lnormal(x, z, s).
DO IF $CASENUM = 1.
PRINT OUTFILE='lnormal.out'/"       P        z        s          x        cdf        pdf ".
END IF.
PRINT OUTFILE='lnormal.out'/P z s x cdf pdf.
EXECUTE.
_ATEOF

   { set +x
$as_echo "$at_srcdir/randist.at:1894: pspp -O format=csv lnormal.sps"
at_fn_check_prepare_trace "randist.at:1894"
( $at_check_trace; pspp -O format=csv lnormal.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/randist.at:1894"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/randist.at:1894: \$PERL compare.pl lnormal.in lnormal.out"
at_fn_check_prepare_dynamic "$PERL compare.pl lnormal.in lnormal.out" "randist.at:1894"
( $at_check_trace; $PERL compare.pl lnormal.in lnormal.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/randist.at:1894"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1066
#AT_START_1067
at_fn_group_banner 1067 'randist.at:2074' \
  "random distributions -- normal" "                 " 132
at_xfail=no
(
  $as_echo "1067. $at_setup_line: testing $at_desc ..."
  $at_traceon

   randist_compare
   cat >normal.in <<'_ATEOF'
       P        u        s          x        cdf        pdf
     .01   -10.00      .50   -11.1632      .0100      .0533
     .01   -10.00     1.00   -12.3263      .0100      .0267
     .01   -10.00     2.00   -14.6527      .0100      .0133
     .01   -10.00     5.00   -21.6317      .0100      .0053
     .01    -5.00      .50    -6.1632      .0100      .0533
     .01    -5.00     1.00    -7.3263      .0100      .0267
     .01    -5.00     2.00    -9.6527      .0100      .0133
     .01    -5.00     5.00   -16.6317      .0100      .0053
     .01      .00      .50    -1.1632      .0100      .0533
     .01      .00     1.00    -2.3263      .0100      .0267
     .01      .00     2.00    -4.6527      .0100      .0133
     .01      .00     5.00   -11.6317      .0100      .0053
     .01     5.00      .50     3.8368      .0100      .0533
     .01     5.00     1.00     2.6737      .0100      .0267
     .01     5.00     2.00      .3473      .0100      .0133
     .01     5.00     5.00    -6.6317      .0100      .0053
     .01    10.00      .50     8.8368      .0100      .0533
     .01    10.00     1.00     7.6737      .0100      .0267
     .01    10.00     2.00     5.3473      .0100      .0133
     .01    10.00     5.00    -1.6317      .0100      .0053
     .10   -10.00      .50   -10.6408      .1000      .3510
     .10   -10.00     1.00   -11.2816      .1000      .1755
     .10   -10.00     2.00   -12.5631      .1000      .0877
     .10   -10.00     5.00   -16.4078      .1000      .0351
     .10    -5.00      .50    -5.6408      .1000      .3510
     .10    -5.00     1.00    -6.2816      .1000      .1755
     .10    -5.00     2.00    -7.5631      .1000      .0877
     .10    -5.00     5.00   -11.4078      .1000      .0351
     .10      .00      .50     -.6408      .1000      .3510
     .10      .00     1.00    -1.2816      .1000      .1755
     .10      .00     2.00    -2.5631      .1000      .0877
     .10      .00     5.00    -6.4078      .1000      .0351
     .10     5.00      .50     4.3592      .1000      .3510
     .10     5.00     1.00     3.7184      .1000      .1755
     .10     5.00     2.00     2.4369      .1000      .0877
     .10     5.00     5.00    -1.4078      .1000      .0351
     .10    10.00      .50     9.3592      .1000      .3510
     .10    10.00     1.00     8.7184      .1000      .1755
     .10    10.00     2.00     7.4369      .1000      .0877
     .10    10.00     5.00     3.5922      .1000      .0351
     .20   -10.00      .50   -10.4208      .2000      .5599
     .20   -10.00     1.00   -10.8416      .2000      .2800
     .20   -10.00     2.00   -11.6832      .2000      .1400
     .20   -10.00     5.00   -14.2081      .2000      .0560
     .20    -5.00      .50    -5.4208      .2000      .5599
     .20    -5.00     1.00    -5.8416      .2000      .2800
     .20    -5.00     2.00    -6.6832      .2000      .1400
     .20    -5.00     5.00    -9.2081      .2000      .0560
     .20      .00      .50     -.4208      .2000      .5599
     .20      .00     1.00     -.8416      .2000      .2800
     .20      .00     2.00    -1.6832      .2000      .1400
     .20      .00     5.00    -4.2081      .2000      .0560
     .20     5.00      .50     4.5792      .2000      .5599
     .20     5.00     1.00     4.1584      .2000      .2800
     .20     5.00     2.00     3.3168      .2000      .1400
     .20     5.00     5.00      .7919      .2000      .0560
     .20    10.00      .50     9.5792      .2000      .5599
     .20    10.00     1.00     9.1584      .2000      .2800
     .20    10.00     2.00     8.3168      .2000      .1400
     .20    10.00     5.00     5.7919      .2000      .0560
     .30   -10.00      .50   -10.2622      .3000      .6954
     .30   -10.00     1.00   -10.5244      .3000      .3477
     .30   -10.00     2.00   -11.0488      .3000      .1738
     .30   -10.00     5.00   -12.6220      .3000      .0695
     .30    -5.00      .50    -5.2622      .3000      .6954
     .30    -5.00     1.00    -5.5244      .3000      .3477
     .30    -5.00     2.00    -6.0488      .3000      .1738
     .30    -5.00     5.00    -7.6220      .3000      .0695
     .30      .00      .50     -.2622      .3000      .6954
     .30      .00     1.00     -.5244      .3000      .3477
     .30      .00     2.00    -1.0488      .3000      .1738
     .30      .00     5.00    -2.6220      .3000      .0695
     .30     5.00      .50     4.7378      .3000      .6954
     .30     5.00     1.00     4.4756      .3000      .3477
     .30     5.00     2.00     3.9512      .3000      .1738
     .30     5.00     5.00     2.3780      .3000      .0695
     .30    10.00      .50     9.7378      .3000      .6954
     .30    10.00     1.00     9.4756      .3000      .3477
     .30    10.00     2.00     8.9512      .3000      .1738
     .30    10.00     5.00     7.3780      .3000      .0695
     .40   -10.00      .50   -10.1267      .4000      .7727
     .40   -10.00     1.00   -10.2533      .4000      .3863
     .40   -10.00     2.00   -10.5067      .4000      .1932
     .40   -10.00     5.00   -11.2667      .4000      .0773
     .40    -5.00      .50    -5.1267      .4000      .7727
     .40    -5.00     1.00    -5.2533      .4000      .3863
     .40    -5.00     2.00    -5.5067      .4000      .1932
     .40    -5.00     5.00    -6.2667      .4000      .0773
     .40      .00      .50     -.1267      .4000      .7727
     .40      .00     1.00     -.2533      .4000      .3863
     .40      .00     2.00     -.5067      .4000      .1932
     .40      .00     5.00    -1.2667      .4000      .0773
     .40     5.00      .50     4.8733      .4000      .7727
     .40     5.00     1.00     4.7467      .4000      .3863
     .40     5.00     2.00     4.4933      .4000      .1932
     .40     5.00     5.00     3.7333      .4000      .0773
     .40    10.00      .50     9.8733      .4000      .7727
     .40    10.00     1.00     9.7467      .4000      .3863
     .40    10.00     2.00     9.4933      .4000      .1932
     .40    10.00     5.00     8.7333      .4000      .0773
     .50   -10.00      .50   -10.0000      .5000      .7979
     .50   -10.00     1.00   -10.0000      .5000      .3989
     .50   -10.00     2.00   -10.0000      .5000      .1995
     .50   -10.00     5.00   -10.0000      .5000      .0798
     .50    -5.00      .50    -5.0000      .5000      .7979
     .50    -5.00     1.00    -5.0000      .5000      .3989
     .50    -5.00     2.00    -5.0000      .5000      .1995
     .50    -5.00     5.00    -5.0000      .5000      .0798
     .50      .00      .50      .0000      .5000      .7979
     .50      .00     1.00      .0000      .5000      .3989
     .50      .00     2.00      .0000      .5000      .1995
     .50      .00     5.00      .0000      .5000      .0798
     .50     5.00      .50     5.0000      .5000      .7979
     .50     5.00     1.00     5.0000      .5000      .3989
     .50     5.00     2.00     5.0000      .5000      .1995
     .50     5.00     5.00     5.0000      .5000      .0798
     .50    10.00      .50    10.0000      .5000      .7979
     .50    10.00     1.00    10.0000      .5000      .3989
     .50    10.00     2.00    10.0000      .5000      .1995
     .50    10.00     5.00    10.0000      .5000      .0798
     .60   -10.00      .50    -9.8733      .6000      .7727
     .60   -10.00     1.00    -9.7467      .6000      .3863
     .60   -10.00     2.00    -9.4933      .6000      .1932
     .60   -10.00     5.00    -8.7333      .6000      .0773
     .60    -5.00      .50    -4.8733      .6000      .7727
     .60    -5.00     1.00    -4.7467      .6000      .3863
     .60    -5.00     2.00    -4.4933      .6000      .1932
     .60    -5.00     5.00    -3.7333      .6000      .0773
     .60      .00      .50      .1267      .6000      .7727
     .60      .00     1.00      .2533      .6000      .3863
     .60      .00     2.00      .5067      .6000      .1932
     .60      .00     5.00     1.2667      .6000      .0773
     .60     5.00      .50     5.1267      .6000      .7727
     .60     5.00     1.00     5.2533      .6000      .3863
     .60     5.00     2.00     5.5067      .6000      .1932
     .60     5.00     5.00     6.2667      .6000      .0773
     .60    10.00      .50    10.1267      .6000      .7727
     .60    10.00     1.00    10.2533      .6000      .3863
     .60    10.00     2.00    10.5067      .6000      .1932
     .60    10.00     5.00    11.2667      .6000      .0773
     .70   -10.00      .50    -9.7378      .7000      .6954
     .70   -10.00     1.00    -9.4756      .7000      .3477
     .70   -10.00     2.00    -8.9512      .7000      .1738
     .70   -10.00     5.00    -7.3780      .7000      .0695
     .70    -5.00      .50    -4.7378      .7000      .6954
     .70    -5.00     1.00    -4.4756      .7000      .3477
     .70    -5.00     2.00    -3.9512      .7000      .1738
     .70    -5.00     5.00    -2.3780      .7000      .0695
     .70      .00      .50      .2622      .7000      .6954
     .70      .00     1.00      .5244      .7000      .3477
     .70      .00     2.00     1.0488      .7000      .1738
     .70      .00     5.00     2.6220      .7000      .0695
     .70     5.00      .50     5.2622      .7000      .6954
     .70     5.00     1.00     5.5244      .7000      .3477
     .70     5.00     2.00     6.0488      .7000      .1738
     .70     5.00     5.00     7.6220      .7000      .0695
     .70    10.00      .50    10.2622      .7000      .6954
     .70    10.00     1.00    10.5244      .7000      .3477
     .70    10.00     2.00    11.0488      .7000      .1738
     .70    10.00     5.00    12.6220      .7000      .0695
     .80   -10.00      .50    -9.5792      .8000      .5599
     .80   -10.00     1.00    -9.1584      .8000      .2800
     .80   -10.00     2.00    -8.3168      .8000      .1400
     .80   -10.00     5.00    -5.7919      .8000      .0560
     .80    -5.00      .50    -4.5792      .8000      .5599
     .80    -5.00     1.00    -4.1584      .8000      .2800
     .80    -5.00     2.00    -3.3168      .8000      .1400
     .80    -5.00     5.00     -.7919      .8000      .0560
     .80      .00      .50      .4208      .8000      .5599
     .80      .00     1.00      .8416      .8000      .2800
     .80      .00     2.00     1.6832      .8000      .1400
     .80      .00     5.00     4.2081      .8000      .0560
     .80     5.00      .50     5.4208      .8000      .5599
     .80     5.00     1.00     5.8416      .8000      .2800
     .80     5.00     2.00     6.6832      .8000      .1400
     .80     5.00     5.00     9.2081      .8000      .0560
     .80    10.00      .50    10.4208      .8000      .5599
     .80    10.00     1.00    10.8416      .8000      .2800
     .80    10.00     2.00    11.6832      .8000      .1400
     .80    10.00     5.00    14.2081      .8000      .0560
     .90   -10.00      .50    -9.3592      .9000      .3510
     .90   -10.00     1.00    -8.7184      .9000      .1755
     .90   -10.00     2.00    -7.4369      .9000      .0877
     .90   -10.00     5.00    -3.5922      .9000      .0351
     .90    -5.00      .50    -4.3592      .9000      .3510
     .90    -5.00     1.00    -3.7184      .9000      .1755
     .90    -5.00     2.00    -2.4369      .9000      .0877
     .90    -5.00     5.00     1.4078      .9000      .0351
     .90      .00      .50      .6408      .9000      .3510
     .90      .00     1.00     1.2816      .9000      .1755
     .90      .00     2.00     2.5631      .9000      .0877
     .90      .00     5.00     6.4078      .9000      .0351
     .90     5.00      .50     5.6408      .9000      .3510
     .90     5.00     1.00     6.2816      .9000      .1755
     .90     5.00     2.00     7.5631      .9000      .0877
     .90     5.00     5.00    11.4078      .9000      .0351
     .90    10.00      .50    10.6408      .9000      .3510
     .90    10.00     1.00    11.2816      .9000      .1755
     .90    10.00     2.00    12.5631      .9000      .0877
     .90    10.00     5.00    16.4078      .9000      .0351
     .99   -10.00      .50    -8.8368      .9900      .0533
     .99   -10.00     1.00    -7.6737      .9900      .0267
     .99   -10.00     2.00    -5.3473      .9900      .0133
     .99   -10.00     5.00     1.6317      .9900      .0053
     .99    -5.00      .50    -3.8368      .9900      .0533
     .99    -5.00     1.00    -2.6737      .9900      .0267
     .99    -5.00     2.00     -.3473      .9900      .0133
     .99    -5.00     5.00     6.6317      .9900      .0053
     .99      .00      .50     1.1632      .9900      .0533
     .99      .00     1.00     2.3263      .9900      .0267
     .99      .00     2.00     4.6527      .9900      .0133
     .99      .00     5.00    11.6317      .9900      .0053
     .99     5.00      .50     6.1632      .9900      .0533
     .99     5.00     1.00     7.3263      .9900      .0267
     .99     5.00     2.00     9.6527      .9900      .0133
     .99     5.00     5.00    16.6317      .9900      .0053
     .99    10.00      .50    11.1632      .9900      .0533
     .99    10.00     1.00    12.3263      .9900      .0267
     .99    10.00     2.00    14.6527      .9900      .0133
     .99    10.00     5.00    21.6317      .9900      .0053
_ATEOF

   cat >normal.sps <<'_ATEOF'
DATA LIST LIST FILE='normal.in' NOTABLE SKIP=1
	/P u s Xx Xcdf Xpdf.
NUMERIC x cdf pdf (F10.4).
COMPUTE x = IDF.normal(P, u, s).
COMPUTE cdf = cdf.normal(x, u, s).
COMPUTE pdf = pdf.normal(x, u, s).
DO IF $CASENUM = 1.
PRINT OUTFILE='normal.out'/"       P        u        s          x        cdf        pdf ".
END IF.
PRINT OUTFILE='normal.out'/P u s x cdf pdf.
EXECUTE.
_ATEOF

   { set +x
$as_echo "$at_srcdir/randist.at:2074: pspp -O format=csv normal.sps"
at_fn_check_prepare_trace "randist.at:2074"
( $at_check_trace; pspp -O format=csv normal.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/randist.at:2074"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/randist.at:2074: \$PERL compare.pl normal.in normal.out"
at_fn_check_prepare_dynamic "$PERL compare.pl normal.in normal.out" "randist.at:2074"
( $at_check_trace; $PERL compare.pl normal.in normal.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/randist.at:2074"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1067
#AT_START_1068
at_fn_group_banner 1068 'randist.at:2298' \
  "random distributions -- pareto" "                 " 132
at_xfail=no
(
  $as_echo "1068. $at_setup_line: testing $at_desc ..."
  $at_traceon

   randist_compare
   cat >pareto.in <<'_ATEOF'
       P        a        b          x        cdf        pdf
     .01     1.00     1.00     1.0101      .0100      .9801
     .01     1.00     2.00     1.0050      .0100     1.9701
     .01     1.00     5.00     1.0020      .0100     4.9401
     .01     1.00    10.00     1.0010      .0100     9.8901
     .01     5.00     1.00     5.0505      .0100      .1960
     .01     5.00     2.00     5.0252      .0100      .3940
     .01     5.00     5.00     5.0101      .0100      .9880
     .01     5.00    10.00     5.0050      .0100     1.9780
     .01    10.00     1.00    10.1010      .0100      .0980
     .01    10.00     2.00    10.0504      .0100      .1970
     .01    10.00     5.00    10.0201      .0100      .4940
     .01    10.00    10.00    10.0101      .0100      .9890
     .10     1.00     1.00     1.1111      .1000      .8100
     .10     1.00     2.00     1.0541      .1000     1.7076
     .10     1.00     5.00     1.0213      .1000     4.4062
     .10     1.00    10.00     1.0106      .1000     8.9057
     .10     5.00     1.00     5.5556      .1000      .1620
     .10     5.00     2.00     5.2705      .1000      .3415
     .10     5.00     5.00     5.1065      .1000      .8812
     .10     5.00    10.00     5.0530      .1000     1.7811
     .10    10.00     1.00    11.1111      .1000      .0810
     .10    10.00     2.00    10.5409      .1000      .1708
     .10    10.00     5.00    10.2130      .1000      .4406
     .10    10.00    10.00    10.1059      .1000      .8906
     .20     1.00     1.00     1.2500      .2000      .6400
     .20     1.00     2.00     1.1180      .2000     1.4311
     .20     1.00     5.00     1.0456      .2000     3.8254
     .20     1.00    10.00     1.0226      .2000     7.8235
     .20     5.00     1.00     6.2500      .2000      .1280
     .20     5.00     2.00     5.5902      .2000      .2862
     .20     5.00     5.00     5.2282      .2000      .7651
     .20     5.00    10.00     5.1128      .2000     1.5647
     .20    10.00     1.00    12.5000      .2000      .0640
     .20    10.00     2.00    11.1803      .2000      .1431
     .20    10.00     5.00    10.4564      .2000      .3825
     .20    10.00    10.00    10.2257      .2000      .7823
     .30     1.00     1.00     1.4286      .3000      .4900
     .30     1.00     2.00     1.1952      .3000     1.1713
     .30     1.00     5.00     1.0739      .3000     3.2590
     .30     1.00    10.00     1.0363      .3000     6.7547
     .30     5.00     1.00     7.1429      .3000      .0980
     .30     5.00     2.00     5.9761      .3000      .2343
     .30     5.00     5.00     5.3697      .3000      .6518
     .30     5.00    10.00     5.1816      .3000     1.3509
     .30    10.00     1.00    14.2857      .3000      .0490
     .30    10.00     2.00    11.9523      .3000      .1171
     .30    10.00     5.00    10.7394      .3000      .3259
     .30    10.00    10.00    10.3631      .3000      .6755
     .40     1.00     1.00     1.6667      .4000      .3600
     .40     1.00     2.00     1.2910      .4000      .9295
     .40     1.00     5.00     1.1076      .4000     2.7086
     .40     1.00    10.00     1.0524      .4000     5.7012
     .40     5.00     1.00     8.3333      .4000      .0720
     .40     5.00     2.00     6.4550      .4000      .1859
     .40     5.00     5.00     5.5378      .4000      .5417
     .40     5.00    10.00     5.2620      .4000     1.1402
     .40    10.00     1.00    16.6667      .4000      .0360
     .40    10.00     2.00    12.9099      .4000      .0930
     .40    10.00     5.00    11.0757      .4000      .2709
     .40    10.00    10.00    10.5241      .4000      .5701
     .50     1.00     1.00     2.0000      .5000      .2500
     .50     1.00     2.00     1.4142      .5000      .7071
     .50     1.00     5.00     1.1487      .5000     2.1764
     .50     1.00    10.00     1.0718      .5000     4.6652
     .50     5.00     1.00    10.0000      .5000      .0500
     .50     5.00     2.00     7.0711      .5000      .1414
     .50     5.00     5.00     5.7435      .5000      .4353
     .50     5.00    10.00     5.3589      .5000      .9330
     .50    10.00     1.00    20.0000      .5000      .0250
     .50    10.00     2.00    14.1421      .5000      .0707
     .50    10.00     5.00    11.4870      .5000      .2176
     .50    10.00    10.00    10.7177      .5000      .4665
     .60     1.00     1.00     2.5000      .6000      .1600
     .60     1.00     2.00     1.5811      .6000      .5060
     .60     1.00     5.00     1.2011      .6000     1.6651
     .60     1.00    10.00     1.0960      .6000     3.6498
     .60     5.00     1.00    12.5000      .6000      .0320
     .60     5.00     2.00     7.9057      .6000      .1012
     .60     5.00     5.00     6.0056      .6000      .3330
     .60     5.00    10.00     5.4798      .6000      .7300
     .60    10.00     1.00    25.0000      .6000      .0160
     .60    10.00     2.00    15.8114      .6000      .0506
     .60    10.00     5.00    12.0112      .6000      .1665
     .60    10.00    10.00    10.9596      .6000      .3650
     .70     1.00     1.00     3.3333      .7000      .0900
     .70     1.00     2.00     1.8257      .7000      .3286
     .70     1.00     5.00     1.2723      .7000     1.1790
     .70     1.00    10.00     1.1279      .7000     2.6597
     .70     5.00     1.00    16.6667      .7000      .0180
     .70     5.00     2.00     9.1287      .7000      .0657
     .70     5.00     5.00     6.3613      .7000      .2358
     .70     5.00    10.00     5.6397      .7000      .5319
     .70    10.00     1.00    33.3333      .7000      .0090
     .70    10.00     2.00    18.2574      .7000      .0329
     .70    10.00     5.00    12.7226      .7000      .1179
     .70    10.00    10.00    11.2794      .7000      .2660
     .80     1.00     1.00     5.0000      .8000      .0400
     .80     1.00     2.00     2.2361      .8000      .1789
     .80     1.00     5.00     1.3797      .8000      .7248
     .80     1.00    10.00     1.1746      .8000     1.7027
     .80     5.00     1.00    25.0000      .8000      .0080
     .80     5.00     2.00    11.1803      .8000      .0358
     .80     5.00     5.00     6.8986      .8000      .1450
     .80     5.00    10.00     5.8731      .8000      .3405
     .80    10.00     1.00    50.0000      .8000      .0040
     .80    10.00     2.00    22.3607      .8000      .0179
     .80    10.00     5.00    13.7973      .8000      .0725
     .80    10.00    10.00    11.7462      .8000      .1703
     .90     1.00     1.00    10.0000      .9000      .0100
     .90     1.00     2.00     3.1623      .9000      .0632
     .90     1.00     5.00     1.5849      .9000      .3155
     .90     1.00    10.00     1.2589      .9000      .7943
     .90     5.00     1.00    50.0000      .9000      .0020
     .90     5.00     2.00    15.8114      .9000      .0126
     .90     5.00     5.00     7.9245      .9000      .0631
     .90     5.00    10.00     6.2946      .9000      .1589
     .90    10.00     1.00   100.0000      .9000      .0010
     .90    10.00     2.00    31.6228      .9000      .0063
     .90    10.00     5.00    15.8489      .9000      .0315
     .90    10.00    10.00    12.5893      .9000      .0794
     .99     1.00     1.00   100.0000      .9900      .0001
     .99     1.00     2.00    10.0000      .9900      .0020
     .99     1.00     5.00     2.5119      .9900      .0199
     .99     1.00    10.00     1.5849      .9900      .0631
     .99     5.00     1.00   500.0000      .9900      .0000
     .99     5.00     2.00    50.0000      .9900      .0004
     .99     5.00     5.00    12.5594      .9900      .0040
     .99     5.00    10.00     7.9245      .9900      .0126
     .99    10.00     1.00  1000.0000      .9900      .0000
     .99    10.00     2.00   100.0000      .9900      .0002
     .99    10.00     5.00    25.1189      .9900      .0020
     .99    10.00    10.00    15.8489      .9900      .0063
_ATEOF

   cat >pareto.sps <<'_ATEOF'
DATA LIST LIST FILE='pareto.in' NOTABLE SKIP=1
	/P a b Xx Xcdf Xpdf.
NUMERIC x cdf pdf (F10.4).
COMPUTE x = IDF.pareto(P, a, b).
COMPUTE cdf = cdf.pareto(x, a, b).
COMPUTE pdf = pdf.pareto(x, a, b).
DO IF $CASENUM = 1.
PRINT OUTFILE='pareto.out'/"       P        a        b          x        cdf        pdf ".
END IF.
PRINT OUTFILE='pareto.out'/P a b x cdf pdf.
EXECUTE.
_ATEOF

   { set +x
$as_echo "$at_srcdir/randist.at:2298: pspp -O format=csv pareto.sps"
at_fn_check_prepare_trace "randist.at:2298"
( $at_check_trace; pspp -O format=csv pareto.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/randist.at:2298"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/randist.at:2298: \$PERL compare.pl pareto.in pareto.out"
at_fn_check_prepare_dynamic "$PERL compare.pl pareto.in pareto.out" "randist.at:2298"
( $at_check_trace; $PERL compare.pl pareto.in pareto.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/randist.at:2298"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1068
#AT_START_1069
at_fn_group_banner 1069 'randist.at:2434' \
  "random distributions -- t" "                      " 132
at_xfail=no
(
  $as_echo "1069. $at_setup_line: testing $at_desc ..."
  $at_traceon

   randist_compare
   cat >t.in <<'_ATEOF'
       P       df          x        cdf        pdf
     .01     1.00   -31.8205      .0100      .0003
     .01     2.00    -6.9646      .0100      .0028
     .01     3.00    -4.5407      .0100      .0059
     .01     4.00    -3.7469      .0100      .0087
     .01     5.00    -3.3649      .0100      .0109
     .01    10.00    -2.7638      .0100      .0172
     .01    30.00    -2.4573      .0100      .0231
     .01   100.00    -2.3642      .0100      .0255
     .10     1.00    -3.0777      .1000      .0304
     .10     2.00    -1.8856      .1000      .0764
     .10     3.00    -1.6377      .1000      .1025
     .10     4.00    -1.5332      .1000      .1181
     .10     5.00    -1.4759      .1000      .1283
     .10    10.00    -1.3722      .1000      .1507
     .10    30.00    -1.3104      .1000      .1670
     .10   100.00    -1.2901      .1000      .1729
     .20     1.00    -1.3764      .2000      .1100
     .20     2.00    -1.0607      .2000      .1810
     .20     3.00     -.9785      .2000      .2112
     .20     4.00     -.9410      .2000      .2275
     .20     5.00     -.9195      .2000      .2376
     .20    10.00     -.8791      .2000      .2584
     .20    30.00     -.8538      .2000      .2727
     .20   100.00     -.8452      .2000      .2778
     .30     1.00     -.7265      .3000      .2083
     .30     2.00     -.6172      .3000      .2722
     .30     3.00     -.5844      .3000      .2963
     .30     4.00     -.5686      .3000      .3088
     .30     5.00     -.5594      .3000      .3164
     .30    10.00     -.5415      .3000      .3319
     .30    30.00     -.5300      .3000      .3424
     .30   100.00     -.5261      .3000      .3461
     .40     1.00     -.3249      .4000      .2879
     .40     2.00     -.2887      .4000      .3326
     .40     3.00     -.2767      .4000      .3495
     .40     4.00     -.2707      .4000      .3584
     .40     5.00     -.2672      .4000      .3638
     .40    10.00     -.2602      .4000      .3749
     .40    30.00     -.2556      .4000      .3825
     .40   100.00     -.2540      .4000      .3852
     .50     1.00      .0000      .5000      .3183
     .50     2.00      .0000      .5000      .3536
     .50     3.00      .0000      .5000      .3676
     .50     4.00      .0000      .5000      .3750
     .50     5.00      .0000      .5000      .3796
     .50    10.00      .0000      .5000      .3891
     .50    30.00      .0000      .5000      .3956
     .50   100.00      .0000      .5000      .3979
     .60     1.00      .3249      .6000      .2879
     .60     2.00      .2887      .6000      .3326
     .60     3.00      .2767      .6000      .3495
     .60     4.00      .2707      .6000      .3584
     .60     5.00      .2672      .6000      .3638
     .60    10.00      .2602      .6000      .3749
     .60    30.00      .2556      .6000      .3825
     .60   100.00      .2540      .6000      .3852
     .70     1.00      .7265      .7000      .2083
     .70     2.00      .6172      .7000      .2722
     .70     3.00      .5844      .7000      .2963
     .70     4.00      .5686      .7000      .3088
     .70     5.00      .5594      .7000      .3164
     .70    10.00      .5415      .7000      .3319
     .70    30.00      .5300      .7000      .3424
     .70   100.00      .5261      .7000      .3461
     .80     1.00     1.3764      .8000      .1100
     .80     2.00     1.0607      .8000      .1810
     .80     3.00      .9785      .8000      .2112
     .80     4.00      .9410      .8000      .2275
     .80     5.00      .9195      .8000      .2376
     .80    10.00      .8791      .8000      .2584
     .80    30.00      .8538      .8000      .2727
     .80   100.00      .8452      .8000      .2778
     .90     1.00     3.0777      .9000      .0304
     .90     2.00     1.8856      .9000      .0764
     .90     3.00     1.6377      .9000      .1025
     .90     4.00     1.5332      .9000      .1181
     .90     5.00     1.4759      .9000      .1283
     .90    10.00     1.3722      .9000      .1507
     .90    30.00     1.3104      .9000      .1670
     .90   100.00     1.2901      .9000      .1729
     .99     1.00    31.8205      .9900      .0003
     .99     2.00     6.9646      .9900      .0028
     .99     3.00     4.5407      .9900      .0059
     .99     4.00     3.7469      .9900      .0087
     .99     5.00     3.3649      .9900      .0109
     .99    10.00     2.7638      .9900      .0172
     .99    30.00     2.4573      .9900      .0231
     .99   100.00     2.3642      .9900      .0255
_ATEOF

   cat >t.sps <<'_ATEOF'
DATA LIST LIST FILE='t.in' NOTABLE SKIP=1
	/P df Xx Xcdf Xpdf.
NUMERIC x cdf pdf (F10.4).
COMPUTE x = IDF.t(P, df).
COMPUTE cdf = cdf.t(x, df).
COMPUTE pdf = pdf.t(x, df).
DO IF $CASENUM = 1.
PRINT OUTFILE='t.out'/"       P       df          x        cdf        pdf ".
END IF.
PRINT OUTFILE='t.out'/P df x cdf pdf.
EXECUTE.
_ATEOF

   { set +x
$as_echo "$at_srcdir/randist.at:2434: pspp -O format=csv t.sps"
at_fn_check_prepare_trace "randist.at:2434"
( $at_check_trace; pspp -O format=csv t.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/randist.at:2434"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/randist.at:2434: \$PERL compare.pl t.in t.out"
at_fn_check_prepare_dynamic "$PERL compare.pl t.in t.out" "randist.at:2434"
( $at_check_trace; $PERL compare.pl t.in t.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/randist.at:2434"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1069
#AT_START_1070
at_fn_group_banner 1070 'randist.at:2526' \
  "random distributions -- uniform" "                " 132
at_xfail=no
(
  $as_echo "1070. $at_setup_line: testing $at_desc ..."
  $at_traceon

   randist_compare
   cat >uniform.in <<'_ATEOF'
       P        a        b          x        cdf        pdf
     .01   -10.00    40.00    -9.5000      .0100      .0200
     .01   -10.00    41.00    -9.4900      .0100      .0196
     .01   -10.00    45.00    -9.4500      .0100      .0182
     .01   -10.00    50.00    -9.4000      .0100      .0167
     .01      .00    40.00      .4000      .0100      .0250
     .01      .00    41.00      .4100      .0100      .0244
     .01      .00    45.00      .4500      .0100      .0222
     .01      .00    50.00      .5000      .0100      .0200
     .01    20.00    40.00    20.2000      .0100      .0500
     .01    20.00    41.00    20.2100      .0100      .0476
     .01    20.00    45.00    20.2500      .0100      .0400
     .01    20.00    50.00    20.3000      .0100      .0333
     .01    30.00    40.00    30.1000      .0100      .1000
     .01    30.00    41.00    30.1100      .0100      .0909
     .01    30.00    45.00    30.1500      .0100      .0667
     .01    30.00    50.00    30.2000      .0100      .0500
     .10   -10.00    40.00    -5.0000      .1000      .0200
     .10   -10.00    41.00    -4.9000      .1000      .0196
     .10   -10.00    45.00    -4.5000      .1000      .0182
     .10   -10.00    50.00    -4.0000      .1000      .0167
     .10      .00    40.00     4.0000      .1000      .0250
     .10      .00    41.00     4.1000      .1000      .0244
     .10      .00    45.00     4.5000      .1000      .0222
     .10      .00    50.00     5.0000      .1000      .0200
     .10    20.00    40.00    22.0000      .1000      .0500
     .10    20.00    41.00    22.1000      .1000      .0476
     .10    20.00    45.00    22.5000      .1000      .0400
     .10    20.00    50.00    23.0000      .1000      .0333
     .10    30.00    40.00    31.0000      .1000      .1000
     .10    30.00    41.00    31.1000      .1000      .0909
     .10    30.00    45.00    31.5000      .1000      .0667
     .10    30.00    50.00    32.0000      .1000      .0500
     .20   -10.00    40.00      .0000      .2000      .0200
     .20   -10.00    41.00      .2000      .2000      .0196
     .20   -10.00    45.00     1.0000      .2000      .0182
     .20   -10.00    50.00     2.0000      .2000      .0167
     .20      .00    40.00     8.0000      .2000      .0250
     .20      .00    41.00     8.2000      .2000      .0244
     .20      .00    45.00     9.0000      .2000      .0222
     .20      .00    50.00    10.0000      .2000      .0200
     .20    20.00    40.00    24.0000      .2000      .0500
     .20    20.00    41.00    24.2000      .2000      .0476
     .20    20.00    45.00    25.0000      .2000      .0400
     .20    20.00    50.00    26.0000      .2000      .0333
     .20    30.00    40.00    32.0000      .2000      .1000
     .20    30.00    41.00    32.2000      .2000      .0909
     .20    30.00    45.00    33.0000      .2000      .0667
     .20    30.00    50.00    34.0000      .2000      .0500
     .30   -10.00    40.00     5.0000      .3000      .0200
     .30   -10.00    41.00     5.3000      .3000      .0196
     .30   -10.00    45.00     6.5000      .3000      .0182
     .30   -10.00    50.00     8.0000      .3000      .0167
     .30      .00    40.00    12.0000      .3000      .0250
     .30      .00    41.00    12.3000      .3000      .0244
     .30      .00    45.00    13.5000      .3000      .0222
     .30      .00    50.00    15.0000      .3000      .0200
     .30    20.00    40.00    26.0000      .3000      .0500
     .30    20.00    41.00    26.3000      .3000      .0476
     .30    20.00    45.00    27.5000      .3000      .0400
     .30    20.00    50.00    29.0000      .3000      .0333
     .30    30.00    40.00    33.0000      .3000      .1000
     .30    30.00    41.00    33.3000      .3000      .0909
     .30    30.00    45.00    34.5000      .3000      .0667
     .30    30.00    50.00    36.0000      .3000      .0500
     .40   -10.00    40.00    10.0000      .4000      .0200
     .40   -10.00    41.00    10.4000      .4000      .0196
     .40   -10.00    45.00    12.0000      .4000      .0182
     .40   -10.00    50.00    14.0000      .4000      .0167
     .40      .00    40.00    16.0000      .4000      .0250
     .40      .00    41.00    16.4000      .4000      .0244
     .40      .00    45.00    18.0000      .4000      .0222
     .40      .00    50.00    20.0000      .4000      .0200
     .40    20.00    40.00    28.0000      .4000      .0500
     .40    20.00    41.00    28.4000      .4000      .0476
     .40    20.00    45.00    30.0000      .4000      .0400
     .40    20.00    50.00    32.0000      .4000      .0333
     .40    30.00    40.00    34.0000      .4000      .1000
     .40    30.00    41.00    34.4000      .4000      .0909
     .40    30.00    45.00    36.0000      .4000      .0667
     .40    30.00    50.00    38.0000      .4000      .0500
     .50   -10.00    40.00    15.0000      .5000      .0200
     .50   -10.00    41.00    15.5000      .5000      .0196
     .50   -10.00    45.00    17.5000      .5000      .0182
     .50   -10.00    50.00    20.0000      .5000      .0167
     .50      .00    40.00    20.0000      .5000      .0250
     .50      .00    41.00    20.5000      .5000      .0244
     .50      .00    45.00    22.5000      .5000      .0222
     .50      .00    50.00    25.0000      .5000      .0200
     .50    20.00    40.00    30.0000      .5000      .0500
     .50    20.00    41.00    30.5000      .5000      .0476
     .50    20.00    45.00    32.5000      .5000      .0400
     .50    20.00    50.00    35.0000      .5000      .0333
     .50    30.00    40.00    35.0000      .5000      .1000
     .50    30.00    41.00    35.5000      .5000      .0909
     .50    30.00    45.00    37.5000      .5000      .0667
     .50    30.00    50.00    40.0000      .5000      .0500
     .60   -10.00    40.00    20.0000      .6000      .0200
     .60   -10.00    41.00    20.6000      .6000      .0196
     .60   -10.00    45.00    23.0000      .6000      .0182
     .60   -10.00    50.00    26.0000      .6000      .0167
     .60      .00    40.00    24.0000      .6000      .0250
     .60      .00    41.00    24.6000      .6000      .0244
     .60      .00    45.00    27.0000      .6000      .0222
     .60      .00    50.00    30.0000      .6000      .0200
     .60    20.00    40.00    32.0000      .6000      .0500
     .60    20.00    41.00    32.6000      .6000      .0476
     .60    20.00    45.00    35.0000      .6000      .0400
     .60    20.00    50.00    38.0000      .6000      .0333
     .60    30.00    40.00    36.0000      .6000      .1000
     .60    30.00    41.00    36.6000      .6000      .0909
     .60    30.00    45.00    39.0000      .6000      .0667
     .60    30.00    50.00    42.0000      .6000      .0500
     .70   -10.00    40.00    25.0000      .7000      .0200
     .70   -10.00    41.00    25.7000      .7000      .0196
     .70   -10.00    45.00    28.5000      .7000      .0182
     .70   -10.00    50.00    32.0000      .7000      .0167
     .70      .00    40.00    28.0000      .7000      .0250
     .70      .00    41.00    28.7000      .7000      .0244
     .70      .00    45.00    31.5000      .7000      .0222
     .70      .00    50.00    35.0000      .7000      .0200
     .70    20.00    40.00    34.0000      .7000      .0500
     .70    20.00    41.00    34.7000      .7000      .0476
     .70    20.00    45.00    37.5000      .7000      .0400
     .70    20.00    50.00    41.0000      .7000      .0333
     .70    30.00    40.00    37.0000      .7000      .1000
     .70    30.00    41.00    37.7000      .7000      .0909
     .70    30.00    45.00    40.5000      .7000      .0667
     .70    30.00    50.00    44.0000      .7000      .0500
     .80   -10.00    40.00    30.0000      .8000      .0200
     .80   -10.00    41.00    30.8000      .8000      .0196
     .80   -10.00    45.00    34.0000      .8000      .0182
     .80   -10.00    50.00    38.0000      .8000      .0167
     .80      .00    40.00    32.0000      .8000      .0250
     .80      .00    41.00    32.8000      .8000      .0244
     .80      .00    45.00    36.0000      .8000      .0222
     .80      .00    50.00    40.0000      .8000      .0200
     .80    20.00    40.00    36.0000      .8000      .0500
     .80    20.00    41.00    36.8000      .8000      .0476
     .80    20.00    45.00    40.0000      .8000      .0400
     .80    20.00    50.00    44.0000      .8000      .0333
     .80    30.00    40.00    38.0000      .8000      .1000
     .80    30.00    41.00    38.8000      .8000      .0909
     .80    30.00    45.00    42.0000      .8000      .0667
     .80    30.00    50.00    46.0000      .8000      .0500
     .90   -10.00    40.00    35.0000      .9000      .0200
     .90   -10.00    41.00    35.9000      .9000      .0196
     .90   -10.00    45.00    39.5000      .9000      .0182
     .90   -10.00    50.00    44.0000      .9000      .0167
     .90      .00    40.00    36.0000      .9000      .0250
     .90      .00    41.00    36.9000      .9000      .0244
     .90      .00    45.00    40.5000      .9000      .0222
     .90      .00    50.00    45.0000      .9000      .0200
     .90    20.00    40.00    38.0000      .9000      .0500
     .90    20.00    41.00    38.9000      .9000      .0476
     .90    20.00    45.00    42.5000      .9000      .0400
     .90    20.00    50.00    47.0000      .9000      .0333
     .90    30.00    40.00    39.0000      .9000      .1000
     .90    30.00    41.00    39.9000      .9000      .0909
     .90    30.00    45.00    43.5000      .9000      .0667
     .90    30.00    50.00    48.0000      .9000      .0500
     .99   -10.00    40.00    39.5000      .9900      .0200
     .99   -10.00    41.00    40.4900      .9900      .0196
     .99   -10.00    45.00    44.4500      .9900      .0182
     .99   -10.00    50.00    49.4000      .9900      .0167
     .99      .00    40.00    39.6000      .9900      .0250
     .99      .00    41.00    40.5900      .9900      .0244
     .99      .00    45.00    44.5500      .9900      .0222
     .99      .00    50.00    49.5000      .9900      .0200
     .99    20.00    40.00    39.8000      .9900      .0500
     .99    20.00    41.00    40.7900      .9900      .0476
     .99    20.00    45.00    44.7500      .9900      .0400
     .99    20.00    50.00    49.7000      .9900      .0333
     .99    30.00    40.00    39.9000      .9900      .1000
     .99    30.00    41.00    40.8900      .9900      .0909
     .99    30.00    45.00    44.8500      .9900      .0667
     .99    30.00    50.00    49.8000      .9900      .0500
_ATEOF

   cat >uniform.sps <<'_ATEOF'
DATA LIST LIST FILE='uniform.in' NOTABLE SKIP=1
	/P a b Xx Xcdf Xpdf.
NUMERIC x cdf pdf (F10.4).
COMPUTE x = IDF.uniform(P, a, b).
COMPUTE cdf = cdf.uniform(x, a, b).
COMPUTE pdf = pdf.uniform(x, a, b).
DO IF $CASENUM = 1.
PRINT OUTFILE='uniform.out'/"       P        a        b          x        cdf        pdf ".
END IF.
PRINT OUTFILE='uniform.out'/P a b x cdf pdf.
EXECUTE.
_ATEOF

   { set +x
$as_echo "$at_srcdir/randist.at:2526: pspp -O format=csv uniform.sps"
at_fn_check_prepare_trace "randist.at:2526"
( $at_check_trace; pspp -O format=csv uniform.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/randist.at:2526"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/randist.at:2526: \$PERL compare.pl uniform.in uniform.out"
at_fn_check_prepare_dynamic "$PERL compare.pl uniform.in uniform.out" "randist.at:2526"
( $at_check_trace; $PERL compare.pl uniform.in uniform.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/randist.at:2526"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1070
#AT_START_1071
at_fn_group_banner 1071 'randist.at:2706' \
  "random distributions -- weibull" "                " 132
at_xfail=no
(
  $as_echo "1071. $at_setup_line: testing $at_desc ..."
  $at_traceon

   randist_compare
   cat >weibull.in <<'_ATEOF'
       P        a        b          x        cdf        pdf
     .01      .50     1.00      .0050      .0100     1.9800
     .01      .50     2.00      .0501      .0100      .3970
     .01      .50     4.00      .1583      .0100      .2514
     .01      .50     8.00      .2813      .0100      .2829
     .01     1.00     1.00      .0101      .0100      .9900
     .01     1.00     2.00      .1003      .0100      .1985
     .01     1.00     4.00      .3166      .0100      .1257
     .01     1.00     8.00      .5627      .0100      .1415
     .01     2.00     1.00      .0201      .0100      .4950
     .01     2.00     2.00      .2005      .0100      .0992
     .01     2.00     4.00      .6332      .0100      .0628
     .01     2.00     8.00     1.1254      .0100      .0707
     .01     5.00     1.00      .0503      .0100      .1980
     .01     5.00     2.00      .5013      .0100      .0397
     .01     5.00     4.00     1.5831      .0100      .0251
     .01     5.00     8.00     2.8135      .0100      .0283
     .10      .50     1.00      .0527      .1000     1.8000
     .10      .50     2.00      .1623      .1000     1.1685
     .10      .50     4.00      .2849      .1000     1.3315
     .10      .50     8.00      .3774      .1000     2.0100
     .10     1.00     1.00      .1054      .1000      .9000
     .10     1.00     2.00      .3246      .1000      .5843
     .10     1.00     4.00      .5697      .1000      .6657
     .10     1.00     8.00      .7548      .1000     1.0050
     .10     2.00     1.00      .2107      .1000      .4500
     .10     2.00     2.00      .6492      .1000      .2921
     .10     2.00     4.00     1.1395      .1000      .3329
     .10     2.00     8.00     1.5096      .1000      .5025
     .10     5.00     1.00      .5268      .1000      .1800
     .10     5.00     2.00     1.6230      .1000      .1169
     .10     5.00     4.00     2.8487      .1000      .1331
     .10     5.00     8.00     3.7740      .1000      .2010
     .20      .50     1.00      .1116      .2000     1.6000
     .20      .50     2.00      .2362      .2000     1.5116
     .20      .50     4.00      .3436      .2000     2.0779
     .20      .50     8.00      .4145      .2000     3.4453
     .20     1.00     1.00      .2231      .2000      .8000
     .20     1.00     2.00      .4724      .2000      .7558
     .20     1.00     4.00      .6873      .2000     1.0389
     .20     1.00     8.00      .8290      .2000     1.7226
     .20     2.00     1.00      .4463      .2000      .4000
     .20     2.00     2.00      .9448      .2000      .3779
     .20     2.00     4.00     1.3746      .2000      .5195
     .20     2.00     8.00     1.6581      .2000      .8613
     .20     5.00     1.00     1.1157      .2000      .1600
     .20     5.00     2.00     2.3619      .2000      .1512
     .20     5.00     4.00     3.4365      .2000      .2078
     .20     5.00     8.00     4.1452      .2000      .3445
     .30      .50     1.00      .1783      .3000     1.4000
     .30      .50     2.00      .2986      .3000     1.6722
     .30      .50     4.00      .3864      .3000     2.5846
     .30      .50     8.00      .4395      .3000     4.5442
     .30     1.00     1.00      .3567      .3000      .7000
     .30     1.00     2.00      .5972      .3000      .8361
     .30     1.00     4.00      .7728      .3000     1.2923
     .30     1.00     8.00      .8791      .3000     2.2721
     .30     2.00     1.00      .7133      .3000      .3500
     .30     2.00     2.00     1.1944      .3000      .4181
     .30     2.00     4.00     1.5456      .3000      .6461
     .30     2.00     8.00     1.7582      .3000     1.1360
     .30     5.00     1.00     1.7834      .3000      .1400
     .30     5.00     2.00     2.9861      .3000      .1672
     .30     5.00     4.00     3.8640      .3000      .2585
     .30     5.00     8.00     4.3955      .3000      .4544
     .40      .50     1.00      .2554      .4000     1.2000
     .40      .50     2.00      .3574      .4000     1.7153
     .40      .50     4.00      .4227      .4000     2.9003
     .40      .50     8.00      .4597      .4000     5.3335
     .40     1.00     1.00      .5108      .4000      .6000
     .40     1.00     2.00      .7147      .4000      .8577
     .40     1.00     4.00      .8454      .4000     1.4502
     .40     1.00     8.00      .9195      .4000     2.6667
     .40     2.00     1.00     1.0217      .4000      .3000
     .40     2.00     2.00     1.4294      .4000      .4288
     .40     2.00     4.00     1.6908      .4000      .7251
     .40     2.00     8.00     1.8389      .4000     1.3334
     .40     5.00     1.00     2.5541      .4000      .1200
     .40     5.00     2.00     3.5736      .4000      .1715
     .40     5.00     4.00     4.2271      .4000      .2900
     .40     5.00     8.00     4.5973      .4000      .5333
     .50      .50     1.00      .3466      .5000     1.0000
     .50      .50     2.00      .4163      .5000     1.6651
     .50      .50     4.00      .4562      .5000     3.0386
     .50      .50     8.00      .4776      .5000     5.8051
     .50     1.00     1.00      .6931      .5000      .5000
     .50     1.00     2.00      .8326      .5000      .8326
     .50     1.00     4.00      .9124      .5000     1.5193
     .50     1.00     8.00      .9552      .5000     2.9026
     .50     2.00     1.00     1.3863      .5000      .2500
     .50     2.00     2.00     1.6651      .5000      .4163
     .50     2.00     4.00     1.8249      .5000      .7597
     .50     2.00     8.00     1.9104      .5000     1.4513
     .50     5.00     1.00     3.4657      .5000      .1000
     .50     5.00     2.00     4.1628      .5000      .1665
     .50     5.00     4.00     4.5622      .5000      .3039
     .50     5.00     8.00     4.7761      .5000      .5805
     .60      .50     1.00      .4581      .6000      .8000
     .60      .50     2.00      .4786      .6000     1.5316
     .60      .50     4.00      .4892      .6000     2.9969
     .60      .50     8.00      .4946      .6000     5.9287
     .60     1.00     1.00      .9163      .6000      .4000
     .60     1.00     2.00      .9572      .6000      .7658
     .60     1.00     4.00      .9784      .6000     1.4985
     .60     1.00     8.00      .9891      .6000     2.9643
     .60     2.00     1.00     1.8326      .6000      .2000
     .60     2.00     2.00     1.9145      .6000      .3829
     .60     2.00     4.00     1.9568      .6000      .7492
     .60     2.00     8.00     1.9783      .6000     1.4822
     .60     5.00     1.00     4.5815      .6000      .0800
     .60     5.00     2.00     4.7862      .6000      .1532
     .60     5.00     4.00     4.8919      .6000      .2997
     .60     5.00     8.00     4.9457      .6000      .5929
     .70      .50     1.00      .6020      .7000      .6000
     .70      .50     2.00      .5486      .7000     1.3167
     .70      .50     4.00      .5238      .7000     2.7585
     .70      .50     8.00      .5117      .7000     5.6465
     .70     1.00     1.00     1.2040      .7000      .3000
     .70     1.00     2.00     1.0973      .7000      .6584
     .70     1.00     4.00     1.0475      .7000     1.3793
     .70     1.00     8.00     1.0235      .7000     2.8233
     .70     2.00     1.00     2.4079      .7000      .1500
     .70     2.00     2.00     2.1945      .7000      .3292
     .70     2.00     4.00     2.0950      .7000      .6896
     .70     2.00     8.00     2.0469      .7000     1.4116
     .70     5.00     1.00     6.0199      .7000      .0600
     .70     5.00     2.00     5.4863      .7000      .1317
     .70     5.00     4.00     5.2375      .7000      .2759
     .70     5.00     8.00     5.1174      .7000      .5647
     .80      .50     1.00      .8047      .8000      .4000
     .80      .50     2.00      .6343      .8000     1.0149
     .80      .50     4.00      .5632      .8000     2.2863
     .80      .50     8.00      .5306      .8000     4.8528
     .80     1.00     1.00     1.6094      .8000      .2000
     .80     1.00     2.00     1.2686      .8000      .5075
     .80     1.00     4.00     1.1263      .8000     1.1431
     .80     1.00     8.00     1.0613      .8000     2.4264
     .80     2.00     1.00     3.2189      .8000      .1000
     .80     2.00     2.00     2.5373      .8000      .2537
     .80     2.00     4.00     2.2527      .8000      .5716
     .80     2.00     8.00     2.1226      .8000     1.2132
     .80     5.00     1.00     8.0472      .8000      .0400
     .80     5.00     2.00     6.3432      .8000      .1015
     .80     5.00     4.00     5.6317      .8000      .2286
     .80     5.00     8.00     5.3065      .8000      .4853
     .90      .50     1.00     1.1513      .9000      .2000
     .90      .50     2.00      .7587      .9000      .6070
     .90      .50     4.00      .6159      .9000     1.4954
     .90      .50     8.00      .5549      .9000     3.3194
     .90     1.00     1.00     2.3026      .9000      .1000
     .90     1.00     2.00     1.5174      .9000      .3035
     .90     1.00     4.00     1.2318      .9000      .7477
     .90     1.00     8.00     1.1099      .9000     1.6597
     .90     2.00     1.00     4.6052      .9000      .0500
     .90     2.00     2.00     3.0349      .9000      .1517
     .90     2.00     4.00     2.4637      .9000      .3738
     .90     2.00     8.00     2.2198      .9000      .8298
     .90     5.00     1.00    11.5129      .9000      .0200
     .90     5.00     2.00     7.5871      .9000      .0607
     .90     5.00     4.00     6.1592      .9000      .1495
     .90     5.00     8.00     5.5494      .9000      .3319
     .99      .50     1.00     2.3026      .9900      .0200
     .99      .50     2.00     1.0730      .9900      .0858
     .99      .50     4.00      .7325      .9900      .2515
     .99      .50     8.00      .6052      .9900      .6088
     .99     1.00     1.00     4.6052      .9900      .0100
     .99     1.00     2.00     2.1460      .9900      .0429
     .99     1.00     4.00     1.4649      .9900      .1257
     .99     1.00     8.00     1.2103      .9900      .3044
     .99     2.00     1.00     9.2103      .9900      .0050
     .99     2.00     2.00     4.2919      .9900      .0215
     .99     2.00     4.00     2.9298      .9900      .0629
     .99     2.00     8.00     2.4207      .9900      .1522
     .99     5.00     1.00    23.0259      .9900      .0020
     .99     5.00     2.00    10.7298      .9900      .0086
     .99     5.00     4.00     7.3246      .9900      .0251
     .99     5.00     8.00     6.0517      .9900      .0609
_ATEOF

   cat >weibull.sps <<'_ATEOF'
DATA LIST LIST FILE='weibull.in' NOTABLE SKIP=1
	/P a b Xx Xcdf Xpdf.
NUMERIC x cdf pdf (F10.4).
COMPUTE x = IDF.weibull(P, a, b).
COMPUTE cdf = cdf.weibull(x, a, b).
COMPUTE pdf = pdf.weibull(x, a, b).
DO IF $CASENUM = 1.
PRINT OUTFILE='weibull.out'/"       P        a        b          x        cdf        pdf ".
END IF.
PRINT OUTFILE='weibull.out'/P a b x cdf pdf.
EXECUTE.
_ATEOF

   { set +x
$as_echo "$at_srcdir/randist.at:2706: pspp -O format=csv weibull.sps"
at_fn_check_prepare_trace "randist.at:2706"
( $at_check_trace; pspp -O format=csv weibull.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/randist.at:2706"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/randist.at:2706: \$PERL compare.pl weibull.in weibull.out"
at_fn_check_prepare_dynamic "$PERL compare.pl weibull.in weibull.out" "randist.at:2706"
( $at_check_trace; $PERL compare.pl weibull.in weibull.out
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/randist.at:2706"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1071
#AT_START_1072
at_fn_group_banner 1072 'ascii.at:19' \
  "ASCII driver overwriting single-width text" "     " 133
at_xfail=no
(
  $as_echo "1072. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >input <<'_ATEOF'
## overwriting rest of line
# plain
0 0 0 abc
1 0 0 BCD
# emphasized over plain
0 1 0 efg
1 1 1 FGH
# plain over emphasized
0 2 1 ijk
1 2 0 JKL
# emphasized over emphasized
0 3 1 mno
1 3 1 NOP

## overwriting partial line
# plain
0 5 0 abcdef
0 5 0 A
2 5 0 CDE
# emphasized over plain
0 6 0 ghijkl
0 6 1 G
2 6 1 IJK
# plain over emphasized
0 7 1 mnopqr
0 7 0 M
2 7 0 OPQ
# emphasized over emphasized
0 8 1 stuvwx
0 8 1 S
2 8 1 UVW

## overwriting rest of line with double-width characters
# plain
0 10 0 kakiku
2 10 0 きくけ
# emphasized over plain
0 11 0 kakiku
2 11 1 きくけ
# plain over emphasized
0 12 1 kakiku
2 12 0 きくけ
# emphasized over emphasized
0 13 1 kakiku
2 13 1 きくけ

## overwriting partial line with double-width characters
# plain
0 15 0 kakikukeko
0 15 0 か
4 15 0 くけ
# emphasized over plain
0 16 0 kakikukeko
0 16 1 か
4 16 1 くけ
# plain over emphasized
0 17 1 kakikukeko
0 17 0 か
4 17 0 くけ
# emphasized over emphasized
0 18 1 kakikukeko
0 18 1 か
4 18 1 くけ
_ATEOF

{ set +x
$as_echo "$at_srcdir/ascii.at:86: render-test --draw-mode --emph=none input"
at_fn_check_prepare_trace "ascii.at:86"
( $at_check_trace; render-test --draw-mode --emph=none input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "aBCD
eFGH
iJKL
mNOP

AbCDEf
GhIJKl
MnOPQr
StUVWx

kaきくけ
kaきくけ
kaきくけ
kaきくけ

かkiくけko
かkiくけko
かkiくけko
かkiくけko
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/ascii.at:86"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/ascii.at:107: render-test --draw-mode --emph=bold input"
at_fn_check_prepare_trace "ascii.at:107"
( $at_check_trace; render-test --draw-mode --emph=bold input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "aBCD
eFFGGHH
iiJKL
mmNNOOPP

AbCDEf
GGhIIJJKKl
MnnOPQrr
SSttUUVVWWxx

kaきくけ
kaききくくけけ
kkaaきくけ
kkaaききくくけけ

かkiくけko
かかkiくくけけko
かkkiiくけkkoo
かかkkiiくくけけkkoo
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/ascii.at:107"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/ascii.at:128: render-test --draw-mode --emph=underline input"
at_fn_check_prepare_trace "ascii.at:128"
( $at_check_trace; render-test --draw-mode --emph=underline input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "aBCD
e_F_G_H
_iJKL
_m_N_O_P

AbCDEf
_Gh_I_J_Kl
M_nOPQ_r
_S_t_U_V_W_x

kaきくけ
ka_き_く_け
_k_aきくけ
_k_a_き_く_け

かkiくけko
_かki_く_けko
か_k_iくけ_k_o
_か_k_i_く_け_k_o
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/ascii.at:128"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1072
#AT_START_1073
at_fn_group_banner 1073 'ascii.at:151' \
  "ASCII driver overwriting double-width text" "     " 133
at_xfail=no
(
  $as_echo "1073. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >input <<'_ATEOF'
## overwrite rest of line, aligned double-width over double-width
# plain
0 0 0 あいう
2 0 0 きくけ
# emphasized over plain
0 1 0 あいう
2 1 1 きくけ
# plain over emphasized
0 2 1 あいう
2 2 0 きくけ
# emphasized over emphasized
0 3 1 あいう
2 3 1 きくけ

## overwrite rest of line, misaligned double-width over double-width
# plain
0 5 0 あいう
3 5 0 きくけ
# emphasized over plain
0 6 0 あいう
3 6 1 きくけ
# plain over emphasized
0 7 1 あいう
3 7 0 きくけ
# emphasized over emphasized
0 8 1 あいう
3 8 1 きくけ

## overwrite partial line, aligned double-width over double-width
# plain
0 10 0 あいうえお
0 10 0 か
4 10 0 くけ
# emphasized over plain
0 11 0 あいうえお
0 11 1 か
4 11 1 くけ
# plain over emphasized
0 12 1 あいうえお
0 12 0 か
4 12 0 くけ
# emphasized over emphasized
0 13 1 あいうえお
0 13 1 か
4 13 1 くけ

## overwrite partial line, misaligned double-width over double-width
# plain
0 15 0 あいうえおさ
1 15 0 か
5 15 0 くけ
# emphasized over plain
0 16 0 あいうえおさ
1 16 1 か
5 16 1 くけ
# plain over emphasized
0 17 1 あいうえおさ
1 17 0 か
5 17 0 くけ
# emphasized over emphasized
0 18 1 あいうえおさ
1 18 1 か
5 18 1 くけ

## overwrite rest of line, aligned single-width over double-width
# plain
0 20 0 あいう
2 20 0 kikuko
# emphasized over plain
0 21 0 あいう
2 21 1 kikuko
# plain over emphasized
0 22 1 あいう
2 22 0 kikuko
# emphasized over emphasized
0 23 1 あいう
2 23 1 kikuko

## overwrite rest of line, misaligned single-width over double-width
# plain
0 25 0 あいう
3 25 0 kikuko
# emphasized over plain
0 26 0 あいう
3 26 1 kikuko
# plain over emphasized
0 27 1 あいう
3 27 0 kikuko
# emphasized over emphasized
0 28 1 あいう
3 28 1 kikuko

## overwrite partial line, aligned single-width over double-width
# plain
0 30 0 あいうえお
0 30 0 ka
4 30 0 kuke
# emphasized over plain
0 31 0 あいうえお
0 31 1 ka
4 31 1 kuke
# plain over emphasized
0 32 1 あいうえお
0 32 0 ka
4 32 0 kuke
# emphasized over emphasized
0 33 1 あいうえお
0 33 1 ka
4 33 1 kuke

## overwrite partial line, misaligned single-width over double-width
# plain
0 35 0 あいうえおさ
1 35 0 a
5 35 0 kuke
# emphasized over plain
0 36 0 あいうえおさ
1 36 1 a
5 36 1 kuke
# plain over emphasized
0 37 1 あいうえおさ
1 37 0 a
5 37 0 kuke
# emphasized over emphasized
0 38 1 あいうえおさ
1 38 1 a
5 38 1 kuke
_ATEOF

{ set +x
$as_echo "$at_srcdir/ascii.at:282: render-test --draw-mode --emph=none input"
at_fn_check_prepare_trace "ascii.at:282"
( $at_check_trace; render-test --draw-mode --emph=none input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "あきくけ
あきくけ
あきくけ
あきくけ

あ?きくけ
あ?きくけ
あ?きくけ
あ?きくけ

かいくけお
かいくけお
かいくけお
かいくけお

?か??くけ?さ
?か??くけ?さ
?か??くけ?さ
?か??くけ?さ

あkikuko
あkikuko
あkikuko
あkikuko

あ?kikuko
あ?kikuko
あ?kikuko
あ?kikuko

kaいkukeお
kaいkukeお
kaいkukeお
kaいkukeお

?aい?kuke?さ
?aい?kuke?さ
?aい?kuke?さ
?aい?kuke?さ
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/ascii.at:282"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/ascii.at:323: render-test --draw-mode --emph=bold input"
at_fn_check_prepare_trace "ascii.at:323"
( $at_check_trace; render-test --draw-mode --emph=bold input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "あきくけ
あききくくけけ
ああきくけ
ああききくくけけ

あ?きくけ
あ?ききくくけけ
ああ?きくけ
ああ?ききくくけけ

かいくけお
かかいくくけけお
かいいくけおお
かかいいくくけけおお

?か??くけ?さ
?かか??くくけけ?さ
?か??くけ?ささ
?かか??くくけけ?ささ

あkikuko
あkkiikkuukkoo
ああkikuko
ああkkiikkuukkoo

あ?kikuko
あ?kkiikkuukkoo
ああ?kikuko
ああ?kkiikkuukkoo

kaいkukeお
kkaaいkkuukkeeお
kaいいkukeおお
kkaaいいkkuukkeeおお

?aい?kuke?さ
?aaい?kkuukkee?さ
?aいい?kuke?ささ
?aaいい?kkuukkee?ささ
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/ascii.at:323"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/ascii.at:364: render-test --draw-mode --emph=underline input"
at_fn_check_prepare_trace "ascii.at:364"
( $at_check_trace; render-test --draw-mode --emph=underline input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "あきくけ
あ_き_く_け
_あきくけ
_あ_き_く_け

あ?きくけ
あ?_き_く_け
_あ?きくけ
_あ?_き_く_け

かいくけお
_かい_く_けお
か_いくけ_お
_か_い_く_け_お

?か??くけ?さ
?_か??_く_け?さ
?か??くけ?_さ
?_か??_く_け?_さ

あkikuko
あ_k_i_k_u_k_o
_あkikuko
_あ_k_i_k_u_k_o

あ?kikuko
あ?_k_i_k_u_k_o
_あ?kikuko
_あ?_k_i_k_u_k_o

kaいkukeお
_k_aい_k_u_k_eお
ka_いkuke_お
_k_a_い_k_u_k_e_お

?aい?kuke?さ
?_aい?_k_u_k_e?さ
?a_い?kuke?_さ
?_a_い?_k_u_k_e?_さ
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/ascii.at:364"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1073
#AT_START_1074
at_fn_group_banner 1074 'ascii.at:407' \
  "ASCII driver overwriting combining characters" "  " 133
at_xfail=no
(
  $as_echo "1074. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >input <<'_ATEOF'
## overwriting rest of line, ordinary over combining
# plain
0 0 0 àéî
1 0 0 xyz
# emphasized over plain
0 1 0 àéî
1 1 1 xyz
# plain over emphasized
0 2 1 àéî
1 2 0 xyz
# emphasized over emphasized
0 3 1 àéî
1 3 1 xyz

## overwriting rest of line, combining over ordinary
# plain
0 5 0 xyz
1 5 0 àéî
# emphasized over plain
0 6 0 xyz
1 6 1 àéî
# plain over emphasized
0 7 1 xyz
1 7 0 àéî
# emphasized over emphasized
0 8 1 xyz
1 8 1 àéî

## overwriting partial line, ordinary over combining
# plain
0 10 0 àéîo̧ũẙ
0 10 0 a
2 10 0 iou
# emphasized over plain
0 11 0 àéîo̧ũẙ
0 11 1 a
2 11 1 iou
# plain over emphasized
0 12 1 àéîo̧ũẙ
0 12 0 a
2 12 0 iou
# emphasized over emphasized
0 13 1 àéîo̧ũẙ
0 13 1 a
2 13 1 iou

## overwriting partial line, combining over ordinary
# plain
0 15 0 aeiouy
0 15 0 à
2 15 0 îo̧ũ
# emphasized over plain
0 16 0 aeiouy
0 16 1 à
2 16 1 îo̧ũ
# plain over emphasized
0 17 1 aeiouy
0 17 0 à
2 17 0 îo̧ũ
# emphasized over emphasized
0 18 1 aeiouy
0 18 1 à
2 18 1 îo̧ũ
_ATEOF

{ set +x
$as_echo "$at_srcdir/ascii.at:474: render-test --draw-mode --emph=none input"
at_fn_check_prepare_trace "ascii.at:474"
( $at_check_trace; render-test --draw-mode --emph=none input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "àxyz
àxyz
àxyz
àxyz

xàéî
xàéî
xàéî
xàéî

aéiouẙ
aéiouẙ
aéiouẙ
aéiouẙ

àeîo̧ũy
àeîo̧ũy
àeîo̧ũy
àeîo̧ũy
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/ascii.at:474"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/ascii.at:495: render-test --draw-mode --emph=bold input"
at_fn_check_prepare_trace "ascii.at:495"
( $at_check_trace; render-test --draw-mode --emph=bold input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "àxyz
àxxyyzz
aàxyz
aàxxyyzz

xàéî
xaàeéiî
xxàéî
xxaàeéiî

aéiouẙ
aaéiioouuẙ
aeéiouyẙ
aaeéiioouuyẙ

àeîo̧ũy
aàeiîoo̧uũy
àeeîo̧ũyy
aàeeiîoo̧uũyy
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/ascii.at:495"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/ascii.at:516: render-test --draw-mode --emph=underline input"
at_fn_check_prepare_trace "ascii.at:516"
( $at_check_trace; render-test --draw-mode --emph=underline input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "àxyz
à_x_y_z
_àxyz
_à_x_y_z

xàéî
x_à_é_î
_xàéî
_x_à_é_î

aéiouẙ
_aé_i_o_uẙ
a_éiou_ẙ
_a_é_i_o_u_ẙ

àeîo̧ũy
_àe_î_o̧_ũy
à_eîo̧ũ_y
_à_e_î_o̧_ũ_y
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/ascii.at:516"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1074
#AT_START_1075
at_fn_group_banner 1075 'ascii.at:539' \
  "ASCII driver u8_line_set_length" "                " 133
at_xfail=no
(
  $as_echo "1075. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >input <<'_ATEOF'
0 0 0 àéî
0 1 0 àéî
0 2 0 àéî
0 3 0 àéî
0 4 0 àéî
set-length 0 4
set-length 1 3
set-length 2 2
set-length 3 1
set-length 4 0

0 6 0 あい
0 7 0 あい
0 8 0 あい
0 9 0 あい
0 10 0 あい
0 11 0 あい
set-length 6 5
set-length 7 4
set-length 8 3
set-length 9 2
set-length 10 1
set-length 11 0
_ATEOF

{ set +x
$as_echo "$at_srcdir/ascii.at:566: render-test --draw-mode input"
at_fn_check_prepare_trace "ascii.at:566"
( $at_check_trace; render-test --draw-mode input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "àéî
àéî
àé
à

あい
あい
あ?
あ
?
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/ascii.at:566"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1075
#AT_START_1076
at_fn_group_banner 1076 'ascii.at:580' \
  "ASCII driver Unicode box characters" "            " 133
at_xfail=no
(
  $as_echo "1076. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >input <<'_ATEOF'
3 3
1*2 @abc
2*1 @d\ne\nf
2*1 @g\nh\ni
@j
1*2 @klm
_ATEOF

{ set +x
$as_echo "$at_srcdir/ascii.at:589: render-test --box=unicode input"
at_fn_check_prepare_trace "ascii.at:589"
( $at_check_trace; render-test --box=unicode input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "╭───┬─╮
│abc│d│
├─┬─┤e│
│g│j│f│
│h├─┴─┤
│i│klm│
╰─┴───╯
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/ascii.at:589"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1076
#AT_START_1077
at_fn_group_banner 1077 'ascii.at:600' \
  "ASCII driver syntax printback" "                  " 133
at_xfail=no
(
  $as_echo "1077. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >ascii.sps <<'_ATEOF'
SET PRINTBACK=ON.
DATA LIST LIST /x * y * a (a23).
BEGIN DATA.
1 11 One
2 22 Two
3 33 Three
END DATA.

REGRESSION
/VARIABLES= a
/DEPENDENT= x y
/STATISTICS=COEFF R ANOVA.
_ATEOF

{ set +x
$as_echo "$at_srcdir/ascii.at:615: pspp ascii.sps"
at_fn_check_prepare_trace "ascii.at:615"
( $at_check_trace; pspp ascii.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "SET PRINTBACK=ON.

DATA LIST LIST /x * y * a (a23).

Reading free-form data from INLINE.
+--------+------+
|Variable|Format|
#========#======#
|x       |F8.0  |
|y       |F8.0  |
|a       |A23   |
+--------+------+

BEGIN DATA.
1 11 One
2 22 Two
3 33 Three
END DATA.

REGRESSION
/VARIABLES= a

ascii.sps:11: warning: REGRESSION: a is not a numeric variable.  It will not be
included in the variable list.

/DEPENDENT= x y
/STATISTICS=COEFF R ANOVA.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/ascii.at:615"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1077
#AT_START_1078
at_fn_group_banner 1078 'ascii.at:647' \
  "ASCII unicode box chars" "                        " 133
at_xfail=no
(
  $as_echo "1078. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >uc.sps <<'_ATEOF'
SET FORMAT=F8.4.
DATA LIST NOTABLE LIST /x * .
BEGIN DATA.
1
2
3
END DATA.

DESCRIPTIVES X.
_ATEOF



{ set +x
$as_echo "$at_srcdir/ascii.at:662: pspp -O box=unicode uc.sps"
at_fn_check_prepare_trace "ascii.at:662"
( $at_check_trace; pspp -O box=unicode uc.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Valid cases = 3; cases with missing value(s) = 0.
╭────────╥─┬──────┬───────┬───────┬───────╮
│Variable║N│ Mean │Std Dev│Minimum│Maximum│
╞════════╬═╪══════╪═══════╪═══════╪═══════╡
│x       ║3│2.0000│ 1.0000│ 1.0000│ 3.0000│
╰────────╨─┴──────┴───────┴───────┴───────╯
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/ascii.at:662"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1078
#AT_START_1079
at_fn_group_banner 1079 'ascii.at:673' \
  "ASCII crash on empty line" "                      " 133
at_xfail=no
(
  $as_echo "1079. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >print.sps <<'_ATEOF'
data list notable /x y 1-2.
begin data.
12
end data.

print.

execute.
_ATEOF


{ set +x
$as_echo "$at_srcdir/ascii.at:686: pspp print.sps"
at_fn_check_prepare_trace "ascii.at:686"
( $at_check_trace; pspp print.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/ascii.at:686"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1079
#AT_START_1080
at_fn_group_banner 1080 'charts.at:24' \
  "Examine" "                                        " 134
at_xfail=no
(
  $as_echo "1080. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >charts.sps <<'_ATEOF'

input program.
loop #i = 1 to 1000.
 compute x  = rv.normal (56, 3) + rv.uniform (1, 1).
 compute y  = rv.normal (6, 2) + rv.uniform (1, 2).
 compute A  = rv.uniform (-1, 1).
  compute A = (A > 0).
 end case.
end loop.
end file.
end input program.

examine x y by a
	/plot = histogram, npplot spreadlevel(1)
	.

examine x y by a
	/compare = groups
	/plot = boxplot
	.

examine x y by a
	/compare = variables
	/plot = boxplot
	.
_ATEOF


{ set +x
$as_echo "$at_srcdir/charts.at:52: pspp -o pspp.txt charts.sps"
at_fn_check_prepare_trace "charts.at:52"
( $at_check_trace; pspp -o pspp.txt charts.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/charts.at:52"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1080
#AT_START_1081
at_fn_group_banner 1081 'charts.at:56' \
  "Roc" "                                            " 134
at_xfail=no
(
  $as_echo "1081. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >roc.sps <<'_ATEOF'

data list list /fred * group * w *.
begin data.
99  0 1000
99  1 3
97  0 908
97  1 2
95  0 904
96  1 7
94  1 9
93  0 823
93  1 12
90  0 723
90  1 42
84  0 523
84  1 98
73  0 500
75  1 180
63  0 520
69  1 320
60  0 510
60  1 418
50  0 488
54  1 432
46  0 428
43  1 528
36  0 324
36  1 612
26  0 294
28  1 682
20  0 119
20  1 719
10  0 97
10  1 809
end data.

weight by w.

compute bert = fred + (group < 0.5) * 45.
compute charlie = fred + (group > 0.5) * 15.


ROC /fred bert charlie by group (0)
	/plot = curve (reference).

_ATEOF


{ set +x
$as_echo "$at_srcdir/charts.at:104: pspp -o pspp.txt roc.sps"
at_fn_check_prepare_trace "charts.at:104"
( $at_check_trace; pspp -o pspp.txt roc.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/charts.at:104"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1081
#AT_START_1082
at_fn_group_banner 1082 'charts.at:111' \
  "Scree" "                                          " 134
at_xfail=no
(
  $as_echo "1082. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >scree.sps <<'_ATEOF'

input program.
vector vec(10).
loop #i = 1 to 100.
 loop #v = 1 to 3.
 compute vec(#v) = rv.normal (0, 45).
 end loop.
 loop #v = 4 to 10.
 compute vec(#v) = vec (#v - 3) + rv.normal (0, 30).
 end loop.
 end case.
end loop.
end file.
end input program.


factor /variables = all
        /print initial
	/plot = eigen.

_ATEOF


{ set +x
$as_echo "$at_srcdir/charts.at:134: pspp -o pspp.txt scree.sps"
at_fn_check_prepare_trace "charts.at:134"
( $at_check_trace; pspp -o pspp.txt scree.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/charts.at:134"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1082
#AT_START_1083
at_fn_group_banner 1083 'charts.at:139' \
  "Histogram" "                                      " 134
at_xfail=no
(
  $as_echo "1083. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >histogram.sps <<'_ATEOF'

* This test is designed to "torture" the code which
  generates histograms.  It is no-crash test. However
  the code is rich in assertions, so any problems we
  hope will be caught there.


input program.
loop #i = 1 to 1000.
 compute pos  = rv.normal (56, 3) + rv.uniform (1, 1).
 compute neg  = rv.normal (-86, 2) + rv.uniform (1, 1).
 compute pn  = rv.normal (0, 2) + rv.uniform (1, 2).
 compute A  = rv.uniform (-1, 1).
  compute A = (A > 0).
 end case.
end loop.
end file.
end input program.


examine pos neg pn by a
	/plot = histogram
	.

frequencies pos neg pn
	/format=notable
	/histogram=normal.
_ATEOF



{ set +x
$as_echo "$at_srcdir/charts.at:171: pspp --testing-mode -o pspp.txt histogram.sps"
at_fn_check_prepare_trace "charts.at:171"
( $at_check_trace; pspp --testing-mode -o pspp.txt histogram.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/charts.at:171"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1083
#AT_START_1084
at_fn_group_banner 1084 'charts.at:176' \
  "FREQUENCIES charts" "                             " 134
at_xfail=no
(
  $as_echo "1084. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >xxx.sps <<'_ATEOF'

DATA LIST LIST /nationality (A10)  religion (A20) gender (A8).
BEGIN DATA.
Australian  Sikh      Male
Australian  Sikh      Male
Australian  Sikh      Male
Australian  Sikh      Male
British     Zoroastrian Female
British     Buddist   Female
British     Buddist   Female
British      Zoroastrian Female
German      Muslim    Male
German      Christian Male
German      Christian Female
German      Christian Male
German      Zoroastrian Female
German      Sikh   Female
German      Muslim Female
German      Pastafarian Female
German      "Jedi Knight" Female
Belgian     Sikh      Male
French       Muslim      Male
French       Muslim      Male
French       Christian      Male
END DATA.


FREQUENCIES /VARIABLES=religion nationality /BARCHART /PIECHART.
_ATEOF



{ set +x
$as_echo "$at_srcdir/charts.at:208: pspp  -o pspp.txt xxx.sps"
at_fn_check_prepare_trace "charts.at:208"
( $at_check_trace; pspp  -o pspp.txt xxx.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/charts.at:208"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1084
#AT_START_1085
at_fn_group_banner 1085 'charts.at:214' \
  "CROSSTABS charts" "                               " 134
at_xfail=no
(
  $as_echo "1085. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >xxx.sps <<'_ATEOF'

DATA LIST LIST /nationality (A10)  religion (A20) gender (A8).
BEGIN DATA.
Australian  Sikh      Male
Australian  Sikh      Male
Australian  Sikh      Male
Australian  Sikh      Male
British     Zoroastrian Female
British     Buddist   Female
British     Buddist   Female
British      Zoroastrian Female
German      Muslim    Male
German      Christian Male
German      Christian Female
German      Christian Male
German      Zoroastrian Female
German      Sikh   Female
German      Muslim Female
German      Pastafarian Female
German      "Jedi Knight" Female
Belgian     Sikh      Male
French       Muslim      Male
French       Muslim      Male
French       Christian      Male
END DATA.


CROSSTABS
	  /tables = nationality by religion by gender
	  /tables = nationality by religion
	  /tables = religion by gender
	  /tables = nationality by religion by gender
	  /barchart.
_ATEOF



{ set +x
$as_echo "$at_srcdir/charts.at:251: pspp  -o pspp.txt xxx.sps"
at_fn_check_prepare_trace "charts.at:251"
( $at_check_trace; pspp  -o pspp.txt xxx.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/charts.at:251"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1085
#AT_START_1086
at_fn_group_banner 1086 'charts.at:258' \
  "BOXPLOT Empty" "                                  " 134
at_xfail=no
(
  $as_echo "1086. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >bp.sps <<'_ATEOF'

DATA LIST LIST /X * Y * .
BEGIN DATA
1
2
2
2
3
END DATA

EXAMINE
    /VARIABLES = Y
    /PLOT = BOXPLOT.
_ATEOF



{ set +x
$as_echo "$at_srcdir/charts.at:275: pspp -o pspp.txt bp.sps"
at_fn_check_prepare_trace "charts.at:275"
( $at_check_trace; pspp -o pspp.txt bp.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/charts.at:275"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1086
#AT_START_1087
at_fn_group_banner 1087 'html.at:19' \
  "HTML bug" "                                       " 135
at_xfail=no
(
  $as_echo "1087. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >foo.sps <<'_ATEOF'
data list notable list /w l96_r l99_r l102_r *.
begin data.
15  0 0 0
 1  1 1 1
 2  1 1 2
 1  1 2 1
 1  1 2 2
 1  2 1 1
 4  2 2 1
 2  2 2 2
end data.

weight by w.

crosstabs
	/tables=l96_r by l99_r by l102_r
	/format=avalue table pivot
	/statistics=none
	/cell=count.
_ATEOF


{ set +x
$as_echo "$at_srcdir/html.at:43: pspp -O format=html foo.sps"
at_fn_check_prepare_trace "html.at:43"
( $at_check_trace; pspp -O format=html foo.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/html.at:43"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1087
#AT_START_1088
at_fn_group_banner 1088 'output.at:39' \
  "output csv to unwritable directory" "             " 136
at_xfail=no
(
  $as_echo "1088. $at_setup_line: testing $at_desc ..."
  $at_traceon

   mkdir unwritable
   chmod u-w unwritable
   $as_echo "output.at:39" >"$at_check_line_file"
(: > unwritable/test) \
  && at_fn_check_skip 77 "$at_srcdir/output.at:39"
   cat >unwritable.sps <<'_ATEOF'
data list /x 1.
begin data.
1
2
3
end data.
frequencies x/histogram.
_ATEOF

         { set +x
$as_echo "$at_srcdir/output.at:39: cd unwritable && pspp -o pspp.csv ../unwritable.sps"
at_fn_check_prepare_trace "output.at:39"
( $at_check_trace; cd unwritable && pspp -o pspp.csv ../unwritable.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
at_fn_check_status 1 $at_status "$at_srcdir/output.at:39"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1088
#AT_START_1089
at_fn_group_banner 1089 'output.at:40' \
  "output html to unwritable directory" "            " 136
at_xfail=no
(
  $as_echo "1089. $at_setup_line: testing $at_desc ..."
  $at_traceon

   mkdir unwritable
   chmod u-w unwritable
   $as_echo "output.at:40" >"$at_check_line_file"
(: > unwritable/test) \
  && at_fn_check_skip 77 "$at_srcdir/output.at:40"
   cat >unwritable.sps <<'_ATEOF'
data list /x 1.
begin data.
1
2
3
end data.
frequencies x/histogram.
_ATEOF

         { set +x
$as_echo "$at_srcdir/output.at:40: cd unwritable && pspp -o pspp.html ../unwritable.sps"
at_fn_check_prepare_trace "output.at:40"
( $at_check_trace; cd unwritable && pspp -o pspp.html ../unwritable.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
at_fn_check_status 1 $at_status "$at_srcdir/output.at:40"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1089
#AT_START_1090
at_fn_group_banner 1090 'output.at:41' \
  "output odt to unwritable directory" "             " 136
at_xfail=no
(
  $as_echo "1090. $at_setup_line: testing $at_desc ..."
  $at_traceon

   mkdir unwritable
   chmod u-w unwritable
   $as_echo "output.at:41" >"$at_check_line_file"
(: > unwritable/test) \
  && at_fn_check_skip 77 "$at_srcdir/output.at:41"
   cat >unwritable.sps <<'_ATEOF'
data list /x 1.
begin data.
1
2
3
end data.
frequencies x/histogram.
_ATEOF

         { set +x
$as_echo "$at_srcdir/output.at:41: cd unwritable && pspp -o pspp.odt ../unwritable.sps"
at_fn_check_prepare_trace "output.at:41"
( $at_check_trace; cd unwritable && pspp -o pspp.odt ../unwritable.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
at_fn_check_status 1 $at_status "$at_srcdir/output.at:41"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1090
#AT_START_1091
at_fn_group_banner 1091 'output.at:42' \
  "output pdf to unwritable directory" "             " 136
at_xfail=no
(
  $as_echo "1091. $at_setup_line: testing $at_desc ..."
  $at_traceon

   mkdir unwritable
   chmod u-w unwritable
   $as_echo "output.at:42" >"$at_check_line_file"
(: > unwritable/test) \
  && at_fn_check_skip 77 "$at_srcdir/output.at:42"
   cat >unwritable.sps <<'_ATEOF'
data list /x 1.
begin data.
1
2
3
end data.
frequencies x/histogram.
_ATEOF

         { set +x
$as_echo "$at_srcdir/output.at:42: cd unwritable && pspp -o pspp.pdf ../unwritable.sps"
at_fn_check_prepare_trace "output.at:42"
( $at_check_trace; cd unwritable && pspp -o pspp.pdf ../unwritable.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
at_fn_check_status 1 $at_status "$at_srcdir/output.at:42"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1091
#AT_START_1092
at_fn_group_banner 1092 'output.at:43' \
  "output txt to unwritable directory" "             " 136
at_xfail=no
(
  $as_echo "1092. $at_setup_line: testing $at_desc ..."
  $at_traceon

   mkdir unwritable
   chmod u-w unwritable
   $as_echo "output.at:43" >"$at_check_line_file"
(: > unwritable/test) \
  && at_fn_check_skip 77 "$at_srcdir/output.at:43"
   cat >unwritable.sps <<'_ATEOF'
data list /x 1.
begin data.
1
2
3
end data.
frequencies x/histogram.
_ATEOF

         { set +x
$as_echo "$at_srcdir/output.at:43: cd unwritable && pspp -o pspp.txt ../unwritable.sps"
at_fn_check_prepare_trace "output.at:43"
( $at_check_trace; cd unwritable && pspp -o pspp.txt ../unwritable.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo stdout:; cat "$at_stdout"
at_fn_check_status 1 $at_status "$at_srcdir/output.at:43"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1092
#AT_START_1093
at_fn_group_banner 1093 'paper-size.at:19' \
  "letter default paper size" "                      " 137
at_xfail=no
(
  $as_echo "1093. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >paper-size.sps <<'_ATEOF'
debug paper size ''.
_ATEOF

{ set +x
$as_echo "$at_srcdir/paper-size.at:23: PAPERSIZE=letter pspp --testing-mode -O format=csv paper-size.sps"
at_fn_check_prepare_trace "paper-size.at:23"
( $at_check_trace; PAPERSIZE=letter pspp --testing-mode -O format=csv paper-size.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "\"\" => 8.5 x 11.0 in, 216 x 279 mm
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/paper-size.at:23"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1093
#AT_START_1094
at_fn_group_banner 1094 'paper-size.at:28' \
  "a4 default paper size" "                          " 137
at_xfail=no
(
  $as_echo "1094. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >paper-size.sps <<'_ATEOF'
debug paper size ''.
_ATEOF

{ set +x
$as_echo "$at_srcdir/paper-size.at:32: PAPERSIZE=a4 pspp --testing-mode -O format=csv paper-size.sps"
at_fn_check_prepare_trace "paper-size.at:32"
( $at_check_trace; PAPERSIZE=a4 pspp --testing-mode -O format=csv paper-size.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "\"\" => 8.3 x 11.7 in, 210 x 297 mm
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/paper-size.at:32"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1094
#AT_START_1095
at_fn_group_banner 1095 'paper-size.at:37' \
  "specific paper sizes" "                           " 137
at_xfail=no
(
  $as_echo "1095. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >paper-size.sps <<'_ATEOF'
debug paper size 'a4'.
debug paper size 'letter'.
debug paper size '10x14in'.
debug paper size '210x297mm'.
_ATEOF

{ set +x
$as_echo "$at_srcdir/paper-size.at:45: PAPERSIZE=a4 pspp --testing-mode -O format=csv paper-size.sps"
at_fn_check_prepare_trace "paper-size.at:45"
( $at_check_trace; PAPERSIZE=a4 pspp --testing-mode -O format=csv paper-size.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "\"a4\" => 8.3 x 11.7 in, 210 x 297 mm
\"letter\" => 8.5 x 11.0 in, 216 x 279 mm
\"10x14in\" => 10.0 x 14.0 in, 254 x 356 mm
\"210x297mm\" => 8.3 x 11.7 in, 210 x 297 mm
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/paper-size.at:45"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1095
#AT_START_1096
at_fn_group_banner 1096 'render.at:176' \
  "single cell" "                                    " 138
at_xfail=no
(
  $as_echo "1096. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >input <<'_ATEOF'
1 1
abc
_ATEOF

{ set +x
$as_echo "$at_srcdir/render.at:181: render-test input"
at_fn_check_prepare_trace "render.at:181"
( $at_check_trace; render-test input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "abc
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:181"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1096
#AT_START_1097
at_fn_group_banner 1097 'render.at:185' \
  "nested single cell" "                             " 138
at_xfail=no
(
  $as_echo "1097. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >input <<'_ATEOF'
1 1
abc
1 1
{0}
_ATEOF

{ set +x
$as_echo "$at_srcdir/render.at:192: render-test input"
at_fn_check_prepare_trace "render.at:192"
( $at_check_trace; render-test input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "abc
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:192"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1097
#AT_START_1098
at_fn_group_banner 1098 'render.at:196' \
  "single cell with border" "                        " 138
at_xfail=no
(
  $as_echo "1098. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >input <<'_ATEOF'
1 1
@abc
_ATEOF

{ set +x
$as_echo "$at_srcdir/render.at:201: render-test input"
at_fn_check_prepare_trace "render.at:201"
( $at_check_trace; render-test input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "+---+
|abc|
+---+
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:201"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1098
#AT_START_1099
at_fn_group_banner 1099 'render.at:208' \
  "nested single cell with border" "                 " 138
at_xfail=no
(
  $as_echo "1099. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >input <<'_ATEOF'
1 1
@abc
1 1
@{0}
_ATEOF

{ set +x
$as_echo "$at_srcdir/render.at:215: render-test input"
at_fn_check_prepare_trace "render.at:215"
( $at_check_trace; render-test input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "+-----+
|+---+|
||abc||
|+---+|
+-----+
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:215"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1099
#AT_START_1100
at_fn_group_banner 1100 'render.at:224' \
  "joined columns" "                                 " 138
at_xfail=no
(
  $as_echo "1100. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >input <<'_ATEOF'
2 2
1*2 @abcdefg
@hij
@klm
_ATEOF

{ set +x
$as_echo "$at_srcdir/render.at:231: render-test input"
at_fn_check_prepare_trace "render.at:231"
( $at_check_trace; render-test input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "+-------+
|abcdefg|
+---+---+
|hij|klm|
+---+---+
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:231"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1100
#AT_START_1101
at_fn_group_banner 1101 'render.at:240' \
  "3x3, joined rows and columns" "                   " 138
at_xfail=no
(
  $as_echo "1101. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >input <<'_ATEOF'
3 3
1*2 @abc
2*1 @d\ne\nf
2*1 @g\nh\ni
@j
1*2 @klm
_ATEOF

{ set +x
$as_echo "$at_srcdir/render.at:249: render-test input"
at_fn_check_prepare_trace "render.at:249"
( $at_check_trace; render-test input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "+---+-+
|abc|d|
+-+-+e|
|g|j|f|
|h+-+-+
|i|klm|
+-+---+
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:249"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1101
#AT_START_1102
at_fn_group_banner 1102 'render.at:260' \
  "joined rows and columns (with footnotes)" "       " 138
at_xfail=no
(
  $as_echo "1102. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >input <<'_ATEOF'
3 3
1*2 @abc#Approximation.
2*1 @d\ne\nf#This is a very long footnote that will have to wrap from one line to the next.  Let's see if the rendering engine does it acceptably.
2*1 @g\nh\ni#One#Two#Three
@j
1*2 @klm
_ATEOF

{ set +x
$as_echo "$at_srcdir/render.at:269: render-test --csv input"
at_fn_check_prepare_trace "render.at:269"
( $at_check_trace; render-test --csv input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "+------------+----+
|      abc[a]|   d|
+----------+-+   e|
|         g|j|f[b]|
|         h+-+----+
|i[c][d][e]|   klm|
+----------+------+
[a] Approximation.
[b] This is a very long footnote that will have to wrap from one line to the
    next.  Let's see if the rendering engine does it acceptably.
[c] One
[d] Two
[e] Three
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:269"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/render.at:284: cat render.csv"
at_fn_check_prepare_trace "render.at:284"
( $at_check_trace; cat render.csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "abc[a],,\"d
e
f[b]\"
\"g
h
i[c][d][e]\",j,
,klm,

Footnotes:
a,Approximation.
b,This is a very long footnote that will have to wrap from one line to the next.  Let's see if the rendering engine does it acceptably.
c,One
d,Two
e,Three
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:284"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1102
#AT_START_1103
at_fn_group_banner 1103 'render.at:302' \
  "6x6, joined rows and columns" "                   " 138
at_xfail=no
(
  $as_echo "1103. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >input <<'_ATEOF'
6 6
@a
1*2 @bcd
@e
2*1 @f\ng\nh
@i
2*1 @j\nk\nl
@m
1*2 @nop
2*1 @q\nr\ns
2*1 @t\nu\nv
@w
1*2 @xyz
@A
2*1 @B\nC\nD
@E
1*2 @FGH
1*2 @IJK
2*1 @L\nM\nN
@O
@P
@Q
1*2 @RST
@U
@V
_ATEOF

{ set +x
$as_echo "$at_srcdir/render.at:305: render-test input"
at_fn_check_prepare_trace "render.at:305"
( $at_check_trace; render-test input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "+-+---+-+-+-+
|a|bcd|e|f|i|
+-+-+-+-+g+-+
|j|m|nop|h|q|
|k+-+-+-+-+r|
|l|t|w|xyz|s|
+-+u+-+-+-+-+
|A|v|B|E|FGH|
+-+-+C+-+-+-+
|IJK|D|L|O|P|
+-+-+-+M+-+-+
|Q|RST|N|U|V|
+-+---+-+-+-+
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:305"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1103
#AT_START_1104
at_fn_group_banner 1104 'render.at:322' \
  "3 rows with many joined cells" "                  " 138
at_xfail=no
(
  $as_echo "1104. $at_setup_line: testing $at_desc ..."
  $at_traceon



cat >input <<'_ATEOF'
3 19
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
@1
1*2 @2
1*2 @3
1*2 @4
1*2 @5
1*2 @6
1*2 @7
1*2 @8
1*2 @9
1*2 @10
1*2 @11
1*2 @12
1*2 @13
1*2 @14
1*2 @15
1*2 @16
1*2 @17
1*2 @18
1*2 @19
@20
_ATEOF

{ set +x
$as_echo "$at_srcdir/render.at:331: render-test input"
at_fn_check_prepare_trace "render.at:331"
( $at_check_trace; render-test input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo " a b c d e f g h i j k l m n o p q r  s
+-+---+---+---+---+---+---+---+---+----+
|1|  2|  3|  4|  5|  6|  7|  8|  9|  10|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+--+
| 11| 12| 13| 14| 15| 16| 17| 18| 19|20|
+---+---+---+---+---+---+---+---+---+--+
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:331"
$at_failed && at_fn_log_failure  \
"input"
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1104
#AT_START_1105
at_fn_group_banner 1105 'render.at:341' \
  "3 columns with many joined cells" "               " 138
at_xfail=no
(
  $as_echo "1105. $at_setup_line: testing $at_desc ..."
  $at_traceon



cat >input <<'_ATEOF'
3 19
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
@1
1*2 @2\nab\ncd
1*2 @3\nab\ncd
1*2 @4\nab\ncd
1*2 @5\nab\ncd
1*2 @6\nab\ncd
1*2 @7\nab\ncd
1*2 @8\nab\ncd
1*2 @9\nab\ncd
1*2 @10\nab\ncd
1*2 @11\nab\ncd
1*2 @12\nab\ncd
1*2 @13\nab\ncd
1*2 @14\nab\ncd
1*2 @15\nab\ncd
1*2 @16\nab\ncd
1*2 @17\nab\ncd
1*2 @18\nab\ncd
1*2 @19\nab\ncd
@20
_ATEOF

{ set +x
$as_echo "$at_srcdir/render.at:350: render-test --transpose input"
at_fn_check_prepare_trace "render.at:350"
( $at_check_trace; render-test --transpose input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo " +--+--+
a| 1|11|
 +--+ab|
b| 2|cd|
 |ab+--+
c|cd|12|
 +--+ab|
d| 3|cd|
 |ab+--+
e|cd|13|
 +--+ab|
f| 4|cd|
 |ab+--+
g|cd|14|
 +--+ab|
h| 5|cd|
 |ab+--+
i|cd|15|
 +--+ab|
j| 6|cd|
 |ab+--+
k|cd|16|
 +--+ab|
l| 7|cd|
 |ab+--+
m|cd|17|
 +--+ab|
n| 8|cd|
 |ab+--+
o|cd|18|
 +--+ab|
p| 9|cd|
 |ab+--+
q|cd|19|
 +--+ab|
r|10|cd|
 |ab+--+
s|cd|20|
 +--+--+
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:350"
$at_failed && at_fn_log_failure  \
"input"
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1105
#AT_START_1106
at_fn_group_banner 1106 'render.at:393' \
  "joined rows" "                                    " 138
at_xfail=no
(
  $as_echo "1106. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >input <<'_ATEOF'
2 2
2*1 @ab\ncd\nef
@hij
@klm
_ATEOF

{ set +x
$as_echo "$at_srcdir/render.at:400: render-test input"
at_fn_check_prepare_trace "render.at:400"
( $at_check_trace; render-test input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "+--+---+
|ab|hij|
|cd+---+
|ef|klm|
+--+---+
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:400"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1106
#AT_START_1107
at_fn_group_banner 1107 'render.at:409' \
  "nested joined rows" "                             " 138
at_xfail=no
(
  $as_echo "1107. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >input <<'_ATEOF'
2 2
2*1 @ab\ncd\nef
@hij
@klm
1 1
@{0}
_ATEOF

{ set +x
$as_echo "$at_srcdir/render.at:418: render-test input"
at_fn_check_prepare_trace "render.at:418"
( $at_check_trace; render-test input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "+--------+
|+--+---+|
||ab|hij||
||cd+---+|
||ef|klm||
|+--+---+|
+--------+
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:418"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1107
#AT_START_1108
at_fn_group_banner 1108 'render.at:431' \
  "joined rows only, no rules" "                     " 138
at_xfail=no
(
  $as_echo "1108. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >input <<'_ATEOF'
2 2
2*1 ab\ncd\nef
2*1 hij\nklm\nnop
_ATEOF

{ set +x
$as_echo "$at_srcdir/render.at:437: render-test input"
at_fn_check_prepare_trace "render.at:437"
( $at_check_trace; render-test input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "ab hij
cd klm
ef nop
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:437"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1108
#AT_START_1109
at_fn_group_banner 1109 'render.at:444' \
  "joined columns only, no rules" "                  " 138
at_xfail=no
(
  $as_echo "1109. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >input <<'_ATEOF'
2 2
1*2 abc\ndef
1*2 hij\nklm\nnop
_ATEOF

{ set +x
$as_echo "$at_srcdir/render.at:450: render-test input"
at_fn_check_prepare_trace "render.at:450"
( $at_check_trace; render-test input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "abc
def
hij
klm
nop
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:450"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1109
#AT_START_1110
at_fn_group_banner 1110 'render.at:459' \
  "5 big narrow cells" "                             " 138
at_xfail=no
(
  $as_echo "1110. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >input <<'_ATEOF'
1 5
@This cell has a lot of text but its minimum width is pretty narrow.
@This cell also has a lot of text but its minimum width is pretty narrow.
@A third cell with a lot of text but a pretty narrow minimum width.
@A fourth cell with a lot of text but a pretty narrow minimum width.
@A fifth cell with a lot of text but a pretty narrow minimum width.
_ATEOF

{ set +x
$as_echo "$at_srcdir/render.at:468: render-test input"
at_fn_check_prepare_trace "render.at:468"
( $at_check_trace; render-test input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "+---------------+---------------+--------------+---------------+--------------+
|This cell has a| This cell also|  A third cell|  A fourth cell|  A fifth cell|
|lot of text but|   has a lot of| with a lot of|  with a lot of| with a lot of|
|    its minimum|   text but its|    text but a|     text but a|    text but a|
|width is pretty|  minimum width| pretty narrow|  pretty narrow| pretty narrow|
|        narrow.|      is pretty|minimum width.| minimum width.|minimum width.|
|               |        narrow.|              |               |              |
+---------------+---------------+--------------+---------------+--------------+
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:468"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1110
#AT_START_1111
at_fn_group_banner 1111 'render.at:480' \
  "9 big narrow cells" "                             " 138
at_xfail=no
(
  $as_echo "1111. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >input <<'_ATEOF'
1 9
@This cell has a lot of text but its minimum width is pretty narrow.
@This cell also has a lot of text but its minimum width is pretty narrow.
@A third cell with a lot of text but a pretty narrow minimum width.
@A fourth cell with a lot of text but a pretty narrow minimum width.
@A fifth cell with a lot of text but a pretty narrow minimum width.
@A sixth cell with a lot of text but a pretty narrow minimum width.
@A seventh cell with a lot of text but a pretty narrow minimum width.
@A eighth cell with a lot of text but a pretty narrow minimum width.
@A ninth cell with a lot of text but a pretty narrow minimum width.
_ATEOF

{ set +x
$as_echo "$at_srcdir/render.at:493: render-test input"
at_fn_check_prepare_trace "render.at:493"
( $at_check_trace; render-test input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "+--------+-------+--------+--------+-------+--------+--------+-------+--------+
|    This|   This| A third|A fourth|A fifth| A sixth|       A|      A| A ninth|
|cell has|   cell|    cell|    cell|   cell|    cell| seventh| eighth|    cell|
|a lot of|   also|  with a|  with a| with a|  with a|    cell|   cell|  with a|
|text but|  has a|  lot of|  lot of| lot of|  lot of|  with a| with a|  lot of|
|     its| lot of|text but|text but|   text|text but|  lot of| lot of|text but|
| minimum|   text|a pretty|a pretty|  but a|a pretty|text but|   text|a pretty|
|width is|but its|  narrow|  narrow| pretty|  narrow|a pretty|  but a|  narrow|
|  pretty|minimum| minimum| minimum| narrow| minimum|  narrow| pretty| minimum|
| narrow.|  width|  width.|  width.|minimum|  width.| minimum| narrow|  width.|
|        |     is|        |        | width.|        |  width.|minimum|        |
|        | pretty|        |        |       |        |        | width.|        |
|        |narrow.|        |        |       |        |        |       |        |
+--------+-------+--------+--------+-------+--------+--------+-------+--------+
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:493"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1111
#AT_START_1112
at_fn_group_banner 1112 'render.at:511' \
  "2 big cells with new-lines" "                     " 138
at_xfail=no
(
  $as_echo "1112. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >input <<'_ATEOF'
1 2
@PSPP does not place many restrictions on ordering of commands. The main restriction is that variables must be defined before they are otherwise referenced.  This section describes the details of command ordering, but most users will have no need to refer to them. PSPP possesses five internal states, called initial, INPUT PROGRAM, FILE TYPE, transformation, and procedure states.
@PSPP includes special support\nfor unknown numeric data values.\nMissing observations are assigned\na special value, called the\n``system‑missing value''.  This\n``value'' actually indicates the\nabsence of a value; it\nmeans that the actual\nvalue is unknown.
_ATEOF

{ set +x
$as_echo "$at_srcdir/render.at:517: render-test input"
at_fn_check_prepare_trace "render.at:517"
( $at_check_trace; render-test input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "+----------------------------------------------------------+------------------+
|      PSPP does not place many restrictions on ordering of|     PSPP includes|
|  commands. The main restriction is that variables must be|   special support|
|       defined before they are otherwise referenced.  This|       for unknown|
|    section describes the details of command ordering, but|      numeric data|
|       most users will have no need to refer to them. PSPP|           values.|
|     possesses five internal states, called initial, INPUT|           Missing|
| PROGRAM, FILE TYPE, transformation, and procedure states.|  observations are|
|                                                          |          assigned|
|                                                          |  a special value,|
|                                                          |        called the|
|                                                          |  \`\`system‑missing|
|                                                          |    value''.  This|
|                                                          |\`\`value'' actually|
|                                                          |     indicates the|
|                                                          |      absence of a|
|                                                          |         value; it|
|                                                          |    means that the|
|                                                          |            actual|
|                                                          | value is unknown.|
+----------------------------------------------------------+------------------+
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:517"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1112
#AT_START_1113
at_fn_group_banner 1113 'render.at:542' \
  "8x8 with many 2x2 joins" "                        " 138
at_xfail=no
(
  $as_echo "1113. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >input <<'_ATEOF'
8 8
2*2 @abc\ndef\nghi
1*2 @jkl
2*2 @mno\npqr\nstu
1*2 @vwx
2*2 @yzA\nBCD\nEFG
2*2 @HIJ\nKLM\nNOP
3*1 @Q\nR\nS\nT\nU
@V
2*1 @W\nX\nY
@Z
2*2 @012\n345\n678
@9
2*2 @abc\ndef\nghi
3*1 @j\nk\nl\nm\nn
2*2 @opq\nrst\nuvw
2*2 @xyz\nABC\nDEF
2*1 @G\nH\nI
1*2 @JKL
2*3 @MNOPQ\nRSTUV\nWXYZ0
2*2 @123\n456\n789
1*3 @abcde
_ATEOF

{ set +x
$as_echo "$at_srcdir/render.at:545: render-test input"
at_fn_check_prepare_trace "render.at:545"
( $at_check_trace; render-test input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "+---+---+----+----+
|abc|jkl| mno| vwx|
|def|   | pqr|    |
|ghi+---+ stu+----+
|   |yzA|    | HIJ|
+-+-+BCD+-+--+ KLM|
|Q|V|EFG|W| Z| NOP|
|R| |   |X|  |    |
|S+-+-+-+Y+--+-+--+
|T|012|9| | abc| j|
|U|345| | | def| k|
| |678+-+-+ ghi| l|
| |   |opq|    | m|
+-+-+-+rst+----+ n|
|xyz|G|uvw| JKL|  |
|ABC|H|   |    |  |
|DEF|I+---+--+-+--+
|   | | MNOPQ| 123|
+---+-+ RSTUV| 456|
|abcde| WXYZ0| 789|
|     |      |    |
+-----+------+----+
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:545"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1113
#AT_START_1114
at_fn_group_banner 1114 'render.at:571' \
  "nested 8x8" "                                     " 138
at_xfail=no
(
  $as_echo "1114. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >input <<'_ATEOF'
8 8
@a
@b
@c
@d
@e
@f
@g
@h
@i
1*2 @jkl
@m
1*2 @nop
2*1 @q\nr\ns
@t
@u
@v
1*2 @wxy
@z
2*1 @A\nB\nC
@D
@E
2*1 @F\nG\nH
@I
1*2 @JKL
2*1 @M\nN\nO
@P
@Q
2*1 @R\nS\nT
1*2 @UVW
@X
@Y
@Z
2*1 @0\n1\n2
@3
1*2 @456
@7
@8
@9
1*2 @abc
@d
1*2 @efg
@h
@i
@j
@k
@l
@m
@n
@o
@p
1 1
@{0}
_ATEOF

{ set +x
$as_echo "$at_srcdir/render.at:577: render-test input"
at_fn_check_prepare_trace "render.at:577"
( $at_check_trace; render-test input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "+-----------------+
|+-+-+-+-+-+-+-+-+|
||a|b|c|d|e|f|g|h||
|+-+-+-+-+-+-+-+-+|
||i|jkl|m|nop|q|t||
|+-+-+-+-+-+-+r+-+|
||u|v|wxy|z|A|s|D||
|+-+-+-+-+-+B+-+-+|
||E|F|I|JKL|C|M|P||
|+-+G+-+---+-+N+-+|
||Q|H|R|UVW|X|O|Y||
|+-+-+S+-+-+-+-+-+|
||Z|0|T|3|456|7|8||
|+-+1+-+-+-+-+-+-+|
||9|2|abc|d|efg|h||
|+-+-+-+-+-+-+-+-+|
||i|j|k|l|m|n|o|p||
|+-+-+-+-+-+-+-+-+|
+-----------------+
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:577"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1114
#AT_START_1115
at_fn_group_banner 1115 'render.at:600' \
  "nested 8x8s and 6x6s" "                           " 138
at_xfail=no
(
  $as_echo "1115. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >input <<'_ATEOF'
8 8
@a
@b
@c
@d
@e
@f
@g
@h
@i
1*2 @jkl
@m
1*2 @nop
2*1 @q\nr\ns
@t
@u
@v
1*2 @wxy
@z
2*1 @A\nB\nC
@D
@E
2*1 @F\nG\nH
@I
1*2 @JKL
2*1 @M\nN\nO
@P
@Q
2*1 @R\nS\nT
1*2 @UVW
@X
@Y
@Z
2*1 @0\n1\n2
@3
1*2 @456
@7
@8
@9
1*2 @abc
@d
1*2 @efg
@h
@i
@j
@k
@l
@m
@n
@o
@p
6 6
@a
1*2 @bcd
@e
2*1 @f\ng\nh
@i
2*1 @j\nk\nl
@m
1*2 @nop
2*1 @q\nr\ns
2*1 @t\nu\nv
@w
1*2 @xyz
@A
2*1 @B\nC\nD
@E
1*2 @FGH
1*2 @IJK
2*1 @L\nM\nN
@O
@P
@Q
1*2 @RST
@U
@V
4 2
@{0}
@{1}
@{1}
@|{1}
@|{1}
@({1}
@({1}
@{0}
_ATEOF

{ set +x
$as_echo "$at_srcdir/render.at:613: render-test input"
at_fn_check_prepare_trace "render.at:613"
( $at_check_trace; render-test input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "+-----------------+-----------------+
|+-+-+-+-+-+-+-+-+|    +-+---+-+-+-+|
||a|b|c|d|e|f|g|h||    |a|bcd|e|f|i||
|+-+-+-+-+-+-+-+-+|    +-+-+-+-+g+-+|
||i|jkl|m|nop|q|t||    |j|m|nop|h|q||
|+-+-+-+-+-+-+r+-+|    |k+-+-+-+-+r||
||u|v|wxy|z|A|s|D||    |l|t|w|xyz|s||
|+-+-+-+-+-+B+-+-+|    +-+u+-+-+-+-+|
||E|F|I|JKL|C|M|P||    |A|v|B|E|FGH||
|+-+G+-+---+-+N+-+|    +-+-+C+-+-+-+|
||Q|H|R|UVW|X|O|Y||    |IJK|D|L|O|P||
|+-+-+S+-+-+-+-+-+|    +-+-+-+M+-+-+|
||Z|0|T|3|456|7|8||    |Q|RST|N|U|V||
|+-+1+-+-+-+-+-+-+|    +-+---+-+-+-+|
||9|2|abc|d|efg|h||                 |
|+-+-+-+-+-+-+-+-+|                 |
||i|j|k|l|m|n|o|p||                 |
|+-+-+-+-+-+-+-+-+|                 |
+-----------------+-----------------+
|    +-+---+-+-+-+|  +-+---+-+-+-+  |
|    |a|bcd|e|f|i||  |a|bcd|e|f|i|  |
|    +-+-+-+-+g+-+|  +-+-+-+-+g+-+  |
|    |j|m|nop|h|q||  |j|m|nop|h|q|  |
|    |k+-+-+-+-+r||  |k+-+-+-+-+r|  |
|    |l|t|w|xyz|s||  |l|t|w|xyz|s|  |
|    +-+u+-+-+-+-+|  +-+u+-+-+-+-+  |
|    |A|v|B|E|FGH||  |A|v|B|E|FGH|  |
|    +-+-+C+-+-+-+|  +-+-+C+-+-+-+  |
|    |IJK|D|L|O|P||  |IJK|D|L|O|P|  |
|    +-+-+-+M+-+-+|  +-+-+-+M+-+-+  |
|    |Q|RST|N|U|V||  |Q|RST|N|U|V|  |
|    +-+---+-+-+-+|  +-+---+-+-+-+  |
+-----------------+-----------------+
|  +-+---+-+-+-+  |+-+---+-+-+-+    |
|  |a|bcd|e|f|i|  ||a|bcd|e|f|i|    |
|  +-+-+-+-+g+-+  |+-+-+-+-+g+-+    |
|  |j|m|nop|h|q|  ||j|m|nop|h|q|    |
|  |k+-+-+-+-+r|  ||k+-+-+-+-+r|    |
|  |l|t|w|xyz|s|  ||l|t|w|xyz|s|    |
|  +-+u+-+-+-+-+  |+-+u+-+-+-+-+    |
|  |A|v|B|E|FGH|  ||A|v|B|E|FGH|    |
|  +-+-+C+-+-+-+  |+-+-+C+-+-+-+    |
|  |IJK|D|L|O|P|  ||IJK|D|L|O|P|    |
|  +-+-+-+M+-+-+  |+-+-+-+M+-+-+    |
|  |Q|RST|N|U|V|  ||Q|RST|N|U|V|    |
|  +-+---+-+-+-+  |+-+---+-+-+-+    |
+-----------------+-----------------+
|+-+---+-+-+-+    |+-+-+-+-+-+-+-+-+|
||a|bcd|e|f|i|    ||a|b|c|d|e|f|g|h||
|+-+-+-+-+g+-+    |+-+-+-+-+-+-+-+-+|
||j|m|nop|h|q|    ||i|jkl|m|nop|q|t||
||k+-+-+-+-+r|    |+-+-+-+-+-+-+r+-+|
||l|t|w|xyz|s|    ||u|v|wxy|z|A|s|D||
|+-+u+-+-+-+-+    |+-+-+-+-+-+B+-+-+|
||A|v|B|E|FGH|    ||E|F|I|JKL|C|M|P||
|+-+-+C+-+-+-+    |+-+G+-+---+-+N+-+|
||IJK|D|L|O|P|    ||Q|H|R|UVW|X|O|Y||
|+-+-+-+M+-+-+    |+-+-+S+-+-+-+-+-+|
||Q|RST|N|U|V|    ||Z|0|T|3|456|7|8||
|+-+---+-+-+-+    |+-+1+-+-+-+-+-+-+|
|                 ||9|2|abc|d|efg|h||
|                 |+-+-+-+-+-+-+-+-+|
|                 ||i|j|k|l|m|n|o|p||
|                 |+-+-+-+-+-+-+-+-+|
+-----------------+-----------------+
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:613"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1115
#AT_START_1116
at_fn_group_banner 1116 'render.at:682' \
  "doubly nested cells" "                            " 138
at_xfail=no
(
  $as_echo "1116. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >input <<'_ATEOF'
8 8
@a
@b
@c
@d
@e
@f
@g
@h
@i
1*2 @jkl
@m
1*2 @nop
2*1 @q\nr\ns
@t
@u
@v
1*2 @wxy
@z
2*1 @A\nB\nC
@D
@E
2*1 @F\nG\nH
@I
1*2 @JKL
2*1 @M\nN\nO
@P
@Q
2*1 @R\nS\nT
1*2 @UVW
@X
@Y
@Z
2*1 @0\n1\n2
@3
1*2 @456
@7
@8
@9
1*2 @abc
@d
1*2 @efg
@h
@i
@j
@k
@l
@m
@n
@o
@p
6 6
@a
1*2 @bcd
@e
2*1 @f\ng\nh
@i
2*1 @j\nk\nl
@m
1*2 @nop
2*1 @q\nr\ns
2*1 @t\nu\nv
@w
1*2 @xyz
@A
2*1 @B\nC\nD
@E
1*2 @FGH
1*2 @IJK
2*1 @L\nM\nN
@O
@P
@Q
1*2 @RST
@U
@V
4 2
@{0}
@{1}
@{1}
@|{1}
@|{1}
@({1}
@({1}
@{0}
1 1
@{2}
_ATEOF

{ set +x
$as_echo "$at_srcdir/render.at:697: render-test input --length=70"
at_fn_check_prepare_trace "render.at:697"
( $at_check_trace; render-test input --length=70
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "+-------------------------------------+
|+-----------------+-----------------+|
||+-+-+-+-+-+-+-+-+|    +-+---+-+-+-+||
|||a|b|c|d|e|f|g|h||    |a|bcd|e|f|i|||
||+-+-+-+-+-+-+-+-+|    +-+-+-+-+g+-+||
|||i|jkl|m|nop|q|t||    |j|m|nop|h|q|||
||+-+-+-+-+-+-+r+-+|    |k+-+-+-+-+r|||
|||u|v|wxy|z|A|s|D||    |l|t|w|xyz|s|||
||+-+-+-+-+-+B+-+-+|    +-+u+-+-+-+-+||
|||E|F|I|JKL|C|M|P||    |A|v|B|E|FGH|||
||+-+G+-+---+-+N+-+|    +-+-+C+-+-+-+||
|||Q|H|R|UVW|X|O|Y||    |IJK|D|L|O|P|||
||+-+-+S+-+-+-+-+-+|    +-+-+-+M+-+-+||
|||Z|0|T|3|456|7|8||    |Q|RST|N|U|V|||
||+-+1+-+-+-+-+-+-+|    +-+---+-+-+-+||
|||9|2|abc|d|efg|h||                 ||
||+-+-+-+-+-+-+-+-+|                 ||
|||i|j|k|l|m|n|o|p||                 ||
||+-+-+-+-+-+-+-+-+|                 ||
|+-----------------+-----------------+|
||    +-+---+-+-+-+|  +-+---+-+-+-+  ||
||    |a|bcd|e|f|i||  |a|bcd|e|f|i|  ||
||    +-+-+-+-+g+-+|  +-+-+-+-+g+-+  ||
||    |j|m|nop|h|q||  |j|m|nop|h|q|  ||
||    |k+-+-+-+-+r||  |k+-+-+-+-+r|  ||
||    |l|t|w|xyz|s||  |l|t|w|xyz|s|  ||
||    +-+u+-+-+-+-+|  +-+u+-+-+-+-+  ||
||    |A|v|B|E|FGH||  |A|v|B|E|FGH|  ||
||    +-+-+C+-+-+-+|  +-+-+C+-+-+-+  ||
||    |IJK|D|L|O|P||  |IJK|D|L|O|P|  ||
||    +-+-+-+M+-+-+|  +-+-+-+M+-+-+  ||
||    |Q|RST|N|U|V||  |Q|RST|N|U|V|  ||
||    +-+---+-+-+-+|  +-+---+-+-+-+  ||
|+-----------------+-----------------+|
||  +-+---+-+-+-+  |+-+---+-+-+-+    ||
||  |a|bcd|e|f|i|  ||a|bcd|e|f|i|    ||
||  +-+-+-+-+g+-+  |+-+-+-+-+g+-+    ||
||  |j|m|nop|h|q|  ||j|m|nop|h|q|    ||
||  |k+-+-+-+-+r|  ||k+-+-+-+-+r|    ||
||  |l|t|w|xyz|s|  ||l|t|w|xyz|s|    ||
||  +-+u+-+-+-+-+  |+-+u+-+-+-+-+    ||
||  |A|v|B|E|FGH|  ||A|v|B|E|FGH|    ||
||  +-+-+C+-+-+-+  |+-+-+C+-+-+-+    ||
||  |IJK|D|L|O|P|  ||IJK|D|L|O|P|    ||
||  +-+-+-+M+-+-+  |+-+-+-+M+-+-+    ||
||  |Q|RST|N|U|V|  ||Q|RST|N|U|V|    ||
||  +-+---+-+-+-+  |+-+---+-+-+-+    ||
|+-----------------+-----------------+|
||+-+---+-+-+-+    |+-+-+-+-+-+-+-+-+||
|||a|bcd|e|f|i|    ||a|b|c|d|e|f|g|h|||
||+-+-+-+-+g+-+    |+-+-+-+-+-+-+-+-+||
|||j|m|nop|h|q|    ||i|jkl|m|nop|q|t|||
|||k+-+-+-+-+r|    |+-+-+-+-+-+-+r+-+||
|||l|t|w|xyz|s|    ||u|v|wxy|z|A|s|D|||
||+-+u+-+-+-+-+    |+-+-+-+-+-+B+-+-+||
|||A|v|B|E|FGH|    ||E|F|I|JKL|C|M|P|||
||+-+-+C+-+-+-+    |+-+G+-+---+-+N+-+||
|||IJK|D|L|O|P|    ||Q|H|R|UVW|X|O|Y|||
||+-+-+-+M+-+-+    |+-+-+S+-+-+-+-+-+||
|||Q|RST|N|U|V|    ||Z|0|T|3|456|7|8|||
||+-+---+-+-+-+    |+-+1+-+-+-+-+-+-+||
||                 ||9|2|abc|d|efg|h|||
||                 |+-+-+-+-+-+-+-+-+||
||                 ||i|j|k|l|m|n|o|p|||
||                 |+-+-+-+-+-+-+-+-+||
|+-----------------+-----------------+|
+-------------------------------------+
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:697"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1116
#AT_START_1117
at_fn_group_banner 1117 'render.at:770' \
  "breaking row of many small cells" "               " 139
at_xfail=no
(
  $as_echo "1117. $at_setup_line: testing $at_desc ..."
  $at_traceon



cat >input <<'_ATEOF'
1 50
@1
@2
@3
@4
@5
@6
@7
@8
@9
@10
@11
@12
@13
@14
@15
@16
@17
@18
@19
@20
@21
@22
@23
@24
@25
@26
@27
@28
@29
@30
@31
@32
@33
@34
@35
@36
@37
@38
@39
@40
@41
@42
@43
@44
@45
@46
@47
@48
@49
@50
_ATEOF

{ set +x
$as_echo "$at_srcdir/render.at:776: render-test input"
at_fn_check_prepare_trace "render.at:776"
( $at_check_trace; render-test input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "+-+-+-+-+-+-+-+-+-+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17|18|19|20|21|22|23|24|25|26|27|28|29|
+-+-+-+-+-+-+-+-+-+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+

+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
|30|31|32|33|34|35|36|37|38|39|40|41|42|43|44|45|46|47|48|49|50|
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:776"
$at_failed && at_fn_log_failure  \
"input"
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/render.at:785: render-test input -o mb0 --min-break=0"
at_fn_check_prepare_trace "render.at:785"
( $at_check_trace; render-test input -o mb0 --min-break=0
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "+-+-+-+-+-+-+-+-+-+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17|18|19|20|21|22|23|24|25|26|27|28|29|
+-+-+-+-+-+-+-+-+-+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+

+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
|30|31|32|33|34|35|36|37|38|39|40|41|42|43|44|45|46|47|48|49|50|
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:785"
$at_failed && at_fn_log_failure  \
"input"
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1117
#AT_START_1118
at_fn_group_banner 1118 'render.at:796' \
  "breaking row of many small cells, with headers" " " 139
at_xfail=no
(
  $as_echo "1118. $at_setup_line: testing $at_desc ..."
  $at_traceon



cat >input <<'_ATEOF'
1 54 2 2
@ha
@hb
@1
@2
@3
@4
@5
@6
@7
@8
@9
@10
@11
@12
@13
@14
@15
@16
@17
@18
@19
@20
@21
@22
@23
@24
@25
@26
@27
@28
@29
@30
@31
@32
@33
@34
@35
@36
@37
@38
@39
@40
@41
@42
@43
@44
@45
@46
@47
@48
@49
@50
@hc
@hd
_ATEOF

{ set +x
$as_echo "$at_srcdir/render.at:807: render-test input"
at_fn_check_prepare_trace "render.at:807"
( $at_check_trace; render-test input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "+--+--+-+-+-+-+-+-+-+-+-+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
|ha|hb|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17|18|19|20|21|22|23|24|25|hc|hd|
+--+--+-+-+-+-+-+-+-+-+-+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+

+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
|ha|hb|26|27|28|29|30|31|32|33|34|35|36|37|38|39|40|41|42|43|44|45|46|47|hc|hd|
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+

+--+--+--+--+--+--+--+
|ha|hb|48|49|50|hc|hd|
+--+--+--+--+--+--+--+
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:807"
$at_failed && at_fn_log_failure  \
"input"
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/render.at:820: render-test -o mb0 --min-break=0 input"
at_fn_check_prepare_trace "render.at:820"
( $at_check_trace; render-test -o mb0 --min-break=0 input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "+--+--+-+-+-+-+-+-+-+-+-+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
|ha|hb|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17|18|19|20|21|22|23|24|25|hc|hd|
+--+--+-+-+-+-+-+-+-+-+-+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+

+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
|ha|hb|26|27|28|29|30|31|32|33|34|35|36|37|38|39|40|41|42|43|44|45|46|47|hc|hd|
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+

+--+--+--+--+--+--+--+
|ha|hb|48|49|50|hc|hd|
+--+--+--+--+--+--+--+
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:820"
$at_failed && at_fn_log_failure  \
"input"
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1118
#AT_START_1119
at_fn_group_banner 1119 'render.at:835' \
  "breaking row of many medium-size cells" "         " 139
at_xfail=no
(
  $as_echo "1119. $at_setup_line: testing $at_desc ..."
  $at_traceon



cat >input <<'_ATEOF'
1 50
@cell 1
@cell 2
@cell 3
@cell 4
@cell 5
@cell 6
@cell 7
@cell 8
@cell 9
@cell 10
@cell 11
@cell 12
@cell 13
@cell 14
@cell 15
@cell 16
@cell 17
@cell 18
@cell 19
@cell 20
@cell 21
@cell 22
@cell 23
@cell 24
@cell 25
@cell 26
@cell 27
@cell 28
@cell 29
@cell 30
@cell 31
@cell 32
@cell 33
@cell 34
@cell 35
@cell 36
@cell 37
@cell 38
@cell 39
@cell 40
@cell 41
@cell 42
@cell 43
@cell 44
@cell 45
@cell 46
@cell 47
@cell 48
@cell 49
@cell 50
_ATEOF

{ set +x
$as_echo "$at_srcdir/render.at:841: render-test input"
at_fn_check_prepare_trace "render.at:841"
( $at_check_trace; render-test input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "+----+----+----+----+----+----+----+----+----+----+----+----+----+----+----+
|cell|cell|cell|cell|cell|cell|cell|cell|cell|cell|cell|cell|cell|cell|cell|
|   1|   2|   3|   4|   5|   6|   7|   8|   9|  10|  11|  12|  13|  14|  15|
+----+----+----+----+----+----+----+----+----+----+----+----+----+----+----+

+----+----+----+----+----+----+----+----+----+----+----+----+----+----+----+
|cell|cell|cell|cell|cell|cell|cell|cell|cell|cell|cell|cell|cell|cell|cell|
|  16|  17|  18|  19|  20|  21|  22|  23|  24|  25|  26|  27|  28|  29|  30|
+----+----+----+----+----+----+----+----+----+----+----+----+----+----+----+

+----+----+----+----+----+----+----+----+----+----+----+----+----+----+----+
|cell|cell|cell|cell|cell|cell|cell|cell|cell|cell|cell|cell|cell|cell|cell|
|  31|  32|  33|  34|  35|  36|  37|  38|  39|  40|  41|  42|  43|  44|  45|
+----+----+----+----+----+----+----+----+----+----+----+----+----+----+----+

+----+----+----+----+----+
|cell|cell|cell|cell|cell|
|  46|  47|  48|  49|  50|
+----+----+----+----+----+
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:841"
$at_failed && at_fn_log_failure  \
"input"
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/render.at:862: render-test -o mb0 --min-break=0 input"
at_fn_check_prepare_trace "render.at:862"
( $at_check_trace; render-test -o mb0 --min-break=0 input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "+----+----+----+----+----+----+----+----+----+----+----+----+----+----+----+---
|cell|cell|cell|cell|cell|cell|cell|cell|cell|cell|cell|cell|cell|cell|cell|cel
|   1|   2|   3|   4|   5|   6|   7|   8|   9|  10|  11|  12|  13|  14|  15|  1
+----+----+----+----+----+----+----+----+----+----+----+----+----+----+----+---

-+----+----+----+----+----+----+----+----+----+----+----+----+----+----+----+--
l|cell|cell|cell|cell|cell|cell|cell|cell|cell|cell|cell|cell|cell|cell|cell|ce
6|  17|  18|  19|  20|  21|  22|  23|  24|  25|  26|  27|  28|  29|  30|  31|
-+----+----+----+----+----+----+----+----+----+----+----+----+----+----+----+--

--+----+----+----+----+----+----+----+----+----+----+----+----+----+----+----+-
ll|cell|cell|cell|cell|cell|cell|cell|cell|cell|cell|cell|cell|cell|cell|cell|c
32|  33|  34|  35|  36|  37|  38|  39|  40|  41|  42|  43|  44|  45|  46|  47|
--+----+----+----+----+----+----+----+----+----+----+----+----+----+----+----+-

---+----+----+
ell|cell|cell|
 48|  49|  50|
---+----+----+
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:862"
$at_failed && at_fn_log_failure  \
"input"
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1119
#AT_START_1120
at_fn_group_banner 1120 'render.at:885' \
  "breaking row of many medium-size cells, with headers" "" 139
at_xfail=no
(
  $as_echo "1120. $at_setup_line: testing $at_desc ..."
  $at_traceon



cat >input <<'_ATEOF'
1 52 1 1
header1
@cell 1
@cell 2
@cell 3
@cell 4
@cell 5
@cell 6
@cell 7
@cell 8
@cell 9
@cell 10
@cell 11
@cell 12
@cell 13
@cell 14
@cell 15
@cell 16
@cell 17
@cell 18
@cell 19
@cell 20
@cell 21
@cell 22
@cell 23
@cell 24
@cell 25
@cell 26
@cell 27
@cell 28
@cell 29
@cell 30
@cell 31
@cell 32
@cell 33
@cell 34
@cell 35
@cell 36
@cell 37
@cell 38
@cell 39
@cell 40
@cell 41
@cell 42
@cell 43
@cell 44
@cell 45
@cell 46
@cell 47
@cell 48
@cell 49
@cell 50
header2
_ATEOF

{ set +x
$as_echo "$at_srcdir/render.at:894: render-test input"
at_fn_check_prepare_trace "render.at:894"
( $at_check_trace; render-test input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "       +----+----+----+----+----+----+----+----+----+----+----+----+
header1|cell|cell|cell|cell|cell|cell|cell|cell|cell|cell|cell|cell|header2
       |   1|   2|   3|   4|   5|   6|   7|   8|   9|  10|  11|  12|
       +----+----+----+----+----+----+----+----+----+----+----+----+

       +----+----+----+----+----+----+----+----+----+----+----+----+
header1|cell|cell|cell|cell|cell|cell|cell|cell|cell|cell|cell|cell|header2
       |  13|  14|  15|  16|  17|  18|  19|  20|  21|  22|  23|  24|
       +----+----+----+----+----+----+----+----+----+----+----+----+

       +----+----+----+----+----+----+----+----+----+----+----+----+
header1|cell|cell|cell|cell|cell|cell|cell|cell|cell|cell|cell|cell|header2
       |  25|  26|  27|  28|  29|  30|  31|  32|  33|  34|  35|  36|
       +----+----+----+----+----+----+----+----+----+----+----+----+

       +----+----+----+----+----+----+----+----+----+----+----+----+
header1|cell|cell|cell|cell|cell|cell|cell|cell|cell|cell|cell|cell|header2
       |  37|  38|  39|  40|  41|  42|  43|  44|  45|  46|  47|  48|
       +----+----+----+----+----+----+----+----+----+----+----+----+

       +----+----+
header1|cell|cell|header2
       |  49|  50|
       +----+----+
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:894"
$at_failed && at_fn_log_failure  \
"input"
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/render.at:920: render-test -o mb0 --min-break=0 input"
at_fn_check_prepare_trace "render.at:920"
( $at_check_trace; render-test -o mb0 --min-break=0 input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "       +----+----+----+----+----+----+----+----+----+----+----+----+--+
header1|cell|cell|cell|cell|cell|cell|cell|cell|cell|cell|cell|cell|ce|header2
       |   1|   2|   3|   4|   5|   6|   7|   8|   9|  10|  11|  12|  |
       +----+----+----+----+----+----+----+----+----+----+----+----+--+

       +--+----+----+----+----+----+----+----+----+----+----+----+----+
header1|ll|cell|cell|cell|cell|cell|cell|cell|cell|cell|cell|cell|cell|header2
       |13|  14|  15|  16|  17|  18|  19|  20|  21|  22|  23|  24|  25|
       +--+----+----+----+----+----+----+----+----+----+----+----+----+

       +----+----+----+----+----+----+----+----+----+----+----+----+--+
header1|cell|cell|cell|cell|cell|cell|cell|cell|cell|cell|cell|cell|ce|header2
       |  26|  27|  28|  29|  30|  31|  32|  33|  34|  35|  36|  37|  |
       +----+----+----+----+----+----+----+----+----+----+----+----+--+

       +--+----+----+----+----+----+----+----+----+----+----+----+----+
header1|ll|cell|cell|cell|cell|cell|cell|cell|cell|cell|cell|cell|cell|header2
       |38|  39|  40|  41|  42|  43|  44|  45|  46|  47|  48|  49|  50|
       +--+----+----+----+----+----+----+----+----+----+----+----+----+
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:920"
$at_failed && at_fn_log_failure  \
"input"
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1120
#AT_START_1121
at_fn_group_banner 1121 'render.at:943' \
  "breaking row of many big narrow cells" "          " 139
at_xfail=no
(
  $as_echo "1121. $at_setup_line: testing $at_desc ..."
  $at_traceon



cat >input <<'_ATEOF'
1 50
@This is cell 1 in a series of 50.
@This is cell 2 in a series of 50.
@This is cell 3 in a series of 50.
@This is cell 4 in a series of 50.
@This is cell 5 in a series of 50.
@This is cell 6 in a series of 50.
@This is cell 7 in a series of 50.
@This is cell 8 in a series of 50.
@This is cell 9 in a series of 50.
@This is cell 10 in a series of 50.
@This is cell 11 in a series of 50.
@This is cell 12 in a series of 50.
@This is cell 13 in a series of 50.
@This is cell 14 in a series of 50.
@This is cell 15 in a series of 50.
@This is cell 16 in a series of 50.
@This is cell 17 in a series of 50.
@This is cell 18 in a series of 50.
@This is cell 19 in a series of 50.
@This is cell 20 in a series of 50.
@This is cell 21 in a series of 50.
@This is cell 22 in a series of 50.
@This is cell 23 in a series of 50.
@This is cell 24 in a series of 50.
@This is cell 25 in a series of 50.
@This is cell 26 in a series of 50.
@This is cell 27 in a series of 50.
@This is cell 28 in a series of 50.
@This is cell 29 in a series of 50.
@This is cell 30 in a series of 50.
@This is cell 31 in a series of 50.
@This is cell 32 in a series of 50.
@This is cell 33 in a series of 50.
@This is cell 34 in a series of 50.
@This is cell 35 in a series of 50.
@This is cell 36 in a series of 50.
@This is cell 37 in a series of 50.
@This is cell 38 in a series of 50.
@This is cell 39 in a series of 50.
@This is cell 40 in a series of 50.
@This is cell 41 in a series of 50.
@This is cell 42 in a series of 50.
@This is cell 43 in a series of 50.
@This is cell 44 in a series of 50.
@This is cell 45 in a series of 50.
@This is cell 46 in a series of 50.
@This is cell 47 in a series of 50.
@This is cell 48 in a series of 50.
@This is cell 49 in a series of 50.
@This is cell 50 in a series of 50.
_ATEOF

{ set +x
$as_echo "$at_srcdir/render.at:949: render-test input"
at_fn_check_prepare_trace "render.at:949"
( $at_check_trace; render-test input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "+------+------+------+------+------+------+------+------+------+------+------+
|  This|  This|  This|  This|  This|  This|  This|  This|  This|  This|  This|
|    is|    is|    is|    is|    is|    is|    is|    is|    is|    is|    is|
|cell 1|cell 2|cell 3|cell 4|cell 5|cell 6|cell 7|cell 8|cell 9|  cell|  cell|
|  in a|  in a|  in a|  in a|  in a|  in a|  in a|  in a|  in a| 10 in| 11 in|
|series|series|series|series|series|series|series|series|series|     a|     a|
|of 50.|of 50.|of 50.|of 50.|of 50.|of 50.|of 50.|of 50.|of 50.|series|series|
|      |      |      |      |      |      |      |      |      |of 50.|of 50.|
+------+------+------+------+------+------+------+------+------+------+------+

+------+------+------+------+------+------+------+------+------+------+------+
|  This|  This|  This|  This|  This|  This|  This|  This|  This|  This|  This|
|    is|    is|    is|    is|    is|    is|    is|    is|    is|    is|    is|
|  cell|  cell|  cell|  cell|  cell|  cell|  cell|  cell|  cell|  cell|  cell|
| 12 in| 13 in| 14 in| 15 in| 16 in| 17 in| 18 in| 19 in| 20 in| 21 in| 22 in|
|     a|     a|     a|     a|     a|     a|     a|     a|     a|     a|     a|
|series|series|series|series|series|series|series|series|series|series|series|
|of 50.|of 50.|of 50.|of 50.|of 50.|of 50.|of 50.|of 50.|of 50.|of 50.|of 50.|
+------+------+------+------+------+------+------+------+------+------+------+

+------+------+------+------+------+------+------+------+------+------+------+
|  This|  This|  This|  This|  This|  This|  This|  This|  This|  This|  This|
|    is|    is|    is|    is|    is|    is|    is|    is|    is|    is|    is|
|  cell|  cell|  cell|  cell|  cell|  cell|  cell|  cell|  cell|  cell|  cell|
| 23 in| 24 in| 25 in| 26 in| 27 in| 28 in| 29 in| 30 in| 31 in| 32 in| 33 in|
|     a|     a|     a|     a|     a|     a|     a|     a|     a|     a|     a|
|series|series|series|series|series|series|series|series|series|series|series|
|of 50.|of 50.|of 50.|of 50.|of 50.|of 50.|of 50.|of 50.|of 50.|of 50.|of 50.|
+------+------+------+------+------+------+------+------+------+------+------+

+------+------+------+------+------+------+------+------+------+------+------+
|  This|  This|  This|  This|  This|  This|  This|  This|  This|  This|  This|
|    is|    is|    is|    is|    is|    is|    is|    is|    is|    is|    is|
|  cell|  cell|  cell|  cell|  cell|  cell|  cell|  cell|  cell|  cell|  cell|
| 34 in| 35 in| 36 in| 37 in| 38 in| 39 in| 40 in| 41 in| 42 in| 43 in| 44 in|
|     a|     a|     a|     a|     a|     a|     a|     a|     a|     a|     a|
|series|series|series|series|series|series|series|series|series|series|series|
|of 50.|of 50.|of 50.|of 50.|of 50.|of 50.|of 50.|of 50.|of 50.|of 50.|of 50.|
+------+------+------+------+------+------+------+------+------+------+------+

+------+------+------+------+------+------+
|  This|  This|  This|  This|  This|  This|
|    is|    is|    is|    is|    is|    is|
|  cell|  cell|  cell|  cell|  cell|  cell|
| 45 in| 46 in| 47 in| 48 in| 49 in| 50 in|
|     a|     a|     a|     a|     a|     a|
|series|series|series|series|series|series|
|of 50.|of 50.|of 50.|of 50.|of 50.|of 50.|
+------+------+------+------+------+------+
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:949"
$at_failed && at_fn_log_failure  \
"input"
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/render.at:1000: render-test -o mb0 --min-break=0 input"
at_fn_check_prepare_trace "render.at:1000"
( $at_check_trace; render-test -o mb0 --min-break=0 input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "+------+------+------+------+------+------+------+------+------+------+------+-
|  This|  This|  This|  This|  This|  This|  This|  This|  This|  This|  This|
|    is|    is|    is|    is|    is|    is|    is|    is|    is|    is|    is|
|cell 1|cell 2|cell 3|cell 4|cell 5|cell 6|cell 7|cell 8|cell 9|  cell|  cell|
|  in a|  in a|  in a|  in a|  in a|  in a|  in a|  in a|  in a| 10 in| 11 in|
|series|series|series|series|series|series|series|series|series|     a|     a|
|of 50.|of 50.|of 50.|of 50.|of 50.|of 50.|of 50.|of 50.|of 50.|series|series|s
|      |      |      |      |      |      |      |      |      |of 50.|of 50.|o
+------+------+------+------+------+------+------+------+------+------+------+-

-----+------+------+------+------+------+------+------+------+------+------+---
 This|  This|  This|  This|  This|  This|  This|  This|  This|  This|  This|  T
   is|    is|    is|    is|    is|    is|    is|    is|    is|    is|    is|
 cell|  cell|  cell|  cell|  cell|  cell|  cell|  cell|  cell|  cell|  cell|  c
12 in| 13 in| 14 in| 15 in| 16 in| 17 in| 18 in| 19 in| 20 in| 21 in| 22 in| 23
    a|     a|     a|     a|     a|     a|     a|     a|     a|     a|     a|
eries|series|series|series|series|series|series|series|series|series|series|ser
f 50.|of 50.|of 50.|of 50.|of 50.|of 50.|of 50.|of 50.|of 50.|of 50.|of 50.|of
-----+------+------+------+------+------+------+------+------+------+------+---

---+------+------+------+------+------+------+------+------+------+------+-----
his|  This|  This|  This|  This|  This|  This|  This|  This|  This|  This|  Thi
 is|    is|    is|    is|    is|    is|    is|    is|    is|    is|    is|    i
ell|  cell|  cell|  cell|  cell|  cell|  cell|  cell|  cell|  cell|  cell|  cel
 in| 24 in| 25 in| 26 in| 27 in| 28 in| 29 in| 30 in| 31 in| 32 in| 33 in| 34 i
  a|     a|     a|     a|     a|     a|     a|     a|     a|     a|     a|
ies|series|series|series|series|series|series|series|series|series|series|serie
50.|of 50.|of 50.|of 50.|of 50.|of 50.|of 50.|of 50.|of 50.|of 50.|of 50.|of 50
---+------+------+------+------+------+------+------+------+------+------+-----

-+------+------+------+------+------+------+------+------+------+------+------+
s|  This|  This|  This|  This|  This|  This|  This|  This|  This|  This|  This|
s|    is|    is|    is|    is|    is|    is|    is|    is|    is|    is|    is|
l|  cell|  cell|  cell|  cell|  cell|  cell|  cell|  cell|  cell|  cell|  cell|
n| 35 in| 36 in| 37 in| 38 in| 39 in| 40 in| 41 in| 42 in| 43 in| 44 in| 45 in|
a|     a|     a|     a|     a|     a|     a|     a|     a|     a|     a|     a|
s|series|series|series|series|series|series|series|series|series|series|series|
.|of 50.|of 50.|of 50.|of 50.|of 50.|of 50.|of 50.|of 50.|of 50.|of 50.|of 50.|
-+------+------+------+------+------+------+------+------+------+------+------+

+------+------+------+------+------+
|  This|  This|  This|  This|  This|
|    is|    is|    is|    is|    is|
|  cell|  cell|  cell|  cell|  cell|
| 46 in| 47 in| 48 in| 49 in| 50 in|
|     a|     a|     a|     a|     a|
|series|series|series|series|series|
|of 50.|of 50.|of 50.|of 50.|of 50.|
+------+------+------+------+------+
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:1000"
$at_failed && at_fn_log_failure  \
"input"
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1121
#AT_START_1122
at_fn_group_banner 1122 'render.at:1053' \
  "breaking 2 rows of many small cells" "            " 139
at_xfail=no
(
  $as_echo "1122. $at_setup_line: testing $at_desc ..."
  $at_traceon



cat >input <<'_ATEOF'
2 50
@1
@2
@3
@4
@5
@6
@7
@8
@9
@10
@11
@12
@13
@14
@15
@16
@17
@18
@19
@20
@21
@22
@23
@24
@25
@26
@27
@28
@29
@30
@31
@32
@33
@34
@35
@36
@37
@38
@39
@40
@41
@42
@43
@44
@45
@46
@47
@48
@49
@50
@51
@52
@53
@54
@55
@56
@57
@58
@59
@60
@61
@62
@63
@64
@65
@66
@67
@68
@69
@70
@71
@72
@73
@74
@75
@76
@77
@78
@79
@80
@81
@82
@83
@84
@85
@86
@87
@88
@89
@90
@91
@92
@93
@94
@95
@96
@97
@98
@99
@100
_ATEOF

{ set +x
$as_echo "$at_srcdir/render.at:1059: render-test input"
at_fn_check_prepare_trace "render.at:1059"
( $at_check_trace; render-test input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
| 1| 2| 3| 4| 5| 6| 7| 8| 9|10|11|12|13|14|15|16|17|18|19|20|21|22|23|24|25|26|
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
|51|52|53|54|55|56|57|58|59|60|61|62|63|64|65|66|67|68|69|70|71|72|73|74|75|76|
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+

+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+---+
|27|28|29|30|31|32|33|34|35|36|37|38|39|40|41|42|43|44|45|46|47|48|49| 50|
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+---+
|77|78|79|80|81|82|83|84|85|86|87|88|89|90|91|92|93|94|95|96|97|98|99|100|
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+---+
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:1059"
$at_failed && at_fn_log_failure  \
"input"
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/render.at:1072: render-test -o mb0 --min-break=0 input"
at_fn_check_prepare_trace "render.at:1072"
( $at_check_trace; render-test -o mb0 --min-break=0 input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
| 1| 2| 3| 4| 5| 6| 7| 8| 9|10|11|12|13|14|15|16|17|18|19|20|21|22|23|24|25|26|
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
|51|52|53|54|55|56|57|58|59|60|61|62|63|64|65|66|67|68|69|70|71|72|73|74|75|76|
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+

+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+---+
|27|28|29|30|31|32|33|34|35|36|37|38|39|40|41|42|43|44|45|46|47|48|49| 50|
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+---+
|77|78|79|80|81|82|83|84|85|86|87|88|89|90|91|92|93|94|95|96|97|98|99|100|
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+---+
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:1072"
$at_failed && at_fn_log_failure  \
"input"
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1122
#AT_START_1123
at_fn_group_banner 1123 'render.at:1087' \
  "breaking 3 rows with many joined cells" "         " 139
at_xfail=no
(
  $as_echo "1123. $at_setup_line: testing $at_desc ..."
  $at_traceon



cat >input <<'_ATEOF'
3 49
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
@1
1*2 @2
1*2 @3
1*2 @4
1*2 @5
1*2 @6
1*2 @7
1*2 @8
1*2 @9
1*2 @10
1*2 @11
1*2 @12
1*2 @13
1*2 @14
1*2 @15
1*2 @16
1*2 @17
1*2 @18
1*2 @19
1*2 @20
1*2 @21
1*2 @22
1*2 @23
1*2 @24
1*2 @25
1*2 @26
1*2 @27
1*2 @28
1*2 @29
1*2 @30
1*2 @31
1*2 @32
1*2 @33
1*2 @34
1*2 @35
1*2 @36
1*2 @37
1*2 @38
1*2 @39
1*2 @40
1*2 @41
1*2 @42
1*2 @43
1*2 @44
1*2 @45
1*2 @46
1*2 @47
1*2 @48
1*2 @49
@50
_ATEOF

{ set +x
$as_echo "$at_srcdir/render.at:1097: render-test input"
at_fn_check_prepare_trace "render.at:1097"
( $at_check_trace; render-test input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo " a b c d e f g h i j k l m n o p q r s t u v w x y z A B C D E F G H I J K L M
+-+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|1|  2|  3|  4|  5|  6|  7|  8|  9| 10| 11| 12| 13| 14| 15| 16| 17| 18| 19| 20|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| 26| 27| 28| 29| 30| 31| 32| 33| 34| 35| 36| 37| 38| 39| 40| 41| 42| 43| 44| 4
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+--

 N O P Q R S T U V  W
+---+---+---+---+----+
| 21| 22| 23| 24|  25|
+-+-+-+-+-+-+-+-+-+--+
45| 46| 47| 48| 49|50|
--+---+---+---+---+--+
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:1097"
$at_failed && at_fn_log_failure  \
"input"
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/render.at:1112: render-test -o mb0 --min-break=0 input"
at_fn_check_prepare_trace "render.at:1112"
( $at_check_trace; render-test -o mb0 --min-break=0 input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo " a b c d e f g h i j k l m n o p q r s t u v w x y z A B C D E F G H I J K L M
+-+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|1|  2|  3|  4|  5|  6|  7|  8|  9| 10| 11| 12| 13| 14| 15| 16| 17| 18| 19| 20|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| 26| 27| 28| 29| 30| 31| 32| 33| 34| 35| 36| 37| 38| 39| 40| 41| 42| 43| 44| 4
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+--

 N O P Q R S T U V  W
+---+---+---+---+----+
| 21| 22| 23| 24|  25|
+-+-+-+-+-+-+-+-+-+--+
45| 46| 47| 48| 49|50|
--+---+---+---+---+--+
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:1112"
$at_failed && at_fn_log_failure  \
"input"
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1123
#AT_START_1124
at_fn_group_banner 1124 'render.at:1129' \
  "horz break 6x6, joined rows and columns" "        " 139
at_xfail=no
(
  $as_echo "1124. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >input <<'_ATEOF'
6 6
@a
1*2 @bcd
@e
2*1 @f\ng\nh
@i
2*1 @j\nk\nl
@m
1*2 @nop
2*1 @q\nr\ns
2*1 @t\nu\nv
@w
1*2 @xyz
@A
2*1 @B\nC\nD
@E
1*2 @FGH
1*2 @IJK
2*1 @L\nM\nN
@O
@P
@Q
1*2 @RST
@U
@V
_ATEOF

cat >expout <<'_ATEOF'
+-+--
|a|bc
+-+-+
|j|m|
|k+-+
|l|t|
+-+u|
|A|v|
+-+-+
|IJK|
+-+-+
|Q|RS
+-+--

--+-+
cd|e|
+-+-+
|nop|
+-+-+
|w|xy
+-+-+
|B|E|
|C+-+
|D|L|
+-+M|
ST|N|
--+-+

+-+-+
|f|i|
|g+-+
|h|q|
+-+r|
yz|s|
+-+-+
|FGH|
+-+-+
|O|P|
+-+-+
|U|V|
+-+-+
_ATEOF

{ set +x
$as_echo "$at_srcdir/render.at:1175: render-test --width=6 input"
at_fn_check_prepare_trace "render.at:1175"
( $at_check_trace; render-test --width=6 input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:1175"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/render.at:1176: render-test -o mb0 --min-break=0 --width=6 input"
at_fn_check_prepare_trace "render.at:1176"
( $at_check_trace; render-test -o mb0 --min-break=0 --width=6 input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:1176"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1124
#AT_START_1125
at_fn_group_banner 1125 'render.at:1179' \
  "horz break 6x6, joined rows and columns, left header" "" 139
at_xfail=no
(
  $as_echo "1125. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >input <<'_ATEOF'
6 6 1 0 0 0
@a
1*2 @bcd
@e
2*1 @f\ng\nh
@i
2*1 @j\nk\nl
@m
1*2 @nop
2*1 @q\nr\ns
2*1 @t\nu\nv
@w
1*2 @xyz
@A
2*1 @B\nC\nD
@E
1*2 @FGH
1*2 @IJK
2*1 @L\nM\nN
@O
@P
@Q
1*2 @RST
@U
@V
_ATEOF

cat >expout <<'_ATEOF'
+-+---+-+
|a|bcd|e|
+-+-+-+-+
|j|m|nop|
|k+-+-+-+
|l|t|w|xy
+-+u+-+-+
|A|v|B|E|
+-+-+C+-+
|IJK|D|L|
+-+-+-+M|
|Q|RST|N|
+-+---+-+

+-+-+-+
|a|f|i|
+-+g+-+
|j|h|q|
|k+-+r|
|l|z|s|
+-+-+-+
|A|FGH|
+-+-+-+
|K|O|P|
+-+-+-+
|Q|U|V|
+-+-+-+
_ATEOF

{ set +x
$as_echo "$at_srcdir/render.at:1211: render-test --width=10 input"
at_fn_check_prepare_trace "render.at:1211"
( $at_check_trace; render-test --width=10 input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:1211"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/render.at:1212: render-test -o mb0 --min-break=0 --width=10 input"
at_fn_check_prepare_trace "render.at:1212"
( $at_check_trace; render-test -o mb0 --min-break=0 --width=10 input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:1212"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1125
#AT_START_1126
at_fn_group_banner 1126 'render.at:1215' \
  "horz break 6x6, joined rows and columns, right header" "" 139
at_xfail=no
(
  $as_echo "1126. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >input <<'_ATEOF'
6 6 0 1 0 0
@a
1*2 @bcd
@e
2*1 @f\ng\nh
@i
2*1 @j\nk\nl
@m
1*2 @nop
2*1 @q\nr\ns
2*1 @t\nu\nv
@w
1*2 @xyz
@A
2*1 @B\nC\nD
@E
1*2 @FGH
1*2 @IJK
2*1 @L\nM\nN
@O
@P
@Q
1*2 @RST
@U
@V
_ATEOF

cat >expout <<'_ATEOF'
+-+---+-+
|a|bcd|i|
+-+-+-+-+
|j|m|n|q|
|k+-+-+r|
|l|t|w|s|
+-+u+-+-+
|A|v|B|H|
+-+-+C+-+
|IJK|D|P|
+-+-+-+-+
|Q|RST|V|
+-+---+-+

+-+-+-+
|e|f|i|
+-+g+-+
op|h|q|
+-+-+r|
|xyz|s|
+-+-+-+
|E|FGH|
+-+-+-+
|L|O|P|
|M+-+-+
|N|U|V|
+-+-+-+
_ATEOF

{ set +x
$as_echo "$at_srcdir/render.at:1247: render-test --width=10 input"
at_fn_check_prepare_trace "render.at:1247"
( $at_check_trace; render-test --width=10 input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:1247"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/render.at:1248: render-test -o mb0 --min-break=0 --width=10 input"
at_fn_check_prepare_trace "render.at:1248"
( $at_check_trace; render-test -o mb0 --min-break=0 --width=10 input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:1248"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1126
#AT_START_1127
at_fn_group_banner 1127 'render.at:1251' \
  "breaking joined cells too wide for page" "        " 139
at_xfail=no
(
  $as_echo "1127. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >input <<'_ATEOF'
4 6
1*6 @abc def ghi jkl
1*3 @mno pqr
1*3 @stu vwx
1*2 @yzA
1*2 @BCD
1*2 @EFG
@H
@I
@J
@K
@L
@M
_ATEOF

{ set +x
$as_echo "$at_srcdir/render.at:1267: render-test --width=10 input"
at_fn_check_prepare_trace "render.at:1267"
( $at_check_trace; render-test --width=10 input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "+--------
|abc def
|
+-----+--
|  mno|
|  pqr|
+---+-+-+
|yzA|BCD|
+-+-+-+-+
|H|I|J|K|
+-+-+-+-+

----+
 ghi|
 jkl|
----+
 stu|
 vwx|
+---+
|EFG|
+-+-+
|L|M|
+-+-+
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:1267"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/render.at:1292: render-test -o mb0 --min-break=0 --width=10 input"
at_fn_check_prepare_trace "render.at:1292"
( $at_check_trace; render-test -o mb0 --min-break=0 --width=10 input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "+--------
|abc def
|
+-----+--
|  mno|
|  pqr|
+---+-+-+
|yzA|BCD|
+-+-+-+-+
|H|I|J|K|
+-+-+-+-+

----+
 ghi|
 jkl|
----+
 stu|
 vwx|
+---+
|EFG|
+-+-+
|L|M|
+-+-+
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:1292"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1127
#AT_START_1128
at_fn_group_banner 1128 'render.at:1319' \
  "breaking joined cells much too wide for page" "   " 139
at_xfail=no
(
  $as_echo "1128. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >input <<'_ATEOF'
4 6
1*6 @abc def ghi jkl
1*3 @mno pqr
1*3 @stu vwx
1*2 @yzA
1*2 @BCD
1*2 @EFG
@H
@I
@J
@K
@L
@M
_ATEOF

{ set +x
$as_echo "$at_srcdir/render.at:1335: render-test --width=6 input"
at_fn_check_prepare_trace "render.at:1335"
( $at_check_trace; render-test --width=6 input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "+----
|abc
|
+----
|  mn
|  pq
+---+
|yzA|
+-+-+
|H|I|
+-+-+

-----
 def

--+--
no|
qr|
+-+-+
|BCD|
+-+-+
|J|K|
+-+-+

----+
 ghi|
 jkl|
----+
 stu|
 vwx|
+---+
|EFG|
+-+-+
|L|M|
+-+-+
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:1335"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/render.at:1372: render-test -o mb0 --min-break=0 --width=6 input"
at_fn_check_prepare_trace "render.at:1372"
( $at_check_trace; render-test -o mb0 --min-break=0 --width=6 input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "+----
|abc
|
+----
|  mn
|  pq
+---+
|yzA|
+-+-+
|H|I|
+-+-+

-----
 def

--+--
no|
qr|
+-+-+
|BCD|
+-+-+
|J|K|
+-+-+

----+
 ghi|
 jkl|
----+
 stu|
 vwx|
+---+
|EFG|
+-+-+
|L|M|
+-+-+
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:1372"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1128
#AT_START_1129
at_fn_group_banner 1129 'render.at:1411' \
  "breaking cell too wide for page, no border" "     " 139
at_xfail=no
(
  $as_echo "1129. $at_setup_line: testing $at_desc ..."
  $at_traceon



cat >input <<'_ATEOF'
1 1
abcdefghijklmnopqrstuvwxyz
_ATEOF

{ set +x
$as_echo "$at_srcdir/render.at:1417: render-test --width=6 input"
at_fn_check_prepare_trace "render.at:1417"
( $at_check_trace; render-test --width=6 input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "abcdef

ghijkl

mnopqr

stuvwx

yz
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:1417"
$at_failed && at_fn_log_failure  \
"input"
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/render.at:1428: render-test -o mb0 --min-break=0 --width=6 input"
at_fn_check_prepare_trace "render.at:1428"
( $at_check_trace; render-test -o mb0 --min-break=0 --width=6 input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "abcdef

ghijkl

mnopqr

stuvwx

yz
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:1428"
$at_failed && at_fn_log_failure  \
"input"
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1129
#AT_START_1130
at_fn_group_banner 1130 'render.at:1441' \
  "breaking cell too wide for page, with border" "   " 139
at_xfail=no
(
  $as_echo "1130. $at_setup_line: testing $at_desc ..."
  $at_traceon



cat >input <<'_ATEOF'
1 1
@abcdefghijklmnopqrstuvwxyz
_ATEOF

cat >expout <<'_ATEOF'
+-----
|abcde
+-----

------
fghijk
------

------
lmnopq
------

------
rstuvw
------

---+
xyz|
---+
_ATEOF

{ set +x
$as_echo "$at_srcdir/render.at:1468: render-test --width=6 input"
at_fn_check_prepare_trace "render.at:1468"
( $at_check_trace; render-test --width=6 input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:1468"
$at_failed && at_fn_log_failure  \
"input"
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/render.at:1469: render-test -o mb0 --min-break=0 --width=6 input"
at_fn_check_prepare_trace "render.at:1469"
( $at_check_trace; render-test -o mb0 --min-break=0 --width=6 input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:1469"
$at_failed && at_fn_log_failure  \
"input"
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1130
#AT_START_1131
at_fn_group_banner 1131 'render.at:1472' \
  "horz break 8x8 with many 2x2 joins" "             " 139
at_xfail=no
(
  $as_echo "1131. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >input <<'_ATEOF'
8 8
2*2 @abc\ndef\nghi
1*2 @jkl
2*2 @mno\npqr\nstu
1*2 @vwx
2*2 @yzA\nBCD\nEFG
2*2 @HIJ\nKLM\nNOP
3*1 @Q\nR\nS\nT\nU
@V
2*1 @W\nX\nY
@Z
2*2 @012\n345\n678
@9
2*2 @abc\ndef\nghi
3*1 @j\nk\nl\nm\nn
2*2 @opq\nrst\nuvw
2*2 @xyz\nABC\nDEF
2*1 @G\nH\nI
1*2 @JKL
2*3 @MNOPQ\nRSTUV\nWXYZ0
2*2 @123\n456\n789
1*3 @abcde
_ATEOF

{ set +x
$as_echo "$at_srcdir/render.at:1475: render-test --width=8 input"
at_fn_check_prepare_trace "render.at:1475"
( $at_check_trace; render-test --width=8 input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "+---+--
|abc|jk
|def|
|ghi+--
|   |yz
+-+-+BC
|Q|V|EF
|R| |
|S+-+-+
|T|012|
|U|345|
| |678|
| |   |
+-+-+-+
|xyz|G|
|ABC|H|
|DEF|I|
|   | |
+---+-+
|abcde|
|     |
+-----+

--+----+
kl| mno|
  | pqr|
--+ stu|
zA|    |
CD+-+--+
FG|W| Z|
  |X|  |
+-+Y+--+
|9| | ab
| | | de
+-+-+ gh
|opq|
|rst+---
|uvw| JK
|   |
+---+--+
| MNOPQ|
| RSTUV|
| WXYZ0|
|      |
+------+

+----+
| vwx|
|    |
+----+
| HIJ|
| KLM|
| NOP|
|    |
+-+--+
bc| j|
ef| k|
hi| l|
  | m|
--+ n|
KL|  |
  |  |
+-+--+
| 123|
| 456|

| 456|
| 789|
|    |
+----+
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:1475"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/render.at:1547: render-test -o mb0 --min-break=0 --width=8 input"
at_fn_check_prepare_trace "render.at:1547"
( $at_check_trace; render-test -o mb0 --min-break=0 --width=8 input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "+---+--
|abc|jk
|def|
|ghi+--
|   |yz
+-+-+BC
|Q|V|EF
|R| |
|S+-+-+
|T|012|
|U|345|
| |678|
| |   |
+-+-+-+
|xyz|G|
|ABC|H|
|DEF|I|
|   | |
+---+-+
|abcde|
|     |
+-----+

--+----+
kl| mno|
  | pqr|
--+ stu|
zA|    |
CD+-+--+
FG|W| Z|
  |X|  |
+-+Y+--+
|9| | ab
| | | de
+-+-+ gh
|opq|
|rst+---
|uvw| JK
|   |
+---+--+
| MNOPQ|
| RSTUV|
| WXYZ0|
|      |
+------+

+----+
| vwx|
|    |
+----+
| HIJ|
| KLM|
| NOP|
|    |
+-+--+
bc| j|
ef| k|
hi| l|
  | m|
--+ n|
KL|  |
  |  |
+-+--+
| 123|
| 456|
| 789|

|    |
+----+
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:1547"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1131
#AT_START_1132
at_fn_group_banner 1132 'render.at:1622' \
  "breaking column of many small cells" "            " 140
at_xfail=no
(
  $as_echo "1132. $at_setup_line: testing $at_desc ..."
  $at_traceon



cat >input <<'_ATEOF'
20 1
@1
@2
@3
@4
@5
@6
@7
@8
@9
@10
@11
@12
@13
@14
@15
@16
@17
@18
@19
@20
_ATEOF

{ set +x
$as_echo "$at_srcdir/render.at:1628: render-test --length=10 input"
at_fn_check_prepare_trace "render.at:1628"
( $at_check_trace; render-test --length=10 input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "+--+
| 1|
+--+
| 2|
+--+
| 3|
+--+
| 4|
+--+

+--+
| 5|
+--+
| 6|
+--+
| 7|
+--+
| 8|
+--+

+--+
| 9|
+--+
|10|
+--+
|11|
+--+
|12|
+--+

+--+
|13|
+--+
|14|
+--+
|15|
+--+
|16|
+--+

+--+
|17|
+--+
|18|
+--+
|19|
+--+
|20|
+--+
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:1628"
$at_failed && at_fn_log_failure  \
"input"
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/render.at:1679: render-test -o mb0 --min-break=0 --length=10 input"
at_fn_check_prepare_trace "render.at:1679"
( $at_check_trace; render-test -o mb0 --min-break=0 --length=10 input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "+--+
| 1|
+--+
| 2|
+--+
| 3|
+--+
| 4|
+--+

+--+
| 5|
+--+
| 6|
+--+
| 7|
+--+
| 8|
+--+

+--+
| 9|
+--+
|10|
+--+
|11|
+--+
|12|
+--+

+--+
|13|
+--+
|14|
+--+
|15|
+--+
|16|
+--+

+--+
|17|
+--+
|18|
+--+
|19|
+--+
|20|
+--+
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:1679"
$at_failed && at_fn_log_failure  \
"input"
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1132
#AT_START_1133
at_fn_group_banner 1133 'render.at:1732' \
  "breaking column of many small cells, with headers" "" 140
at_xfail=no
(
  $as_echo "1133. $at_setup_line: testing $at_desc ..."
  $at_traceon



cat >input <<'_ATEOF'
17 1 0 0 1 1
@a
@1
@2
@3
@4
@5
@6
@7
@8
@9
@10
@11
@12
@13
@14
@15
@b
_ATEOF

{ set +x
$as_echo "$at_srcdir/render.at:1740: render-test --length=13 input"
at_fn_check_prepare_trace "render.at:1740"
( $at_check_trace; render-test --length=13 input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "+--+
| a|
+--+
| 1|
+--+
| 2|
+--+
| 3|
+--+
| 4|
+--+
| b|
+--+

+--+
| a|
+--+
| 5|
+--+
| 6|
+--+
| 7|
+--+
| 8|
+--+
| b|
+--+

+--+
| a|
+--+
| 9|
+--+
|10|
+--+
|11|
+--+
|12|
+--+
| b|
+--+

+--+
| a|
+--+
|13|
+--+
|14|
+--+
|15|
+--+
| b|
+--+
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:1740"
$at_failed && at_fn_log_failure  \
"input"
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/render.at:1795: render-test -o mb0 --min-break=0 --length=13 input"
at_fn_check_prepare_trace "render.at:1795"
( $at_check_trace; render-test -o mb0 --min-break=0 --length=13 input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "+--+
| a|
+--+
| 1|
+--+
| 2|
+--+
| 3|
+--+
| 4|
+--+
| b|
+--+

+--+
| a|
+--+
| 5|
+--+
| 6|
+--+
| 7|
+--+
| 8|
+--+
| b|
+--+

+--+
| a|
+--+
| 9|
+--+
|10|
+--+
|11|
+--+
|12|
+--+
| b|
+--+

+--+
| a|
+--+
|13|
+--+
|14|
+--+
|15|
+--+
| b|
+--+
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:1795"
$at_failed && at_fn_log_failure  \
"input"
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1133
#AT_START_1134
at_fn_group_banner 1134 'render.at:1852' \
  "disabling too-big headers" "                      " 140
at_xfail=no
(
  $as_echo "1134. $at_setup_line: testing $at_desc ..."
  $at_traceon



cat >input <<'_ATEOF'
17 1 0 0 1 1
@a
@1
@2
@3
@4
@5
@6
@7
@8
@9
@10
@11
@12
@13
@14
@15
@b
_ATEOF

cat >expout <<'_ATEOF'
+--+
| a|
+--+
| 1|
+--+
| 2|
+--+
| 3|
+--+

+--+
| 4|
+--+
| 5|
+--+
| 6|
+--+
| 7|
+--+

+--+
| 8|
+--+
| 9|
+--+
|10|
+--+
|11|
+--+

+--+
|12|
+--+
|13|
+--+
|14|
+--+
|15|
+--+

+--+
| b|
+--+
_ATEOF

{ set +x
$as_echo "$at_srcdir/render.at:1905: render-test --length=10 input"
at_fn_check_prepare_trace "render.at:1905"
( $at_check_trace; render-test --length=10 input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:1905"
$at_failed && at_fn_log_failure  \
"input"
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/render.at:1906: render-test -o mb0 --min-break=0 --length=10 input"
at_fn_check_prepare_trace "render.at:1906"
( $at_check_trace; render-test -o mb0 --min-break=0 --length=10 input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:1906"
$at_failed && at_fn_log_failure  \
"input"
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1134
#AT_START_1135
at_fn_group_banner 1135 'render.at:1909' \
  "breaking column of many medium-size cells" "      " 140
at_xfail=no
(
  $as_echo "1135. $at_setup_line: testing $at_desc ..."
  $at_traceon



cat >input <<'_ATEOF'
20 1
@top 1\ncell 1\nbottom 1
@top 2\ncell 2\nbottom 2
@top 3\ncell 3\nbottom 3
@top 4\ncell 4\nbottom 4
@top 5\ncell 5\nbottom 5
@top 6\ncell 6\nbottom 6
@top 7\ncell 7\nbottom 7
@top 8\ncell 8\nbottom 8
@top 9\ncell 9\nbottom 9
@top 10\ncell 10\nbottom 10
@top 11\ncell 11\nbottom 11
@top 12\ncell 12\nbottom 12
@top 13\ncell 13\nbottom 13
@top 14\ncell 14\nbottom 14
@top 15\ncell 15\nbottom 15
@top 16\ncell 16\nbottom 16
@top 17\ncell 17\nbottom 17
@top 18\ncell 18\nbottom 18
@top 19\ncell 19\nbottom 19
@top 20\ncell 20\nbottom 20
_ATEOF

{ set +x
$as_echo "$at_srcdir/render.at:1915: render-test --length 10 input"
at_fn_check_prepare_trace "render.at:1915"
( $at_check_trace; render-test --length 10 input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "+---------+
|    top 1|
|   cell 1|
| bottom 1|
+---------+
|    top 2|
|   cell 2|
| bottom 2|
+---------+

+---------+
|    top 3|
|   cell 3|
| bottom 3|
+---------+
|    top 4|
|   cell 4|
| bottom 4|
+---------+

+---------+
|    top 5|
|   cell 5|
| bottom 5|
+---------+
|    top 6|
|   cell 6|
| bottom 6|
+---------+

+---------+
|    top 7|
|   cell 7|
| bottom 7|
+---------+
|    top 8|
|   cell 8|
| bottom 8|
+---------+

+---------+
|    top 9|
|   cell 9|
| bottom 9|
+---------+
|   top 10|
|  cell 10|
|bottom 10|
+---------+

+---------+
|   top 11|
|  cell 11|
|bottom 11|
+---------+
|   top 12|
|  cell 12|
|bottom 12|
+---------+

+---------+
|   top 13|
|  cell 13|
|bottom 13|
+---------+
|   top 14|
|  cell 14|
|bottom 14|
+---------+

+---------+
|   top 15|
|  cell 15|
|bottom 15|
+---------+
|   top 16|
|  cell 16|
|bottom 16|
+---------+

+---------+
|   top 17|
|  cell 17|
|bottom 17|
+---------+
|   top 18|
|  cell 18|
|bottom 18|
+---------+

+---------+
|   top 19|
|  cell 19|
|bottom 19|
+---------+
|   top 20|
|  cell 20|
|bottom 20|
+---------+
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:1915"
$at_failed && at_fn_log_failure  \
"input"
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/render.at:2016: render-test -o mb0 --min-break=0 --length 10 input"
at_fn_check_prepare_trace "render.at:2016"
( $at_check_trace; render-test -o mb0 --min-break=0 --length 10 input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "+---------+
|    top 1|
|   cell 1|
| bottom 1|
+---------+
|    top 2|
|   cell 2|
| bottom 2|
+---------+
|    top 3|

|   cell 3|
| bottom 3|
+---------+
|    top 4|
|   cell 4|
| bottom 4|
+---------+
|    top 5|
|   cell 5|

| bottom 5|
+---------+
|    top 6|
|   cell 6|
| bottom 6|
+---------+
|    top 7|
|   cell 7|
| bottom 7|
+---------+

+---------+
|    top 8|
|   cell 8|
| bottom 8|
+---------+
|    top 9|
|   cell 9|
| bottom 9|
+---------+
|   top 10|

|  cell 10|
|bottom 10|
+---------+
|   top 11|
|  cell 11|
|bottom 11|
+---------+
|   top 12|
|  cell 12|

|bottom 12|
+---------+
|   top 13|
|  cell 13|
|bottom 13|
+---------+
|   top 14|
|  cell 14|
|bottom 14|
+---------+

+---------+
|   top 15|
|  cell 15|
|bottom 15|
+---------+
|   top 16|
|  cell 16|
|bottom 16|
+---------+
|   top 17|

|  cell 17|
|bottom 17|
+---------+
|   top 18|
|  cell 18|
|bottom 18|
+---------+
|   top 19|
|  cell 19|

|bottom 19|
+---------+
|   top 20|
|  cell 20|
|bottom 20|
+---------+
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:2016"
$at_failed && at_fn_log_failure  \
"input"
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1135
#AT_START_1136
at_fn_group_banner 1136 'render.at:2111' \
  "breaking 3 columns with many joined cells" "      " 140
at_xfail=no
(
  $as_echo "1136. $at_setup_line: testing $at_desc ..."
  $at_traceon



#  +--+--+
# a| 1|11|
#  +--+ab|
# b| 2|cd|
#  |ab+--+
# c|cd|12|
#  +--+ab|
# d| 3|cd|
#  |ab+--+
# e|cd|13|
#  +--+ab|
# f| 4|cd|
#  |ab+--+
# g|cd|14|
#  +--+ab|
# h| 5|cd|
#  |ab+--+
# i|cd|15|
#  +--+ab|
# j| 6|cd|
#  |ab+--+
# k|cd|16|
#  +--+ab|
# l| 7|cd|
#  |ab+--+
# m|cd|17|
#  +--+ab|
# n| 8|cd|
#  |ab+--+
# o|cd|18|
#  +--+ab|
# p| 9|cd|
#  |ab+--+
# q|cd|19|
#  +--+ab|
# r|10|cd|
#  |ab+--+
# s|cd|20|
#  +--+--+
cat >input <<'_ATEOF'
3 19
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
@1
1*2 @2\nab\ncd
1*2 @3\nab\ncd
1*2 @4\nab\ncd
1*2 @5\nab\ncd
1*2 @6\nab\ncd
1*2 @7\nab\ncd
1*2 @8\nab\ncd
1*2 @9\nab\ncd
1*2 @10\nab\ncd
1*2 @11\nab\ncd
1*2 @12\nab\ncd
1*2 @13\nab\ncd
1*2 @14\nab\ncd
1*2 @15\nab\ncd
1*2 @16\nab\ncd
1*2 @17\nab\ncd
1*2 @18\nab\ncd
1*2 @19\nab\ncd
@20
_ATEOF

cat >expout <<'_ATEOF'
 +--+--+
a| 1|11|
 +--+ab|
b| 2|cd|
 |ab+--+

 |ab+--+
c|cd|12|
 +--+ab|
d| 3|cd|
 |ab+--+

 |ab+--+
e|cd|13|
 +--+ab|
f| 4|cd|
 |ab+--+

 |ab+--+
g|cd|14|
 +--+ab|
h| 5|cd|
 |ab+--+

 |ab+--+
i|cd|15|
 +--+ab|
j| 6|cd|
 |ab+--+

 |ab+--+
k|cd|16|
 +--+ab|
l| 7|cd|
 |ab+--+

 |ab+--+
m|cd|17|
 +--+ab|
n| 8|cd|
 |ab+--+

 |ab+--+
o|cd|18|
 +--+ab|
p| 9|cd|
 |ab+--+

 |ab+--+
q|cd|19|
 +--+ab|
r|10|cd|
 |ab+--+

 |ab+--+
s|cd|20|
 +--+--+
_ATEOF

{ set +x
$as_echo "$at_srcdir/render.at:2218: render-test --length=6 --transpose input"
at_fn_check_prepare_trace "render.at:2218"
( $at_check_trace; render-test --length=6 --transpose input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:2218"
$at_failed && at_fn_log_failure  \
"input"
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/render.at:2219: render-test -o mb0 --min-break=0 --length=6 --transpose input"
at_fn_check_prepare_trace "render.at:2219"
( $at_check_trace; render-test -o mb0 --min-break=0 --length=6 --transpose input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:2219"
$at_failed && at_fn_log_failure  \
"input"
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1136
#AT_START_1137
at_fn_group_banner 1137 'render.at:2223' \
  "vert break 6x6, joined rows and columns" "        " 140
at_xfail=no
(
  $as_echo "1137. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >input <<'_ATEOF'
6 6
@a
1*2 @bcd
@e
2*1 @f\ng\nh
@i
2*1 @j\nk\nl
@m
1*2 @nop
2*1 @q\nr\ns
2*1 @t\nu\nv
@w
1*2 @xyz
@A
2*1 @B\nC\nD
@E
1*2 @FGH
1*2 @IJK
2*1 @L\nM\nN
@O
@P
@Q
1*2 @RST
@U
@V
_ATEOF

{ set +x
$as_echo "$at_srcdir/render.at:2226: render-test --length=6 input"
at_fn_check_prepare_trace "render.at:2226"
( $at_check_trace; render-test --length=6 input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "+-+---+-+-+-+
|a|bcd|e|f|i|
+-+-+-+-+g+-+
|j|m|nop|h|q|
|k+-+---+-+r|

|k+-+-+---+r|
|l|t|w|xyz|s|
+-+u+-+-+-+-+
|A|v|B|E|FGH|
+-+-+C+-+---+

+---+C+-+-+-+
|IJK|D|L|O|P|
+-+-+-+M+-+-+
|Q|RST|N|U|V|
+-+---+-+-+-+
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:2226"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/render.at:2245: render-test -o mb0 --min-break=0 --length=6 input"
at_fn_check_prepare_trace "render.at:2245"
( $at_check_trace; render-test -o mb0 --min-break=0 --length=6 input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "+-+---+-+-+-+
|a|bcd|e|f|i|
+-+-+-+-+g+-+
|j|m|nop|h|q|
|k+-+---+-+r|

|k+-+-+---+r|
|l|t|w|xyz|s|
+-+u+-+-+-+-+
|A|v|B|E|FGH|
+-+-+C+-+---+

+---+C+-+-+-+
|IJK|D|L|O|P|
+-+-+-+M+-+-+
|Q|RST|N|U|V|
+-+---+-+-+-+
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:2245"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1137
#AT_START_1138
at_fn_group_banner 1138 'render.at:2266' \
  "breaking joined cells too tall for page" "        " 140
at_xfail=no
(
  $as_echo "1138. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >input <<'_ATEOF'
4 6
1*6 @abc\ndef\nghi\njkl\nmno\npqr\nstu\nvwx\nyzA\nBCD\nEFG
1*3 @HIJ\nKLM\nOPQ\nRST\nUVW
1*3 @XYZ\n012\n345\n678\n90a
1*2 @bcd\nefg\nhij
1*2 @klm\nnop\nqrs
1*2 @tuv\nwxy\nzAB
@C
@D
@E
@F
@G
@H
_ATEOF

{ set +x
$as_echo "$at_srcdir/render.at:2282: render-test --transpose --length=6 input"
at_fn_check_prepare_trace "render.at:2282"
( $at_check_trace; render-test --transpose --length=6 input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "+---+---+---+-+
|abc|HIJ|bcd|C|
|def|KLM|efg+-+
|ghi|OPQ|hij|D|
|jkl|RST+---+-+

|jkl|RST+---+-+
|mno|UVW|klm|E|
|pqr+---+nop+-+
|stu|XYZ|qrs|F|
|vwx|012+---+-+

|vwx|012+---+-+
|yzA|345|tuv|G|
|BCD|678|wxy+-+
|EFG|90a|zAB|H|
+---+---+---+-+
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:2282"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/render.at:2301: render-test -o mb0 --min-break=0 --transpose --length=6 input"
at_fn_check_prepare_trace "render.at:2301"
( $at_check_trace; render-test -o mb0 --min-break=0 --transpose --length=6 input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "+---+---+---+-+
|abc|HIJ|bcd|C|
|def|KLM|efg+-+
|ghi|OPQ|hij|D|
|jkl|RST+---+-+

|jkl|RST+---+-+
|mno|UVW|klm|E|
|pqr+---+nop+-+
|stu|XYZ|qrs|F|
|vwx|012+---+-+

|vwx|012+---+-+
|yzA|345|tuv|G|
|BCD|678|wxy+-+
|EFG|90a|zAB|H|
+---+---+---+-+
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:2301"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1138
#AT_START_1139
at_fn_group_banner 1139 'render.at:2322' \
  "breaking cell too tall for page, no border" "     " 140
at_xfail=no
(
  $as_echo "1139. $at_setup_line: testing $at_desc ..."
  $at_traceon



cat >input <<'_ATEOF'
1 1
abc defg hij klmn opq rstu vwx yz ABCDE FGH I JK LMNOP QR STU VWXYZ
_ATEOF

{ set +x
$as_echo "$at_srcdir/render.at:2328: render-test --width=6 --length=6 input"
at_fn_check_prepare_trace "render.at:2328"
( $at_check_trace; render-test --width=6 --length=6 input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "   abc
  defg
   hij
  klmn
   opq
  rstu

vwx yz
 ABCDE
 FGH I
    JK
 LMNOP
QR STU

 VWXYZ
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:2328"
$at_failed && at_fn_log_failure  \
"input"
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/render.at:2345: render-test -o mb0 --min-break=0 --width=6 --length=6 input"
at_fn_check_prepare_trace "render.at:2345"
( $at_check_trace; render-test -o mb0 --min-break=0 --width=6 --length=6 input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "   abc
  defg
   hij
  klmn
   opq
  rstu

vwx yz
 ABCDE
 FGH I
    JK
 LMNOP
QR STU

 VWXYZ
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:2345"
$at_failed && at_fn_log_failure  \
"input"
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1139
#AT_START_1140
at_fn_group_banner 1140 'render.at:2364' \
  "breaking cell too tall for page, with border" "   " 140
at_xfail=no
(
  $as_echo "1140. $at_setup_line: testing $at_desc ..."
  $at_traceon



cat >input <<'_ATEOF'
1 1
@abc defg hij klmn opq rstu vwx yz ABCDE FGH I JK LMNOP QR STU VWXYZ
_ATEOF

cat >expout <<'_ATEOF'
+-----+
|  abc|
| defg|
|  hij|
| klmn|
|  opq|

| rstu|
|  vwx|
|   yz|
|ABCDE|
|FGH I|
|   JK|

|LMNOP|
|   QR|
|  STU|
|VWXYZ|
+-----+
_ATEOF

{ set +x
$as_echo "$at_srcdir/render.at:2391: render-test --width=7 --length=6 input"
at_fn_check_prepare_trace "render.at:2391"
( $at_check_trace; render-test --width=7 --length=6 input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:2391"
$at_failed && at_fn_log_failure  \
"input"
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/render.at:2392: render-test -o mb0 --min-break=0 --width=7 --length=6 input"
at_fn_check_prepare_trace "render.at:2392"
( $at_check_trace; render-test -o mb0 --min-break=0 --width=7 --length=6 input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:2392"
$at_failed && at_fn_log_failure  \
"input"
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1140
#AT_START_1141
at_fn_group_banner 1141 'render.at:2396' \
  "breaking nested cell too tall for page" "         " 140
at_xfail=no
(
  $as_echo "1141. $at_setup_line: testing $at_desc ..."
  $at_traceon



cat >input <<'_ATEOF'
8 8
@a
@b
@c
@d
@e
@f
@g
@h
@i
1*2 @jkl
@m
1*2 @nop
2*1 @q\nr\ns
@t
@u
@v
1*2 @wxy
@z
2*1 @A\nB\nC
@D
@E
2*1 @F\nG\nH
@I
1*2 @JKL
2*1 @M\nN\nO
@P
@Q
2*1 @R\nS\nT
1*2 @UVW
@X
@Y
@Z
2*1 @0\n1\n2
@3
1*2 @456
@7
@8
@9
1*2 @abc
@d
1*2 @efg
@h
@i
@j
@k
@l
@m
@n
@o
@p
6 6
@a
1*2 @bcd
@e
2*1 @f\ng\nh
@i
2*1 @j\nk\nl
@m
1*2 @nop
2*1 @q\nr\ns
2*1 @t\nu\nv
@w
1*2 @xyz
@A
2*1 @B\nC\nD
@E
1*2 @FGH
1*2 @IJK
2*1 @L\nM\nN
@O
@P
@Q
1*2 @RST
@U
@V
1 2
@{0}
@{1}
_ATEOF

{ set +x
$as_echo "$at_srcdir/render.at:2404: render-test input --length=10"
at_fn_check_prepare_trace "render.at:2404"
( $at_check_trace; render-test input --length=10
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "+-----------------+-------------+
|+-+-+-+-+-+-+-+-+|+-+---+-+-+-+|
||a|b|c|d|e|f|g|h|||a|bcd|e|f|i||
|+-+-+-+-+-+-+-+-+|+-+-+-+-+g+-+|
||i|jkl|m|nop|q|t|||j|m|nop|h|q||
|+-+-+-+-+-+-+r+-+||k+-+-+-+-+r||
||u|v|wxy|z|A|s|D|||l|t|w|xyz|s||
|+-+-+-+-+-+B+-+-+|+-+u+-+-+-+-+|
||E|F|I|JKL|C|M|P|||A|v|B|E|FGH||
|+-+G+-+---+-+N+-+|+-+-+C+-+-+-+|

||Q|H|R|UVW|X|O|Y|||IJK|D|L|O|P||
|+-+-+S+-+-+-+-+-+|+-+-+-+M+-+-+|
||Z|0|T|3|456|7|8|||Q|RST|N|U|V||
|+-+1+-+-+-+-+-+-+|+-+---+-+-+-+|
||9|2|abc|d|efg|h||             |
|+-+-+-+-+-+-+-+-+|             |
||i|j|k|l|m|n|o|p||             |
|+-+-+-+-+-+-+-+-+|             |
+-----------------+-------------+
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:2404"
$at_failed && at_fn_log_failure  \
"input"
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1141
#AT_START_1142
at_fn_group_banner 1142 'render.at:2430' \
  "double break 6x6, joined rows and columns" "      " 141
at_xfail=no
(
  $as_echo "1142. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >input <<'_ATEOF'
6 6
@a
1*2 @bcd
@e
2*1 @f\ng\nh
@i
2*1 @j\nk\nl
@m
1*2 @nop
2*1 @q\nr\ns
2*1 @t\nu\nv
@w
1*2 @xyz
@A
2*1 @B\nC\nD
@E
1*2 @FGH
1*2 @IJK
2*1 @L\nM\nN
@O
@P
@Q
1*2 @RST
@U
@V
_ATEOF

{ set +x
$as_echo "$at_srcdir/render.at:2433: render-test --width=6 --length=6 input"
at_fn_check_prepare_trace "render.at:2433"
( $at_check_trace; render-test --width=6 --length=6 input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "+-+--
|a|bc
+-+-+
|j|m|
|k+-+

|k+-+
|l|t|
+-+u|
|A|v|
+-+-+

+---+
|IJK|
+-+-+
|Q|RS
+-+--

--+-+
cd|e|
+-+-+
|nop|
+---+

+-+--
|w|xy
+-+-+
|B|E|
|C+-+

|C+-+
|D|L|
+-+M|
ST|N|
--+-+

+-+-+
|f|i|
|g+-+
|h|q|
+-+r|

--+r|
yz|s|
+-+-+
|FGH|
+---+

+-+-+
|O|P|
+-+-+
|U|V|
+-+-+
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:2433"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/render.at:2488: render-test -o mb0 --min-break=0 --width=6 --length=6 input"
at_fn_check_prepare_trace "render.at:2488"
( $at_check_trace; render-test -o mb0 --min-break=0 --width=6 --length=6 input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "+-+--
|a|bc
+-+-+
|j|m|
|k+-+

|k+-+
|l|t|
+-+u|
|A|v|
+-+-+

+---+
|IJK|
+-+-+
|Q|RS
+-+--

--+-+
cd|e|
+-+-+
|nop|
+---+

+-+--
|w|xy
+-+-+
|B|E|
|C+-+

|C+-+
|D|L|
+-+M|
ST|N|
--+-+

+-+-+
|f|i|
|g+-+
|h|q|
+-+r|

--+r|
yz|s|
+-+-+
|FGH|
+---+

+-+-+
|O|P|
+-+-+
|U|V|
+-+-+
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:2488"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1142
#AT_START_1143
at_fn_group_banner 1143 'render.at:2545' \
  "double break 8x8, with joins, left and right headers" "" 141
at_xfail=no
(
  $as_echo "1143. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >input <<'_ATEOF'
8 8 1 1 0 0
@a
@b
@c
@d
@e
@f
@g
@h
@i
1*2 @jkl
@m
1*2 @nop
2*1 @q\nr\ns
@t
@u
@v
1*2 @wxy
@z
2*1 @A\nB\nC
@D
@E
2*1 @F\nG\nH
@I
1*2 @JKL
2*1 @M\nN\nO
@P
@Q
2*1 @R\nS\nT
1*2 @UVW
@X
@Y
@Z
2*1 @0\n1\n2
@3
1*2 @456
@7
@8
@9
1*2 @abc
@d
1*2 @efg
@h
@i
@j
@k
@l
@m
@n
@o
@p
_ATEOF

{ set +x
$as_echo "$at_srcdir/render.at:2548: render-test input --width=14 --length=14"
at_fn_check_prepare_trace "render.at:2548"
( $at_check_trace; render-test input --width=14 --length=14
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "+-+-+-+-+-+-+
|a|b|c|d|e|h|
+-+-+-+-+-+-+
|i|jkl|m|n|t|
+-+-+-+-+-+-+
|u|v|wxy|z|D|
+-+-+-+-+-+-+
|E|F|I|JKL|P|
+-+G+-+---+-+
|Q|H|R|UVW|Y|
+-+-+S+-+-+-+
|Z|0|T|3|4|8|
+-+1+-+-+-+-+

+-+1+---+-+-+
|9|2|abc|d|h|
+-+-+-+-+-+-+
|i|j|k|l|m|p|
+-+-+-+-+-+-+

+-+--+-+-+
|a| f|g|h|
+-+--+-+-+
|i|op|q|t|
+-+--+r+-+
|u| A|s|D|
+-+ B+-+-+

+-+ B+-+-+
|E| C|M|P|
+-+--+N+-+
|Q| X|O|Y|
+-+--+-+-+
|Z|56|7|8|
+-+--+-+-+
|9| efg|h|
+-+--+-+-+
|i| n|o|p|
+-+--+-+-+
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:2548"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/render.at:2589: render-test -o mb0 --min-break=0 input --width=14 --length=14"
at_fn_check_prepare_trace "render.at:2589"
( $at_check_trace; render-test -o mb0 --min-break=0 input --width=14 --length=14
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "+-+-+-+-+-+-+
|a|b|c|d|e|h|
+-+-+-+-+-+-+
|i|jkl|m|n|t|
+-+-+-+-+-+-+
|u|v|wxy|z|D|
+-+-+-+-+-+-+
|E|F|I|JKL|P|
+-+G+-+---+-+
|Q|H|R|UVW|Y|
+-+-+S+-+-+-+
|Z|0|T|3|4|8|
+-+1+-+-+-+-+

+-+1+---+-+-+
|9|2|abc|d|h|
+-+-+-+-+-+-+
|i|j|k|l|m|p|
+-+-+-+-+-+-+

+-+--+-+-+
|a| f|g|h|
+-+--+-+-+
|i|op|q|t|
+-+--+r+-+
|u| A|s|D|
+-+ B+-+-+

+-+ B+-+-+
|E| C|M|P|
+-+--+N+-+
|Q| X|O|Y|
+-+--+-+-+
|Z|56|7|8|
+-+--+-+-+
|9| efg|h|
+-+--+-+-+
|i| n|o|p|
+-+--+-+-+
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:2589"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1143
#AT_START_1144
at_fn_group_banner 1144 'render.at:2632' \
  "double break 8x8, with joins, top and bottom headers" "" 141
at_xfail=no
(
  $as_echo "1144. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >input <<'_ATEOF'
8 8 0 0 1 1
@a
@b
@c
@d
@e
@f
@g
@h
@i
1*2 @jkl
@m
1*2 @nop
2*1 @q\nr\ns
@t
@u
@v
1*2 @wxy
@z
2*1 @A\nB\nC
@D
@E
2*1 @F\nG\nH
@I
1*2 @JKL
2*1 @M\nN\nO
@P
@Q
2*1 @R\nS\nT
1*2 @UVW
@X
@Y
@Z
2*1 @0\n1\n2
@3
1*2 @456
@7
@8
@9
1*2 @abc
@d
1*2 @efg
@h
@i
@j
@k
@l
@m
@n
@o
@p
_ATEOF

{ set +x
$as_echo "$at_srcdir/render.at:2635: render-test input --width=14 --length=14"
at_fn_check_prepare_trace "render.at:2635"
( $at_check_trace; render-test input --width=14 --length=14
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "+-+-+-+-+-+-+
|a|b|c|d|e|f|
+-+-+-+-+-+-+
|i|jkl|m|nop|
+-+-+-+-+-+-+
|u|v|wxy|z|A|
+-+-+-+-+-+B|
|E|F|I|JKL|C|
+-+G+-+---+-+
|Q|H|R|UVW|X|
+-+-+-+-+-+-+
|i|j|k|l|m|n|
+-+-+-+-+-+-+

+-+-+-+-+-+-+
|a|b|c|d|e|f|
+-+-+-+-+-+-+
|Z|0|S|3|456|
| |1|T| |   |
+-+2+-+-+-+-+
|9| |abc|d|ef
+-+-+-+-+-+-+
|i|j|k|l|m|n|
+-+-+-+-+-+-+

+-+-+
|g|h|
+-+-+
|q|t|
|r+-+
|s|D|
+-+-+
|M|P|
|N+-+
|O|Y|
+-+-+
|o|p|
+-+-+

+-+-+
|g|h|
+-+-+
|7|8|
| | |
+-+-+
fg|h|
+-+-+
|o|p|
+-+-+
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:2635"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/render.at:2686: render-test -o mb0 --min-break=0 input --width=14 --length=14"
at_fn_check_prepare_trace "render.at:2686"
( $at_check_trace; render-test -o mb0 --min-break=0 input --width=14 --length=14
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "+-+-+-+-+-+-+
|a|b|c|d|e|f|
+-+-+-+-+-+-+
|i|jkl|m|nop|
+-+-+-+-+-+-+
|u|v|wxy|z|A|
+-+-+-+-+-+B|
|E|F|I|JKL|C|
+-+G+-+---+-+
|Q|H|R|UVW|X|
+-+-+-+-+-+-+
|i|j|k|l|m|n|
+-+-+-+-+-+-+

+-+-+-+-+-+-+
|a|b|c|d|e|f|
+-+-+-+-+-+-+
|Z|0|S|3|456|
| |1|T| |   |
+-+2+-+-+-+-+
|9| |abc|d|ef
+-+-+-+-+-+-+
|i|j|k|l|m|n|
+-+-+-+-+-+-+

+-+-+
|g|h|
+-+-+
|q|t|
|r+-+
|s|D|
+-+-+
|M|P|
|N+-+
|O|Y|
+-+-+
|o|p|
+-+-+

+-+-+
|g|h|
+-+-+
|7|8|
| | |
+-+-+
fg|h|
+-+-+
|o|p|
+-+-+
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:2686"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1144
#AT_START_1145
at_fn_group_banner 1145 'render.at:2739' \
  "double break 8x8, with joins, all headers" "      " 141
at_xfail=no
(
  $as_echo "1145. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >input <<'_ATEOF'
8 8 1 1 1 1
@a
@b
@c
@d
@e
@f
@g
@h
@i
1*2 @jkl
@m
1*2 @nop
2*1 @q\nr\ns
@t
@u
@v
1*2 @wxy
@z
2*1 @A\nB\nC
@D
@E
2*1 @F\nG\nH
@I
1*2 @JKL
2*1 @M\nN\nO
@P
@Q
2*1 @R\nS\nT
1*2 @UVW
@X
@Y
@Z
2*1 @0\n1\n2
@3
1*2 @456
@7
@8
@9
1*2 @abc
@d
1*2 @efg
@h
@i
@j
@k
@l
@m
@n
@o
@p
_ATEOF

{ set +x
$as_echo "$at_srcdir/render.at:2742: render-test input --width=14 --length=14"
at_fn_check_prepare_trace "render.at:2742"
( $at_check_trace; render-test input --width=14 --length=14
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "+-+-+-+-+-+-+
|a|b|c|d|e|h|
+-+-+-+-+-+-+
|i|jkl|m|n|t|
+-+-+-+-+-+-+
|u|v|wxy|z|D|
+-+-+-+-+-+-+
|E|F|I|JKL|P|
+-+G+-+---+-+
|Q|H|R|UVW|Y|
+-+-+-+-+-+-+
|i|j|k|l|m|p|
+-+-+-+-+-+-+

+-+-+-+-+-+-+
|a|b|c|d|e|h|
+-+-+-+-+-+-+
|Z|0|S|3|4|8|
| |1|T| | | |
+-+2+-+-+-+-+
|9| |abc|d|h|
+-+-+-+-+-+-+
|i|j|k|l|m|p|
+-+-+-+-+-+-+

+-+--+-+-+
|a| f|g|h|
+-+--+-+-+
|i|op|q|t|
+-+--+r+-+
|u| A|s|D|
+-+ B+-+-+
|E| C|M|P|
+-+--+N+-+
|Q| X|O|Y|
+-+--+-+-+
|i| n|o|p|
+-+--+-+-+

+-+--+-+-+
|a| f|g|h|
+-+--+-+-+
|Z|56|7|8|
| |  | | |
+-+--+-+-+
|9| efg|h|
+-+--+-+-+
|i| n|o|p|
+-+--+-+-+
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:2742"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/render.at:2793: render-test -o mb0 --min-break=0 input --width=14 --length=14"
at_fn_check_prepare_trace "render.at:2793"
( $at_check_trace; render-test -o mb0 --min-break=0 input --width=14 --length=14
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "+-+-+-+-+-+-+
|a|b|c|d|e|h|
+-+-+-+-+-+-+
|i|jkl|m|n|t|
+-+-+-+-+-+-+
|u|v|wxy|z|D|
+-+-+-+-+-+-+
|E|F|I|JKL|P|
+-+G+-+---+-+
|Q|H|R|UVW|Y|
+-+-+-+-+-+-+
|i|j|k|l|m|p|
+-+-+-+-+-+-+

+-+-+-+-+-+-+
|a|b|c|d|e|h|
+-+-+-+-+-+-+
|Z|0|S|3|4|8|
| |1|T| | | |
+-+2+-+-+-+-+
|9| |abc|d|h|
+-+-+-+-+-+-+
|i|j|k|l|m|p|
+-+-+-+-+-+-+

+-+--+-+-+
|a| f|g|h|
+-+--+-+-+
|i|op|q|t|
+-+--+r+-+
|u| A|s|D|
+-+ B+-+-+
|E| C|M|P|
+-+--+N+-+
|Q| X|O|Y|
+-+--+-+-+
|i| n|o|p|
+-+--+-+-+

+-+--+-+-+
|a| f|g|h|
+-+--+-+-+
|Z|56|7|8|
| |  | | |
+-+--+-+-+
|9| efg|h|
+-+--+-+-+
|i| n|o|p|
+-+--+-+-+
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:2793"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1145
#AT_START_1146
at_fn_group_banner 1146 'render.at:2846' \
  "double break joined cells too big for page" "     " 141
at_xfail=no
(
  $as_echo "1146. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >input <<'_ATEOF'
7 7
@a
@b
@c
@d
@e
@f
@g
@h
6*6 @The MISSING subcommand determines the handling of missing variables.  If INCLUDE is set, then user‑missing values are included in the calculations.  If NOINCLUDE is set, which is the default, user‑missing values are excluded.
@i
@j
@k
@l
@m
_ATEOF

{ set +x
$as_echo "$at_srcdir/render.at:2864: render-test --width=15 --length=15 input"
at_fn_check_prepare_trace "render.at:2864"
( $at_check_trace; render-test --width=15 --length=15 input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "+-+--+--+---+
|a| b| c|  d|
+-+--+--+---+
|h|       The
| |        su
+-+    determ
|i|       han
| |missing va
| |If INCLUDE
+-+ then user
|j|        va
| |   include
| | calculati
+-+ NOINCLUDE

+-+ NOINCLUDE
|k|      whic
| |
| |      user
+-+        va
|l|         e
| |
| |
+-+
|m|
| |
+-+----------

+--+--+--+
| e| f| g|
+--+--+--+
e MISSING|
ubcommand|
mines the|
ndling of|
ariables.|
E is set,|
r‑missing|
alues are|
ed in the|
ions.  If|
E is set,|

E is set,|
ch is the|
 default,|
r‑missing|
alues are|
excluded.|
         |
         |
         |
         |
         |
---------+
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:2864"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/render.at:2921: render-test -o mb0 --min-break=0 --width=15 --length=15 input"
at_fn_check_prepare_trace "render.at:2921"
( $at_check_trace; render-test -o mb0 --min-break=0 --width=15 --length=15 input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "+-+--+--+---+-
|a| b| c|  d|
+-+--+--+---+-
|h|       The
| |        sub
+-+    determi
|i|       hand
| |missing var
| |If INCLUDE
+-+ then user‑
|j|        val
| |   included
| | calculatio
+-+ NOINCLUDE
|k|      which

| |          d
| |      user‑
+-+        val
|l|         ex
| |
| |
+-+
|m|
| |
+-+-----------

-+--+--+
e| f| g|
-+--+--+
MISSING|

command|
nes the|
ling of|
iables.|
is set,|
missing|
ues are|
 in the|
ns.  If|
is set,|
 is the|
efault,|
missing|
ues are|
cluded.|

       |
       |
       |
       |
       |
-------+
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:2921"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1146
#AT_START_1147
at_fn_group_banner 1147 'render.at:2983' \
  "LIST puts space between columns" "                " 142
at_xfail=no
(
  $as_echo "1147. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >list.sps <<'_ATEOF'
DATA LIST LIST NOTABLE /x y z (F1.0).
BEGIN DATA.
1 2 3
4 5 6
7 8 9
END DATA.
LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/render.at:2994: pspp list.sps"
at_fn_check_prepare_trace "render.at:2994"
( $at_check_trace; pspp list.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Data List
x y z
-----
1 2 3
4 5 6
7 8 9
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:2994"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1147
#AT_START_1148
at_fn_group_banner 1148 'render.at:3008' \
  "ASCII driver renders end of line spaces reasonably" "" 142
at_xfail=no
(
  $as_echo "1148. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >input <<'_ATEOF'
3 3
@a
@b
@xyzzy                                          
@d
@e
@f
@g
@h
@i
_ATEOF

{ set +x
$as_echo "$at_srcdir/render.at:3022: render-test --width=15 --length=15 input"
at_fn_check_prepare_trace "render.at:3022"
( $at_check_trace; render-test --width=15 --length=15 input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "+-+-+-----+
|a|b|xyzzy|
+-+-+-----+
|d|e|    f|
+-+-+-----+
|g|h|    i|
+-+-+-----+
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:3022"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1148
#AT_START_1149
at_fn_group_banner 1149 'render.at:3046' \
  "multiple spanned cells all contribute to dimensions" "" 142
at_xfail=no
(
  $as_echo "1149. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >input <<'_ATEOF'
2 2
1*2 @A long text string.
1*2 @shorter
_ATEOF

{ set +x
$as_echo "$at_srcdir/render.at:3053: render-test --width=30 --length=15 input"
at_fn_check_prepare_trace "render.at:3053"
( $at_check_trace; render-test --width=30 --length=15 input
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "+-------------------+
|A long text string.|
+-------------------+
|            shorter|
+-------------------+
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:3053"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1149
#AT_START_1150
at_fn_group_banner 1150 'tables.at:19' \
  "OUTPUT precision" "                               " 143
at_xfail=no
(
  $as_echo "1150. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >prec.sps <<'_ATEOF'

data list notable list /A * B *.
begin data.
2.0 3.0
1.0 2.0
2.0 4.5
2.0 4.5
3.0 6.0
end data.

OUTPUT MODIFY
       /SELECT TABLES
       /TABLECELLS  SELECT = [ SIGNIFICANCE ]
       	    FORMAT = F.3.

t-test /PAIRS a with b (PAIRED).

OUTPUT MODIFY
       /SELECT TABLES
       /TABLECELLS  SELECT = [ SIGNIFICANCE ]
       	    FORMAT = F12.5.

t-test /PAIRS a with b (PAIRED).

_ATEOF


{ set +x
$as_echo "$at_srcdir/tables.at:47: pspp -O format=csv prec.sps"
at_fn_check_prepare_trace "tables.at:47"
( $at_check_trace; pspp -O format=csv prec.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Paired Sample Statistics
,,Mean,N,Std. Deviation,S.E. Mean
Pair 1,A,2.00,5,.71,.32
,B,4.00,5,1.54,.69

Table: Paired Samples Correlations
,,N,Correlation,Sig.
Pair 1,A & B,5,.92,.028

Table: Paired Samples Test
,,Paired Differences,,,,,,,
,,,,,95% Confidence Interval of the Difference,,,,
,,Mean,Std. Deviation,Std. Error Mean,Lower,Upper,t,df,Sig. (2-tailed)
Pair 1,A - B,-2.00,.94,.42,-3.16,-.84,-4.78,4,.009

Table: Paired Sample Statistics
,,Mean,N,Std. Deviation,S.E. Mean
Pair 1,A,2.00,5,.71,.32
,B,4.00,5,1.54,.69

Table: Paired Samples Correlations
,,N,Correlation,Sig.
Pair 1,A & B,5,.92,.02801

Table: Paired Samples Test
,,Paired Differences,,,,,,,
,,,,,95% Confidence Interval of the Difference,,,,
,,Mean,Std. Deviation,Std. Error Mean,Lower,Upper,t,df,Sig. (2-tailed)
Pair 1,A - B,-2.00,.94,.42,-3.16,-.84,-4.78,4,.00877
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/tables.at:47"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1150
#AT_START_1151
at_fn_group_banner 1151 'tables.at:84' \
  "OUTPUT crash" "                                   " 143
at_xfail=no
(
  $as_echo "1151. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >prec.sps <<'_ATEOF'

data list notable list /A * B *.
begin data.
2.0 3.0
1.0 2.0
end data.

OUTPUT MODIFY
       /SELECT TABLES
       /TABLECELLS  SELECT = [ SIGNIFICANCE ]
       "FORMAT = F/1.

t-test /PAIRS a with b (PAIRED).
_ATEOF


{ set +x
$as_echo "$at_srcdir/tables.at:101: pspp -O format=csv prec.sps"
at_fn_check_prepare_trace "tables.at:101"
( $at_check_trace; pspp -O format=csv prec.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 1 $at_status "$at_srcdir/tables.at:101"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1151
#AT_START_1152
at_fn_group_banner 1152 'main.at:19' \
  "nonexistent syntax file crash" "                  " 144
at_xfail=no
(
  $as_echo "1152. $at_setup_line: testing $at_desc ..."
  $at_traceon

{ set +x
$as_echo "$at_srcdir/main.at:20: pspp nonexistent"
at_fn_check_prepare_trace "main.at:20"
( $at_check_trace; pspp nonexistent
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "error: Opening \`nonexistent': No such file or directory.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/main.at:20"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1152
#AT_START_1153
at_fn_group_banner 1153 'main.at:25' \
  "SIGTERM yields clean shutdown" "                  " 144
at_xfail=no
(
  $as_echo "1153. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >main.sps <<'_ATEOF'
INPUT PROGRAM.
COMPUTE x = x + 1.
DO IF x = 10000.
END CASE.
ELSE IF x < 0.
END FILE.
END IF.
END INPUT PROGRAM.
EXECUTE.
_ATEOF

{ set +x
$as_echo "$at_srcdir/main.at:37: pspp main.sps & sleep 1; kill \$!; wait \$!"
at_fn_check_prepare_dynamic "pspp main.sps & sleep 1; kill $!; wait $!" "main.at:37"
( $at_check_trace; pspp main.sps & sleep 1; kill $!; wait $!
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 143 $at_status "$at_srcdir/main.at:37"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1153
#AT_START_1154
at_fn_group_banner 1154 'main.at:40' \
  "SIGSEGV yields error report" "                    " 144
at_xfail=no
(
  $as_echo "1154. $at_setup_line: testing $at_desc ..."
  $at_traceon

{ set +x
$as_echo "$at_srcdir/main.at:41: echo 'host command=[\"kill -SEGV \$PPID\"].' | pspp -O format=csv"
at_fn_check_prepare_notrace 'a shell pipeline' "main.at:41"
( $at_check_trace; echo 'host command=["kill -SEGV $PPID"].' | pspp -O format=csv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 139 $at_status "$at_srcdir/main.at:41"
$at_failed && at_fn_log_failure
$at_traceon; }


cat > expout <<EOF
******************************************************
You have discovered a bug in PSPP.  Please report this
to $PACKAGE_BUGREPORT.  Please include this entire
message, *plus* several lines of output just above it.
For the best chance at having the bug fixed, also
include the syntax file that triggered it and a sample
of any data file used for input.
proximate cause:     Segmentation Violation
EOF

{ set +x
$as_echo "$at_srcdir/main.at:55: sed '/proximate/q' < stderr"
at_fn_check_prepare_trace "main.at:55"
( $at_check_trace; sed '/proximate/q' < stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/main.at:55"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1154
#AT_START_1155
at_fn_group_banner 1155 'main.at:60' \
  "argument parsing" "                               " 144
at_xfail=no
(
  $as_echo "1155. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >main.sps <<'_ATEOF'
ECHO 'This is a test'.
FINISH.
_ATEOF


{ set +x
$as_echo "$at_srcdir/main.at:67: pspp --syntax=enhanced main.sps"
at_fn_check_prepare_trace "main.at:67"
( $at_check_trace; pspp --syntax=enhanced main.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/main.at:67"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1155
#AT_START_1156
at_fn_group_banner 1156 'syntax-gen.at:19' \
  "Syntax Generation - printf like" "                " 145
at_xfail=no
(
  $as_echo "1156. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/syntax-gen.at:21: \$abs_top_builddir/tests/ui/syntax-gen-test"
at_fn_check_prepare_dynamic "$abs_top_builddir/tests/ui/syntax-gen-test" "syntax-gen.at:21"
( $at_check_trace; $abs_top_builddir/tests/ui/syntax-gen-test
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "A simple string: Hello worldEND
A syntax string: \"Hello world\"END
A syntax string containing \": 'here\"is the quote'END
A syntax string containing non-printables: X'41204374726C4C0C63686172'END
An integer: 98765END
A floating point number: 3.142END
A floating point number with default precision: 1.234000END
A floating point number with given precision: 1.23399999999999998579END
A literal %
and finally a \"concatination\" of 6 different 20.309000 examples 23.09 of 100% conversions.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/syntax-gen.at:21"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1156
#AT_START_1157
at_fn_group_banner 1157 'pspp-convert.at:3' \
  "pspp-convert crash when output cannot be opened" "" 146
at_xfail=no
(
  $as_echo "1157. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >sysfile.sps <<'_ATEOF'
DATA LIST NOTABLE/x 1.
BEGIN DATA.
5
END DATA.
SAVE OUTFILE='data.sav'.
_ATEOF

{ set +x
$as_echo "$at_srcdir/pspp-convert.at:12: pspp -O format=csv sysfile.sps"
at_fn_check_prepare_trace "pspp-convert.at:12"
( $at_check_trace; pspp -O format=csv sysfile.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/pspp-convert.at:12"
$at_failed && at_fn_log_failure
$at_traceon; }


{ set +x
$as_echo "$at_srcdir/pspp-convert.at:14: pspp-convert data.sav nonexistent/output.sav"
at_fn_check_prepare_trace "pspp-convert.at:14"
( $at_check_trace; pspp-convert data.sav nonexistent/output.sav
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; tee stderr <"$at_stderr"
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/pspp-convert.at:14"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/pspp-convert.at:15: grep '[eE]rror opening' stderr"
at_fn_check_prepare_trace "pspp-convert.at:15"
( $at_check_trace; grep '[eE]rror opening' stderr
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Error opening \`nonexistent/output.sav' for writing as a system file: No such file or directory.
pspp-convert: nonexistent/output.sav: error opening output file
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/pspp-convert.at:15"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1157
#AT_START_1158
at_fn_group_banner 1158 'perl-module.at:33' \
  "Perl create system file" "                        " 147
at_xfail=no
(
  $as_echo "1158. $at_setup_line: testing $at_desc ..."
  $at_traceon

$as_echo "perl-module.at:34" >"$at_check_line_file"
(test "$WITH_PERL_MODULE" = no) \
  && at_fn_check_skip 77 "$at_srcdir/perl-module.at:34"
cat >test.pl <<'_ATEOF'
use warnings;
   use strict;
   use PSPP;

   my $d = PSPP::Dict->new();
   die "dictionary creation" if !ref $d;
   die if $d->get_var_cnt () != 0;

   $d->set_label ("My Dictionary");
   $d->set_documents ("These Documents");

   # Tests for variable creation

   my $var0 = PSPP::Var->new ($d, "le");
   die "trap illegal variable name" if ref $var0;
   die if $d->get_var_cnt () != 0;

   $var0 = PSPP::Var->new ($d, "legal");
   die "accept legal variable name" if !ref $var0;
   die if $d->get_var_cnt () != 1;

   my $var1 = PSPP::Var->new ($d, "money",
			      (fmt=>PSPP::Fmt::DOLLAR,
			       width=>4, decimals=>2) );
   die "cappet valid format" if !ref $var1;
   die if $d->get_var_cnt () != 2;

   $d->set_weight ($var1);

   my $sysfile = PSPP::Sysfile->new ('testfile.sav', $d);
   die "create sysfile object" if !ref $sysfile;

   $sysfile->close ();
_ATEOF

{ set +x
$as_echo "$at_srcdir/perl-module.at:70: LD_LIBRARY_PATH=\$abs_top_builddir/src/.libs \\
   DYLD_LIBRARY_PATH=\$abs_top_builddir/src/.libs \\
   \$PERL -I\$abs_top_builddir/perl-module/blib/arch \\
         -I\$abs_top_builddir/perl-module/blib/lib test.pl"
at_fn_check_prepare_notrace 'an embedded newline' "perl-module.at:70"
( $at_check_trace; LD_LIBRARY_PATH=$abs_top_builddir/src/.libs \
   DYLD_LIBRARY_PATH=$abs_top_builddir/src/.libs \
   $PERL -I$abs_top_builddir/perl-module/blib/arch \
         -I$abs_top_builddir/perl-module/blib/lib test.pl
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/perl-module.at:70"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >dump-dict.sps <<'_ATEOF'
GET FILE='testfile.sav'.
DISPLAY FILE LABEL.
DISPLAY DOCUMENTS.
DISPLAY DICTIONARY.
SHOW WEIGHT.
_ATEOF

{ set +x
$as_echo "$at_srcdir/perl-module.at:78: pspp -O format=csv dump-dict.sps"
at_fn_check_prepare_trace "perl-module.at:78"
( $at_check_trace; pspp -O format=csv dump-dict.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "File label: My Dictionary

Documents in the active dataset:

These Documents

Variable,Description,Position
legal,Format: F9.2,1
money,Format: DOLLAR6.2,2

dump-dict.sps:5: note: SHOW: WEIGHT is money.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/perl-module.at:78"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1158
#AT_START_1159
at_fn_group_banner 1159 'perl-module.at:93' \
  "Perl writing cases to system files" "             " 147
at_xfail=no
(
  $as_echo "1159. $at_setup_line: testing $at_desc ..."
  $at_traceon

$as_echo "perl-module.at:94" >"$at_check_line_file"
(test "$WITH_PERL_MODULE" = no) \
  && at_fn_check_skip 77 "$at_srcdir/perl-module.at:94"
cat >test.pl <<'_ATEOF'
use warnings;
    use strict;
    use PSPP;

    my $d = PSPP::Dict->new();
    PSPP::Var->new ($d, "id",
		    (
		     fmt=>PSPP::Fmt::F,
		     width=>2,
		     decimals=>0
		     )
		    );

    PSPP::Var->new ($d, "name",
			   (
			    fmt=>PSPP::Fmt::A,
			    width=>20,
			    )
			   );

    $d->set_documents ("This should not appear");
    $d->clear_documents ();
    $d->add_document ("This is a document line");

    $d->set_label ("This is the file label");

    # Check that we can write cases to system files.
    my $sysfile = PSPP::Sysfile->new ("testfile.sav", $d);
    my $res = $sysfile->append_case ( [34, "frederick"]);
    die "append case" if !$res;

    $res = $sysfile->append_case ( [34, "frederick", "extra"]);
    die "append case with too many variables" if $res;
    $sysfile->close ();

    # Check that sysfiles are closed properly automaticallly in the destructor.
    my $sysfile2 = PSPP::Sysfile->new ("testfile2.sav", $d);
    $res = $sysfile2->append_case ( [21, "wheelbarrow"]);
    die "append case 2" if !$res;

    $res = $sysfile->append_case ( [34, "frederick", "extra"]);
    die "append case with too many variables" if $res;

    # Don't close.  We want to test that the destructor does that.
_ATEOF

{ set +x
$as_echo "$at_srcdir/perl-module.at:141: LD_LIBRARY_PATH=\$abs_top_builddir/src/.libs \\
   DYLD_LIBRARY_PATH=\$abs_top_builddir/src/.libs \\
   \$PERL -I\$abs_top_builddir/perl-module/blib/arch \\
         -I\$abs_top_builddir/perl-module/blib/lib test.pl"
at_fn_check_prepare_notrace 'an embedded newline' "perl-module.at:141"
( $at_check_trace; LD_LIBRARY_PATH=$abs_top_builddir/src/.libs \
   DYLD_LIBRARY_PATH=$abs_top_builddir/src/.libs \
   $PERL -I$abs_top_builddir/perl-module/blib/arch \
         -I$abs_top_builddir/perl-module/blib/lib test.pl
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/perl-module.at:141"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >dump-dicts.sps <<'_ATEOF'
GET FILE='testfile.sav'.
DISPLAY DICTIONARY.
DISPLAY FILE LABEL.
DISPLAY DOCUMENTS.
LIST.

GET FILE='testfile2.sav'.
DISPLAY DICTIONARY.
DISPLAY FILE LABEL.
DISPLAY DOCUMENTS.
LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/perl-module.at:155: pspp -O format=csv dump-dicts.sps"
at_fn_check_prepare_trace "perl-module.at:155"
( $at_check_trace; pspp -O format=csv dump-dicts.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Variable,Description,Position
id,Format: F2.0,1
name,Format: A20,2

File label: This is the file label

Documents in the active dataset:

This is a document line

Table: Data List
id,name
34,frederick           

Variable,Description,Position
id,Format: F2.0,1
name,Format: A20,2

File label: This is the file label

Documents in the active dataset:

This is a document line

Table: Data List
id,name
21,wheelbarrow         
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/perl-module.at:155"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1159
#AT_START_1160
at_fn_group_banner 1160 'perl-module.at:186' \
  "Perl write variable parameters" "                 " 147
at_xfail=no
(
  $as_echo "1160. $at_setup_line: testing $at_desc ..."
  $at_traceon

$as_echo "perl-module.at:187" >"$at_check_line_file"
(test "$WITH_PERL_MODULE" = no) \
  && at_fn_check_skip 77 "$at_srcdir/perl-module.at:187"
cat >test.pl <<'_ATEOF'
use warnings;
    use strict;
    use PSPP;

    my $dict = PSPP::Dict->new();
    die "dictionary creation" if !ref $dict;

    my $int = PSPP::Var->new ($dict, "integer",
			      (width=>8, decimals=>0) );

    $int->set_label ("My Integer");

    $int->add_value_label (99, "Silly");
    $int->clear_value_labels ();
    $int->add_value_label (0, "Zero");
    $int->add_value_label (1, "Unity");
    $int->add_value_label (2, "Duality");

    my $str = PSPP::Var->new ($dict, "string",
			      (fmt=>PSPP::Fmt::A, width=>8) );


    $str->set_label ("My String");
    $str->add_value_label ("xx", "foo");
    $str->add_value_label ("yy", "bar");

    $str->set_missing_values ("this", "that");

    my $longstr = PSPP::Var->new ($dict, "longstring",
			      (fmt=>PSPP::Fmt::A, width=>9) );


    $longstr->set_label ("My Long String");
    my $re = $longstr->add_value_label ("xxx", "xfoo");

    $int->set_missing_values (9, 99);

    my $sysfile = PSPP::Sysfile->new ("testfile.sav", $dict);


    $sysfile->close ();
_ATEOF

{ set +x
$as_echo "$at_srcdir/perl-module.at:231: LD_LIBRARY_PATH=\$abs_top_builddir/src/.libs \\
   DYLD_LIBRARY_PATH=\$abs_top_builddir/src/.libs \\
   \$PERL -I\$abs_top_builddir/perl-module/blib/arch \\
         -I\$abs_top_builddir/perl-module/blib/lib test.pl"
at_fn_check_prepare_notrace 'an embedded newline' "perl-module.at:231"
( $at_check_trace; LD_LIBRARY_PATH=$abs_top_builddir/src/.libs \
   DYLD_LIBRARY_PATH=$abs_top_builddir/src/.libs \
   $PERL -I$abs_top_builddir/perl-module/blib/arch \
         -I$abs_top_builddir/perl-module/blib/lib test.pl
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/perl-module.at:231"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >dump-dict.sps <<'_ATEOF'
GET FILE='testfile.sav'.
DISPLAY DICTIONARY.
_ATEOF

{ set +x
$as_echo "$at_srcdir/perl-module.at:236: pspp -O format=csv dump-dict.sps"
at_fn_check_prepare_trace "perl-module.at:236"
( $at_check_trace; pspp -O format=csv dump-dict.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Variable,Description,Position
integer,\"Label: My Integer
Format: F8.0
Missing Values: 9; 99

Value,Label
0,Zero
1,Unity
2,Duality\",1
string,\"Label: My String
Format: A8
Missing Values: \"\"this    \"\"; \"\"that    \"\"

Value,Label
xx      ,foo
yy      ,bar\",2
longstring,\"Label: My Long String
Format: A9

Value,Label
xxx      ,xfoo\",3
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/perl-module.at:236"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1160
#AT_START_1161
at_fn_group_banner 1161 'perl-module.at:261' \
  "Perl dictionary survives system file" "           " 147
at_xfail=no
(
  $as_echo "1161. $at_setup_line: testing $at_desc ..."
  $at_traceon

$as_echo "perl-module.at:262" >"$at_check_line_file"
(test "$WITH_PERL_MODULE" = no) \
  && at_fn_check_skip 77 "$at_srcdir/perl-module.at:262"
cat >test.pl <<'_ATEOF'
use warnings;
use strict;
use PSPP;

my $sysfile ;

    {
	my $d = PSPP::Dict->new();

	PSPP::Var->new ($d, "id",
			(
			 fmt=>PSPP::Fmt::F,
			 width=>2,
			 decimals=>0
			 )
			);

	$sysfile = PSPP::Sysfile->new ("testfile.sav", $d);
    }

    my $res = $sysfile->append_case ([3]);
    print "Dictionary survives sysfile\n" if $res;
_ATEOF

{ set +x
$as_echo "$at_srcdir/perl-module.at:287: LD_LIBRARY_PATH=\$abs_top_builddir/src/.libs \\
   DYLD_LIBRARY_PATH=\$abs_top_builddir/src/.libs \\
   \$PERL -I\$abs_top_builddir/perl-module/blib/arch \\
         -I\$abs_top_builddir/perl-module/blib/lib test.pl"
at_fn_check_prepare_notrace 'an embedded newline' "perl-module.at:287"
( $at_check_trace; LD_LIBRARY_PATH=$abs_top_builddir/src/.libs \
   DYLD_LIBRARY_PATH=$abs_top_builddir/src/.libs \
   $PERL -I$abs_top_builddir/perl-module/blib/arch \
         -I$abs_top_builddir/perl-module/blib/lib test.pl
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Dictionary survives sysfile
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/perl-module.at:287"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1161
#AT_START_1162
at_fn_group_banner 1162 'perl-module.at:330' \
  "Perl read system file" "                          " 147
at_xfail=no
(
  $as_echo "1162. $at_setup_line: testing $at_desc ..."
  $at_traceon

$as_echo "perl-module.at:331" >"$at_check_line_file"
(test "$WITH_PERL_MODULE" = no) \
  && at_fn_check_skip 77 "$at_srcdir/perl-module.at:331"
cat >sample.sps <<'_ATEOF'
data list notable list /string (a8) longstring (a12) numeric (f10) date (date11) dollar (dollar8.2) datetime (datetime17)
begin data.
1111 One   1 1/1/1 1   1/1/1+01:01
2222 Two   2 2/2/2 2   2/2/2+02:02
3333 Three 3 3/3/3 3   3/3/3+03:03
.    .     . .     .   .
5555 Five  5 5/5/5 5   5/5/5+05:05
end data.


variable labels string 'A Short String Variable'
  /longstring 'A Long String Variable'
  /numeric 'A Numeric Variable'
  /date 'A Date Variable'
  /dollar 'A Dollar Variable'
  /datetime 'A Datetime Variable'.


missing values numeric (9, 5, 999).

missing values string ("3333").

add value labels
  /string '1111' 'ones' '2222' 'twos' '3333' 'threes'
  /numeric 1 'Unity' 2 'Duality' 3 'Thripality'.

variable attribute
    variables = numeric
    attribute=colour[1]('blue') colour[2]('pink') colour[3]('violet')
    attribute=size('large') nationality('foreign').


save outfile='sample.sav'.
_ATEOF

   { set +x
$as_echo "$at_srcdir/perl-module.at:332: pspp -O format=csv sample.sps"
at_fn_check_prepare_trace "perl-module.at:332"
( $at_check_trace; pspp -O format=csv sample.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/perl-module.at:332"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >test.pl <<'_ATEOF'
use warnings;
    use strict;
    use PSPP;

    my $sf = PSPP::Reader->open ("sample.sav");

    my $dict = $sf->get_dict ();

    for (my $v = 0 ; $v < $dict->get_var_cnt() ; $v++)
    {
       my $var = $dict->get_var ($v);
       my $name = $var->get_name ();
       my $label = $var->get_label ();

       print "Variable $v is \"$name\", label is \"$label\"\n";

       my $vl = $var->get_value_labels ();

       print "Value Labels:\n";
       print "$_ => $vl->{$_}\n" for sort (keys %$vl);
    }

    while (my @c = $sf->get_next_case () )
    {
       for (my $v = 0; $v < $dict->get_var_cnt(); $v++)
       {
	   print "val$v: \"$c[$v]\"\n";
       }
       print "\n";
    }
_ATEOF

{ set +x
$as_echo "$at_srcdir/perl-module.at:365: LD_LIBRARY_PATH=\$abs_top_builddir/src/.libs \\
   DYLD_LIBRARY_PATH=\$abs_top_builddir/src/.libs \\
   \$PERL -I\$abs_top_builddir/perl-module/blib/arch \\
         -I\$abs_top_builddir/perl-module/blib/lib test.pl"
at_fn_check_prepare_notrace 'an embedded newline' "perl-module.at:365"
( $at_check_trace; LD_LIBRARY_PATH=$abs_top_builddir/src/.libs \
   DYLD_LIBRARY_PATH=$abs_top_builddir/src/.libs \
   $PERL -I$abs_top_builddir/perl-module/blib/arch \
         -I$abs_top_builddir/perl-module/blib/lib test.pl
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Variable 0 is \"string\", label is \"A Short String Variable\"
Value Labels:
1111     => ones
2222     => twos
3333     => threes
Variable 1 is \"longstring\", label is \"A Long String Variable\"
Value Labels:
Variable 2 is \"numeric\", label is \"A Numeric Variable\"
Value Labels:
1 => Unity
2 => Duality
3 => Thripality
Variable 3 is \"date\", label is \"A Date Variable\"
Value Labels:
Variable 4 is \"dollar\", label is \"A Dollar Variable\"
Value Labels:
Variable 5 is \"datetime\", label is \"A Datetime Variable\"
Value Labels:
val0: \"1111    \"
val1: \"One         \"
val2: \"1\"
val3: \"13197686400\"
val4: \"1\"
val5: \"13197690060\"

val0: \"2222    \"
val1: \"Two         \"
val2: \"2\"
val3: \"13231987200\"
val4: \"2\"
val5: \"13231994520\"

val0: \"3333    \"
val1: \"Three       \"
val2: \"3\"
val3: \"13266028800\"
val4: \"3\"
val5: \"13266039780\"

val0: \".       \"
val1: \".           \"
val2: \"\"
val3: \"\"
val4: \"\"
val5: \"\"

val0: \"5555    \"
val1: \"Five        \"
val2: \"5\"
val3: \"13334630400\"
val4: \"5\"
val5: \"13334648700\"

" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/perl-module.at:365"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1162
#AT_START_1163
at_fn_group_banner 1163 'perl-module.at:422' \
  "Perl copying system files" "                      " 147
at_xfail=no
(
  $as_echo "1163. $at_setup_line: testing $at_desc ..."
  $at_traceon

$as_echo "perl-module.at:423" >"$at_check_line_file"
(test "$WITH_PERL_MODULE" = no) \
  && at_fn_check_skip 77 "$at_srcdir/perl-module.at:423"
cat >sample.sps <<'_ATEOF'
data list notable list /string (a8) longstring (a12) numeric (f10) date (date11) dollar (dollar8.2) datetime (datetime17)
begin data.
1111 One   1 1/1/1 1   1/1/1+01:01
2222 Two   2 2/2/2 2   2/2/2+02:02
3333 Three 3 3/3/3 3   3/3/3+03:03
.    .     . .     .   .
5555 Five  5 5/5/5 5   5/5/5+05:05
end data.


variable labels string 'A Short String Variable'
  /longstring 'A Long String Variable'
  /numeric 'A Numeric Variable'
  /date 'A Date Variable'
  /dollar 'A Dollar Variable'
  /datetime 'A Datetime Variable'.


missing values numeric (9, 5, 999).

missing values string ("3333").

add value labels
  /string '1111' 'ones' '2222' 'twos' '3333' 'threes'
  /numeric 1 'Unity' 2 'Duality' 3 'Thripality'.

variable attribute
    variables = numeric
    attribute=colour[1]('blue') colour[2]('pink') colour[3]('violet')
    attribute=size('large') nationality('foreign').


save outfile='sample.sav'.
_ATEOF

   { set +x
$as_echo "$at_srcdir/perl-module.at:424: pspp -O format=csv sample.sps"
at_fn_check_prepare_trace "perl-module.at:424"
( $at_check_trace; pspp -O format=csv sample.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/perl-module.at:424"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >test.pl <<'_ATEOF'
use warnings;
    use strict;
    use PSPP;

    my $input = PSPP::Reader->open ("sample.sav");

    my $dict = $input->get_dict ();

    my $output = PSPP::Sysfile->new ("copy.sav", $dict);

    while (my (@c) = $input->get_next_case () )
    {
      $output->append_case (\@c);
    }

    $output->close ();
_ATEOF

{ set +x
$as_echo "$at_srcdir/perl-module.at:443: LD_LIBRARY_PATH=\$abs_top_builddir/src/.libs \\
   DYLD_LIBRARY_PATH=\$abs_top_builddir/src/.libs \\
   \$PERL -I\$abs_top_builddir/perl-module/blib/arch \\
         -I\$abs_top_builddir/perl-module/blib/lib test.pl"
at_fn_check_prepare_notrace 'an embedded newline' "perl-module.at:443"
( $at_check_trace; LD_LIBRARY_PATH=$abs_top_builddir/src/.libs \
   DYLD_LIBRARY_PATH=$abs_top_builddir/src/.libs \
   $PERL -I$abs_top_builddir/perl-module/blib/arch \
         -I$abs_top_builddir/perl-module/blib/lib test.pl
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/perl-module.at:443"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >dump-dicts.sps <<'_ATEOF'
GET FILE='sample.sav'.
DISPLAY DICTIONARY.
LIST.

GET FILE='copy.sav'.
DISPLAY DICTIONARY.
LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/perl-module.at:453: pspp -O format=csv dump-dicts.sps"
at_fn_check_prepare_trace "perl-module.at:453"
( $at_check_trace; pspp -O format=csv dump-dicts.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Variable,Description,Position
string,\"Label: A Short String Variable
Format: A8
Missing Values: \"\"3333    \"\"

Value,Label
1111    ,ones
2222    ,twos
3333    ,threes\",1
longstring,\"Label: A Long String Variable
Format: A12\",2
numeric,\"Label: A Numeric Variable
Format: F10.0
Missing Values: 9; 5; 999

Value,Label
1,Unity
2,Duality
3,Thripality

Attribute,Value
colour[1],blue
colour[2],pink
colour[3],violet
nationality,foreign
size,large\",3
date,\"Label: A Date Variable
Format: DATE11\",4
dollar,\"Label: A Dollar Variable
Format: DOLLAR11.2\",5
datetime,\"Label: A Datetime Variable
Format: DATETIME17.0\",6

Table: Data List
string,longstring,numeric,date,dollar,datetime
1111    ,One         ,1,01-JAN-2001,\$1.00,01-JAN-2001 01:01
2222    ,Two         ,2,02-FEB-2002,\$2.00,02-FEB-2002 02:02
3333    ,Three       ,3,03-MAR-2003,\$3.00,03-MAR-2003 03:03
.       ,.           ,.,.,.  ,.
5555    ,Five        ,5,05-MAY-2005,\$5.00,05-MAY-2005 05:05

Variable,Description,Position
string,\"Label: A Short String Variable
Format: A8
Missing Values: \"\"3333    \"\"

Value,Label
1111    ,ones
2222    ,twos
3333    ,threes\",1
longstring,\"Label: A Long String Variable
Format: A12\",2
numeric,\"Label: A Numeric Variable
Format: F10.0
Missing Values: 9; 5; 999

Value,Label
1,Unity
2,Duality
3,Thripality

Attribute,Value
colour[1],blue
colour[2],pink
colour[3],violet
nationality,foreign
size,large\",3
date,\"Label: A Date Variable
Format: DATE11\",4
dollar,\"Label: A Dollar Variable
Format: DOLLAR11.2\",5
datetime,\"Label: A Datetime Variable
Format: DATETIME17.0\",6

Table: Data List
string,longstring,numeric,date,dollar,datetime
1111    ,One         ,1,01-JAN-2001,\$1.00,01-JAN-2001 01:01
2222    ,Two         ,2,02-FEB-2002,\$2.00,02-FEB-2002 02:02
3333    ,Three       ,3,03-MAR-2003,\$3.00,03-MAR-2003 03:03
.       ,.           ,.,.,.  ,.
5555    ,Five        ,5,05-MAY-2005,\$5.00,05-MAY-2005 05:05
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/perl-module.at:453"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1163
#AT_START_1164
at_fn_group_banner 1164 'perl-module.at:538' \
  "Perl value formatting" "                          " 147
at_xfail=no
(
  $as_echo "1164. $at_setup_line: testing $at_desc ..."
  $at_traceon

$as_echo "perl-module.at:539" >"$at_check_line_file"
(test "$WITH_PERL_MODULE" = no) \
  && at_fn_check_skip 77 "$at_srcdir/perl-module.at:539"
cat >dd.sps <<'_ATEOF'
DATA LIST LIST /d (DATETIME17).
BEGIN DATA.
11/9/2001+08:20
END DATA.

SAVE OUTFILE='dd.sav'.
_ATEOF

{ set +x
$as_echo "$at_srcdir/perl-module.at:548: pspp -O format=csv dd.sps"
at_fn_check_prepare_trace "perl-module.at:548"
( $at_check_trace; pspp -O format=csv dd.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Table: Reading free-form data from INLINE.
Variable,Format
d,DATETIME17.0
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/perl-module.at:548"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >test.pl <<'_ATEOF'
use warnings;
    use strict;
    use PSPP;

    my $sf = PSPP::Reader->open ("dd.sav");

    my $dict = $sf->get_dict ();

    my (@c) = $sf->get_next_case ();

    my $var = $dict->get_var (0);
    my $val = $c[0];
    my $formatted = PSPP::format_value ($val, $var);
    my $str = gmtime ($val - PSPP::PERL_EPOCH);
    print "Formatted string is \"$formatted\"\n";
    print "Perl representation is \"$str\"\n";
_ATEOF

{ set +x
$as_echo "$at_srcdir/perl-module.at:571: LD_LIBRARY_PATH=\$abs_top_builddir/src/.libs \\
   DYLD_LIBRARY_PATH=\$abs_top_builddir/src/.libs \\
   \$PERL -I\$abs_top_builddir/perl-module/blib/arch \\
         -I\$abs_top_builddir/perl-module/blib/lib test.pl"
at_fn_check_prepare_notrace 'an embedded newline' "perl-module.at:571"
( $at_check_trace; LD_LIBRARY_PATH=$abs_top_builddir/src/.libs \
   DYLD_LIBRARY_PATH=$abs_top_builddir/src/.libs \
   $PERL -I$abs_top_builddir/perl-module/blib/arch \
         -I$abs_top_builddir/perl-module/blib/lib test.pl
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Formatted string is \"11-SEP-2001 08:20\"
Perl representation is \"Tue Sep 11 08:20:00 2001\"
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/perl-module.at:571"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1164
#AT_START_1165
at_fn_group_banner 1165 'perl-module.at:577' \
  "Perl opening nonexistent file" "                  " 147
at_xfail=no
(
  $as_echo "1165. $at_setup_line: testing $at_desc ..."
  $at_traceon

$as_echo "perl-module.at:578" >"$at_check_line_file"
(test "$WITH_PERL_MODULE" = no) \
  && at_fn_check_skip 77 "$at_srcdir/perl-module.at:578"
cat >test.pl <<'_ATEOF'
use warnings;
    use strict;
    use PSPP;

    my $sf = PSPP::Reader->open ("no-such-file.sav");

    die "Returns undef on opening failure" if ref $sf;
    print $PSPP::errstr, "\n";
_ATEOF

{ set +x
$as_echo "$at_srcdir/perl-module.at:589: LD_LIBRARY_PATH=\$abs_top_builddir/src/.libs \\
   DYLD_LIBRARY_PATH=\$abs_top_builddir/src/.libs \\
   \$PERL -I\$abs_top_builddir/perl-module/blib/arch \\
         -I\$abs_top_builddir/perl-module/blib/lib test.pl"
at_fn_check_prepare_notrace 'an embedded newline' "perl-module.at:589"
( $at_check_trace; LD_LIBRARY_PATH=$abs_top_builddir/src/.libs \
   DYLD_LIBRARY_PATH=$abs_top_builddir/src/.libs \
   $PERL -I$abs_top_builddir/perl-module/blib/arch \
         -I$abs_top_builddir/perl-module/blib/lib test.pl
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo >>"$at_stderr"; $as_echo "Name \"PSPP::errstr\" used only once: possible typo at test.pl line 8.
" | \
  $at_diff - "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "An error occurred while opening \`no-such-file.sav': No such file or directory.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/perl-module.at:589"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1165
#AT_START_1166
at_fn_group_banner 1166 'perl-module.at:596' \
  "Perl missing values" "                            " 147
at_xfail=no
(
  $as_echo "1166. $at_setup_line: testing $at_desc ..."
  $at_traceon

$as_echo "perl-module.at:597" >"$at_check_line_file"
(test "$WITH_PERL_MODULE" = no) \
  && at_fn_check_skip 77 "$at_srcdir/perl-module.at:597"
cat >sample.sps <<'_ATEOF'
data list notable list /string (a8) longstring (a12) numeric (f10) date (date11) dollar (dollar8.2) datetime (datetime17)
begin data.
1111 One   1 1/1/1 1   1/1/1+01:01
2222 Two   2 2/2/2 2   2/2/2+02:02
3333 Three 3 3/3/3 3   3/3/3+03:03
.    .     . .     .   .
5555 Five  5 5/5/5 5   5/5/5+05:05
end data.


variable labels string 'A Short String Variable'
  /longstring 'A Long String Variable'
  /numeric 'A Numeric Variable'
  /date 'A Date Variable'
  /dollar 'A Dollar Variable'
  /datetime 'A Datetime Variable'.


missing values numeric (9, 5, 999).

missing values string ("3333").

add value labels
  /string '1111' 'ones' '2222' 'twos' '3333' 'threes'
  /numeric 1 'Unity' 2 'Duality' 3 'Thripality'.

variable attribute
    variables = numeric
    attribute=colour[1]('blue') colour[2]('pink') colour[3]('violet')
    attribute=size('large') nationality('foreign').


save outfile='sample.sav'.
_ATEOF

   { set +x
$as_echo "$at_srcdir/perl-module.at:598: pspp -O format=csv sample.sps"
at_fn_check_prepare_trace "perl-module.at:598"
( $at_check_trace; pspp -O format=csv sample.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/perl-module.at:598"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >test.pl <<'_ATEOF'
use warnings;
    use strict;
    use PSPP;

    my $sf = PSPP::Reader->open ("sample.sav");

    my $dict = $sf->get_dict ();

    my (@c) = $sf->get_next_case ();

    my $stringvar = $dict->get_var (0);
    my $numericvar = $dict->get_var (2);
    my $val = $c[0];

    die "Missing Value Negative String"
        if PSPP::value_is_missing ($val, $stringvar);

    $val = $c[2];

    die "Missing Value Negative Num"
        if PSPP::value_is_missing ($val, $numericvar);

    @c = $sf->get_next_case ();
    @c = $sf->get_next_case ();

    $val = $c[0];
    die "Missing Value Positive"
        if !PSPP::value_is_missing ($val, $stringvar);

    @c = $sf->get_next_case ();
    $val = $c[2];
    die "Missing Value Positive SYS"
        if !PSPP::value_is_missing ($val, $numericvar);

    @c = $sf->get_next_case ();
    $val = $c[2];
    die "Missing Value Positive Num"
        if !PSPP::value_is_missing ($val, $numericvar);
_ATEOF

{ set +x
$as_echo "$at_srcdir/perl-module.at:639: LD_LIBRARY_PATH=\$abs_top_builddir/src/.libs \\
   DYLD_LIBRARY_PATH=\$abs_top_builddir/src/.libs \\
   \$PERL -I\$abs_top_builddir/perl-module/blib/arch \\
         -I\$abs_top_builddir/perl-module/blib/lib test.pl"
at_fn_check_prepare_notrace 'an embedded newline' "perl-module.at:639"
( $at_check_trace; LD_LIBRARY_PATH=$abs_top_builddir/src/.libs \
   DYLD_LIBRARY_PATH=$abs_top_builddir/src/.libs \
   $PERL -I$abs_top_builddir/perl-module/blib/arch \
         -I$abs_top_builddir/perl-module/blib/lib test.pl
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/perl-module.at:639"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1166
#AT_START_1167
at_fn_group_banner 1167 'perl-module.at:642' \
  "Perl custom attributes" "                         " 147
at_xfail=no
(
  $as_echo "1167. $at_setup_line: testing $at_desc ..."
  $at_traceon

$as_echo "perl-module.at:643" >"$at_check_line_file"
(test "$WITH_PERL_MODULE" = no) \
  && at_fn_check_skip 77 "$at_srcdir/perl-module.at:643"
cat >sample.sps <<'_ATEOF'
data list notable list /string (a8) longstring (a12) numeric (f10) date (date11) dollar (dollar8.2) datetime (datetime17)
begin data.
1111 One   1 1/1/1 1   1/1/1+01:01
2222 Two   2 2/2/2 2   2/2/2+02:02
3333 Three 3 3/3/3 3   3/3/3+03:03
.    .     . .     .   .
5555 Five  5 5/5/5 5   5/5/5+05:05
end data.


variable labels string 'A Short String Variable'
  /longstring 'A Long String Variable'
  /numeric 'A Numeric Variable'
  /date 'A Date Variable'
  /dollar 'A Dollar Variable'
  /datetime 'A Datetime Variable'.


missing values numeric (9, 5, 999).

missing values string ("3333").

add value labels
  /string '1111' 'ones' '2222' 'twos' '3333' 'threes'
  /numeric 1 'Unity' 2 'Duality' 3 'Thripality'.

variable attribute
    variables = numeric
    attribute=colour[1]('blue') colour[2]('pink') colour[3]('violet')
    attribute=size('large') nationality('foreign').


save outfile='sample.sav'.
_ATEOF

   { set +x
$as_echo "$at_srcdir/perl-module.at:644: pspp -O format=csv sample.sps"
at_fn_check_prepare_trace "perl-module.at:644"
( $at_check_trace; pspp -O format=csv sample.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/perl-module.at:644"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >test.pl <<'_ATEOF'
use warnings;
    use strict;
    use PSPP;

    my $sf = PSPP::Reader->open ("sample.sav");

    my $dict = $sf->get_dict ();

    my $var = $dict->get_var_by_name ("numeric");

    my $attr = $var->get_attributes ();

    foreach my $k (sort (keys (%$attr)))
    {
	my $ll = $attr->{$k};
	print "$k =>";
	print map "$_\n", join ', ', @$ll;
    }
_ATEOF

{ set +x
$as_echo "$at_srcdir/perl-module.at:665: LD_LIBRARY_PATH=\$abs_top_builddir/src/.libs \\
   DYLD_LIBRARY_PATH=\$abs_top_builddir/src/.libs \\
   \$PERL -I\$abs_top_builddir/perl-module/blib/arch \\
         -I\$abs_top_builddir/perl-module/blib/lib test.pl"
at_fn_check_prepare_notrace 'an embedded newline' "perl-module.at:665"
( $at_check_trace; LD_LIBRARY_PATH=$abs_top_builddir/src/.libs \
   DYLD_LIBRARY_PATH=$abs_top_builddir/src/.libs \
   $PERL -I$abs_top_builddir/perl-module/blib/arch \
         -I$abs_top_builddir/perl-module/blib/lib test.pl
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "\$@Role =>0
colour =>blue, pink, violet
nationality =>foreign
size =>large
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/perl-module.at:665"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1167
#AT_START_1168
at_fn_group_banner 1168 'perl-module.at:673' \
  "Perl Pspp.t" "                                    " 147
at_xfail=no
(
  $as_echo "1168. $at_setup_line: testing $at_desc ..."
  $at_traceon

$as_echo "perl-module.at:674" >"$at_check_line_file"
(test "$WITH_PERL_MODULE" = no) \
  && at_fn_check_skip 77 "$at_srcdir/perl-module.at:674"
# Skip this test if Perl's Text::Diff module is not installed.
{ set +x
$as_echo "$at_srcdir/perl-module.at:676: perl -MText::Diff -e '' || exit 77"
at_fn_check_prepare_trace "perl-module.at:676"
( $at_check_trace; perl -MText::Diff -e '' || exit 77
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/perl-module.at:676"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/perl-module.at:677: LD_LIBRARY_PATH=\$abs_top_builddir/src/.libs \\
   DYLD_LIBRARY_PATH=\$abs_top_builddir/src/.libs \\
   \$PERL -I\$abs_top_builddir/perl-module/blib/arch \\
         -I\$abs_top_builddir/perl-module/blib/lib \$abs_top_builddir/perl-module/t/Pspp.t"
at_fn_check_prepare_notrace 'an embedded newline' "perl-module.at:677"
( $at_check_trace; LD_LIBRARY_PATH=$abs_top_builddir/src/.libs \
   DYLD_LIBRARY_PATH=$abs_top_builddir/src/.libs \
   $PERL -I$abs_top_builddir/perl-module/blib/arch \
         -I$abs_top_builddir/perl-module/blib/lib $abs_top_builddir/perl-module/t/Pspp.t
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
echo stderr:; cat "$at_stderr"
echo >>"$at_stdout"; $as_echo "1..37
ok 1 - use PSPP;
ok 2 - Dictionary Creation
ok 3
ok 4 - Trap illegal variable name
ok 5
ok 6 - Accept legal variable name
ok 7
ok 8 - Trap duplicate variable name
ok 9
ok 10 - Accept valid format
ok 11
ok 12 - Create sysfile object
ok 13 - Write system file
ok 14 - Append Case
ok 15 - Appending Case with too many variables
ok 16 - existance
ok 17 - Append Case 2
ok 18 - existance2
ok 19 - Check output
ok 20 - Dictionary Creation 2
ok 21 - Value label for short string
ok 22 - Value label for long string
ok 23 - Check output 2
ok 24 - Dictionary survives sysfile
ok 25 - Basic reader operation
ok 26 - Streaming of files
Formatted string is \"11-SEP-2001 08:20\"
ok 27 - format_value function
ok 28 - Perl representation of time
ok 29 - Returns undef on opening failure
ok 30 - Error string on open failure
ok 31 - Missing Value Negative String
ok 32 - Missing Value Negative Num
ok 33 - Missing Value Positive
ok 34 - Missing Value Positive SYS
ok 35 - Missing Value Positive Num
ok 36 - Custom Attributes
ok 37 - Case count
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/perl-module.at:677"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1168
