#! /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=auto
# 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 slow;
3;data-in.at:176;reading big numbers;data-in;
4;data-in.at:256;DATE input format;data-in;
5;data-in.at:265;ADATE input format;data-in;
6;data-in.at:274;EDATE input format;data-in;
7;data-in.at:283;JDATE input format;data-in;
8;data-in.at:292;SDATE input format;data-in;
9;data-in.at:301;QYR input format;data-in;
10;data-in.at:310;MOYR input format;data-in;
11;data-in.at:319;WKYR input format;data-in;
12;data-in.at:328;DATETIME input format;data-in slow;
13;data-in.at:338;YMDHMS input format;data-in slow;
14;data-in.at:348;MTIME input format;data-in;
15;data-in.at:357;TIME input format;data-in;
16;data-in.at:366;DTIME input format;data-in;
17;data-in.at:375;binary and hexadecimal input (IB, PIB, and PIBHEX formats);slow;
18;data-in.at:397;BCD input (P and PK formats);slow;
19;data-in.at:418;legacy input (N and Z formats);slow;
20;data-in.at:439;WKDAY input format;;
21;data-in.at:499;MONTH input format;;
22;data-out.at:19;numeric format output;data-out slow;
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 slow;
32;datasheet-test.at:29;3x3, 3 backing rows, backing widths 0,0,0;datasheet slow;
33;datasheet-test.at:30;3x3, 3 backing rows, backing widths 0;datasheet slow;
34;datasheet-test.at:31;3x3, 3 backing rows, backing widths 5;datasheet slow;
35;datasheet-test.at:32;3x3, 1 backing rows, backing widths 0,9,0;datasheet slow;
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;file.at:126;Reusing inline file;;
43;format-guesser.at:19;format guesser;;
44;mdd-file.at:19;write MDD file;save get system file;
45;pc+-file-reader.at:19;variable labels and missing values;sack synthetic pc+ file positive;
46;pc+-file-reader.at:130;value labels;sack synthetic pc+ file positive;
47;pc+-file-reader.at:274;compressed data;sack synthetic pc+ file positive;
48;pc+-file-reader.at:353;weighted;sack synthetic pc+ file negative;
49;pc+-file-reader.at:425;unspecified character encoding;sack synthetic pc+ file negative;
50;pc+-file-reader.at:517;unexpected fixed values;sack synthetic pc+ file negative;
51;pc+-file-reader.at:575;short main header;sack synthetic pc+ file negative;
52;pc+-file-reader.at:626;long main header;sack synthetic pc+ file negative;
53;pc+-file-reader.at:678;invalid compression type;sack synthetic pc+ file negative;
54;pc+-file-reader.at:730;unrealistic number of cases;sack synthetic pc+ file negative;
55;pc+-file-reader.at:782;labels bad offsets;sack synthetic pc+ file negative;
56;pc+-file-reader.at:847;record 1 bad length;sack synthetic pc+ file negative;
57;pc+-file-reader.at:900;bad variable format;sack synthetic pc+ file negative;
58;pc+-file-reader.at:952;bad variable name;sack synthetic pc+ file negative;
59;pc+-file-reader.at:1004;duplicate variable name;sack synthetic pc+ file negative;
60;pc+-file-reader.at:1060;partial case;sack synthetic pc+ file negative;
61;pc+-file-reader.at:1124;case extends past end of data record;sack synthetic pc+ file negative;
62;pc+-file-reader.at:1189;corrupt compressed data;sack synthetic pc+ file positive;
63;pc+-file-reader.at:1269;invalid weight index;sack synthetic pc+ file negative;
64;pc+-file-reader.at:1321;string weight;sack synthetic pc+ file negative;
65;por-file.at:19;overwriting portable file;;
66;por-file.at:34;overwriting portable file atomically;;
67;por-file.at:52;write to same portable file being read;;
68;por-file.at:86;write portable file with value labels;;
69;sys-file-reader.at:19;variable labels and missing values;sack synthetic system file positive;
70;sys-file-reader.at:184;unspecified number of variable positions;sack synthetic system file positive;
71;sys-file-reader.at:235;wrong number of variable positions but version 13;sack synthetic system file positive;
72;sys-file-reader.at:289;value labels;sack synthetic system file positive;
73;sys-file-reader.at:472;documents;sack synthetic system file positive;
74;sys-file-reader.at:533;empty document record;sack synthetic system file positive;
75;sys-file-reader.at:580;multiple response sets;sack synthetic system file positive;
76;sys-file-reader.at:673;extra product info;sack synthetic system file positive;
77;sys-file-reader.at:721;variable display parameters, without width;sack synthetic system file positive;
78;sys-file-reader.at:804;variable display parameters, with width;sack synthetic system file positive;
79;sys-file-reader.at:887;long variable names;sack synthetic system file positive;
80;sys-file-reader.at:954;very long strings;sack synthetic system file positive;
81;sys-file-reader.at:1023;data file and variable attributes;sack synthetic system file positive;
82;sys-file-reader.at:1115;variable roles;sack synthetic system file positive;
83;sys-file-reader.at:1183;compressed data;sack synthetic system file positive;
84;sys-file-reader.at:1246;compressed data, zero bias;sack synthetic system file positive;
85;sys-file-reader.at:1309;compressed data, other bias;sack synthetic system file positive;
86;sys-file-reader.at:1445;zcompressed data;sack synthetic system file positive zlib;
87;sys-file-reader.at:1476;no variables;sack synthetic system file negative;
88;sys-file-reader.at:1513;unspecified character encoding;sack synthetic system file positive;
89;sys-file-reader.at:1549;misplaced type 4 record;sack synthetic system file negative;
90;sys-file-reader.at:1572;bad record type;sack synthetic system file negative;
91;sys-file-reader.at:1595;wrong number of variable positions;sack synthetic system file negative;
92;sys-file-reader.at:1621;variable name may not begin with \`#';sack synthetic system file negative;
93;sys-file-reader.at:1647;variable name may not be reserved word;sack synthetic system file negative;
94;sys-file-reader.at:1673;variable width must be between 0 and 255;sack synthetic system file negative;
95;sys-file-reader.at:1701;duplicate variable name;sack synthetic system file negative;
96;sys-file-reader.at:1734;variable label indicator not 0 or 1;sack synthetic system file negative;
97;sys-file-reader.at:1760;invalid numeric missing value indicator;sack synthetic system file negative;
98;sys-file-reader.at:1786;invalid string missing value indicator;sack synthetic system file negative;
99;sys-file-reader.at:1812;missing string continuation record;sack synthetic system file negative;
100;sys-file-reader.at:1839;invalid variable format;sack synthetic system file negative;
101;sys-file-reader.at:1888;invalid long string missing values;sack synthetic system file negative;
102;sys-file-reader.at:1977;weighting variable must be numeric;sack synthetic system file negative;
103;sys-file-reader.at:2012;bad weighting variable index;sack synthetic system file negative;
104;sys-file-reader.at:2041;variable index is long string continuation;sack synthetic system file negative;
105;sys-file-reader.at:2071;multiple documents records;sack synthetic system file negative;
106;sys-file-reader.at:2106;extension record too large;sack synthetic system file negative;
107;sys-file-reader.at:2130;unknown extension record;sack synthetic system file negative;
108;sys-file-reader.at:2160;bad machine integer info size;sack synthetic system file negative;
109;sys-file-reader.at:2190;bad machine integer info float format;sack synthetic system file negative;
110;sys-file-reader.at:2220;bad machine integer info endianness;sack synthetic system file negative;
111;sys-file-reader.at:2257;bad machine floating-point info size;sack synthetic system file negative;
112;sys-file-reader.at:2287;wrong special floating point values;sack synthetic system file negative;
113;sys-file-reader.at:2320;bad mrsets name;sack synthetic system file negative multiple response;
114;sys-file-reader.at:2405;missing space after C in mrsets;sack synthetic system file negative multiple response;
115;sys-file-reader.at:2433;missing space after E in mrsets;sack synthetic system file negative multiple response;
116;sys-file-reader.at:2461;missing label source in mrsets;sack synthetic system file negative multiple response;
117;sys-file-reader.at:2491;unexpected label source in mrsets;sack synthetic system file negative multiple response;
118;sys-file-reader.at:2521;bad type character in mrsets;sack synthetic system file negative multiple response;
119;sys-file-reader.at:2549;bad counted string length in mrsets;sack synthetic system file negative multiple response;
120;sys-file-reader.at:2577;missing space in counted string in mrsets;sack synthetic system file negative multiple response;
121;sys-file-reader.at:2605;counted string too long in mrsets;sack synthetic system file negative multiple response;
122;sys-file-reader.at:2633;missing space after counted string in mrsets;sack synthetic system file negative multiple response;
123;sys-file-reader.at:2661;missing newline after variable name in mrsets;sack synthetic system file negative multiple response;
124;sys-file-reader.at:2691;duplicate variable name in mrsets;sack synthetic system file negative multiple response;
125;sys-file-reader.at:2721;mixed variable types in mrsets;sack synthetic system file negative multiple response;
126;sys-file-reader.at:2752;missing newline after variable name in mrsets;sack synthetic system file negative multiple response;
127;sys-file-reader.at:2780;zero or one variable in mrset;sack synthetic system file negative multiple response;
128;sys-file-reader.at:2810;wrong display parameter size;sack synthetic system file negative;
129;sys-file-reader.at:2839;wrong display parameter count;sack synthetic system file negative;
130;sys-file-reader.at:2868;wrong display measurement level;sack synthetic system file negative;
131;sys-file-reader.at:2897;wrong display alignment;sack synthetic system file negative;
132;sys-file-reader.at:2926;bad variable name in variable/value pair;sack synthetic system file negative;
133;sys-file-reader.at:2956;duplicate long variable name;sack synthetic system file negative;
134;sys-file-reader.at:3001;bad very long string length;sack synthetic system file negative;
135;sys-file-reader.at:3039;bad very long string segment width;sack synthetic system file negative;
136;sys-file-reader.at:3074;too many value labels;sack synthetic system file negative;
137;sys-file-reader.at:3096;missing type 4 record;sack synthetic system file negative;
138;sys-file-reader.at:3126;value label with no associated variables;sack synthetic system file negative;
139;sys-file-reader.at:3150;type 4 record names long string variable;sack synthetic system file negative;
140;sys-file-reader.at:3181;value label variable indexes must be in correct range;sack synthetic system file negative;
141;sys-file-reader.at:3224;value label variable indexes must not be long string continuation;sack synthetic system file negative;
142;sys-file-reader.at:3255;variables for value label must all be same type;sack synthetic system file negative;
143;sys-file-reader.at:3286;duplicate value labels type;sack synthetic system file negative;
144;sys-file-reader.at:3320;missing attribute value;sack synthetic system file negative;
145;sys-file-reader.at:3360;unquoted attribute value;sack synthetic system file negative;
146;sys-file-reader.at:3401;duplicate attribute name;sack synthetic system file negative;
147;sys-file-reader.at:3443;bad variable name in long string value label;sack synthetic system file negative;
148;sys-file-reader.at:3502;fewer data records than indicated by file header;sack synthetic system file negative;
149;sys-file-reader.at:3542;partial data record between variables;sack synthetic system file negative;
150;sys-file-reader.at:3576;partial data record within long string;sack synthetic system file negative;
151;sys-file-reader.at:3610;partial compressed data record;sack synthetic system file positive;
152;sys-file-reader.at:3658;zcompressed data - bad zheader_ofs;sack synthetic system file negative zlib;
153;sys-file-reader.at:3670;zcompressed data - bad ztrailer_ofs;sack synthetic system file negative zlib;
154;sys-file-reader.at:3684;zcompressed data - invalid ztrailer_len;sack synthetic system file negative zlib;
155;sys-file-reader.at:3697;zcompressed data - wrong ztrailer_len;sack synthetic system file negative zlib;
156;sys-file-reader.at:3710;zcompressed data - wrong ztrailer_bias;sack synthetic system file negative zlib;
157;sys-file-reader.at:3722;zcompressed data - wrong ztrailer_zero;sack synthetic system file negative zlib;
158;sys-file-reader.at:3734;zcompressed data - wrong block_size;sack synthetic system file negative zlib;
159;sys-file-reader.at:3746;zcompressed data - wrong n_blocks;sack synthetic system file negative zlib;
160;sys-file-reader.at:3758;zcompressed data - wrong uncompressed_ofs;sack synthetic system file negative zlib;
161;sys-file-reader.at:3770;zcompressed data - wrong compressed_ofs;sack synthetic system file negative zlib;
162;sys-file-reader.at:3782;zcompressed data - compressed sizes don't add up;sack synthetic system file negative zlib;
163;sys-file-reader.at:3848;zcompressed data - uncompressed_size > block_size;sack synthetic system file negative zlib;
164;sys-file-reader.at:3860;zcompressed data - compression expands data too much;sack synthetic system file negative zlib;
165;sys-file-reader.at:3873;zcompressed data - compressed sizes don't add up;sack synthetic system file negative zlib;
166;sys-file-reader.at:3890;integer overflows in long string missing values;system file negative;
167;sys-file-reader.at:3903;null dereference skipping bad extension record 18;system file negative;
168;sys-file.at:20;write and read numeric data;save get system file;
169;sys-file.at:62;write and read long string value labels and missing values;save get system file;
170;sys-file.at:112;write and read compressed files;save get system file;
171;sys-file.at:139;overwriting system file;;
172;sys-file.at:154;overwriting system file atomically;;
173;sys-file.at:173;write to same system file being read;;
174;sys-file.at:204;nonempty case_map doesn't crash;save system file;
175;sys-file.at:230;system files with -1 case_size;save get;
176;sys-file.at:289;write v2 system file;save;
177;sys-file.at:330;read very long strings written by SPSS 13;;
178;sys-file.at:353;read very long strings written by SPSS 14;;
179;sys-file.at:420;save very long string -- uncompressed;;
180;sys-file.at:421;save very long string -- compressed;;
181;sys-file.at:426;system file character encoding;;
182;encrypted-file.at:19;decrypt an encrypted system file;system file decrypt pspp-convert;
183;encrypted-file.at:45;decrypt an encrypted syntax file;syntax file decrypt pspp-convert;
184;encrypted-file.at:68;decrypt an encrypted viewer file;syntax file decrypt pspp-convert spv;
185;command.at:20;command parser crash bug;;
186;command.at:36;FINISH executes immediately;;
187;command.at:42;ERASE -- safer mode;;
188;command.at:57;ERASE -- not safer mode;;
189;command.at:70;N OF CASES;;
190;command.at:109;COMMENT at end of file;;
191;do-if.at:19;DO IF;;
192;do-if.at:68;unpaired END IF crash;;
193;do-if.at:80;ELSE without DO IF;;
194;do-repeat.at:19;DO REPEAT -- simple;;
195;do-repeat.at:43;DO REPEAT -- containing BEGIN DATA;;
196;do-repeat.at:78;DO REPEAT -- dummy vars not expanded in include files;;
197;do-repeat.at:108;DO REPEAT -- nested;;
198;do-repeat.at:141;DO REPEAT -- empty;;
199;do-repeat.at:158;DO REPEAT -- missing END REPEAT;;
200;loop.at:29;LOOP with index;;
201;loop.at:54;LOOP with IF condition;;
202;loop.at:81;LOOP with END IF condition;;
203;loop.at:109;LOOP with index and IF based on index;;
204;loop.at:131;LOOP with index and END IF based on index;;
205;loop.at:155;LOOP with index and IF and END IF based on index;;
206;loop.at:175;LOOP with no conditions containing BREAK;;
207;loop.at:204;LOOP with no conditions that ends due to MXLOOPS;;
208;loop.at:232;LOOP with IF condition that ends due to MXLOOPS;;
209;temporary.at:20;TEMPORARY as first transformation;;
210;data-list.at:19;DATA LIST LIST with empty fields;;
211;data-list.at:50;DATA LIST LIST with explicit delimiters;;
212;data-list.at:79;DATA LIST FREE with SKIP;;
213;data-list.at:113;DATA LIST LIST with SKIP and tab delimiter;;
214;data-list.at:162;DATA LIST FREE with explicit delimiter at end of line;;
215;data-list.at:223;DATA LIST FIXED with multiple records per case;;
216;data-list.at:255;DATA LIST FIXED with empty trailing record;;
217;data-list.at:285;DATA LIST with various line-ends;;
218;data-list.at:309;DATA LIST properly expands tabs in input;;
219;data-list.at:339;DATA LIST FREE and LIST report missing delimiters;;
220;data-list.at:357;DATA LIST FREE and LIST assume a width if omitted;;
221;data-list.at:370;DATA LIST Decimal comma;;
222;data-list.at:405;DATA LIST - Negative SKIP;;
223;data-list.at:421;DATA LIST - Negative RECORDS;;
224;data-reader.at:21;BEGIN DATA as part of a procedure;;
225;data-reader.at:52;BEGIN DATA as an independent command;;
226;data-reader.at:209;read and write files with MODE=BINARY;;
227;data-reader.at:215;read and write files with MODE=360 /RECFORM=FIXED /LRECL=32;;
228;data-reader.at:225;read and write files with MODE=360 /RECFORM=VARIABLE;;
229;data-reader.at:232;read and write files with MODE=360 /RECFORM=SPANNED;;
230;dataset.at:19;DATASET COPY;;
231;dataset.at:110;DATASET DECLARE;;
232;dataset.at:139;DATASET NAME deletes duplicate name;;
233;dataset.at:161;DATASET ACTIVATE deletes unnamed dataset;;
234;dataset.at:179;DATASET ACTIVATE executes pending transformations;;
235;dataset.at:228;DATASET CLOSE;;
236;dataset.at:302;DATASET heap overflow;;
237;file-handle.at:19;FILE HANDLE;;
238;get-data-spreadsheet.at:171;GET DATA /TYPE=GNM with CELLRANGE;;
239;get-data-spreadsheet.at:171;GET DATA /TYPE=GNM with CELLRANGE and READNAMES;;
240;get-data-spreadsheet.at:171;GET DATA /TYPE=GNM without CELLRANGE;;
241;get-data-spreadsheet.at:171;GET DATA /TYPE=GNM with missing data;;
242;get-data-spreadsheet.at:171;GET DATA /TYPE=GNM with no options;;
243;get-data-spreadsheet.at:171;GET DATA /TYPE=GNM with empty sheet;;
244;get-data-spreadsheet.at:171;GET DATA /TYPE=GNM with nonexistent sheet;;
245;get-data-spreadsheet.at:174;GET DATA /TYPE=GNM sheet index bug;;
246;get-data-spreadsheet.at:322;GET DATA /TYPE=GNM assert-fail;;
247;get-data-spreadsheet.at:375;GET DATA /TYPE=ODS with CELLRANGE;;
248;get-data-spreadsheet.at:375;GET DATA /TYPE=ODS with CELLRANGE and READNAMES;;
249;get-data-spreadsheet.at:375;GET DATA /TYPE=ODS without CELLRANGE;;
250;get-data-spreadsheet.at:375;GET DATA /TYPE=ODS with missing data;;
251;get-data-spreadsheet.at:375;GET DATA /TYPE=ODS with no options;;
252;get-data-spreadsheet.at:375;GET DATA /TYPE=ODS with empty sheet;;
253;get-data-spreadsheet.at:375;GET DATA /TYPE=ODS with nonexistent sheet;;
254;get-data-spreadsheet.at:378;GET DATA /TYPE=ODS crash;;
255;get-data-spreadsheet.at:393;GET DATA /TYPE=ODS readnames;;
256;get-data-psql.at:147;GET DATA /TYPE=PSQL;slow;
257;get-data-txt.at:23;GET DATA /TYPE=TXT with explicit delimiters;;
258;get-data-txt.at:45;GET DATA /TYPE=TXT with FIRSTCASE;;
259;get-data-txt.at:83;GET DATA /TYPE=TXT with FIRSTCASE and tab delimiter;;
260;get-data-txt.at:132;GET DATA /TYPE=TXT with multiple records per case;;
261;get-data-txt.at:161;GET DATA /TYPE=TXT with empty trailing record;;
262;get-data-txt.at:194;GET DATA /TYPE=TXT password example;;
263;get-data-txt.at:225;GET DATA /TYPE=TXT cars example;;
264;get-data-txt.at:272;GET DATA /TYPE=TXT pets example;;
265;get-data-txt.at:305;GET DATA /TYPE=TXT with IMPORTCASE;;
266;get-data-txt.at:332;GET DATA /TYPE=TXT with ENCODING subcommand;;
267;get-data-txt.at:350;GET DATA /TYPE= truncated;;
268;get-data-txt.at:363;GET DATA /TYPE=txt bug;;
269;get-data-txt.at:400;GET DATA /TYPE=txt another bug;;
270;get.at:21;GET data works in multiple procedures;;
271;get.at:72;GET nonexistent file doesn't crash;;
272;get.at:106;GET with /KEEP=ALL crashes -- uncompressed;;
273;get.at:107;GET with /KEEP=ALL crashes -- compressed;;
274;get.at:111;GET data no type;;
275;inpt-pgm.at:21;INPUT PROGRAM invalid syntax crash;;
276;inpt-pgm.at:37;INPUT PROGRAM invalid syntax crash;;
277;inpt-pgm.at:52;INPUT PROGRAM infinite loop;;
278;inpt-pgm.at:69;INPUT PROGRAM with VECTOR and EXECUTE;;
279;list.at:19;LIST plain cases;;
280;list.at:61;LIST numbered cases;;
281;list.at:113;LIST with split file;;
282;list.at:158;LIST lots of variables;;
283;list.at:184;LIST selected cases;;
284;list.at:252;LIST very long string;;
285;list.at:281;LIST crash on invalid input;;
286;list.at:301;LIST tutorial example;;
287;match-files.at:120;MATCH FILES -- system file and system file;;
288;match-files.at:121;MATCH FILES -- system file and active file;;
289;match-files.at:122;MATCH FILES -- active file and system file;;
290;match-files.at:123;MATCH FILES -- system file and system table;;
291;match-files.at:124;MATCH FILES -- system file and active table;;
292;match-files.at:125;MATCH FILES -- active file and system table;;
293;match-files.at:127;MATCH FILES parallel match;;
294;match-files.at:154;MATCH FILES bug with TABLE from active dataset;;
295;match-files.at:186;MATCH FILES bug with scratch variables;;
296;match-files.at:222;MATCH FILES with incompatible variable types;;
297;matrix-data.at:19;Matrix data (lower file);;
298;matrix-data.at:66;Matrix data (upper);;
299;matrix-data.at:100;Matrix data (full);;
300;matrix-data.at:137;Matrix data (upper nodiagonal);;
301;matrix-data.at:171;Matrix data (lower nodiagonal);;
302;matrix-data.at:206;Matrix data split data;;
303;matrix-data.at:266;Matrix data duplicate variable;;
304;matrix-data.at:298;Matrix data - long variable names;;
305;matrix-data.at:334;Matrix reader - read integrity;;
306;matrix-data.at:384;Matrix data - too many rows;;
307;matrix-data.at:424;Matrix data (badly formed);;
308;matrix-data.at:451;Matrix data (N subcommand);;
309;matrix-data.at:490;Matrix data crash;;
310;print-space.at:19;PRINT SPACE without arguments;;
311;print-space.at:38;PRINT SPACE with number;;
312;print-space.at:59;PRINT SPACE to file;;
313;print-space.at:80;PRINT SPACE to file with number;;
314;print.at:36;PRINT numeric variables;;
315;print.at:93;PRINT string variables;;
316;print.at:120;PRINT to file;;
317;print.at:165;PRINT crash bug;;
318;print.at:186;WRITE to file;;
319;print.at:229;PRINT overwrites file;;
320;print.at:245;PRINT overwrites file atomically;;
321;print.at:263;PRINT to same file being read;;
322;print.at:279;PRINT to special file;;
323;print.at:308;PRINT with special line ends;;
324;save.at:19;IMPORT and EXPORT;;
325;save.at:47;SAVE -- delete unselected;;
326;save-translate.at:39;CSV output -- defaults;save translate;
327;save-translate.at:48;CSV output -- recode missing, delete unselected;save translate;
328;save-translate.at:56;CSV output -- var names, formats;save translate;
329;save-translate.at:67;CSV output -- comma as decimal point;save translate;
330;save-translate.at:77;CSV output -- custom delimiter, qualifier;save translate;
331;save-translate.at:88;CSV output -- KEEP, RENAME quoted;save translate;
332;save-translate.at:99;CSV output -- KEEP, RENAME multi quoted;save translate;
333;save-translate.at:117;CSV output -- KEEP, RENAME bad name ;;
334;save-translate.at:150;TAB output;save translate;
335;update.at:93;SAVE RENAME with TO;;
336;attributes.at:19;VARIABLE ATTRIBUTES and DATAFILE ATTRIBUTES;;
337;apply.at:19;APPLY DICTIONARY;;
338;delete-variables.at:20;DELETE VARIABLES with FILTER;;
339;formats.at:19;FORMATS positive tests;;
340;formats.at:68;FORMATS negative tests;;
341;missing-values.at:19;MISSING VALUES valid cases;;
342;missing-values.at:146;MISSING VALUES invalid cases;;
343;mrsets.at:112;MRSETS add, display, delete;;
344;mrsets.at:182;MRSETS read and write;;
345;mrsets.at:196;MRSETS names must begin with \$;;
346;mrsets.at:206;MRSETS must have at least 2 variables;;
347;mrsets.at:216;MRSETS does not allow noninteger VALUE;;
348;mrsets.at:226;MRSETS requires NAME to define a group;;
349;mrsets.at:236;MRSETS requires VARIABLES to define a group;;
350;mrsets.at:246;MRSETS variables must be same type;;
351;mrsets.at:258;MRSETS variables and VALUE must be same type;;
352;mrsets.at:271;MRSETS VALUE must not be too wide;;
353;mrsets.at:281;MRSETS LABEL and LABELSOURCE are exclusive;;
354;mrsets.at:292;MRSETS DISPLAY or DELETE unknown group;;
355;modify-variables.at:19;MODIFY VARS /REORDER;reorder;
356;modify-variables.at:108;MODIFY VARS /RENAME;rename;
357;modify-variables.at:173;MODIFY VARS /DROP and /KEEP;drop keep;
358;modify-variables.at:241;MODIFY VARS crash;;
359;rename-variables.at:19;RENAME VARIABLES;;
360;rename-variables.at:64;RENAME VARIABLES -- multiple sets;;
361;rename-variables.at:93;RENAME VARIABLES -- invalid syntax 1;;
362;rename-variables.at:105;RENAME VARIABLES -- invalid syntax 2;;
363;rename-variables.at:119;RENAME VARIABLES -- invalid syntax 3;;
364;sort-variables.at:19;SORT VARIABLES;;
365;split-file.at:19;SPLIT FILE - basic test;;
366;split-file.at:77;SPLIT FILE  - vs procedures;;
367;sys-file-info.at:19;SYSFILE INFO;;
368;sys-file-info.at:68;DISPLAY FILE LABEL;;
369;sys-file-info.at:90;DISPLAY SCRATCH;;
370;sys-file-info.at:106;DISPLAY INDEX;;
371;sys-file-info.at:119;DISPLAY NAMES;;
372;sys-file-info.at:132;DISPLAY LABELS;;
373;value-labels.at:19;VALUE LABELS date formats;;
374;value-labels.at:43;VALUE LABELS with new-line;;
375;value-labels.at:77;VALUE LABELS with new-line in system file;;
376;value-labels.at:118;VALUE LABELS invalid syntax bug;;
377;value-labels.at:136;VALUE LABELS trailing \`/' bug;;
378;variable-display.at:19;variable display attribute commands;;
379;variable-display.at:41;variable labels;;
380;vector.at:19;VECTOR short form;;
381;vector.at:36;VECTOR short form with format specification;;
382;vector.at:57;VECTOR short form in INPUT PROGRAM;;
383;vector.at:77;VECTOR long form;;
384;weight.at:19;WEIGHT;;
385;evaluate.at:1989;LAG function;;
386;evaluate.at:2021;LAG crash bug;;
387;evaluate.at:2046;UNIFORM function;;
388;evaluate.at:2088;VALUELABEL function;;
389;evaluate.at:2132;variables in expressions;;
390;evaluate.at:2181;vectors in expressions;;
391;parse.at:19;parse expression with unknown variable crash;;
392;parse.at:41;parse expression with invalid logical expression;;
393;command-name.at:19;single words;command name matching;
394;command-name.at:61;two words without prefix match;command name matching;
395;command-name.at:102;two words with prefix match;command name matching;
396;command-name.at:128;ambiguous single-word names;command name matching;
397;command-name.at:154;ambiguous two-word names;command name matching;
398;command-name.at:190;numbers and punctuation;command name matching;
399;command-name.at:226;off by more than one word;command name matching;
400;lexer.at:19;lexer ignores initial #! line;;
401;lexer.at:38;lexer properly reports scan errors;;
402;lexer.at:82;lexer crash due to null byte;;
403;lexer.at:102;lexer crash due to overflow;;
404;q2c.at:19;q2c enforces mandatory subcommands;;
405;scan.at:25;identifiers;scan;
406;scan.at:86;reserved words;scan;
407;scan.at:183;punctuation;scan;
408;scan.at:256;numbers;scan;
409;scan.at:341;strings;scan;
410;scan.at:436;#! construct;scan;
411;scan.at:460;* and COMMENT commands;scan;
412;scan.at:537;DOCUMENT command;scan;
413;scan.at:586;TITLE, SUBTITLE, FILE LABEL commands;scan;
414;scan.at:670;BEGIN DATA command;scan;
415;scan.at:727;DO REPEAT command;scan;
416;scan.at:784;batch mode;scan;
417;segment.at:30;identifiers;segment;
418;segment.at:113;identifiers that end in '.';segment;
419;segment.at:219;reserved words;segment;
420;segment.at:283;punctuation;segment;
421;segment.at:339;numbers;segment;
422;segment.at:406;strings;segment;
423;segment.at:478;#! construct;segment;
424;segment.at:509;* and COMMENT commands;segment;
425;segment.at:597;DOCUMENT command;segment;
426;segment.at:656;TITLE, SUBTITLE, FILE LABEL commands;segment;
427;segment.at:745;BEGIN DATA command;segment;
428;segment.at:870;DO REPEAT command;segment;
429;segment.at:952;batch mode;segment;
430;segment.at:1006;auto mode;segment;
431;variable-parser.at:22;Long variable names;;
432;variable-parser.at:69;variable parser crash;;
433;aggregate.at:177;AGGREGATE presorted data to dataset file, itemwise missing;;
434;aggregate.at:178;AGGREGATE presorted data to dataset file, columnwise missing;;
435;aggregate.at:179;AGGREGATE unsorted data to dataset file, itemwise missing;;
436;aggregate.at:180;AGGREGATE unsorted data to dataset file, columnwise missing;;
437;aggregate.at:181;AGGREGATE presorted data to active file, itemwise missing;;
438;aggregate.at:182;AGGREGATE presorted data to active file, columnwise missing;;
439;aggregate.at:183;AGGREGATE unsorted data to active file, itemwise missing;;
440;aggregate.at:184;AGGREGATE unsorted data to active file, columnwise missing;;
441;aggregate.at:185;AGGREGATE presorted data to external file, itemwise missing;;
442;aggregate.at:186;AGGREGATE presorted data to external file, columnwise missing;;
443;aggregate.at:187;AGGREGATE unsorted data to external file, itemwise missing;;
444;aggregate.at:188;AGGREGATE unsorted data to external file, columnwise missing;;
445;aggregate.at:190;AGGREGATE crash with MAX function;;
446;aggregate.at:216;AGGREGATE crash with invalid syntax;;
447;aggregate.at:232;AGGREGATE mode=addvariables;;
448;aggregate.at:271;AGGREGATE buggy duplicate variables;;
449;autorecode.at:19;AUTORECODE multiple missing values;;
450;autorecode.at:117;AUTORECODE numbers and short strings;;
451;autorecode.at:188;AUTORECODE long strings and check the value labels;;
452;autorecode.at:244;AUTORECODE group subcommand;;
453;autorecode.at:298;AUTORECODE group - string variables;;
454;autorecode.at:346;AUTORECODE group vs. strings;;
455;autorecode.at:387;AUTORECODE /blank;;
456;autorecode.at:434;AUTORECODE with TEMPORARY;;
457;autorecode.at:488;AUTORECODE with /INTO;;
458;autorecode.at:527;AUTORECODE with /BLANK without specifier;;
459;correlations.at:19;CORRELATIONS -- unweighted;;
460;correlations.at:95;CORRELATIONS -- weighted;;
461;correlations.at:143;CORRELATIONS -- non-square;;
462;correlations.at:172;CORRELATIONS -- crash with WITH keyword;;
463;correlations.at:228;CORRELATIONS -- incorrect subtable selection;;
464;correlations.at:384;CORRELATIONS -- empty dataset;;
465;correlations.at:396;CORRELATIONS -- empty dataset 2;;
466;crosstabs.at:19;CROSSTABS integer mode crash;;
467;crosstabs.at:58;CROSSTABS integer mode crash 2;;
468;crosstabs.at:88;CROSSTABS long string crash;;
469;crosstabs.at:129;CROSSTABS crash;;
470;crosstabs.at:189;CROSSTABS chi-square crash;;
471;crosstabs.at:233;CROSSTABS crash with SPLIT FILE;;
472;crosstabs.at:331;3-way CROSSTABS;;
473;crosstabs.at:458;CROSSTABS rounding weights with COUNT;;
474;crosstabs.at:566;CROSSTABS descending sort order;;
475;crosstabs.at:602;CROSSTABS crash when all cases missing;;
476;crosstabs.at:627;CROSSTABS Fisher Exact Test;;
477;crosstabs.at:892;CROSSTABS Pearson's R - 1;;
478;crosstabs.at:932;CROSSTABS Pearson's R - 2;;
479;crosstabs.at:983;CROSSTABS Pearson's R - 3;;
480;crosstabs.at:1030;CROSSTABS Pearson's R - 4;;
481;crosstabs.at:1082;CROSSTABS Pearson's R - 5;;
482;crosstabs.at:1133;CROSSTABS Goodman and Kruskal's lambda - 1;;
483;crosstabs.at:1169;CROSSTABS Goodman and Kruskal's lambda - 2;;
484;crosstabs.at:1208;CROSSTABS Goodman and Kruskal's lambda - 3;;
485;crosstabs.at:1251;CROSSTABS Goodman and Kruskal's lambda - treatment of ties;;
486;crosstabs.at:1287;CROSSTABS Somers' D, Tau-B, Tau-C, Gamma - 1;;
487;crosstabs.at:1328;CROSSTABS Somers' D, Tau-B, Tau-C, Gamma - 2;;
488;crosstabs.at:1371;CROSSTABS Somers' D, Tau-B, Tau-C, Gamma - 3;;
489;crosstabs.at:1640;CROSSTABS Cohens Kappa;;
490;crosstabs.at:1686;CROSSTABS many statistics;;
491;crosstabs.at:1745;CROSSTABS uncertainy coefficient;;
492;crosstabs.at:1783;CROSSTABS estimated risk;;
493;crosstabs.at:1839;CROSSTABS barchart;;
494;descriptives.at:19;DESCRIPTIVES basics;;
495;descriptives.at:98;DESCRIPTIVES -- excluding missing data;;
496;descriptives.at:114;DESCRIPTIVES -- including missing data;;
497;descriptives.at:130;DESCRIPTIVES -- excluding missing data listwise;;
498;descriptives.at:146;DESCRIPTIVES -- including missing data listwise;;
499;descriptives.at:162;DESCRIPTIVES bug calculating mean only;;
500;descriptives.at:190;DESCRIPTIVES bug with TEMPORARY;;
501;descriptives.at:217;DESCRIPTIVES -- Z scores;;
502;descriptives.at:250;DESCRIPTIVES -- Z scores with SPLIT FILE;;
503;descriptives.at:323;DESCRIPTIVES -- Z scores bug with TEMPORARY;;
504;descriptives.at:370;DESCRIPTIVES -- Z scores with FILTER;;
505;descriptives.at:428;DESCRIPTIVES tutorial example;;
506;examine.at:19;EXAMINE;categorical categoricals;
507;examine.at:191;EXAMINE -- extremes;categorical categoricals;
508;examine.at:252;EXAMINE -- extremes with fractional weights;categorical categoricals;
509;examine.at:329;EXAMINE -- percentiles;categorical categoricals;
510;examine.at:422;EXAMINE -- missing values;categorical categoricals;
511;examine.at:463;EXAMINE -- user missing values;categorical categoricals;
512;examine.at:490;EXAMINE -- missing values and percentiles;categorical categoricals;
513;examine.at:511;EXAMINE -- trimmed mean;categorical categoricals;
514;examine.at:559;EXAMINE -- crash bug;categorical categoricals;
515;examine.at:578;EXAMINE -- consecutive runs don't crash;categorical categoricals;
516;examine.at:597;EXAMINE -- missing values don't crash;categorical categoricals;
517;examine.at:615;EXAMINE -- single case doesn't crash;categorical categoricals;
518;examine.at:635;EXAMINE -- all-missing data doesn't crash;categorical categoricals;
519;examine.at:658;EXAMINE -- big input doesn't crash;categorical categoricals slow;
520;examine.at:679;EXAMINE -- big input doesn't crash 2;categorical categoricals slow;
521;examine.at:707;EXAMINE -- non-numeric ID;categorical categoricals;
522;examine.at:765;EXAMINE -- Bad Input;categorical categoricals;
523;examine.at:796;EXAMINE -- MISSING=REPORT;categorical categoricals;
524;examine.at:930;EXAMINE -- sample unweighted;categorical categoricals;
525;examine.at:1074;EXAMINE -- Empty Parentheses;categorical categoricals;
526;examine.at:1099;EXAMINE -- Bad variable;categorical categoricals;
527;examine.at:1123;EXAMINE -- Extremes vs. Missing Weights;categorical categoricals;
528;examine.at:1166;EXAMINE tutorial example 1;;
529;examine.at:1225;EXAMINE tutorial example 2;;
530;examine.at:1259;EXAMINE -- Crash on unrepresentable graphs;;
531;examine.at:1277;EXAMINE -- shapiro-wilk 1;shapiro wilk;
532;examine.at:1333;EXAMINE -- shapiro-wilk 2;shapiro wilk;
533;graph.at:19;GRAPH simple scatterplot;;
534;graph.at:43;GRAPH Scatter and Histogram;slow;
535;graph.at:98;GRAPH missing values don't crash;;
536;graph.at:119;GRAPH missing=VARIABLE no crash;;
537;graph.at:142;GRAPH missing value in by variable;;
538;graph.at:167;GRAPH histogram with null data;;
539;graph.at:185;GRAPH histogram all missing;;
540;graph.at:204;GRAPH barcharts;;
541;graph.at:233;GRAPH barchart arity;;
542;graph.at:262;GRAPH barchart bad syntax;;
543;graph.at:290;GRAPH barchart full;;
544;graph.at:333;GRAPH buggy syntax;;
545;graph.at:354;GRAPH barchart percentage sub-categorical;;
546;factor.at:19;FACTOR extraction=paf method=correlation;;
547;factor.at:1539;FACTOR extraction=pc method=correlation;;
548;factor.at:1800;FACTOR empty dataset;;
549;factor.at:1821;FACTOR /ROTATION=NOROTATE;;
550;factor.at:1895;FACTOR /CRITERIA=ITERATE;;
551;factor.at:1945;FACTOR promax;;
552;factor.at:2090;FACTOR covariance matrix;;
553;factor.at:2171;FACTOR correlation matrix;;
554;factor.at:2267;FACTOR bad input;;
555;factor.at:2300;FACTOR anti-image matrix;;
556;factor.at:2357;FACTOR Kaiser-Meyer-Olkin;;
557;flip.at:19;FLIP with NEWNAMES;;
558;flip.at:66;FLIP without NEWNAMES;;
559;flip.at:104;FLIP badly formed;;
560;flip.at:120;FLIP with invalid variable names;;
561;frequencies.at:19;FREQUENCIES string variable;;
562;frequencies.at:52;FREQUENCIES two runs crash;;
563;frequencies.at:101;FREQUENCIES with LIMIT;;
564;frequencies.at:125;FREQUENCIES HTML output crash;;
565;frequencies.at:160;FREQUENCIES pie chart crash;;
566;frequencies.at:196;FREQUENCIES histogram crash;;
567;frequencies.at:227;FREQUENCIES median with histogram crash;;
568;frequencies.at:242;FREQUENCIES crash after TEMPORARY;;
569;frequencies.at:306;FREQUENCIES basic percentiles;;
570;frequencies.at:326;FREQUENCIES basic n-tiles;;
571;frequencies.at:347;FREQUENCIES compatibility percentiles;;
572;frequencies.at:389;FREQUENCIES enhanced percentiles;;
573;frequencies.at:430;FREQUENCIES enhanced percentiles, weighted;;
574;frequencies.at:475;FREQUENCIES enhanced percentiles, weighted (2);;
575;frequencies.at:518;FREQUENCIES enhanced percentiles, weighted (3);;
576;frequencies.at:559;FREQUENCIES enhanced percentiles, weighted, missing values;;
577;frequencies.at:605;FREQUENCIES dichotomous histogram;;
578;frequencies.at:639;FREQUENCIES median;;
579;frequencies.at:670;FREQUENCIES variance;;
580;frequencies.at:702;FREQUENCIES default statistics;;
581;frequencies.at:760;FREQUENCIES no valid data;;
582;frequencies.at:804;FREQUENCIES histogram no valid cases;;
583;frequencies.at:825;FREQUENCIES percentiles + histogram bug#48128;;
584;frequencies.at:850;FREQUENCIES vs. missing weights;;
585;glm.at:19;GLM latin square design;categorical categoricals;
586;glm.at:91;GLM 2 by 2 factorial design;categorical categoricals;
587;glm.at:144;GLM Type I and II Sums of Squares;categorical categoricals;
588;glm.at:278;GLM excluded intercept;categorical categoricals;
589;glm.at:350;GLM missing values;categorical categoricals;
590;logistic.at:97;LOGISTIC REGRESSION basic test;categorical categoricals;
591;logistic.at:148;LOGISTIC REGRESSION missing values;categorical categoricals;
592;logistic.at:197;LOGISTIC REGRESSION weights;categorical categoricals;
593;logistic.at:259;LOGISTIC REGRESSION without constant;categorical categoricals;
594;logistic.at:315;LOGISTIC REGRESSION non-dichotomous dep var;categorical categoricals;
595;logistic.at:341;LOGISTIC REGRESSION with categorical;categorical categoricals;
596;logistic.at:807;LOGISTIC REGRESSION with cat var 2;categorical categoricals;
597;logistic.at:1073;LOGISTIC REGRESSION identical categories;categorical categoricals;
598;logistic.at:1094;LOGISTIC REGRESSION missing categoricals;categorical categoricals;
599;logistic.at:1232;LOGISTIC REGRESSION confidence interval;categorical categoricals;
600;means.at:19;MEANS simple;categorical categoricals;
601;means.at:54;MEANS very simple;categorical categoricals;
602;means.at:100;MEANS empty factor spec;categorical categoricals;
603;means.at:121;MEANS parser bug;categorical categoricals;
604;means.at:140;MEANS default missing behaviour;categorical categoricals;
605;means.at:216;MEANS two way;categorical categoricals;
606;means.at:303;MEANS unbalanced;categorical categoricals;
607;means.at:349;MEANS three way;categorical categoricals;
608;means.at:415;MEANS three way string;categorical categoricals;
609;means.at:482;MEANS multiple tables;categorical categoricals;
610;means.at:592;MEANS multi variable;categorical categoricals;
611;means.at:684;MEANS multi combination;categorical categoricals;
612;means.at:904;MEANS clean up;categorical categoricals;
613;means.at:926;MEANS control all missing;categorical categoricals;
614;means.at:955;MEANS missing classes;categorical categoricals;
615;means.at:1046;MEANS split;categorical categoricals;
616;means.at:1091;MEANS formats;categorical categoricals;
617;npar.at:19;NPAR TESTS BINOMIAL P < 0.5; N1/N2 < 1;;
618;npar.at:44;NPAR TESTS BINOMIAL P < 0.5; N1/N2 > 1;;
619;npar.at:69;NPAR TESTS BINOMIAL P < 0.5; N1/N2 = 1;;
620;npar.at:94;NPAR TESTS BINOMIAL P > 0.5; N1/N2 < 1;;
621;npar.at:119;NPAR TESTS BINOMIAL P > 0.5; N1/N2 > 1;;
622;npar.at:143;NPAR TESTS BINOMIAL P > 0.5; N1/N2 = 1;;
623;npar.at:167;NPAR TESTS BINOMIAL P = 0.5; N1/N2 < 1;;
624;npar.at:192;NPAR TESTS BINOMIAL P = 0.5; N1/N2 > 1;;
625;npar.at:216;NPAR TESTS BINOMIAL P = 0.5; N1/N2 = 1;;
626;npar.at:241;NPAR TESTS BINOMIAL P = 0.5; N1/N2 = 1 Cutpoint;;
627;npar.at:267;NPAR TESTS BINOMIAL P = 0.5; N1/N2 = 1 Named values;;
628;npar.at:296;NPAR TESTS BINOMIAL - crash;;
629;npar.at:315;NPAR TESTS CHISQUARE;;
630;npar.at:397;NPAR TESTS CHISQUARE expected values missing;;
631;npar.at:428;NPAR TESTS CHISQUARE with DESCRIPTIVES;;
632;npar.at:479;NPAR TESTS CHISQUARE, listwise missing;;
633;npar.at:530;NPAR TESTS WILCOXON;;
634;npar.at:578;NPAR TESTS WILCOXON with missing values;;
635;npar.at:626;NPAR TESTS SIGN;;
636;npar.at:670;NPAR Kruskal-Wallis test;;
637;npar.at:765;NPAR Kruskal-Wallis multiple-variables;;
638;npar.at:832;NPAR TESTS Runs;;
639;npar.at:920;NPAR TESTS Runs (2);;
640;npar.at:943;NPAR TESTS Friedman;;
641;npar.at:982;NPAR TESTS Mann-Whitney;;
642;npar.at:1044;NPAR TESTS Mann-Whitney Multiple;;
643;npar.at:1097;NPAR TESTS Cochran;;
644;npar.at:1145;NPAR TESTS Kendall;;
645;npar.at:1210;NPAR TESTS McNemar;;
646;npar.at:1264;NPAR TESTS McNemar Symetricity;;
647;npar.at:1308;NPAR TESTS Kolmogorov-Smirnov Uniform parameters given;;
648;npar.at:1345;NPAR TESTS Kolmogorov-Smirnov Normal parameters imputed;;
649;npar.at:1549;NPAR TESTS Median Test (median imputed);;
650;npar.at:1614;NPAR TESTS Median Test (median given);;
651;npar.at:1677;NPAR TESTS Median Test (two sample);;
652;npar.at:1743;NPAR TESTS Jonckheere-Terpstra;;
653;npar.at:1786;NPAR TESTS (PAIRED);;
654;npar.at:1823;NPAR TESTS CHISQUARE crash;;
655;npar.at:1852;NPAR TESTS - crash on invalid syntax;;
656;npar.at:1876;NPAR TESTS - crash on unterminated string;;
657;oneway.at:19;ONEWAY basic operation;categorical categoricals;
658;oneway.at:90;ONEWAY with splits;categorical categoricals;
659;oneway.at:200;ONEWAY with missing values;categorical categoricals;
660;oneway.at:306;ONEWAY descriptives subcommand;categorical categoricals;
661;oneway.at:356;ONEWAY homogeneity subcommand;categorical categoricals;
662;oneway.at:402;ONEWAY multiple variables;categorical categoricals;
663;oneway.at:511;ONEWAY vs. weights;categorical categoricals;
664;oneway.at:583;ONEWAY posthoc LSD and BONFERRONI;categorical categoricals;
665;oneway.at:666;ONEWAY posthoc Tukey HSD and Games-Howell;categorical categoricals;
666;oneway.at:724;ONEWAY posthoc Sidak;categorical categoricals;
667;oneway.at:785;ONEWAY posthoc Scheffe;categorical categoricals;
668;oneway.at:868;ONEWAY bad contrast count;categorical categoricals;
669;oneway.at:942;ONEWAY crash on single category independent variable;categorical categoricals;
670;oneway.at:964;ONEWAY crash on missing dependent variable;categorical categoricals;
671;oneway.at:993;ONEWAY Games-Howell test with few cases;categorical categoricals;
672;oneway.at:1016;ONEWAY Crash on empty data;categorical categoricals;
673;oneway.at:1039;ONEWAY Crash on invalid dependent variable;categorical categoricals;
674;oneway.at:1060;ONEWAY Crash on unterminated string;categorical categoricals;
675;quick-cluster.at:19;QUICK CLUSTER with small data set;;
676;quick-cluster.at:61;QUICK CLUSTER with large data set;slow;
677;quick-cluster.at:91;QUICK CLUSTER with weights;;
678;quick-cluster.at:133;QUICK CLUSTER with listwise missing;;
679;quick-cluster.at:172;QUICK CLUSTER with pairwise missing;;
680;quick-cluster.at:245;QUICK CLUSTER crash on bad cluster quantity;;
681;quick-cluster.at:262;QUICK CLUSTER infinite loop on bad command name;;
682;quick-cluster.at:279;QUICK CLUSTER /PRINT subcommand;;
683;quick-cluster.at:432;QUICK CLUSTER -- Empty Parentheses;;
684;quick-cluster.at:452;QUICK CLUSTER with save;;
685;quick-cluster.at:506;QUICK CLUSTER with single save;;
686;quick-cluster.at:561;QUICK CLUSTER crash on bizarre input;;
687;rank.at:19;RANK simple case with defaults;;
688;rank.at:57;RANK multiple variables with defaults;;
689;rank.at:84;RANK with RANK, RFRACTION, N;;
690;rank.at:149;RANK with SAVAGE, PERCENT, PROPORTION, NTILES;;
691;rank.at:202;RANK with SPLIT FILE;;
692;rank.at:286;RANK with fractional ranks;;
693;rank.at:330;RANK all-ties due to tiny weights;;
694;rank.at:399;RANK and TEMPORARY;;
695;rank.at:451;RANK variable name fallback;;
696;rank.at:487;RANK robust variable name creation;;
697;rank.at:538;RANK handling of invalid input;;
698;rank.at:564;RANK handling of invalid syntax;;
699;regression.at:19;LINEAR REGRESSION - basic;;
700;regression.at:76;LINEAR REGRESSION - one save;;
701;regression.at:149;LINEAR REGRESSION - SAVE vs SPLITS;;
702;regression.at:242;LINEAR REGRESSION multiple dependent variables;;
703;regression.at:274;LINEAR REGRESSION test of QR decomposition;;
704;regression.at:1807;LINEAR REGRESSION no crash on all missing;;
705;regression.at:1833;LINEAR REGRESSION missing dependent variable;;
706;regression.at:1890;LINEAR REGRESSION with invalid syntax (and empty dataset);;
707;regression.at:1910;LINEAR REGRESSION coefficient confidence interval;;
708;regression.at:2152;LINEAR REGRESSION crash with long string variables;;
709;regression.at:2202;LINEAR REGRESSION -- Empty Parentheses;;
710;regression.at:2227;LINEAR REGRESSION varibles on ENTER subcommand;;
711;regression.at:2283;LINEAR REGRESSION /ORIGIN;;
712;regression.at:2340;REGRESSION tutorial example;;
713;regression.at:2385;LINEAR REGRESSION vif;;
714;reliability.at:19;RELIABILITY;;
715;reliability.at:274;RELIABILITY bad syntax;;
716;reliability.at:294;RELIABILITY bad syntax 2;;
717;reliability.at:309;RELIABILITY crash with no data;;
718;reliability.at:327;RELIABILITY tutorial example;;
719;roc.at:19;ROC free distribution;;
720;roc.at:70;ROC negative exponential distribution;;
721;roc.at:129;ROC with anomaly;;
722;roc.at:187;ROC crash on no state variable;;
723;roc.at:204;ROC crash on invalid syntax;;
724;sort-cases.at:73;sort 500 cases (100 unique) with 2 buffers;sort cases;
725;sort-cases.at:74;sort 500 cases (100 unique) with 3 buffers;sort cases;
726;sort-cases.at:75;sort 500 cases (100 unique) with 4 buffers;sort cases;
727;sort-cases.at:76;sort 500 cases (100 unique) with 5 buffers;sort cases;
728;sort-cases.at:77;sort 500 cases (100 unique) with 10 buffers;sort cases;
729;sort-cases.at:78;sort 500 cases (100 unique) with 50 buffers;sort cases;
730;sort-cases.at:79;sort 500 cases (100 unique) with 100 buffers;sort cases;
731;sort-cases.at:80;sort 500 cases (100 unique);sort cases;
732;sort-cases.at:82;sort 1000 cases (100 unique) with 2 buffers;sort cases;
733;sort-cases.at:83;sort 1000 cases (100 unique) with 3 buffers;sort cases;
734;sort-cases.at:84;sort 1000 cases (100 unique) with 5 buffers;sort cases;
735;sort-cases.at:85;sort 1000 cases (100 unique);sort cases;
736;sort-cases.at:87;sort 5000 cases (1000 unique) with 5 buffers;sort cases slow;
737;sort-cases.at:88;sort 5000 cases (1000 unique) with 50 buffers;sort cases slow;
738;sort-cases.at:89;sort 5000 cases (1000 unique);sort cases slow;
739;sort-cases.at:91;sort 10000 cases (100 unique) with 3 buffers;sort cases slow;
740;sort-cases.at:92;sort 10000 cases (100 unique) with 5 buffers;sort cases slow;
741;sort-cases.at:93;sort 10000 cases (100 unique);sort cases slow;
742;sort-cases.at:95;sort 50000 cases (10000 unique) with 500 buffers;sort cases slow;
743;sort-cases.at:97;sort 50000 cases;sort cases slow;
744;sort-cases.at:100;SORT CASES preserves filtered cases;;
745;t-test.at:19;T-TEST /PAIRS;;
746;t-test.at:59;T-TEST /PAIRS with per-analysis missing values;;
747;t-test.at:124;T-TEST /PAIRS with listwise missing values;;
748;t-test.at:192;T-TEST weighted paired bug;;
749;t-test.at:234;T-TEST /PAIRS bug;;
750;t-test.at:270;T-TEST /GROUPS;;
751;t-test.at:320;T-TEST /GROUPS with one value for independent variable;;
752;t-test.at:371;T-TEST /GROUPS with per-analysis missing values;;
753;t-test.at:431;T-TEST /GROUPS with listwise missing values;;
754;t-test.at:491;T-TEST /TESTVAL;;
755;t-test.at:524;T-TEST /TESTVAL with per-analysis missing values;;
756;t-test.at:577;T-TEST /TESTVAL with listwise missing values;;
757;t-test.at:630;T-TEST wih TEMPORARY transformation;;
758;t-test.at:688;T-TEST tutorial example;;
759;t-test.at:716;T-TEST invalid syntax;;
760;t-test.at:739;T-TEST string variable;;
761;t-test.at:787;T-TEST string variable, only one value;;
762;t-test.at:813;T-TEST string variable comparison bug;;
763;t-test.at:855;T-TEST wrong group;;
764;t-test.at:876;T-TEST non number p value;;
765;t-test.at:895;T-TEST unterminated string - paired;;
766;cache.at:19;CACHE;;
767;cd.at:19;CD;;
768;date.at:19;USE ALL;;
769;host.at:19;HOST - one command;;
770;host.at:28;HOST - two commands;;
771;host.at:39;HOST - time limit;;
772;host.at:56;HOST - command failure;;
773;host.at:66;HOST - nonexistent shell;;
774;host.at:76;HOST - nonexistent command;;
775;host.at:86;HOST - output to stdout;;
776;host.at:95;HOST - output to stderr;;
777;host.at:104;HOST - input from stdin;;
778;host.at:114;HOST - zero time limit;;
779;host.at:124;HOST - signal termination;;
780;host.at:134;HOST - SAFER;;
781;insert.at:31;INSERT SYNTAX=INTERACTIVE;;
782;insert.at:47;INSERT SYNTAX=BATCH;;
783;insert.at:67;INSERT CD=NO;;
784;insert.at:88;INSERT CD=YES;;
785;insert.at:132;INSERT ERROR=STOP;;
786;insert.at:142;INSERT ERROR=CONTINUE;;
787;insert.at:162;INSERT nonexistent file;;
788;insert.at:181;INCLUDE full check;;
789;insert.at:205;INSERT unterminated string;;
790;permissions.at:19;PERMISSIONS;;
791;permissions.at:45;PERMISSIONS - bad syntax;;
792;set.at:20;SET FORMAT to invalid output format;;
793;set.at:44;SET crash on invalid cc;;
794;set.at:54;SET MXWARNS;;
795;set.at:90;SET MXWARNS special case zero;;
796;set.at:128;PRESERVE of SET FORMAT;;
797;show.at:19;SHOW N;;
798;show.at:39;SHOW N empty;;
799;title.at:19;FILE LABEL and (ADD) DOCUMENT;;
800;compute.at:19;COMPUTE crash with SAVE;;
801;compute.at:38;COMPUTE bug in long string UPCASE;;
802;compute.at:66;COMPUTE bug with long variable names;;
803;compute.at:92;COMPUTE self-reference to new variable;;
804;count.at:19;COUNT -- numeric data;;
805;count.at:58;COUNT -- string data;;
806;recode.at:37;RECODE numeric to numeric, without INTO;;
807;recode.at:79;RECODE numeric to numeric, with INTO, without COPY;;
808;recode.at:111;RECODE numeric to numeric, with INTO, with COPY;;
809;recode.at:144;RECODE string to string, with INTO, without COPY;;
810;recode.at:172;RECODE string to string;;
811;recode.at:200;RECODE string to numeric;;
812;recode.at:226;RECODE numeric to string;;
813;recode.at:252;RECODE bug in COPY;;
814;recode.at:283;RECODE bug in COPY with INTO;;
815;recode.at:316;RECODE increased string widths;;
816;recode.at:347;RECODE crash on invalid dest variable;;
817;sample.at:19;SAMPLE;;
818;select-if.at:19;FILTER;;
819;abt.at:25;ABT -- insert-any-remove-any;;
820;abt.at:26;ABT -- insert-any-remove-same;;
821;abt.at:27;ABT -- insert-any-remove-reverse;;
822;abt.at:28;ABT -- random-sequence;slow;
823;abt.at:29;ABT -- insert-ordered;;
824;abt.at:30;ABT -- moved;;
825;abt.at:31;ABT -- changed;;
826;bt.at:25;BT -- insert-any-remove-any;;
827;bt.at:26;BT -- insert-any-remove-same;;
828;bt.at:27;BT -- insert-any-remove-reverse;;
829;bt.at:28;BT -- random-sequence;slow;
830;bt.at:29;BT -- insert-ordered;;
831;bt.at:30;BT -- find-ge-le;;
832;bt.at:31;BT -- moved;;
833;bt.at:32;BT -- changed;;
834;encoding-guesser.at:19;ASCII;encoding guesser;
835;encoding-guesser.at:25;UTF-8;encoding guesser;
836;encoding-guesser.at:32;UTF-8 starting with ASCII;encoding guesser;
837;encoding-guesser.at:39;UTF-16 with big-endian byte order mark;encoding guesser;
838;encoding-guesser.at:46;UTF-16 with little-endian byte order mark;encoding guesser;
839;encoding-guesser.at:53;UTF-16BE;encoding guesser;
840;encoding-guesser.at:62;UTF-16BE starting with U+0100;encoding guesser;
841;encoding-guesser.at:69;UTF-16LE;encoding guesser;
842;encoding-guesser.at:78;UTF-16LE starting with U+0100;encoding guesser;
843;encoding-guesser.at:85;UTF-32 with big-endian byte order mark;encoding guesser;
844;encoding-guesser.at:92;UTF-32 with little-endian byte order mark;encoding guesser;
845;encoding-guesser.at:99;UTF-32BE;encoding guesser;
846;encoding-guesser.at:106;UTF-32LE;encoding guesser;
847;encoding-guesser.at:113;ISO-8859-1;encoding guesser;
848;encoding-guesser.at:121;GB-18030 with byte order mark;encoding guesser;
849;encoding-guesser.at:129;UTF-EBCDIC with byte order mark;encoding guesser;
850;encoding-guesser.at:137;EUC-JP as Auto,EUC-JP;encoding guesser;
851;encoding-guesser.at:145;EUC-JP starting with ASCII as Auto,EUC-JP;encoding guesser;
852;encoding-guesser.at:153;UTF-8 with character split across input buffers;encoding guesser;
853;encoding-guesser.at:161;windows-1252 as Auto,UTF-8;encoding guesser;
854;float-format.at:19;floating point format conversions;;
855;heap.at:24;heap -- insert-no-dups-delete-min;;
856;heap.at:25;heap -- insert-with-dups-delete-min;;
857;heap.at:26;heap -- insert-no-dups-delete-random;;
858;heap.at:27;heap -- inc-dec;;
859;heap.at:28;heap -- random-insert-delete;;
860;hmap.at:24;hmap -- insert-any-remove-any-random-hash;;
861;hmap.at:25;hmap -- insert-any-remove-any-identity-hash;;
862;hmap.at:26;hmap -- insert-any-remove-any-constant-hash;;
863;hmap.at:27;hmap -- insert-any-remove-same-random-hash;;
864;hmap.at:28;hmap -- insert-any-remove-same-identity-hash;;
865;hmap.at:29;hmap -- insert-any-remove-same-constant-hash;;
866;hmap.at:30;hmap -- insert-any-remove-reverse-random-hash;;
867;hmap.at:31;hmap -- insert-any-remove-reverse-identity-hash;;
868;hmap.at:32;hmap -- insert-any-remove-reverse-constant-hash;;
869;hmap.at:33;hmap -- random-sequence-random-hash;;
870;hmap.at:34;hmap -- random-sequence-identity-hash;;
871;hmap.at:35;hmap -- random-sequence-constant-hash;;
872;hmap.at:36;hmap -- insert-ordered-random-hash;;
873;hmap.at:37;hmap -- insert-ordered-identity-hash;;
874;hmap.at:38;hmap -- insert-ordered-constant-hash;;
875;hmap.at:39;hmap -- moved-random-hash;;
876;hmap.at:40;hmap -- moved-identity-hash;;
877;hmap.at:41;hmap -- moved-constant-hash;;
878;hmap.at:42;hmap -- changed-random-hash;;
879;hmap.at:43;hmap -- changed-identity-hash;;
880;hmap.at:44;hmap -- changed-constant-hash;;
881;hmap.at:45;hmap -- swap-random-hash;;
882;hmap.at:46;hmap -- clear;;
883;hmap.at:47;hmap -- destroy-null;;
884;hmap.at:48;hmap -- shrink-empty;;
885;hmapx.at:24;hmapx -- insert-any-remove-any-random-hash;;
886;hmapx.at:25;hmapx -- insert-any-remove-any-identity-hash;;
887;hmapx.at:26;hmapx -- insert-any-remove-any-constant-hash;;
888;hmapx.at:27;hmapx -- insert-any-remove-same-random-hash;;
889;hmapx.at:28;hmapx -- insert-any-remove-same-identity-hash;;
890;hmapx.at:29;hmapx -- insert-any-remove-same-constant-hash;;
891;hmapx.at:30;hmapx -- insert-any-remove-reverse-random-hash;;
892;hmapx.at:31;hmapx -- insert-any-remove-reverse-identity-hash;;
893;hmapx.at:32;hmapx -- insert-any-remove-reverse-constant-hash;;
894;hmapx.at:33;hmapx -- random-sequence-random-hash;;
895;hmapx.at:34;hmapx -- random-sequence-identity-hash;;
896;hmapx.at:35;hmapx -- random-sequence-constant-hash;;
897;hmapx.at:36;hmapx -- insert-ordered-random-hash;;
898;hmapx.at:37;hmapx -- insert-ordered-identity-hash;;
899;hmapx.at:38;hmapx -- insert-ordered-constant-hash;;
900;hmapx.at:39;hmapx -- moved-random-hash;;
901;hmapx.at:40;hmapx -- moved-identity-hash;;
902;hmapx.at:41;hmapx -- moved-constant-hash;;
903;hmapx.at:42;hmapx -- changed-random-hash;;
904;hmapx.at:43;hmapx -- changed-identity-hash;;
905;hmapx.at:44;hmapx -- changed-constant-hash;;
906;hmapx.at:45;hmapx -- change-random-hash;;
907;hmapx.at:46;hmapx -- change-identity-hash;;
908;hmapx.at:47;hmapx -- change-constant-hash;;
909;hmapx.at:48;hmapx -- swap-random-hash;;
910;hmapx.at:49;hmapx -- clear;;
911;hmapx.at:50;hmapx -- destroy-null;;
912;hmapx.at:51;hmapx -- shrink-empty;;
913;i18n.at:34;convert reflexively;i18n;
914;i18n.at:35;convert without any change;i18n;
915;i18n.at:37;convert from ISO-8859-1 to UTF-8;i18n;
916;i18n.at:39;convert from UTF-8 to ISO-8859-1;i18n;
917;i18n.at:43;convert invalid UTF-8 to ISO-8859-1;i18n;
918;i18n.at:46;convert truncated UTF-8 to ISO-8559-1;i18n;
919;i18n.at:51;convert dropped final character in windows-1258;i18n;
920;i18n.at:56;convert from ISO-8859-1 to UTF-8 with overflow;i18n;
921;i18n.at:60;convert unknown encoding;i18n;
922;i18n.at:90;truncate \"abc\" to 6 bytes in UTF-8;i18n;
923;i18n.at:91;truncate \"\" + \"xyz\" to 6 bytes in UTF-8;i18n;
924;i18n.at:92;truncate \"\" to 6 bytes in UTF-8;i18n;
925;i18n.at:93;truncate \"abcdefghij\" to 6 bytes in UTF-8;i18n;
926;i18n.at:94;truncate \"\" + \"tuvwxyz\" to 6 bytes in UTF-8;i18n;
927;i18n.at:96;truncate \"abc\" + \"xyz\" to 6 bytes in UTF-8;i18n;
928;i18n.at:97;truncate \"abcd\" + \"xyz\" to 6 bytes in UTF-8;i18n;
929;i18n.at:98;truncate \"abc\" + \"uvwxyz\" to 6 bytes in UTF-8;i18n;
930;i18n.at:102;truncate \"x\\342\\203\\236\" + \"y\" to 0 bytes in UTF-8;i18n;
931;i18n.at:103;truncate \"x\\342\\203\\236\" + \"y\" to 1 bytes in UTF-8;i18n;
932;i18n.at:104;truncate \"x\\342\\203\\236\" + \"y\" to 2 bytes in UTF-8;i18n;
933;i18n.at:105;truncate \"x\\342\\203\\236\" + \"y\" to 3 bytes in UTF-8;i18n;
934;i18n.at:106;truncate \"x\\342\\203\\236\" + \"y\" to 4 bytes in UTF-8;i18n;
935;i18n.at:107;truncate \"x\\342\\203\\236\" + \"y\" to 5 bytes in UTF-8;i18n;
936;i18n.at:110;truncate \"\\303\\251\\303\\250\\303\\244\" + \"xyz\" to 0 bytes in ISO-8859-1;i18n;
937;i18n.at:111;truncate \"\\303\\251\\303\\250\\303\\244\" + \"xyz\" to 1 bytes in ISO-8859-1;i18n;
938;i18n.at:112;truncate \"\\303\\251\\303\\250\\303\\244\" + \"xyz\" to 2 bytes in ISO-8859-1;i18n;
939;i18n.at:113;truncate \"\\303\\251\\303\\250\\303\\244\" + \"xyz\" to 3 bytes in ISO-8859-1;i18n;
940;i18n.at:114;truncate \"\\303\\251\\303\\250\\303\\244\" + \"xyz\" to 4 bytes in ISO-8859-1;i18n;
941;i18n.at:116;truncate \"\\303\\251\\303\\250\\303\\244\" + \"xyz\" to 5 bytes in ISO-8859-1;i18n;
942;i18n.at:118;truncate \"\\303\\251\\303\\250\\303\\244\" + \"xyz\" to 6 bytes in ISO-8859-1;i18n;
943;line-reader.at:19;read ASCII;line_reader;
944;line-reader.at:28;read UTF-8;line_reader;
945;line-reader.at:36;read EUC-JP;line_reader;
946;line-reader.at:45;read ASCII as Auto;line_reader;
947;line-reader.at:53;read UTF-8 as Auto;line_reader;
948;line-reader.at:62;read ISO-8859-1 as Auto,ISO-8859-1;line_reader;
949;line-reader.at:74;read UTF-16BE as Auto,UTF-16BE;line_reader;
950;line-reader.at:83;read EUC-JP as Auto,EUC-JP;line_reader;
951;ll.at:25;ll -- push-pop;;
952;ll.at:26;ll -- insert-remove;;
953;ll.at:27;ll -- swap;;
954;ll.at:28;ll -- swap-range;;
955;ll.at:29;ll -- remove-range;;
956;ll.at:30;ll -- remove-equal;;
957;ll.at:31;ll -- remove-if;;
958;ll.at:32;ll -- moved;;
959;ll.at:33;ll -- find-equal;;
960;ll.at:34;ll -- find-if;;
961;ll.at:35;ll -- find-adjacent-equal;;
962;ll.at:36;ll -- count-range;;
963;ll.at:37;ll -- count-equal;;
964;ll.at:38;ll -- count-if;;
965;ll.at:39;ll -- min-max;;
966;ll.at:40;ll -- lexicographical-compare-3way;;
967;ll.at:41;ll -- apply;;
968;ll.at:42;ll -- reverse;;
969;ll.at:43;ll -- permutations-no-dups;;
970;ll.at:44;ll -- permutations-with-dups;;
971;ll.at:45;ll -- merge-no-dups;slow;
972;ll.at:46;ll -- merge-with-dups;slow;
973;ll.at:47;ll -- sort-exhaustive;;
974;ll.at:48;ll -- sort-stable;;
975;ll.at:49;ll -- sort-subset;;
976;ll.at:50;ll -- sort-big;;
977;ll.at:51;ll -- unique;;
978;ll.at:52;ll -- sort-unique;;
979;ll.at:53;ll -- insert-ordered;;
980;ll.at:54;ll -- partition;;
981;llx.at:25;llx -- push-pop;;
982;llx.at:26;llx -- insert-remove;;
983;llx.at:27;llx -- swap;;
984;llx.at:28;llx -- swap-range;;
985;llx.at:29;llx -- remove-range;;
986;llx.at:30;llx -- remove-equal;;
987;llx.at:31;llx -- remove-if;;
988;llx.at:32;llx -- find-equal;;
989;llx.at:33;llx -- find;;
990;llx.at:34;llx -- find-if;;
991;llx.at:35;llx -- find-adjacent-equal;;
992;llx.at:36;llx -- count-range;;
993;llx.at:37;llx -- count-equal;;
994;llx.at:38;llx -- count-if;;
995;llx.at:39;llx -- min-max;;
996;llx.at:40;llx -- lexicographical-compare-3way;;
997;llx.at:41;llx -- apply;;
998;llx.at:42;llx -- destroy;;
999;llx.at:43;llx -- reverse;;
1000;llx.at:44;llx -- permutations-no-dups;;
1001;llx.at:45;llx -- permutations-with-dups;;
1002;llx.at:46;llx -- merge-no-dups;slow;
1003;llx.at:47;llx -- merge-with-dups;slow;
1004;llx.at:48;llx -- sort-exhaustive;;
1005;llx.at:49;llx -- sort-stable;;
1006;llx.at:50;llx -- sort-subset;;
1007;llx.at:51;llx -- sort-big;;
1008;llx.at:52;llx -- unique;;
1009;llx.at:53;llx -- sort-unique;;
1010;llx.at:54;llx -- insert-ordered;;
1011;llx.at:55;llx -- partition;;
1012;llx.at:56;llx -- allocation-failure;;
1013;range-map.at:24;range-map -- insert;;
1014;range-map.at:25;range-map -- delete-contiguous;;
1015;range-map.at:26;range-map -- delete-gaps;;
1016;range-set.at:24;range-set -- insert;;
1017;range-set.at:25;range-set -- delete;;
1018;range-set.at:26;range-set -- allocate;;
1019;range-set.at:27;range-set -- allocate-fully;;
1020;range-set.at:28;range-set -- pool;;
1021;range-set.at:29;range-set -- destroy-null;;
1022;range-tower.at:25;range-tower -- set1;slow;
1023;range-tower.at:26;range-tower -- set0;slow;
1024;range-tower.at:27;range-tower -- insert0;slow;
1025;range-tower.at:28;range-tower -- insert1;slow;
1026;range-tower.at:29;range-tower -- delete;slow;
1027;range-tower.at:30;range-tower -- move;slow;
1028;range-tower.at:31;range-tower -- pool;slow;
1029;range-tower.at:32;range-tower -- destroy-null;slow;
1030;sparse-array.at:25;sparse array -- random-insert-delete;sparse-array slow;
1031;sparse-array.at:27;sparse array -- insert and delete with strides;sparse-array slow;
1032;sparse-xarray-test.at:58;in-memory sparse_xarray;slow;
1033;sparse-xarray-test.at:75;on-disk sparse_xarray max-memory-rows=0;slow;
1034;sparse-xarray-test.at:76;on-disk sparse_xarray max-memory-rows=1;slow;
1035;sparse-xarray-test.at:77;on-disk sparse_xarray max-memory-rows=2;slow;
1036;sparse-xarray-test.at:79;copying between in-memory sparse_xarrays;sparse_xarray slow;
1037;sparse-xarray-test.at:100;copying between on-disk sparse_xarrays max-memory-rows=0;sparse_xarray slow;
1038;sparse-xarray-test.at:101;copying between on-disk sparse_xarrays max-memory-rows=1;sparse_xarray slow;
1039;str.at:19;26-adic string formatting;;
1040;string-map.at:25;string map -- insert-any-remove-any;string-map slow;
1041;string-map.at:26;string map -- insert-any-remove-same;string-map slow;
1042;string-map.at:27;string map -- insert-any-remove-reverse;string-map slow;
1043;string-map.at:28;string map -- random-sequence;string-map slow;
1044;string-map.at:29;string map -- replace;string-map;
1045;string-map.at:30;string map -- insert-ordered;string-map;
1046;string-map.at:31;string map -- clear;string-map;
1047;string-map.at:32;string map -- clone;string-map;
1048;string-map.at:33;string map -- swap;string-map;
1049;string-map.at:34;string map -- node-swap-value;string-map;
1050;string-map.at:35;string map -- insert-map;string-map;
1051;string-map.at:36;string map -- replace-map;string-map;
1052;string-map.at:37;string map -- get-keys-and-values;string-map;
1053;string-map.at:38;string map -- destroy-null;string-map;
1054;stringi-map.at:25;case-insensitive string map -- insert-any-remove-any;stringi-map slow;
1055;stringi-map.at:26;case-insensitive string map -- insert-any-remove-same;stringi-map slow;
1056;stringi-map.at:27;case-insensitive string map -- insert-any-remove-reverse;stringi-map slow;
1057;stringi-map.at:28;case-insensitive string map -- random-sequence;stringi-map slow;
1058;stringi-map.at:29;case-insensitive string map -- replace;stringi-map;
1059;stringi-map.at:30;case-insensitive string map -- insert-ordered;stringi-map;
1060;stringi-map.at:31;case-insensitive string map -- clear;stringi-map;
1061;stringi-map.at:32;case-insensitive string map -- clone;stringi-map;
1062;stringi-map.at:33;case-insensitive string map -- swap;stringi-map;
1063;stringi-map.at:34;case-insensitive string map -- node-swap-value;stringi-map;
1064;stringi-map.at:35;case-insensitive string map -- insert-map;stringi-map;
1065;stringi-map.at:36;case-insensitive string map -- replace-map;stringi-map;
1066;stringi-map.at:37;case-insensitive string map -- get-keys-and-values;stringi-map;
1067;stringi-map.at:38;case-insensitive string map -- destroy-null;stringi-map;
1068;string-set.at:25;string set -- insert-any-remove-any;string-set;
1069;string-set.at:26;string set -- insert-any-remove-same;string-set;
1070;string-set.at:27;string set -- insert-any-remove-reverse;string-set;
1071;string-set.at:28;string set -- random-sequence;string-set;
1072;string-set.at:29;string set -- insert-ordered;string-set;
1073;string-set.at:30;string set -- union;string-set;
1074;string-set.at:31;string set -- union-and-intersection;string-set;
1075;string-set.at:32;string set -- intersect;string-set;
1076;string-set.at:33;string set -- subtract;string-set;
1077;string-set.at:34;string set -- swap;string-set;
1078;string-set.at:35;string set -- clear;string-set;
1079;string-set.at:36;string set -- clone;string-set;
1080;string-set.at:37;string set -- destroy-null;string-set;
1081;stringi-set.at:25;case-insensitive string set -- insert-any-remove-any;stringi-set slow;
1082;stringi-set.at:26;case-insensitive string set -- insert-any-remove-same;stringi-set slow;
1083;stringi-set.at:27;case-insensitive string set -- insert-any-remove-reverse;stringi-set slow;
1084;stringi-set.at:28;case-insensitive string set -- random-sequence;stringi-set slow;
1085;stringi-set.at:29;case-insensitive string set -- insert-ordered;stringi-set;
1086;stringi-set.at:30;case-insensitive string set -- union;stringi-set slow;
1087;stringi-set.at:31;case-insensitive string set -- union-and-intersection;stringi-set slow;
1088;stringi-set.at:32;case-insensitive string set -- intersect;stringi-set slow;
1089;stringi-set.at:33;case-insensitive string set -- subtract;stringi-set slow;
1090;stringi-set.at:34;case-insensitive string set -- swap;stringi-set slow;
1091;stringi-set.at:35;case-insensitive string set -- clear;stringi-set slow;
1092;stringi-set.at:36;case-insensitive string set -- clone;stringi-set slow;
1093;stringi-set.at:37;case-insensitive string set -- destroy-null;stringi-set;
1094;tower.at:24;tower -- insert;;
1095;tower.at:25;tower -- delete;;
1096;tower.at:26;tower -- resize;;
1097;tower.at:27;tower -- splice-out;;
1098;tower.at:28;tower -- splice-in;;
1099;u8-istream.at:19;read ASCII;u8_istream;
1100;u8-istream.at:26;read UTF-8;u8_istream;
1101;u8-istream.at:42;read EUC-JP;u8_istream;
1102;u8-istream.at:51;read UTF-8 with character split across input buffers;u8_istream;
1103;u8-istream.at:62;read UTF-8 with character split across output buffers;u8_istream;
1104;u8-istream.at:71;read UTF-8 with character split across input and output buffers;u8_istream;
1105;u8-istream.at:82;read EUC-JP with character split across input buffers;u8_istream;
1106;u8-istream.at:96;read EUC-JP with character split across output buffers;u8_istream;
1107;u8-istream.at:105;read EUC-JP with character split across input and output buffers;u8_istream;
1108;u8-istream.at:119;read ASCII as Auto;u8_istream;
1109;u8-istream.at:128;read UTF-8 as Auto;u8_istream;
1110;u8-istream.at:144;read ISO-8859-1 as Auto,ISO-8859-1;u8_istream;
1111;u8-istream.at:156;read UTF-16BE as Auto,UTF-16BE;u8_istream;
1112;u8-istream.at:171;read UTF-16 as Auto;u8_istream slow;
1113;u8-istream.at:192;read UTF-32 as Auto;u8_istream;
1114;u8-istream.at:211;read EUC-JP as Auto,EUC-JP;u8_istream;
1115;zip.at:19;Basic zip - unzip test;compression;
1116;chart-geometry.at:19;Chart Scale;;
1117;chart-geometry.at:23;Chart Ticks Format;;
1118;moments.at:44;two-pass moments;;
1119;moments.at:45;one-pass moments;;
1120;randist.at:102;random distributions -- beta;;
1121;randist.at:337;random distributions -- cauchy;;
1122;randist.at:946;random distributions -- chisq;;
1123;randist.at:994;random distributions -- exp;;
1124;randist.at:1042;random distributions -- f;;
1125;randist.at:1222;random distributions -- gamma;;
1126;randist.at:1446;random distributions -- laplace;;
1127;randist.at:1670;random distributions -- logistic;;
1128;randist.at:1894;random distributions -- lnormal;;
1129;randist.at:2074;random distributions -- normal;;
1130;randist.at:2298;random distributions -- pareto;;
1131;randist.at:2434;random distributions -- t;;
1132;randist.at:2526;random distributions -- uniform;;
1133;randist.at:2706;random distributions -- weibull;;
1134;ascii.at:19;ASCII driver overwriting single-width text;render rendering;
1135;ascii.at:151;ASCII driver overwriting double-width text;render rendering;
1136;ascii.at:407;ASCII driver overwriting combining characters;render rendering;
1137;ascii.at:539;ASCII driver u8_line_set_length;render rendering;
1138;ascii.at:580;ASCII driver Unicode box characters;render rendering;
1139;ascii.at:600;ASCII driver syntax printback;;
1140;ascii.at:647;ASCII unicode box chars;;
1141;ascii.at:675;ASCII crash on empty line;;
1142;ascii.at:696;ASCII crash on non-printables;;
1143;charts.at:24;Examine;slow;
1144;charts.at:57;Roc;;
1145;charts.at:112;Scree;;
1146;charts.at:140;Histogram;;
1147;charts.at:177;FREQUENCIES charts;;
1148;charts.at:215;CROSSTABS charts;;
1149;charts.at:259;BOXPLOT Empty;;
1150;html.at:19;HTML bug;;
1151;output.at:39;output csv to unwritable directory;;
1152;output.at:40;output html to unwritable directory;;
1153;output.at:41;output odt to unwritable directory;;
1154;output.at:42;output pdf to unwritable directory;;
1155;output.at:43;output txt to unwritable directory;;
1156;paper-size.at:19;letter default paper size;;
1157;paper-size.at:28;a4 default paper size;;
1158;paper-size.at:37;specific paper sizes;paper size;
1159;render.at:176;single cell;render rendering;
1160;render.at:185;single cell with border;render rendering;
1161;render.at:197;joined columns;render rendering;
1162;render.at:213;3x3, joined rows and columns;render rendering;
1163;render.at:233;joined rows and columns (with footnotes);render rendering footnote;
1164;render.at:275;6x6, joined rows and columns;render rendering;
1165;render.at:295;3 rows with many joined cells;render rendering;
1166;render.at:314;3 columns with many joined cells;render rendering;
1167;render.at:401;joined rows;render rendering;
1168;render.at:419;joined rows only, no rules;render rendering;
1169;render.at:432;joined columns only, no rules;render rendering;
1170;render.at:447;5 big narrow cells;render rendering;
1171;render.at:468;9 big narrow cells;render rendering;
1172;render.at:499;2 big cells with new-lines;render rendering;
1173;render.at:530;8x8 with many 2x2 joins;render rendering;
1174;render.at:561;breaking row of many small cells;render rendering;
1175;render.at:587;breaking row of many small cells, with headers;render rendering;
1176;render.at:626;breaking row of many medium-size cells;render rendering;
1177;render.at:676;breaking row of many medium-size cells, with headers;render rendering;
1178;render.at:734;breaking row of many big narrow cells;render rendering;
1179;render.at:844;breaking 2 rows of many small cells;render rendering;
1180;render.at:878;breaking 3 rows with many joined cells;render rendering;
1181;render.at:920;horz break 6x6, joined rows and columns;render rendering;
1182;render.at:970;horz break 6x6, joined rows and columns, left header;render rendering;
1183;render.at:1006;horz break 6x6, joined rows and columns, right header;render rendering;
1184;render.at:1042;breaking joined cells too wide for page;render rendering;
1185;render.at:1110;breaking joined cells much too wide for page;render rendering;
1186;render.at:1202;breaking cell too wide for page, no border;render rendering;
1187;render.at:1232;breaking cell too wide for page, with border;render rendering;
1188;render.at:1263;horz break 8x8 with many 2x2 joins;render rendering;
1189;render.at:1412;LIST puts space between columns;render rendering;
1190;render.at:1439;ASCII driver renders end of line spaces reasonably;render rendering;
1191;render.at:1477;multiple spanned cells all contribute to dimensions;render rendering;
1192;tables.at:19;OUTPUT precision;;
1193;tables.at:84;OUTPUT crash;;
1194;main.at:19;nonexistent syntax file crash;;
1195;main.at:25;SIGTERM yields clean shutdown;slow;
1196;main.at:41;SIGSEGV yields error report;;
1197;main.at:65;argument parsing;;
1198;syntax-gen.at:19;Syntax Generation - printf like;;
1199;pspp-convert.at:3;pspp-convert crash when output cannot be opened;;
1200;pspp-output.at:3;pspp-output dir;;
1201;pspp-output.at:25;pspp-output --select equal;;
1202;pspp-output.at:38;pspp-output --select unequal;;
1203;pspp-output.at:54;pspp-output --commands equal;;
1204;pspp-output.at:64;pspp-output --commands unequal;;
1205;pspp-output.at:83;pspp-output --subtypes equal;;
1206;pspp-output.at:92;pspp-output --subtypes unequal;;
1207;pspp-output.at:112;pspp-output --labels equal;;
1208;pspp-output.at:121;pspp-output --labels unequal;;
1209;pspp-output.at:142;pspp-output --instances;;
1210;pspp-output.at:153;pspp-output --instances=last;--instances last;
1211;pspp-output.at:168;pspp-output --or;;
1212;pspp-output.at:184;pspp-output convert;;
1213;perl-module.at:45;Perl create system file;;
1214;perl-module.at:106;Perl writing cases to system files;;
1215;perl-module.at:201;Perl write variable parameters;;
1216;perl-module.at:270;Perl dictionary survives system file;;
1217;perl-module.at:339;Perl read system file;;
1218;perl-module.at:431;Perl copying system files;;
1219;perl-module.at:541;Perl value formatting;;
1220;perl-module.at:580;Perl opening nonexistent file;;
1221;perl-module.at:599;Perl missing values;;
1222;perl-module.at:645;Perl custom attributes;;
1223;perl-module.at:676;Perl Pspp.t;slow;
"
# 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 1223; 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]
                 disable colored test results, or enable even without terminal
  -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.4.1 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.4.1)" &&
  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 43.
at_banner_text_7="format guesser"
# Banner 8. mdd-file.at:17
# Category starts at test group 44.
at_banner_text_8="MDD files"
# Banner 9. pc+-file-reader.at:17
# Category starts at test group 45.
at_banner_text_9="SPSS/PC+ file reader - positive"
# Banner 10. pc+-file-reader.at:423
# Category starts at test group 49.
at_banner_text_10="SPSS/PC+ file reader - negative"
# Banner 11. por-file.at:17
# Category starts at test group 65.
at_banner_text_11="portable files"
# Banner 12. sys-file-reader.at:17
# Category starts at test group 69.
at_banner_text_12="system file reader - positive"
# Banner 13. sys-file-reader.at:1474
# Category starts at test group 87.
at_banner_text_13="system file reader - negative"
# Banner 14. sys-file.at:17
# Category starts at test group 168.
at_banner_text_14="system files"
# Banner 15. sys-file.at:328
# Category starts at test group 177.
at_banner_text_15="system files -- very long strings"
# Banner 16. encrypted-file.at:17
# Category starts at test group 182.
at_banner_text_16="encrypted files"
# Banner 17. command.at:17
# Category starts at test group 185.
at_banner_text_17="command parser"
# Banner 18. command.at:40
# Category starts at test group 187.
at_banner_text_18="ERASE"
# Banner 19. command.at:68
# Category starts at test group 189.
at_banner_text_19="N OF CASES"
# Banner 20. command.at:105
# Category starts at test group 190.
at_banner_text_20="COMMENT"
# Banner 21. do-if.at:17
# Category starts at test group 191.
at_banner_text_21="DO IF"
# Banner 22. do-repeat.at:17
# Category starts at test group 194.
at_banner_text_22="DO REPEAT"
# Banner 23. loop.at:17
# Category starts at test group 200.
at_banner_text_23="LOOP"
# Banner 24. temporary.at:17
# Category starts at test group 209.
at_banner_text_24="TEMPORARY"
# Banner 25. add-files.at:118
# Category starts at test group 210.
at_banner_text_25="ADD FILES"
# Banner 26. data-list.at:17
# Category starts at test group 210.
at_banner_text_26="DATA LIST"
# Banner 27. data-reader.at:17
# Category starts at test group 224.
at_banner_text_27="BEGIN DATA"
# Banner 28. dataset.at:17
# Category starts at test group 230.
at_banner_text_28="DATASET commands"
# Banner 29. file-handle.at:17
# Category starts at test group 237.
at_banner_text_29="FILE HANDLE"
# Banner 30. get-data-spreadsheet.at:169
# Category starts at test group 238.
at_banner_text_30="GET DATA Spreadsheet /TYPE=GNM"
# Banner 31. get-data-spreadsheet.at:373
# Category starts at test group 247.
at_banner_text_31="GET DATA Spreadsheet /TYPE=ODS"
# Banner 32. get-data-psql.at:17
# Category starts at test group 256.
at_banner_text_32="GET DATA /TYPE=PSQL"
# Banner 33. get-data-txt.at:17
# Category starts at test group 257.
at_banner_text_33="GET DATA /TYPE=TXT"
# Banner 34. get.at:17
# Category starts at test group 270.
at_banner_text_34="GET"
# Banner 35. inpt-pgm.at:17
# Category starts at test group 275.
at_banner_text_35="INPUT PROGRAM"
# Banner 36. list.at:17
# Category starts at test group 279.
at_banner_text_36="LIST"
# Banner 37. match-files.at:17
# Category starts at test group 287.
at_banner_text_37="MATCH FILES"
# Banner 38. matrix-data.at:17
# Category starts at test group 297.
at_banner_text_38="MATRIX DATA"
# Banner 39. print-space.at:17
# Category starts at test group 310.
at_banner_text_39="PRINT SPACE"
# Banner 40. print.at:17
# Category starts at test group 314.
at_banner_text_40="PRINT and WRITE"
# Banner 41. save.at:17
# Category starts at test group 324.
at_banner_text_41="IMPORT and EXPORT"
# Banner 42. save.at:43
# Category starts at test group 325.
at_banner_text_42="SAVE"
# Banner 43. save-translate.at:17
# Category starts at test group 326.
at_banner_text_43="SAVE TRANSLATE /TYPE=CSV"
# Banner 44. save-translate.at:148
# Category starts at test group 334.
at_banner_text_44="SAVE TRANSLATE /TYPE=TAB"
# Banner 45. update.at:86
# Category starts at test group 335.
at_banner_text_45="UPDATE"
# Banner 46. attributes.at:17
# Category starts at test group 336.
at_banner_text_46="VARIABLE ATTRIBUTES and DATAFILE ATTRIBUTES"
# Banner 47. apply.at:17
# Category starts at test group 337.
at_banner_text_47="APPLY DICTIONARY"
# Banner 48. delete-variables.at:17
# Category starts at test group 338.
at_banner_text_48="DELETE VARIABLES"
# Banner 49. formats.at:17
# Category starts at test group 339.
at_banner_text_49="FORMATS"
# Banner 50. missing-values.at:17
# Category starts at test group 341.
at_banner_text_50="MISSING VALUES"
# Banner 51. mrsets.at:17
# Category starts at test group 343.
at_banner_text_51="MRSETS"
# Banner 52. modify-variables.at:17
# Category starts at test group 355.
at_banner_text_52="MODIFY VARS"
# Banner 53. rename-variables.at:17
# Category starts at test group 359.
at_banner_text_53="RENAME VARIABLES"
# Banner 54. sort-variables.at:17
# Category starts at test group 364.
at_banner_text_54="SORT VARIABLES"
# Banner 55. split-file.at:17
# Category starts at test group 365.
at_banner_text_55="SPLIT FILE"
# Banner 56. sys-file-info.at:17
# Category starts at test group 367.
at_banner_text_56="SYSFILE INFO"
# Banner 57. sys-file-info.at:64
# Category starts at test group 368.
at_banner_text_57="DISPLAY"
# Banner 58. value-labels.at:17
# Category starts at test group 373.
at_banner_text_58="VALUE LABELS"
# Banner 59. variable-display.at:17
# Category starts at test group 378.
at_banner_text_59="variable display attributes"
# Banner 60. variable-display.at:39
# Category starts at test group 379.
at_banner_text_60="VARIABLE LABELS"
# Banner 61. vector.at:17
# Category starts at test group 380.
at_banner_text_61="VECTOR"
# Banner 62. weight.at:17
# Category starts at test group 384.
at_banner_text_62="WEIGHT"
# Banner 63. evaluate.at:48
# Category starts at test group 385.
at_banner_text_63="expressions"
# Banner 64. parse.at:17
# Category starts at test group 391.
at_banner_text_64="expression parsing"
# Banner 65. command-name.at:17
# Category starts at test group 393.
at_banner_text_65="command name matching"
# Banner 66. lexer.at:17
# Category starts at test group 400.
at_banner_text_66="lexer"
# Banner 67. q2c.at:17
# Category starts at test group 404.
at_banner_text_67="q2c"
# Banner 68. scan.at:17
# Category starts at test group 405.
at_banner_text_68="syntax scanning"
# Banner 69. segment.at:17
# Category starts at test group 417.
at_banner_text_69="syntax segmentation"
# Banner 70. variable-parser.at:17
# Category starts at test group 431.
at_banner_text_70="Variable parser"
# Banner 71. aggregate.at:17
# Category starts at test group 433.
at_banner_text_71="AGGREGATE procedure"
# Banner 72. autorecode.at:17
# Category starts at test group 449.
at_banner_text_72="AUTORECODE procedure"
# Banner 73. correlations.at:17
# Category starts at test group 459.
at_banner_text_73="CORRELATIONS"
# Banner 74. crosstabs.at:17
# Category starts at test group 466.
at_banner_text_74="CROSSTABS procedure"
# Banner 75. descriptives.at:17
# Category starts at test group 494.
at_banner_text_75="DESCRIPTIVES procedure"
# Banner 76. examine.at:17
# Category starts at test group 506.
at_banner_text_76="EXAMINE"
# Banner 77. graph.at:17
# Category starts at test group 533.
at_banner_text_77="GRAPH"
# Banner 78. factor.at:17
# Category starts at test group 546.
at_banner_text_78="FACTOR procedure"
# Banner 79. flip.at:17
# Category starts at test group 557.
at_banner_text_79="FLIP command"
# Banner 80. frequencies.at:17
# Category starts at test group 561.
at_banner_text_80="FREQUENCIES procedure"
# Banner 81. glm.at:17
# Category starts at test group 585.
at_banner_text_81="GLM procedure"
# Banner 82. logistic.at:17
# Category starts at test group 590.
at_banner_text_82="LOGISTIC REGRESSION"
# Banner 83. means.at:17
# Category starts at test group 600.
at_banner_text_83="MEANS procedure"
# Banner 84. npar.at:17
# Category starts at test group 617.
at_banner_text_84="NPAR TESTS"
# Banner 85. oneway.at:17
# Category starts at test group 657.
at_banner_text_85="ONEWAY procedure"
# Banner 86. quick-cluster.at:17
# Category starts at test group 675.
at_banner_text_86="QUICK CLUSTER"
# Banner 87. rank.at:17
# Category starts at test group 687.
at_banner_text_87="RANK"
# Banner 88. regression.at:17
# Category starts at test group 699.
at_banner_text_88="LINEAR REGRESSION"
# Banner 89. reliability.at:17
# Category starts at test group 714.
at_banner_text_89="RELIABILITY"
# Banner 90. roc.at:17
# Category starts at test group 719.
at_banner_text_90="ROC"
# Banner 91. sort-cases.at:17
# Category starts at test group 724.
at_banner_text_91="SORT CASES"
# Banner 92. t-test.at:17
# Category starts at test group 745.
at_banner_text_92="T-TEST"
# Banner 93. cache.at:17
# Category starts at test group 766.
at_banner_text_93="CACHE"
# Banner 94. cd.at:17
# Category starts at test group 767.
at_banner_text_94="CD"
# Banner 95. date.at:17
# Category starts at test group 768.
at_banner_text_95="USE"
# Banner 96. host.at:17
# Category starts at test group 769.
at_banner_text_96="HOST - portable tests"
# Banner 97. host.at:54
# Category starts at test group 772.
at_banner_text_97="HOST - Unix-like OSes only"
# Banner 98. insert.at:17
# Category starts at test group 781.
at_banner_text_98="INSERT"
# Banner 99. permissions.at:17
# Category starts at test group 790.
at_banner_text_99="PERMISSIONS"
# Banner 100. set.at:17
# Category starts at test group 792.
at_banner_text_100="SET"
# Banner 101. set.at:126
# Category starts at test group 796.
at_banner_text_101="PRESERVE and RESTORE"
# Banner 102. show.at:17
# Category starts at test group 797.
at_banner_text_102="SHOW"
# Banner 103. title.at:17
# Category starts at test group 799.
at_banner_text_103="TITLE and related commands"
# Banner 104. compute.at:17
# Category starts at test group 800.
at_banner_text_104="COMPUTE transformation"
# Banner 105. count.at:17
# Category starts at test group 804.
at_banner_text_105="COUNT"
# Banner 106. recode.at:17
# Category starts at test group 806.
at_banner_text_106="RECODE transformation"
# Banner 107. sample.at:17
# Category starts at test group 817.
at_banner_text_107="SAMPLE"
# Banner 108. select-if.at:17
# Category starts at test group 818.
at_banner_text_108="FILTER"
# Banner 109. abt.at:17
# Category starts at test group 819.
at_banner_text_109="Augmented binary tree (ABT) library"
# Banner 110. bt.at:17
# Category starts at test group 826.
at_banner_text_110="Balanced tree (BT) library"
# Banner 111. encoding-guesser.at:17
# Category starts at test group 834.
at_banner_text_111="encoding guesser"
# Banner 112. float-format.at:17
# Category starts at test group 854.
at_banner_text_112="floating point formats"
# Banner 113. heap.at:17
# Category starts at test group 855.
at_banner_text_113="Heap library"
# Banner 114. hmap.at:17
# Category starts at test group 860.
at_banner_text_114="Hash map (hmap) library"
# Banner 115. hmapx.at:17
# Category starts at test group 885.
at_banner_text_115="Hash map of pointers (hmapx) library"
# Banner 116. i18n.at:17
# Category starts at test group 913.
at_banner_text_116="i18n recoding"
# Banner 117. i18n.at:68
# Category starts at test group 922.
at_banner_text_117="i18n concatenation"
# Banner 118. line-reader.at:17
# Category starts at test group 943.
at_banner_text_118="line_reader"
# Banner 119. ll.at:17
# Category starts at test group 951.
at_banner_text_119="doubly linked list (ll) library"
# Banner 120. llx.at:17
# Category starts at test group 981.
at_banner_text_120="doubly linked list of pointers (llx) library"
# Banner 121. range-map.at:17
# Category starts at test group 1013.
at_banner_text_121="range map library"
# Banner 122. range-set.at:17
# Category starts at test group 1016.
at_banner_text_122="range set library"
# Banner 123. range-tower.at:17
# Category starts at test group 1022.
at_banner_text_123="range tower library"
# Banner 124. sparse-array.at:17
# Category starts at test group 1030.
at_banner_text_124="sparse array library"
# Banner 125. sparse-xarray-test.at:17
# Category starts at test group 1032.
at_banner_text_125="sparse external arrays"
# Banner 126. str.at:17
# Category starts at test group 1039.
at_banner_text_126="string library"
# Banner 127. string-map.at:17
# Category starts at test group 1040.
at_banner_text_127="string map library"
# Banner 128. stringi-map.at:17
# Category starts at test group 1054.
at_banner_text_128="case-insensitive string map library"
# Banner 129. string-set.at:17
# Category starts at test group 1068.
at_banner_text_129="string set library"
# Banner 130. stringi-set.at:17
# Category starts at test group 1081.
at_banner_text_130="case-insensitive string set library"
# Banner 131. tower.at:17
# Category starts at test group 1094.
at_banner_text_131="tower library"
# Banner 132. u8-istream.at:17
# Category starts at test group 1099.
at_banner_text_132="u8_istream"
# Banner 133. zip.at:17
# Category starts at test group 1115.
at_banner_text_133="zip"
# Banner 134. chart-geometry.at:17
# Category starts at test group 1116.
at_banner_text_134="Chart Geometry"
# Banner 135. moments.at:17
# Category starts at test group 1118.
at_banner_text_135="calculating moments"
# Banner 136. randist.at:17
# Category starts at test group 1120.
at_banner_text_136="random distributions"
# Banner 137. ascii.at:17
# Category starts at test group 1134.
at_banner_text_137="ASCII driver -- rendering corner cases"
# Banner 138. charts.at:17
# Category starts at test group 1143.
at_banner_text_138="CHARTS Rudimentary run tests"
# Banner 139. html.at:17
# Category starts at test group 1150.
at_banner_text_139="HTML driver"
# Banner 140. output.at:17
# Category starts at test group 1151.
at_banner_text_140="output drivers"
# Banner 141. paper-size.at:17
# Category starts at test group 1156.
at_banner_text_141="output -- paper sizes"
# Banner 142. render.at:174
# Category starts at test group 1159.
at_banner_text_142="output rendering -- no page breaking"
# Banner 143. render.at:559
# Category starts at test group 1174.
at_banner_text_143="output rendering -- horizontal page breaks"
# Banner 144. render.at:1408
# Category starts at test group 1189.
at_banner_text_144="output rendering -- problematic procedures"
# Banner 145. tables.at:17
# Category starts at test group 1192.
at_banner_text_145="output -- tables"
# Banner 146. main.at:17
# Category starts at test group 1194.
at_banner_text_146="PSPP terminal UI"
# Banner 147. syntax-gen.at:17
# Category starts at test group 1198.
at_banner_text_147="SYNTAX GENERATOR"
# Banner 148. pspp-convert.at:1
# Category starts at test group 1199.
at_banner_text_148="pspp-convert"
# Banner 149. pspp-output.at:1
# Category starts at test group 1200.
at_banner_text_149="pspp-output"
# Banner 150. perl-module.at:17
# Category starts at test group 1213.
at_banner_text_150="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.4.1 test suite. ##
## -------------------------- ##"
{
  $as_echo "## -------------------------- ##
## GNU PSPP 1.4.1 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
}

# Find the Address Sanitizer library that PSPP is linked against, if any.
# If it exists, it needs to be preloaded when we run Perl.
asan_lib=$($abs_top_builddir/libtool --mode=execute ldd \
               $abs_top_builddir/src/ui/terminal/pspp 2>/dev/null \
	   | grep asan \
	   | awk '{print $3}')
if test ! -e "$asan_lib"; then
    asan_lib=
fi

run_perl_module () {
    LD_PRELOAD=$asan_lib:$LD_PRELOAD \
    LD_LIBRARY_PATH=$abs_top_builddir/src/.libs \
    DYLD_LIBRARY_PATH=$abs_top_builddir/src/.libs \
    ASAN_OPTIONS="$ASAN_OPTIONS detect_leaks=false" \
    $PERL -I$abs_top_builddir/perl-module/blib/arch \
          -I$abs_top_builddir/perl-module/blib/lib "$@"
}

# 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.4.1] $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


$as_echo "data-in.at:258" >"$at_check_line_file"
(test "$PYTHON" = none) \
  && at_fn_check_skip 77 "$at_srcdir/data-in.at:258"
{ set +x
$as_echo "$at_srcdir/data-in.at:259: \$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:259"
( $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:259"
$at_failed && at_fn_log_failure
$at_traceon; }

$as_echo "data-in.at:260" >"$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:260"
{ set +x
$as_echo "$at_srcdir/data-in.at:261: pspp -O format=csv date.sps"
at_fn_check_prepare_trace "data-in.at:261"
( $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:261"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-in.at:262: cat date.output"
at_fn_check_prepare_trace "data-in.at:262"
( $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:262"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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:265' \
  "ADATE input format" "                             " 2
at_xfail=no
(
  $as_echo "5. $at_setup_line: testing $at_desc ..."
  $at_traceon


$as_echo "data-in.at:267" >"$at_check_line_file"
(test "$PYTHON" = none) \
  && at_fn_check_skip 77 "$at_srcdir/data-in.at:267"
{ set +x
$as_echo "$at_srcdir/data-in.at:268: \$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:268"
( $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:268"
$at_failed && at_fn_log_failure
$at_traceon; }

$as_echo "data-in.at:269" >"$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:269"
{ set +x
$as_echo "$at_srcdir/data-in.at:270: pspp -O format=csv adate.sps"
at_fn_check_prepare_trace "data-in.at:270"
( $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:270"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-in.at:271: cat adate.output"
at_fn_check_prepare_trace "data-in.at:271"
( $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: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_5
#AT_START_6
at_fn_group_banner 6 'data-in.at:274' \
  "EDATE input format" "                             " 2
at_xfail=no
(
  $as_echo "6. $at_setup_line: testing $at_desc ..."
  $at_traceon


$as_echo "data-in.at:276" >"$at_check_line_file"
(test "$PYTHON" = none) \
  && at_fn_check_skip 77 "$at_srcdir/data-in.at:276"
{ set +x
$as_echo "$at_srcdir/data-in.at:277: \$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:277"
( $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:277"
$at_failed && at_fn_log_failure
$at_traceon; }

$as_echo "data-in.at:278" >"$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:278"
{ set +x
$as_echo "$at_srcdir/data-in.at:279: pspp -O format=csv edate.sps"
at_fn_check_prepare_trace "data-in.at:279"
( $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:279"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-in.at:280: cat edate.output"
at_fn_check_prepare_trace "data-in.at:280"
( $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:280"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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:283' \
  "JDATE input format" "                             " 2
at_xfail=no
(
  $as_echo "7. $at_setup_line: testing $at_desc ..."
  $at_traceon


$as_echo "data-in.at:285" >"$at_check_line_file"
(test "$PYTHON" = none) \
  && at_fn_check_skip 77 "$at_srcdir/data-in.at:285"
{ set +x
$as_echo "$at_srcdir/data-in.at:286: \$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:286"
( $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:286"
$at_failed && at_fn_log_failure
$at_traceon; }

$as_echo "data-in.at:287" >"$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:287"
{ set +x
$as_echo "$at_srcdir/data-in.at:288: pspp -O format=csv jdate.sps"
at_fn_check_prepare_trace "data-in.at:288"
( $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:288"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-in.at:289: cat jdate.output"
at_fn_check_prepare_trace "data-in.at:289"
( $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: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_7
#AT_START_8
at_fn_group_banner 8 'data-in.at:292' \
  "SDATE input format" "                             " 2
at_xfail=no
(
  $as_echo "8. $at_setup_line: testing $at_desc ..."
  $at_traceon


$as_echo "data-in.at:294" >"$at_check_line_file"
(test "$PYTHON" = none) \
  && at_fn_check_skip 77 "$at_srcdir/data-in.at:294"
{ set +x
$as_echo "$at_srcdir/data-in.at:295: \$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:295"
( $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:295"
$at_failed && at_fn_log_failure
$at_traceon; }

$as_echo "data-in.at:296" >"$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:296"
{ set +x
$as_echo "$at_srcdir/data-in.at:297: pspp -O format=csv sdate.sps"
at_fn_check_prepare_trace "data-in.at:297"
( $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:297"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-in.at:298: cat sdate.output"
at_fn_check_prepare_trace "data-in.at:298"
( $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:298"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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:301' \
  "QYR input format" "                               " 2
at_xfail=no
(
  $as_echo "9. $at_setup_line: testing $at_desc ..."
  $at_traceon


$as_echo "data-in.at:303" >"$at_check_line_file"
(test "$PYTHON" = none) \
  && at_fn_check_skip 77 "$at_srcdir/data-in.at:303"
{ set +x
$as_echo "$at_srcdir/data-in.at:304: \$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:304"
( $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:304"
$at_failed && at_fn_log_failure
$at_traceon; }

$as_echo "data-in.at:305" >"$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:305"
{ set +x
$as_echo "$at_srcdir/data-in.at:306: pspp -O format=csv qyr.sps"
at_fn_check_prepare_trace "data-in.at:306"
( $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:306"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-in.at:307: cat qyr.output"
at_fn_check_prepare_trace "data-in.at:307"
( $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:307"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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:310' \
  "MOYR input format" "                              " 2
at_xfail=no
(
  $as_echo "10. $at_setup_line: testing $at_desc ..."
  $at_traceon


$as_echo "data-in.at:312" >"$at_check_line_file"
(test "$PYTHON" = none) \
  && at_fn_check_skip 77 "$at_srcdir/data-in.at:312"
{ set +x
$as_echo "$at_srcdir/data-in.at:313: \$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:313"
( $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:313"
$at_failed && at_fn_log_failure
$at_traceon; }

$as_echo "data-in.at:314" >"$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:314"
{ set +x
$as_echo "$at_srcdir/data-in.at:315: pspp -O format=csv moyr.sps"
at_fn_check_prepare_trace "data-in.at:315"
( $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:315"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-in.at:316: cat moyr.output"
at_fn_check_prepare_trace "data-in.at:316"
( $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:316"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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:319' \
  "WKYR input format" "                              " 2
at_xfail=no
(
  $as_echo "11. $at_setup_line: testing $at_desc ..."
  $at_traceon


$as_echo "data-in.at:321" >"$at_check_line_file"
(test "$PYTHON" = none) \
  && at_fn_check_skip 77 "$at_srcdir/data-in.at:321"
{ set +x
$as_echo "$at_srcdir/data-in.at:322: \$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:322"
( $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:322"
$at_failed && at_fn_log_failure
$at_traceon; }

$as_echo "data-in.at:323" >"$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:323"
{ set +x
$as_echo "$at_srcdir/data-in.at:324: pspp -O format=csv wkyr.sps"
at_fn_check_prepare_trace "data-in.at:324"
( $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:324"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-in.at:325: cat wkyr.output"
at_fn_check_prepare_trace "data-in.at:325"
( $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:325"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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:328' \
  "DATETIME input format" "                          " 2
at_xfail=no
(
  $as_echo "12. $at_setup_line: testing $at_desc ..."
  $at_traceon


$as_echo "data-in.at:330" >"$at_check_line_file"
(test "$PYTHON" = none) \
  && at_fn_check_skip 77 "$at_srcdir/data-in.at:330"
{ set +x
$as_echo "$at_srcdir/data-in.at:331: \$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:331"
( $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:331"
$at_failed && at_fn_log_failure
$at_traceon; }

$as_echo "data-in.at:332" >"$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:332"
{ set +x
$as_echo "$at_srcdir/data-in.at:334: pspp -O format=csv datetime.sps"
at_fn_check_prepare_trace "data-in.at:334"
( $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:334"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-in.at:335: cat datetime.output"
at_fn_check_prepare_trace "data-in.at:335"
( $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: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_12
#AT_START_13
at_fn_group_banner 13 'data-in.at:338' \
  "YMDHMS input format" "                            " 2
at_xfail=no
(
  $as_echo "13. $at_setup_line: testing $at_desc ..."
  $at_traceon


$as_echo "data-in.at:340" >"$at_check_line_file"
(test "$PYTHON" = none) \
  && at_fn_check_skip 77 "$at_srcdir/data-in.at:340"
{ set +x
$as_echo "$at_srcdir/data-in.at:341: \$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:341"
( $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:341"
$at_failed && at_fn_log_failure
$at_traceon; }

$as_echo "data-in.at:342" >"$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:342"
{ set +x
$as_echo "$at_srcdir/data-in.at:344: pspp -O format=csv ymdhms.sps"
at_fn_check_prepare_trace "data-in.at:344"
( $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:344"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-in.at:345: cat ymdhms.output"
at_fn_check_prepare_trace "data-in.at:345"
( $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: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_13
#AT_START_14
at_fn_group_banner 14 'data-in.at:348' \
  "MTIME input format" "                             " 2
at_xfail=no
(
  $as_echo "14. $at_setup_line: testing $at_desc ..."
  $at_traceon


$as_echo "data-in.at:350" >"$at_check_line_file"
(test "$PYTHON" = none) \
  && at_fn_check_skip 77 "$at_srcdir/data-in.at:350"
{ set +x
$as_echo "$at_srcdir/data-in.at:351: \$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:351"
( $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:351"
$at_failed && at_fn_log_failure
$at_traceon; }

$as_echo "data-in.at:352" >"$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:352"
{ set +x
$as_echo "$at_srcdir/data-in.at:353: pspp -O format=csv mtime.sps"
at_fn_check_prepare_trace "data-in.at:353"
( $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:353"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-in.at:354: cat mtime.output"
at_fn_check_prepare_trace "data-in.at:354"
( $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:354"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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:357' \
  "TIME input format" "                              " 2
at_xfail=no
(
  $as_echo "15. $at_setup_line: testing $at_desc ..."
  $at_traceon


$as_echo "data-in.at:359" >"$at_check_line_file"
(test "$PYTHON" = none) \
  && at_fn_check_skip 77 "$at_srcdir/data-in.at:359"
{ set +x
$as_echo "$at_srcdir/data-in.at:360: \$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:360"
( $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:360"
$at_failed && at_fn_log_failure
$at_traceon; }

$as_echo "data-in.at:361" >"$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:361"
{ set +x
$as_echo "$at_srcdir/data-in.at:362: pspp -O format=csv time.sps"
at_fn_check_prepare_trace "data-in.at:362"
( $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:362"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-in.at:363: cat time.output"
at_fn_check_prepare_trace "data-in.at:363"
( $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: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_15
#AT_START_16
at_fn_group_banner 16 'data-in.at:366' \
  "DTIME input format" "                             " 2
at_xfail=no
(
  $as_echo "16. $at_setup_line: testing $at_desc ..."
  $at_traceon


$as_echo "data-in.at:368" >"$at_check_line_file"
(test "$PYTHON" = none) \
  && at_fn_check_skip 77 "$at_srcdir/data-in.at:368"
{ set +x
$as_echo "$at_srcdir/data-in.at:369: \$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:369"
( $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:369"
$at_failed && at_fn_log_failure
$at_traceon; }

$as_echo "data-in.at:370" >"$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:370"
{ set +x
$as_echo "$at_srcdir/data-in.at:371: pspp -O format=csv dtime.sps"
at_fn_check_prepare_trace "data-in.at:371"
( $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:371"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-in.at:372: cat dtime.output"
at_fn_check_prepare_trace "data-in.at:372"
( $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:372"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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:375' \
  "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:377: \$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:377"
( $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:377"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-in.at:378: wc -c < binhex-in.data | sed 's/[ 	]//g'"
at_fn_check_prepare_notrace 'a shell pipeline' "data-in.at:378"
( $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:378"
$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:391: 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:391"
( $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:391"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-in.at:393: pspp -O format=csv binhex-in.sps"
at_fn_check_prepare_trace "data-in.at:393"
( $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:393"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-in.at:394: cat binhex-in.out"
at_fn_check_prepare_trace "data-in.at:394"
( $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:394"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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:397' \
  "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:399: \$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:399"
( $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:399"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-in.at:400: wc -c < bcd-in.data | sed 's/[ 	]//g'"
at_fn_check_prepare_notrace 'a shell pipeline' "data-in.at:400"
( $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:400"
$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:412: 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:412"
( $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:412"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-in.at:414: pspp -O format=csv bcd-in.sps"
at_fn_check_prepare_trace "data-in.at:414"
( $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:414"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-in.at:415: cat bcd-in.out"
at_fn_check_prepare_trace "data-in.at:415"
( $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:415"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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:418' \
  "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:420: \$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:420"
( $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:420"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-in.at:421: wc -c < legacy-in.data | sed 's/[ 	]//g'"
at_fn_check_prepare_notrace 'a shell pipeline' "data-in.at:421"
( $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:421"
$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:433: 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:433"
( $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:433"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-in.at:435: pspp -O format=csv legacy-in.sps"
at_fn_check_prepare_trace "data-in.at:435"
( $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:435"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-in.at:436: cat legacy-in.out"
at_fn_check_prepare_trace "data-in.at:436"
( $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:436"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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:439' \
  "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:466: pspp -O format=csv wkday.sps"
at_fn_check_prepare_trace "data-in.at:466"
( $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:466"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-in.at:485: cat wkday.out"
at_fn_check_prepare_trace "data-in.at:485"
( $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:485"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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:499' \
  "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:561: pspp -O format=csv month.sps"
at_fn_check_prepare_trace "data-in.at:561"
( $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:561"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/data-in.at:608: cat month.out"
at_fn_check_prepare_trace "data-in.at:608"
( $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:608"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 " 00:00
 04:50
 12:31
 12:47
 01:26
 20:58
 07:36
 15:43
 04:25
 06:49
 02:57
 16:45
 21:30
 04:25
 06:49
 02:57
 16:45
 21:30
 22:30
 01: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
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 00:00
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
 *****
" | \
  $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 "  00:00
  04:50
  12:31
  12:47
  01:26
  20:58
  07:36
  15:43
  04:25
  06:49
  02:57
  16:45
  21:30
  04:25
  06:49
  02:57
  16:45
  21:30
  22:30
  01: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
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
 ******
  00:00
 -04:50
 -12:31
 -12:47
 -01:26
 -20:58
 -07:36
 -15:43
 -04:25
 -06:49
 -02:57
 -16:45
 -21:30
 -04:25
 -06:49
 -02:57
 -16:45
 -21:30
 -22:30
 -01: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 "   00:00
   04:50
   12:31
   12:47
   01:26
   20:58
   07:36
   15:43
   04:25
   06:49
   02:57
   16:45
   21:30
   04:25
   06:49
   02:57
   16:45
   21:30
   22:30
   01: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
 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
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
 *******
   00:00
  -04:50
  -12:31
  -12:47
  -01:26
  -20:58
  -07:36
  -15:43
  -04:25
  -06:49
  -02:57
  -16:45
  -21:30
  -04:25
  -06:49
  -02:57
  -16:45
  -21:30
  -22:30
  -01: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 " 00:00:00
 04:50:38
 12:31:35
 12:47:53
 01:26:00
 20:58:11
 07:36:05
 15:43:49
 04:25:09
 06:49:27
 02:57:52
 16:45:44
 21:30:57
 04:25:09
 06:49:27
 02:57:52
 16:45:44
 21:30:57
 22:30:04
 01: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
 00:00:00
   -04:50
   -12:31
   -12:47
   -01:26
   -20:58
   -07:36
   -15:43
   -04:25
   -06:49
   -02:57
   -16:45
   -21:30
   -04:25
   -06:49
   -02:57
   -16:45
   -21:30
   -22:30
   -01: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
 -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 "  00:00:00
  04:50:38
  12:31:35
  12:47:53
  01:26:00
  20:58:11
  07:36:05
  15:43:49
  04:25:09
  06:49:27
  02:57:52
  16:45:44
  21:30:57
  04:25:09
  06:49:27
  02:57:52
  16:45:44
  21:30:57
  22:30:04
  01: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
  00:00:00
 -04:50:38
 -12:31:35
 -12:47:53
 -01:26:00
 -20:58:11
 -07:36:05
 -15:43:49
 -04:25:09
 -06:49:27
 -02:57:52
 -16:45:44
 -21:30:57
 -04:25:09
 -06:49:27
 -02:57:52
 -16:45:44
 -21:30:57
 -22:30:04
 -01: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 "   00:00:00
   04:50:38
   12:31:35
   12:47:53
   01:26:00
   20:58:11
   07:36:05
   15:43:49
   04:25:09
   06:49:27
   02:57:52
   16:45:44
   21:30:57
   04:25:09
   06:49:27
   02:57:52
   16:45:44
   21:30:57
   22:30:04
   01: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
   00:00:00
  -04:50:38
  -12:31:35
  -12:47:53
  -01:26:00
  -20:58:11
  -07:36:05
  -15:43:49
  -04:25:09
  -06:49:27
  -02:57:52
  -16:45:44
  -21:30:57
  -04:25:09
  -06:49:27
  -02:57:52
  -16:45:44
  -21:30:57
  -22:30:04
  -01: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 " 00:00:00.0
 04:50:38.1
 12:31:35.2
 12:47:53.3
 01:26:00.5
 20:58:11.6
 07:36:05.2
 15:43:49.8
 04:25:09.0
 06:49:27.5
 02:57:52.0
 16:45:44.9
 21:30:57.8
 04:25:09.2
 06:49:27.1
 02:57:52.5
 16:45:44.7
 21:30:57.6
 22:30:04.2
 01: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
 00:00:00.0
  -04:50:38
  -12:31:35
  -12:47:53
  -01:26:00
  -20:58:11
  -07:36:05
  -15:43:49
  -04:25:09
  -06:49:27
  -02:57:52
  -16:45:44
  -21:30:57
  -04:25:09
  -06:49:27
  -02:57:52
  -16:45:44
  -21:30:57
  -22:30:04
  -01: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: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 "    00:00:00
    04:50:38
    12:31:35
    12:47:53
    01:26:00
    20:58:11
    07:36:05
    15:43:49
    04:25:09
    06:49:27
    02:57:52
    16:45:44
    21:30:57
    04:25:09
    06:49:27
    02:57:52
    16:45:44
    21:30:57
    22:30:04
    01: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
    00:00:00
   -04:50:38
   -12:31:35
   -12:47:53
   -01:26:00
   -20:58:11
   -07:36:05
   -15:43:49
   -04:25:09
   -06:49:27
   -02:57:52
   -16:45:44
   -21:30:57
   -04:25:09
   -06:49:27
   -02:57:52
   -16:45:44
   -21:30:57
   -22:30:04
   -01: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 "  00:00:00.0
  04:50:38.1
  12:31:35.2
  12:47:53.3
  01:26:00.5
  20:58:11.6
  07:36:05.2
  15:43:49.8
  04:25:09.0
  06:49:27.5
  02:57:52.0
  16:45:44.9
  21:30:57.8
  04:25:09.2
  06:49:27.1
  02:57:52.5
  16:45:44.7
  21:30:57.6
  22:30:04.2
  01: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
  00:00:00.0
 -04:50:38.1
 -12:31:35.2
 -12:47:53.3
 -01:26:00.5
 -20:58:11.6
 -07:36:05.2
 -15:43:49.8
 -04:25:09.0
 -06:49:27.5
 -02:57:52.0
 -16:45:44.9
 -21:30:57.8
 -04:25:09.2
 -06:49:27.1
 -02:57:52.5
 -16:45:44.7
 -21:30:57.6
 -22:30:04.2
 -01: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 " 00:00:00.00
 04:50:38.12
 12:31:35.23
 12:47:53.35
 01:26:00.46
 20:58:11.57
 07:36:05.19
 15:43:49.83
 04:25:09.01
 06:49:27.52
 02:57:52.02
 16:45:44.87
 21:30:57.82
 04:25:09.15
 06:49:27.11
 02:57:52.48
 16:45:44.66
 21:30:57.58
 22:30:04.18
 01: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
 00:00:00.00
 -04:50:38.1
 -12:31:35.2
 -12:47:53.3
 -01:26:00.5
 -20:58:11.6
 -07:36:05.2
 -15:43:49.8
 -04:25:09.0
 -06:49:27.5
 -02:57:52.0
 -16:45:44.9
 -21:30:57.8
 -04:25:09.2
 -06:49:27.1
 -02:57:52.5
 -16:45:44.7
 -21:30:57.6
 -22:30:04.2
 -01: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: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 "     00:00:00
     04:50:38
     12:31:35
     12:47:53
     01:26:00
     20:58:11
     07:36:05
     15:43:49
     04:25:09
     06:49:27
     02:57:52
     16:45:44
     21:30:57
     04:25:09
     06:49:27
     02:57:52
     16:45:44
     21:30:57
     22:30:04
     01: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
     00:00:00
    -04:50:38
    -12:31:35
    -12:47:53
    -01:26:00
    -20:58:11
    -07:36:05
    -15:43:49
    -04:25:09
    -06:49:27
    -02:57:52
    -16:45:44
    -21:30:57
    -04:25:09
    -06:49:27
    -02:57:52
    -16:45:44
    -21:30:57
    -22:30:04
    -01: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 "   00:00:00.0
   04:50:38.1
   12:31:35.2
   12:47:53.3
   01:26:00.5
   20:58:11.6
   07:36:05.2
   15:43:49.8
   04:25:09.0
   06:49:27.5
   02:57:52.0
   16:45:44.9
   21:30:57.8
   04:25:09.2
   06:49:27.1
   02:57:52.5
   16:45:44.7
   21:30:57.6
   22:30:04.2
   01: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
   00:00:00.0
  -04:50:38.1
  -12:31:35.2
  -12:47:53.3
  -01:26:00.5
  -20:58:11.6
  -07:36:05.2
  -15:43:49.8
  -04:25:09.0
  -06:49:27.5
  -02:57:52.0
  -16:45:44.9
  -21:30:57.8
  -04:25:09.2
  -06:49:27.1
  -02:57:52.5
  -16:45:44.7
  -21:30:57.6
  -22:30:04.2
  -01: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 "  00:00:00.00
  04:50:38.12
  12:31:35.23
  12:47:53.35
  01:26:00.46
  20:58:11.57
  07:36:05.19
  15:43:49.83
  04:25:09.01
  06:49:27.52
  02:57:52.02
  16:45:44.87
  21:30:57.82
  04:25:09.15
  06:49:27.11
  02:57:52.48
  16:45:44.66
  21:30:57.58
  22:30:04.18
  01: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
  00:00:00.00
 -04:50:38.12
 -12:31:35.23
 -12:47:53.35
 -01:26:00.46
 -20:58:11.57
 -07:36:05.19
 -15:43:49.83
 -04:25:09.01
 -06:49:27.52
 -02:57:52.02
 -16:45:44.87
 -21:30:57.82
 -04:25:09.15
 -06:49:27.11
 -02:57:52.48
 -16:45:44.66
 -21:30:57.58
 -22:30:04.18
 -01: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 " 00:00:00.000
 04:50:38.123
 12:31:35.235
 12:47:53.345
 01:26:00.456
 20:58:11.567
 07:36:05.190
 15:43:49.831
 04:25:09.013
 06:49:27.524
 02:57:52.016
 16:45:44.865
 21:30:57.820
 04:25:09.154
 06:49:27.105
 02:57:52.482
 16:45:44.658
 21:30:57.582
 22:30:04.183
 01: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
 00:00:00.000
 -04:50:38.12
 -12:31:35.23
 -12:47:53.35
 -01:26:00.46
 -20:58:11.57
 -07:36:05.19
 -15:43:49.83
 -04:25:09.01
 -06:49:27.52
 -02:57:52.02
 -16:45:44.87
 -21:30:57.82
 -04:25:09.15
 -06:49:27.11
 -02:57:52.48
 -16:45:44.66
 -21:30:57.58
 -22:30:04.18
 -01: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: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 "      00:00:00
      04:50:38
      12:31:35
      12:47:53
      01:26:00
      20:58:11
      07:36:05
      15:43:49
      04:25:09
      06:49:27
      02:57:52
      16:45:44
      21:30:57
      04:25:09
      06:49:27
      02:57:52
      16:45:44
      21:30:57
      22:30:04
      01: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
      00:00:00
     -04:50:38
     -12:31:35
     -12:47:53
     -01:26:00
     -20:58:11
     -07:36:05
     -15:43:49
     -04:25:09
     -06:49:27
     -02:57:52
     -16:45:44
     -21:30:57
     -04:25:09
     -06:49:27
     -02:57:52
     -16:45:44
     -21:30:57
     -22:30:04
     -01: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 "    00:00:00.0
    04:50:38.1
    12:31:35.2
    12:47:53.3
    01:26:00.5
    20:58:11.6
    07:36:05.2
    15:43:49.8
    04:25:09.0
    06:49:27.5
    02:57:52.0
    16:45:44.9
    21:30:57.8
    04:25:09.2
    06:49:27.1
    02:57:52.5
    16:45:44.7
    21:30:57.6
    22:30:04.2
    01: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
    00:00:00.0
   -04:50:38.1
   -12:31:35.2
   -12:47:53.3
   -01:26:00.5
   -20:58:11.6
   -07:36:05.2
   -15:43:49.8
   -04:25:09.0
   -06:49:27.5
   -02:57:52.0
   -16:45:44.9
   -21:30:57.8
   -04:25:09.2
   -06:49:27.1
   -02:57:52.5
   -16:45:44.7
   -21:30:57.6
   -22:30:04.2
   -01: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 "   00:00:00.00
   04:50:38.12
   12:31:35.23
   12:47:53.35
   01:26:00.46
   20:58:11.57
   07:36:05.19
   15:43:49.83
   04:25:09.01
   06:49:27.52
   02:57:52.02
   16:45:44.87
   21:30:57.82
   04:25:09.15
   06:49:27.11
   02:57:52.48
   16:45:44.66
   21:30:57.58
   22:30:04.18
   01: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
   00:00:00.00
  -04:50:38.12
  -12:31:35.23
  -12:47:53.35
  -01:26:00.46
  -20:58:11.57
  -07:36:05.19
  -15:43:49.83
  -04:25:09.01
  -06:49:27.52
  -02:57:52.02
  -16:45:44.87
  -21:30:57.82
  -04:25:09.15
  -06:49:27.11
  -02:57:52.48
  -16:45:44.66
  -21:30:57.58
  -22:30:04.18
  -01: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 "  00:00:00.000
  04:50:38.123
  12:31:35.235
  12:47:53.345
  01:26:00.456
  20:58:11.567
  07:36:05.190
  15:43:49.831
  04:25:09.013
  06:49:27.524
  02:57:52.016
  16:45:44.865
  21:30:57.820
  04:25:09.154
  06:49:27.105
  02:57:52.482
  16:45:44.658
  21:30:57.582
  22:30:04.183
  01: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
  00:00:00.000
 -04:50:38.123
 -12:31:35.235
 -12:47:53.345
 -01:26:00.456
 -20:58:11.567
 -07:36:05.190
 -15:43:49.831
 -04:25:09.013
 -06:49:27.524
 -02:57:52.016
 -16:45:44.865
 -21:30:57.820
 -04:25:09.154
 -06:49:27.105
 -02:57:52.482
 -16:45:44.658
 -21:30:57.582
 -22:30:04.183
 -01: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 " 00:00:00.0000
 04:50:38.1230
 12:31:35.2345
 12:47:53.3451
 01:26:00.4561
 20:58:11.5668
 07:36:05.1896
 15:43:49.8313
 04:25:09.0129
 06:49:27.5238
 02:57:52.0156
 16:45:44.8653
 21:30:57.8205
 04:25:09.1539
 06:49:27.1053
 02:57:52.4823
 16:45:44.6583
 21:30:57.5822
 22:30:04.1835
 01: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
 00:00:00.0000
 -04:50:38.123
 -12:31:35.235
 -12:47:53.345
 -01:26:00.456
 -20:58:11.567
 -07:36:05.190
 -15:43:49.831
 -04:25:09.013
 -06:49:27.524
 -02:57:52.016
 -16:45:44.865
 -21:30:57.820
 -04:25:09.154
 -06:49:27.105
 -02:57:52.482
 -16:45:44.658
 -21:30:57.582
 -22:30:04.183
 -01: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: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 "       00:00:00
       04:50:38
       12:31:35
       12:47:53
       01:26:00
       20:58:11
       07:36:05
       15:43:49
       04:25:09
       06:49:27
       02:57:52
       16:45:44
       21:30:57
       04:25:09
       06:49:27
       02:57:52
       16:45:44
       21:30:57
       22:30:04
       01: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
       00:00:00
      -04:50:38
      -12:31:35
      -12:47:53
      -01:26:00
      -20:58:11
      -07:36:05
      -15:43:49
      -04:25:09
      -06:49:27
      -02:57:52
      -16:45:44
      -21:30:57
      -04:25:09
      -06:49:27
      -02:57:52
      -16:45:44
      -21:30:57
      -22:30:04
      -01: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 "     00:00:00.0
     04:50:38.1
     12:31:35.2
     12:47:53.3
     01:26:00.5
     20:58:11.6
     07:36:05.2
     15:43:49.8
     04:25:09.0
     06:49:27.5
     02:57:52.0
     16:45:44.9
     21:30:57.8
     04:25:09.2
     06:49:27.1
     02:57:52.5
     16:45:44.7
     21:30:57.6
     22:30:04.2
     01: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
     00:00:00.0
    -04:50:38.1
    -12:31:35.2
    -12:47:53.3
    -01:26:00.5
    -20:58:11.6
    -07:36:05.2
    -15:43:49.8
    -04:25:09.0
    -06:49:27.5
    -02:57:52.0
    -16:45:44.9
    -21:30:57.8
    -04:25:09.2
    -06:49:27.1
    -02:57:52.5
    -16:45:44.7
    -21:30:57.6
    -22:30:04.2
    -01: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 "    00:00:00.00
    04:50:38.12
    12:31:35.23
    12:47:53.35
    01:26:00.46
    20:58:11.57
    07:36:05.19
    15:43:49.83
    04:25:09.01
    06:49:27.52
    02:57:52.02
    16:45:44.87
    21:30:57.82
    04:25:09.15
    06:49:27.11
    02:57:52.48
    16:45:44.66
    21:30:57.58
    22:30:04.18
    01: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
    00:00:00.00
   -04:50:38.12
   -12:31:35.23
   -12:47:53.35
   -01:26:00.46
   -20:58:11.57
   -07:36:05.19
   -15:43:49.83
   -04:25:09.01
   -06:49:27.52
   -02:57:52.02
   -16:45:44.87
   -21:30:57.82
   -04:25:09.15
   -06:49:27.11
   -02:57:52.48
   -16:45:44.66
   -21:30:57.58
   -22:30:04.18
   -01: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 "   00:00:00.000
   04:50:38.123
   12:31:35.235
   12:47:53.345
   01:26:00.456
   20:58:11.567
   07:36:05.190
   15:43:49.831
   04:25:09.013
   06:49:27.524
   02:57:52.016
   16:45:44.865
   21:30:57.820
   04:25:09.154
   06:49:27.105
   02:57:52.482
   16:45:44.658
   21:30:57.582
   22:30:04.183
   01: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
   00:00:00.000
  -04:50:38.123
  -12:31:35.235
  -12:47:53.345
  -01:26:00.456
  -20:58:11.567
  -07:36:05.190
  -15:43:49.831
  -04:25:09.013
  -06:49:27.524
  -02:57:52.016
  -16:45:44.865
  -21:30:57.820
  -04:25:09.154
  -06:49:27.105
  -02:57:52.482
  -16:45:44.658
  -21:30:57.582
  -22:30:04.183
  -01: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 "  00:00:00.0000
  04:50:38.1230
  12:31:35.2345
  12:47:53.3451
  01:26:00.4561
  20:58:11.5668
  07:36:05.1896
  15:43:49.8313
  04:25:09.0129
  06:49:27.5238
  02:57:52.0156
  16:45:44.8653
  21:30:57.8205
  04:25:09.1539
  06:49:27.1053
  02:57:52.4823
  16:45:44.6583
  21:30:57.5822
  22:30:04.1835
  01: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
  00:00:00.0000
 -04:50:38.1230
 -12:31:35.2345
 -12:47:53.3451
 -01:26:00.4561
 -20:58:11.5668
 -07:36:05.1896
 -15:43:49.8313
 -04:25:09.0129
 -06:49:27.5238
 -02:57:52.0156
 -16:45:44.8653
 -21:30:57.8205
 -04:25:09.1539
 -06:49:27.1053
 -02:57:52.4823
 -16:45:44.6583
 -21:30:57.5822
 -22:30:04.1835
 -01: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 " 00:00:00.00000
 04:50:38.12301
 12:31:35.23453
 12:47:53.34505
 01:26:00.45615
 20:58:11.56677
 07:36:05.18964
 15:43:49.83132
 04:25:09.01293
 06:49:27.52375
 02:57:52.01565
 16:45:44.86529
 21:30:57.82047
 04:25:09.15395
 06:49:27.10533
 02:57:52.48229
 16:45:44.65827
 21:30:57.58219
 22:30:04.18347
 01: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
 00:00:00.00000
 -04:50:38.1230
 -12:31:35.2345
 -12:47:53.3451
 -01:26:00.4561
 -20:58:11.5668
 -07:36:05.1896
 -15:43:49.8313
 -04:25:09.0129
 -06:49:27.5238
 -02:57:52.0156
 -16:45:44.8653
 -21:30:57.8205
 -04:25:09.1539
 -06:49:27.1053
 -02:57:52.4823
 -16:45:44.6583
 -21:30:57.5822
 -22:30:04.1835
 -01: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: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 "        00:00:00
        04:50:38
        12:31:35
        12:47:53
        01:26:00
        20:58:11
        07:36:05
        15:43:49
        04:25:09
        06:49:27
        02:57:52
        16:45:44
        21:30:57
        04:25:09
        06:49:27
        02:57:52
        16:45:44
        21:30:57
        22:30:04
        01: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
        00:00:00
       -04:50:38
       -12:31:35
       -12:47:53
       -01:26:00
       -20:58:11
       -07:36:05
       -15:43:49
       -04:25:09
       -06:49:27
       -02:57:52
       -16:45:44
       -21:30:57
       -04:25:09
       -06:49:27
       -02:57:52
       -16:45:44
       -21:30:57
       -22:30:04
       -01: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 "      00:00:00.0
      04:50:38.1
      12:31:35.2
      12:47:53.3
      01:26:00.5
      20:58:11.6
      07:36:05.2
      15:43:49.8
      04:25:09.0
      06:49:27.5
      02:57:52.0
      16:45:44.9
      21:30:57.8
      04:25:09.2
      06:49:27.1
      02:57:52.5
      16:45:44.7
      21:30:57.6
      22:30:04.2
      01: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
      00:00:00.0
     -04:50:38.1
     -12:31:35.2
     -12:47:53.3
     -01:26:00.5
     -20:58:11.6
     -07:36:05.2
     -15:43:49.8
     -04:25:09.0
     -06:49:27.5
     -02:57:52.0
     -16:45:44.9
     -21:30:57.8
     -04:25:09.2
     -06:49:27.1
     -02:57:52.5
     -16:45:44.7
     -21:30:57.6
     -22:30:04.2
     -01: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 "     00:00:00.00
     04:50:38.12
     12:31:35.23
     12:47:53.35
     01:26:00.46
     20:58:11.57
     07:36:05.19
     15:43:49.83
     04:25:09.01
     06:49:27.52
     02:57:52.02
     16:45:44.87
     21:30:57.82
     04:25:09.15
     06:49:27.11
     02:57:52.48
     16:45:44.66
     21:30:57.58
     22:30:04.18
     01: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
     00:00:00.00
    -04:50:38.12
    -12:31:35.23
    -12:47:53.35
    -01:26:00.46
    -20:58:11.57
    -07:36:05.19
    -15:43:49.83
    -04:25:09.01
    -06:49:27.52
    -02:57:52.02
    -16:45:44.87
    -21:30:57.82
    -04:25:09.15
    -06:49:27.11
    -02:57:52.48
    -16:45:44.66
    -21:30:57.58
    -22:30:04.18
    -01: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 "    00:00:00.000
    04:50:38.123
    12:31:35.235
    12:47:53.345
    01:26:00.456
    20:58:11.567
    07:36:05.190
    15:43:49.831
    04:25:09.013
    06:49:27.524
    02:57:52.016
    16:45:44.865
    21:30:57.820
    04:25:09.154
    06:49:27.105
    02:57:52.482
    16:45:44.658
    21:30:57.582
    22:30:04.183
    01: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
    00:00:00.000
   -04:50:38.123
   -12:31:35.235
   -12:47:53.345
   -01:26:00.456
   -20:58:11.567
   -07:36:05.190
   -15:43:49.831
   -04:25:09.013
   -06:49:27.524
   -02:57:52.016
   -16:45:44.865
   -21:30:57.820
   -04:25:09.154
   -06:49:27.105
   -02:57:52.482
   -16:45:44.658
   -21:30:57.582
   -22:30:04.183
   -01: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 "   00:00:00.0000
   04:50:38.1230
   12:31:35.2345
   12:47:53.3451
   01:26:00.4561
   20:58:11.5668
   07:36:05.1896
   15:43:49.8313
   04:25:09.0129
   06:49:27.5238
   02:57:52.0156
   16:45:44.8653
   21:30:57.8205
   04:25:09.1539
   06:49:27.1053
   02:57:52.4823
   16:45:44.6583
   21:30:57.5822
   22:30:04.1835
   01: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
   00:00:00.0000
  -04:50:38.1230
  -12:31:35.2345
  -12:47:53.3451
  -01:26:00.4561
  -20:58:11.5668
  -07:36:05.1896
  -15:43:49.8313
  -04:25:09.0129
  -06:49:27.5238
  -02:57:52.0156
  -16:45:44.8653
  -21:30:57.8205
  -04:25:09.1539
  -06:49:27.1053
  -02:57:52.4823
  -16:45:44.6583
  -21:30:57.5822
  -22:30:04.1835
  -01: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 "  00:00:00.00000
  04:50:38.12301
  12:31:35.23453
  12:47:53.34505
  01:26:00.45615
  20:58:11.56677
  07:36:05.18964
  15:43:49.83132
  04:25:09.01293
  06:49:27.52375
  02:57:52.01565
  16:45:44.86529
  21:30:57.82047
  04:25:09.15395
  06:49:27.10533
  02:57:52.48229
  16:45:44.65827
  21:30:57.58219
  22:30:04.18347
  01: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
  00:00:00.00000
 -04:50:38.12301
 -12:31:35.23453
 -12:47:53.34505
 -01:26:00.45615
 -20:58:11.56677
 -07:36:05.18964
 -15:43:49.83132
 -04:25:09.01293
 -06:49:27.52375
 -02:57:52.01565
 -16:45:44.86529
 -21:30:57.82047
 -04:25:09.15395
 -06:49:27.10533
 -02:57:52.48229
 -16:45:44.65827
 -21:30:57.58219
 -22:30:04.18347
 -01: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 " 00:00:00.000000
 04:50:38.123010
 12:31:35.234530
 12:47:53.345050
 01:26:00.456150
 20:58:11.566770
 07:36:05.189640
 15:43:49.831320
 04:25:09.012930
 06:49:27.523750
 02:57:52.015650
 16:45:44.865290
 21:30:57.820470
 04:25:09.153950
 06:49:27.105330
 02:57:52.482290
 16:45:44.658270
 21:30:57.582190
 22:30:04.183470
 01: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
 00:00:00.000000
 -04:50:38.12301
 -12:31:35.23453
 -12:47:53.34505
 -01:26:00.45615
 -20:58:11.56677
 -07:36:05.18964
 -15:43:49.83132
 -04:25:09.01293
 -06:49:27.52375
 -02:57:52.01565
 -16:45:44.86529
 -21:30:57.82047
 -04:25:09.15395
 -06:49:27.10533
 -02:57:52.48229
 -16:45:44.65827
 -21:30:57.58219
 -22:30:04.18347
 -01: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: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"
($MINGW) \
  && 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 'file.at:126' \
  "Reusing inline file" "                            " 6
at_xfail=no
(
  $as_echo "42. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >inline-reuse.sps <<'_ATEOF'
get data /type=txt /file=inline  /variables=A f7.2 .

data list notable list /foo.
begin data.
end data.

data list notable list /foo.
_ATEOF


{ set +x
$as_echo "$at_srcdir/file.at:138: pspp inline-reuse.sps"
at_fn_check_prepare_trace "file.at:138"
( $at_check_trace; pspp inline-reuse.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: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_42
#AT_START_43
at_fn_group_banner 43 'format-guesser.at:19' \
  "format guesser" "                                 " 7
at_xfail=no
(
  $as_echo "43. $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_43
#AT_START_44
at_fn_group_banner 44 'mdd-file.at:19' \
  "write MDD file" "                                 " 8
at_xfail=no
(
  $as_echo "44. $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_44
#AT_START_45
at_fn_group_banner 45 'pc+-file-reader.at:19' \
  "variable labels and missing values" "             " 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 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 "Table: File Label
Label,PSPP synthetic test file

Table: Variables
Name,Position,Label,Measurement Level,Role,Width,Alignment,Print Format,Write Format,Missing Values
NUM1,1,,Scale,Input,8,Right,F8.0,F8.0,
NUM2,2,Numeric variable 2's label,Scale,Input,8,Right,F8.0,F8.0,
NUM3,3,,Scale,Input,8,Right,F8.0,F8.0,1
NUM4,4,Another numeric variable label,Scale,Input,8,Right,F8.0,F8.0,2
STR1,5,,Nominal,Input,8,Left,A8,A8,
STR2,6,STR2's variable label,Nominal,Input,4,Left,A4,A4,
STR3,7,,Nominal,Input,5,Left,A5,A5,\"\"\"MISS \"\"\"
STR4,8,STR4's variable label,Nominal,Input,1,Left,A1,A1,\"\"\"O\"\"\"
STR5,9,,Nominal,Input,11,Left,A11,A11,
STR6,10,Another string variable's label,Nominal,Input,11,Left,A11,A11,

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_45
#AT_START_46
at_fn_group_banner 46 'pc+-file-reader.at:130' \
  "value labels" "                                   " 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;
@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:212: sack --le pc+-file.sack > pc+-file.sav"
at_fn_check_prepare_trace "pc+-file-reader.at:212"
( $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:212"
$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:219: pspp -o pspp.csv pc+-file.sps"
at_fn_check_prepare_trace "pc+-file-reader.at:219"
( $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:219"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/pc+-file-reader.at:220: cat pspp.csv"
at_fn_check_prepare_trace "pc+-file-reader.at:220"
( $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: File Label
Label,PSPP synthetic test file

Table: Variables
Name,Position,Label,Measurement Level,Role,Width,Alignment,Print Format,Write Format,Missing Values
NUM1,1,,Scale,Input,8,Right,F8.0,F8.0,
NUM2,2,,Scale,Input,8,Right,F8.0,F8.0,
NUM3,3,,Scale,Input,8,Right,F8.0,F8.0,
NUM4,4,,Scale,Input,8,Right,F8.0,F8.0,
NUM5,5,,Scale,Input,8,Right,F8.0,F8.0,
STR1,6,,Nominal,Input,1,Left,A1,A1,
STR2,7,,Nominal,Input,2,Left,A2,A2,
STR3,8,,Nominal,Input,3,Left,A3,A3,
STR4,9,,Nominal,Input,4,Left,A4,A4,
STR5,10,,Nominal,Input,5,Left,A5,A5,
STR6,11,,Nominal,Input,6,Left,A6,A6,
STR7,12,,Nominal,Input,7,Left,A7,A7,
STR8,13,,Nominal,Input,8,Left,A8,A8,

Table: Value Labels
Variable Value,,Label
NUM1,1,one
NUM2,2,two
,3,three
NUM3,3,three
,4,four
NUM4,4,four
NUM5,4,four
,5,five
STR1,a,value label for \`a'
STR2,ab,value label for \`ab'
STR3,abc,value label for \`abc'
STR4,abcd,value label for abcdefgh
STR5,abcde,value label for abcdefgh
,ijklm,value label for ijklmnop
STR6,abcdef,value label for abcdefgh
,ijklmn,value label for ijklmnop
,qrstuv,value label for qrstuvwx
STR7,abcdefg,value label for abcdefgh
,ijklmno,value label for ijklmnop
,qrstuvw,value label for qrstuvwx
,yzABCDE,value label for yzABCDEF
STR8,GHIJKLMN,value label for GHIJKLMN
,ijklmnop,value label for ijklmnop
,qrstuvwx,value label for qrstuvwx
,yzABCDEF,value label for yzABCDEF

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:220"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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:274' \
  "compressed data" "                                " 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 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:326: sack --le pc+-file.sack > pc+-file.sav"
at_fn_check_prepare_trace "pc+-file-reader.at:326"
( $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:326"
$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:333: pspp -o pspp.csv pc+-file.sps"
at_fn_check_prepare_trace "pc+-file-reader.at:333"
( $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:333"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/pc+-file-reader.at:334: cat pspp.csv"
at_fn_check_prepare_trace "pc+-file-reader.at:334"
( $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: File Label
Label,PSPP synthetic test file

Table: Variables
Name,Position,Label,Measurement Level,Role,Width,Alignment,Print Format,Write Format,Missing Values
NUM1,1,,Scale,Input,8,Right,F8.0,F8.0,
NUM2,2,,Scale,Input,8,Right,F8.0,F8.0,
STR4,3,,Nominal,Input,4,Left,A4,A4,
STR8,4,,Nominal,Input,8,Left,A8,A8,
STR15,5,,Nominal,Input,15,Left,A15,A15,

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: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_47
#AT_START_48
at_fn_group_banner 48 'pc+-file-reader.at:353' \
  "weighted" "                                       " 9
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;
    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:396: sack --le pc+-file.sack > pc+-file.sav"
at_fn_check_prepare_trace "pc+-file-reader.at:396"
( $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:396"
$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:400: pspp -O format=csv pc+-file.sps"
at_fn_check_prepare_trace "pc+-file-reader.at:400"
( $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 "Table: File Information
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

Table: Variables
Name,Position,Label,Measurement Level,Role,Width,Alignment,Print Format,Write Format,Missing Values
NUM1,1,,Scale,Input,8,Right,F8.0,F8.0,
NUM2,2,,Scale,Input,8,Right,F8.0,F8.0,
NUM3,3,,Scale,Input,8,Right,F8.0,F8.0,
NUM4,4,,Scale,Input,8,Right,F8.0,F8.0,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/pc+-file-reader.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_48
#AT_START_49
at_fn_group_banner 49 'pc+-file-reader.at:425' \
  "unspecified character encoding" "                 " 10
at_xfail=no
(
  $as_echo "49. $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:468: sack --le pc+-file.sack > pc+-file.sav"
at_fn_check_prepare_trace "pc+-file-reader.at:468"
( $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:468"
$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:477: pspp -O format=csv pc+-file.sps"
at_fn_check_prepare_trace "pc+-file-reader.at:477"
( $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:477"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/pc+-file-reader.at:478: sed 's/default encoding.*For/default encoding.  For/' stdout"
at_fn_check_prepare_trace "pc+-file-reader.at:478"
( $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.\"

Table: File Label
Label,PSPP synthetic test file

Table: Variables
Name,Position,Label,Measurement Level,Role,Width,Alignment,Print Format,Write Format,Missing Values
NUM1,1,,Scale,Input,8,Right,F8.0,F8.0,
NUM2,2,,Scale,Input,8,Right,F8.0,F8.0,
NUM3,3,,Scale,Input,8,Right,F8.0,F8.0,
NUM4,4,,Scale,Input,8,Right,F8.0,F8.0,

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

Table: File Information
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

Table: Variables
Name,Position,Label,Measurement Level,Role,Width,Alignment,Print Format,Write Format,Missing Values
NUM1,1,,Scale,Input,8,Right,F8.0,F8.0,
NUM2,2,,Scale,Input,8,Right,F8.0,F8.0,
NUM3,3,,Scale,Input,8,Right,F8.0,F8.0,
NUM4,4,,Scale,Input,8,Right,F8.0,F8.0,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/pc+-file-reader.at:478"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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:517' \
  "unexpected fixed values" "                        " 10
at_xfail=no
(
  $as_echo "50. $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:560: sack --le pc+-file.sack > pc+-file.sav"
at_fn_check_prepare_trace "pc+-file-reader.at:560"
( $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:560"
$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:564: pspp -O format=csv pc+-file.sps"
at_fn_check_prepare_trace "pc+-file-reader.at:564"
( $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:564"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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:575' \
  "short 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";
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:617: sack --le pc+-file.sack > pc+-file.sav"
at_fn_check_prepare_trace "pc+-file-reader.at:617"
( $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:617"
$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:621: pspp -O format=csv pc+-file.sps"
at_fn_check_prepare_trace "pc+-file-reader.at:621"
( $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:621"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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:626' \
  "long main header" "                               " 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 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: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 "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: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_52
#AT_START_53
at_fn_group_banner 53 'pc+-file-reader.at:678' \
  "invalid compression type" "                       " 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 >>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: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 "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: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_53
#AT_START_54
at_fn_group_banner 54 'pc+-file-reader.at:730' \
  "unrealistic number of cases" "                    " 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;
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: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 "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: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_54
#AT_START_55
at_fn_group_banner 55 'pc+-file-reader.at:782' \
  "labels bad offsets" "                             " 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;
@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:830: sack --le pc+-file.sack > pc+-file.sav"
at_fn_check_prepare_trace "pc+-file-reader.at:830"
( $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:830"
$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:834: pspp -O format=csv pc+-file.sps"
at_fn_check_prepare_trace "pc+-file-reader.at:834"
( $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:834"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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:847' \
  "record 1 bad length" "                            " 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; 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:889: sack --le pc+-file.sack > pc+-file.sav"
at_fn_check_prepare_trace "pc+-file-reader.at:889"
( $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:889"
$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:893: pspp -O format=csv pc+-file.sps"
at_fn_check_prepare_trace "pc+-file-reader.at:893"
( $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:893"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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:900' \
  "bad variable format" "                            " 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; 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:943: sack --le pc+-file.sack > pc+-file.sav"
at_fn_check_prepare_trace "pc+-file-reader.at:943"
( $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:943"
$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:947: pspp -O format=csv pc+-file.sps"
at_fn_check_prepare_trace "pc+-file-reader.at:947"
( $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:947"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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:952' \
  "bad 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 "#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: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: Invalid variable name \`#NUM'.
" | \
  $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_58
#AT_START_59
at_fn_group_banner 59 'pc+-file-reader.at:1004' \
  "duplicate variable name" "                        " 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;
    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: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 "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: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_59
#AT_START_60
at_fn_group_banner 60 'pc+-file-reader.at:1060' \
  "partial case" "                                   " 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:
_ATEOF

{ set +x
$as_echo "$at_srcdir/pc+-file-reader.at:1105: sack --le pc+-file.sack > pc+-file.sav"
at_fn_check_prepare_trace "pc+-file-reader.at:1105"
( $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:1105"
$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:1110: pspp -O format=csv pc+-file.sps"
at_fn_check_prepare_trace "pc+-file-reader.at:1110"
( $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:1110"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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:1124' \
  "case extends past end of data record" "           " 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 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:1170: sack --le pc+-file.sack > pc+-file.sav"
at_fn_check_prepare_trace "pc+-file-reader.at:1170"
( $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:1170"
$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:1175: pspp -O format=csv pc+-file.sps"
at_fn_check_prepare_trace "pc+-file-reader.at:1175"
( $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:1175"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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:1189' \
  "corrupt compressed data" "                        " 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 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:1241: sack --le pc+-file.sack > pc+-file.sav"
at_fn_check_prepare_trace "pc+-file-reader.at:1241"
( $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:1241"
$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:1248: pspp -O format=csv pc+-file.sps"
at_fn_check_prepare_trace "pc+-file-reader.at:1248"
( $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 "Table: File Label
Label,PSPP synthetic test file

Table: Variables
Name,Position,Label,Measurement Level,Role,Width,Alignment,Print Format,Write Format,Missing Values
NUM1,1,,Scale,Input,8,Right,F8.0,F8.0,
NUM2,2,,Scale,Input,8,Right,F8.0,F8.0,
STR4,3,,Nominal,Input,4,Left,A4,A4,
STR8,4,,Nominal,Input,8,Left,A8,A8,
STR15,5,,Nominal,Input,15,Left,A15,A15,

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: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_62
#AT_START_63
at_fn_group_banner 63 'pc+-file-reader.at:1269' \
  "invalid weight index" "                           " 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 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:1312: sack --le pc+-file.sack > pc+-file.sav"
at_fn_check_prepare_trace "pc+-file-reader.at:1312"
( $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:1312"
$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:1316: pspp -O format=csv pc+-file.sps"
at_fn_check_prepare_trace "pc+-file-reader.at:1316"
( $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:1316"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'pc+-file-reader.at:1321' \
  "string weight" "                                  " 10
at_xfail=no
(
  $as_echo "64. $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:1364: sack --le pc+-file.sack > pc+-file.sav"
at_fn_check_prepare_trace "pc+-file-reader.at:1364"
( $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:1364"
$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:1368: pspp -O format=csv pc+-file.sps"
at_fn_check_prepare_trace "pc+-file-reader.at:1368"
( $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:1368"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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:19' \
  "overwriting portable file" "                      " 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.
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_65
#AT_START_66
at_fn_group_banner 66 'por-file.at:34' \
  "overwriting portable file atomically" "           " 11
at_xfail=no
(
  $as_echo "66. $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_66
#AT_START_67
at_fn_group_banner 67 'por-file.at:52' \
  "write to same portable file being read" "         " 11
at_xfail=no
(
  $as_echo "67. $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_67
#AT_START_68
at_fn_group_banner 68 'por-file.at:86' \
  "write portable file with value labels" "          " 11
at_xfail=no
(
  $as_echo "68. $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 "Table: Variables
Name,Position,Label,Measurement Level,Role,Width,Alignment,Print Format,Write Format,Missing Values
VAR1,1,,Scale,Input,8,Right,F1.0,F1.0,
VAR2,2,,Scale,Input,8,Right,F1.0,F1.0,
VAR3,3,,Scale,Input,8,Right,F1.0,F1.0,
VAR4,4,,Scale,Input,8,Right,F1.0,F1.0,
VAR5,5,,Scale,Input,8,Right,F1.0,F1.0,

Table: Value Labels
Variable Value,,Label
VAR1,1,one
VAR2,2,two
VAR3,3,three
VAR4,4,four
VAR5,5,five

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:129: 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:129"
( $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 "Table: File Information
File,data.por
Label,
Variables,5
Cases,Unknown
Type,SPSS Portable File
Weight,Not weighted
Compression,None

Table: Variables
Name,Position,Label,Measurement Level,Role,Width,Alignment,Print Format,Write Format,Missing Values
VAR1,1,,Scale,Input,8,Right,F1.0,F1.0,
VAR2,2,,Scale,Input,8,Right,F1.0,F1.0,
VAR3,3,,Scale,Input,8,Right,F1.0,F1.0,
VAR4,4,,Scale,Input,8,Right,F1.0,F1.0,
VAR5,5,,Scale,Input,8,Right,F1.0,F1.0,

Table: Value Labels
Variable Value,,Label
VAR1,1,one
VAR2,2,two
VAR3,3,three
VAR4,4,four
VAR5,5,five
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/por-file.at:129"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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:19' \
  "variable labels and missing values" "             " 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; 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 "Table: File Label
Label,PSPP synthetic test file: ôõöø

Table: Variables
Name,Position,Label,Measurement Level,Role,Width,Alignment,Print Format,Write Format,Missing Values
num1,1,,Scale,Input,8,Right,F8.0,F8.0,
num2,2,Numeric variable 2's label (ùúû),Scale,Input,8,Right,F8.0,F8.0,
num3,3,,Scale,Input,8,Right,F8.0,F8.0,1
num4,4,Another numeric variable label,Scale,Input,8,Right,F8.0,F8.0,1
num5,5,,Scale,Input,8,Right,F8.0,F8.0,1; 2
num6,6,,Scale,Input,8,Right,F8.0,F8.0,1; 2; 3
num7,7,,Scale,Input,8,Right,F8.0,F8.0,1 THRU 3
num8,8,,Scale,Input,8,Right,F8.0,F8.0,1 THRU 3; 5
num9,9,,Scale,Input,8,Right,F8.0,F8.0,1 THRU HIGHEST; -5
numàèìñò,10,,Scale,Input,8,Right,F8.0,F8.0,LOWEST THRU 1; 5
str1,11,,Nominal,Input,4,Left,A4,A4,
str2,12,String variable 2's label,Nominal,Input,4,Left,A4,A4,
str3,13,,Nominal,Input,4,Left,A4,A4,\"\"\"MISS\"\"\"
str4,14,Another string variable label,Nominal,Input,4,Left,A4,A4,\"\"\"OTHR\"\"\"
str5,15,,Nominal,Input,4,Left,A4,A4,\"\"\"MISS\"\"; \"\"OTHR\"\"\"
str6,16,,Nominal,Input,4,Left,A4,A4,\"\"\"MISS\"\"; \"\"OTHR\"\"; \"\"MORE\"\"\"
str7,17,,Nominal,Input,11,Left,A11,A11,\"\"\"first8by\"\"\"
str8,18,,Nominal,Input,9,Left,A9,A9,\"\"\"abcdefgh\"\"\"
str9,19,,Nominal,Input,10,Left,A10,A10,\"\"\"abcdefgh\"\"; \"\"01234567\"\"\"
str10,20,,Nominal,Input,11,Left,A11,A11,\"\"\"abcdefgh\"\"; \"\"01234567\"\"; \"\"0       \"\"\"
str11,21,25-byte string,Nominal,Input,25,Left,A25,A25,

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_69
#AT_START_70
at_fn_group_banner 70 'sys-file-reader.at:184' \
  "unspecified number of variable positions" "       " 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; 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:215: 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:215"
( $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:215"
$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:221: pspp -o pspp.csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:221"
( $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:221"
$at_failed && at_fn_log_failure
$at_traceon; }

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:222: cat pspp.csv"
at_fn_check_prepare_trace "sys-file-reader.at:222"
( $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: Variables
Name,Position,Label,Measurement Level,Role,Width,Alignment,Print Format,Write Format,Missing Values
num1,1,,Scale,Input,8,Right,F8.0,F8.0,
num2,2,Numeric variable 2's label,Scale,Input,8,Right,F8.0,F8.0,

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:222"
$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:235' \
  "wrong number of variable positions but version 13" "" 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; -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:269: 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:269"
( $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:269"
$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:275: pspp -o pspp.csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:275"
( $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:275"
$at_failed && at_fn_log_failure
$at_traceon; }

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:276: cat pspp.csv"
at_fn_check_prepare_trace "sys-file-reader.at:276"
( $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: Variables
Name,Position,Label,Measurement Level,Role,Width,Alignment,Print Format,Write Format,Missing Values
num1,1,,Scale,Input,8,Right,F8.0,F8.0,
num2,2,Numeric variable 2's label,Scale,Input,8,Right,F8.0,F8.0,

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:276"
$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:289' \
  "value labels" "                                   " 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; 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:403: 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:403"
( $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:403"
$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:408: pspp -o pspp.csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:408"
( $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:408"
$at_failed && at_fn_log_failure
$at_traceon; }

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:409: cat pspp.csv"
at_fn_check_prepare_trace "sys-file-reader.at:409"
( $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: Variables
Name,Position,Label,Measurement Level,Role,Width,Alignment,Print Format,Write Format,Missing Values
num1,1,,Scale,Input,8,Right,F8.0,F8.0,
num2,2,,Scale,Input,8,Right,F8.0,F8.0,
num3,3,,Scale,Input,8,Right,F8.0,F8.0,
num4,4,,Scale,Input,8,Right,F8.0,F8.0,
num5,5,,Scale,Input,8,Right,F8.0,F8.0,
str1,6,,Nominal,Input,1,Left,A1,A1,
str2,7,,Nominal,Input,2,Left,A2,A2,
str3,8,,Nominal,Input,3,Left,A3,A3,
str4,9,,Nominal,Input,4,Left,A4,A4,
str5,10,,Nominal,Input,4,Left,A4,A4,
str6,11,,Nominal,Input,6,Left,A6,A6,
str7,12,,Nominal,Input,7,Left,A7,A7,
str8,13,,Nominal,Input,8,Left,A8,A8,
str9ж,14,,Nominal,Input,9,Left,A9,A9,
str12,15,,Nominal,Input,12,Left,A12,A12,
str16,16,,Nominal,Input,16,Left,A16,A16,
str17,17,,Nominal,Input,17,Left,A17,A17,

Table: Value Labels
Variable Value,,Label
num1,1,один (in Russian)
num2,1,one
,2,two
num3,3,three
,4,four
num4,5,five
,7,seven
,8,eight
,9,nine
num5,6,six
,7,seven
,8,eight
,10,ten
str1,a,value label for \`a'
str2,bc,value label for \`bc'
,de,value label for \`de'
str3,fgh,value label for \`fgh'
,ijk,value label for \`ijk'
str4,BCDE,value label for \`BCDE'
,lmno,value label for \`lmno'
,tuvw,value label for \`tuvw'
,xyzA,value label for \`xyzA'
str5,FGHI,value label for \`FGHI'
,pqrs,value label for \`pqrs'
,tuvw,value label for \`tuvw'
,xyzA,value label for \`xyzA'
str6,JKLMNO,value label for \`JKLMNO'
str7,JKLMNOP,value label for \`JKLMNOP'
str8,JKLMNOPQ,value label for \`JKLMNOPQ'
str9ж,RSTUVWXYZ,value label for \`RSTUVWXYZ'
str12,0123456789ab,value label for \`0123456789ab'
,cdefghijklmn,value label for \`cdefghijklmn'
str16,EFGHIJKLMNOPQRST,value label for \`EFGHIJKLMNOPQRST'
,UVWXYZ0123456789,value label for \`UVWXYZ0123456789' with Cyrillic letters: \`фхц'
,opqrstuvwxyzABCD,value label for \`opqrstuvwxyzABCD'
str17,abcdefghijklmnopq,value label for \`abcdefghijklmnopq'
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:409"
$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:472' \
  "documents" "                                      " 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; 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:511: 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:511"
( $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:511"
$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:517: pspp -o pspp.csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:517"
( $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:517"
$at_failed && at_fn_log_failure
$at_traceon; }

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:518: cat pspp.csv"
at_fn_check_prepare_trace "sys-file-reader.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 "Table: Documents
\"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:518"
$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:533' \
  "empty document record" "                          " 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; 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:566: 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:566"
( $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:566"
$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:571: pspp -o pspp.csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:571"
( $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:571"
$at_failed && at_fn_log_failure
$at_traceon; }

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:572: cat pspp.csv"
at_fn_check_prepare_trace "sys-file-reader.at:572"
( $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:572"
$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:580' \
  "multiple response sets" "                         " 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; 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:642: 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:642"
( $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:642"
$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:647: pspp -o pspp.csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:647"
( $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:647"
$at_failed && at_fn_log_failure
$at_traceon; }

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:648: cat pspp.csv"
at_fn_check_prepare_trace "sys-file-reader.at:648"
( $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,Label,Encoding,Counted Value,Member Variables
\$a,my mcgroup,Categories,,\"あ
b
c\"
\$b,,Dichotomies,55,\"g
e
f
d\"
\$c,mdgroup #2,Dichotomies,はい,\"h
i
j\"
\$d,third mdgroup,Dichotomies,34,\"k
l
m\"
\$e,,Dichotomies,choice,\"n
o
p\"
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:648"
$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:673' \
  "extra product info" "                             " 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; 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; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:703: 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:703"
( $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:703"
$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:707: pspp -o pspp.csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:707"
( $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:707"
$at_failed && at_fn_log_failure
$at_traceon; }

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:708: sed 8q pspp.csv"
at_fn_check_prepare_trace "sys-file-reader.at:708"
( $at_check_trace; sed 8q 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: File Information
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:708"
$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:721' \
  "variable display parameters, without 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; 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:779: 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:779"
( $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:779"
$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:784: pspp -o pspp.csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:784"
( $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:784"
$at_failed && at_fn_log_failure
$at_traceon; }

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:785: cat pspp.csv"
at_fn_check_prepare_trace "sys-file-reader.at:785"
( $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: Variables
Name,Position,Label,Measurement Level,Role,Width,Alignment,Print Format,Write Format,Missing Values
a,1,,Nominal,Input,8,Left,F8.0,F8.0,
b,2,,Ordinal,Input,8,Left,F8.0,F8.0,
c,3,,Scale,Input,8,Left,F8.0,F8.0,
d,4,,Nominal,Input,8,Right,F8.0,F8.0,
h,5,,Ordinal,Input,3,Right,A3,A3,
i,6,,Scale,Input,3,Right,A3,A3,
j,7,,Nominal,Input,3,Center,A3,A3,
k,8,,Ordinal,Input,3,Center,A3,A3,
l,9,,Scale,Input,9,Center,A9,A9,
m,10,,Nominal,Input,10,Left,A10,A10,
n,11,,Nominal,Input,17,Right,A17,A17,
o,12,,Nominal,Input,25,Center,A25,A25,
" | \
  $at_diff - "$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; }

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:804' \
  "variable display parameters, with width" "        " 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; 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:862: 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:862"
( $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:862"
$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:867: pspp -o pspp.csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:867"
( $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:867"
$at_failed && at_fn_log_failure
$at_traceon; }

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:868: cat pspp.csv"
at_fn_check_prepare_trace "sys-file-reader.at:868"
( $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: Variables
Name,Position,Label,Measurement Level,Role,Width,Alignment,Print Format,Write Format,Missing Values
a,1,,Nominal,Input,1,Left,F8.0,F8.0,
b,2,,Ordinal,Input,2,Left,F8.0,F8.0,
c,3,,Scale,Input,3,Left,F8.0,F8.0,
d,4,,Nominal,Input,4,Right,F8.0,F8.0,
h,5,,Ordinal,Input,5,Right,A3,A3,
i,6,,Scale,Input,6,Right,A3,A3,
j,7,,Nominal,Input,7,Center,A3,A3,
k,8,,Ordinal,Input,8,Center,A3,A3,
l,9,,Scale,Input,9,Center,A9,A9,
m,10,,Nominal,Input,10,Left,A10,A10,
n,11,,Nominal,Input,11,Right,A17,A17,
o,12,,Nominal,Input,12,Center,A25,A25,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:868"
$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:887' \
  "long variable names" "                            " 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; 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:934: 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:934"
( $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:934"
$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:939: pspp -o pspp.csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:939"
( $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:939"
$at_failed && at_fn_log_failure
$at_traceon; }

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:940: cat pspp.csv"
at_fn_check_prepare_trace "sys-file-reader.at:940"
( $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: Variables
Name,Position,Label,Measurement Level,Role,Width,Alignment,Print Format,Write Format,Missing Values
LongVariableName1,1,,Scale,Input,8,Right,F8.0,F8.0,
LongVariableName2,2,,Scale,Input,8,Right,F8.0,F8.0,
LongVariableName3,3,,Scale,Input,8,Right,F8.0,F8.0,
LongVariableName4,4,,Scale,Input,8,Right,F8.0,F8.0,
Coördinate_X,5,,Scale,Input,8,Right,F8.0,F8.0,
Coördinate_Y,6,,Scale,Input,8,Right,F8.0,F8.0,
Coördinate_Z,7,,Scale,Input,8,Right,F8.0,F8.0,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:940"
$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:954' \
  "very long strings" "                              " 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; 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:1003: 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:1003"
( $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:1003"
$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:1009: pspp -o pspp.csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:1009"
( $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:1009"
$at_failed && at_fn_log_failure
$at_traceon; }

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:1010: cat pspp.csv"
at_fn_check_prepare_trace "sys-file-reader.at:1010"
( $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: Variables
Name,Position,Label,Measurement Level,Role,Width,Alignment,Print Format,Write Format,Missing Values
séq256,1,,Nominal,Input,32,Left,A256,A256,
str600,2,,Nominal,Input,32,Left,A600,A600,

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:1010"
$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:1023' \
  "data file and variable attributes" "              " 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; 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:1080: 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:1080"
( $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:1080"
$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:1085: pspp -o pspp.csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:1085"
( $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:1085"
$at_failed && at_fn_log_failure
$at_traceon; }

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:1086: cat pspp.csv"
at_fn_check_prepare_trace "sys-file-reader.at:1086"
( $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: Variable and Dataset Attributes
Variable and Name,,Value
(dataset),Attr1[1],Value1
,Attr1[2],'déclaration'
,SécondAttr[1],123
,SécondAttr[2],456
FirstVariable,\$@Role,1
,adèle[1],23
,adèle[2],34
,bert,123
SécondVariable,xyzzy,quux
ThirdVariable,fizz,buzz
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:1086"
$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:1104: pspp -o pspp.csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:1104"
( $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:1104"
$at_failed && at_fn_log_failure
$at_traceon; }

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:1105: cat pspp.csv"
at_fn_check_prepare_trace "sys-file-reader.at:1105"
( $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: Variables
Name,Position,Label,Measurement Level,Role,Width,Alignment,Print Format,Write Format,Missing Values
FirstVariable,1,,Scale,Output,8,Right,F8.0,F8.0,
SécondVariable,2,,Scale,Input,8,Right,F8.0,F8.0,
ThirdVariable,3,,Scale,Input,8,Right,F8.0,F8.0,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:1105"
$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:1115' \
  "variable roles" "                                 " 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; 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:1159: 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:1159"
( $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:1159"
$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:1164: pspp -o pspp.csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:1164"
( $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:1164"
$at_failed && at_fn_log_failure
$at_traceon; }

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:1167: cat pspp.csv"
at_fn_check_prepare_trace "sys-file-reader.at:1167"
( $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.

Table: Variables
Name,Position,Label,Measurement Level,Role,Width,Alignment,Print Format,Write Format,Missing Values
i,1,,Scale,Input,8,Right,F8.0,F8.0,
o,2,,Scale,Output,8,Right,F8.0,F8.0,
b,3,,Scale,Both,8,Right,F8.0,F8.0,
n,4,,Scale,None,8,Right,F8.0,F8.0,
p,5,,Scale,Partition,8,Right,F8.0,F8.0,
s,6,,Scale,Split,8,Right,F8.0,F8.0,
x,7,,Scale,Input,8,Right,F8.0,F8.0,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:1167"
$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:1183' \
  "compressed data" "                                " 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; 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:1221: 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:1221"
( $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:1221"
$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:1227: pspp -o pspp.csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:1227"
( $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:1227"
$at_failed && at_fn_log_failure
$at_traceon; }

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:1228: cat pspp.csv"
at_fn_check_prepare_trace "sys-file-reader.at:1228"
( $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: Variables
Name,Position,Label,Measurement Level,Role,Width,Alignment,Print Format,Write Format,Missing Values
num1,1,,Scale,Input,8,Right,F8.0,F8.0,
num2,2,,Scale,Input,8,Right,F8.0,F8.0,
str4,3,,Nominal,Input,4,Left,A4,A4,
str8,4,,Nominal,Input,8,Left,A8,A8,
str15,5,,Nominal,Input,15,Left,A15,A15,

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:1228"
$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:1246' \
  "compressed data, zero 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; 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:1284: 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:1284"
( $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:1284"
$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:1290: pspp -o pspp.csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:1290"
( $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:1290"
$at_failed && at_fn_log_failure
$at_traceon; }

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:1291: cat pspp.csv"
at_fn_check_prepare_trace "sys-file-reader.at:1291"
( $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: Variables
Name,Position,Label,Measurement Level,Role,Width,Alignment,Print Format,Write Format,Missing Values
num1,1,,Scale,Input,8,Right,F8.0,F8.0,
num2,2,,Scale,Input,8,Right,F8.0,F8.0,
str4,3,,Nominal,Input,4,Left,A4,A4,
str8,4,,Nominal,Input,8,Left,A8,A8,
str15,5,,Nominal,Input,15,Left,A15,A15,

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:1291"
$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:1309' \
  "compressed data, other bias" "                    " 12
at_xfail=no
(
  $as_echo "85. $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:1347: 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:1347"
( $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:1347"
$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:1353: pspp -o pspp.csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:1353"
( $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:1353"
$at_failed && at_fn_log_failure
$at_traceon; }

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:1356: cat pspp.csv"
at_fn_check_prepare_trace "sys-file-reader.at:1356"
( $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.\"

Table: Variables
Name,Position,Label,Measurement Level,Role,Width,Alignment,Print Format,Write Format,Missing Values
num1,1,,Scale,Input,8,Right,F8.0,F8.0,
num2,2,,Scale,Input,8,Right,F8.0,F8.0,
str4,3,,Nominal,Input,4,Left,A4,A4,
str8,4,,Nominal,Input,8,Left,A8,A8,
str15,5,,Nominal,Input,15,Left,A15,A15,

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:1356"
$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:1445' \
  "zcompressed data" "                               " 12
at_xfail=no
(
  $as_echo "86. $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:1449: 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:1449"
( $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:1449"
$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:1455: pspp -o pspp.csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:1455"
( $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:1455"
$at_failed && at_fn_log_failure
$at_traceon; }

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:1456: cat pspp.csv"
at_fn_check_prepare_trace "sys-file-reader.at:1456"
( $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: Variables
Name,Position,Label,Measurement Level,Role,Width,Alignment,Print Format,Write Format,Missing Values
num1,1,,Scale,Input,8,Right,F8.0,F8.0,
num2,2,,Scale,Input,8,Right,F8.0,F8.0,
str4,3,,Nominal,Input,4,Left,A4,A4,
str8,4,,Nominal,Input,8,Left,A8,A8,
str15,5,,Nominal,Input,15,Left,A15,A15,

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:1456"
$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:1476' \
  "no variables" "                                   " 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; 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:1497: 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:1497"
( $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:1497"
$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:1501: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:1501"
( $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:1501"
$at_failed && at_fn_log_failure
$at_traceon; }


      { set +x
$as_echo "$at_srcdir/sys-file-reader.at:1507: pspp-convert sys-file.sav sys-file.txt"
at_fn_check_prepare_trace "sys-file-reader.at:1507"
( $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:1507"
$at_failed && at_fn_log_failure
$at_traceon; }

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:1508: cat sys-file.txt"
at_fn_check_prepare_trace "sys-file-reader.at:1508"
( $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:1508"
$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:1513' \
  "unspecified character encoding" "                 " 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; 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:1538: 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:1538"
( $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:1538"
$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:1542: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:1542"
( $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:1542"
$at_failed && at_fn_log_failure
$at_traceon; }

  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:1543: sed 's/default encoding.*For/default encoding.  For/' stdout"
at_fn_check_prepare_trace "sys-file-reader.at:1543"
( $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:1543"
$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:1549' \
  "misplaced type 4 record" "                        " 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";

>>4<<;
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:1563: 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:1563"
( $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:1563"
$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:1566: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:1566"
( $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:1566"
$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:1572' \
  "bad record type" "                                " 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; 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:1586: 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:1586"
( $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:1586"
$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:1589: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:1589"
( $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:1589"
$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:1595' \
  "wrong number of variable positions" "             " 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; >>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:1612: 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:1612"
( $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:1612"
$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:1615: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:1615"
( $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:1615"
$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:1621' \
  "variable name may not begin with \`#'" "           " 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 >>"$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:1638: 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:1638"
( $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:1638"
$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:1641: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:1641"
( $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 0xb4: Renaming variable with invalid name \`\$UM1' to \`VAR001'.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:1641"
$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:1647' \
  "variable name may not be reserved word" "         " 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; 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:1664: 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:1664"
( $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:1664"
$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:1667: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:1667"
( $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 0xb4: Renaming variable with invalid name \`TO' to \`VAR001'.
" | \
  $at_diff - "$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; }

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:1673' \
  "variable width must be between 0 and 255" "       " 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; 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:1690: 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:1690"
( $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:1690"
$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:1693: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:1693"
( $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:1693"
$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:1701' \
  "duplicate variable name" "                        " 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; 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:1719: 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:1719"
( $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:1719"
$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:1723: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:1723"
( $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'.

Table: Variables
Name,Position,Label,Measurement Level,Role,Width,Alignment,Print Format,Write Format,Missing Values
var1,1,,Scale,Input,8,Right,F8.0,F8.0,
var001,2,,Scale,Input,8,Right,F8.0,F8.0,
" | \
  $at_diff - "$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; }

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:1734' \
  "variable label indicator not 0 or 1" "            " 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; >>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:1751: 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:1751"
( $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:1751"
$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:1754: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:1754"
( $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:1754"
$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:1760' \
  "invalid numeric 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; 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:1777: 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:1777"
( $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:1777"
$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:1780: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:1780"
( $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:1780"
$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:1786' \
  "invalid string missing value indicator" "         " 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; 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:1803: 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:1803"
( $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:1803"
$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:1806: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:1806"
( $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:1806"
$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:1812' \
  "missing string continuation record" "             " 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; 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:1830: 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:1830"
( $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:1830"
$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:1833: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:1833"
( $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:1833"
$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:1839' \
  "invalid variable format" "                        " 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; 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:1867: 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:1867"
( $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:1867"
$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:1870: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:1870"
( $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:1870"
$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:1888' \
  "invalid long string missing values" "             " 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; 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:1951: 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:1951"
( $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:1951"
$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:1956: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:1956"
( $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.\"

Table: Variables
Name,Position,Label,Measurement Level,Role,Width,Alignment,Print Format,Write Format,Missing Values
num1,1,,Scale,Input,8,Right,F8.0,F8.0,
str1,2,,Nominal,Input,9,Left,A9,A9,
str2,3,,Nominal,Input,10,Left,A10,A10,\"\"\"abcdefgh\"\"; \"\"ijklmnop\"\"; \"\"qrstuvwx\"\"\"
str3,4,,Nominal,Input,11,Left,A11,A11,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:1956"
$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:1977' \
  "weighting variable must be numeric" "             " 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; >>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:1997: 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:1997"
( $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:1997"
$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:2001: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:2001"
( $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 0x4c: Ignoring string variable \`STR1' set as weighting variable.

Table: Variables
Name,Position,Label,Measurement Level,Role,Width,Alignment,Print Format,Write Format,Missing Values
num1,1,,Scale,Input,8,Right,F8.0,F8.0,
str1,2,,Nominal,Input,4,Left,A4,A4,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:2001"
$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:2012' \
  "bad weighting variable index" "                   " 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; 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:2032: 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:2032"
( $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:2032"
$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:2035: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:2035"
( $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 0x4c: Weight variable index 3 not in valid range 1...2.  Treating file as unweighted.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:2035"
$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:2041' \
  "variable index is long string continuation" "     " 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; 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:2062: 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:2062"
( $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:2062"
$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:2065: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:2065"
( $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 0x4c: Weight variable index 3 refers to long string continuation.  Treating file as unweighted.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:2065"
$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:2071' \
  "multiple documents records" "                     " 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";
2; 0; 0; 0; 0x050800 *2; s8 "NUM2";

(6; 1; s80 "One line of documents") >>* 2<<;

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:2095: 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:2095"
( $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:2095"
$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:2099: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:2099"
( $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 0x14c: Duplicate type 6 (document) record.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:2099"
$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:2106' \
  "extension record too large" "                     " 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; 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:2120: 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:2120"
( $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:2120"
$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:2124: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:2124"
( $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:2124"
$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:2130' \
  "unknown extension record" "                       " 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; 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:2150: 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:2150"
( $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:2150"
$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:2154: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:2154"
( $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:2154"
$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:2160' \
  "bad machine integer info size" "                  " 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; 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:2180: 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:2180"
( $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:2180"
$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:2184: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:2184"
( $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:2184"
$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:2190' \
  "bad machine integer info float format" "          " 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; 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:2210: 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:2210"
( $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:2210"
$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:2214: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:2214"
( $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:2214"
$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:2220' \
  "bad machine integer info endianness" "            " 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; 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:2241: 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:2241"
( $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:2241"
$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:2246: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:2246"
( $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).

Table: Variables
Name,Position,Label,Measurement Level,Role,Width,Alignment,Print Format,Write Format,Missing Values
num1,1,,Scale,Input,8,Right,F8.0,F8.0,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:2246"
$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:2257' \
  "bad machine floating-point info size" "           " 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; >>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: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 "\"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: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_111
#AT_START_112
at_fn_group_banner 112 'sys-file-reader.at:2287' \
  "wrong special floating point values" "            " 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; 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: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:2310: pspp -O format=csv sys-file.sps | sed 's/ (.*/.../'"
at_fn_check_prepare_notrace 'a shell pipeline' "sys-file-reader.at:2310"
( $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:2310"
$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:2320' \
  "bad mrsets name" "                                " 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; 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:2381: 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:2381"
( $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:2381"
$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:2385: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:2385"
( $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,Label,Encoding,Counted Value,Member Variables
\$a,my mcgroup,Categories,,\"あ
b
c\"
\$c,mdgroup #2,Dichotomies,はい,\"h
i
j\"
\$d,third mdgroup,Dichotomies,34,\"k
l
m\"
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:2385"
$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:2405' \
  "missing space after C 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=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:2424: 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:2424"
( $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:2424"
$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:2427: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:2427"
( $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:2427"
$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:2433' \
  "missing space after E 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=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:2452: 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:2452"
( $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:2452"
$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:2455: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:2455"
( $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:2455"
$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:2461' \
  "missing 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 ");

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:2480: 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:2480"
( $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:2480"
$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:2483: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:2483"
( $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:2483"
$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:2491' \
  "unexpected label source 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=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:2510: 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:2510"
( $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:2510"
$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:2513: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:2513"
( $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:2513"
$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:2521' \
  "bad type character 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=");

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:2540: 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:2540"
( $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:2540"
$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:2543: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:2543"
( $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:2543"
$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:2549' \
  "bad counted string length 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=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:2568: 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:2568"
( $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:2568"
$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:2571: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:2571"
( $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:2571"
$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:2577' \
  "missing space in counted string 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=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:2596: 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:2596"
( $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:2596"
$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:2599: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:2599"
( $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:2599"
$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:2605' \
  "counted string too long 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=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:2624: 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:2624"
( $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:2624"
$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:2627: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:2627"
( $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:2627"
$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:2633' \
  "missing space after counted string 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=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:2652: 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:2652"
( $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:2652"
$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:2655: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:2655"
( $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:2655"
$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:2661' \
  "missing newline after 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");

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:2680: 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:2680"
( $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:2680"
$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:2683: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:2683"
( $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:2683"
$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:2691' \
  "duplicate variable name 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; 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:2710: 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:2710"
( $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:2710"
$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:2713: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:2713"
( $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:2713"
$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:2721' \
  "mixed variable types 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; 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:2741: 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:2741"
( $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:2741"
$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:2744: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:2744"
( $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:2744"
$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:2752' \
  "missing newline after variable name in mrsets" "  " 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);

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:2771: 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:2771"
( $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:2771"
$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:2774: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:2774"
( $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:2774"
$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:2780' \
  "zero or one variable in mrset" "                  " 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; 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:2799: 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:2799"
( $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:2799"
$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:2802: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:2802"
( $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:2802"
$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:2810' \
  "wrong display parameter size" "                   " 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; >>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:2830: 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:2830"
( $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:2830"
$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:2833: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:2833"
( $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:2833"
$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:2839' \
  "wrong display parameter count" "                  " 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; >>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:2859: 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:2859"
( $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:2859"
$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:2862: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:2862"
( $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:2862"
$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:2868' \
  "wrong display measurement level" "                " 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; >>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:2888: 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:2888"
( $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:2888"
$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:2891: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:2891"
( $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:2891"
$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:2897' \
  "wrong display alignment" "                        " 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 "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:2917: 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:2917"
( $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:2917"
$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:2920: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:2920"
( $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:2920"
$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:2926' \
  "bad variable name in variable/value pair" "       " 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; 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:2946: 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:2946"
( $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:2946"
$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:2950: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:2950"
( $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:2950"
$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:2956' \
  "duplicate long variable name" "                   " 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; 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:2985: 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:2985"
( $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:2985"
$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:2989: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:2989"
( $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:2989"
$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:3001' \
  "bad very long string length" "                    " 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; 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:3025: 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:3025"
( $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:3025"
$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:3029: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:3029"
( $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:3029"
$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:3039' \
  "bad very long string segment width" "             " 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; 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:3064: 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:3064"
( $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:3064"
$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:3068: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:3068"
( $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:3068"
$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:3074' \
  "too many value labels" "                          " 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; >>0x7fffffff<<;
_ATEOF

for variant in be le; do
  { set +x
$as_echo "$at_srcdir/sys-file-reader.at:3086: 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:3086"
( $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:3086"
$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:3090: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:3090"
( $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:3090"
$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:3096' \
  "missing type 4 record" "                          " 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";

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:3116: 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:3116"
( $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:3116"
$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:3120: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:3120"
( $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:3120"
$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:3126' \
  "value label with no associated variables" "       " 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; 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:3140: 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:3140"
( $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:3140"
$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:3144: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:3144"
( $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:3144"
$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:3150' \
  "type 4 record names long string variable" "       " 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; 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:3171: 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:3171"
( $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:3171"
$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:3175: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:3175"
( $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: 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 0 $at_status "$at_srcdir/sys-file-reader.at:3175"
$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:3181' \
  "value label variable indexes must be in correct range" "" 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; >>3; 4;<<
3; 1; s8 "xyzzy"; i8 3; s7 "one"; 4; 2; >>5; 6;<<
3; 1; s8 "xyzzy"; i8 3; s7 "one"; 4; 2; >>7; 8;<<

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:3204: 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:3204"
( $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:3204"
$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:3208: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:3208"
( $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: Value label variable index 3 not in valid range 1...2.

warning: \`sys-file.sav' near offset 0xf4: Value label variable index 4 not in valid range 1...2.

warning: \`sys-file.sav' near offset 0x11c: Value label variable index 5 not in valid range 1...2.

warning: \`sys-file.sav' near offset 0x11c: Value label variable index 6 not in valid range 1...2.

warning: \`sys-file.sav' near offset 0x144: Value label variable index 7 not in valid range 1...2.

warning: \`sys-file.sav': Suppressed 1 additional warnings for value labels.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:3208"
$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:3224' \
  "value label variable indexes must not be long string continuation" "" 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; 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; >>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:3245: 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:3245"
( $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:3245"
$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:3249: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:3249"
( $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: Value label variable index 2 refers to long string continuation.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-reader.at:3249"
$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:3255' \
  "variables for value label must all be same type" "" 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; 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:3276: 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:3276"
( $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:3276"
$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:3280: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:3280"
( $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: 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 0 $at_status "$at_srcdir/sys-file-reader.at:3280"
$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:3286' \
  "duplicate value labels type" "                    " 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; 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:3308: 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:3308"
( $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:3308"
$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:3312: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:3312"
( $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:3312"
$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:3320' \
  "missing attribute value" "                        " 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; 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:3348: 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:3348"
( $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:3348"
$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:3352: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:3352"
( $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:3352"
$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:3360' \
  "unquoted attribute value" "                       " 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; 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:3389: 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:3389"
( $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:3389"
$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:3393: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:3393"
( $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:3393"
$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:3401' \
  "duplicate attribute name" "                       " 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; 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:3431: 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:3431"
( $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:3431"
$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:3435: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:3435"
( $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:3435"
$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:3443' \
  "bad variable name in long string value label" "   " 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; 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:3485: 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:3485"
( $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:3485"
$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:3488: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:3488"
( $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:3488"
$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:3502' \
  "fewer data records than indicated by file header" "" 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; 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:3525: 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:3525"
( $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:3525"
$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:3529: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:3529"
( $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:3529"
$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:3542' \
  "partial data record between variables" "          " 13
at_xfail=no
(
  $as_echo "149. $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:3562: 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:3562"
( $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:3562"
$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:3566: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:3566"
( $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:3566"
$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:3576' \
  "partial data record within long string" "         " 13
at_xfail=no
(
  $as_echo "150. $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:3596: 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:3596"
( $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:3596"
$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:3600: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:3600"
( $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:3600"
$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:3610' \
  "partial compressed data record" "                 " 13
at_xfail=no
(
  $as_echo "151. $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:3644: 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:3644"
( $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:3644"
$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:3648: pspp -O format=csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:3648"
( $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:3648"
$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:3658' \
  "zcompressed data - bad zheader_ofs" "             " 13
at_xfail=no
(
  $as_echo "152. $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:3662: 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:3662"
( $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:3662"
$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:3665: pspp -o pspp.csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:3665"
( $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:3665"
$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:3670' \
  "zcompressed data - bad ztrailer_ofs" "            " 13
at_xfail=no
(
  $as_echo "153. $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:3674: 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:3674"
( $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:3674"
$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:3677: pspp -o pspp.csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:3677"
( $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:3677"
$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:3684' \
  "zcompressed data - invalid ztrailer_len" "        " 13
at_xfail=no
(
  $as_echo "154. $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:3688: 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:3688"
( $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:3688"
$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:3691: pspp -o pspp.csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:3691"
( $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:3691"
$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:3697' \
  "zcompressed data - wrong ztrailer_len" "          " 13
at_xfail=no
(
  $as_echo "155. $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:3701: 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:3701"
( $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:3701"
$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:3704: pspp -o pspp.csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:3704"
( $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:3704"
$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:3710' \
  "zcompressed data - wrong ztrailer_bias" "         " 13
at_xfail=no
(
  $as_echo "156. $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:3714: 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:3714"
( $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:3714"
$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:3717: pspp -o pspp.csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:3717"
( $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:3717"
$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:3722' \
  "zcompressed data - wrong ztrailer_zero" "         " 13
at_xfail=no
(
  $as_echo "157. $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:3726: 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:3726"
( $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:3726"
$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:3729: pspp -o pspp.csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:3729"
( $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:3729"
$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:3734' \
  "zcompressed data - wrong block_size" "            " 13
at_xfail=no
(
  $as_echo "158. $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:3738: 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:3738"
( $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:3738"
$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:3741: pspp -o pspp.csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:3741"
( $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:3741"
$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:3746' \
  "zcompressed data - wrong n_blocks" "              " 13
at_xfail=no
(
  $as_echo "159. $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:3750: 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:3750"
( $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:3750"
$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:3753: pspp -o pspp.csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:3753"
( $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:3753"
$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:3758' \
  "zcompressed data - wrong uncompressed_ofs" "      " 13
at_xfail=no
(
  $as_echo "160. $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:3762: 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:3762"
( $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:3762"
$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:3765: pspp -o pspp.csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:3765"
( $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:3765"
$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:3770' \
  "zcompressed data - wrong compressed_ofs" "        " 13
at_xfail=no
(
  $as_echo "161. $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:3774: 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:3774"
( $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:3774"
$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:3777: pspp -o pspp.csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:3777"
( $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:3777"
$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:3782' \
  "zcompressed data - compressed sizes don't add up" "" 13
at_xfail=no
(
  $as_echo "162. $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:3839: 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:3839"
( $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:3839"
$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:3842: pspp -o pspp.csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:3842"
( $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:3842"
$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:3848' \
  "zcompressed data - uncompressed_size > block_size" "" 13
at_xfail=no
(
  $as_echo "163. $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:3852: 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:3852"
( $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:3852"
$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:3855: pspp -o pspp.csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:3855"
( $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:3855"
$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_163
#AT_START_164
at_fn_group_banner 164 'sys-file-reader.at:3860' \
  "zcompressed data - compression expands data too much" "" 13
at_xfail=no
(
  $as_echo "164. $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:3865: 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:3865"
( $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:3865"
$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:3868: pspp -o pspp.csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:3868"
( $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:3868"
$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_164
#AT_START_165
at_fn_group_banner 165 'sys-file-reader.at:3873' \
  "zcompressed data - compressed sizes don't add up" "" 13
at_xfail=no
(
  $as_echo "165. $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:3877: 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:3877"
( $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:3877"
$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:3880: pspp -o pspp.csv sys-file.sps"
at_fn_check_prepare_trace "sys-file-reader.at:3880"
( $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:3880"
$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-reader.at:3890' \
  "integer overflows in long string missing values" "" 13
at_xfail=no
(
  $as_echo "166. $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:3893: pspp-convert -O csv -e ASCII CVE-2017-10791.sav -"
at_fn_check_prepare_trace "sys-file-reader.at:3893"
( $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:3893"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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-reader.at:3903' \
  "null dereference skipping bad extension record 18" "" 13
at_xfail=no
(
  $as_echo "167. $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:3906: pspp-convert -O csv -e ASCII CVE-2017-10792.sav -"
at_fn_check_prepare_trace "sys-file-reader.at:3906"
( $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:3906"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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:20' \
  "write and read numeric data" "                    " 14
at_xfail=no
(
  $as_echo "168. $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_168
#AT_START_169
at_fn_group_banner 169 'sys-file.at:62' \
  "write and read long string value labels and missing values" "" 14
at_xfail=no
(
  $as_echo "169. $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 "Table: Variables
Name,Position,Label,Measurement Level,Role,Width,Alignment,Print Format,Write Format,Missing Values
s1,1,,Nominal,Input,9,Left,A9,A9,\"\"\"0       \"\"\"
s2,2,,Nominal,Input,9,Left,A9,A9,\"\"\"12      \"\"; \"\"123     \"\"\"
s3,3,,Nominal,Input,9,Left,A9,A9,\"\"\"1234    \"\"; \"\"12345   \"\"; \"\"12345678\"\"\"

Table: Value Labels
Variable Value,,Label
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
" | \
  $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:107: dd if=foo.sav bs=1 count=4; echo"
at_fn_check_prepare_trace "sys-file.at:107"
( $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:107"
$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_169
#AT_START_170
at_fn_group_banner 170 'sys-file.at:112' \
  "write and read compressed files" "                " 14
at_xfail=no
(
  $as_echo "170. $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:129: pspp -o pspp.csv sysfile.sps"
at_fn_check_prepare_trace "sys-file.at:129"
( $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:129"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/sys-file.at:131: dd if=com.sav bs=1 skip=72 count=4 2> /dev/null > com.sav.subset"
at_fn_check_prepare_trace "sys-file.at:131"
( $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:131"
$at_failed && at_fn_log_failure
$at_traceon; }

od com.sav.subset
{ set +x
$as_echo "$at_srcdir/sys-file.at:133: (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:133"
( $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: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_170
#AT_START_171
at_fn_group_banner 171 'sys-file.at:139' \
  "overwriting system file" "                        " 14
at_xfail=no
(
  $as_echo "171. $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:150: pspp -O format=csv sysfile.sps"
at_fn_check_prepare_trace "sys-file.at:150"
( $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:150"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/sys-file.at:151: cmp output.sav output.sav.backup"
at_fn_check_prepare_trace "sys-file.at:151"
( $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:151"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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:154' \
  "overwriting system file atomically" "             " 14
at_xfail=no
(
  $as_echo "172. $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:166: pspp -O format=csv sysfile.sps"
at_fn_check_prepare_trace "sys-file.at:166"
( $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:166"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/sys-file.at:167: cmp output.sav output.sav.backup"
at_fn_check_prepare_trace "sys-file.at:167"
( $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:167"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/sys-file.at:168: 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:168"
( $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: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_172
#AT_START_173
at_fn_group_banner 173 'sys-file.at:173' \
  "write to same system file being read" "           " 14
at_xfail=no
(
  $as_echo "173. $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:181: pspp -O format=csv save.sps"
at_fn_check_prepare_trace "sys-file.at:181"
( $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:181"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/sys-file.at:182: test -s data.sav"
at_fn_check_prepare_trace "sys-file.at:182"
( $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:182"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/sys-file.at:183: 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:183"
( $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:183"
$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:190: pspp -O format=csv save2.sps"
at_fn_check_prepare_trace "sys-file.at:190"
( $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:190"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/sys-file.at:191: 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:191"
( $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:191"
$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:197: pspp -O format=csv save3.sps"
at_fn_check_prepare_trace "sys-file.at:197"
( $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:197"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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:204' \
  "nonempty case_map doesn't crash" "                " 14
at_xfail=no
(
  $as_echo "174. $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:216: pspp -O format=csv save.sps"
at_fn_check_prepare_trace "sys-file.at:216"
( $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:216"
$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:221: pspp -O format=csv get.sps"
at_fn_check_prepare_trace "sys-file.at:221"
( $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:221"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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:230' \
  "system files with -1 case_size" "                 " 14
at_xfail=no
(
  $as_echo "175. $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:250: pspp -O format=csv save.sps"
at_fn_check_prepare_trace "sys-file.at:250"
( $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:250"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/sys-file.at:251: test -f cont.sav"
at_fn_check_prepare_trace "sys-file.at:251"
( $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:251"
$at_failed && at_fn_log_failure
$at_traceon; }


{ set +x
$as_echo "$at_srcdir/sys-file.at:255: (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:255"
( $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:255"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/sys-file.at:259: cmp cont.sav cont2.sav"
at_fn_check_prepare_trace "sys-file.at:259"
( $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:259"
$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:268: pspp -o pspp.csv get.sps"
at_fn_check_prepare_trace "sys-file.at:268"
( $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:268"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/sys-file.at:269: cat pspp.csv"
at_fn_check_prepare_trace "sys-file.at:269"
( $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: Variables
Name,Position,Label
cont,1,continents of the world
size,2,sq km
pop,3,population
count,4,number of countries

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: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_175
#AT_START_176
at_fn_group_banner 176 'sys-file.at:289' \
  "write v2 system file" "                           " 14
at_xfail=no
(
  $as_echo "176. $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:312: pspp -O format=csv sysfile.sps"
at_fn_check_prepare_trace "sys-file.at:312"
( $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:312"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/sys-file.at:325: grep 'X=X' foo.sav"
at_fn_check_prepare_trace "sys-file.at:325"
( $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:325"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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:330' \
  "read very long strings written by SPSS 13" "      " 15
at_xfail=no
(
  $as_echo "177. $at_setup_line: testing $at_desc ..."
  $at_traceon

{ set +x
$as_echo "$at_srcdir/sys-file.at:331: cp \$top_srcdir/tests/data/v13.sav ."
at_fn_check_prepare_dynamic "cp $top_srcdir/tests/data/v13.sav ." "sys-file.at:331"
( $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:331"
$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:337: pspp -o pspp.csv sys-file.sps"
at_fn_check_prepare_trace "sys-file.at:337"
( $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:337"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/sys-file.at:338: cat pspp.csv"
at_fn_check_prepare_trace "sys-file.at:338"
( $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: Variables
Name,Position,Print Format,Write Format,Missing Values
N,1,F8.2,F8.2,
A255,2,A255,A255,
A258,3,A258,A258,
A2000,4,A2000,A2000,

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: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_177
#AT_START_178
at_fn_group_banner 178 'sys-file.at:353' \
  "read very long strings written by SPSS 14" "      " 15
at_xfail=no
(
  $as_echo "178. $at_setup_line: testing $at_desc ..."
  $at_traceon

{ set +x
$as_echo "$at_srcdir/sys-file.at:354: cp \$top_srcdir/tests/data/v14.sav ."
at_fn_check_prepare_dynamic "cp $top_srcdir/tests/data/v14.sav ." "sys-file.at:354"
( $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:354"
$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:360: pspp -o pspp.csv sys-file.sps"
at_fn_check_prepare_trace "sys-file.at:360"
( $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:360"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/sys-file.at:361: cat pspp.csv"
at_fn_check_prepare_trace "sys-file.at:361"
( $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: Variables
Name,Position,Print Format,Write Format,Missing Values
vl255,1,A255,A255,
vl256,2,A256,A256,
vl1335,3,A1335,A1335,
vl2000,4,A2000,A2000,

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: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_178
#AT_START_179
at_fn_group_banner 179 'sys-file.at:420' \
  "save very long string -- uncompressed" "          " 15
at_xfail=no
(
  $as_echo "179. $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:420: pspp -O format=csv save.sps"
at_fn_check_prepare_trace "sys-file.at:420"
( $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:420"
$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:420: pspp -o pspp.csv get.sps"
at_fn_check_prepare_trace "sys-file.at:420"
( $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:420"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/sys-file.at:420: cat pspp.csv"
at_fn_check_prepare_trace "sys-file.at:420"
( $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: Variables
Name,Position,Print Format,Write Format,Missing Values
a,1,A10,A10,
b,2,A256,A256,
c,3,A200,A200,
d,4,A32767,A32767,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file.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_179
#AT_START_180
at_fn_group_banner 180 'sys-file.at:421' \
  "save very long string -- compressed" "            " 15
at_xfail=no
(
  $as_echo "180. $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:421: pspp -O format=csv save.sps"
at_fn_check_prepare_trace "sys-file.at:421"
( $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:421"
$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:421: pspp -o pspp.csv get.sps"
at_fn_check_prepare_trace "sys-file.at:421"
( $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:421"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/sys-file.at:421: cat pspp.csv"
at_fn_check_prepare_trace "sys-file.at:421"
( $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: Variables
Name,Position,Print Format,Write Format,Missing Values
a,1,A10,A10,
b,2,A256,A256,
c,3,A200,A200,
d,4,A32767,A32767,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file.at:421"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $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 'sys-file.at:426' \
  "system file character encoding" "                 " 15
at_xfail=no
(
  $as_echo "181. $at_setup_line: testing $at_desc ..."
  $at_traceon

{ set +x
$as_echo "$at_srcdir/sys-file.at:427: i18n-test supports_encodings windows-1252"
at_fn_check_prepare_trace "sys-file.at:427"
( $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:427"
$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:452: pspp -O format=csv save.sps"
at_fn_check_prepare_trace "sys-file.at:452"
( $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:452"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >get.sps <<'_ATEOF'
GET FILE='foo.sav'.
DISPLAY FILE LABEL.
DISPLAY DOCUMENTS.
DISPLAY DICTIONARY.
DISPLAY ATTRIBUTES.
_ATEOF

{ set +x
$as_echo "$at_srcdir/sys-file.at:460: pspp -o pspp.csv get.sps"
at_fn_check_prepare_trace "sys-file.at:460"
( $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:460"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/sys-file.at:461: sed 's/(Entered [^)]*)/(Entered <date>)/' pspp.csv"
at_fn_check_prepare_trace "sys-file.at:461"
( $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: File Label
Label,clientèle confrère cortège crèche

Table: Documents
\"DOCUMENT coördinate smörgåsbord
épée séance soufflé soirée
jalapeño vicuña.
   (Entered <date>)\"

Table: Variables
Name,Position,Label,Measurement Level,Role,Width,Alignment,Print Format,Write Format,Missing Values
àéîöçxyzabc,1,,Scale,Input,8,Right,F8.2,F8.2,
roué,2,Provençal soupçon,Nominal,Input,9,Left,A9,A9,
croûton,3,,Nominal,Input,32,Left,A1000,A1000,

Table: Value Labels
Variable Value,,Label
àéîöçxyzabc,1.00,éclair élan
Provençal soupçon,abcdefghi,sauté précis

Table: Variable and Dataset Attributes
Variable and Name,,Value
(dataset),Furtwängler,kindergärtner
àéîöçxyzabc,Atatürk,Düsseldorf Gewürztraminer
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file.at:461"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'encrypted-file.at:19' \
  "decrypt an encrypted system file" "               " 16
at_xfail=no
(
  $as_echo "182. $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_182
#AT_START_183
at_fn_group_banner 183 'encrypted-file.at:45' \
  "decrypt an encrypted syntax file" "               " 16
at_xfail=no
(
  $as_echo "183. $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_183
#AT_START_184
at_fn_group_banner 184 'encrypted-file.at:68' \
  "decrypt an encrypted viewer file" "               " 16
at_xfail=no
(
  $as_echo "184. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/encrypted-file.at:70: pspp-convert \$srcdir/data/test-encrypted.spv test.spv -p Password1"
at_fn_check_prepare_dynamic "pspp-convert $srcdir/data/test-encrypted.spv test.spv -p Password1" "encrypted-file.at:70"
( $at_check_trace; pspp-convert $srcdir/data/test-encrypted.spv test.spv -p Password1
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_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:70"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/encrypted-file.at:71: cmp \$srcdir/data/test-decrypted.spv test.spv"
at_fn_check_prepare_dynamic "cmp $srcdir/data/test-decrypted.spv test.spv" "encrypted-file.at:71"
( $at_check_trace; cmp $srcdir/data/test-decrypted.spv test.spv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_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: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_184
#AT_START_185
at_fn_group_banner 185 'command.at:20' \
  "command parser crash bug" "                       " 17
at_xfail=no
(
  $as_echo "185. $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_185
#AT_START_186
at_fn_group_banner 186 'command.at:36' \
  "FINISH executes immediately" "                    " 17
at_xfail=no
(
  $as_echo "186. $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_186
#AT_START_187
at_fn_group_banner 187 'command.at:42' \
  "ERASE -- safer mode" "                            " 18
at_xfail=no
(
  $as_echo "187. $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_187
#AT_START_188
at_fn_group_banner 188 'command.at:57' \
  "ERASE -- not safer mode" "                        " 18
at_xfail=no
(
  $as_echo "188. $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_188
#AT_START_189
at_fn_group_banner 189 'command.at:70' \
  "N OF CASES" "                                     " 19
at_xfail=no
(
  $as_echo "189. $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_189
#AT_START_190
at_fn_group_banner 190 'command.at:109' \
  "COMMENT at end of file" "                         " 20
at_xfail=no
(
  $as_echo "190. $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_190
#AT_START_191
at_fn_group_banner 191 'do-if.at:19' \
  "DO IF" "                                          " 21
at_xfail=no
(
  $as_echo "191. $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_191
#AT_START_192
at_fn_group_banner 192 'do-if.at:68' \
  "unpaired END IF crash" "                          " 21
at_xfail=no
(
  $as_echo "192. $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_192
#AT_START_193
at_fn_group_banner 193 'do-if.at:80' \
  "ELSE without DO IF" "                             " 21
at_xfail=no
(
  $as_echo "193. $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_193
#AT_START_194
at_fn_group_banner 194 'do-repeat.at:19' \
  "DO REPEAT -- simple" "                            " 22
at_xfail=no
(
  $as_echo "194. $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_194
#AT_START_195
at_fn_group_banner 195 'do-repeat.at:43' \
  "DO REPEAT -- containing BEGIN DATA" "             " 22
at_xfail=no
(
  $as_echo "195. $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_195
#AT_START_196
at_fn_group_banner 196 'do-repeat.at:78' \
  "DO REPEAT -- dummy vars not expanded in include files" "" 22
at_xfail=no
(
  $as_echo "196. $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_196
#AT_START_197
at_fn_group_banner 197 'do-repeat.at:108' \
  "DO REPEAT -- nested" "                            " 22
at_xfail=no
(
  $as_echo "197. $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_197
#AT_START_198
at_fn_group_banner 198 'do-repeat.at:141' \
  "DO REPEAT -- empty" "                             " 22
at_xfail=no
(
  $as_echo "198. $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_198
#AT_START_199
at_fn_group_banner 199 'do-repeat.at:158' \
  "DO REPEAT -- missing END REPEAT" "                " 22
at_xfail=no
(
  $as_echo "199. $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_199
#AT_START_200
at_fn_group_banner 200 'loop.at:29' \
  "LOOP with 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 #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_200
#AT_START_201
at_fn_group_banner 201 'loop.at:54' \
  "LOOP with IF condition" "                         " 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.

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:65: pspp -o pspp.csv loop.sps"
at_fn_check_prepare_trace "loop.at:65"
( $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:65"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/loop.at:66: cat pspp.csv"
at_fn_check_prepare_trace "loop.at:66"
( $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: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_201
#AT_START_202
at_fn_group_banner 202 'loop.at:81' \
  "LOOP with END IF condition" "                     " 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 #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:92: pspp -o pspp.csv loop.sps"
at_fn_check_prepare_trace "loop.at:92"
( $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:92"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/loop.at:93: cat pspp.csv"
at_fn_check_prepare_trace "loop.at:93"
( $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: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_202
#AT_START_203
at_fn_group_banner 203 'loop.at:109' \
  "LOOP with index and IF based on index" "          " 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.

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:118: pspp -o pspp.csv loop.sps"
at_fn_check_prepare_trace "loop.at:118"
( $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:118"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/loop.at:119: cat pspp.csv"
at_fn_check_prepare_trace "loop.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 "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: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_203
#AT_START_204
at_fn_group_banner 204 'loop.at:131' \
  "LOOP with index and END IF based on index" "      " 23
at_xfail=no
(
  $as_echo "204. $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:140: pspp -o pspp.csv loop.sps"
at_fn_check_prepare_trace "loop.at:140"
( $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:140"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/loop.at:141: cat pspp.csv"
at_fn_check_prepare_trace "loop.at:141"
( $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:141"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'loop.at:155' \
  "LOOP with index and IF and END IF based on index" "" 23
at_xfail=no
(
  $as_echo "205. $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:164: pspp -o pspp.csv loop.sps"
at_fn_check_prepare_trace "loop.at:164"
( $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:164"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/loop.at:165: cat pspp.csv"
at_fn_check_prepare_trace "loop.at:165"
( $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:165"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'loop.at:175' \
  "LOOP with no conditions containing BREAK" "       " 23
at_xfail=no
(
  $as_echo "206. $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:189: pspp -o pspp.csv loop.sps"
at_fn_check_prepare_trace "loop.at:189"
( $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:189"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/loop.at:190: cat pspp.csv"
at_fn_check_prepare_trace "loop.at:190"
( $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: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_206
#AT_START_207
at_fn_group_banner 207 'loop.at:204' \
  "LOOP with no conditions that ends due to MXLOOPS" "" 23
at_xfail=no
(
  $as_echo "207. $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:215: pspp -o pspp.csv loop.sps"
at_fn_check_prepare_trace "loop.at:215"
( $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:215"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/loop.at:216: cat pspp.csv"
at_fn_check_prepare_trace "loop.at:216"
( $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:216"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'loop.at:232' \
  "LOOP with IF condition that ends due to MXLOOPS" "" 23
at_xfail=no
(
  $as_echo "208. $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=3.
compute #p = x.
loop.
print /x #p.
compute #p = #p + 1.
end loop if #p >= 6.
print/'--------'.
execute.
_ATEOF

{ set +x
$as_echo "$at_srcdir/loop.at:244: pspp -o pspp.csv loop.sps"
at_fn_check_prepare_trace "loop.at:244"
( $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:244"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/loop.at:245: cat pspp.csv"
at_fn_check_prepare_trace "loop.at:245"
( $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 
1     3.00 
--------
2     2.00 
2     3.00 
2     4.00 
--------
3     3.00 
3     4.00 
3     5.00 
--------
4     4.00 
4     5.00 
--------
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/loop.at:245"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'temporary.at:20' \
  "TEMPORARY as first transformation" "              " 24
at_xfail=no
(
  $as_echo "209. $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_209
#AT_START_210
at_fn_group_banner 210 'data-list.at:19' \
  "DATA LIST LIST with empty fields" "               " 26
at_xfail=no
(
  $as_echo "210. $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_210
#AT_START_211
at_fn_group_banner 211 'data-list.at:50' \
  "DATA LIST LIST with explicit delimiters" "        " 26
at_xfail=no
(
  $as_echo "211. $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_211
#AT_START_212
at_fn_group_banner 212 'data-list.at:79' \
  "DATA LIST FREE with SKIP" "                       " 26
at_xfail=no
(
  $as_echo "212. $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_212
#AT_START_213
at_fn_group_banner 213 'data-list.at:113' \
  "DATA LIST LIST with SKIP and tab delimiter" "     " 26
at_xfail=no
(
  $as_echo "213. $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_213
#AT_START_214
at_fn_group_banner 214 'data-list.at:162' \
  "DATA LIST FREE with explicit delimiter at end of line" "" 26
at_xfail=no
(
  $as_echo "214. $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_214
#AT_START_215
at_fn_group_banner 215 'data-list.at:223' \
  "DATA LIST FIXED with multiple records per case" " " 26
at_xfail=no
(
  $as_echo "215. $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_215
#AT_START_216
at_fn_group_banner 216 'data-list.at:255' \
  "DATA LIST FIXED with empty trailing record" "     " 26
at_xfail=no
(
  $as_echo "216. $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_216
#AT_START_217
at_fn_group_banner 217 'data-list.at:285' \
  "DATA LIST with various line-ends" "               " 26
at_xfail=no
(
  $as_echo "217. $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_217
#AT_START_218
at_fn_group_banner 218 'data-list.at:309' \
  "DATA LIST properly expands tabs in input" "       " 26
at_xfail=no
(
  $as_echo "218. $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_218
#AT_START_219
at_fn_group_banner 219 'data-list.at:339' \
  "DATA LIST FREE and LIST report missing delimiters" "" 26
at_xfail=no
(
  $as_echo "219. $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_219
#AT_START_220
at_fn_group_banner 220 'data-list.at:357' \
  "DATA LIST FREE and LIST assume a width if omitted" "" 26
at_xfail=no
(
  $as_echo "220. $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_220
#AT_START_221
at_fn_group_banner 221 'data-list.at:370' \
  "DATA LIST Decimal comma" "                        " 26
at_xfail=no
(
  $as_echo "221. $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_221
#AT_START_222
at_fn_group_banner 222 'data-list.at:405' \
  "DATA LIST - Negative SKIP" "                      " 26
at_xfail=no
(
  $as_echo "222. $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 non-negative.

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_222
#AT_START_223
at_fn_group_banner 223 'data-list.at:421' \
  "DATA LIST - Negative RECORDS" "                   " 26
at_xfail=no
(
  $as_echo "223. $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 non-negative.

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_223
#AT_START_224
at_fn_group_banner 224 'data-reader.at:21' \
  "BEGIN DATA as part of a procedure" "              " 27
at_xfail=no
(
  $as_echo "224. $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 "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_224
#AT_START_225
at_fn_group_banner 225 'data-reader.at:52' \
  "BEGIN DATA as an independent command" "           " 27
at_xfail=no
(
  $as_echo "225. $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:64: pspp -O format=csv begin-data.sps"
at_fn_check_prepare_trace "data-reader.at:64"
( $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: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_225
#AT_START_226
at_fn_group_banner 226 'data-reader.at:209' \
  "read and write files with MODE=BINARY" "          " 27
at_xfail=no
(
  $as_echo "226. $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:209: \$PERL make-binary.pl < input.txt > input.bin"
at_fn_check_prepare_dynamic "$PERL make-binary.pl < input.txt > input.bin" "data-reader.at:209"
( $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:209"
$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:209: pspp -O format=csv data-reader.sps"
at_fn_check_prepare_trace "data-reader.at:209"
( $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:209"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/data-reader.at:209: test -s output.bin"
at_fn_check_prepare_trace "data-reader.at:209"
( $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:209"
$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:209: pspp -O format=csv data-reader-2.sps"
at_fn_check_prepare_trace "data-reader.at:209"
( $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: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_226
#AT_START_227
at_fn_group_banner 227 'data-reader.at:215' \
  "read and write files with MODE=360 /RECFORM=FIXED /LRECL=32" "" 27
at_xfail=no
(
  $as_echo "227. $at_setup_line: testing $at_desc ..."
  $at_traceon

{ set +x
$as_echo "$at_srcdir/data-reader.at:215: i18n-test supports_encodings EBCDIC-US"
at_fn_check_prepare_trace "data-reader.at:215"
( $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:215"
$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:215: \$PERL make-binary.pl < input.txt > input.bin"
at_fn_check_prepare_dynamic "$PERL make-binary.pl < input.txt > input.bin" "data-reader.at:215"
( $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:215"
$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:215: pspp -O format=csv data-reader.sps"
at_fn_check_prepare_trace "data-reader.at:215"
( $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:215"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/data-reader.at:215: test -s output.bin"
at_fn_check_prepare_trace "data-reader.at:215"
( $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:215"
$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:215: pspp -O format=csv data-reader-2.sps"
at_fn_check_prepare_trace "data-reader.at:215"
( $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: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_227
#AT_START_228
at_fn_group_banner 228 'data-reader.at:225' \
  "read and write files with MODE=360 /RECFORM=VARIABLE" "" 27
at_xfail=no
(
  $as_echo "228. $at_setup_line: testing $at_desc ..."
  $at_traceon

{ set +x
$as_echo "$at_srcdir/data-reader.at:225: i18n-test supports_encodings EBCDIC-US"
at_fn_check_prepare_trace "data-reader.at:225"
( $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:225"
$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:225: \$PERL make-binary.pl < input.txt > input.bin"
at_fn_check_prepare_dynamic "$PERL make-binary.pl < input.txt > input.bin" "data-reader.at:225"
( $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:225"
$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:225: pspp -O format=csv data-reader.sps"
at_fn_check_prepare_trace "data-reader.at:225"
( $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:225"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/data-reader.at:225: test -s output.bin"
at_fn_check_prepare_trace "data-reader.at:225"
( $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:225"
$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:225: pspp -O format=csv data-reader-2.sps"
at_fn_check_prepare_trace "data-reader.at:225"
( $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: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_228
#AT_START_229
at_fn_group_banner 229 'data-reader.at:232' \
  "read and write files with MODE=360 /RECFORM=SPANNED" "" 27
at_xfail=no
(
  $as_echo "229. $at_setup_line: testing $at_desc ..."
  $at_traceon

{ set +x
$as_echo "$at_srcdir/data-reader.at:232: i18n-test supports_encodings EBCDIC-US"
at_fn_check_prepare_trace "data-reader.at:232"
( $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:232"
$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:232: \$PERL make-binary.pl < input.txt > input.bin"
at_fn_check_prepare_dynamic "$PERL make-binary.pl < input.txt > input.bin" "data-reader.at:232"
( $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:232"
$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:232: pspp -O format=csv data-reader.sps"
at_fn_check_prepare_trace "data-reader.at:232"
( $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:232"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/data-reader.at:232: test -s output.bin"
at_fn_check_prepare_trace "data-reader.at:232"
( $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:232"
$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:232: pspp -O format=csv data-reader-2.sps"
at_fn_check_prepare_trace "data-reader.at:232"
( $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: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_229
#AT_START_230
at_fn_group_banner 230 'dataset.at:19' \
  "DATASET COPY" "                                   " 28
at_xfail=no
(
  $as_echo "230. $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: Datasets
clone
initial (active dataset)

Table: Datasets
clone (active dataset)
initial

Table: Data List
x
2
3
4
5
6

Table: Datasets
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: Datasets
unnamed dataset (active dataset)
initial

Table: Datasets
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_230
#AT_START_231
at_fn_group_banner 231 'dataset.at:110' \
  "DATASET DECLARE" "                                " 28
at_xfail=no
(
  $as_echo "231. $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:123: pspp -O format=csv dataset.pspp"
at_fn_check_prepare_trace "dataset.at:123"
( $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: Datasets
unnamed dataset (active dataset)
second

Table: Data List
x
1

Table: Datasets
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: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_231
#AT_START_232
at_fn_group_banner 232 'dataset.at:139' \
  "DATASET NAME deletes duplicate name" "            " 28
at_xfail=no
(
  $as_echo "232. $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:150: pspp -O format=csv dataset.pspp"
at_fn_check_prepare_trace "dataset.at:150"
( $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: Datasets
a (active dataset)
b
c

Table: Datasets
c (active dataset)
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/dataset.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_232
#AT_START_233
at_fn_group_banner 233 'dataset.at:161' \
  "DATASET ACTIVATE deletes unnamed dataset" "       " 28
at_xfail=no
(
  $as_echo "233. $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:169: pspp -O format=csv dataset.pspp"
at_fn_check_prepare_trace "dataset.at:169"
( $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: Datasets
unnamed dataset (active dataset)
x

Table: Datasets
x (active dataset)
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/dataset.at:169"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'dataset.at:179' \
  "DATASET ACTIVATE executes pending transformations" "" 28
at_xfail=no
(
  $as_echo "234. $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:201: pspp -O format=csv dataset.pspp"
at_fn_check_prepare_trace "dataset.at:201"
( $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: Datasets
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: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_234
#AT_START_235
at_fn_group_banner 235 'dataset.at:228' \
  "DATASET CLOSE" "                                  " 28
at_xfail=no
(
  $as_echo "235. $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:259: pspp -O format=csv dataset.pspp"
at_fn_check_prepare_trace "dataset.at:259"
( $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: Datasets
unnamed dataset (active dataset)

Table: Datasets
unnamed dataset (active dataset)

Table: Datasets
this (active dataset)

Table: Datasets
unnamed dataset (active dataset)

Table: Datasets
this (active dataset)

Table: Datasets
unnamed dataset (active dataset)

Table: Datasets
unnamed dataset (active dataset)
that
theother
yetanother

Table: Datasets
unnamed dataset (active dataset)

Table: Datasets
that
theother
this (active dataset)
yetanother

Table: Datasets
unnamed dataset (active dataset)
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/dataset.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_235
#AT_START_236
at_fn_group_banner 236 'dataset.at:302' \
  "DATASET heap overflow" "                          " 28
at_xfail=no
(
  $as_echo "236. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >dataset.pspp <<'_ATEOF'
DATASET DECLARE initial.
DATA LIST /x 1.

DATASET COPY subsq.

DATA LIST /y 2-4.
BEGIN DATA.
7
END DATA.

DATASET ACTIVATE subsq.

LIST.
_ATEOF


{ set +x
$as_echo "$at_srcdir/dataset.at:319: pspp -O format=csv dataset.pspp"
at_fn_check_prepare_trace "dataset.at:319"
( $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: Reading 1 record from INLINE.
Variable,Record,Columns,Format
x,1,1-  1,F1.0

Table: Reading 1 record from INLINE.
Variable,Record,Columns,Format
y,1,2-  4,F3.0
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/dataset.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_236
#AT_START_237
at_fn_group_banner 237 'file-handle.at:19' \
  "FILE HANDLE" "                                    " 29
at_xfail=no
(
  $as_echo "237. $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_237
#AT_START_238
at_fn_group_banner 238 'get-data-spreadsheet.at:171' \
  "GET DATA /TYPE=GNM with CELLRANGE" "              " 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:171: 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:171"
( $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:171"
$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:171: pspp -o pspp.csv get-data.sps"
at_fn_check_prepare_trace "get-data-spreadsheet.at:171"
( $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:171"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/get-data-spreadsheet.at:171: cat pspp.csv"
at_fn_check_prepare_trace "get-data-spreadsheet.at:171"
( $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: Variables
Name,Position,Print Format,Write Format,Missing Values
VAR001,1,F8.2,F8.2,
VAR002,2,A8,A8,
VAR003,3,F8.2,F8.2,

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: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_238
#AT_START_239
at_fn_group_banner 239 'get-data-spreadsheet.at:171' \
  "GET DATA /TYPE=GNM with CELLRANGE and READNAMES" "" 30
at_xfail=no
(
  $as_echo "239. $at_setup_line: testing $at_desc ..."
  $at_traceon

     { set +x
$as_echo "$at_srcdir/get-data-spreadsheet.at:171: 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:171"
( $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:171"
$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:171: pspp -o pspp.csv get-data.sps"
at_fn_check_prepare_trace "get-data-spreadsheet.at:171"
( $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:171"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/get-data-spreadsheet.at:171: cat pspp.csv"
at_fn_check_prepare_trace "get-data-spreadsheet.at:171"
( $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: Variables
Name,Position,Print Format,Write Format,Missing Values
V1,1,F8.2,F8.2,
V2,2,A8,A8,
VAR001,3,F8.2,F8.2,

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: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_239
#AT_START_240
at_fn_group_banner 240 'get-data-spreadsheet.at:171' \
  "GET DATA /TYPE=GNM without CELLRANGE" "           " 30
at_xfail=no
(
  $as_echo "240. $at_setup_line: testing $at_desc ..."
  $at_traceon

     { set +x
$as_echo "$at_srcdir/get-data-spreadsheet.at:171: 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:171"
( $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:171"
$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:171: pspp -O format=csv get-data.sps"
at_fn_check_prepare_trace "get-data-spreadsheet.at:171"
( $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 "Table: Variables
Name,Position,Print Format,Write Format,Missing Values
name,1,A8,A8,
id,2,F8.2,F8.2,
height,3,F8.2,F8.2,

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: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_240
#AT_START_241
at_fn_group_banner 241 'get-data-spreadsheet.at:171' \
  "GET DATA /TYPE=GNM with missing data" "           " 30
at_xfail=no
(
  $as_echo "241. $at_setup_line: testing $at_desc ..."
  $at_traceon

     { set +x
$as_echo "$at_srcdir/get-data-spreadsheet.at:171: 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:171"
( $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:171"
$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:171: pspp -o pspp.csv get-data.sps"
at_fn_check_prepare_trace "get-data-spreadsheet.at:171"
( $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:171"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/get-data-spreadsheet.at:171: cat pspp.csv"
at_fn_check_prepare_trace "get-data-spreadsheet.at:171"
( $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: Variables
Name,Position,Print Format,Write Format,Missing Values
vone,1,F8.2,F8.2,
vtwo,2,F8.2,F8.2,
vthree,3,A8,A8,
v4,4,F8.2,F8.2,

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: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_241
#AT_START_242
at_fn_group_banner 242 'get-data-spreadsheet.at:171' \
  "GET DATA /TYPE=GNM with no options" "             " 30
at_xfail=no
(
  $as_echo "242. $at_setup_line: testing $at_desc ..."
  $at_traceon

     { set +x
$as_echo "$at_srcdir/get-data-spreadsheet.at:171: 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:171"
( $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:171"
$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:171: pspp -o pspp.csv get-data.sps"
at_fn_check_prepare_trace "get-data-spreadsheet.at:171"
( $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: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_242
#AT_START_243
at_fn_group_banner 243 'get-data-spreadsheet.at:171' \
  "GET DATA /TYPE=GNM with empty sheet" "            " 30
at_xfail=no
(
  $as_echo "243. $at_setup_line: testing $at_desc ..."
  $at_traceon

     { set +x
$as_echo "$at_srcdir/get-data-spreadsheet.at:171: 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:171"
( $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:171"
$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:171: pspp -o pspp.csv get-data.sps"
at_fn_check_prepare_trace "get-data-spreadsheet.at:171"
( $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: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_243
#AT_START_244
at_fn_group_banner 244 'get-data-spreadsheet.at:171' \
  "GET DATA /TYPE=GNM with nonexistent sheet" "      " 30
at_xfail=no
(
  $as_echo "244. $at_setup_line: testing $at_desc ..."
  $at_traceon

     { set +x
$as_echo "$at_srcdir/get-data-spreadsheet.at:171: 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:171"
( $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:171"
$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:171: pspp -o pspp.csv get-data.sps"
at_fn_check_prepare_trace "get-data-spreadsheet.at:171"
( $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: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_244
#AT_START_245
at_fn_group_banner 245 'get-data-spreadsheet.at:174' \
  "GET DATA /TYPE=GNM sheet index bug" "             " 30
at_xfail=no
(
  $as_echo "245. $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:309: pspp -O format=csv gnum.sps"
at_fn_check_prepare_trace "get-data-spreadsheet.at:309"
( $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: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_245
#AT_START_246
at_fn_group_banner 246 'get-data-spreadsheet.at:322' \
  "GET DATA /TYPE=GNM assert-fail" "                 " 30
at_xfail=no
(
  $as_echo "246. $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:366: pspp -O format=csv read.sps"
at_fn_check_prepare_trace "get-data-spreadsheet.at:366"
( $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: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_246
#AT_START_247
at_fn_group_banner 247 'get-data-spreadsheet.at:375' \
  "GET DATA /TYPE=ODS with CELLRANGE" "              " 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:375: 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:375"
( $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:375"
$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:375: pspp -o pspp.csv get-data.sps"
at_fn_check_prepare_trace "get-data-spreadsheet.at:375"
( $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:375"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/get-data-spreadsheet.at:375: cat pspp.csv"
at_fn_check_prepare_trace "get-data-spreadsheet.at:375"
( $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: Variables
Name,Position,Print Format,Write Format,Missing Values
VAR001,1,F8.2,F8.2,
VAR002,2,A8,A8,
VAR003,3,F8.2,F8.2,

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:375"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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:375' \
  "GET DATA /TYPE=ODS with CELLRANGE and READNAMES" "" 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:375: 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:375"
( $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:375"
$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:375: pspp -o pspp.csv get-data.sps"
at_fn_check_prepare_trace "get-data-spreadsheet.at:375"
( $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:375"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/get-data-spreadsheet.at:375: cat pspp.csv"
at_fn_check_prepare_trace "get-data-spreadsheet.at:375"
( $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: Variables
Name,Position,Print Format,Write Format,Missing Values
V1,1,F8.2,F8.2,
V2,2,A8,A8,
VAR001,3,F8.2,F8.2,

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:375"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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:375' \
  "GET DATA /TYPE=ODS without CELLRANGE" "           " 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:375: 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:375"
( $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:375"
$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:375: pspp -O format=csv get-data.sps"
at_fn_check_prepare_trace "get-data-spreadsheet.at:375"
( $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 "Table: Variables
Name,Position,Print Format,Write Format,Missing Values
name,1,A8,A8,
id,2,F8.2,F8.2,
height,3,F8.2,F8.2,

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:375"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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-spreadsheet.at:375' \
  "GET DATA /TYPE=ODS with missing data" "           " 31
at_xfail=no
(
  $as_echo "250. $at_setup_line: testing $at_desc ..."
  $at_traceon

       { set +x
$as_echo "$at_srcdir/get-data-spreadsheet.at:375: 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:375"
( $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:375"
$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:375: pspp -o pspp.csv get-data.sps"
at_fn_check_prepare_trace "get-data-spreadsheet.at:375"
( $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:375"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/get-data-spreadsheet.at:375: cat pspp.csv"
at_fn_check_prepare_trace "get-data-spreadsheet.at:375"
( $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: Variables
Name,Position,Print Format,Write Format,Missing Values
vone,1,F8.2,F8.2,
vtwo,2,F8.2,F8.2,
vthree,3,A8,A8,
v4,4,F8.2,F8.2,

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:375"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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-spreadsheet.at:375' \
  "GET DATA /TYPE=ODS with no options" "             " 31
at_xfail=no
(
  $as_echo "251. $at_setup_line: testing $at_desc ..."
  $at_traceon

       { set +x
$as_echo "$at_srcdir/get-data-spreadsheet.at:375: 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:375"
( $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:375"
$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:375: pspp -o pspp.csv get-data.sps"
at_fn_check_prepare_trace "get-data-spreadsheet.at:375"
( $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:375"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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-spreadsheet.at:375' \
  "GET DATA /TYPE=ODS with empty sheet" "            " 31
at_xfail=no
(
  $as_echo "252. $at_setup_line: testing $at_desc ..."
  $at_traceon

       { set +x
$as_echo "$at_srcdir/get-data-spreadsheet.at:375: 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:375"
( $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:375"
$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:375: pspp -o pspp.csv get-data.sps"
at_fn_check_prepare_trace "get-data-spreadsheet.at:375"
( $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:375"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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-spreadsheet.at:375' \
  "GET DATA /TYPE=ODS with nonexistent sheet" "      " 31
at_xfail=no
(
  $as_echo "253. $at_setup_line: testing $at_desc ..."
  $at_traceon

       { set +x
$as_echo "$at_srcdir/get-data-spreadsheet.at:375: 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:375"
( $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:375"
$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:375: pspp -o pspp.csv get-data.sps"
at_fn_check_prepare_trace "get-data-spreadsheet.at:375"
( $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:375"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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-spreadsheet.at:378' \
  "GET DATA /TYPE=ODS crash" "                       " 31
at_xfail=no
(
  $as_echo "254. $at_setup_line: testing $at_desc ..."
  $at_traceon



{ set +x
$as_echo "$at_srcdir/get-data-spreadsheet.at:381: 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:381"
( $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:381"
$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:388: pspp -O format=csv crash.sps"
at_fn_check_prepare_trace "get-data-spreadsheet.at:388"
( $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: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_254
#AT_START_255
at_fn_group_banner 255 'get-data-spreadsheet.at:393' \
  "GET DATA /TYPE=ODS readnames" "                   " 31
at_xfail=no
(
  $as_echo "255. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/get-data-spreadsheet.at:397: 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:397"
( $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:397"
$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:406: pspp -O format=csv readnames.sps"
at_fn_check_prepare_trace "get-data-spreadsheet.at:406"
( $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 "Table: Variables
Name,Position,Label,Measurement Level,Role,Width,Alignment,Print Format,Write Format,Missing Values
freda,1,,Scale,Input,8,Right,F8.2,F8.2,
fred,2,,Scale,Input,8,Right,F8.2,F8.2,
fred_A,3,,Scale,Input,8,Right,F8.2,F8.2,
fred_B,4,,Scale,Input,8,Right,F8.2,F8.2,
fred_C,5,,Scale,Input,8,Right,F8.2,F8.2,
fred_D,6,,Scale,Input,8,Right,F8.2,F8.2,
fred_E,7,,Scale,Input,8,Right,F8.2,F8.2,

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:406"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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-psql.at:147' \
  "GET DATA /TYPE=PSQL" "                            " 32
at_xfail=no
(
  $as_echo "256. $at_setup_line: testing $at_desc ..."
  $at_traceon


$as_echo "get-data-psql.at:149" >"$at_check_line_file"
(test "$PSQL_SUPPORT" = no) \
  && at_fn_check_skip 77 "$at_srcdir/get-data-psql.at:149"
   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:149: PATH=\$PG_PATH:\$PATH initdb -A trust"
at_fn_check_prepare_dynamic "PATH=$PG_PATH:$PATH initdb -A trust" "get-data-psql.at:149"
( $at_check_trace; PATH=$PG_PATH:$PATH 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:149"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/get-data-psql.at:149: PATH=\$PG_PATH:\$PATH pg_ctl start -w -o \"-k \$socket_dir -h ''\""
at_fn_check_prepare_dynamic "PATH=$PG_PATH:$PATH pg_ctl start -w -o \"-k $socket_dir -h ''\"" "get-data-psql.at:149"
( $at_check_trace; PATH=$PG_PATH:$PATH 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:149"
$at_failed && at_fn_log_failure
$at_traceon; }

   trap 'PATH=$PG_PATH:$PATH pg_ctl stop -W -o "-k $socket_dir -h ''"' 0
   { set +x
$as_echo "$at_srcdir/get-data-psql.at:149: PATH=\$PG_PATH:\$PATH createdb -h \"\$socket_dir\" -p \$PG_PORT \$PG_DBASE"
at_fn_check_prepare_dynamic "PATH=$PG_PATH:$PATH createdb -h \"$socket_dir\" -p $PG_PORT $PG_DBASE" "get-data-psql.at:149"
( $at_check_trace; PATH=$PG_PATH:$PATH 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:149"
$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


   # On Debian, the psql binary in the postgres bindir won't work because
   # it needs libreadline to be LD_PRELOADed into it.  The psql in the
   # normal $PATH works fine though.
   if (PATH=$PG_PATH:$PATH psql -V) >/dev/null 2>&1; then
       psql () {
           PATH=$PG_PATH:$PATH command psql "$@"
       }
   fi
   { set +x
$as_echo "$at_srcdir/get-data-psql.at:149: 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:149"
( $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:149"
$at_failed && at_fn_log_failure
$at_traceon; }


{ set +x
$as_echo "$at_srcdir/get-data-psql.at:152: 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:152"
( $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:152"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/get-data-psql.at:163: pspp -o pspp.csv ordinary-query.sps"
at_fn_check_prepare_trace "get-data-psql.at:163"
( $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:163"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/get-data-psql.at:164: cat pspp.csv"
at_fn_check_prepare_trace "get-data-psql.at:164"
( $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: Variables
Name,Position,Label,Measurement Level,Role,Width,Alignment,Print Format,Write Format,Missing Values
bool,1,,Scale,Input,8,Right,F8.2,F8.2,
bytea,2,,Nominal,Input,1,Left,AHEX2,AHEX2,
char,3,,Nominal,Input,8,Left,A8,A8,
int8,4,,Scale,Input,8,Right,F8.2,F8.2,
int2,5,,Scale,Input,8,Right,F8.2,F8.2,
int4,6,,Scale,Input,8,Right,F8.2,F8.2,
numeric,7,,Scale,Input,8,Right,E40.6,E40.6,
text,8,,Nominal,Input,16,Left,A16,A16,
oid,9,,Scale,Input,8,Right,F8.2,F8.2,
float4,10,,Scale,Input,8,Right,F8.2,F8.2,
float8,11,,Scale,Input,8,Right,F8.2,F8.2,
money,12,,Scale,Input,8,Right,DOLLAR8.2,DOLLAR8.2,
pbchar,13,,Nominal,Input,8,Left,A8,A8,
varchar,14,,Nominal,Input,8,Left,A8,A8,
date,15,,Scale,Input,8,Right,DATE11,DATE11,
time,16,,Scale,Input,8,Right,TIME11.0,TIME11.0,
timestamp,17,,Scale,Input,8,Right,DATETIME22.0,DATETIME22.0,
timestamptz,18,,Scale,Input,8,Right,DATETIME22.0,DATETIME22.0,
interval,19,,Scale,Input,8,Right,DTIME13.0,DTIME13.0,
interval_months,20,,Scale,Input,8,Right,F3.0,F3.0,
timetz,21,,Scale,Input,8,Right,TIME11.0,TIME11.0,
timetz_zone,22,,Scale,Input,8,Right,F8.2,F8.2,

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,00:00:00,08-JAN-1999 04:05:06,08-JAN-1999 12:05:06,0 00:01:00,0,10:09:00,4.00
.  ,,,.  ,.  ,.  ,.          ,,.  ,.  ,.  ,.  ,,,.,.,.,.,.,.,.,.  
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,01:05:02,10-JAN-1963 23:58:00,10-JAN-1963 22:58:00,12 01:03:04,25,01:05:02,-7.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get-data-psql.at:164"
$at_failed && at_fn_log_failure
$at_traceon; }


{ set +x
$as_echo "$at_srcdir/get-data-psql.at:198: 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:198"
( $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:198"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/get-data-psql.at:209: pspp -o pspp.csv empty-result.sps"
at_fn_check_prepare_trace "get-data-psql.at:209"
( $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:209"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/get-data-psql.at:210: cat pspp.csv"
at_fn_check_prepare_trace "get-data-psql.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: Variables
Name,Position,Label,Measurement Level,Role,Width,Alignment,Print Format,Write Format,Missing Values
a,1,,Scale,Input,8,Right,F8.2,F8.2,
b,2,,Scale,Input,8,Right,DATE11,DATE11,
c,3,,Scale,Input,8,Right,E40.2,E40.2,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/get-data-psql.at:210"
$at_failed && at_fn_log_failure
$at_traceon; }


{ set +x
$as_echo "$at_srcdir/get-data-psql.at:219: 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:219"
( $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:219"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/get-data-psql.at:243: pspp -o pspp.csv large-result.sps"
at_fn_check_prepare_trace "get-data-psql.at:243"
( $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:243"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/get-data-psql.at:244: cat pspp.csv"
at_fn_check_prepare_trace "get-data-psql.at:244"
( $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:244"
$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:276: 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:276"
( $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:276"
$at_failed && at_fn_log_failure
$at_traceon; }


{ set +x
$as_echo "$at_srcdir/get-data-psql.at:279: 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:279"
( $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:279"
$at_failed && at_fn_log_failure  \
"get-data.sps"
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/get-data-psql.at:290: pspp -o pspp.csv get-data.sps"
at_fn_check_prepare_trace "get-data-psql.at:290"
( $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:290"
$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_256
#AT_START_257
at_fn_group_banner 257 'get-data-txt.at:23' \
  "GET DATA /TYPE=TXT with explicit delimiters" "    " 33
at_xfail=no
(
  $as_echo "257. $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_257
#AT_START_258
at_fn_group_banner 258 'get-data-txt.at:45' \
  "GET DATA /TYPE=TXT with FIRSTCASE" "              " 33
at_xfail=no
(
  $as_echo "258. $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_258
#AT_START_259
at_fn_group_banner 259 'get-data-txt.at:83' \
  "GET DATA /TYPE=TXT with FIRSTCASE and tab delimiter" "" 33
at_xfail=no
(
  $as_echo "259. $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_259
#AT_START_260
at_fn_group_banner 260 'get-data-txt.at:132' \
  "GET DATA /TYPE=TXT with multiple records per case" "" 33
at_xfail=no
(
  $as_echo "260. $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_260
#AT_START_261
at_fn_group_banner 261 'get-data-txt.at:161' \
  "GET DATA /TYPE=TXT with empty trailing record" "  " 33
at_xfail=no
(
  $as_echo "261. $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_261
#AT_START_262
at_fn_group_banner 262 'get-data-txt.at:194' \
  "GET DATA /TYPE=TXT password example" "            " 33
at_xfail=no
(
  $as_echo "262. $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_262
#AT_START_263
at_fn_group_banner 263 'get-data-txt.at:225' \
  "GET DATA /TYPE=TXT cars example" "                " 33
at_xfail=no
(
  $as_echo "263. $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_263
#AT_START_264
at_fn_group_banner 264 'get-data-txt.at:272' \
  "GET DATA /TYPE=TXT pets example" "                " 33
at_xfail=no
(
  $as_echo "264. $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_264
#AT_START_265
at_fn_group_banner 265 'get-data-txt.at:305' \
  "GET DATA /TYPE=TXT with IMPORTCASE" "             " 33
at_xfail=no
(
  $as_echo "265. $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_265
#AT_START_266
at_fn_group_banner 266 'get-data-txt.at:332' \
  "GET DATA /TYPE=TXT with ENCODING subcommand" "    " 33
at_xfail=no
(
  $as_echo "266. $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_266
#AT_START_267
at_fn_group_banner 267 'get-data-txt.at:350' \
  "GET DATA /TYPE= truncated" "                      " 33
at_xfail=no
(
  $as_echo "267. $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_267
#AT_START_268
at_fn_group_banner 268 'get-data-txt.at:363' \
  "GET DATA /TYPE=txt bug" "                         " 33
at_xfail=no
(
  $as_echo "268. $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_268
#AT_START_269
at_fn_group_banner 269 'get-data-txt.at:400' \
  "GET DATA /TYPE=txt another bug" "                 " 33
at_xfail=no
(
  $as_echo "269. $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_269
#AT_START_270
at_fn_group_banner 270 'get.at:21' \
  "GET data works in multiple procedures" "          " 34
at_xfail=no
(
  $as_echo "270. $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_270
#AT_START_271
at_fn_group_banner 271 'get.at:72' \
  "GET nonexistent file doesn't crash" "             " 34
at_xfail=no
(
  $as_echo "271. $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_271
#AT_START_272
at_fn_group_banner 272 'get.at:106' \
  "GET with /KEEP=ALL crashes -- uncompressed" "     " 34
at_xfail=no
(
  $as_echo "272. $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_272
#AT_START_273
at_fn_group_banner 273 'get.at:107' \
  "GET with /KEEP=ALL crashes -- compressed" "       " 34
at_xfail=no
(
  $as_echo "273. $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_273
#AT_START_274
at_fn_group_banner 274 'get.at:111' \
  "GET data no type" "                               " 34
at_xfail=no
(
  $as_echo "274. $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_274
#AT_START_275
at_fn_group_banner 275 'inpt-pgm.at:21' \
  "INPUT PROGRAM invalid syntax crash" "             " 35
at_xfail=no
(
  $as_echo "275. $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_275
#AT_START_276
at_fn_group_banner 276 'inpt-pgm.at:37' \
  "INPUT PROGRAM invalid syntax crash" "             " 35
at_xfail=no
(
  $as_echo "276. $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_276
#AT_START_277
at_fn_group_banner 277 'inpt-pgm.at:52' \
  "INPUT PROGRAM infinite loop" "                    " 35
at_xfail=no
(
  $as_echo "277. $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: 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_277
#AT_START_278
at_fn_group_banner 278 'inpt-pgm.at:69' \
  "INPUT PROGRAM with VECTOR and EXECUTE" "          " 35
at_xfail=no
(
  $as_echo "278. $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_278
#AT_START_279
at_fn_group_banner 279 'list.at:19' \
  "LIST plain cases" "                               " 36
at_xfail=no
(
  $as_echo "279. $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_279
#AT_START_280
at_fn_group_banner 280 'list.at:61' \
  "LIST numbered cases" "                            " 36
at_xfail=no
(
  $as_echo "280. $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.
LIST/FORMAT NUMBERED/CASES FROM 2 TO 9 BY 2.
_ATEOF

{ set +x
$as_echo "$at_srcdir/list.at:81: pspp -o pspp.csv list.sps"
at_fn_check_prepare_trace "list.at:81"
( $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:81"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/list.at:82: cat pspp.csv"
at_fn_check_prepare_trace "list.at:82"
( $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

Table: Data List
Case Number,avar,bvar
2,19,7
4,21,76
6,23,58
8,25,38
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/list.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_280
#AT_START_281
at_fn_group_banner 281 'list.at:113' \
  "LIST with split file" "                           " 36
at_xfail=no
(
  $as_echo "281. $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:127: pspp -o pspp.csv list.sps"
at_fn_check_prepare_trace "list.at:127"
( $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:127"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/list.at:128: cat pspp.csv"
at_fn_check_prepare_trace "list.at:128"
( $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: Split Values
Variable,Value
s,a

Table: Data List
n
1.00
2.00
3.00

Table: Split Values
Variable,Value
s,b

Table: Data List
n
1.00

Table: Split Values
Variable,Value
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: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_281
#AT_START_282
at_fn_group_banner 282 'list.at:158' \
  "LIST lots of variables" "                         " 36
at_xfail=no
(
  $as_echo "282. $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:171: pspp -o pspp.csv list.sps"
at_fn_check_prepare_trace "list.at:171"
( $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:171"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/list.at:172: cat pspp.csv"
at_fn_check_prepare_trace "list.at:172"
( $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:172"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'list.at:184' \
  "LIST selected cases" "                            " 36
at_xfail=no
(
  $as_echo "283. $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:220: pspp -o pspp.csv list.sps"
at_fn_check_prepare_trace "list.at:220"
( $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:220"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/list.at:221: cat pspp.csv"
at_fn_check_prepare_trace "list.at:221"
( $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:221"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'list.at:252' \
  "LIST very long string" "                          " 36
at_xfail=no
(
  $as_echo "284. $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:267: pspp -o pspp.csv list.sps"
at_fn_check_prepare_trace "list.at:267"
( $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:267"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/list.at:268: cat pspp.csv"
at_fn_check_prepare_trace "list.at:268"
( $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: Variables
Name,Position,Print Format,Write Format,Missing Values
foo,1,A2000,A2000,

Table: Data List
foo
AxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxZ
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/list.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_284
#AT_START_285
at_fn_group_banner 285 'list.at:281' \
  "LIST crash on invalid input" "                    " 36
at_xfail=no
(
  $as_echo "285. $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:294: pspp -o pspp.csv list.sps"
at_fn_check_prepare_trace "list.at:294"
( $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: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_285
#AT_START_286
at_fn_group_banner 286 'list.at:301' \
  "LIST tutorial example" "                          " 36
at_xfail=no
(
  $as_echo "286. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >list.sps <<'_ATEOF'
data list list /forename (A12) height.
begin data.
Ahmed 188
Bertram 167
Catherine 134.231
David 109.1
end data

list /format=numbered.
_ATEOF

{ set +x
$as_echo "$at_srcdir/list.at:313: pspp -o pspp.csv -o pspp.txt list.sps"
at_fn_check_prepare_trace "list.at:313"
( $at_check_trace; pspp -o pspp.csv -o pspp.txt 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:313"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/list.at:314: cat pspp.csv"
at_fn_check_prepare_trace "list.at:314"
( $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
forename,A12
height,F8.0

Table: Data List
Case Number,forename,height
1,Ahmed,188.00
2,Bertram,167.00
3,Catherine,134.23
4,David,109.10
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/list.at:314"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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:120' \
  "MATCH FILES -- system file and system file" "     " 37
at_xfail=no
(
  $as_echo "287. $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_287
#AT_START_288
at_fn_group_banner 288 'match-files.at:121' \
  "MATCH FILES -- system file and active file" "     " 37
at_xfail=no
(
  $as_echo "288. $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_288
#AT_START_289
at_fn_group_banner 289 'match-files.at:122' \
  "MATCH FILES -- active file and system file" "     " 37
at_xfail=no
(
  $as_echo "289. $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_289
#AT_START_290
at_fn_group_banner 290 'match-files.at:123' \
  "MATCH FILES -- system file and system table" "    " 37
at_xfail=no
(
  $as_echo "290. $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_290
#AT_START_291
at_fn_group_banner 291 'match-files.at:124' \
  "MATCH FILES -- system file and active table" "    " 37
at_xfail=no
(
  $as_echo "291. $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_291
#AT_START_292
at_fn_group_banner 292 'match-files.at:125' \
  "MATCH FILES -- active file and system table" "    " 37
at_xfail=no
(
  $as_echo "292. $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_292
#AT_START_293
at_fn_group_banner 293 'match-files.at:127' \
  "MATCH FILES parallel match" "                     " 37
at_xfail=no
(
  $as_echo "293. $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_293
#AT_START_294
at_fn_group_banner 294 'match-files.at:154' \
  "MATCH FILES bug with TABLE from active dataset" " " 37
at_xfail=no
(
  $as_echo "294. $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_294
#AT_START_295
at_fn_group_banner 295 'match-files.at:186' \
  "MATCH FILES bug with scratch variables" "         " 37
at_xfail=no
(
  $as_echo "295. $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_295
#AT_START_296
at_fn_group_banner 296 'match-files.at:222' \
  "MATCH FILES with incompatible variable types" "   " 37
at_xfail=no
(
  $as_echo "296. $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_296
#AT_START_297
at_fn_group_banner 297 'matrix-data.at:19' \
  "Matrix data (lower file)" "                       " 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 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_297
#AT_START_298
at_fn_group_banner 298 'matrix-data.at:66' \
  "Matrix data (upper)" "                            " 38
at_xfail=no
(
  $as_echo "298. $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_298
#AT_START_299
at_fn_group_banner 299 'matrix-data.at:100' \
  "Matrix data (full)" "                             " 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 = 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_299
#AT_START_300
at_fn_group_banner 300 'matrix-data.at:137' \
  "Matrix data (upper nodiagonal)" "                 " 38
at_xfail=no
(
  $as_echo "300. $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_300
#AT_START_301
at_fn_group_banner 301 'matrix-data.at:171' \
  "Matrix data (lower nodiagonal)" "                 " 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
    /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_301
#AT_START_302
at_fn_group_banner 302 'matrix-data.at:206' \
  "Matrix data split data" "                         " 38
at_xfail=no
(
  $as_echo "302. $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 "Table: Variables
Name,Position,Label,Measurement Level,Role,Width,Alignment,Print Format,Write Format,Missing Values
s1,1,,Scale,Input,8,Right,F4.0,F4.0,
s2,2,,Scale,Input,8,Right,F4.0,F4.0,
ROWTYPE_,3,,Nominal,Input,8,Left,A8,A8,
VARNAME_,4,,Nominal,Input,8,Left,A8,A8,
var01,5,,Scale,Input,8,Right,F10.4,F10.4,
var02,6,,Scale,Input,8,Right,F10.4,F10.4,
var03,7,,Scale,Input,8,Right,F10.4,F10.4,

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_302
#AT_START_303
at_fn_group_banner 303 'matrix-data.at:266' \
  "Matrix data duplicate variable" "                 " 38
at_xfail=no
(
  $as_echo "303. $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:288: pspp -O format=csv matrix-data.pspp"
at_fn_check_prepare_trace "matrix-data.at:288"
( $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:288"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'matrix-data.at:298' \
  "Matrix data - long variable names" "              " 38
at_xfail=no
(
  $as_echo "304. $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:318: pspp -O format=csv matrix-data.pspp"
at_fn_check_prepare_trace "matrix-data.at:318"
( $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: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_304
#AT_START_305
at_fn_group_banner 305 'matrix-data.at:334' \
  "Matrix reader - read integrity" "                 " 38
at_xfail=no
(
  $as_echo "305. $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:366: pspp -O format=csv matrix-reader.pspp"
at_fn_check_prepare_trace "matrix-data.at:366"
( $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
Correlation,var02,22.000,24.000,26.000
,var04,42.000,44.000,46.000
,var06,62.000,64.000,66.000

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: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_305
#AT_START_306
at_fn_group_banner 306 'matrix-data.at:384' \
  "Matrix data - too many rows" "                    " 38
at_xfail=no
(
  $as_echo "306. $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:412: pspp -O format=csv matrix-data.pspp"
at_fn_check_prepare_trace "matrix-data.at:412"
( $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: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_306
#AT_START_307
at_fn_group_banner 307 'matrix-data.at:424' \
  "Matrix data (badly formed)" "                     " 38
at_xfail=no
(
  $as_echo "307. $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:444: pspp -O format=csv data.pspp"
at_fn_check_prepare_trace "matrix-data.at:444"
( $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: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_307
#AT_START_308
at_fn_group_banner 308 'matrix-data.at:451' \
  "Matrix data (N subcommand)" "                     " 38
at_xfail=no
(
  $as_echo "308. $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:470: pspp -O format=csv matrix-data.pspp"
at_fn_check_prepare_trace "matrix-data.at:470"
( $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:470"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'matrix-data.at:490' \
  "Matrix data crash" "                              " 38
at_xfail=no
(
  $as_echo "309. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >matrix-data.pspp <<'_ATEOF'
begin data
corr 31

matrix data
    var1
begin data
    corr    1.00
end data .

matrix data
    variables = roxtype_  var01
   /format = upper nodiagonal.
begin data
_ATEOF


{ set +x
$as_echo "$at_srcdir/matrix-data.at:508: pspp -O format=csv matrix-data.pspp"
at_fn_check_prepare_trace "matrix-data.at:508"
( $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 stdout:; cat "$at_stdout"
at_fn_check_status 1 $at_status "$at_srcdir/matrix-data.at:508"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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-space.at:19' \
  "PRINT SPACE without arguments" "                  " 39
at_xfail=no
(
  $as_echo "310. $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_310
#AT_START_311
at_fn_group_banner 311 'print-space.at:38' \
  "PRINT SPACE with number" "                        " 39
at_xfail=no
(
  $as_echo "311. $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:49: pspp -O format=csv print-space.sps"
at_fn_check_prepare_trace "print-space.at:49"
( $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: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_311
#AT_START_312
at_fn_group_banner 312 'print-space.at:59' \
  "PRINT SPACE to file" "                            " 39
at_xfail=no
(
  $as_echo "312. $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:71: pspp -O format=csv print-space.sps"
at_fn_check_prepare_trace "print-space.at:71"
( $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:71"
$at_failed && at_fn_log_failure  \
"output.txt"
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/print-space.at:72: cat output.txt"
at_fn_check_prepare_trace "print-space.at:72"
( $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:72"
$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_312
#AT_START_313
at_fn_group_banner 313 'print-space.at:80' \
  "PRINT SPACE to file with number" "                " 39
at_xfail=no
(
  $as_echo "313. $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:92: pspp -O format=csv print-space.sps"
at_fn_check_prepare_trace "print-space.at:92"
( $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:92"
$at_failed && at_fn_log_failure  \
"output.txt"
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/print-space.at:93: cat output.txt"
at_fn_check_prepare_trace "print-space.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=:
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:93"
$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_313
#AT_START_314
at_fn_group_banner 314 'print.at:36' \
  "PRINT numeric variables" "                        " 40
at_xfail=no
(
  $as_echo "314. $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_314
#AT_START_315
at_fn_group_banner 315 'print.at:93' \
  "PRINT string variables" "                         " 40
at_xfail=no
(
  $as_echo "315. $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:113: pspp -O format=csv print.sps"
at_fn_check_prepare_trace "print.at:113"
( $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:113"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/print.at:114: cat print.txt"
at_fn_check_prepare_trace "print.at:114"
( $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: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_315
#AT_START_316
at_fn_group_banner 316 'print.at:120' \
  "PRINT to file" "                                  " 40
at_xfail=no
(
  $as_echo "316. $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:138: pspp -O format=csv print.sps"
at_fn_check_prepare_trace "print.at:138"
( $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:138"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/print.at:139: cat print.out"
at_fn_check_prepare_trace "print.at:139"
( $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:139"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'print.at:165' \
  "PRINT crash bug" "                                " 40
at_xfail=no
(
  $as_echo "317. $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:176: pspp -O format=csv print.sps"
at_fn_check_prepare_trace "print.at:176"
( $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: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_317
#AT_START_318
at_fn_group_banner 318 'print.at:186' \
  "WRITE to file" "                                  " 40
at_xfail=no
(
  $as_echo "318. $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:204: pspp -O format=csv write.sps"
at_fn_check_prepare_trace "print.at:204"
( $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:204"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/print.at:205: cat write.out"
at_fn_check_prepare_trace "print.at:205"
( $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: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_318
#AT_START_319
at_fn_group_banner 319 'print.at:229' \
  "PRINT overwrites file" "                          " 40
at_xfail=no
(
  $as_echo "319. $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:240: pspp -O format=csv print.sps"
at_fn_check_prepare_trace "print.at:240"
( $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:240"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/print.at:241: cat output.txt"
at_fn_check_prepare_trace "print.at:241"
( $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: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_319
#AT_START_320
at_fn_group_banner 320 'print.at:245' \
  "PRINT overwrites file atomically" "               " 40
at_xfail=no
(
  $as_echo "320. $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:256: pspp -O format=csv print.sps"
at_fn_check_prepare_trace "print.at:256"
( $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:256"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/print.at:257: cat output.txt"
at_fn_check_prepare_trace "print.at:257"
( $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:257"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/print.at:259: 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:259"
( $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: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_320
#AT_START_321
at_fn_group_banner 321 'print.at:263' \
  "PRINT to same file being read" "                  " 40
at_xfail=no
(
  $as_echo "321. $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:272: pspp -O format=csv print.sps"
at_fn_check_prepare_trace "print.at:272"
( $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:272"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/print.at:273: cat data.txt"
at_fn_check_prepare_trace "print.at:273"
( $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:273"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/print.at:275: 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:275"
( $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: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_321
#AT_START_322
at_fn_group_banner 322 'print.at:279' \
  "PRINT to special file" "                          " 40
at_xfail=no
(
  $as_echo "322. $at_setup_line: testing $at_desc ..."
  $at_traceon

$as_echo "print.at:280" >"$at_check_line_file"
(test ! -c /dev/null) \
  && at_fn_check_skip 77 "$at_srcdir/print.at:280"
{ set +x
$as_echo "$at_srcdir/print.at:281: ln -s /dev/null foo.out || exit 77"
at_fn_check_prepare_trace "print.at:281"
( $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:281"
$at_failed && at_fn_log_failure
$at_traceon; }

$as_echo "print.at:282" >"$at_check_line_file"
(test ! -c foo.out) \
  && at_fn_check_skip 77 "$at_srcdir/print.at:282"
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:296: pspp -O format=csv print.sps"
at_fn_check_prepare_trace "print.at:296"
( $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:296"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/print.at:297: cat foo2.out"
at_fn_check_prepare_trace "print.at:297"
( $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:297"
$at_failed && at_fn_log_failure
$at_traceon; }

ls -l foo.out foo2.out
{ set +x
$as_echo "$at_srcdir/print.at:305: test -c foo.out"
at_fn_check_prepare_trace "print.at:305"
( $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: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_322
#AT_START_323
at_fn_group_banner 323 'print.at:308' \
  "PRINT with special line ends" "                   " 40
at_xfail=no
(
  $as_echo "323. $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:324: pspp -O format=csv print.sps"
at_fn_check_prepare_trace "print.at:324"
( $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:324"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/print.at:325: cat lf.txt"
at_fn_check_prepare_trace "print.at:325"
( $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:325"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/print.at:332: tr '\\r' R < crlf.txt"
at_fn_check_prepare_trace "print.at:332"
( $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: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_323
#AT_START_324
at_fn_group_banner 324 'save.at:19' \
  "IMPORT and EXPORT" "                              " 41
at_xfail=no
(
  $as_echo "324. $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_324
#AT_START_325
at_fn_group_banner 325 'save.at:47' \
  "SAVE -- delete unselected" "                      " 42
at_xfail=no
(
  $as_echo "325. $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_325
#AT_START_326
at_fn_group_banner 326 'save-translate.at:39' \
  "CSV output -- defaults" "                         " 43
at_xfail=no
(
  $as_echo "326. $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_326
#AT_START_327
at_fn_group_banner 327 'save-translate.at:48' \
  "CSV output -- recode missing, delete unselected" "" 43
at_xfail=no
(
  $as_echo "327. $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_327
#AT_START_328
at_fn_group_banner 328 'save-translate.at:56' \
  "CSV output -- var names, formats" "               " 43
at_xfail=no
(
  $as_echo "328. $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_328
#AT_START_329
at_fn_group_banner 329 'save-translate.at:67' \
  "CSV output -- comma as decimal point" "           " 43
at_xfail=no
(
  $as_echo "329. $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_329
#AT_START_330
at_fn_group_banner 330 'save-translate.at:77' \
  "CSV output -- custom delimiter, qualifier" "      " 43
at_xfail=no
(
  $as_echo "330. $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_330
#AT_START_331
at_fn_group_banner 331 'save-translate.at:88' \
  "CSV output -- KEEP, RENAME quoted" "              " 43
at_xfail=no
(
  $as_echo "331. $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_331
#AT_START_332
at_fn_group_banner 332 'save-translate.at:99' \
  "CSV output -- KEEP, RENAME multi quoted" "        " 43
at_xfail=no
(
  $as_echo "332. $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
  /RENAME =
	number = "this one"
	time = "that one"
	date = "which one?"
	datetime = "another variable replacement"
	string="long name with spaces"
  /UNSELECTED=DELETE.
_ATEOF

{ set +x
$as_echo "$at_srcdir/save-translate.at:100: pspp -O format=csv save-translate.pspp"
at_fn_check_prepare_trace "save-translate.at:100"
( $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:100"
$at_failed && at_fn_log_failure
$at_traceon; }


{ set +x
$as_echo "$at_srcdir/save-translate.at:109: cat data.csv"
at_fn_check_prepare_trace "save-translate.at:109"
( $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 "this one,that one,which one?,another variable replacement,long name with spaces,filter
 ,-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: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_332
#AT_START_333
at_fn_group_banner 333 'save-translate.at:117' \
  "CSV output -- KEEP, RENAME bad name " "           " 43
at_xfail=no
(
  $as_echo "333. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >bad.sps <<'_ATEOF'

data list notable list /Var1 Var2 Var3 Var4 Var5 *.
begin data
1 2 3 4 5
end data.

SAVE TRANSLATE
/OUTFILE="foo.csv"
  /TYPE=CSV
  /MAP
  /REPLACE
  /FIELDNAMES
  /Unselected=DELETE
   /RENAME =
        Var4 = foobar
        (Var1 Var2 = one Var3 )
        (Var3 = "The second")
  /CELLS=VALUES
.
_ATEOF


{ set +x
$as_echo "$at_srcdir/save-translate.at:139: pspp -O format=csv bad.sps"
at_fn_check_prepare_trace "save-translate.at:139"
( $at_check_trace; pspp -O format=csv 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 >>"$at_stdout"; $as_echo "\"bad.sps:16: error: SAVE TRANSLATE: Cannot rename Var2 as Var3 because there already exists a variable named Var3.  To rename variables with overlapping names, use a single RENAME subcommand such as \`/RENAME (A=B)(B=C)(C=A)', or equivalently, \`/RENAME (A B C=B C A)'.\"
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/save-translate.at:139"
$at_failed && at_fn_log_failure
$at_traceon; }



  set +x
  $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 'save-translate.at:150' \
  "TAB output" "                                     " 44
at_xfail=no
(
  $as_echo "334. $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:151: pspp -O format=csv save-translate.pspp"
at_fn_check_prepare_trace "save-translate.at:151"
( $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:151"
$at_failed && at_fn_log_failure
$at_traceon; }


{ set +x
$as_echo "$at_srcdir/save-translate.at:152: cat data.csv"
at_fn_check_prepare_trace "save-translate.at:152"
( $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: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_334
#AT_START_335
at_fn_group_banner 335 'update.at:93' \
  "SAVE RENAME with TO" "                            " 45
at_xfail=no
(
  $as_echo "335. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >save-rename-to.sps <<'_ATEOF'
data list notable list /a b c fxo9*.
begin data
1 2 3 8
end data.

SAVE OUTFILE = "renamed.sav"
 /RENAME=(A B C = fdo9 TO fdo11).


NEW FILE.
GET FILE = "renamed.sav".
LIST.
_ATEOF


{ set +x
$as_echo "$at_srcdir/update.at:109: pspp -O format=csv save-rename-to.sps"
at_fn_check_prepare_trace "update.at:109"
( $at_check_trace; pspp -O format=csv save-rename-to.sps
) >>"$at_stdout" 2>>"$at_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
fdo9,fdo10,fdo11,fxo9
1.00,2.00,3.00,8.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/update.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_335
#AT_START_336
at_fn_group_banner 336 'attributes.at:19' \
  "VARIABLE ATTRIBUTES and DATAFILE ATTRIBUTES" "    " 46
at_xfail=no
(
  $as_echo "336. $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 "Table: Variable and Dataset Attributes
Variable and Name,,Value
(dataset),array[1],array element 1
,array[2],array element 2
,key,value
a,ValidationRule[1],a * b > 3
,ValidationRule[2],a + b > 2
b,ValidationRule[1],a * b > 3
,ValidationRule[2],a + b > 2
c,QuestionWording,X or Y?
" | \
  $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:65: pspp -O format=csv get-attrs.pspp"
at_fn_check_prepare_trace "attributes.at:65"
( $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 "Table: Variable and Dataset Attributes
Variable and Name,,Value
(dataset),array,array element 2
,key,value
b,ValidationRule,a * b > 3
c,QuestionWording,X or Y?
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/attributes.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_336
#AT_START_337
at_fn_group_banner 337 'apply.at:19' \
  "APPLY DICTIONARY" "                               " 47
at_xfail=no
(
  $as_echo "337. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >apply-dict.sps <<'_ATEOF'
data list notable list /foo (TIME22.0) bar (a22).
begin data
end data.
Variable label foo "This is a label".
save outfile='ugg.sav'.

new file.
data list notable list /foo bar *.
begin data
end data.
display dictionary.
apply dictionary from = 'ugg.sav'.
display dictionary.
_ATEOF


{ set +x
$as_echo "$at_srcdir/apply.at:36: pspp -O format=csv apply-dict.sps"
at_fn_check_prepare_trace "apply.at:36"
( $at_check_trace; pspp -O format=csv apply-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 "Table: Variables
Name,Position,Label,Measurement Level,Role,Width,Alignment,Print Format,Write Format,Missing Values
foo,1,,Scale,Input,8,Right,F8.2,F8.2,
bar,2,,Scale,Input,8,Right,F8.2,F8.2,

\"apply-dict.sps:12: warning: APPLY DICTIONARY: Variable bar is numeric in target file, but string in source file.\"

Table: Variables
Name,Position,Label,Measurement Level,Role,Width,Alignment,Print Format,Write Format,Missing Values
foo,1,This is a label,Scale,Input,8,Right,TIME22.0,TIME22.0,
bar,2,,Scale,Input,8,Right,F8.2,F8.2,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/apply.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_337
#AT_START_338
at_fn_group_banner 338 'delete-variables.at:20' \
  "DELETE VARIABLES with FILTER" "                   " 48
at_xfail=no
(
  $as_echo "338. $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_338
#AT_START_339
at_fn_group_banner 339 'formats.at:19' \
  "FORMATS positive tests" "                         " 49
at_xfail=no
(
  $as_echo "339. $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

Table: Variables
Name,Position,Print Format,Write Format,Missing Values
a,1,F8.2,F8.2,
b,2,F8.2,F8.2,
c,3,F8.2,F8.2,
x,4,A1,A1,
y,5,A2,A2,
z,6,A3,A3,

Table: Variables
Name,Position,Print Format,Write Format,Missing Values
a,1,COMMA10.0,COMMA10.0,
b,2,N4.0,N4.0,
c,3,F8.2,F8.2,
x,4,A1,A1,
y,5,A2,A2,
z,6,A3,A3,

Table: Variables
Name,Position,Print Format,Write Format,Missing Values
a,1,COMMA10.0,COMMA10.0,
b,2,N4.0,N4.0,
c,3,E8.1,E8.1,
x,4,A1,A1,
y,5,AHEX4,AHEX4,
z,6,A3,A3,
" | \
  $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_339
#AT_START_340
at_fn_group_banner 340 'formats.at:68' \
  "FORMATS negative tests" "                         " 49
at_xfail=no
(
  $as_echo "340. $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:77: pspp -O format=csv formats.sps"
at_fn_check_prepare_trace "formats.at:77"
( $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: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_340
#AT_START_341
at_fn_group_banner 341 'missing-values.at:19' \
  "MISSING VALUES valid cases" "                     " 50
at_xfail=no
(
  $as_echo "341. $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: cat pspp.csv | sed '/^Table/d
/^Name/d
s/^\\([a-z0-9]*\\),.*,\\([^,]*\\)\$/\\1: \\2/'"
at_fn_check_prepare_notrace 'an embedded newline' "missing-values.at:81"
( $at_check_trace; cat pspp.csv | sed '/^Table/d
/^Name/d
s/^\([a-z0-9]*\),.*,\([^,]*\)$/\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 "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: 
str2: 
date1: 
num1: 
longstr: 
" | \
  $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_341
#AT_START_342
at_fn_group_banner 342 'missing-values.at:146' \
  "MISSING VALUES invalid cases" "                   " 50
at_xfail=no
(
  $as_echo "342. $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:172: pspp -O format=csv missing-values.sps"
at_fn_check_prepare_trace "missing-values.at:172"
( $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:172"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'mrsets.at:112' \
  "MRSETS add, display, delete" "                    " 51
at_xfail=no
(
  $as_echo "343. $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:123: pspp -o - -O format=csv -o mrsets.csv -o mrsets.txt mrsets.sps"
at_fn_check_prepare_trace "mrsets.at:123"
( $at_check_trace; pspp -o - -O format=csv -o mrsets.csv -o mrsets.txt 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,Label,Encoding,Counted Value,Member Variables
\$a,First multiple dichotomy group,Dichotomies,5,\"w
x
y
z\"

Table: Multiple Response Sets
Name,Label,Encoding,Counted Value,Member Variables
\$a,First multiple dichotomy group,Dichotomies,5,\"w
x
y
z\"
\$b,,Dichotomies,123,\"z
y\"
\$c,duplicate variable label,Dichotomies,1,\"w
x
y
z\"
\$d,,Dichotomies,c,\"a
b
c
d\"
\$e,First multiple category group,Categories,,\"w
x
y
z\"
\$f,,Categories,,\"a
b
c
d\"

Table: Multiple Response Sets
Name,Label,Encoding,Counted Value,Member Variables
\$a,First multiple dichotomy group,Dichotomies,5,\"w
x
y
z\"
\$b,,Dichotomies,123,\"z
y\"
\$d,,Dichotomies,c,\"a
b
c
d\"
\$e,First multiple category group,Categories,,\"w
x
y
z\"
\$f,,Categories,,\"a
b
c
d\"

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: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_343
#AT_START_344
at_fn_group_banner 344 'mrsets.at:182' \
  "MRSETS read and write" "                          " 51
at_xfail=no
(
  $as_echo "344. $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:187: pspp -O format=csv mrsets.sps"
at_fn_check_prepare_trace "mrsets.at:187"
( $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:187"
$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:192: pspp -O format=csv mrsets2.sps"
at_fn_check_prepare_trace "mrsets.at:192"
( $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,Label,Encoding,Counted Value,Member Variables
\$a,First multiple dichotomy group,Dichotomies,5,\"w
x
y
z\"
\$b,,Dichotomies,123,\"z
y\"
\$c,duplicate variable label,Dichotomies,1,\"w
x
y
z\"
\$d,,Dichotomies,c,\"a
b
c
d\"
\$e,First multiple category group,Categories,,\"w
x
y
z\"
\$f,,Categories,,\"a
b
c
d\"
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/mrsets.at:192"
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_344
#AT_START_345
at_fn_group_banner 345 'mrsets.at:196' \
  "MRSETS names must begin with \$" "                 " 51
at_xfail=no
(
  $as_echo "345. $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:201: pspp -O format=csv mrsets.sps"
at_fn_check_prepare_trace "mrsets.at:201"
( $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: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_345
#AT_START_346
at_fn_group_banner 346 'mrsets.at:206' \
  "MRSETS must have at least 2 variables" "          " 51
at_xfail=no
(
  $as_echo "346. $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:211: pspp -O format=csv mrsets.sps"
at_fn_check_prepare_trace "mrsets.at:211"
( $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: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_346
#AT_START_347
at_fn_group_banner 347 'mrsets.at:216' \
  "MRSETS does not allow noninteger VALUE" "         " 51
at_xfail=no
(
  $as_echo "347. $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:221: pspp -O format=csv mrsets.sps"
at_fn_check_prepare_trace "mrsets.at:221"
( $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:221"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'mrsets.at:226' \
  "MRSETS requires NAME to define a group" "         " 51
at_xfail=no
(
  $as_echo "348. $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:231: pspp -O format=csv mrsets.sps"
at_fn_check_prepare_trace "mrsets.at:231"
( $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: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_348
#AT_START_349
at_fn_group_banner 349 'mrsets.at:236' \
  "MRSETS requires VARIABLES to define a group" "    " 51
at_xfail=no
(
  $as_echo "349. $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:241: pspp -O format=csv mrsets.sps"
at_fn_check_prepare_trace "mrsets.at:241"
( $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: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_349
#AT_START_350
at_fn_group_banner 350 'mrsets.at:246' \
  "MRSETS variables must be same type" "             " 51
at_xfail=no
(
  $as_echo "350. $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:251: pspp -O format=csv mrsets.sps"
at_fn_check_prepare_trace "mrsets.at:251"
( $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: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_350
#AT_START_351
at_fn_group_banner 351 'mrsets.at:258' \
  "MRSETS variables and VALUE must be same type" "   " 51
at_xfail=no
(
  $as_echo "351. $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:264: pspp -O format=csv mrsets.sps"
at_fn_check_prepare_trace "mrsets.at:264"
( $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:264"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'mrsets.at:271' \
  "MRSETS VALUE must not be too wide" "              " 51
at_xfail=no
(
  $as_echo "352. $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:276: pspp -O format=csv mrsets.sps"
at_fn_check_prepare_trace "mrsets.at:276"
( $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: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_352
#AT_START_353
at_fn_group_banner 353 'mrsets.at:281' \
  "MRSETS LABEL and LABELSOURCE are exclusive" "     " 51
at_xfail=no
(
  $as_echo "353. $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:287: pspp -O format=csv mrsets.sps"
at_fn_check_prepare_trace "mrsets.at:287"
( $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: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_353
#AT_START_354
at_fn_group_banner 354 'mrsets.at:292' \
  "MRSETS DISPLAY or DELETE unknown group" "         " 51
at_xfail=no
(
  $as_echo "354. $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:298: pspp -O format=csv mrsets.sps"
at_fn_check_prepare_trace "mrsets.at:298"
( $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:298"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'modify-variables.at:19' \
  "MODIFY VARS /REORDER" "                           " 52
at_xfail=no
(
  $as_echo "355. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >modify-variables.sps <<'_ATEOF'
DATA LIST LIST /a b c x y z (F2.0).
BEGIN DATA.
1 2 3 4 5 6
END DATA.

MODIFY VARS /REORDER (z y x).
DISPLAY INDEX.
MODIFY VARS /REORDER (c b a).
DISPLAY INDEX.

MODIFY VARS /REORDER BACKWARD (z y x).
DISPLAY INDEX.
MODIFY VARS /REORDER BACKWARD (c b a).
DISPLAY INDEX.

MODIFY VARS /REORDER BACKWARD ALPHA (ALL).
DISPLAY INDEX.
MODIFY VARS /REORDER ALPHA (ALL).
DISPLAY INDEX.
_ATEOF

{ set +x
$as_echo "$at_srcdir/modify-variables.at:42: pspp -O format=csv modify-variables.sps"
at_fn_check_prepare_trace "modify-variables.at:42"
( $at_check_trace; pspp -O format=csv modify-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,F2.0
b,F2.0
c,F2.0
x,F2.0
y,F2.0
z,F2.0

Table: Variables
Name,Position
z,1
y,2
x,3
a,4
b,5
c,6

Table: Variables
Name,Position
c,1
b,2
a,3
z,4
y,5
x,6

Table: Variables
Name,Position
x,1
y,2
z,3
c,4
b,5
a,6

Table: Variables
Name,Position
a,1
b,2
c,3
x,4
y,5
z,6

Table: Variables
Name,Position
z,1
y,2
x,3
c,4
b,5
a,6

Table: Variables
Name,Position
a,1
b,2
c,3
x,4
y,5
z,6
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/modify-variables.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_355
#AT_START_356
at_fn_group_banner 356 'modify-variables.at:108' \
  "MODIFY VARS /RENAME" "                            " 52
at_xfail=no
(
  $as_echo "356. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >modify-variables.sps <<'_ATEOF'
DATA LIST LIST /a b c x y z (F2.0).
BEGIN DATA.
1 2 3 4 5 6
END DATA.

MODIFY VARS /RENAME (a b c = one two three).
DISPLAY INDEX.
MODIFY VARS /RENAME (one two three = a b c).
DISPLAY INDEX.
MODIFY VARS /RENAME (a = a).
DISPLAY INDEX.
MODIFY VARS /RENAME (a b c = b c a).
DISPLAY INDEX.
_ATEOF

{ set +x
$as_echo "$at_srcdir/modify-variables.at:125: pspp -O format=csv modify-variables.sps"
at_fn_check_prepare_trace "modify-variables.at:125"
( $at_check_trace; pspp -O format=csv modify-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,F2.0
b,F2.0
c,F2.0
x,F2.0
y,F2.0
z,F2.0

Table: Variables
Name,Position
one,1
two,2
three,3
x,4
y,5
z,6

Table: Variables
Name,Position
a,1
b,2
c,3
x,4
y,5
z,6

Table: Variables
Name,Position
a,1
b,2
c,3
x,4
y,5
z,6

Table: Variables
Name,Position
b,1
c,2
a,3
x,4
y,5
z,6
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/modify-variables.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_356
#AT_START_357
at_fn_group_banner 357 'modify-variables.at:173' \
  "MODIFY VARS /DROP and /KEEP" "                    " 52
at_xfail=no
(
  $as_echo "357. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >modify-variables.sps <<'_ATEOF'
DATA LIST LIST /a b c x y z (F2.0).
BEGIN DATA.
1 2 3 4 5 6
END DATA.

MODIFY VARS /DROP a.
DISPLAY INDEX.
MODIFY VARS /KEEP ALL.
DISPLAY INDEX.
MODIFY VARS /KEEP c TO y.
DISPLAY INDEX.
MODIFY VARS /DROP x.
DISPLAY INDEX.
MODIFY VARS /KEEP y.
DISPLAY INDEX.
MODIFY VARS /DROP y.
DISPLAY INDEX.
_ATEOF

{ set +x
$as_echo "$at_srcdir/modify-variables.at:194: pspp -O format=csv modify-variables.sps"
at_fn_check_prepare_trace "modify-variables.at:194"
( $at_check_trace; pspp -O format=csv modify-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,F2.0
b,F2.0
c,F2.0
x,F2.0
y,F2.0
z,F2.0

Table: Variables
Name,Position
b,1
c,2
x,3
y,4
z,5

Table: Variables
Name,Position
b,1
c,2
x,3
y,4
z,5

Table: Variables
Name,Position
c,1
x,2
y,3

Table: Variables
Name,Position
c,1
y,2

Table: Variables
Name,Position
y,1

modify-variables.sps:16: error: MODIFY VARS: MODIFY VARS may not be used to delete all variables from the active dataset dictionary.  Use NEW FILE instead.

modify-variables.sps:17: 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/modify-variables.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_357
#AT_START_358
at_fn_group_banner 358 'modify-variables.at:241' \
  "MODIFY VARS crash" "                              " 52
at_xfail=no
(
  $as_echo "358. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >modify-variables.sps <<'_ATEOF'
DATA LIST notable LIST /a b c (F2.0).
BEGIN DATA.
1 2 3
END DATA.

MODIFY VARS /RENAME (a 4 c = one two three).
_ATEOF


{ set +x
$as_echo "$at_srcdir/modify-variables.at:251: pspp -O format=csv modify-variables.sps"
at_fn_check_prepare_trace "modify-variables.at:251"
( $at_check_trace; pspp -O format=csv modify-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/modify-variables.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_358
#AT_START_359
at_fn_group_banner 359 'rename-variables.at:19' \
  "RENAME VARIABLES" "                               " 53
at_xfail=no
(
  $as_echo "359. $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_359
#AT_START_360
at_fn_group_banner 360 'rename-variables.at:64' \
  "RENAME VARIABLES -- multiple sets" "              " 53
at_xfail=no
(
  $as_echo "360. $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_360
#AT_START_361
at_fn_group_banner 361 'rename-variables.at:93' \
  "RENAME VARIABLES -- invalid syntax 1" "           " 53
at_xfail=no
(
  $as_echo "361. $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_361
#AT_START_362
at_fn_group_banner 362 'rename-variables.at:105' \
  "RENAME VARIABLES -- invalid syntax 2" "           " 53
at_xfail=no
(
  $as_echo "362. $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_362
#AT_START_363
at_fn_group_banner 363 'rename-variables.at:119' \
  "RENAME VARIABLES -- invalid syntax 3" "           " 53
at_xfail=no
(
  $as_echo "363. $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_363
#AT_START_364
at_fn_group_banner 364 'sort-variables.at:19' \
  "SORT VARIABLES" "                                 " 54
at_xfail=no
(
  $as_echo "364. $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 "Table: Variables
Name
`for var in $4; do echo $var; done`

Table: Variables
Name
`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_364
#AT_START_365
at_fn_group_banner 365 'split-file.at:19' \
  "SPLIT FILE - basic test" "                        " 55
at_xfail=no
(
  $as_echo "365. $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 "Table: Split Values
Variable,Value
X,1

Table: Data List
X,Y
1,2
1,6
1,7
1,9
1,5
1,4

Table: Split Values
Variable,Value
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_365
#AT_START_366
at_fn_group_banner 366 'split-file.at:77' \
  "SPLIT FILE  - vs procedures" "                    " 55
at_xfail=no
(
  $as_echo "366. $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_366
#AT_START_367
at_fn_group_banner 367 'sys-file-info.at:19' \
  "SYSFILE INFO" "                                   " 56
at_xfail=no
(
  $as_echo "367. $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.
DOCUMENT A document.
SAVE OUTFILE='pro.sav'.

sysfile info file='pro.sav'.
_ATEOF

{ set +x
$as_echo "$at_srcdir/sys-file-info.at:32: pspp -o pspp.csv sysfile-info.sps"
at_fn_check_prepare_trace "sys-file-info.at:32"
( $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:32"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/sys-file-info.at:33: sed -e '/^Created,/d' \\
       -e '/^Endian,/d' \\
       -e '/^Integer Format,/d' \\
       -e '/^Real Format,/d' \\
       -e '/^Encoding,/d' \\
       -e 's/(Entered.*)/(Entered <date>)/' pspp.csv"
at_fn_check_prepare_notrace 'an embedded newline' "sys-file-info.at:33"
( $at_check_trace; sed -e '/^Created,/d' \
       -e '/^Endian,/d' \
       -e '/^Integer Format,/d' \
       -e '/^Real Format,/d' \
       -e '/^Encoding,/d' \
       -e '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 free-form data from INLINE.
Variable,Format
x,F8.0
name,A10

Table: File Information
File,pro.sav
Label,
Variables,2
Cases,3
Type,SPSS System File
Weight,Not weighted
Compression,SAV
Documents,\"DOCUMENT A document.
   (Entered <date>)\"

Table: Variables
Name,Position,Label,Measurement Level,Role,Width,Alignment,Print Format,Write Format,Missing Values
x,1,,Scale,Input,8,Right,F8.2,F8.2,
name,2,,Nominal,Input,10,Left,A10,A10,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-info.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_367
#AT_START_368
at_fn_group_banner 368 'sys-file-info.at:68' \
  "DISPLAY FILE LABEL" "                             " 57
at_xfail=no
(
  $as_echo "368. $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:77: pspp -O format=csv display.sps"
at_fn_check_prepare_trace "sys-file-info.at:77"
( $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 "Table: File Label
Label,(none)

Table: File Label
Label,foo bar baz quux
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-info.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_368
#AT_START_369
at_fn_group_banner 369 'sys-file-info.at:90' \
  "DISPLAY SCRATCH" "                                " 57
at_xfail=no
(
  $as_echo "369. $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.

Table: Variables
Name
#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_369
#AT_START_370
at_fn_group_banner 370 'sys-file-info.at:106' \
  "DISPLAY INDEX" "                                  " 57
at_xfail=no
(
  $as_echo "370. $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:111: pspp -O format=csv sysfile-info.sps"
at_fn_check_prepare_trace "sys-file-info.at:111"
( $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 "Table: Variables
Name,Position
x,1
name,2
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-info.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_370
#AT_START_371
at_fn_group_banner 371 'sys-file-info.at:119' \
  "DISPLAY NAMES" "                                  " 57
at_xfail=no
(
  $as_echo "371. $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:124: pspp -O format=csv sysfile-info.sps"
at_fn_check_prepare_trace "sys-file-info.at:124"
( $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 "Table: Variables
Name
x
name
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-info.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_371
#AT_START_372
at_fn_group_banner 372 'sys-file-info.at:132' \
  "DISPLAY LABELS" "                                 " 57
at_xfail=no
(
  $as_echo "372. $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:139: pspp -O format=csv sysfile-info.sps"
at_fn_check_prepare_trace "sys-file-info.at:139"
( $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 "Table: Variables
Name,Position,Label
x,1,variable one
name,2,variable two
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/sys-file-info.at:139"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'value-labels.at:19' \
  "VALUE LABELS date formats" "                      " 58
at_xfail=no
(
  $as_echo "373. $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 "Table: Variables
Name,Position,Label,Measurement Level,Role,Width,Alignment,Print Format,Write Format,Missing Values
ad,1,,Scale,Input,8,Right,ADATE10,ADATE10,
dt,2,,Scale,Input,8,Right,DATETIME20.0,DATETIME20.0,

Table: Value Labels
Variable Value,,Label
ad,07/10/1982,label 1
,01/02/1993,label 2
,05/04/2003,label 3
dt,12-APR-2011 06:09:56,label 4
" | \
  $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_373
#AT_START_374
at_fn_group_banner 374 'value-labels.at:43' \
  "VALUE LABELS with new-line" "                     " 58
at_xfail=no
(
  $as_echo "374. $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 pspp.csv -o pspp.txt value-labels.sps"
at_fn_check_prepare_trace "value-labels.at:55"
( $at_check_trace; pspp -o pspp.csv -o pspp.txt 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=:
at_fn_diff_devnull "$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
$as_echo "$at_srcdir/value-labels.at:56: cat pspp.csv"
at_fn_check_prepare_trace "value-labels.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: Variables
Name,Position,Label,Measurement Level,Role,Width,Alignment,Print Format,Write Format,Missing Values
x,1,,Scale,Input,8,Right,F8.2,F8.2,

Table: Value Labels
Variable Value,,Label
x,1.00,one
,2.00,first line\\nsecond line
,3.00,three

Table: x
,,Frequency,Percent,Valid Percent,Cumulative Percent
Valid,one,1,33.3%,33.3%,33.3%
,\"first line
second line\",1,33.3%,33.3%,66.7%
,three,1,33.3%,33.3%,100.0%
Total,,3,100.0%,,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/value-labels.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_374
#AT_START_375
at_fn_group_banner 375 'value-labels.at:77' \
  "VALUE LABELS with new-line in system file" "      " 58
at_xfail=no
(
  $as_echo "375. $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:88: pspp -O format=csv save.sps"
at_fn_check_prepare_trace "value-labels.at:88"
( $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:88"
$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:94: pspp -o pspp.csv -o pspp.txt get.sps"
at_fn_check_prepare_trace "value-labels.at:94"
( $at_check_trace; pspp -o pspp.csv -o pspp.txt 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/value-labels.at:94"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/value-labels.at:95: cat pspp.csv"
at_fn_check_prepare_trace "value-labels.at:95"
( $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: Variables
Name,Position,Label,Measurement Level,Role,Width,Alignment,Print Format,Write Format,Missing Values
x,1,,Scale,Input,8,Right,F8.2,F8.2,

Table: Value Labels
Variable Value,,Label
x,1.00,one
,2.00,first line\\nsecond line
,3.00,three

Table: x
,,Frequency,Percent,Valid Percent,Cumulative Percent
Valid,one,1,33.3%,33.3%,33.3%
,\"first line
second line\",1,33.3%,33.3%,66.7%
,three,1,33.3%,33.3%,100.0%
Total,,3,100.0%,,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/value-labels.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_375
#AT_START_376
at_fn_group_banner 376 'value-labels.at:118' \
  "VALUE LABELS invalid syntax bug" "                " 58
at_xfail=no
(
  $as_echo "376. $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:130: pspp -O format=csv value-labels.sps"
at_fn_check_prepare_trace "value-labels.at:130"
( $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: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_376
#AT_START_377
at_fn_group_banner 377 'value-labels.at:136' \
  "VALUE LABELS trailing \`/' bug" "                  " 58
at_xfail=no
(
  $as_echo "377. $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:152: pspp -O format=csv value-labels.sps"
at_fn_check_prepare_trace "value-labels.at:152"
( $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: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_377
#AT_START_378
at_fn_group_banner 378 'variable-display.at:19' \
  "variable display attribute commands" "            " 59
at_xfail=no
(
  $as_echo "378. $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 "Table: Variables
Name,Position,Label,Measurement Level,Role,Width,Alignment,Print Format,Write Format,Missing Values
x,1,,Scale,Output,10,Left,F8.2,F8.2,
y,2,,Ordinal,Both,12,Right,F8.2,F8.2,
z,3,,Nominal,None,14,Center,F8.2,F8.2,
" | \
  $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_378
#AT_START_379
at_fn_group_banner 379 'variable-display.at:41' \
  "variable labels" "                                " 60
at_xfail=no
(
  $as_echo "379. $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:78: pspp -o pspp.csv -o pspp.txt var-labels.sps"
at_fn_check_prepare_trace "variable-display.at:78"
( $at_check_trace; pspp -o pspp.csv -o pspp.txt 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=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/variable-display.at:78"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/variable-display.at:79: cat pspp.csv"
at_fn_check_prepare_trace "variable-display.at:79"
( $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: Descriptive Statistics
,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
Valid N (listwise),4,,,,
Missing N (listwise),0,,,,

Table: Descriptive Statistics
,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
Valid N (listwise),4,,,,
Missing N (listwise),0,,,,

Table: Descriptive Statistics
,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
Valid N (listwise),4,,,,
Missing N (listwise),0,,,,

Table: Descriptive Statistics
,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
Valid N (listwise),4,,,,
Missing N (listwise),0,,,,

Table: Descriptive Statistics
,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
Valid N (listwise),4,,,,
Missing N (listwise),0,,,,

Table: Descriptive Statistics
,N,Mean,Std Dev,Minimum,Maximum
x foo,4,2.50,1.29,1.00,4.00
y bar,4,250.00,129.10,100.00,400.00
Valid N (listwise),4,,,,
Missing N (listwise),0,,,,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/variable-display.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_379
#AT_START_380
at_fn_group_banner 380 'vector.at:19' \
  "VECTOR short form" "                              " 61
at_xfail=no
(
  $as_echo "380. $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 "Table: Vectors
Vector and 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_380
#AT_START_381
at_fn_group_banner 381 'vector.at:36' \
  "VECTOR short form with format specification" "    " 61
at_xfail=no
(
  $as_echo "381. $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:43: pspp -o pspp.csv vector.sps"
at_fn_check_prepare_trace "vector.at:43"
( $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:43"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/vector.at:44: cat pspp.csv"
at_fn_check_prepare_trace "vector.at:44"
( $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: Vectors
Vector and 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: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_381
#AT_START_382
at_fn_group_banner 382 'vector.at:57' \
  "VECTOR short form in INPUT PROGRAM" "             " 61
at_xfail=no
(
  $as_echo "382. $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:65: pspp -o pspp.csv vector.sps"
at_fn_check_prepare_trace "vector.at:65"
( $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:65"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/vector.at:66: cat pspp.csv"
at_fn_check_prepare_trace "vector.at:66"
( $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: Vectors
Vector and 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: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_382
#AT_START_383
at_fn_group_banner 383 'vector.at:77' \
  "VECTOR long form" "                               " 61
at_xfail=no
(
  $as_echo "383. $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:85: pspp -o pspp.csv vector.sps"
at_fn_check_prepare_trace "vector.at:85"
( $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:85"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/vector.at:86: cat pspp.csv"
at_fn_check_prepare_trace "vector.at:86"
( $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: Vectors
Vector and 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: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_383
#AT_START_384
at_fn_group_banner 384 'weight.at:19' \
  "WEIGHT" "                                         " 62
at_xfail=no
(
  $as_echo "384. $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 -o pspp.txt weight.sps"
at_fn_check_prepare_trace "weight.at:82"
( $at_check_trace; pspp -o pspp.csv -o pspp.txt 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: Descriptive Statistics
,N,Mean,S.E. Mean,Std Dev,Variance,Kurtosis,S.E. Kurt,Skewness,S.E. Skew,Range,Minimum,Maximum,Sum
AVAR,730,31.515,.405,10.937,119.608,2.411,.181,1.345,.090,76.000,18,94,23006.00
Valid N (listwise),730,,,,,,,,,,,,
Missing N (listwise),0,,,,,,,,,,,,

Table: Statistics
,,AVAR
N,Valid,730
,Missing,0
Mean,,31.515
S.E. Mean,,.405
Median,,28.000
Mode,,21
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
Maximum,,94
Sum,,23006.00

Table: AVAR
,,Frequency,Percent,Valid Percent,Cumulative Percent
Valid,18,1,.1%,.1%,.1%
,19,7,1.0%,1.0%,1.1%
,20,26,3.6%,3.6%,4.7%
,21,76,10.4%,10.4%,15.1%
,22,57,7.8%,7.8%,22.9%
,23,58,7.9%,7.9%,30.8%
,24,38,5.2%,5.2%,36.0%
,25,38,5.2%,5.2%,41.2%
,26,30,4.1%,4.1%,45.3%
,27,21,2.9%,2.9%,48.2%
,28,23,3.2%,3.2%,51.4%
,29,24,3.3%,3.3%,54.7%
,30,23,3.2%,3.2%,57.8%
,31,14,1.9%,1.9%,59.7%
,32,21,2.9%,2.9%,62.6%
,33,21,2.9%,2.9%,65.5%
,34,14,1.9%,1.9%,67.4%
,35,14,1.9%,1.9%,69.3%
,36,17,2.3%,2.3%,71.6%
,37,11,1.5%,1.5%,73.2%
,38,16,2.2%,2.2%,75.3%
,39,14,1.9%,1.9%,77.3%
,40,15,2.1%,2.1%,79.3%
,41,14,1.9%,1.9%,81.2%
,42,14,1.9%,1.9%,83.2%
,43,8,1.1%,1.1%,84.2%
,44,15,2.1%,2.1%,86.3%
,45,10,1.4%,1.4%,87.7%
,46,12,1.6%,1.6%,89.3%
,47,13,1.8%,1.8%,91.1%
,48,13,1.8%,1.8%,92.9%
,49,5,.7%,.7%,93.6%
,50,5,.7%,.7%,94.2%
,51,3,.4%,.4%,94.7%
,52,7,1.0%,1.0%,95.6%
,53,6,.8%,.8%,96.4%
,54,2,.3%,.3%,96.7%
,55,2,.3%,.3%,97.0%
,56,2,.3%,.3%,97.3%
,57,3,.4%,.4%,97.7%
,58,1,.1%,.1%,97.8%
,59,3,.4%,.4%,98.2%
,61,1,.1%,.1%,98.4%
,62,3,.4%,.4%,98.8%
,63,1,.1%,.1%,98.9%
,64,1,.1%,.1%,99.0%
,65,2,.3%,.3%,99.3%
,70,1,.1%,.1%,99.5%
,78,1,.1%,.1%,99.6%
,79,1,.1%,.1%,99.7%
,80,1,.1%,.1%,99.9%
,94,1,.1%,.1%,100.0%
Total,,730,100.0%,,
" | \
  $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_384
#AT_START_385
at_fn_group_banner 385 'evaluate.at:1989' \
  "LAG function" "                                   " 63
at_xfail=no
(
  $as_echo "385. $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_385
#AT_START_386
at_fn_group_banner 386 'evaluate.at:2021' \
  "LAG crash bug" "                                  " 63
at_xfail=no
(
  $as_echo "386. $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_386
#AT_START_387
at_fn_group_banner 387 'evaluate.at:2046' \
  "UNIFORM function" "                               " 63
at_xfail=no
(
  $as_echo "387. $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_387
#AT_START_388
at_fn_group_banner 388 'evaluate.at:2088' \
  "VALUELABEL function" "                            " 63
at_xfail=no
(
  $as_echo "388. $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_388
#AT_START_389
at_fn_group_banner 389 'evaluate.at:2132' \
  "variables in expressions" "                       " 63
at_xfail=no
(
  $as_echo "389. $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_389
#AT_START_390
at_fn_group_banner 390 'evaluate.at:2181' \
  "vectors in expressions" "                         " 63
at_xfail=no
(
  $as_echo "390. $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_390
#AT_START_391
at_fn_group_banner 391 'parse.at:19' \
  "parse expression with unknown variable crash" "   " 64
at_xfail=no
(
  $as_echo "391. $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_391
#AT_START_392
at_fn_group_banner 392 'parse.at:41' \
  "parse expression with invalid logical expression" "" 64
at_xfail=no
(
  $as_echo "392. $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_392
#AT_START_393
at_fn_group_banner 393 'command-name.at:19' \
  "single words" "                                   " 65
at_xfail=no
(
  $as_echo "393. $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_393
#AT_START_394
at_fn_group_banner 394 'command-name.at:61' \
  "two words without prefix match" "                 " 65
at_xfail=no
(
  $as_echo "394. $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_394
#AT_START_395
at_fn_group_banner 395 'command-name.at:102' \
  "two words with prefix match" "                    " 65
at_xfail=no
(
  $as_echo "395. $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_395
#AT_START_396
at_fn_group_banner 396 'command-name.at:128' \
  "ambiguous single-word names" "                    " 65
at_xfail=no
(
  $as_echo "396. $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_396
#AT_START_397
at_fn_group_banner 397 'command-name.at:154' \
  "ambiguous two-word names" "                       " 65
at_xfail=no
(
  $as_echo "397. $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_397
#AT_START_398
at_fn_group_banner 398 'command-name.at:190' \
  "numbers and punctuation" "                        " 65
at_xfail=no
(
  $as_echo "398. $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_398
#AT_START_399
at_fn_group_banner 399 'command-name.at:226' \
  "off by more than one word" "                      " 65
at_xfail=no
(
  $as_echo "399. $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_399
#AT_START_400
at_fn_group_banner 400 'lexer.at:19' \
  "lexer ignores initial #! line" "                  " 66
at_xfail=no
(
  $as_echo "400. $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_400
#AT_START_401
at_fn_group_banner 401 'lexer.at:38' \
  "lexer properly reports scan errors" "             " 66
at_xfail=no
(
  $as_echo "401. $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_401
#AT_START_402
at_fn_group_banner 402 'lexer.at:82' \
  "lexer crash due to null byte" "                   " 66
at_xfail=no
(
  $as_echo "402. $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_402
#AT_START_403
at_fn_group_banner 403 'lexer.at:102' \
  "lexer crash due to overflow" "                    " 66
at_xfail=no
(
  $as_echo "403. $at_setup_line: testing $at_desc ..."
  $at_traceon

printf "DATA LIST/5555555555555555." > lexer.sps

{ set +x
$as_echo "$at_srcdir/lexer.at:105: pspp -O format=csv lexer.sps"
at_fn_check_prepare_trace "lexer.at:105"
( $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: DATA LIST: The record number specified, 5555555555555555, is at or before the previous record, 0.  Data fields must be listed in order of increasing record number.\"
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/lexer.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_403
#AT_START_404
at_fn_group_banner 404 'q2c.at:19' \
  "q2c enforces mandatory subcommands" "             " 67
at_xfail=no
(
  $as_echo "404. $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_404
#AT_START_405
at_fn_group_banner 405 'scan.at:25' \
  "identifiers" "                                    " 68
at_xfail=no
(
  $as_echo "405. $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_405
#AT_START_406
at_fn_group_banner 406 'scan.at:86' \
  "reserved words" "                                 " 68
at_xfail=no
(
  $as_echo "406. $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_406
#AT_START_407
at_fn_group_banner 407 'scan.at:183' \
  "punctuation" "                                    " 68
at_xfail=no
(
  $as_echo "407. $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_407
#AT_START_408
at_fn_group_banner 408 'scan.at:256' \
  "numbers" "                                        " 68
at_xfail=no
(
  $as_echo "408. $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_408
#AT_START_409
at_fn_group_banner 409 'scan.at:341' \
  "strings" "                                        " 68
at_xfail=no
(
  $as_echo "409. $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_409
#AT_START_410
at_fn_group_banner 410 'scan.at:436' \
  "#! construct" "                                   " 68
at_xfail=no
(
  $as_echo "410. $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_410
#AT_START_411
at_fn_group_banner 411 'scan.at:460' \
  "* and COMMENT commands" "                         " 68
at_xfail=no
(
  $as_echo "411. $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_411
#AT_START_412
at_fn_group_banner 412 'scan.at:537' \
  "DOCUMENT command" "                               " 68
at_xfail=no
(
  $as_echo "412. $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_412
#AT_START_413
at_fn_group_banner 413 'scan.at:586' \
  "TITLE, SUBTITLE, FILE LABEL commands" "           " 68
at_xfail=no
(
  $as_echo "413. $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_413
#AT_START_414
at_fn_group_banner 414 'scan.at:670' \
  "BEGIN DATA command" "                             " 68
at_xfail=no
(
  $as_echo "414. $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_414
#AT_START_415
at_fn_group_banner 415 'scan.at:727' \
  "DO REPEAT command" "                              " 68
at_xfail=no
(
  $as_echo "415. $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_415
#AT_START_416
at_fn_group_banner 416 'scan.at:784' \
  "batch mode" "                                     " 68
at_xfail=no
(
  $as_echo "416. $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_416
#AT_START_417
at_fn_group_banner 417 'segment.at:30' \
  "identifiers" "                                    " 69
at_xfail=no
(
  $as_echo "417. $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_417
#AT_START_418
at_fn_group_banner 418 'segment.at:113' \
  "identifiers that end in '.'" "                    " 69
at_xfail=no
(
  $as_echo "418. $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_418
#AT_START_419
at_fn_group_banner 419 'segment.at:219' \
  "reserved words" "                                 " 69
at_xfail=no
(
  $as_echo "419. $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_419
#AT_START_420
at_fn_group_banner 420 'segment.at:283' \
  "punctuation" "                                    " 69
at_xfail=no
(
  $as_echo "420. $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_420
#AT_START_421
at_fn_group_banner 421 'segment.at:339' \
  "numbers" "                                        " 69
at_xfail=no
(
  $as_echo "421. $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_421
#AT_START_422
at_fn_group_banner 422 'segment.at:406' \
  "strings" "                                        " 69
at_xfail=no
(
  $as_echo "422. $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_422
#AT_START_423
at_fn_group_banner 423 'segment.at:478' \
  "#! construct" "                                   " 69
at_xfail=no
(
  $as_echo "423. $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_423
#AT_START_424
at_fn_group_banner 424 'segment.at:509' \
  "* and COMMENT commands" "                         " 69
at_xfail=no
(
  $as_echo "424. $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_424
#AT_START_425
at_fn_group_banner 425 'segment.at:597' \
  "DOCUMENT command" "                               " 69
at_xfail=no
(
  $as_echo "425. $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_425
#AT_START_426
at_fn_group_banner 426 'segment.at:656' \
  "TITLE, SUBTITLE, FILE LABEL commands" "           " 69
at_xfail=no
(
  $as_echo "426. $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_426
#AT_START_427
at_fn_group_banner 427 'segment.at:745' \
  "BEGIN DATA command" "                             " 69
at_xfail=no
(
  $as_echo "427. $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_427
#AT_START_428
at_fn_group_banner 428 'segment.at:870' \
  "DO REPEAT command" "                              " 69
at_xfail=no
(
  $as_echo "428. $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_428
#AT_START_429
at_fn_group_banner 429 'segment.at:952' \
  "batch mode" "                                     " 69
at_xfail=no
(
  $as_echo "429. $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_429
#AT_START_430
at_fn_group_banner 430 'segment.at:1006' \
  "auto mode" "                                      " 69
at_xfail=no
(
  $as_echo "430. $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_430
#AT_START_431
at_fn_group_banner 431 'variable-parser.at:22' \
  "Long variable names" "                            " 70
at_xfail=no
(
  $as_echo "431. $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%,1,100.0%

Table: X × Yabbadabbadoo
,,,Yabbadabbadoo,,,,,,,Total
,,,1.00,2.00,3.00,4.00,5.00,6.00,7.00,
X,1.00,Count,0,0,0,0,0,0,0,0
,2.00,,0,0,0,0,0,0,0,0
,3.00,,0,0,0,0,0,0,0,0
,4.00,,0,0,0,0,1,0,0,1
,5.00,,0,0,0,0,0,0,0,0
,6.00,,0,0,0,0,0,0,0,0
,7.00,,0,0,0,0,0,0,0,0
Total,,,0,0,0,0,1,0,0,1
" | \
  $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_431
#AT_START_432
at_fn_group_banner 432 'variable-parser.at:69' \
  "variable parser crash" "                          " 70
at_xfail=no
(
  $as_echo "432. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >crash.sps <<'_ATEOF'
INPUT PROGRAM.
FORMATS ALL(F1).$
END FILE.
END INPUT PROGRAM.
_ATEOF


{ set +x
$as_echo "$at_srcdir/variable-parser.at:78: pspp -O format=txt crash.sps"
at_fn_check_prepare_trace "variable-parser.at:78"
( $at_check_trace; pspp -O format=txt 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/variable-parser.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_432
#AT_START_433
at_fn_group_banner 433 'aggregate.at:177' \
  "AGGREGATE presorted data to dataset file, itemwise missing" "" 71
at_xfail=no
(
  $as_echo "433. $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_433
#AT_START_434
at_fn_group_banner 434 'aggregate.at:178' \
  "AGGREGATE presorted data to dataset file, columnwise missing" "" 71
at_xfail=no
(
  $as_echo "434. $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_434
#AT_START_435
at_fn_group_banner 435 'aggregate.at:179' \
  "AGGREGATE unsorted data to dataset file, itemwise missing" "" 71
at_xfail=no
(
  $as_echo "435. $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_435
#AT_START_436
at_fn_group_banner 436 'aggregate.at:180' \
  "AGGREGATE unsorted data to dataset file, columnwise missing" "" 71
at_xfail=no
(
  $as_echo "436. $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_436
#AT_START_437
at_fn_group_banner 437 'aggregate.at:181' \
  "AGGREGATE presorted data to active file, itemwise missing" "" 71
at_xfail=no
(
  $as_echo "437. $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_437
#AT_START_438
at_fn_group_banner 438 'aggregate.at:182' \
  "AGGREGATE presorted data to active file, columnwise missing" "" 71
at_xfail=no
(
  $as_echo "438. $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_438
#AT_START_439
at_fn_group_banner 439 'aggregate.at:183' \
  "AGGREGATE unsorted data to active file, itemwise missing" "" 71
at_xfail=no
(
  $as_echo "439. $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_439
#AT_START_440
at_fn_group_banner 440 'aggregate.at:184' \
  "AGGREGATE unsorted data to active file, columnwise missing" "" 71
at_xfail=no
(
  $as_echo "440. $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_440
#AT_START_441
at_fn_group_banner 441 'aggregate.at:185' \
  "AGGREGATE presorted data to external file, itemwise missing" "" 71
at_xfail=no
(
  $as_echo "441. $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_441
#AT_START_442
at_fn_group_banner 442 'aggregate.at:186' \
  "AGGREGATE presorted data to external file, columnwise missing" "" 71
at_xfail=no
(
  $as_echo "442. $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_442
#AT_START_443
at_fn_group_banner 443 'aggregate.at:187' \
  "AGGREGATE unsorted data to external file, itemwise missing" "" 71
at_xfail=no
(
  $as_echo "443. $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_443
#AT_START_444
at_fn_group_banner 444 'aggregate.at:188' \
  "AGGREGATE unsorted data to external file, columnwise missing" "" 71
at_xfail=no
(
  $as_echo "444. $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_444
#AT_START_445
at_fn_group_banner 445 'aggregate.at:190' \
  "AGGREGATE crash with MAX function" "              " 71
at_xfail=no
(
  $as_echo "445. $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_445
#AT_START_446
at_fn_group_banner 446 'aggregate.at:216' \
  "AGGREGATE crash with invalid syntax" "            " 71
at_xfail=no
(
  $as_echo "446. $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_446
#AT_START_447
at_fn_group_banner 447 'aggregate.at:232' \
  "AGGREGATE mode=addvariables" "                    " 71
at_xfail=no
(
  $as_echo "447. $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_447
#AT_START_448
at_fn_group_banner 448 'aggregate.at:271' \
  "AGGREGATE buggy duplicate variables" "            " 71
at_xfail=no
(
  $as_echo "448. $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_448
#AT_START_449
at_fn_group_banner 449 'autorecode.at:19' \
  "AUTORECODE multiple missing values" "             " 72
at_xfail=no
(
  $as_echo "449. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >autorecode.sps <<'_ATEOF'
DATA LIST LIST NOTABLE /u v w x y z (F2.0).
BEGIN DATA.
11 11 11 11 11 11
12 12 12 12 12 12
13 13 13 13 13 13
14 14 14 14 14 14
15 15 15 15 15 15
16 16 16 16 16 16
END DATA.

MISSING VALUES u (11)
	       v (11, 12)
               w (11, 12, 13)
	       x (11 THRU 14)
	       y (11 THRU 15)
	       z (11 THRU 16).

AUTORECODE u v w x y z INTO a b c d e f/print.
LIST.
DISPLAY VARIABLES/VARIABLES=a TO f.
_ATEOF

{ set +x
$as_echo "$at_srcdir/autorecode.at:42: pspp -O format=csv autorecode.sps"
at_fn_check_prepare_trace "autorecode.at:42"
( $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: Recoding u into a.
Old Value,New Value,Value Label
12,1,12
13,2,13
14,3,14
15,4,15
16,5,16
11,6,11

Table: Recoding v into b.
Old Value,New Value,Value Label
13,1,13
14,2,14
15,3,15
16,4,16
11,5,11
12,6,12

Table: Recoding w into c.
Old Value,New Value,Value Label
14,1,14
15,2,15
16,3,16
11,4,11
12,5,12
13,6,13

Table: Recoding x into d.
Old Value,New Value,Value Label
15,1,15
16,2,16
11,3,11
12,4,12
13,5,13
14,6,14

Table: Recoding y into e.
Old Value,New Value,Value Label
16,1,16
11,2,11
12,3,12
13,4,13
14,5,14
15,6,15

Table: Recoding z into f.
Old Value,New Value,Value Label
11,1,11
12,2,12
13,3,13
14,4,14
15,5,15
16,6,16

Table: Data List
u,v,w,x,y,z,a,b,c,d,e,f
11,11,11,11,11,11,6,5,4,3,2,1
12,12,12,12,12,12,1,6,5,4,3,2
13,13,13,13,13,13,2,1,6,5,4,3
14,14,14,14,14,14,3,2,1,6,5,4
15,15,15,15,15,15,4,3,2,1,6,5
16,16,16,16,16,16,5,4,3,2,1,6

Table: Variables
Name,Position,Print Format,Write Format,Missing Values
a,7,F1.0,F1.0,6
b,8,F1.0,F1.0,5; 6
c,9,F1.0,F1.0,4; 5; 6
d,10,F1.0,F1.0,3 THRU 6
e,11,F1.0,F1.0,2 THRU 6
f,12,F1.0,F1.0,1 THRU 6
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/autorecode.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_449
#AT_START_450
at_fn_group_banner 450 'autorecode.at:117' \
  "AUTORECODE numbers and short strings" "           " 72
at_xfail=no
(
  $as_echo "450. $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.

missing values x('asdfk') y(9).

autorecode x y into A B/descend/print.

list.
compute Z=trunc(y/2).
formats z(F1.0).
autorecode z into W.
list.
_ATEOF

{ set +x
$as_echo "$at_srcdir/autorecode.at:142: pspp -O format=csv autorecode.sps"
at_fn_check_prepare_trace "autorecode.at:142"
( $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: Recoding X into A.
Old Value,New Value,Value Label
lasdj,1,lasdj
lajks,2,lajks
asdfj,3,asdfj
asdfk,4,asdfk

Table: Recoding Y into B.
Old Value,New Value,Value Label
2,1,2
1,2,1
0,3,0
9,4,9

Table: Data List
X,Y,A,B
lasdj,1,1,2
asdfk,0,4,3
asdfj,2,3,1
asdfj,1,3,2
asdfk,2,4,1
asdfj,9,3,4
lajks,9,2,4
asdfk,0,4,3
asdfk,1,4,2

Table: Data List
X,Y,A,B,Z,W
lasdj,1,1,2,0,1
asdfk,0,4,3,0,1
asdfj,2,3,1,1,2
asdfj,1,3,2,0,1
asdfk,2,4,1,1,2
asdfj,9,3,4,.,.
lajks,9,2,4,.,.
asdfk,0,4,3,0,1
asdfk,1,4,2,0,1
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/autorecode.at:142"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'autorecode.at:188' \
  "AUTORECODE long strings and check the value labels" "" 72
at_xfail=no
(
  $as_echo "451. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >ar.sps <<'_ATEOF'
data list notable list /s (a16) x (f1.0).
begin data.
widgets      1
thingummies  2
oojars       3
widgets      4
oojars       5
thingummies  6
oojimiflips  7
end data.

variable labels s 'tracking my stuff'.
value labels /s 'thingummies' 'Funny sticky things'.

autorecode s into new/print.

list.

display dictionary/variables=new.
_ATEOF


{ set +x
$as_echo "$at_srcdir/autorecode.at:211: pspp -O format=csv ar.sps"
at_fn_check_prepare_trace "autorecode.at:211"
( $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: Recoding s into new (tracking my stuff).
Old Value,New Value,Value Label
oojars,1,oojars
oojimiflips,2,oojimiflips
thingummies,3,Funny sticky things
widgets,4,widgets

Table: Data List
s,x,new
widgets,1,4
thingummies,2,3
oojars,3,1
widgets,4,4
oojars,5,1
thingummies,6,3
oojimiflips,7,2

Table: Variables
Name,Position,Label,Measurement Level,Role,Width,Alignment,Print Format,Write Format,Missing Values
new,3,tracking my stuff,Scale,Input,8,Right,F1.0,F1.0,

Table: Value Labels
Variable Value,,Label
tracking my stuff,1,oojars
,2,oojimiflips
,3,Funny sticky things
,4,widgets
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/autorecode.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_451
#AT_START_452
at_fn_group_banner 452 'autorecode.at:244' \
  "AUTORECODE group subcommand" "                    " 72
at_xfail=no
(
  $as_echo "452. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >ar-group.sps <<'_ATEOF'
data list notable list /x y (f8.0).
begin data.
11 10
12 12
13 15
14 11
15 12
16 18
end data.

missing values y (12).

autorecode
	x y into a b
	/group
	/print.

list.
display variables /variables=a b.
_ATEOF


{ set +x
$as_echo "$at_srcdir/autorecode.at:267: pspp -O format=csv ar-group.sps"
at_fn_check_prepare_trace "autorecode.at:267"
( $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: Recoding grouped variables.
Old Value,New Value,Value Label
10,1,10
11,2,11
13,3,13
14,4,14
15,5,15
16,6,16
18,7,18
12,8,12

Table: Data List
x,y,a,b
11,10,2,1
12,12,8,8
13,15,3,5
14,11,4,2
15,12,5,8
16,18,6,7

Table: Variables
Name,Position,Print Format,Write Format,Missing Values
a,3,F1.0,F1.0,8
b,4,F1.0,F1.0,8
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/autorecode.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_452
#AT_START_453
at_fn_group_banner 453 'autorecode.at:298' \
  "AUTORECODE group - string variables" "            " 72
at_xfail=no
(
  $as_echo "453. $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
	/print.

delete variables x y.

list.

_ATEOF


{ set +x
$as_echo "$at_srcdir/autorecode.at:320: pspp -O format=csv strings.sps"
at_fn_check_prepare_trace "autorecode.at:320"
( $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: Recoding grouped variables.
Old Value,New Value,Value Label
,1,
bert,2,bert
charlie,3,charlie
delta,4,delta
echo,5,echo
fred,6,fred
nothing,7,nothing
windows,8,windows

Table: Data List
a,b
6,2
3,1
4,5
1,8
1,7
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/autorecode.at:320"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'autorecode.at:346' \
  "AUTORECODE group vs. strings" "                   " 72
at_xfail=no
(
  $as_echo "454. $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
	/print.

list.
_ATEOF


{ set +x
$as_echo "$at_srcdir/autorecode.at:363: pspp -O format=csv ar-strings.sps"
at_fn_check_prepare_trace "autorecode.at:363"
( $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: Recoding grouped variables.
Old Value,New Value,Value Label
eleven,1,eleven
four,2,four
nine,3,nine
nought,4,nought
one,5,one
ten,6,ten
three,7,three
two,8,two

Table: Data List
a,b,x,y
one,nine,5,3
two,ten,8,6
three,eleven,7,1
four,nought,2,4
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/autorecode.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_454
#AT_START_455
at_fn_group_banner 455 'autorecode.at:387' \
  "AUTORECODE /blank" "                              " 72
at_xfail=no
(
  $as_echo "455. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >auto-blank.sps <<'_ATEOF'
data list notable list /x (a8) y (f8.0) 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 /print.

list a b c y.
_ATEOF


{ set +x
$as_echo "$at_srcdir/autorecode.at:404: pspp -O format=csv auto-blank.sps"
at_fn_check_prepare_trace "autorecode.at:404"
( $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: Recoding x into a.
Old Value,New Value,Value Label
one,1,one
three,2,three
two,3,two

Table: Recoding y into b.
Old Value,New Value,Value Label
2,1,2
4,2,4

Table: Recoding z into c.
Old Value,New Value,Value Label
charliebrown,1,charliebrown
fred,2,fred

Table: Data List
a,b,c,y
1,1,2,2
3,2,.,4
.,2,2,4
.,1,1,2
2,1,1,2
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/autorecode.at:404"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'autorecode.at:434' \
  "AUTORECODE with TEMPORARY" "                      " 72
at_xfail=no
(
  $as_echo "456. $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/print.
list.
_ATEOF

{ set +x
$as_echo "$at_srcdir/autorecode.at:454: pspp -O format=csv autorecode.sps"
at_fn_check_prepare_trace "autorecode.at:454"
( $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: Recoding X into A.
Old Value,New Value,Value Label
lajks,1,lajks
asdfk,2,asdfk
asdfj,3,asdfj

Table: Recoding Y into B.
Old Value,New Value,Value Label
9,1,9
2,2,2

Table: Data List
X,Y,A,B
lasdj,1,.,.
asdfk,0,2,.
asdfj,2,3,2
asdfj,1,3,.
asdfk,2,2,2
asdfj,9,3,1
lajks,9,1,1
asdfk,0,2,.
asdfk,1,2,.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/autorecode.at:454"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'autorecode.at:488' \
  "AUTORECODE with /INTO" "                          " 72
at_xfail=no
(
  $as_echo "457. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >autorecode.sps <<'_ATEOF'
data list list notable /x (f8.0).
begin data.
1
8
-901
4
1
99
8
end data.

autorecode x  /into y /print.

list.
_ATEOF

{ set +x
$as_echo "$at_srcdir/autorecode.at:505: pspp -O format=csv autorecode.sps"
at_fn_check_prepare_trace "autorecode.at:505"
( $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: Recoding x into y.
Old Value,New Value,Value Label
-901,1,-901
1,2,1
4,3,4
8,4,8
99,5,99

Table: Data List
x,y
1,2
8,4
-901,1
4,3
1,2
99,5
8,4
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/autorecode.at:505"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'autorecode.at:527' \
  "AUTORECODE with /BLANK without specifier" "       " 72
at_xfail=no
(
  $as_echo "458. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >autorecode.sps <<'_ATEOF'
data list notable list /x (a18).
begin data
one
two
three
end data.

* /BLANK should be either =MISSING or =VALID
autorecode x /into y
 /blank

execute.
_ATEOF


{ set +x
$as_echo "$at_srcdir/autorecode.at:543: pspp -O format=csv autorecode.sps"
at_fn_check_prepare_trace "autorecode.at:543"
( $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 stdout:; cat "$at_stdout"
at_fn_check_status 1 $at_status "$at_srcdir/autorecode.at:543"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'correlations.at:19' \
  "CORRELATIONS -- unweighted" "                     " 73
at_xfail=no
(
  $as_echo "459. $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 -o pspp.txt correlations.sps"
at_fn_check_prepare_trace "correlations.at:52"
( $at_check_trace; pspp -o pspp.csv -o pspp.txt 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[a],-.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[a],.519,1.000,-.344
,Sig. (2-tailed),.017,.291,,.505
bang,Pearson Correlation,-.308,.118,-.344,1.000
,Sig. (2-tailed),.553,.824,.505,

Footnotes:
a,Significant at .05 level

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[a],.883[a],-.308
,Sig. (2-tailed),,.029,.008,.553
,N,7,7,7,6
bar,Pearson Correlation,.805[a],1.000,.497,.164
,Sig. (2-tailed),.029,,.210,.725
,N,7,8,8,7
wiz,Pearson Correlation,.883[a],.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

Footnotes:
a,Significant at .05 level
" | \
  $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_459
#AT_START_460
at_fn_group_banner 460 'correlations.at:95' \
  "CORRELATIONS -- weighted" "                       " 73
at_xfail=no
(
  $as_echo "460. $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:137: pspp -O format=csv correlations1.sps"
at_fn_check_prepare_trace "correlations.at:137"
( $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:137"
$at_failed && at_fn_log_failure
$at_traceon; }

mv stdout expout
{ set +x
$as_echo "$at_srcdir/correlations.at:139: pspp -O format=csv correlations2.sps"
at_fn_check_prepare_trace "correlations.at:139"
( $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:139"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'correlations.at:143' \
  "CORRELATIONS -- non-square" "                     " 73
at_xfail=no
(
  $as_echo "461. $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:161: pspp -O format=csv corr-ns.sps"
at_fn_check_prepare_trace "correlations.at:161"
( $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: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_461
#AT_START_462
at_fn_group_banner 462 'correlations.at:172' \
  "CORRELATIONS -- crash with WITH keyword" "        " 73
at_xfail=no
(
  $as_echo "462. $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:195: pspp -o pspp.csv correlations.sps"
at_fn_check_prepare_trace "correlations.at:195"
( $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:195"
$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:198: sed '/a,Pearson/,\$s/,\\([^,]*\\),.*/,\\1,.../' pspp.csv"
at_fn_check_prepare_dynamic "sed '/a,Pearson/,$s/,\\([^,]*\\),.*/,\\1,.../' pspp.csv" "correlations.at:198"
( $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
f,4.73,.85,12
b,14.50,6.41,14
c,21.71,4.98,14
g,24.86,6.09,14
h,23.57,6.30,14
i,27.79,6.73,14
e,27.21,4.95,14
d,27.93,5.23,14

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: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_462
#AT_START_463
at_fn_group_banner 463 'correlations.at:228' \
  "CORRELATIONS -- incorrect subtable selection" "   " 73
at_xfail=no
(
  $as_echo "463. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >correlations.sps <<'_ATEOF'
set format = F12.4.
OUTPUT MODIFY /SELECT TABLES /TABLECELLS SELECT = [CORRELATIONS] 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:347: pspp -o pspp.csv -o pspp.txt correlations.sps"
at_fn_check_prepare_trace "correlations.at:347"
( $at_check_trace; pspp -o pspp.csv -o pspp.txt 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:347"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/correlations.at:348: cat pspp.csv"
at_fn_check_prepare_trace "correlations.at:348"
( $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
,,var4,var5
var1,Pearson Correlation,.5693[a],-.0519
,Sig. (2-tailed),.000,.623
,N,93,92
var2,Pearson Correlation,.3792[a],-.0407
,Sig. (2-tailed),.000,.698
,N,95,93
var3,Pearson Correlation,.3699[a],-.0543
,Sig. (2-tailed),.000,.603
,N,95,94

Footnotes:
a,Significant at .05 level

Table: Correlations
,,var1,var2
var3,Pearson Correlation,.6964[a],.5615[a]
,Sig. (2-tailed),.000,.000
,N,96,97
var4,Pearson Correlation,.5693[a],.3792[a]
,Sig. (2-tailed),.000,.000
,N,93,95
var5,Pearson Correlation,-.0519,-.0407
,Sig. (2-tailed),.623,.698
,N,92,93

Footnotes:
a,Significant at .05 level
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/correlations.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_463
#AT_START_464
at_fn_group_banner 464 'correlations.at:384' \
  "CORRELATIONS -- empty dataset" "                  " 73
at_xfail=no
(
  $as_echo "464. $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:391: pspp -o pspp.csv correlations.sps"
at_fn_check_prepare_trace "correlations.at:391"
( $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: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_464
#AT_START_465
at_fn_group_banner 465 'correlations.at:396' \
  "CORRELATIONS -- empty dataset 2" "                " 73
at_xfail=no
(
  $as_echo "465. $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:414: pspp -O format=csv correlations.sps"
at_fn_check_prepare_trace "correlations.at:414"
( $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:414"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'crosstabs.at:19' \
  "CROSSTABS integer mode crash" "                   " 74
at_xfail=no
(
  $as_echo "466. $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 pspp.csv -o pspp.txt crosstabs.sps"
at_fn_check_prepare_trace "crosstabs.at:28"
( $at_check_trace; pspp -o pspp.csv -o pspp.txt crosstabs.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$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
$as_echo "$at_srcdir/crosstabs.at:29: cat pspp.csv"
at_fn_check_prepare_trace "crosstabs.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 "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%,1,100.0%

Table: X × Y
,,,Y,,,,,,,Total
,,,1.00,2.00,3.00,4.00,5.00,6.00,7.00,
X,1.00,Count,0,0,0,0,0,0,0,0
,2.00,,0,0,0,0,0,0,0,0
,3.00,,0,0,0,0,0,0,0,0
,4.00,,0,0,0,0,1,0,0,1
,5.00,,0,0,0,0,0,0,0,0
,6.00,,0,0,0,0,0,0,0,0
,7.00,,0,0,0,0,0,0,0,0
Total,,,0,0,0,0,1,0,0,1
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/crosstabs.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_466
#AT_START_467
at_fn_group_banner 467 'crosstabs.at:58' \
  "CROSSTABS integer mode crash 2" "                 " 74
at_xfail=no
(
  $as_echo "467. $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:69: pspp -O format=csv crosstabs.sps"
at_fn_check_prepare_trace "crosstabs.at:69"
( $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%,1,100.0%,1,100.0%

Table: x × y
,,
,,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/crosstabs.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_467
#AT_START_468
at_fn_group_banner 468 'crosstabs.at:88' \
  "CROSSTABS long string crash" "                    " 74
at_xfail=no
(
  $as_echo "468. $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:103: pspp -o - -O format=csv -o pspp.txt crosstabs.sps"
at_fn_check_prepare_trace "crosstabs.at:103"
( $at_check_trace; pspp -o - -O format=csv -o pspp.txt 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
,,,y,,,,Total
,,,one unity,three lots,two duality,zero none,
x,1.00,Count,1,0,0,1,2
,2.00,,0,0,1,0,1
,3.00,,0,1,0,0,1
Total,,,1,1,1,1,4
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/crosstabs.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_468
#AT_START_469
at_fn_group_banner 469 'crosstabs.at:129' \
  "CROSSTABS crash" "                                " 74
at_xfail=no
(
  $as_echo "469. $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:153: pspp -o - -O format=csv -o pspp.txt crosstabs.sps"
at_fn_check_prepare_trace "crosstabs.at:153"
( $at_check_trace; pspp -o - -O format=csv -o pspp.txt 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%,9,100.0%

Table: y × z
,,,z,,Total
,,,1,2,
y,1,Count,4,3,7
,2,,1,1,2
Total,,,5,4,9
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/crosstabs.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_469
#AT_START_470
at_fn_group_banner 470 'crosstabs.at:189' \
  "CROSSTABS chi-square crash" "                     " 74
at_xfail=no
(
  $as_echo "470. $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:203: pspp -O format=csv crosstabs.sps"
at_fn_check_prepare_trace "crosstabs.at:203"
( $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%,4,100.0%

Table: x × y
,,,y,,Total
,,,1.00,2.00,
x,2.00,Count,0,1,1
,3.00,,1,0,1
,4.00,,1,1,2
Total,,,2,2,4

Table: Chi-Square Tests
,Value,df,Asymptotic 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: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_470
#AT_START_471
at_fn_group_banner 471 'crosstabs.at:233' \
  "CROSSTABS crash with SPLIT FILE" "                " 74
at_xfail=no
(
  $as_echo "471. $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:258: pspp -o pspp.csv -o pspp.txt crosstabs.sps"
at_fn_check_prepare_trace "crosstabs.at:258"
( $at_check_trace; pspp -o pspp.csv -o pspp.txt crosstabs.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/crosstabs.at:258"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/crosstabs.at:259: cat pspp.csv"
at_fn_check_prepare_trace "crosstabs.at:259"
( $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: Split Values
Variable,Value
v0,a

Table: Summary
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
v1 × v2,6,100.0%,0,.0%,6,100.0%

Table: v1 × v2
,,,v2,,Total
,,,e,f,
v1,c,Count,3,1,4
,,Row %,75.0%,25.0%,100.0%
,,Column %,75.0%,50.0%,66.7%
,,Total %,50.0%,16.7%,66.7%
,d,Count,1,1,2
,,Row %,50.0%,50.0%,100.0%
,,Column %,25.0%,50.0%,33.3%
,,Total %,16.7%,16.7%,33.3%
Total,,Count,4,2,6
,,Row %,66.7%,33.3%,100.0%
,,Column %,100.0%,100.0%,100.0%
,,Total %,66.7%,33.3%,100.0%

Table: Chi-Square Tests
,Value,df,Asymptotic 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,,,,

Table: Split Values
Variable,Value
v0,b

Table: Summary
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
v1 × v2,4,100.0%,0,.0%,4,100.0%

Table: v1 × v2
,,,v2,,Total
,,,e,f,
v1,c,Count,0,1,1
,,Row %,.0%,100.0%,100.0%
,,Column %,.0%,33.3%,25.0%
,,Total %,.0%,25.0%,25.0%
,d,Count,1,2,3
,,Row %,33.3%,66.7%,100.0%
,,Column %,100.0%,66.7%,75.0%
,,Total %,25.0%,50.0%,75.0%
Total,,Count,1,3,4
,,Row %,25.0%,75.0%,100.0%
,,Column %,100.0%,100.0%,100.0%
,,Total %,25.0%,75.0%,100.0%

Table: Chi-Square Tests
,Value,df,Asymptotic 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: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_471
#AT_START_472
at_fn_group_banner 472 'crosstabs.at:331' \
  "3-way CROSSTABS" "                                " 74
at_xfail=no
(
  $as_echo "472. $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:355: pspp -o - -O format=csv -o pspp.csv -o pspp.txt crosstabs.sps"
at_fn_check_prepare_trace "crosstabs.at:355"
( $at_check_trace; pspp -o - -O format=csv -o pspp.csv -o pspp.txt 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%,9,100.0%

Table: x × y × z
,,,,,y,,Total
,,,,,1,2,
z,1,x,1,Count,1,0,1
,,,3,,0,0,1
,,,5,,1,0,1
,,,7,,0,0,1
,,,8,,0,1,1
,,Total,,,4,1,5
,2,x,2,,0,0,1
,,,4,,0,1,1
,,,6,,0,0,1
,,,9,,1,0,1
,,Total,,,3,1,4

Table: Chi-Square Tests
,,,Value,df,Asymptotic Sig. (2-tailed)
z,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
,,,,Value,Asymp. Std. Error,Approx. T
z,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
,,,,,Value,Asymp. Std. Error,Approx. T,Approx. Sig.
z,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:355"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'crosstabs.at:458' \
  "CROSSTABS rounding weights with COUNT" "          " 74
at_xfail=no
(
  $as_echo "473. $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:484: pspp -o pspp.csv -o pspp.txt crosstabs.sps"
at_fn_check_prepare_trace "crosstabs.at:484"
( $at_check_trace; pspp -o pspp.csv -o pspp.txt crosstabs.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/crosstabs.at:484"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/crosstabs.at:485: cat pspp.csv"
at_fn_check_prepare_trace "crosstabs.at:485"
( $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: Summary
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
x × y,9.00,100.0%,.00,.0%,9.00,100.0%

Table: x × y
,,,y,,Total
,,,1.00,2.00,
x,1.00,Count,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%,9.00,100.0%

Table: x × y
,,,y,,Total
,,,1.00,2.00,
x,1.00,Count,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%,9.00,100.0%

Table: x × y
,,,y,,Total
,,,1.00,2.00,
x,1.00,Count,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%,7.00,100.0%

Table: x × y
,,,y,,Total
,,,1.00,2.00,
x,1.00,Count,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%,9.00,100.0%

Table: x × y
,,,y,,Total
,,,1.00,2.00,
x,1.00,Count,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%,8.00,100.0%

Table: x × y
,,,y,,Total
,,,1.00,2.00,
x,1.00,Count,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:485"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'crosstabs.at:566' \
  "CROSSTABS descending sort order" "                " 74
at_xfail=no
(
  $as_echo "474. $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:583: pspp -o pspp.csv -o pspp.txt crosstabs-descending.sps"
at_fn_check_prepare_trace "crosstabs.at:583"
( $at_check_trace; pspp -o pspp.csv -o pspp.txt 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=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/crosstabs.at:583"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/crosstabs.at:584: cat pspp.csv"
at_fn_check_prepare_trace "crosstabs.at:584"
( $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: Summary
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
x × y,6,100.0%,0,.0%,6,100.0%

Table: x × y
,,,y,,Total
,,,2.00,1.00,
x,4.00,Count,0,1,1
,3.00,,2,1,3
,2.00,,2,0,2
Total,,,4,2,6
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/crosstabs.at:584"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'crosstabs.at:602' \
  "CROSSTABS crash when all cases missing" "         " 74
at_xfail=no
(
  $as_echo "475. $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:613: pspp -O format=csv crosstabs.sps"
at_fn_check_prepare_trace "crosstabs.at:613"
( $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%,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: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_475
#AT_START_476
at_fn_group_banner 476 'crosstabs.at:627' \
  "CROSSTABS Fisher Exact Test" "                    " 74
at_xfail=no
(
  $as_echo "476. $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:846: pspp -o pspp.csv -o pspp.txt fisher-exact.sps"
at_fn_check_prepare_trace "crosstabs.at:846"
( $at_check_trace; pspp -o pspp.csv -o pspp.txt 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=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/crosstabs.at:846"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/crosstabs.at:847: cat pspp.csv"
at_fn_check_prepare_trace "crosstabs.at:847"
( $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: Summary
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
type of school × female,200,100.0%,0,.0%,200,100.0%

Table: type of school × female
,,,female,,Total
,,,male,female,
type of school,public,Count,77,91,168
,private,,14,18,32
Total,,,91,109,200

Table: Chi-Square Tests
,Value,df,Asymptotic 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%,200,100.0%

Table: female × ses
,,,ses,,,Total
,,,low,middle,high,
female,male,Count,15,47,29,91
,female,,32,48,29,109
Total,,,47,95,58,200

Table: Chi-Square Tests
,Value,df,Asymptotic 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:847"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'crosstabs.at:892' \
  "CROSSTABS Pearson's R - 1" "                      " 74
at_xfail=no
(
  $as_echo "477. $at_setup_line: testing $at_desc ..."
  $at_traceon

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:907: pspp -o pspp.csv -o pspp.txt pearson.sps"
at_fn_check_prepare_trace "crosstabs.at:907"
( $at_check_trace; pspp -o pspp.csv -o pspp.txt pearson.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/crosstabs.at:907"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/crosstabs.at:908: cat pspp.csv"
at_fn_check_prepare_trace "crosstabs.at:908"
( $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: Summary
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
x × y,5,100.0%,0,.0%,5,100.0%

Table: x × y
,,,y,,,,,Total
,,,4.000,6.000,10.000,12.000,13.000,
x,1.000,Count,1,0,0,0,0,1
,3.000,,0,1,0,0,0,1
,5.000,,0,0,1,1,0,2
,6.000,,0,0,0,0,1,1
Total,,,1,1,1,1,1,5

Table: Symmetric Measures
,,Value,Asymp. Std. Error,Approx. T
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:908"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'crosstabs.at:932' \
  "CROSSTABS Pearson's R - 2" "                      " 74
at_xfail=no
(
  $as_echo "478. $at_setup_line: testing $at_desc ..."
  $at_traceon

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:952: pspp -o pspp.csv -o pspp.txt pearson2.sps"
at_fn_check_prepare_trace "crosstabs.at:952"
( $at_check_trace; pspp -o pspp.csv -o pspp.txt pearson2.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/crosstabs.at:952"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/crosstabs.at:953: cat pspp.csv"
at_fn_check_prepare_trace "crosstabs.at:953"
( $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: Summary
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
x × y,10,100.0%,0,.0%,10,100.0%

Table: x × y
,,,y,,,,,,,,,Total
,,,1.500,4.000,5.000,6.000,6.500,7.000,9.000,10.500,11.000,
x,1.000,Count,1,0,0,0,0,0,0,0,0,1
,2.000,,1,0,0,0,0,0,0,0,0,1
,3.000,,0,1,0,0,0,0,0,0,0,1
,4.000,,0,0,0,1,0,0,0,0,0,1
,5.000,,0,0,1,0,0,0,0,0,0,1
,6.000,,0,0,0,0,0,1,0,0,0,1
,7.000,,0,0,0,0,1,0,0,0,0,1
,8.000,,0,0,0,0,0,0,1,0,0,1
,9.000,,0,0,0,0,0,0,0,1,0,1
,10.000,,0,0,0,0,0,0,0,0,1,1
Total,,,2,1,1,1,1,1,1,1,1,10

Table: Symmetric Measures
,,Value,Asymp. Std. Error,Approx. T
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:953"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'crosstabs.at:983' \
  "CROSSTABS Pearson's R - 3" "                      " 74
at_xfail=no
(
  $as_echo "479. $at_setup_line: testing $at_desc ..."
  $at_traceon

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:1002: pspp -o pspp.csv -o pspp.txt pearson3.sps"
at_fn_check_prepare_trace "crosstabs.at:1002"
( $at_check_trace; pspp -o pspp.csv -o pspp.txt pearson3.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/crosstabs.at:1002"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/crosstabs.at:1003: cat pspp.csv"
at_fn_check_prepare_trace "crosstabs.at:1003"
( $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: Summary
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
x × y,9,100.0%,0,.0%,9,100.0%

Table: x × y
,,,y,,,,,,,,Total
,,,28.000,58.000,66.000,75.000,85.000,87.000,91.000,122.000,
x,25.000,Count,1,0,0,0,0,0,0,0,1
,35.000,,0,1,0,0,0,0,0,0,1
,44.000,,0,0,1,0,0,0,0,0,1
,50.000,,0,0,0,1,0,0,0,0,1
,56.000,,0,0,0,0,0,1,1,0,2
,65.000,,0,0,0,0,1,0,1,0,2
,87.000,,0,0,0,0,0,0,0,1,1
Total,,,1,1,1,1,1,1,2,1,9

Table: Symmetric Measures
,,Value,Asymp. Std. Error,Approx. T
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:1003"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'crosstabs.at:1030' \
  "CROSSTABS Pearson's R - 4" "                      " 74
at_xfail=no
(
  $as_echo "480. $at_setup_line: testing $at_desc ..."
  $at_traceon

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:1052: pspp -o pspp.csv -o pspp.txt pearson4.sps"
at_fn_check_prepare_trace "crosstabs.at:1052"
( $at_check_trace; pspp -o pspp.csv -o pspp.txt pearson4.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/crosstabs.at:1052"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/crosstabs.at:1053: cat pspp.csv"
at_fn_check_prepare_trace "crosstabs.at:1053"
( $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: Summary
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
x × y,12,100.0%,0,.0%,12,100.0%

Table: x × y
,,,y,,,,,,,,,,,,Total
,,,2.000,4.000,5.000,7.000,9.000,11.000,12.000,14.000,15.000,17.000,18.000,20.000,
x,2.000,Count,0,0,0,1,0,0,0,0,0,0,0,0,1
,3.000,,0,0,0,0,0,0,1,0,0,0,0,0,1
,4.000,,0,0,0,0,1,1,0,0,0,0,0,0,2
,5.000,,0,0,1,0,0,0,0,0,0,0,0,0,1
,6.000,,1,1,0,0,0,0,0,0,0,0,0,0,2
,7.000,,0,0,0,0,0,0,0,1,0,0,0,0,1
,8.000,,0,0,0,0,0,0,0,0,1,0,0,0,1
,9.000,,0,0,0,0,0,0,0,0,0,1,0,0,1
,10.000,,0,0,0,0,0,0,0,0,0,0,1,1,2
Total,,,1,1,1,1,1,1,1,1,1,1,1,1,12

Table: Symmetric Measures
,,Value,Asymp. Std. Error,Approx. T
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:1053"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'crosstabs.at:1082' \
  "CROSSTABS Pearson's R - 5" "                      " 74
at_xfail=no
(
  $as_echo "481. $at_setup_line: testing $at_desc ..."
  $at_traceon

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:1102: pspp -o pspp.csv -o pspp.txt pearson5.sps"
at_fn_check_prepare_trace "crosstabs.at:1102"
( $at_check_trace; pspp -o pspp.csv -o pspp.txt pearson5.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/crosstabs.at:1102"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/crosstabs.at:1103: cat pspp.csv"
at_fn_check_prepare_trace "crosstabs.at:1103"
( $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: Summary
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
x × y,10,100.0%,0,.0%,10,100.0%

Table: x × y
,,,y,,,,,,,,,,Total
,,,15000.00,26000.00,29000.00,32000.00,33000.00,41000.00,45000.00,52000.00,68000.00,80000.00,
x,18.000,Count,1,0,0,0,0,0,0,0,0,0,1
,24.000,,0,1,0,0,0,0,0,0,0,0,1
,25.000,,0,0,1,0,0,0,0,0,0,0,1
,26.000,,0,0,0,1,0,0,0,0,0,0,1
,33.000,,0,0,0,0,1,0,0,0,0,0,1
,37.000,,0,0,0,0,0,1,0,0,0,0,1
,40.000,,0,0,0,0,0,0,1,0,0,0,1
,45.000,,0,0,0,0,0,0,0,1,0,0,1
,57.000,,0,0,0,0,0,0,0,0,1,0,1
,64.000,,0,0,0,0,0,0,0,0,0,1,1
Total,,,1,1,1,1,1,1,1,1,1,1,10

Table: Symmetric Measures
,,Value,Asymp. Std. Error,Approx. T
Ordinal by Ordinal,Spearman Correlation,1.000,.000,+Infinit
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: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_481
#AT_START_482
at_fn_group_banner 482 'crosstabs.at:1133' \
  "CROSSTABS Goodman and Kruskal's lambda - 1" "     " 74
at_xfail=no
(
  $as_echo "482. $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.
_ATEOF

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

{ set +x
$as_echo "$at_srcdir/crosstabs.at:1152: cat pspp.csv"
at_fn_check_prepare_trace "crosstabs.at:1152"
( $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: Summary
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
x × y,1296.000,100.0%,.000,.0%,1296.000,100.0%

Table: Directional Measures
,,,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,,,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/crosstabs.at:1152"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'crosstabs.at:1169' \
  "CROSSTABS Goodman and Kruskal's lambda - 2" "     " 74
at_xfail=no
(
  $as_echo "483. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >lambda.sps <<'_ATEOF'
SET FORMAT F8.3.

* 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.
_ATEOF

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

{ set +x
$as_echo "$at_srcdir/crosstabs.at:1191: cat pspp.csv"
at_fn_check_prepare_trace "crosstabs.at:1191"
( $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: Summary
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
x × y,137.000,100.0%,.000,.0%,137.000,100.0%

Table: Directional Measures
,,,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,,,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/crosstabs.at:1191"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'crosstabs.at:1208' \
  "CROSSTABS Goodman and Kruskal's lambda - 3" "     " 74
at_xfail=no
(
  $as_echo "484. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >lambda.sps <<'_ATEOF'
SET FORMAT F8.3.

* 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:1233: pspp -o pspp.csv -o pspp.txt lambda.sps"
at_fn_check_prepare_trace "crosstabs.at:1233"
( $at_check_trace; pspp -o pspp.csv -o pspp.txt lambda.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/crosstabs.at:1233"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/crosstabs.at:1234: cat pspp.csv"
at_fn_check_prepare_trace "crosstabs.at:1234"
( $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: Summary
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
x × y,6800.000,100.0%,.000,.0%,6800.000,100.0%

Table: Directional Measures
,,,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: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_484
#AT_START_485
at_fn_group_banner 485 'crosstabs.at:1251' \
  "CROSSTABS Goodman and Kruskal's lambda - treatment of ties" "" 74
at_xfail=no
(
  $as_echo "485. $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:1269: pspp -o pspp.csv -o pspp.txt lambda.sps"
at_fn_check_prepare_trace "crosstabs.at:1269"
( $at_check_trace; pspp -o pspp.csv -o pspp.txt lambda.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/crosstabs.at:1269"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/crosstabs.at:1270: cat pspp.csv"
at_fn_check_prepare_trace "crosstabs.at:1270"
( $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: Summary
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
x × y,500.000,100.0%,.000,.0%,500.000,100.0%

Table: Directional Measures
,,,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:1270"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'crosstabs.at:1287' \
  "CROSSTABS Somers' D, Tau-B, Tau-C, Gamma - 1" "   " 74
at_xfail=no
(
  $as_echo "486. $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.
_ATEOF

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

{ set +x
$as_echo "$at_srcdir/crosstabs.at:1313: cat pspp.csv"
at_fn_check_prepare_trace "crosstabs.at:1313"
( $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: Summary
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
x × y,1.000000,100.0%,.000000,.0%,1.000000,100.0%

Table: Directional Measures
,,,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
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/crosstabs.at:1313"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'crosstabs.at:1328' \
  "CROSSTABS Somers' D, Tau-B, Tau-C, Gamma - 2" "   " 74
at_xfail=no
(
  $as_echo "487. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >somersd.sps <<'_ATEOF'
SET FORMAT F8.3.

* 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:1348: pspp -o pspp.csv -o pspp.txt somersd.sps"
at_fn_check_prepare_trace "crosstabs.at:1348"
( $at_check_trace; pspp -o pspp.csv -o pspp.txt somersd.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/crosstabs.at:1348"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/crosstabs.at:1349: cat pspp.csv"
at_fn_check_prepare_trace "crosstabs.at:1349"
( $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: Summary
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
x × y,687.000,100.0%,.000,.0%,687.000,100.0%

Table: Symmetric Measures
,,Value,Asymp. Std. Error,Approx. T
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
,,,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:1349"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'crosstabs.at:1371' \
  "CROSSTABS Somers' D, Tau-B, Tau-C, Gamma - 3" "   " 74
at_xfail=no
(
  $as_echo "488. $at_setup_line: testing $at_desc ..."
  $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:1480: pspp -o pspp.csv -o pspp.txt ordinal.sps"
at_fn_check_prepare_trace "crosstabs.at:1480"
( $at_check_trace; pspp -o pspp.csv -o pspp.txt ordinal.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/crosstabs.at:1480"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/crosstabs.at:1481: cat pspp.csv"
at_fn_check_prepare_trace "crosstabs.at:1481"
( $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: Summary
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
x × y,150.000,100.0%,.000,.0%,150.000,100.0%

Table: Symmetric Measures
,,Value,Asymp. Std. Error,Approx. T
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
,,,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%,150.000,100.0%

Table: Symmetric Measures
,,Value,Asymp. Std. Error,Approx. T
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
,,,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%,150.000,100.0%

Table: Symmetric Measures
,,Value,Asymp. Std. Error,Approx. T
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
,,,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%,150.000,100.0%

Table: Symmetric Measures
,,Value,Asymp. Std. Error,Approx. T
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
,,,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%,150.000,100.0%

Table: Symmetric Measures
,,Value,Asymp. Std. Error,Approx. T
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
,,,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%,148.000,100.0%

Table: Symmetric Measures
,,Value,Asymp. Std. Error,Approx. T
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
,,,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%,148.000,100.0%

Table: Symmetric Measures
,,Value,Asymp. Std. Error,Approx. T
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
,,,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%,212.000,100.0%

Table: Symmetric Measures
,,Value,Asymp. Std. Error,Approx. T
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
,,,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:1481"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'crosstabs.at:1640' \
  "CROSSTABS Cohens Kappa" "                         " 74
at_xfail=no
(
  $as_echo "489. $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:1662: pspp -o pspp.csv -o pspp.txt kappa.sps"
at_fn_check_prepare_trace "crosstabs.at:1662"
( $at_check_trace; pspp -o pspp.csv -o pspp.txt kappa.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/crosstabs.at:1662"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/crosstabs.at:1663: cat pspp.csv"
at_fn_check_prepare_trace "crosstabs.at:1663"
( $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: Summary
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
p1 × p2,20.000,100.0%,.000,.0%,20.000,100.0%

Table: p1 × p2
,,,p2,,Total
,,,.000,1.000,
p1,.000,Count,18.000,1.000,19.000
,1.000,,1.000,.000,1.000
Total,,,19.000,1.000,20.000

Table: Symmetric Measures
,,Value,Asymp. Std. Error,Approx. T
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:1663"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'crosstabs.at:1686' \
  "CROSSTABS many statistics" "                      " 74
at_xfail=no
(
  $as_echo "490. $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:1702: pspp -o pspp.csv -o pspp.txt crosstabs.sps"
at_fn_check_prepare_trace "crosstabs.at:1702"
( $at_check_trace; pspp -o pspp.csv -o pspp.txt crosstabs.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/crosstabs.at:1702"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/crosstabs.at:1703: cat pspp.csv"
at_fn_check_prepare_trace "crosstabs.at:1703"
( $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: Summary
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
x × y,66.0000,100.0%,.0000,.0%,66.0000,100.0%

Table: Chi-Square Tests
,Value,df,Asymptotic 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
,,Value,Asymp. Std. Error,Approx. T
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
,,,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:1703"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'crosstabs.at:1745' \
  "CROSSTABS uncertainy coefficient" "               " 74
at_xfail=no
(
  $as_echo "491. $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:1762: pspp -o pspp.csv -o pspp.txt uc.sps"
at_fn_check_prepare_trace "crosstabs.at:1762"
( $at_check_trace; pspp -o pspp.csv -o pspp.txt uc.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
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:1763: cat pspp.csv"
at_fn_check_prepare_trace "crosstabs.at:1763"
( $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: Summary
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
x × y,987.000,100.0%,.000,.0%,987.000,100.0%

Table: Directional Measures
,,,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:1763"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'crosstabs.at:1783' \
  "CROSSTABS estimated risk" "                       " 74
at_xfail=no
(
  $as_echo "492. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >risk.sps <<'_ATEOF'
DATA LIST LIST /factor disease count (F8.0).
WEIGHT BY count.
VALUE LABELS /factor 0 'Placebo' 1 'Aspirin'
             /disease 1 'No' 0 'Yes'.
BEGIN DATA.
0 1 80
0 0 20
1 1 135
1 0 15
END DATA.
CROSSTABS factor BY disease/STATISTICS=RISK CHISQ.
_ATEOF

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

{ set +x
$as_echo "$at_srcdir/crosstabs.at:1800: cat pspp.csv"
at_fn_check_prepare_trace "crosstabs.at:1800"
( $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
factor,F8.0
disease,F8.0
count,F8.0

Table: Summary
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
factor × disease,250,100.0%,0,.0%,250,100.0%

Table: factor × disease
,,,disease,,Total
,,,Yes,No,
factor,Placebo,Count,20,80,100
,Aspirin,,15,135,150
Total,,,35,215,250

Table: Chi-Square Tests
,Value,df,Asymptotic Sig. (2-tailed),Exact Sig. (2-tailed),Exact Sig. (1-tailed)
Pearson Chi-Square,4.98,1,.026,,
Likelihood Ratio,4.88,1,.027,,
Fisher's Exact Test,,,,.039,.021
Continuity Correction,4.19,1,.041,,
Linear-by-Linear Association,4.96,1,.026,,
N of Valid Cases,250,,,,

Table: Risk Estimate
,Value,95% Confidence Interval,
,,Lower,Upper
Odds Ratio for factor (Placebo / Aspirin),2.25,2.25,2.25
For cohort disease = Yes,1.08,1.08,1.08
For cohort disease = No,.99,.99,.99
N of Valid Cases,250.00,,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/crosstabs.at:1800"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'crosstabs.at:1839' \
  "CROSSTABS barchart" "                             " 74
at_xfail=no
(
  $as_echo "493. $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:1867: pspp -O format=txt -o xxx bc.sps"
at_fn_check_prepare_trace "crosstabs.at:1867"
( $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:1867"
$at_failed && at_fn_log_failure
$at_traceon; }


{ set +x
$as_echo "$at_srcdir/crosstabs.at:1869: test -e xxx-1.png"
at_fn_check_prepare_trace "crosstabs.at:1869"
( $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:1869"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/crosstabs.at:1870: test -e xxx-2.png"
at_fn_check_prepare_trace "crosstabs.at:1870"
( $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:1870"
$at_failed && at_fn_log_failure
$at_traceon; }


{ set +x
$as_echo "$at_srcdir/crosstabs.at:1872: diff xxx-1.png xxx-2.png"
at_fn_check_prepare_trace "crosstabs.at:1872"
( $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:1872"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'descriptives.at:19' \
  "DESCRIPTIVES basics" "                            " 75
at_xfail=no
(
  $as_echo "494. $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 "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: Descriptive Statistics
,N,Mean,S.E. Mean,Std Dev,Variance,Kurtosis,S.E. Kurt,Skewness,S.E. Skew,Range,Minimum,Maximum,Sum
V0,10,3.80,.84,2.66,7.07,-.03,1.33,.89,.69,8.00,1,9,38.00
V1,10,4.60,.96,3.03,9.16,-1.39,1.33,-.03,.69,9.00,0,9,46.00
V2,10,4.10,1.16,3.67,13.43,-2.02,1.33,.48,.69,8.00,1,9,41.00
V3,10,4.10,.87,2.77,7.66,-2.05,1.33,.42,.69,7.00,1,8,41.00
V4,10,7.00,.47,1.49,2.22,7.15,1.33,-2.52,.69,5.00,3,8,70.00
V5,10,4.90,1.03,3.25,10.54,-1.40,1.33,-.20,.69,9.00,0,9,49.00
V6,10,5.90,.80,2.51,6.32,-.29,1.33,-.96,.69,7.00,1,8,59.00
V7,10,4.70,1.10,3.47,12.01,-1.99,1.33,-.16,.69,9.00,0,9,47.00
V8,10,4.10,1.10,3.48,12.10,-1.93,1.33,.37,.69,9.00,0,9,41.00
V9,10,4.30,.87,2.75,7.57,-.87,1.33,.73,.69,8.00,1,9,43.00
V10,10,5.50,.85,2.68,7.17,-1.84,1.33,-.33,.69,7.00,2,9,55.00
V11,10,6.50,.78,2.46,6.06,-1.28,1.33,-.89,.69,6.00,3,9,65.00
V12,10,7.90,.60,1.91,3.66,5.24,1.33,-2.21,.69,6.00,3,9,79.00
V13,10,4.30,.99,3.13,9.79,-1.25,1.33,.33,.69,9.00,0,9,43.00
V14,10,3.60,1.01,3.20,10.27,-.96,1.33,.81,.69,9.00,0,9,36.00
V15,10,3.70,.92,2.91,8.46,-1.35,1.33,.71,.69,7.00,1,8,37.00
V16,10,6.40,.91,2.88,8.27,-1.14,1.33,-.92,.69,7.00,2,9,64.00
Valid N (listwise),10,,,,,,,,,,,,
Missing N (listwise),0,,,,,,,,,,,,
" | \
  $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_494
#AT_START_495
at_fn_group_banner 495 'descriptives.at:98' \
  "DESCRIPTIVES -- excluding missing data" "         " 75
at_xfail=no
(
  $as_echo "495. $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: Descriptive Statistics
,N,Mean,S.E. Mean,Std Dev,Variance,Kurtosis,S.E. Kurt,Skewness,S.E. Skew,Range,Minimum,Maximum,Sum
V1,1,2.00,.  ,.  ,.  ,.  ,.  ,.  ,.  ,.00,2,2,2.00
V2,2,2.50,.50,.71,.50,.  ,.  ,.  ,.  ,1.00,2,3,5.00
V3,3,3.00,.58,1.00,1.00,.  ,.  ,.00,1.22,2.00,2,4,9.00
Valid N (listwise),7,,,,,,,,,,,,
Missing N (listwise),6,,,,,,,,,,,,
" | \
  $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_495
#AT_START_496
at_fn_group_banner 496 'descriptives.at:114' \
  "DESCRIPTIVES -- including missing data" "         " 75
at_xfail=no
(
  $as_echo "496. $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:119: pspp -O format=csv descriptives.sps"
at_fn_check_prepare_trace "descriptives.at:119"
( $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: Descriptive Statistics
,N,Mean,S.E. Mean,Std Dev,Variance,Kurtosis,S.E. Kurt,Skewness,S.E. Skew,Range,Minimum,Maximum,Sum
V1,5,1.20,.20,.45,.20,5.00,2.00,2.24,.91,1.00,1,2,6.00
V2,5,1.60,.40,.89,.80,.31,2.00,1.26,.91,2.00,1,3,8.00
V3,5,2.20,.58,1.30,1.70,-1.49,2.00,.54,.91,3.00,1,4,11.00
Valid N (listwise),7,,,,,,,,,,,,
Missing N (listwise),3,,,,,,,,,,,,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/descriptives.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_496
#AT_START_497
at_fn_group_banner 497 'descriptives.at:130' \
  "DESCRIPTIVES -- excluding missing data listwise" "" 75
at_xfail=no
(
  $as_echo "497. $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:135: pspp -O format=csv descriptives.sps"
at_fn_check_prepare_trace "descriptives.at:135"
( $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: Descriptive Statistics
,N,Mean,S.E. Mean,Std Dev,Variance,Kurtosis,S.E. Kurt,Skewness,S.E. Skew,Range,Minimum,Maximum,Sum
V1,1,2.00,.  ,.  ,.  ,.  ,.  ,.  ,.  ,.00,2,2,2.00
V2,1,3.00,.  ,.  ,.  ,.  ,.  ,.  ,.  ,.00,3,3,3.00
V3,1,4.00,.  ,.  ,.  ,.  ,.  ,.  ,.  ,.00,4,4,4.00
Valid N (listwise),1,,,,,,,,,,,,
Missing N (listwise),6,,,,,,,,,,,,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/descriptives.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_497
#AT_START_498
at_fn_group_banner 498 'descriptives.at:146' \
  "DESCRIPTIVES -- including missing data listwise" "" 75
at_xfail=no
(
  $as_echo "498. $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:151: pspp -O format=csv descriptives.sps"
at_fn_check_prepare_trace "descriptives.at:151"
( $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: Descriptive Statistics
,N,Mean,S.E. Mean,Std Dev,Variance,Kurtosis,S.E. Kurt,Skewness,S.E. Skew,Range,Minimum,Maximum,Sum
V1,4,1.25,.25,.50,.25,4.00,2.62,2.00,1.01,1.00,1,2,5.00
V2,4,1.75,.48,.96,.92,-1.29,2.62,.85,1.01,2.00,1,3,7.00
V3,4,2.50,.65,1.29,1.67,-1.20,2.62,.00,1.01,3.00,1,4,10.00
Valid N (listwise),4,,,,,,,,,,,,
Missing N (listwise),3,,,,,,,,,,,,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/descriptives.at:151"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'descriptives.at:162' \
  "DESCRIPTIVES bug calculating mean only" "         " 75
at_xfail=no
(
  $as_echo "499. $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:178: pspp -O format=csv descriptives.sps"
at_fn_check_prepare_trace "descriptives.at:178"
( $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: Descriptive Statistics
,N,Mean
X,6,2.500
Valid N (listwise),6,
Missing N (listwise),0,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/descriptives.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_499
#AT_START_500
at_fn_group_banner 500 'descriptives.at:190' \
  "DESCRIPTIVES bug with TEMPORARY" "                " 75
at_xfail=no
(
  $as_echo "500. $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:208: pspp -O format=csv descriptives.sps"
at_fn_check_prepare_trace "descriptives.at:208"
( $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: Descriptive Statistics
,N,Mean,Std Dev,Minimum,Maximum
abc,6,3.00,.84,2.00,4.00
Valid N (listwise),6,,,,
Missing N (listwise),0,,,,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/descriptives.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_500
#AT_START_501
at_fn_group_banner 501 'descriptives.at:217' \
  "DESCRIPTIVES -- Z scores" "                       " 75
at_xfail=no
(
  $as_echo "501. $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:229: pspp -O format=csv descriptives.sps"
at_fn_check_prepare_trace "descriptives.at:229"
( $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 Z-scores
Source,Target
a,Za
b,Zb

Table: Descriptive Statistics
,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
Valid N (listwise),3,,,,
Missing N (listwise),0,,,,

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:229"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'descriptives.at:250' \
  "DESCRIPTIVES -- Z scores with SPLIT FILE" "       " 75
at_xfail=no
(
  $as_echo "502. $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:267: pspp -o pspp.csv -o pspp.txt descriptives.sps"
at_fn_check_prepare_trace "descriptives.at:267"
( $at_check_trace; pspp -o pspp.csv -o pspp.txt 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:267"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/descriptives.at:268: cat pspp.csv"
at_fn_check_prepare_trace "descriptives.at:268"
( $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: Mapping of Variables to Z-scores
Source,Target
a,Za
b,Zb

Table: Split Values
Variable,Value
group,1.00

Table: Descriptive Statistics
,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
Valid N (listwise),3,,,,
Missing N (listwise),0,,,,

Table: Split Values
Variable,Value
group,2.00

Table: Descriptive Statistics
,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
Valid N (listwise),4,,,,
Missing N (listwise),0,,,,

Table: Split Values
Variable,Value
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

Table: Split Values
Variable,Value
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: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_502
#AT_START_503
at_fn_group_banner 503 'descriptives.at:323' \
  "DESCRIPTIVES -- Z scores bug with TEMPORARY" "    " 75
at_xfail=no
(
  $as_echo "503. $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:342: pspp -o pspp.csv -o pspp.txt descriptives.sps"
at_fn_check_prepare_trace "descriptives.at:342"
( $at_check_trace; pspp -o pspp.csv -o pspp.txt 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.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/descriptives.at:342"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/descriptives.at:345: cat pspp.csv"
at_fn_check_prepare_trace "descriptives.at:345"
( $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 "descriptives.sps:15: warning: DESCRIPTIVES: DESCRIPTIVES with Z scores ignores TEMPORARY.  Temporary transformations will be made permanent.

Table: Mapping of Variables to Z-scores
Source,Target
abc,Zabc

Table: Descriptive Statistics
,N,Mean,Std Dev,Minimum,Maximum
abc,6,3.00,.84,2.00,4.00
Valid N (listwise),6,,,,
Missing N (listwise),0,,,,

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: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_503
#AT_START_504
at_fn_group_banner 504 'descriptives.at:370' \
  "DESCRIPTIVES -- Z scores with FILTER" "           " 75
at_xfail=no
(
  $as_echo "504. $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:410: pspp -o pspp.csv descriptives.sps"
at_fn_check_prepare_trace "descriptives.at:410"
( $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:410"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/descriptives.at:411: sed -n '/Table: Data List/,\$p' < pspp.csv"
at_fn_check_prepare_dynamic "sed -n '/Table: Data List/,$p' < pspp.csv" "descriptives.at:411"
( $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: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_504
#AT_START_505
at_fn_group_banner 505 'descriptives.at:428' \
  "DESCRIPTIVES tutorial example" "                  " 75
at_xfail=no
(
  $as_echo "505. $at_setup_line: testing $at_desc ..."
  $at_traceon

cp $top_srcdir/examples/physiology.sav .
cat >descriptives.sps <<'_ATEOF'
GET FILE='physiology.sav'.
DESCRIPTIVES sex, weight, height.
_ATEOF

{ set +x
$as_echo "$at_srcdir/descriptives.at:434: pspp -o pspp.csv -o pspp.txt descriptives.sps"
at_fn_check_prepare_trace "descriptives.at:434"
( $at_check_trace; pspp -o pspp.csv -o pspp.txt 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:434"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/descriptives.at:435: cat pspp.csv"
at_fn_check_prepare_trace "descriptives.at:435"
( $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: Descriptive Statistics
,N,Mean,Std Dev,Minimum,Maximum
Sex of subject  ,40,.45,.50,Male,Female
Weight in kilograms ,40,72.12,26.70,-55.6,92.1
Height in millimeters   ,40,1677.12,262.87,179,1903
Valid N (listwise),40,,,,
Missing N (listwise),0,,,,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/descriptives.at:435"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'examine.at:19' \
  "EXAMINE" "                                        " 76
at_xfail=no
(
  $as_echo "506. $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:60: pspp -O format=csv examine.sps"
at_fn_check_prepare_trace "examine.at:60"
( $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.0%,.00,.0%,24.00,100.0%

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.0%,.00,.0%,8.00,100.0%
,Bloggs,8.00,100.0%,.00,.0%,8.00,100.0%
,Charlies,8.00,100.0%,.00,.0%,8.00,100.0%

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: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_506
#AT_START_507
at_fn_group_banner 507 'examine.at:191' \
  "EXAMINE -- extremes" "                            " 76
at_xfail=no
(
  $as_echo "507. $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:226: pspp -O format=csv examine.sps"
at_fn_check_prepare_trace "examine.at:226"
( $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.0%,.00,.0%,23.00,100.0%

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:226"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'examine.at:252' \
  "EXAMINE -- extremes with fractional weights" "    " 76
at_xfail=no
(
  $as_echo "508. $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:287: pspp -O format=csv  extreme.sps"
at_fn_check_prepare_trace "examine.at:287"
( $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.0%,.000,.0%,19.430,100.0%

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: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_508
#AT_START_509
at_fn_group_banner 509 'examine.at:329' \
  "EXAMINE -- percentiles" "                         " 76
at_xfail=no
(
  $as_echo "509. $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:354: pspp -o pspp.csv -o pspp.txt examine.sps"
at_fn_check_prepare_trace "examine.at:354"
( $at_check_trace; pspp -o pspp.csv -o pspp.txt 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:354"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/examine.at:355: cat pspp.csv"
at_fn_check_prepare_trace "examine.at:355"
( $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,.0%,3,100.0%

Table: Percentiles
,,Percentiles,,,,,,
,,5,10,25,50,75,90,95
X,Weighted Average,.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,.0%,3,100.0%

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,.0%,3,100.0%

Table: Percentiles
,,Percentiles,,,,,,
,,5,10,25,50,75,90,95
X,Weighted Average,.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,.0%,3,100.0%

Table: Percentiles
,,Percentiles,,,,,,
,,5,10,25,50,75,90,95
X,Weighted Average,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,.0%,3,100.0%

Table: Percentiles
,,Percentiles,,,,,,
,,5,10,25,50,75,90,95
X,Weighted Average,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:355"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'examine.at:422' \
  "EXAMINE -- missing values" "                      " 76
at_xfail=no
(
  $as_echo "510. $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:440: pspp -o pspp.csv examine.sps"
at_fn_check_prepare_trace "examine.at:440"
( $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:440"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/examine.at:441: cat pspp.csv"
at_fn_check_prepare_trace "examine.at:441"
( $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.7%,1,14.3%,7,100.0%

Table: Case Processing Summary
,,Cases,,,,,
,,Valid,,Missing,,Total,
,y,N,Percent,N,Percent,N,Percent
x,1.00,4,100.0%,0,.0%,4,100.0%
,2.00,2,66.7%,1,33.3%,3,100.0%
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/examine.at:441"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'examine.at:463' \
  "EXAMINE -- user missing values" "                 " 76
at_xfail=no
(
  $as_echo "511. $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:480: pspp -O format=csv examine-m.sps"
at_fn_check_prepare_trace "examine.at:480"
( $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.3%,2,66.7%,3,100.0%
y,2,66.7%,1,33.3%,3,100.0%
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/examine.at:480"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'examine.at:490' \
  "EXAMINE -- missing values and percentiles" "      " 76
at_xfail=no
(
  $as_echo "512. $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:505: pspp -o pspp.csv examine.sps"
at_fn_check_prepare_trace "examine.at:505"
( $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:505"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'examine.at:511' \
  "EXAMINE -- trimmed mean" "                        " 76
at_xfail=no
(
  $as_echo "513. $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:528: pspp -o pspp.csv examine.sps"
at_fn_check_prepare_trace "examine.at:528"
( $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:528"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/examine.at:529: cat pspp.csv"
at_fn_check_prepare_trace "examine.at:529"
( $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.0%,.00,.0%,52.00,100.0%

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:529"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'examine.at:559' \
  "EXAMINE -- crash bug" "                           " 76
at_xfail=no
(
  $as_echo "514. $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:573: pspp -o pspp.csv examine.sps"
at_fn_check_prepare_trace "examine.at:573"
( $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:573"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'examine.at:578' \
  "EXAMINE -- consecutive runs don't crash" "        " 76
at_xfail=no
(
  $as_echo "515. $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:592: pspp -o pspp.csv examine.sps"
at_fn_check_prepare_trace "examine.at:592"
( $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: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_515
#AT_START_516
at_fn_group_banner 516 'examine.at:597' \
  "EXAMINE -- missing values don't crash" "          " 76
at_xfail=no
(
  $as_echo "516. $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:610: pspp -o pspp.csv examine.sps"
at_fn_check_prepare_trace "examine.at:610"
( $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:610"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'examine.at:615' \
  "EXAMINE -- single case doesn't crash" "           " 76
at_xfail=no
(
  $as_echo "517. $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:630: pspp -o pspp.csv examine.sps"
at_fn_check_prepare_trace "examine.at:630"
( $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:630"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'examine.at:635' \
  "EXAMINE -- all-missing data doesn't crash" "      " 76
at_xfail=no
(
  $as_echo "518. $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:653: pspp -o pspp.csv examine.sps"
at_fn_check_prepare_trace "examine.at:653"
( $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:653"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'examine.at:658' \
  "EXAMINE -- big input doesn't crash" "             " 76
at_xfail=no
(
  $as_echo "519. $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:673: pspp -o pspp.csv examine.sps"
at_fn_check_prepare_trace "examine.at:673"
( $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: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_519
#AT_START_520
at_fn_group_banner 520 'examine.at:679' \
  "EXAMINE -- big input doesn't crash 2" "           " 76
at_xfail=no
(
  $as_echo "520. $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:685: \$PERL make-big-input.pl > large.txt"
at_fn_check_prepare_dynamic "$PERL make-big-input.pl > large.txt" "examine.at:685"
( $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:685"
$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:695: pspp -o pspp.csv examine.sps"
at_fn_check_prepare_trace "examine.at:695"
( $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:695"
$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:700: \$PERL more-big-input.pl >> large.txt"
at_fn_check_prepare_dynamic "$PERL more-big-input.pl >> large.txt" "examine.at:700"
( $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:700"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/examine.at:701: pspp -o pspp.csv examine.sps"
at_fn_check_prepare_trace "examine.at:701"
( $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:701"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'examine.at:707' \
  "EXAMINE -- non-numeric ID" "                      " 76
at_xfail=no
(
  $as_echo "521. $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:736: pspp -O format=csv examine-id.sps"
at_fn_check_prepare_trace "examine.at:736"
( $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,.0%,14,100.0%

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

Table: Tests of Normality
,Shapiro-Wilk,,
,Statistic,df,Sig.
x,.37,14,.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/examine.at:736"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'examine.at:765' \
  "EXAMINE -- Bad Input" "                           " 76
at_xfail=no
(
  $as_echo "522. $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:790: pspp -o pspp.csv examine-bad.sps"
at_fn_check_prepare_trace "examine.at:790"
( $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:790"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'examine.at:796' \
  "EXAMINE -- MISSING=REPORT" "                      " 76
at_xfail=no
(
  $as_echo "523. $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:847: pspp -o pspp.csv -o pspp.txt examine-report.sps"
at_fn_check_prepare_trace "examine.at:847"
( $at_check_trace; pspp -o pspp.csv -o pspp.txt 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=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/examine.at:847"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/examine.at:848: cat pspp.csv"
at_fn_check_prepare_trace "examine.at:848"
( $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
g,F8.0

Table: Case Processing Summary
,,Cases,,,,,
,,Valid,,Missing,,Total,
,g,N,Percent,N,Percent,N,Percent
x,.,4,100.0%,0,.0%,4,100.0%
,1,9,100.0%,0,.0%,9,100.0%
,2,9,100.0%,0,.0%,9,100.0%
,9[a],4,100.0%,0,.0%,4,100.0%
,99[a],5,100.0%,0,.0%,5,100.0%

Footnotes:
a,User-missing value.

Table: Extreme Values
,g,,,Case Number,Value
x,.,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[a],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[a],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

Footnotes:
a,User-missing value.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/examine.at:848"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'examine.at:930' \
  "EXAMINE -- sample unweighted" "                   " 76
at_xfail=no
(
  $as_echo "524. $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:1045: pspp -O format=csv sample.sps"
at_fn_check_prepare_trace "examine.at:1045"
( $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,.0%,100,100.0%

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:1045"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'examine.at:1074' \
  "EXAMINE -- Empty Parentheses" "                   " 76
at_xfail=no
(
  $as_echo "525. $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:1091: pspp -o pspp.csv examine-empty-parens.sps"
at_fn_check_prepare_trace "examine.at:1091"
( $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:1091"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'examine.at:1099' \
  "EXAMINE -- Bad variable" "                        " 76
at_xfail=no
(
  $as_echo "526. $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:1116: pspp -o pspp.csv examine-bad-variable.sps"
at_fn_check_prepare_trace "examine.at:1116"
( $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:1116"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'examine.at:1123' \
  "EXAMINE -- Extremes vs. Missing Weights" "        " 76
at_xfail=no
(
  $as_echo "527. $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:1142: pspp -O format=csv  examine-missing-weights.sps"
at_fn_check_prepare_trace "examine.at:1142"
( $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.0%,.00,.0%,3.00,100.0%

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:1142"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'examine.at:1166' \
  "EXAMINE tutorial example 1" "                     " 76
at_xfail=no
(
  $as_echo "528. $at_setup_line: testing $at_desc ..."
  $at_traceon

cp $top_srcdir/examples/repairs.sav .
cat >repairs.sps <<'_ATEOF'
GET FILE='repairs.sav'.
EXAMINE mtbf /STATISTICS=DESCRIPTIVES.
COMPUTE mtbf_ln = LN (mtbf).
EXAMINE mtbf_ln /STATISTICS=DESCRIPTIVES.
_ATEOF

{ set +x
$as_echo "$at_srcdir/examine.at:1174: pspp -o pspp.csv -o pspp.txt repairs.sps"
at_fn_check_prepare_trace "examine.at:1174"
( $at_check_trace; pspp -o pspp.csv -o pspp.txt repairs.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_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:1174"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/examine.at:1175: cat pspp.csv"
at_fn_check_prepare_trace "examine.at:1175"
( $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 Processing Summary
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
Mean time between failures (months) ,15,100.0%,0,.0%,15,100.0%

Table: Descriptives
,,,Statistic,Std. Error
Mean time between failures (months) ,Mean,,8.32,1.62
,95% Confidence Interval for Mean,Lower Bound,4.85,
,,Upper Bound,11.79,
,5% Trimmed Mean,,7.69,
,Median,,8.12,
,Variance,,39.21,
,Std. Deviation,,6.26,
,Minimum,,1.63,
,Maximum,,26.47,
,Range,,24.84,
,Interquartile Range,,5.83,
,Skewness,,1.85,.58
,Kurtosis,,4.49,1.12

Table: Case Processing Summary
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
mtbf_ln,15,100.0%,0,.0%,15,100.0%

Table: Descriptives
,,,Statistic,Std. Error
mtbf_ln,Mean,,1.88,.19
,95% Confidence Interval for Mean,Lower Bound,1.47,
,,Upper Bound,2.29,
,5% Trimmed Mean,,1.88,
,Median,,2.09,
,Variance,,.54,
,Std. Deviation,,.74,
,Minimum,,.49,
,Maximum,,3.28,
,Range,,2.79,
,Interquartile Range,,.92,
,Skewness,,-.16,.58
,Kurtosis,,-.09,1.12
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/examine.at:1175"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'examine.at:1225' \
  "EXAMINE tutorial example 2" "                     " 76
at_xfail=no
(
  $as_echo "529. $at_setup_line: testing $at_desc ..."
  $at_traceon

cp $top_srcdir/examples/physiology.sav .
cat >examine.sps <<'_ATEOF'
GET FILE='physiology.sav'.
EXAMINE height, weight /STATISTICS=EXTREME(3).
_ATEOF

{ set +x
$as_echo "$at_srcdir/examine.at:1231: pspp -o pspp.csv -o pspp.txt examine.sps"
at_fn_check_prepare_trace "examine.at:1231"
( $at_check_trace; pspp -o pspp.csv -o pspp.txt 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:1231"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/examine.at:1232: cat pspp.csv"
at_fn_check_prepare_trace "examine.at:1232"
( $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 Processing Summary
,Cases,,,,,
,Valid,,Missing,,Total,
,N,Percent,N,Percent,N,Percent
Height in millimeters   ,40,100.0%,0,.0%,40,100.0%
Weight in kilograms ,40,100.0%,0,.0%,40,100.0%

Table: Extreme Values
,,,Case Number,Value
Height in millimeters   ,Highest,1,14,1903
,,2,15,1884
,,3,12,1802
,Lowest,1,30,179
,,2,31,1598
,,3,28,1601
Weight in kilograms ,Highest,1,13,92.1
,,2,5,92.1
,,3,17,91.7
,Lowest,1,38,-55.6
,,2,39,54.5
,,3,33,55.4
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/examine.at:1232"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'examine.at:1259' \
  "EXAMINE -- Crash on unrepresentable graphs" "     " 76
at_xfail=no
(
  $as_echo "530. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >examine.sps <<'_ATEOF'
data list notable list /x * g *.
begin data.
96 1
end data.

examine x  by g
        /nototal
        /plot = all.
_ATEOF

{ set +x
$as_echo "$at_srcdir/examine.at:1271: pspp -O format=pdf examine.sps"
at_fn_check_prepare_trace "examine.at:1271"
( $at_check_trace; pspp -O format=pdf examine.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/examine.at:1271"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'examine.at:1277' \
  "EXAMINE -- shapiro-wilk 1" "                      " 76
at_xfail=no
(
  $as_echo "531. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >shapiro-wilk.sps <<'_ATEOF'
data list notable list /x * g *.
begin data.
96 1
98 1
95 1
89 1
90 1
92 1
94 1
93 1
97 1
100 1
99 2
96 2
80 2
89 2
91 2
92 2
93 2
94 2
99 2
80 2
end data.

set format F22.3.

examine x  by g
	/nototal
	/plot = all.
_ATEOF


{ set +x
$as_echo "$at_srcdir/examine.at:1311: pspp -O format=csv shapiro-wilk.sps"
at_fn_check_prepare_trace "examine.at:1311"
( $at_check_trace; pspp -O format=csv shapiro-wilk.sps
) >>"$at_stdout" 2>>"$at_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,
,g,N,Percent,N,Percent,N,Percent
x,1.00,10,100.0%,0,.0%,10,100.0%
,2.00,10,100.0%,0,.0%,10,100.0%

Table: Tests of Normality
,,Shapiro-Wilk,,
,g,Statistic,df,Sig.
x,1.00,.984,10,.983
,2.00,.882,10,.136
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/examine.at:1311"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'examine.at:1333' \
  "EXAMINE -- shapiro-wilk 2" "                      " 76
at_xfail=no
(
  $as_echo "532. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >shapiro-wilk2.sps <<'_ATEOF'
data list notable list /x *.
begin data.
65
61
63
86
70
55
74
35
72
68
45
58
end data.

set format F22.3.

examine x
	/plot = boxplot.
_ATEOF


{ set +x
$as_echo "$at_srcdir/examine.at:1358: pspp -O format=csv shapiro-wilk2.sps"
at_fn_check_prepare_trace "examine.at:1358"
( $at_check_trace; pspp -O format=csv shapiro-wilk2.sps
) >>"$at_stdout" 2>>"$at_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,12,100.0%,0,.0%,12,100.0%

Table: Tests of Normality
,Shapiro-Wilk,,
,Statistic,df,Sig.
x,.971,12,.922
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/examine.at:1358"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'graph.at:19' \
  "GRAPH simple scatterplot" "                       " 77
at_xfail=no
(
  $as_echo "533. $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_533
#AT_START_534
at_fn_group_banner 534 'graph.at:43' \
  "GRAPH Scatter and Histogram" "                    " 77
at_xfail=no
(
  $as_echo "534. $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:95: pspp -O format=pdf scatterlong.sps"
at_fn_check_prepare_trace "graph.at:95"
( $at_check_trace; pspp -O format=pdf scatterlong.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/graph.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_534
#AT_START_535
at_fn_group_banner 535 'graph.at:98' \
  "GRAPH missing values don't crash" "               " 77
at_xfail=no
(
  $as_echo "535. $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:115: pspp -o pspp.pdf scatter.sps"
at_fn_check_prepare_trace "graph.at:115"
( $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=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/graph.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_535
#AT_START_536
at_fn_group_banner 536 'graph.at:119' \
  "GRAPH missing=VARIABLE no crash" "                " 77
at_xfail=no
(
  $as_echo "536. $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:138: pspp -o pspp.pdf scatter.sps"
at_fn_check_prepare_trace "graph.at:138"
( $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=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/graph.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_536
#AT_START_537
at_fn_group_banner 537 'graph.at:142' \
  "GRAPH missing value in by variable" "             " 77
at_xfail=no
(
  $as_echo "537. $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:162: pspp -o pspp.pdf scatter.sps"
at_fn_check_prepare_trace "graph.at:162"
( $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=:
echo stdout:; cat "$at_stdout"
at_fn_check_status 0 $at_status "$at_srcdir/graph.at:162"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'graph.at:167' \
  "GRAPH histogram with null data" "                 " 77
at_xfail=no
(
  $as_echo "538. $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:180: pspp -o pspp.pdf null-hist.sps"
at_fn_check_prepare_trace "graph.at:180"
( $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: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_538
#AT_START_539
at_fn_group_banner 539 'graph.at:185' \
  "GRAPH histogram all missing" "                    " 77
at_xfail=no
(
  $as_echo "539. $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:197: pspp null-hist.sps"
at_fn_check_prepare_trace "graph.at:197"
( $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:197"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'graph.at:204' \
  "GRAPH barcharts" "                                " 77
at_xfail=no
(
  $as_echo "540. $at_setup_line: testing $at_desc ..."
  $at_traceon

{ set +x
$as_echo "$at_srcdir/graph.at:205: ln -s \$top_srcdir/examples/physiology.sav ."
at_fn_check_prepare_dynamic "ln -s $top_srcdir/examples/physiology.sav ." "graph.at:205"
( $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:205"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/graph.at:206: ln -s \$top_srcdir/examples/repairs.sav ."
at_fn_check_prepare_dynamic "ln -s $top_srcdir/examples/repairs.sav ." "graph.at:206"
( $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:206"
$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:226: pspp -o pspp.pdf barchart.sps"
at_fn_check_prepare_trace "graph.at:226"
( $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:226"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'graph.at:233' \
  "GRAPH barchart arity" "                           " 77
at_xfail=no
(
  $as_echo "541. $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:254: pspp -o pspp.pdf barchart.sps"
at_fn_check_prepare_trace "graph.at:254"
( $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:254"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'graph.at:262' \
  "GRAPH barchart bad syntax" "                      " 77
at_xfail=no
(
  $as_echo "542. $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:283: pspp -o pspp.pdf barchart.sps"
at_fn_check_prepare_trace "graph.at:283"
( $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: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_542
#AT_START_543
at_fn_group_banner 543 'graph.at:290' \
  "GRAPH barchart full" "                            " 77
at_xfail=no
(
  $as_echo "543. $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:324: pspp -o pspp.pdf barchart.sps"
at_fn_check_prepare_trace "graph.at:324"
( $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: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_543
#AT_START_544
at_fn_group_banner 544 'graph.at:333' \
  "GRAPH buggy syntax" "                             " 77
at_xfail=no
(
  $as_echo "544. $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:346: pspp -o pspp.pdf barchart.sps"
at_fn_check_prepare_trace "graph.at:346"
( $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: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_544
#AT_START_545
at_fn_group_banner 545 'graph.at:354' \
  "GRAPH barchart percentage sub-categorical" "      " 77
at_xfail=no
(
  $as_echo "545. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >barchart.sps <<'_ATEOF'
data list list notable /penalty_favopp_x * XYdem_racethW8 * w *.
begin data.
1 0 1960
1 1 376
2 0 678
2 1 147
4 0 368
4 1 164
5 0 427
5 1 274
. . 1522
end data.

weight by w.

* crosstabs
*   /tables=penalty_favopp_x by XYdem_racethW8
*   /format=AVALUE TABLES PIVOT
*   /statistics=CHISQ
*   /cells COUNT COLUMN TOTAL.

graph
  /bar=pct by penalty_favopp_x
  .

graph
  /bar=pct by penalty_favopp_x by XYdem_racethW8
  .
_ATEOF


{ set +x
$as_echo "$at_srcdir/graph.at:386: pspp --testing barchart.sps"
at_fn_check_prepare_trace "graph.at:386"
( $at_check_trace; pspp --testing 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 >>"$at_stdout"; $as_echo "Graphic: Barchart
Percentage: 0
Total Categories: 4
Primary Categories: 4
Largest Category: 53.1634
Total Count: 100
Y Label: \"Percentage\"
Categorical Variables:
  Var: \"penalty_favopp_x\"
Categories:
  0 \"    1.00\"
  1 \"    2.00\"
  2 \"    4.00\"
  3 \"    5.00\"
All Categories:
Count: 53.1634; Cat: \"    1.00\"
Count: 18.7756; Cat: \"    2.00\"
Count: 12.1074; Cat: \"    4.00\"
Count: 15.9536; Cat: \"    5.00\"

Graphic: Barchart
Percentage: 0
Total Categories: 8
Primary Categories: 4
Largest Category: 57.0929
Total Count: 200
Y Label: \"Percentage\"
Categorical Variables:
  Var: \"penalty_favopp_x\"
  Var: \"XYdem_racethW8\"
Categories:
  0 \"    1.00\"
  1 \"    2.00\"
  2 \"    4.00\"
  3 \"    5.00\"
Sub-categories:
  0 \"     .00\"
  1 \"    1.00\"
All Categories:
Count: 57.0929; Cat: \"    1.00\", \"     .00\"
Count: 39.1259; Cat: \"    1.00\", \"    1.00\"
Count: 19.7495; Cat: \"    2.00\", \"     .00\"
Count: 15.2966; Cat: \"    2.00\", \"    1.00\"
Count: 10.7195; Cat: \"    4.00\", \"     .00\"
Count: 17.0656; Cat: \"    4.00\", \"    1.00\"
Count: 12.4381; Cat: \"    5.00\", \"     .00\"
Count: 28.512; Cat: \"    5.00\", \"    1.00\"

" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/graph.at:386"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'factor.at:19' \
  "FACTOR extraction=paf method=correlation" "       " 78
at_xfail=no
(
  $as_echo "546. $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
Correlation,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
Caption: Determinant: 0.00

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_546
#AT_START_547
at_fn_group_banner 547 'factor.at:1539' \
  "FACTOR extraction=pc method=correlation" "        " 78
at_xfail=no
(
  $as_echo "547. $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,,
,Total,% of Variance,Cumulative %,Total,% of Variance,Cumulative %,Total,% of Variance,Cumulative %
1,3.381,67.6%,67.6%,3.381,67.6%,67.6%,2.113,42.3%,42.3%
2,.557,11.1%,78.8%,.557,11.1%,78.8%,1.825,36.5%,78.8%
3,.407,8.1%,86.9%,,,,,,
4,.356,7.1%,94.0%,,,,,,
5,.299,6.0%,100.0%,,,,,,

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_547
#AT_START_548
at_fn_group_banner 548 'factor.at:1800' \
  "FACTOR empty dataset" "                           " 78
at_xfail=no
(
  $as_echo "548. $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_548
#AT_START_549
at_fn_group_banner 549 'factor.at:1821' \
  "FACTOR /ROTATION=NOROTATE" "                      " 78
at_xfail=no
(
  $as_echo "549. $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
Correlation,TRAIT1,1.000,.296,.881,.995,.545
,TRAIT2,.296,1.000,-.022,.326,.837
,TRAIT3,.881,-.022,1.000,.867,.130
,TRAIT4,.995,.326,.867,1.000,.544
,TRAIT5,.545,.837,.130,.544,1.000
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,
Caption: Determinant: 0.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,,
,Total,% of Variance,Cumulative %,Total,% of Variance,Cumulative %
1,3.26,65.3%,65.3%,3.26,65.3%,65.3%
2,1.54,30.8%,96.0%,1.54,30.8%,96.0%
3,.17,3.4%,99.4%,.17,3.4%,99.4%
4,.03,.6%,100.0%,.03,.6%,100.0%
5,.00,.0%,100.0%,,,

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_549
#AT_START_550
at_fn_group_banner 550 'factor.at:1895' \
  "FACTOR /CRITERIA=ITERATE" "                       " 78
at_xfail=no
(
  $as_echo "550. $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,,
,Total,% of Variance,Cumulative %,Total,% of Variance,Cumulative %
1,2.404,80.1%,80.1%,2.155,71.8%,71.8%
2,.425,14.2%,94.3%,,,
3,.171,5.7%,100.0%,,,

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_550
#AT_START_551
at_fn_group_banner 551 'factor.at:1945' \
  "FACTOR promax" "                                  " 78
at_xfail=no
(
  $as_echo "551. $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,,
,Total,% of Variance,Cumulative %,Total,% of Variance,Cumulative %,Total,% of Variance,Cumulative %
1,2.968,16.5%,16.5%,2.411,13.4%,13.4%,.   ,.  ,.  
2,2.026,11.3%,27.7%,1.271,7.1%,20.5%,.   ,.  ,-Infinity
3,1.622,9.0%,36.8%,.948,5.3%,25.7%,.   ,.  ,-Infinity
4,1.086,6.0%,42.8%,.283,1.6%,27.3%,.   ,.  ,-Infinity
5,.996,5.5%,48.3%,,,,,,
6,.923,5.1%,53.5%,,,,,,
7,.873,4.9%,58.3%,,,,,,
8,.856,4.8%,63.1%,,,,,,
9,.836,4.6%,67.7%,,,,,,
10,.816,4.5%,72.2%,,,,,,
11,.785,4.4%,76.6%,,,,,,
12,.740,4.1%,80.7%,,,,,,
13,.713,4.0%,84.7%,,,,,,
14,.653,3.6%,88.3%,,,,,,
15,.633,3.5%,91.8%,,,,,,
16,.604,3.4%,95.2%,,,,,,
17,.484,2.7%,97.9%,,,,,,
18,.386,2.1%,100.0%,,,,,,

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_551
#AT_START_552
at_fn_group_banner 552 'factor.at:2090' \
  "FACTOR covariance matrix" "                       " 78
at_xfail=no
(
  $as_echo "552. $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,,
,Total,% of Variance,Cumulative %
1,556.895,81.9%,81.9%
2,57.963,8.5%,90.4%
3,23.576,3.5%,93.9%
4,16.446,2.4%,96.3%
5,14.603,2.1%,98.4%
6,6.831,1.0%,99.4%
7,2.375,.3%,99.8%
8,1.440,.2%,100.0%

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_552
#AT_START_553
at_fn_group_banner 553 'factor.at:2171' \
  "FACTOR correlation matrix" "                      " 78
at_xfail=no
(
  $as_echo "553. $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,,
,Total,% of Variance,Cumulative %,Total,% of Variance,Cumulative %
1,3.914,55.9%,55.9%,3.914,55.9%,55.9%
2,1.320,18.9%,74.8%,,,
3,.716,10.2%,85.0%,,,
4,.422,6.0%,91.0%,,,
5,.278,4.0%,95.0%,,,
6,.216,3.1%,98.1%,,,
7,.135,1.9%,100.0%,,,

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_553
#AT_START_554
at_fn_group_banner 554 'factor.at:2267' \
  "FACTOR bad input" "                               " 78
at_xfail=no
(
  $as_echo "554. $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_554
#AT_START_555
at_fn_group_banner 555 'factor.at:2300' \
  "FACTOR anti-image matrix" "                       " 78
at_xfail=no
(
  $as_echo "555. $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_555
#AT_START_556
at_fn_group_banner 556 'factor.at:2357' \
  "FACTOR Kaiser-Meyer-Olkin" "                      " 78
at_xfail=no
(
  $as_echo "556. $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_556
#AT_START_557
at_fn_group_banner 557 'flip.at:19' \
  "FLIP with NEWNAMES" "                             " 79
at_xfail=no
(
  $as_echo "557. $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_557
#AT_START_558
at_fn_group_banner 558 'flip.at:66' \
  "FLIP without NEWNAMES" "                          " 79
at_xfail=no
(
  $as_echo "558. $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_558
#AT_START_559
at_fn_group_banner 559 'flip.at:104' \
  "FLIP badly formed" "                              " 79
at_xfail=no
(
  $as_echo "559. $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_559
#AT_START_560
at_fn_group_banner 560 'flip.at:120' \
  "FLIP with invalid variable names" "               " 79
at_xfail=no
(
  $as_echo "560. $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_560
#AT_START_561
at_fn_group_banner 561 'frequencies.at:19' \
  "FREQUENCIES string variable" "                    " 80
at_xfail=no
(
  $as_echo "561. $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
,,Frequency,Percent,Valid Percent,Cumulative Percent
Valid,bar,2,20.0%,20.0%,20.0%
,baz,4,40.0%,40.0%,60.0%
,foo,2,20.0%,20.0%,80.0%
,quux,2,20.0%,20.0%,100.0%
Total,,10,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_561
#AT_START_562
at_fn_group_banner 562 'frequencies.at:52' \
  "FREQUENCIES two runs crash" "                     " 80
at_xfail=no
(
  $as_echo "562. $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
,,Frequency,Percent,Valid Percent,Cumulative Percent
Valid,.00,1,25.0%,25.0%,25.0%
,2.00,1,25.0%,25.0%,50.0%
,3.00,1,25.0%,25.0%,75.0%
,4.00,1,25.0%,25.0%,100.0%
Total,,4,100.0%,,

Table: v2
,,Frequency,Percent,Valid Percent,Cumulative Percent
Valid,1.00,1,25.0%,25.0%,25.0%
,3.00,1,25.0%,25.0%,50.0%
,4.00,1,25.0%,25.0%,75.0%
,5.00,1,25.0%,25.0%,100.0%
Total,,4,100.0%,,

Table: v1
,,Frequency,Percent,Valid Percent,Cumulative Percent
Valid,.00,1,25.0%,25.0%,25.0%
,2.00,1,25.0%,25.0%,50.0%
,3.00,1,25.0%,25.0%,75.0%
,4.00,1,25.0%,25.0%,100.0%
Total,,4,100.0%,,

Table: v2
,,Frequency,Percent,Valid Percent,Cumulative Percent
Valid,1.00,1,25.0%,25.0%,25.0%
,3.00,1,25.0%,25.0%,50.0%
,4.00,1,25.0%,25.0%,75.0%
,5.00,1,25.0%,25.0%,100.0%
Total,,4,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_562
#AT_START_563
at_fn_group_banner 563 'frequencies.at:101' \
  "FREQUENCIES with LIMIT" "                         " 80
at_xfail=no
(
  $as_echo "563. $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
,,Frequency,Percent,Valid Percent,Cumulative Percent
Valid,1.00,1,25.0%,25.0%,25.0%
,3.00,1,25.0%,25.0%,50.0%
,5.00,2,50.0%,50.0%,100.0%
Total,,4,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_563
#AT_START_564
at_fn_group_banner 564 'frequencies.at:125' \
  "FREQUENCIES HTML output crash" "                  " 80
at_xfail=no
(
  $as_echo "564. $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
,,Frequency,Percent,Valid Percent,Cumulative Percent
Valid,.00,1,25.0%,25.0%,25.0%
,2.00,1,25.0%,25.0%,50.0%
,3.00,1,25.0%,25.0%,75.0%
,4.00,1,25.0%,25.0%,100.0%
Total,,4,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_564
#AT_START_565
at_fn_group_banner 565 'frequencies.at:160' \
  "FREQUENCIES pie chart crash" "                    " 80
at_xfail=no
(
  $as_echo "565. $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_565
#AT_START_566
at_fn_group_banner 566 'frequencies.at:196' \
  "FREQUENCIES histogram crash" "                    " 80
at_xfail=no
(
  $as_echo "566. $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
echo stderr:; cat "$at_stderr"
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_566
#AT_START_567
at_fn_group_banner 567 'frequencies.at:227' \
  "FREQUENCIES median with histogram crash" "        " 80
at_xfail=no
(
  $as_echo "567. $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_567
#AT_START_568
at_fn_group_banner 568 'frequencies.at:242' \
  "FREQUENCIES crash after TEMPORARY" "              " 80
at_xfail=no
(
  $as_echo "568. $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 pspp.csv -o pspp.txt frequencies.sps"
at_fn_check_prepare_trace "frequencies.at:263"
( $at_check_trace; pspp -o pspp.csv -o pspp.txt frequencies.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_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:263"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/frequencies.at:264: cat pspp.csv"
at_fn_check_prepare_trace "frequencies.at:264"
( $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
SEX,A1
X,F8.0

Table: Statistics
,,X
N,Valid,4
,Missing,0
Mean,,19.25
Std Dev,,8.81
Minimum,,12.00
Maximum,,31.00

Table: X
,,Frequency,Percent,Valid Percent,Cumulative Percent
Valid,12.00,1,25.0%,25.0%,25.0%
,13.00,1,25.0%,25.0%,50.0%
,21.00,1,25.0%,25.0%,75.0%
,31.00,1,25.0%,25.0%,100.0%
Total,,4,100.0%,,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/frequencies.at:264"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'frequencies.at:306' \
  "FREQUENCIES basic percentiles" "                  " 80
at_xfail=no
(
  $as_echo "569. $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:322: pspp -O format=csv frequencies.sps"
at_fn_check_prepare_trace "frequencies.at:322"
( $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: Statistics
,,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,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:322"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'frequencies.at:326' \
  "FREQUENCIES basic n-tiles" "                      " 80
at_xfail=no
(
  $as_echo "570. $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:343: pspp -O format=csv frequencies.sps"
at_fn_check_prepare_trace "frequencies.at:343"
( $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: Statistics
,,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,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: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_570
#AT_START_571
at_fn_group_banner 571 'frequencies.at:347' \
  "FREQUENCIES compatibility percentiles" "          " 80
at_xfail=no
(
  $as_echo "571. $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:363: pspp -O format=csv frequencies.sps"
at_fn_check_prepare_trace "frequencies.at:363"
( $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: Statistics
,,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,3.00
,75,4.50
,100,5.00

Table: X
,,Frequency,Percent,Valid Percent,Cumulative Percent
Valid,1.00,1,20.0%,20.0%,20.0%
,2.00,1,20.0%,20.0%,40.0%
,3.00,1,20.0%,20.0%,60.0%
,4.00,1,20.0%,20.0%,80.0%
,5.00,1,20.0%,20.0%,100.0%
Total,,5,100.0%,,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/frequencies.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_571
#AT_START_572
at_fn_group_banner 572 'frequencies.at:389' \
  "FREQUENCIES enhanced percentiles" "               " 80
at_xfail=no
(
  $as_echo "572. $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:404: pspp -O format=csv frequencies.sps"
at_fn_check_prepare_trace "frequencies.at:404"
( $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: Statistics
,,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,3.00
,75,4.00
,100,5.00

Table: X
,,Frequency,Percent,Valid Percent,Cumulative Percent
Valid,1.00,1,20.0%,20.0%,20.0%
,2.00,1,20.0%,20.0%,40.0%
,3.00,1,20.0%,20.0%,60.0%
,4.00,1,20.0%,20.0%,80.0%
,5.00,1,20.0%,20.0%,100.0%
Total,,5,100.0%,,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/frequencies.at:404"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'frequencies.at:430' \
  "FREQUENCIES enhanced percentiles, weighted" "     " 80
at_xfail=no
(
  $as_echo "573. $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:449: pspp -O format=csv frequencies.sps"
at_fn_check_prepare_trace "frequencies.at:449"
( $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: Statistics
,,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,3.00
,75,4.00
,100,5.00

Table: X
,,Frequency,Percent,Valid Percent,Cumulative Percent
Valid,1.00,2.00,20.0%,20.0%,20.0%
,2.00,2.00,20.0%,20.0%,40.0%
,3.00,2.00,20.0%,20.0%,60.0%
,4.00,2.00,20.0%,20.0%,80.0%
,5.00,2.00,20.0%,20.0%,100.0%
Total,,10.00,100.0%,,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/frequencies.at:449"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'frequencies.at:475' \
  "FREQUENCIES enhanced percentiles, weighted (2)" " " 80
at_xfail=no
(
  $as_echo "574. $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:492: pspp -O format=csv frequencies.sps"
at_fn_check_prepare_trace "frequencies.at:492"
( $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: Statistics
,,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,3.50
,75,4.75
,100,5.00

Table: X
,,Frequency,Percent,Valid Percent,Cumulative Percent
Valid,1.00,1.00,16.7%,16.7%,16.7%
,3.00,2.00,33.3%,33.3%,50.0%
,4.00,1.00,16.7%,16.7%,66.7%
,5.00,2.00,33.3%,33.3%,100.0%
Total,,6.00,100.0%,,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/frequencies.at:492"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'frequencies.at:518' \
  "FREQUENCIES enhanced percentiles, weighted (3)" " " 80
at_xfail=no
(
  $as_echo "575. $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:534: pspp -O format=csv frequencies.sps"
at_fn_check_prepare_trace "frequencies.at:534"
( $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: Statistics
,,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,2.00
,75,3.00
,100,4.00

Table: X
,,Frequency,Percent,Valid Percent,Cumulative Percent
Valid,1.00,7.00,17.5%,17.5%,17.5%
,2.00,16.00,40.0%,40.0%,57.5%
,3.00,12.00,30.0%,30.0%,87.5%
,4.00,5.00,12.5%,12.5%,100.0%
Total,,40.00,100.0%,,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/frequencies.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_575
#AT_START_576
at_fn_group_banner 576 'frequencies.at:559' \
  "FREQUENCIES enhanced percentiles, weighted, missing values" "" 80
at_xfail=no
(
  $as_echo "576. $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:579: pspp -O format=csv frequencies.sps"
at_fn_check_prepare_trace "frequencies.at:579"
( $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: Statistics
,,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,3.50
,75,4.75
,100,5.00

Table: X
,,Frequency,Percent,Valid Percent,Cumulative Percent
Valid,1.00,1.00,10.0%,16.7%,16.7%
,3.00,2.00,20.0%,33.3%,50.0%
,4.00,1.00,10.0%,16.7%,66.7%
,5.00,2.00,20.0%,33.3%,100.0%
Missing,99.00,4.00,40.0%,,
Total,,10.00,100.0%,,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/frequencies.at:579"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'frequencies.at:605' \
  "FREQUENCIES dichotomous histogram" "              " 80
at_xfail=no
(
  $as_echo "577. $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:635: pspp frequencies.sps"
at_fn_check_prepare_trace "frequencies.at:635"
( $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:635"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'frequencies.at:639' \
  "FREQUENCIES median" "                             " 80
at_xfail=no
(
  $as_echo "578. $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:654: pspp median.sps -O format=csv"
at_fn_check_prepare_trace "frequencies.at:654"
( $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: Statistics
,,x
N,Valid,3
,Missing,0
Median,,2.00

Table: x
,,Frequency,Percent,Valid Percent,Cumulative Percent
Valid,1.00,1,33.3%,33.3%,33.3%
,2.00,1,33.3%,33.3%,66.7%
,3000000,1,33.3%,33.3%,100.0%
Total,,3,100.0%,,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/frequencies.at:654"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'frequencies.at:670' \
  "FREQUENCIES variance" "                           " 80
at_xfail=no
(
  $as_echo "579. $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:685: pspp variance.sps -O format=csv"
at_fn_check_prepare_trace "frequencies.at:685"
( $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: Statistics
,,height
N,Valid,4
,Missing,0
Variance,,1223.00

Table: height
,,Frequency,Percent,Valid Percent,Cumulative Percent
Valid,109.00,1,25.0%,25.0%,25.0%
,134.00,1,25.0%,25.0%,50.0%
,167.00,1,25.0%,25.0%,75.0%
,188.00,1,25.0%,25.0%,100.0%
Total,,4,100.0%,,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/frequencies.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_579
#AT_START_580
at_fn_group_banner 580 'frequencies.at:702' \
  "FREQUENCIES default statistics" "                 " 80
at_xfail=no
(
  $as_echo "580. $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:722: pspp median.sps -o pspp.csv -o pspp.txt"
at_fn_check_prepare_trace "frequencies.at:722"
( $at_check_trace; pspp median.sps -o pspp.csv -o pspp.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/frequencies.at:722"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/frequencies.at:723: cat pspp.csv"
at_fn_check_prepare_trace "frequencies.at:723"
( $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: Statistics
,,x
N,Valid,3
,Missing,0
Mean,,1000010
Std Dev,,1732042
Minimum,,10.00
Maximum,,3000000

Table: x
,,Frequency,Percent,Valid Percent,Cumulative Percent
Valid,10.00,1,33.3%,33.3%,33.3%
,20.00,1,33.3%,33.3%,66.7%
,3000000,1,33.3%,33.3%,100.0%
Total,,3,100.0%,,

Table: Statistics
,,x
N,Valid,3
,Missing,0
Mean,,1000010
Std Dev,,1732042
Minimum,,10.00
Maximum,,3000000

Table: x
,,Frequency,Percent,Valid Percent,Cumulative Percent
Valid,10.00,1,33.3%,33.3%,33.3%
,20.00,1,33.3%,33.3%,66.7%
,3000000,1,33.3%,33.3%,100.0%
Total,,3,100.0%,,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/frequencies.at:723"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'frequencies.at:760' \
  "FREQUENCIES no valid data" "                      " 80
at_xfail=no
(
  $as_echo "581. $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:775: pspp empty.sps -O format=csv"
at_fn_check_prepare_trace "frequencies.at:775"
( $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: Statistics
,,x
N,Valid,0
,Missing,3
Mean,,.  
S.E. Mean,,.  
Median,,.  
Mode,,.  
Std Dev,,.  
Variance,,.  
Kurtosis,,.  
S.E. Kurt,,.  
Skewness,,.  
S.E. Skew,,.  
Range,,.  
Minimum,,.  
Maximum,,.  
Sum,,.  

Table: x
,,Frequency,Percent,Valid Percent,Cumulative Percent
Missing,.  ,3,100.0%,,
Total,,3,.0%,,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/frequencies.at:775"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'frequencies.at:804' \
  "FREQUENCIES histogram no valid cases" "           " 80
at_xfail=no
(
  $as_echo "582. $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:821: pspp empty.sps -O format=csv"
at_fn_check_prepare_trace "frequencies.at:821"
( $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:821"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'frequencies.at:825' \
  "FREQUENCIES percentiles + histogram bug#48128" "  " 80
at_xfail=no
(
  $as_echo "583. $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:845: pspp bug.sps"
at_fn_check_prepare_trace "frequencies.at:845"
( $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:845"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'frequencies.at:850' \
  "FREQUENCIES vs. missing weights" "                " 80
at_xfail=no
(
  $as_echo "584. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >warn.sps <<'_ATEOF'
data list notable list /x w .
begin data.
1 1
2 1
1 1
3 1
3 .
4 .
end data.

weight by w.

frequencies /variables=x.
_ATEOF


{ set +x
$as_echo "$at_srcdir/frequencies.at:867: pspp warn.sps -O format=csv"
at_fn_check_prepare_trace "frequencies.at:867"
( $at_check_trace; pspp warn.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 "\"warn.sps:13: warning: FREQUENCIES: 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: Statistics
,,x
N,Valid,4.00
,Missing,.00
Mean,,1.75
Std Dev,,.96
Minimum,,1.00
Maximum,,4.00

Table: x
,,Frequency,Percent,Valid Percent,Cumulative Percent
Valid,1.00,2.00,50.0%,50.0%,50.0%
,2.00,1.00,25.0%,25.0%,75.0%
,3.00,1.00,25.0%,25.0%,100.0%
,4.00,.00,.0%,.0%,100.0%
Total,,4.00,100.0%,,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/frequencies.at:867"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'glm.at:19' \
  "GLM latin square design" "                        " 81
at_xfail=no
(
  $as_echo "585. $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:75: pspp -O format=csv latin.sps | sed 's/329.62[678]/329.62/'"
at_fn_check_prepare_notrace 'a shell pipeline' "glm.at:75"
( $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
,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: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_585
#AT_START_586
at_fn_group_banner 586 'glm.at:91' \
  "GLM 2 by 2 factorial design" "                    " 81
at_xfail=no
(
  $as_echo "586. $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:127: pspp -O format=csv 2by2.sps "
at_fn_check_prepare_trace "glm.at:127"
( $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
,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: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_586
#AT_START_587
at_fn_group_banner 587 'glm.at:144' \
  "GLM Type I and II Sums of Squares" "              " 81
at_xfail=no
(
  $as_echo "587. $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:225: pspp -O format=csv type1.sps"
at_fn_check_prepare_trace "glm.at:225"
( $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
,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
,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:225"
$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:260: pspp -O format=csv type2.sps"
at_fn_check_prepare_trace "glm.at:260"
( $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
,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:260"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'glm.at:278' \
  "GLM excluded intercept" "                         " 81
at_xfail=no
(
  $as_echo "588. $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:328: pspp -O format=csv intercept-exclude.sps"
at_fn_check_prepare_trace "glm.at:328"
( $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
,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
,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: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_588
#AT_START_589
at_fn_group_banner 589 'glm.at:350' \
  "GLM missing values" "                             " 81
at_xfail=no
(
  $as_echo "589. $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:406: pspp -O format=csv glm-miss.sps"
at_fn_check_prepare_trace "glm.at:406"
( $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
,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:406"
$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:433: pspp -O format=csv glm-miss2.sps"
at_fn_check_prepare_trace "glm.at:433"
( $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
,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:433"
$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:463: pspp -O format=csv glm-miss3.sps"
at_fn_check_prepare_trace "glm.at:463"
( $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
,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:463"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'logistic.at:97' \
  "LOGISTIC REGRESSION basic test" "                 " 82
at_xfail=no
(
  $as_echo "590. $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:113: pspp -o pspp.csv -o pspp.txt lr-data.sps"
at_fn_check_prepare_trace "logistic.at:113"
( $at_check_trace; pspp -o pspp.csv -o pspp.txt 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 "note: Estimation terminated at iteration number 6 because parameter estimates changed by less than 0.001
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/logistic.at:113"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/logistic.at:116: cat pspp.csv"
at_fn_check_prepare_trace "logistic.at:116"
( $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: Dependent Variable Encoding
Original Value,Internal Value
1.000,.000
2.000,1.000

Table: Case Processing Summary
Unweighted Cases,N,Percent
Included in Analysis,66,100.0%
Missing Cases,0,.0%
Total,66,100.0%

note: Estimation terminated at iteration number 6 because parameter estimates changed by less than 0.001

Table: Model Summary
Step,-2 Log likelihood,Cox & Snell R Square,Nagelkerke R Square
1,37.323,.455,.659

Table: Classification Table
,,,Predicted,,
,,,outcome,,Percentage Correct
,Observed,,1.000,2.000,
Step 1,outcome,1.000,43,5,89.6%
,,2.000,4,14,77.8%
,Overall Percentage,,,,86.4%

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: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_590
#AT_START_591
at_fn_group_banner 591 'logistic.at:148' \
  "LOGISTIC REGRESSION missing values" "             " 82
at_xfail=no
(
  $as_echo "591. $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.0%
< Missing Cases,0,.0%
< Total,66,100.0%
---
> Included in Analysis,66,94.3%
> Missing Cases,4,5.7%
> Total,70,100.0%
" | \
  $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_591
#AT_START_592
at_fn_group_banner 592 'logistic.at:197' \
  "LOGISTIC REGRESSION weights" "                    " 82
at_xfail=no
(
  $as_echo "592. $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:230: pspp -O format=csv lr-data-unweighted.sps > unweighted-result"
at_fn_check_prepare_trace "logistic.at:230"
( $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:230"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/logistic.at:231: pspp -O format=csv lr-data-weighted.sps > weighted-result"
at_fn_check_prepare_trace "logistic.at:231"
( $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:231"
$at_failed && at_fn_log_failure
$at_traceon; }


{ set +x
$as_echo "$at_srcdir/logistic.at:235: diff unweighted-result weighted-result"
at_fn_check_prepare_trace "logistic.at:235"
( $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.0%
---
> Included in Analysis,63,100.0%
10c10
< Total,66,100.0%
---
> Total,63,100.0%
22,23c22,23
< Step 1,outcome,1.000,43,5,89.6%
< ,,2.000,4,14,77.8%
---
> Step 1,outcome,1.000,43.000,5.000,89.6%
> ,,2.000,4.000,14.000,77.8%
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/logistic.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_592
#AT_START_593
at_fn_group_banner 593 'logistic.at:259' \
  "LOGISTIC REGRESSION without constant" "           " 82
at_xfail=no
(
  $as_echo "593. $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:278: pspp -O format=csv non-const.sps"
at_fn_check_prepare_trace "logistic.at:278"
( $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,.000
1.00,1.000

Table: Case Processing Summary
Unweighted Cases,N,Percent
Included in Analysis,200,100.0%
Missing Cases,0,.0%
Total,200,100.0%

note: Estimation terminated at iteration number 2 because parameter estimates changed by less than 0.001

Table: Model Summary
Step,-2 Log likelihood,Cox & Snell R Square,Nagelkerke R Square
1,275.637,.008,.011

Table: Classification Table
,,,Predicted,,
,,,female,,Percentage Correct
,Observed,,.00,1.00,
Step 1,female,.00,0,91,.0%
,,1.00,0,109,100.0%
,Overall Percentage,,,,54.5%

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:278"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'logistic.at:315' \
  "LOGISTIC REGRESSION non-dichotomous dep var" "    " 82
at_xfail=no
(
  $as_echo "594. $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:329: pspp -O format=csv non-dich.sps"
at_fn_check_prepare_trace "logistic.at:329"
( $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: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_594
#AT_START_595
at_fn_group_banner 595 'logistic.at:341' \
  "LOGISTIC REGRESSION with categorical" "           " 82
at_xfail=no
(
  $as_echo "595. $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:758: pspp -O format=csv lr-cat.sps"
at_fn_check_prepare_trace "logistic.at:758"
( $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,.000
9.000,1.000

Table: Case Processing Summary
Unweighted Cases,N,Percent
Included in Analysis,400,100.0%
Missing Cases,0,.0%
Total,400,100.0%

note: Estimation terminated at iteration number 4 because parameter estimates changed by less than 0.001

Table: Model Summary
Step,-2 Log likelihood,Cox & Snell R Square,Nagelkerke R Square
1,458.517,.098,.138

Table: Categorical Variables' Codings
,,Frequency,Parameter coding,,
,,,(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.0%
,,9.000,97,30,23.6%
,Overall Percentage,,,,71.0%

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:758"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'logistic.at:807' \
  "LOGISTIC REGRESSION with cat var 2" "             " 82
at_xfail=no
(
  $as_echo "596. $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,.000
1.000,1.000

Table: Case Processing Summary
Unweighted Cases,N,Percent
Included in Analysis,200,100.0%
Missing Cases,0,.0%
Total,200,100.0%

note: Estimation terminated at iteration number 5 because parameter estimates changed by less than 0.001

Table: Model Summary
Step,-2 Log likelihood,Cox & Snell R Square,Nagelkerke R Square
1,165.701,.280,.408

Table: Categorical Variables' Codings
,,Frequency,Parameter coding,
,,,(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.8%
,,1.000,26,27,50.9%
,Overall Percentage,,,,79.5%

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_596
#AT_START_597
at_fn_group_banner 597 'logistic.at:1073' \
  "LOGISTIC REGRESSION identical categories" "       " 82
at_xfail=no
(
  $as_echo "597. $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:1087: pspp -O format=csv crash.sps"
at_fn_check_prepare_trace "logistic.at:1087"
( $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:1087"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'logistic.at:1094' \
  "LOGISTIC REGRESSION missing categoricals" "       " 82
at_xfail=no
(
  $as_echo "598. $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.0%
< Missing Cases,0,.0%
< Total,100,100.0%
---
> Included in Analysis,100,99.0%
> Missing Cases,1,1.0%
> Total,101,100.0%
" | \
  $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_598
#AT_START_599
at_fn_group_banner 599 'logistic.at:1232' \
  "LOGISTIC REGRESSION confidence interval" "        " 82
at_xfail=no
(
  $as_echo "599. $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:1443: pspp -O format=csv ci.sps"
at_fn_check_prepare_trace "logistic.at:1443"
( $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,.000
1.000,1.000

Table: Case Processing Summary
Unweighted Cases,N,Percent
Included in Analysis,196,100.0%
Missing Cases,0,.0%
Total,196,100.0%

note: Estimation terminated at iteration number 4 because parameter estimates changed by less than 0.001

Table: Model Summary
Step,-2 Log likelihood,Cox & Snell R Square,Nagelkerke R Square
1,211.195,.120,.172

Table: Categorical Variables' Codings
,,Frequency,Parameter coding,
,,,(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.2%
,,1.000,41,16,28.1%
,Overall Percentage,,,,75.0%

Table: Variables in the Equation
,,B,S.E.,Wald,df,Sig.,Exp(B),95% CI for 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:1443"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'means.at:19' \
  "MEANS simple" "                                   " 83
at_xfail=no
(
  $as_echo "600. $at_setup_line: testing $at_desc ..."
  $at_traceon



cat >means-simple.sps <<'_ATEOF'
data list notable list /hand * score * w *.
begin data.
1 17 4
1 16 5
2 21 1
2 22 1
2 20 8
end data.

weight by w.

means tables = score by hand
 /cells = mean count.
_ATEOF


{ set +x
$as_echo "$at_srcdir/means.at:38: pspp -O format=csv means-simple.sps"
at_fn_check_prepare_trace "means.at:38"
( $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 * hand,19,100.0%,0,.0%,19,100.0%

Table: Report
hand,Mean,N
1.00,16.44,9
2.00,20.30,10
Total,18.47,19
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/means.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_600
#AT_START_601
at_fn_group_banner 601 'means.at:54' \
  "MEANS very simple" "                              " 83
at_xfail=no
(
  $as_echo "601. $at_setup_line: testing $at_desc ..."
  $at_traceon



cat >very-simple.sps <<'_ATEOF'
data list notable list /score *.
begin data.
17
17
17
16
17
16
16
16
16
21
22
20
20
20
20
20
20
20
20
end data.

means tables = score
 /cells = mean count.
_ATEOF


{ set +x
$as_echo "$at_srcdir/means.at:85: pspp -O format=csv very-simple.sps"
at_fn_check_prepare_trace "means.at:85"
( $at_check_trace; pspp -O format=csv very-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,19,100.0%,0,.0%,19,100.0%

Table: Report
Mean,N
18.47,19
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/means.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_601
#AT_START_602
at_fn_group_banner 602 'means.at:100' \
  "MEANS empty factor spec" "                        " 83
at_xfail=no
(
  $as_echo "602. $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:115: pspp -O format=csv means-bad.sps"
at_fn_check_prepare_trace "means.at:115"
( $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: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_602
#AT_START_603
at_fn_group_banner 603 'means.at:121' \
  "MEANS parser bug" "                               " 83
at_xfail=no
(
  $as_echo "603. $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:134: pspp -O format=csv means-bad.sps"
at_fn_check_prepare_trace "means.at:134"
( $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: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_603
#AT_START_604
at_fn_group_banner 604 'means.at:140' \
  "MEANS default missing behaviour" "                " 83
at_xfail=no
(
  $as_echo "604. $at_setup_line: testing $at_desc ..."
  $at_traceon



cat >means-missing.sps <<'_ATEOF'
data list notable list /w * score * a * b *.
begin data
     12      . 0 0
     13      . 0 1
     11      . 1 0
      7      . 1 1
      5      1 0 .
     91      1 0 0
    130      1 0 1
      4      1 1 .
     90      1 1 0
     72      1 1 1
end data.

weight by w.

MEANS tables=score
	/cells = count.

MEANS tables=score by a
	/cells = count.

MEANS tables=score by a by b
      /cells = count.
_ATEOF


{ set +x
$as_echo "$at_srcdir/means.at:170: pspp -O format=csv means-missing.sps"
at_fn_check_prepare_trace "means.at:170"
( $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
score,392,90.1%,43,9.9%,435,100.0%

Table: Report
N
392

Table: Case Processing Summary
,Cases,,,,,
,Included,,Excluded,,Total,
,N,Percent,N,Percent,N,Percent
score * a,392,90.1%,43,9.9%,435,100.0%

Table: Report
a,N
.00,226
1.00,166
Total,392

Table: Case Processing Summary
,Cases,,,,,
,Included,,Excluded,,Total,
,N,Percent,N,Percent,N,Percent
score * a * b,383,88.0%,52,12.0%,435,100.0%

Table: Report
a,b,N
.00,.00,91
,1.00,130
,Total,221
1.00,.00,90
,1.00,72
,Total,162
Total,.00,181
,1.00,202
,Total,383
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/means.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_604
#AT_START_605
at_fn_group_banner 605 'means.at:216' \
  "MEANS two way" "                                  " 83
at_xfail=no
(
  $as_echo "605. $at_setup_line: testing $at_desc ..."
  $at_traceon



cat >means-freelancer.sps <<'_ATEOF'
data list notable list /income_2010 * gender  sector_2010.
begin data
6072.40 0 5
12706.65 1 4
14912.82 0 2
16338.36 1 5
22606.99 0 .
23544.95 1 1
24985.21 0 2
26586.48 0 1
29076.24 1 3
31010.18 0 2
33190.63 1 1
35570.67 1 4
36202.60 1 4
36205.85 1 2
36262.56 1 .
38283.56 0 1
38569.91 1 5
39057.56 1 4
39594.68 1 5
42087.38 0 1
42370.92 0 2
42931.32 1 2
45907.58 0 4
45911.32 1 .
47227.09 1 3
50440.71 1 5
57440.17 1 3
58918.86 0 5
59430.07 1 2
61135.95 0 4
64193.85 0 4
64857.02 0 3
65903.42 0 4
66592.38 1 3
70986.10 0 3
71229.94 0 4
74663.05 1 4
76676.14 1 4
79260.80 0 4
80311.71 0 4
end data.

means income_2010 by gender by sector_2010
	/cells count min mean stddev.
_ATEOF


{ set +x
$as_echo "$at_srcdir/means.at:268: pspp -O format=csv means-freelancer.sps"
at_fn_check_prepare_trace "means.at:268"
( $at_check_trace; pspp -O format=csv means-freelancer.sps
) >>"$at_stdout" 2>>"$at_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
income_2010 * gender * sector_2010,37,92.5%,3,7.5%,40,100.0%

Table: Report
gender,sector_2010,N,Minimum,Mean,Std. Deviation
.00,1.00,3,26586.48,35652.47,8078.46
,2.00,4,14912.82,28319.78,11482.43
,3.00,2,64857.02,67921.56,4333.91
,4.00,7,45907.58,66849.04,11787.11
,5.00,2,6072.40,32495.63,37368.09
,Total,18,6072.40,49389.68,22371.48
1.00,1.00,2,23544.95,28367.79,6820.53
,2.00,3,36205.85,46189.08,11949.93
,3.00,4,29076.24,50083.97,16084.44
,4.00,6,12706.65,45812.78,24995.16
,5.00,4,16338.36,36235.92,14311.04
,Total,19,12706.65,42918.90,17851.64
Total,1.00,5,23544.95,32738.60,7757.62
,2.00,7,14912.82,35978.05,14309.27
,3.00,6,29076.24,56029.83,15615.06
,4.00,13,12706.65,57139.99,21187.85
,5.00,6,6072.40,34989.15,20146.69
,Total,37,6072.40,46066.84,20160.12
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/means.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_605
#AT_START_606
at_fn_group_banner 606 'means.at:303' \
  "MEANS unbalanced" "                               " 83
at_xfail=no
(
  $as_echo "606. $at_setup_line: testing $at_desc ..."
  $at_traceon



cat >means-unbalanced.sps <<'_ATEOF'
data list notable list /b c x *.
begin data.
4 1 123
3 1 123
5 0 246
4 0 246
3 0 246
end data.

* The data above lack a 5 1 case.

means
	table=x by b by c
	/cells = mean count
	.
_ATEOF


{ set +x
$as_echo "$at_srcdir/means.at:324: pspp -O format=csv means-unbalanced.sps"
at_fn_check_prepare_trace "means.at:324"
( $at_check_trace; pspp -O format=csv means-unbalanced.sps
) >>"$at_stdout" 2>>"$at_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 * b * c,5,100.0%,0,.0%,5,100.0%

Table: Report
b,c,Mean,N
3.00,.00,246.00,1
,1.00,123.00,1
,Total,184.50,2
4.00,.00,246.00,1
,1.00,123.00,1
,Total,184.50,2
5.00,.00,246.00,1
,Total,246.00,1
Total,.00,246.00,3
,1.00,123.00,2
,Total,196.80,5
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/means.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_606
#AT_START_607
at_fn_group_banner 607 'means.at:349' \
  "MEANS three way" "                                " 83
at_xfail=no
(
  $as_echo "607. $at_setup_line: testing $at_desc ..."
  $at_traceon



cat >means-threeway.sps <<'_ATEOF'
data list notable list /score a b c.
begin data.
3  0 0 0
4  0 0 1
41 0 0 2
5  0 1 0
6  0 1 1
7  1 0 0
8  1 0 1
9  1 1 0
10 1 1 1
end data.

means score by a by b by c.
_ATEOF


{ set +x
$as_echo "$at_srcdir/means.at:369: pspp -O format=csv means-threeway.sps"
at_fn_check_prepare_trace "means.at:369"
( $at_check_trace; pspp -O format=csv means-threeway.sps
) >>"$at_stdout" 2>>"$at_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 * a * b * c,9,100.0%,0,.0%,9,100.0%

Table: Report
a,b,c,Mean,N,Std. Deviation
.00,.00,.00,3.00,1,NaN
,,1.00,4.00,1,NaN
,,2.00,41.00,1,NaN
,,Total,16.00,3,21.66
,1.00,.00,5.00,1,NaN
,,1.00,6.00,1,NaN
,,Total,5.50,2,.71
,Total,.00,4.00,2,1.41
,,1.00,5.00,2,1.41
,,2.00,41.00,1,NaN
,,Total,11.80,5,16.36
1.00,.00,.00,7.00,1,NaN
,,1.00,8.00,1,NaN
,,Total,7.50,2,.71
,1.00,.00,9.00,1,NaN
,,1.00,10.00,1,NaN
,,Total,9.50,2,.71
,Total,.00,8.00,2,1.41
,,1.00,9.00,2,1.41
,,Total,8.50,4,1.29
Total,.00,.00,5.00,2,2.83
,,1.00,6.00,2,2.83
,,2.00,41.00,1,NaN
,,Total,12.60,5,16.01
,1.00,.00,7.00,2,2.83
,,1.00,8.00,2,2.83
,,Total,7.50,4,2.38
,Total,.00,6.00,4,2.58
,,1.00,7.00,4,2.58
,,2.00,41.00,1,NaN
,,Total,10.33,9,11.73
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/means.at:369"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'means.at:415' \
  "MEANS three way string" "                         " 83
at_xfail=no
(
  $as_echo "608. $at_setup_line: testing $at_desc ..."
  $at_traceon



cat >means-threeway-string.sps <<'_ATEOF'
data list notable list /score (f22.2) a (a24) b (a16) c (a8).
begin data.
3  fooberrycrumblexzaQ  fosilationwereqd  zero
4  fooberrycrumblexzaQ  fosilationwereqd  one
41 fooberrycrumblexzaQ  fosilationwereqd  two
5  fooberrycrumblexzaQ  onlyonekonboys    zero
6  fooberrycrumblexzaQ  onlyonekonboys    one
7  wontledingbatsXASDF  fosilationwereqd  zero
8  wontledingbatsXASDF  fosilationwereqd  one
9  wontledingbatsXASDF  onlyonekonboys    zero
10 wontledingbatsXASDF  onlyonekonboys    one
end data.

means score by a by b by c.
_ATEOF


{ set +x
$as_echo "$at_srcdir/means.at:435: pspp -O format=csv means-threeway-string.sps"
at_fn_check_prepare_trace "means.at:435"
( $at_check_trace; pspp -O format=csv means-threeway-string.sps
) >>"$at_stdout" 2>>"$at_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 * a * b * c,9,100.0%,0,.0%,9,100.0%

Table: Report
a,b,c,Mean,N,Std. Deviation
fooberrycrumblexzaQ,fosilationwereqd,one,4.00,1,NaN
,,two,41.00,1,NaN
,,zero,3.00,1,NaN
,,Total,16.00,3,21.66
,onlyonekonboys,one,6.00,1,NaN
,,zero,5.00,1,NaN
,,Total,5.50,2,.71
,Total,one,5.00,2,1.41
,,two,41.00,1,NaN
,,zero,4.00,2,1.41
,,Total,11.80,5,16.36
wontledingbatsXASDF,fosilationwereqd,one,8.00,1,NaN
,,zero,7.00,1,NaN
,,Total,7.50,2,.71
,onlyonekonboys,one,10.00,1,NaN
,,zero,9.00,1,NaN
,,Total,9.50,2,.71
,Total,one,9.00,2,1.41
,,zero,8.00,2,1.41
,,Total,8.50,4,1.29
Total,fosilationwereqd,one,6.00,2,2.83
,,two,41.00,1,NaN
,,zero,5.00,2,2.83
,,Total,12.60,5,16.01
,onlyonekonboys,one,8.00,2,2.83
,,zero,7.00,2,2.83
,,Total,7.50,4,2.38
,Total,one,7.00,4,2.58
,,two,41.00,1,NaN
,,zero,6.00,4,2.58
,,Total,10.33,9,11.73
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/means.at:435"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'means.at:482' \
  "MEANS multiple tables" "                          " 83
at_xfail=no
(
  $as_echo "609. $at_setup_line: testing $at_desc ..."
  $at_traceon



cat >means-multi-table.sps <<'_ATEOF'
data list notable list /a * b * c * x * y *.
begin data.
6 3 0 123 456
6 3 1 123 456
6 4 0 123 456
6 4 1 123 456
6 5 0 123 456
6 5 1 123 456
7 3 0 123 456
7 3 1 123 456
7 4 0 123 456
7 4 1 123 456
7 5 0 123 456
7 5 1 123 456
8 3 0 123 456
8 3 1 123 456
8 4 0 123 456
8 4 1 123 456
8 5 0 123 456
8 5 1 123 456
9 3 0 123 456
9 3 1 123 456
9 4 0 123 456
9 4 1 123 456
9 5 0 123 456
9 5 1 123 456
end data.


means table = x by b by c
	/x by b
	/y by a by b
  cells = min count  .
_ATEOF


{ set +x
$as_echo "$at_srcdir/means.at:521: pspp -O format=csv means-multi-table.sps"
at_fn_check_prepare_trace "means.at:521"
( $at_check_trace; pspp -O format=csv means-multi-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
x * b * c,24,100.0%,0,.0%,24,100.0%

Table: Report
b,c,Minimum,N
3.00,.00,123.00,4
,1.00,123.00,4
,Total,123.00,8
4.00,.00,123.00,4
,1.00,123.00,4
,Total,123.00,8
5.00,.00,123.00,4
,1.00,123.00,4
,Total,123.00,8
Total,.00,123.00,12
,1.00,123.00,12
,Total,123.00,24

Table: Case Processing Summary
,Cases,,,,,
,Included,,Excluded,,Total,
,N,Percent,N,Percent,N,Percent
x * b,24,100.0%,0,.0%,24,100.0%

Table: Report
b,Minimum,N
3.00,123.00,8
4.00,123.00,8
5.00,123.00,8
Total,123.00,24

Table: Case Processing Summary
,Cases,,,,,
,Included,,Excluded,,Total,
,N,Percent,N,Percent,N,Percent
y * a * b,24,100.0%,0,.0%,24,100.0%

Table: Report
a,b,Minimum,N
6.00,3.00,456.00,2
,4.00,456.00,2
,5.00,456.00,2
,Total,456.00,6
7.00,3.00,456.00,2
,4.00,456.00,2
,5.00,456.00,2
,Total,456.00,6
8.00,3.00,456.00,2
,4.00,456.00,2
,5.00,456.00,2
,Total,456.00,6
9.00,3.00,456.00,2
,4.00,456.00,2
,5.00,456.00,2
,Total,456.00,6
Total,3.00,456.00,8
,4.00,456.00,8
,5.00,456.00,8
,Total,456.00,24
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/means.at:521"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'means.at:592' \
  "MEANS multi variable" "                           " 83
at_xfail=no
(
  $as_echo "610. $at_setup_line: testing $at_desc ..."
  $at_traceon



cat >means-multi-variable.sps <<'_ATEOF'
data list notable list /b c x y.
begin data.
5 1 123 55
5 1 123 55
5 1 123 55
5 1 123 55
4 1 456 44
4 1 456 44
4 1 456 44
4 1 456 44
3 1 789 55
3 1 789 55
3 1 789 55
3 1 789 55
5 0 246 99
5 0 246 99
5 0 246 99
5 0 246 .
4 0 987 99
4 0 987 99
4 0 987 99
4 0 987 99
3 0 654 11
3 0 654 11
3 0 654 11
3 0 654 11
end data.

means
	table = x y by b by c
	.
_ATEOF


{ set +x
$as_echo "$at_srcdir/means.at:629: pspp -O format=csv means-multi-variable.sps"
at_fn_check_prepare_trace "means.at:629"
( $at_check_trace; pspp -O format=csv means-multi-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 >>"$at_stdout"; $as_echo "Table: Case Processing Summary
,Cases,,,,,
,Included,,Excluded,,Total,
,N,Percent,N,Percent,N,Percent
x * b * c,24,100.0%,0,.0%,24,100.0%
y * b * c,23,95.8%,1,4.2%,24,100.0%

Table: x * y * b * c
b,c,,x,y
3.00,.00,Mean,654.00,11.00
,,N,4,4
,,Std. Deviation,.00,.00
,1.00,Mean,789.00,55.00
,,N,4,4
,,Std. Deviation,.00,.00
,Total,Mean,721.50,33.00
,,N,8,8
,,Std. Deviation,72.16,23.52
4.00,.00,Mean,987.00,99.00
,,N,4,4
,,Std. Deviation,.00,.00
,1.00,Mean,456.00,44.00
,,N,4,4
,,Std. Deviation,.00,.00
,Total,Mean,721.50,71.50
,,N,8,8
,,Std. Deviation,283.83,29.40
5.00,.00,Mean,246.00,99.00
,,N,4,3
,,Std. Deviation,.00,.00
,1.00,Mean,123.00,55.00
,,N,4,4
,,Std. Deviation,.00,.00
,Total,Mean,184.50,73.86
,,N,8,7
,,Std. Deviation,65.75,23.52
Total,.00,Mean,629.00,67.00
,,N,12,11
,,Std. Deviation,316.50,44.40
,1.00,Mean,456.00,51.33
,,N,12,12
,,Std. Deviation,283.98,5.42
,Total,Mean,542.50,58.83
,,N,24,23
,,Std. Deviation,307.06,31.22
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/means.at:629"
$at_failed && at_fn_log_failure
$at_traceon; }



  set +x
  $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 'means.at:684' \
  "MEANS multi combination" "                        " 83
at_xfail=no
(
  $as_echo "611. $at_setup_line: testing $at_desc ..."
  $at_traceon



cat >means-multi-combination.sps <<'_ATEOF'
data list notable list /one (F22.5) two (F22.5) three four five six.
begin data
1 1 1 1 1 1
2 1 1 1 1 1
1 2 1 1 1 1
2 2 1 1 1 1
1 1 2 1 1 1
2 1 2 1 1 1
1 2 2 1 1 1
2 2 2 1 1 1
1 1 1 2 1 1
2 1 1 2 1 1
1 2 1 2 1 1
2 2 1 2 1 1
1 1 2 2 1 1
2 1 2 2 1 1
1 2 2 2 1 1
2 2 2 2 1 1
1 1 1 1 2 1
2 1 1 1 2 1
1 2 1 1 2 1
2 2 1 1 2 1
1 1 2 1 2 1
2 1 2 1 2 1
1 2 2 1 2 1
2 2 2 1 2 1
1 1 1 2 2 1
2 1 1 2 2 1
1 2 1 2 2 1
2 2 1 2 2 1
1 1 2 2 2 1
2 1 2 2 2 1
1 2 2 2 2 1
2 2 2 2 2 1
1 1 1 1 1 2
2 1 1 1 1 2
1 2 1 1 1 2
2 2 1 1 1 2
1 1 2 1 1 2
2 1 2 1 1 2
1 2 2 1 1 2
2 2 2 1 1 2
1 1 1 2 1 2
2 1 1 2 1 2
1 2 1 2 1 2
2 2 1 2 1 2
1 1 2 2 1 2
2 1 2 2 1 2
1 2 2 2 1 2
2 2 2 2 1 2
1 1 1 1 2 2
2 1 1 1 2 2
1 2 1 1 2 2
2 2 1 1 2 2
1 1 2 1 2 2
2 1 2 1 2 2
1 2 2 1 2 2
2 2 2 1 2 2
1 1 1 2 2 2
2 1 1 2 2 2
1 2 1 2 2 2
2 2 1 2 2 2
1 1 2 2 2 2
2 1 2 2 2 2
1 2 2 2 2 2
2 2 2 2 2 2
end data.

recode six  (2 = 62) (1 = 61).
recode five (2 = 52) (1 = 51).
recode four (2 = 42) (1 = 41).
recode three (2 = 32) (1 = 31).

means tables = one two BY three four BY five six.
_ATEOF


{ set +x
$as_echo "$at_srcdir/means.at:764: pspp -O format=csv means-multi-combination.sps"
at_fn_check_prepare_trace "means.at:764"
( $at_check_trace; pspp -O format=csv means-multi-combination.sps
) >>"$at_stdout" 2>>"$at_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
one * three * five,64,100.0%,0,.0%,64,100.0%
two * three * five,64,100.0%,0,.0%,64,100.0%
one * three * six,64,100.0%,0,.0%,64,100.0%
two * three * six,64,100.0%,0,.0%,64,100.0%
one * four * five,64,100.0%,0,.0%,64,100.0%
two * four * five,64,100.0%,0,.0%,64,100.0%
one * four * six,64,100.0%,0,.0%,64,100.0%
two * four * six,64,100.0%,0,.0%,64,100.0%

Table: one * two * three * five
three,five,,one,two
31.00,51.00,Mean,1.50000,1.50000
,,N,16,16
,,Std. Deviation,.51640,.51640
,52.00,Mean,1.50000,1.50000
,,N,16,16
,,Std. Deviation,.51640,.51640
,Total,Mean,1.50000,1.50000
,,N,32,32
,,Std. Deviation,.50800,.50800
32.00,51.00,Mean,1.50000,1.50000
,,N,16,16
,,Std. Deviation,.51640,.51640
,52.00,Mean,1.50000,1.50000
,,N,16,16
,,Std. Deviation,.51640,.51640
,Total,Mean,1.50000,1.50000
,,N,32,32
,,Std. Deviation,.50800,.50800
Total,51.00,Mean,1.50000,1.50000
,,N,32,32
,,Std. Deviation,.50800,.50800
,52.00,Mean,1.50000,1.50000
,,N,32,32
,,Std. Deviation,.50800,.50800
,Total,Mean,1.50000,1.50000
,,N,64,64
,,Std. Deviation,.50395,.50395

Table: one * two * three * six
three,six,,one,two
31.00,61.00,Mean,1.50000,1.50000
,,N,16,16
,,Std. Deviation,.51640,.51640
,62.00,Mean,1.50000,1.50000
,,N,16,16
,,Std. Deviation,.51640,.51640
,Total,Mean,1.50000,1.50000
,,N,32,32
,,Std. Deviation,.50800,.50800
32.00,61.00,Mean,1.50000,1.50000
,,N,16,16
,,Std. Deviation,.51640,.51640
,62.00,Mean,1.50000,1.50000
,,N,16,16
,,Std. Deviation,.51640,.51640
,Total,Mean,1.50000,1.50000
,,N,32,32
,,Std. Deviation,.50800,.50800
Total,61.00,Mean,1.50000,1.50000
,,N,32,32
,,Std. Deviation,.50800,.50800
,62.00,Mean,1.50000,1.50000
,,N,32,32
,,Std. Deviation,.50800,.50800
,Total,Mean,1.50000,1.50000
,,N,64,64
,,Std. Deviation,.50395,.50395

Table: one * two * four * five
four,five,,one,two
41.00,51.00,Mean,1.50000,1.50000
,,N,16,16
,,Std. Deviation,.51640,.51640
,52.00,Mean,1.50000,1.50000
,,N,16,16
,,Std. Deviation,.51640,.51640
,Total,Mean,1.50000,1.50000
,,N,32,32
,,Std. Deviation,.50800,.50800
42.00,51.00,Mean,1.50000,1.50000
,,N,16,16
,,Std. Deviation,.51640,.51640
,52.00,Mean,1.50000,1.50000
,,N,16,16
,,Std. Deviation,.51640,.51640
,Total,Mean,1.50000,1.50000
,,N,32,32
,,Std. Deviation,.50800,.50800
Total,51.00,Mean,1.50000,1.50000
,,N,32,32
,,Std. Deviation,.50800,.50800
,52.00,Mean,1.50000,1.50000
,,N,32,32
,,Std. Deviation,.50800,.50800
,Total,Mean,1.50000,1.50000
,,N,64,64
,,Std. Deviation,.50395,.50395

Table: one * two * four * six
four,six,,one,two
41.00,61.00,Mean,1.50000,1.50000
,,N,16,16
,,Std. Deviation,.51640,.51640
,62.00,Mean,1.50000,1.50000
,,N,16,16
,,Std. Deviation,.51640,.51640
,Total,Mean,1.50000,1.50000
,,N,32,32
,,Std. Deviation,.50800,.50800
42.00,61.00,Mean,1.50000,1.50000
,,N,16,16
,,Std. Deviation,.51640,.51640
,62.00,Mean,1.50000,1.50000
,,N,16,16
,,Std. Deviation,.51640,.51640
,Total,Mean,1.50000,1.50000
,,N,32,32
,,Std. Deviation,.50800,.50800
Total,61.00,Mean,1.50000,1.50000
,,N,32,32
,,Std. Deviation,.50800,.50800
,62.00,Mean,1.50000,1.50000
,,N,32,32
,,Std. Deviation,.50800,.50800
,Total,Mean,1.50000,1.50000
,,N,64,64
,,Std. Deviation,.50395,.50395
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/means.at:764"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'means.at:904' \
  "MEANS clean up" "                                 " 83
at_xfail=no
(
  $as_echo "612. $at_setup_line: testing $at_desc ..."
  $at_traceon



cat >means-bad.sps <<'_ATEOF'
data list notable list /one two three four five six.
begin data
1 1 1 1 1 1
2 1 1 1 1 !
1 2 2 2 2 2
2 2 2 2 2 2
end data.

means tables = one two BY thsee four BY five six.
_ATEOF


{ set +x
$as_echo "$at_srcdir/means.at:919: pspp -O format=csv means-bad.sps"
at_fn_check_prepare_trace "means.at:919"
( $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:919"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'means.at:926' \
  "MEANS control all missing" "                      " 83
at_xfail=no
(
  $as_echo "613. $at_setup_line: testing $at_desc ..."
  $at_traceon



cat >means-bad.sps <<'_ATEOF'
data list notable list /a * b *  y * uu *.
begin data.
6 3 . 5
6 3 . 5
6 4 . 5
end data.

means table = b by a by y by uu
  .
_ATEOF


{ set +x
$as_echo "$at_srcdir/means.at:941: pspp -O format=csv means-bad.sps"
at_fn_check_prepare_trace "means.at:941"
( $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 >>"$at_stdout"; $as_echo "Table: Case Processing Summary
,Cases,,,,,
,Included,,Excluded,,Total,
,N,Percent,N,Percent,N,Percent
b * a * y * uu,0,.0%,3,100.0%,3,100.0%

\"warning: The table \"\"a * y * uu\"\" has no non-empty control variables.  No result for this table will be displayed.\"
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/means.at:941"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'means.at:955' \
  "MEANS missing classes" "                          " 83
at_xfail=no
(
  $as_echo "614. $at_setup_line: testing $at_desc ..."
  $at_traceon



cat >means-missing-classes.sps <<'_ATEOF'
data list notable list /hand * score *.
begin data.
1 17
1 17
1 17
1 16
1 17
1 16
1 16
1 .
1 99
2 21
2 22
2 20
2 20
2 20
2 20
2 20
2 20
2 20
2 20
9 55
end data.

missing values score (99).
missing values hand (9).

means tables=score  by hand
	/cells = count max
	/missing = dependent
	.

means tables=score  by hand
	/cells = count max
	/missing = include
	.

means tables=score  by hand
	/cells = count max
	.

_ATEOF


{ set +x
$as_echo "$at_srcdir/means.at:1002: pspp -O format=csv means-missing-classes.sps"
at_fn_check_prepare_trace "means.at:1002"
( $at_check_trace; pspp -O format=csv means-missing-classes.sps
) >>"$at_stdout" 2>>"$at_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 * hand,18,90.0%,2,10.0%,20,100.0%

Table: Report
hand,N,Maximum
1.00,7,17.00
2.00,10,22.00
9.00,1,55.00
Total,18,55.00

Table: Case Processing Summary
,Cases,,,,,
,Included,,Excluded,,Total,
,N,Percent,N,Percent,N,Percent
score * hand,19,95.0%,1,5.0%,20,100.0%

Table: Report
hand,N,Maximum
1.00,8,99.00
2.00,10,22.00
9.00,1,55.00
Total,19,99.00

Table: Case Processing Summary
,Cases,,,,,
,Included,,Excluded,,Total,
,N,Percent,N,Percent,N,Percent
score * hand,17,85.0%,3,15.0%,20,100.0%

Table: Report
hand,N,Maximum
1.00,7,17.00
2.00,10,22.00
Total,17,22.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/means.at:1002"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'means.at:1046' \
  "MEANS split" "                                    " 83
at_xfail=no
(
  $as_echo "615. $at_setup_line: testing $at_desc ..."
  $at_traceon



cat >means-split.sps <<'_ATEOF'
data list notable list /b g *.
begin data
2    0
2    0
4    0
4    0
11   1
11   1
end data.

split file by g.

means b /cells = count mean.
_ATEOF


{ set +x
$as_echo "$at_srcdir/means.at:1065: pspp -O format=csv means-split.sps"
at_fn_check_prepare_trace "means.at:1065"
( $at_check_trace; pspp -O format=csv means-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 >>"$at_stdout"; $as_echo "Table: Case Processing Summary
,Cases,,,,,
,Included,,Excluded,,Total,
,N,Percent,N,Percent,N,Percent
b,4,100.0%,0,.0%,4,100.0%

Table: Report
N,Mean
4,3.00

Table: Case Processing Summary
,Cases,,,,,
,Included,,Excluded,,Total,
,N,Percent,N,Percent,N,Percent
b,2,100.0%,0,.0%,2,100.0%

Table: Report
N,Mean
2,11.00
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/means.at:1065"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'means.at:1091' \
  "MEANS formats" "                                  " 83
at_xfail=no
(
  $as_echo "616. $at_setup_line: testing $at_desc ..."
  $at_traceon



cat >means-formats.sps <<'_ATEOF'
data list notable list /hours (TIME11.0) rate (DOLLAR8.2).
begin data
12:00 4.09
14:01 5.23
end data.

means hours rate
 /cells = mean count max range.
_ATEOF


{ set +x
$as_echo "$at_srcdir/means.at:1105: pspp -O format=csv means-formats.sps"
at_fn_check_prepare_trace "means.at:1105"
( $at_check_trace; pspp -O format=csv means-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: Case Processing Summary
,Cases,,,,,
,Included,,Excluded,,Total,
,N,Percent,N,Percent,N,Percent
hours,2,100.0%,0,.0%,2,100.0%
rate,2,100.0%,0,.0%,2,100.0%

Table: hours * rate
,hours,rate
Mean,13:00:30,\$4.66
N,2,2
Maximum,14:01:00,\$5.23
Range,02:01:00,\$1.14
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/means.at:1105"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'npar.at:19' \
  "NPAR TESTS BINOMIAL P < 0.5; N1/N2 < 1" "         " 84
at_xfail=no
(
  $as_echo "617. $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,Group 1,1.000,6.000,.286,.300,.551
,Group 2,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_617
#AT_START_618
at_fn_group_banner 618 'npar.at:44' \
  "NPAR TESTS BINOMIAL P < 0.5; N1/N2 > 1" "         " 84
at_xfail=no
(
  $as_echo "618. $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,Group 1,1,7,.538,.400,.229
,Group 2,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_618
#AT_START_619
at_fn_group_banner 619 'npar.at:69' \
  "NPAR TESTS BINOMIAL P < 0.5; N1/N2 = 1" "         " 84
at_xfail=no
(
  $as_echo "619. $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,Group 1,1,8,.500,.400,.284
,Group 2,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_619
#AT_START_620
at_fn_group_banner 620 'npar.at:94' \
  "NPAR TESTS BINOMIAL P > 0.5; N1/N2 < 1" "         " 84
at_xfail=no
(
  $as_echo "620. $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,Group 1,1,11,.478,.600,.164
,Group 2,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_620
#AT_START_621
at_fn_group_banner 621 'npar.at:119' \
  "NPAR TESTS BINOMIAL P > 0.5; N1/N2 > 1" "         " 84
at_xfail=no
(
  $as_echo "621. $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,Group 1,1,11,.550,.600,.404
,Group 2,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_621
#AT_START_622
at_fn_group_banner 622 'npar.at:143' \
  "NPAR TESTS BINOMIAL P > 0.5; N1/N2 = 1" "         " 84
at_xfail=no
(
  $as_echo "622. $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,Group 1,1,11,.500,.600,.228
,Group 2,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_622
#AT_START_623
at_fn_group_banner 623 'npar.at:167' \
  "NPAR TESTS BINOMIAL P = 0.5; N1/N2 < 1" "         " 84
at_xfail=no
(
  $as_echo "623. $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,Group 1,1,8,.348,.500,.210
,Group 2,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_623
#AT_START_624
at_fn_group_banner 624 'npar.at:192' \
  "NPAR TESTS BINOMIAL P = 0.5; N1/N2 > 1" "         " 84
at_xfail=no
(
  $as_echo "624. $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,Group 1,1,12,.667,.500,.238
,Group 2,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_624
#AT_START_625
at_fn_group_banner 625 'npar.at:216' \
  "NPAR TESTS BINOMIAL P = 0.5; N1/N2 = 1" "         " 84
at_xfail=no
(
  $as_echo "625. $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,Group 1,1,10,.500,.500,1.000
,Group 2,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_625
#AT_START_626
at_fn_group_banner 626 'npar.at:241' \
  "NPAR TESTS BINOMIAL P = 0.5; N1/N2 = 1 Cutpoint" "" 84
at_xfail=no
(
  $as_echo "626. $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,Group 1,<= 10,10.000,.385,.500,.327
,Group 2,,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_626
#AT_START_627
at_fn_group_banner 627 'npar.at:267' \
  "NPAR TESTS BINOMIAL P = 0.5; N1/N2 = 1 Named values" "" 84
at_xfail=no
(
  $as_echo "627. $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,Group 1,10.000,10.000,.435,.500,.678
,Group 2,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_627
#AT_START_628
at_fn_group_banner 628 'npar.at:296' \
  "NPAR TESTS BINOMIAL - crash" "                    " 84
at_xfail=no
(
  $as_echo "628. $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_628
#AT_START_629
at_fn_group_banner 629 'npar.at:315' \
  "NPAR TESTS CHISQUARE" "                           " 84
at_xfail=no
(
  $as_echo "629. $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
Value,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
Value,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
,Chi-square,df,Asymp. Sig.
x,3.14,5,.678
y,6.00,3,.112

Table: y
Value,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
,Chi-square,df,Asymp. Sig.
y,10.61,3,.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
,Chi-square,df,Asymp. Sig.
x,.13,2,.936
y,4.13,2,.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_629
#AT_START_630
at_fn_group_banner 630 'npar.at:397' \
  "NPAR TESTS CHISQUARE expected values missing" "   " 84
at_xfail=no
(
  $as_echo "630. $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:418: pspp -O format=csv npar.sps"
at_fn_check_prepare_trace "npar.at:418"
( $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 variable y has 4 distinct values.\"

Table: Test Statistics
,Chi-square,df,Asymp. Sig.
y,.00,0,1.000
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/npar.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_630
#AT_START_631
at_fn_group_banner 631 'npar.at:428' \
  "NPAR TESTS CHISQUARE with DESCRIPTIVES" "         " 84
at_xfail=no
(
  $as_echo "631. $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:453: pspp -O format=csv npar.sps"
at_fn_check_prepare_trace "npar.at:453"
( $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
,Chi-square,df,Asymp. Sig.
x,17.33,7,.015
y,22.87,7,.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: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_631
#AT_START_632
at_fn_group_banner 632 'npar.at:479' \
  "NPAR TESTS CHISQUARE, listwise missing" "         " 84
at_xfail=no
(
  $as_echo "632. $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:504: pspp -O format=csv npar.sps"
at_fn_check_prepare_trace "npar.at:504"
( $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
,Chi-square,df,Asymp. Sig.
x,13.43,7,.062
y,26.00,7,.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: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_632
#AT_START_633
at_fn_group_banner 633 'npar.at:530' \
  "NPAR TESTS WILCOXON" "                            " 84
at_xfail=no
(
  $as_echo "633. $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:560: pspp -O format=csv npar.sps"
at_fn_check_prepare_trace "npar.at:560"
( $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:560"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'npar.at:578' \
  "NPAR TESTS WILCOXON with missing values" "        " 84
at_xfail=no
(
  $as_echo "634. $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:609: pspp -O format=csv npar.sps"
at_fn_check_prepare_trace "npar.at:609"
( $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:609"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'npar.at:626' \
  "NPAR TESTS SIGN" "                                " 84
at_xfail=no
(
  $as_echo "635. $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:646: pspp -o pspp.csv npar.sps"
at_fn_check_prepare_trace "npar.at:646"
( $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:646"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/npar.at:649: 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:649"
( $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:649"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'npar.at:670' \
  "NPAR Kruskal-Wallis test" "                       " 84
at_xfail=no
(
  $as_echo "636. $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:704: pspp -o pspp.csv -o pspp.txt kw-simple.sps"
at_fn_check_prepare_trace "npar.at:704"
( $at_check_trace; pspp -o pspp.csv -o pspp.txt 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:704"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/npar.at:705: cat pspp.csv"
at_fn_check_prepare_trace "npar.at:705"
( $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
,,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:705"
$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:757: pspp -o pspp2.csv kw-missing-group.sps"
at_fn_check_prepare_trace "npar.at:757"
( $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:757"
$at_failed && at_fn_log_failure
$at_traceon; }


{ set +x
$as_echo "$at_srcdir/npar.at:760: diff pspp.csv pspp2.csv"
at_fn_check_prepare_trace "npar.at:760"
( $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:760"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'npar.at:765' \
  "NPAR Kruskal-Wallis multiple-variables" "         " 84
at_xfail=no
(
  $as_echo "637. $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:808: pspp -o pspp.csv kw-multi.sps"
at_fn_check_prepare_trace "npar.at:808"
( $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:808"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/npar.at:809: cat pspp.csv"
at_fn_check_prepare_trace "npar.at:809"
( $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
,,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:809"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'npar.at:832' \
  "NPAR TESTS Runs" "                                " 84
at_xfail=no
(
  $as_echo "638. $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:884: pspp -O format=csv npar-runs.sps"
at_fn_check_prepare_trace "npar.at:884"
( $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),.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),.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),.000
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/npar.at:884"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'npar.at:920' \
  "NPAR TESTS Runs (2)" "                            " 84
at_xfail=no
(
  $as_echo "639. $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:929: pspp -O format=csv npar-runs.sps"
at_fn_check_prepare_trace "npar.at:929"
( $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:929"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'npar.at:943' \
  "NPAR TESTS Friedman" "                            " 84
at_xfail=no
(
  $as_echo "640. $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:964: pspp -O format=csv npar-friedman.sps"
at_fn_check_prepare_trace "npar.at:964"
( $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:964"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'npar.at:982' \
  "NPAR TESTS Mann-Whitney" "                        " 84
at_xfail=no
(
  $as_echo "641. $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:1028: pspp -O format=csv npar-mann-whitney.sps"
at_fn_check_prepare_trace "npar.at:1028"
( $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
height,0,15,14.5333,218.0000
,1,15,16.4667,247.0000
,Total,30,,

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:1028"
$at_failed && at_fn_log_failure
$at_traceon; }



  set +x
  $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 'npar.at:1044' \
  "NPAR TESTS Mann-Whitney Multiple" "               " 84
at_xfail=no
(
  $as_echo "642. $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:1069: pspp -O format=csv npar-mann-whitney.sps"
at_fn_check_prepare_trace "npar.at:1069"
( $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
IOS: Familie,.000,114,110.018,12542.000
,1.000,115,119.939,13793.000
,Total,229,,
IOS: Freunde,.000,115,108.339,12459.000
,1.000,115,122.661,14106.000
,Total,230,,
IOS: Partner*in,.000,97,95.351,9249.000
,1.000,91,93.593,8517.000
,Total,188,,
IOS: Bekannte,.000,115,111.065,12772.500
,1.000,115,119.935,13792.500
,Total,230,,

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:1069"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'npar.at:1097' \
  "NPAR TESTS Cochran" "                             " 84
at_xfail=no
(
  $as_echo "643. $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:1119: pspp -o pspp.csv npar-cochran.sps"
at_fn_check_prepare_trace "npar.at:1119"
( $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:1119"
$at_failed && at_fn_log_failure
$at_traceon; }


{ set +x
$as_echo "$at_srcdir/npar.at:1121: cat pspp.csv"
at_fn_check_prepare_trace "npar.at:1121"
( $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
,Value
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:1121"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'npar.at:1145' \
  "NPAR TESTS Kendall" "                             " 84
at_xfail=no
(
  $as_echo "644. $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:1189: pspp -o pspp.csv npar-kendall.sps"
at_fn_check_prepare_trace "npar.at:1189"
( $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:1189"
$at_failed && at_fn_log_failure
$at_traceon; }


{ set +x
$as_echo "$at_srcdir/npar.at:1191: cat pspp.csv"
at_fn_check_prepare_trace "npar.at:1191"
( $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:1191"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'npar.at:1210' \
  "NPAR TESTS McNemar" "                             " 84
at_xfail=no
(
  $as_echo "645. $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:1242: pspp -O format=csv mcnemar.sps"
at_fn_check_prepare_trace "npar.at:1242"
( $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
,v2,
v1,.000,1.000
.000,4,9
1.000,2,5

Table: v1 & junk
,junk,
v1,.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:1242"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'npar.at:1264' \
  "NPAR TESTS McNemar Symetricity" "                 " 84
at_xfail=no
(
  $as_echo "646. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >mcnemar.sps <<'_ATEOF'
data list notable list /var1 var2 w (F2.0).
begin data
0 0 9
0 1 8
1 0 1
1 1 5
end data.

weight by w.

NPAR TEST
	/MCNEMAR var1 WITH  var2 (PAIRED).

NPAR TEST
	/MCNEMAR var2 WITH  var1 (PAIRED).
_ATEOF


{ set +x
$as_echo "$at_srcdir/npar.at:1284: pspp -O format=csv mcnemar.sps"
at_fn_check_prepare_trace "npar.at:1284"
( $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: var1 & var2
,var2,
var1,0,1
0,9,8
1,1,5

Table: Test Statistics
,N,Exact Sig. (2-tailed),Exact Sig. (1-tailed),Point Probability
var1 & var2,23,.039,.020,.02

Table: var2 & var1
,var1,
var2,0,1
0,9,1
1,8,5

Table: Test Statistics
,N,Exact Sig. (2-tailed),Exact Sig. (1-tailed),Point Probability
var2 & var1,23,.039,.020,.02
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/npar.at:1284"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'npar.at:1308' \
  "NPAR TESTS Kolmogorov-Smirnov Uniform parameters given" "" 84
at_xfail=no
(
  $as_echo "647. $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:1329: pspp -O format=csv ks-uniform.sps"
at_fn_check_prepare_trace "npar.at:1329"
( $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:1329"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'npar.at:1345' \
  "NPAR TESTS Kolmogorov-Smirnov Normal parameters imputed" "" 84
at_xfail=no
(
  $as_echo "648. $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:1532: pspp -O format=csv ks-normal.sps"
at_fn_check_prepare_trace "npar.at:1532"
( $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:1532"
$at_failed && at_fn_log_failure
$at_traceon; }



  set +x
  $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 'npar.at:1549' \
  "NPAR TESTS Median Test (median imputed)" "        " 84
at_xfail=no
(
  $as_echo "649. $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:1599: pspp -O format=csv median1.sps"
at_fn_check_prepare_trace "npar.at:1599"
( $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:1599"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'npar.at:1614' \
  "NPAR TESTS Median Test (median given)" "          " 84
at_xfail=no
(
  $as_echo "650. $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:1662: pspp -O format=csv median2.sps"
at_fn_check_prepare_trace "npar.at:1662"
( $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:1662"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'npar.at:1677' \
  "NPAR TESTS Median Test (two sample)" "            " 84
at_xfail=no
(
  $as_echo "651. $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:1725: pspp -O format=csv median3.sps"
at_fn_check_prepare_trace "npar.at:1725"
( $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:1725"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'npar.at:1743' \
  "NPAR TESTS Jonckheere-Terpstra" "                 " 84
at_xfail=no
(
  $as_echo "652. $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:1776: pspp -O format=csv jt.sps"
at_fn_check_prepare_trace "npar.at:1776"
( $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:1776"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'npar.at:1786' \
  "NPAR TESTS (PAIRED)" "                            " 84
at_xfail=no
(
  $as_echo "653. $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:1800: pspp -O format=csv npar.sps"
at_fn_check_prepare_trace "npar.at:1800"
( $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:1800"
$at_failed && at_fn_log_failure
$at_traceon; }



  set +x
  $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 'npar.at:1823' \
  "NPAR TESTS CHISQUARE crash" "                     " 84
at_xfail=no
(
  $as_echo "654. $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:1847: pspp -O format=csv npar.sps"
at_fn_check_prepare_trace "npar.at:1847"
( $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:1847"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'npar.at:1852' \
  "NPAR TESTS - crash on invalid syntax" "           " 84
at_xfail=no
(
  $as_echo "655. $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:1869: pspp -O format=csv npar.sps"
at_fn_check_prepare_trace "npar.at:1869"
( $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:1869"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'npar.at:1876' \
  "NPAR TESTS - crash on unterminated string" "      " 84
at_xfail=no
(
  $as_echo "656. $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:1893: pspp -O format=csv npar.sps"
at_fn_check_prepare_trace "npar.at:1893"
( $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:1893"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'oneway.at:19' \
  "ONEWAY basic operation" "                         " 85
at_xfail=no
(
  $as_echo "657. $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:54: pspp -o pspp.csv -o pspp.txt oneway.sps"
at_fn_check_prepare_trace "oneway.at:54"
( $at_check_trace; pspp -o pspp.csv -o pspp.txt oneway.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_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:54"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/oneway.at:55: cat pspp.csv"
at_fn_check_prepare_trace "oneway.at:55"
( $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: Descriptives
,,N,Mean,Std. Deviation,Std. Error,95% Confidence Interval for Mean,,Minimum,Maximum
,Manufacturer,,,,,Lower Bound,Upper Bound,,
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,,
Contrast,Aspeger,Bloggs,Charlies
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.00,.029
,,2,1.80,.89,2.03,12.00,.065
,Does not assume equal variances,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: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_657
#AT_START_658
at_fn_group_banner 658 'oneway.at:90' \
  "ONEWAY with splits" "                             " 85
at_xfail=no
(
  $as_echo "658. $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:127: pspp -o pspp.csv -o pspp.txt oneway-splits.sps"
at_fn_check_prepare_trace "oneway.at:127"
( $at_check_trace; pspp -o pspp.csv -o pspp.txt 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=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/oneway.at:127"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/oneway.at:128: cat pspp.csv"
at_fn_check_prepare_trace "oneway.at:128"
( $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: Split Values
Variable,Value
S,1.00

Table: Descriptives
,,N,Mean,Std. Deviation,Std. Error,95% Confidence Interval for Mean,,Minimum,Maximum
,Manufacturer,,,,,Lower Bound,Upper Bound,,
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,
Contrast,Aspeger,Bloggs
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.00,.349
,,2,1.30,1.26,1.03,5.00,.349
,Does not assume equal variances,1,2.60,3.22,.81,1.32,.539
,,2,1.30,1.61,.81,1.32,.539

Table: Split Values
Variable,Value
S,2.00

Table: Descriptives
,,N,Mean,Std. Deviation,Std. Error,95% Confidence Interval for Mean,,Minimum,Maximum
,Manufacturer,,,,,Lower Bound,Upper Bound,,
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,
Contrast,Bloggs,Charlies
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.00,.101
,,2,2.00,1.03,1.94,6.00,.101
,Does not assume equal variances,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: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_658
#AT_START_659
at_fn_group_banner 659 'oneway.at:200' \
  "ONEWAY with missing values" "                     " 85
at_xfail=no
(
  $as_echo "659. $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:261: pspp -O format=csv oneway-missing1.sps > first.out"
at_fn_check_prepare_trace "oneway.at:261"
( $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:261"
$at_failed && at_fn_log_failure
$at_traceon; }


{ set +x
$as_echo "$at_srcdir/oneway.at:263: pspp -O format=csv oneway-missing2.sps > second.out"
at_fn_check_prepare_trace "oneway.at:263"
( $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:263"
$at_failed && at_fn_log_failure
$at_traceon; }


{ set +x
$as_echo "$at_srcdir/oneway.at:265: diff first.out second.out"
at_fn_check_prepare_trace "oneway.at:265"
( $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:265"
$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:296: pspp -O format=csv oneway-missing3.sps > third.out"
at_fn_check_prepare_trace "oneway.at:296"
( $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:296"
$at_failed && at_fn_log_failure
$at_traceon; }


{ set +x
$as_echo "$at_srcdir/oneway.at:298: diff first.out third.out"
at_fn_check_prepare_trace "oneway.at:298"
( $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:298"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'oneway.at:306' \
  "ONEWAY descriptives subcommand" "                 " 85
at_xfail=no
(
  $as_echo "660. $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:336: pspp -O format=csv oneway-descriptives.sps"
at_fn_check_prepare_trace "oneway.at:336"
( $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
,,N,Mean,Std. Deviation,Std. Error,95% Confidence Interval for Mean,,Minimum,Maximum
,BRAND,,,,,Lower Bound,Upper Bound,,
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:336"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'oneway.at:356' \
  "ONEWAY homogeneity subcommand" "                  " 85
at_xfail=no
(
  $as_echo "661. $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:386: pspp -O format=csv oneway-homogeneity.sps"
at_fn_check_prepare_trace "oneway.at:386"
( $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:386"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'oneway.at:402' \
  "ONEWAY multiple variables" "                      " 85
at_xfail=no
(
  $as_echo "662. $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:443: pspp -o pspp.csv -o pspp.txt multivar.sps"
at_fn_check_prepare_trace "oneway.at:443"
( $at_check_trace; pspp -o pspp.csv -o pspp.txt 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:443"
$at_failed && at_fn_log_failure
$at_traceon; }


{ set +x
$as_echo "$at_srcdir/oneway.at:446: sed 's/^,Within Groups,3.88/,Within Groups,3.87/' pspp.csv"
at_fn_check_prepare_trace "oneway.at:446"
( $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
,,N,Mean,Std. Deviation,Std. Error,95% Confidence Interval for Mean,,Minimum,Maximum
,g,,,,,Lower Bound,Upper Bound,,
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,,,
Contrast,10.00,20.00,30.00,40.00
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.00,.280
,,2,6.26,12.32,.51,20.00,.617
,Does not assume equal variances,1,-7.40,10.04,-.74,4.53,1.503
,,2,6.26,5.85,1.07,2.87,.366
y,Assume equal variances,1,-6.88,1.16,5.94,20.00,.000
,,2,3.50,2.14,1.63,20.00,.118
,Does not assume equal variances,1,-6.88,.91,-7.51,7.00,2.000
,,2,3.50,1.32,2.65,7.00,.033
z,Assume equal variances,1,-9.70,8.07,1.20,20.00,.243
,,2,11.73,14.91,.79,20.00,.440
,Does not assume equal variances,1,-9.70,9.57,-1.01,3.64,1.627
,,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:446"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'oneway.at:511' \
  "ONEWAY vs. weights" "                             " 85
at_xfail=no
(
  $as_echo "663. $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:546: pspp -o pspp-unweighted.csv oneway-unweighted.sps"
at_fn_check_prepare_trace "oneway.at:546"
( $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:546"
$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:575: pspp -o pspp-weighted.csv oneway-weighted.sps"
at_fn_check_prepare_trace "oneway.at:575"
( $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:575"
$at_failed && at_fn_log_failure
$at_traceon; }


{ set +x
$as_echo "$at_srcdir/oneway.at:577: diff pspp-weighted.csv pspp-unweighted.csv"
at_fn_check_prepare_trace "oneway.at:577"
( $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: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_663
#AT_START_664
at_fn_group_banner 664 'oneway.at:583' \
  "ONEWAY posthoc LSD and BONFERRONI" "              " 85
at_xfail=no
(
  $as_echo "664. $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:618: pspp -o pspp.csv -o pspp.txt oneway-pig.sps"
at_fn_check_prepare_trace "oneway.at:618"
( $at_check_trace; pspp -o pspp.csv -o pspp.txt 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=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/oneway.at:618"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/oneway.at:619: cat pspp.csv"
at_fn_check_prepare_trace "oneway.at:619"
( $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: Descriptives
,,N,Mean,Std. Deviation,Std. Error,95% Confidence Interval for Mean,,Minimum,Maximum
,family,,,,,Lower Bound,Upper Bound,,
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 (I - J),Std. Error,Sig.,95% Confidence Interval,
,(J) Family,(J) Family,,,,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: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_664
#AT_START_665
at_fn_group_banner 665 'oneway.at:666' \
  "ONEWAY posthoc Tukey HSD and Games-Howell" "      " 85
at_xfail=no
(
  $as_echo "665. $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:697: pspp -o pspp.csv -o pspp.txt oneway-tukey.sps"
at_fn_check_prepare_trace "oneway.at:697"
( $at_check_trace; pspp -o pspp.csv -o pspp.txt 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=:
at_fn_diff_devnull "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/oneway.at:697"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/oneway.at:698: cat pspp.csv"
at_fn_check_prepare_trace "oneway.at:698"
( $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: 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 (I - J),Std. Error,Sig.,95% Confidence Interval,
,(J) Family,(J) Family,,,,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.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:698"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'oneway.at:724' \
  "ONEWAY posthoc Sidak" "                           " 85
at_xfail=no
(
  $as_echo "666. $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:759: pspp -O format=csv oneway-sidak.sps"
at_fn_check_prepare_trace "oneway.at:759"
( $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 (I - J),Std. Error,Sig.,95% Confidence Interval,
,(J) Family,(J) Family,,,,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:759"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'oneway.at:785' \
  "ONEWAY posthoc Scheffe" "                         " 85
at_xfail=no
(
  $as_echo "667. $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:841: pspp -O format=csv oneway-scheffe.sps"
at_fn_check_prepare_trace "oneway.at:841"
( $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 (I - J),Std. Error,Sig.,95% Confidence Interval,
,(J) Family,(J) Family,,,,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:841"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'oneway.at:868' \
  "ONEWAY bad contrast count" "                      " 85
at_xfail=no
(
  $as_echo "668. $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:893: pspp -o pspp.csv -o pspp.txt oneway-bad-contrast.sps"
at_fn_check_prepare_trace "oneway.at:893"
( $at_check_trace; pspp -o pspp.csv -o pspp.txt 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.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/oneway.at:893"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/oneway.at:896: cat pspp.csv"
at_fn_check_prepare_trace "oneway.at:896"
( $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 "\"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,
Contrast,.00,1.00
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.00,.000
,,2,-666.80,60.68,10.99,6.00,.000
,,3,-2000.40,182.03,10.99,6.00,.000
,Does not assume equal variances,1,-222.27,27.67,-8.03,2.00,1.985
,,2,-666.80,83.02,-8.03,2.00,1.985
,,3,-2000.40,249.07,-8.03,2.00,1.985
weight,Assume equal variances,1,-36.16,2.74,13.21,6.00,.000
,,2,-108.48,8.21,13.21,6.00,.000
,,3,-325.44,24.63,13.21,6.00,.000
,Does not assume equal variances,1,-36.16,2.19,-16.48,5.42,2.000
,,2,-108.48,6.58,-16.48,5.42,2.000
,,3,-325.44,19.75,-16.48,5.42,2.000
temperature,Assume equal variances,1,-.98,2.74,.36,6.00,.733
,,2,-2.94,8.22,.36,6.00,.733
,,3,-8.83,24.67,.36,6.00,.733
,Does not assume equal variances,1,-.98,2.07,-.47,4.19,1.340
,,2,-2.94,6.22,-.47,4.19,1.340
,,3,-8.83,18.66,-.47,4.19,1.340
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/oneway.at:896"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'oneway.at:942' \
  "ONEWAY crash on single category independent variable" "" 85
at_xfail=no
(
  $as_echo "669. $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:958: pspp -O format=csv crash.sps"
at_fn_check_prepare_trace "oneway.at:958"
( $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:958"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'oneway.at:964' \
  "ONEWAY crash on missing dependent variable" "     " 85
at_xfail=no
(
  $as_echo "670. $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:986: pspp -O format=csv crash2.sps"
at_fn_check_prepare_trace "oneway.at:986"
( $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:986"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'oneway.at:993' \
  "ONEWAY Games-Howell test with few cases" "        " 85
at_xfail=no
(
  $as_echo "671. $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:1011: pspp -O format=csv crash3.sps"
at_fn_check_prepare_trace "oneway.at:1011"
( $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: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_671
#AT_START_672
at_fn_group_banner 672 'oneway.at:1016' \
  "ONEWAY Crash on empty data" "                     " 85
at_xfail=no
(
  $as_echo "672. $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:1033: pspp -O format=csv crash4.sps"
at_fn_check_prepare_trace "oneway.at:1033"
( $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:1033"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'oneway.at:1039' \
  "ONEWAY Crash on invalid dependent variable" "     " 85
at_xfail=no
(
  $as_echo "673. $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:1053: pspp -O format=csv crash5.sps"
at_fn_check_prepare_trace "oneway.at:1053"
( $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:1053"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'oneway.at:1060' \
  "ONEWAY Crash on unterminated string" "            " 85
at_xfail=no
(
  $as_echo "674. $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:1075: pspp -O format=csv crash6.sps"
at_fn_check_prepare_trace "oneway.at:1075"
( $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:1075"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'quick-cluster.at:19' \
  "QUICK CLUSTER with small data set" "              " 86
at_xfail=no
(
  $as_echo "675. $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
,,Count
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_675
#AT_START_676
at_fn_group_banner 676 'quick-cluster.at:61' \
  "QUICK CLUSTER with large data set" "              " 86
at_xfail=no
(
  $as_echo "676. $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
,,Count
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_676
#AT_START_677
at_fn_group_banner 677 'quick-cluster.at:91' \
  "QUICK CLUSTER with weights" "                     " 86
at_xfail=no
(
  $as_echo "677. $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:112: pspp -o pspp-w.csv qc-weighted.sps"
at_fn_check_prepare_trace "quick-cluster.at:112"
( $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:112"
$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:127: pspp -o pspp-unw.csv qc-unweighted.sps"
at_fn_check_prepare_trace "quick-cluster.at:127"
( $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:127"
$at_failed && at_fn_log_failure
$at_traceon; }


{ set +x
$as_echo "$at_srcdir/quick-cluster.at:129: diff pspp-w.csv pspp-unw.csv"
at_fn_check_prepare_trace "quick-cluster.at:129"
( $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:129"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'quick-cluster.at:133' \
  "QUICK CLUSTER with listwise missing" "            " 86
at_xfail=no
(
  $as_echo "678. $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:149: pspp -o pspp-m.csv quick-miss.sps"
at_fn_check_prepare_trace "quick-cluster.at:149"
( $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:149"
$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:165: pspp -o pspp-nm.csv quick-nmiss.sps"
at_fn_check_prepare_trace "quick-cluster.at:165"
( $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:165"
$at_failed && at_fn_log_failure
$at_traceon; }


{ set +x
$as_echo "$at_srcdir/quick-cluster.at:167: diff pspp-m.csv pspp-nm.csv"
at_fn_check_prepare_trace "quick-cluster.at:167"
( $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: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_678
#AT_START_679
at_fn_group_banner 679 'quick-cluster.at:172' \
  "QUICK CLUSTER with pairwise missing" "            " 86
at_xfail=no
(
  $as_echo "679. $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:201: pspp -O format=csv quick-s.sps  > pspp-s.csv"
at_fn_check_prepare_trace "quick-cluster.at:201"
( $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:201"
$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:227: pspp -O format=csv quick-pw.sps  > pspp-pw.csv"
at_fn_check_prepare_trace "quick-cluster.at:227"
( $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:227"
$at_failed && at_fn_log_failure
$at_traceon; }


{ set +x
$as_echo "$at_srcdir/quick-cluster.at:229: head -n 13  pspp-s.csv > top-s.csv"
at_fn_check_prepare_trace "quick-cluster.at:229"
( $at_check_trace; head -n 13  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:229"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/quick-cluster.at:230: head -n 13  pspp-pw.csv > top-pw.csv"
at_fn_check_prepare_trace "quick-cluster.at:230"
( $at_check_trace; head -n 13  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:230"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/quick-cluster.at:231: diff top-s.csv top-pw.csv"
at_fn_check_prepare_trace "quick-cluster.at:231"
( $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:231"
$at_failed && at_fn_log_failure
$at_traceon; }



{ set +x
$as_echo "$at_srcdir/quick-cluster.at:234: grep Valid pspp-s.csv"
at_fn_check_prepare_trace "quick-cluster.at:234"
( $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:234"
$at_failed && at_fn_log_failure
$at_traceon; }


{ set +x
$as_echo "$at_srcdir/quick-cluster.at:237: grep Valid pspp-pw.csv"
at_fn_check_prepare_trace "quick-cluster.at:237"
( $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: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_679
#AT_START_680
at_fn_group_banner 680 'quick-cluster.at:245' \
  "QUICK CLUSTER crash on bad cluster quantity" "    " 86
at_xfail=no
(
  $as_echo "680. $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:258: pspp -O format=csv badn.sps"
at_fn_check_prepare_trace "quick-cluster.at:258"
( $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: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_680
#AT_START_681
at_fn_group_banner 681 'quick-cluster.at:262' \
  "QUICK CLUSTER infinite loop on bad command name" "" 86
at_xfail=no
(
  $as_echo "681. $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:272: pspp -O format=csv quick-cluster.sps"
at_fn_check_prepare_trace "quick-cluster.at:272"
( $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: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_681
#AT_START_682
at_fn_group_banner 682 'quick-cluster.at:279' \
  "QUICK CLUSTER /PRINT subcommand" "                " 86
at_xfail=no
(
  $as_echo "682. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >quick-cluster.sps <<'_ATEOF'
data list notable list /cluster (A8) x y (F8.0).
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:347: pspp -O format=csv quick-cluster.sps"
at_fn_check_prepare_trace "quick-cluster.at:347"
( $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
,,Count
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: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_682
#AT_START_683
at_fn_group_banner 683 'quick-cluster.at:432' \
  "QUICK CLUSTER -- Empty Parentheses" "             " 86
at_xfail=no
(
  $as_echo "683. $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:446: pspp -o pspp.csv empty-parens.sps"
at_fn_check_prepare_trace "quick-cluster.at:446"
( $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:446"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'quick-cluster.at:452' \
  "QUICK CLUSTER with save" "                        " 86
at_xfail=no
(
  $as_echo "684. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >quick-cluster.sps <<'_ATEOF'
DATA LIST notable 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)
  /SAVE = CLUSTER (cluster) DISTANCE (distance).

list.
_ATEOF


{ set +x
$as_echo "$at_srcdir/quick-cluster.at:475: pspp -O format=csv quick-cluster.sps"
at_fn_check_prepare_trace "quick-cluster.at:475"
( $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: 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
,,Count
Cluster,1,6
,2,5
Valid,,11

Table: Data List
x,y,z,cluster,distance
22.00,2930.00,4099.00,2.00,1010.98
17.00,3350.00,4749.00,2.00,324.79
22.00,2640.00,3799.00,2.00,1399.00
20.00,3250.00,4816.00,2.00,242.00
15.00,4080.00,7827.00,2.00,2890.72
4.00,5.00,4.00,1.00,4.33
5.00,6.00,5.00,1.00,2.60
6.00,7.00,6.00,1.00,.87
7.00,8.00,7.00,1.00,.87
8.00,9.00,8.00,1.00,2.60
9.00,10.00,9.00,1.00,4.33
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/quick-cluster.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_684
#AT_START_685
at_fn_group_banner 685 'quick-cluster.at:506' \
  "QUICK CLUSTER with single save" "                 " 86
at_xfail=no
(
  $as_echo "685. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >quick-cluster.sps <<'_ATEOF'
DATA LIST notable 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)
  /SAVE = DISTANCE.

list.
_ATEOF


{ set +x
$as_echo "$at_srcdir/quick-cluster.at:529: pspp -O format=csv quick-cluster.sps"
at_fn_check_prepare_trace "quick-cluster.at:529"
( $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: 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
,,Count
Cluster,1,6
,2,5
Valid,,11

Table: Data List
x,y,z,QCL_0
22.00,2930.00,4099.00,1010.98
17.00,3350.00,4749.00,324.79
22.00,2640.00,3799.00,1399.00
20.00,3250.00,4816.00,242.00
15.00,4080.00,7827.00,2890.72
4.00,5.00,4.00,4.33
5.00,6.00,5.00,2.60
6.00,7.00,6.00,.87
7.00,8.00,7.00,.87
8.00,9.00,8.00,2.60
9.00,10.00,9.00,4.33
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/quick-cluster.at:529"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'quick-cluster.at:561' \
  "QUICK CLUSTER crash on bizarre input" "           " 86
at_xfail=no
(
  $as_echo "686. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >badn.sps <<'_ATEOF'
data list notable list /x.
begin da\a*
22
17
22
22
15
4,
5,
6,
7,j8,
9,
end data.

quick cluster x
" /criteria=cluster(2) mxiter(20)
  /save = distance
  .

list.
_ATEOF


{ set +x
$as_echo "$at_srcdir/quick-cluster.at:585: pspp -O format=csv badn.sps"
at_fn_check_prepare_trace "quick-cluster.at:585"
( $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:585"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'rank.at:19' \
  "RANK simple case with defaults" "                 " 87
at_xfail=no
(
  $as_echo "687. $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 "Table: Variables Created by RANK
Existing Variable,New Variable,Function
x,Rx,RANK

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_687
#AT_START_688
at_fn_group_banner 688 'rank.at:57' \
  "RANK multiple variables with defaults" "          " 87
at_xfail=no
(
  $as_echo "688. $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:69: pspp -o pspp.csv rank.sps"
at_fn_check_prepare_trace "rank.at:69"
( $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:69"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/rank.at:70: cat pspp.csv"
at_fn_check_prepare_trace "rank.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: Variables Created by RANK
Existing Variable,New Variable,Function
x,Rx,RANK
y,Ry,RANK
z,Rz,RANK

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: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_688
#AT_START_689
at_fn_group_banner 689 'rank.at:84' \
  "RANK with RANK, RFRACTION, N" "                   " 87
at_xfail=no
(
  $as_echo "689. $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:112: pspp -o pspp.csv rank.sps"
at_fn_check_prepare_trace "rank.at:112"
( $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:112"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/rank.at:113: cat pspp.csv"
at_fn_check_prepare_trace "rank.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 "Table: Variables Created by RANK
Existing Variable,New Variable,Function
a,Ra,RANK
b,Rb,RANK
a,RFR001,RFRACTION
b,RFR002,RFRACTION
a,count,N
b,Nb,N

Table: Variables
Name,Position,Label,Measurement Level,Role,Width,Alignment,Print Format,Write Format,Missing Values
a,1,,Scale,Input,8,Right,F8.2,F8.2,
b,2,,Scale,Input,8,Right,F8.2,F8.2,
Ra,3,RANK of a,Scale,Input,8,Right,F9.3,F9.3,
RFR001,4,RFRACTION of a,Scale,Input,8,Right,F6.4,F6.4,
count,5,N of a,Scale,Input,8,Right,F6.0,F6.0,
Rb,6,RANK of b,Scale,Input,8,Right,F9.3,F9.3,
RFR002,7,RFRACTION of b,Scale,Input,8,Right,F6.4,F6.4,
Nb,8,N of b,Scale,Input,8,Right,F6.0,F6.0,

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: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_689
#AT_START_690
at_fn_group_banner 690 'rank.at:149' \
  "RANK with SAVAGE, PERCENT, PROPORTION, NTILES" "  " 87
at_xfail=no
(
  $as_echo "690. $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:177: pspp -o pspp.csv rank.sps"
at_fn_check_prepare_trace "rank.at:177"
( $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:177"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/rank.at:178: cat pspp.csv"
at_fn_check_prepare_trace "rank.at:178"
( $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: Variables Created by RANK
Existing Variable,New Variable,Function,Fraction
a,Sa,SAVAGE,
a,Pa,PERCENT,
a,PRO001,PROPORTION,BLOM
a,Na,NTILES,
a,NOR001,NORMAL,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: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_690
#AT_START_691
at_fn_group_banner 691 'rank.at:202' \
  "RANK with SPLIT FILE" "                           " 87
at_xfail=no
(
  $as_echo "691. $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:250: pspp -o pspp.csv rank.sps"
at_fn_check_prepare_trace "rank.at:250"
( $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:250"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/rank.at:251: cat pspp.csv"
at_fn_check_prepare_trace "rank.at:251"
( $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: Variables Created by RANK
Existing Variable,New Variable,Function,Fraction,Grouping Variables
a,Ra,RANK,,g2 g1
a,Na,NORMAL,RANKIT,g2 g1

Table: Variables Created by RANK
Existing Variable,New Variable,Function,Fraction,Grouping Variables
a,RAN001,RANK,,g2
a,NOR001,NORMAL,RANKIT,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: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_691
#AT_START_692
at_fn_group_banner 692 'rank.at:286' \
  "RANK with fractional ranks" "                     " 87
at_xfail=no
(
  $as_echo "692. $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:310: pspp -o pspp.csv rank.sps"
at_fn_check_prepare_trace "rank.at:310"
( $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:310"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/rank.at:311: cat pspp.csv"
at_fn_check_prepare_trace "rank.at:311"
( $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: Variables Created by RANK
Existing Variable,New Variable,Function,Fraction
a,Pa,PROPORTION,TUKEY
a,Sa,SAVAGE,

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:311"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'rank.at:330' \
  "RANK all-ties due to tiny weights" "              " 87
at_xfail=no
(
  $as_echo "693. $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:368: pspp -o pspp.csv rank.sps"
at_fn_check_prepare_trace "rank.at:368"
( $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:368"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/rank.at:369: cat pspp.csv"
at_fn_check_prepare_trace "rank.at:369"
( $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: Variables Created by RANK
Existing Variable,New Variable,Function
x,xl,RANK

Table: Variables Created by RANK
Existing Variable,New Variable,Function
x,xh,RANK

Table: Variables Created by RANK
Existing Variable,New Variable,Function
x,xc,RANK

Table: Variables Created by RANK
Existing Variable,New Variable,Function,Fraction
x,Nx,NORMAL,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:369"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'rank.at:399' \
  "RANK and TEMPORARY" "                             " 87
at_xfail=no
(
  $as_echo "694. $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:426: pspp -O format=csv rank.sps"
at_fn_check_prepare_trace "rank.at:426"
( $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 "Table: Variables Created by RANK
Existing Variable,New Variable,Function
age,Rm,RANK

Table: Variables Created by RANK
Existing Variable,New Variable,Function
age,Rf,RANK

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: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_694
#AT_START_695
at_fn_group_banner 695 'rank.at:451' \
  "RANK variable name fallback" "                    " 87
at_xfail=no
(
  $as_echo "695. $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:472: pspp -o pspp.csv rank.sps"
at_fn_check_prepare_trace "rank.at:472"
( $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:472"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/rank.at:473: cat pspp.csv"
at_fn_check_prepare_trace "rank.at:473"
( $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: Variables Created by RANK
Existing Variable,New Variable,Function
foo,RAN001,RANK

Table: Variables
Name,Position,Label,Measurement Level,Role,Width,Alignment,Print Format,Write Format,Missing Values
foo,1,,Scale,Input,8,Right,F8.2,F8.2,
rfoo,2,,Scale,Input,8,Right,F8.2,F8.2,
ran003,3,,Scale,Input,8,Right,F8.2,F8.2,
RAN001,4,RANK of foo,Scale,Input,8,Right,F9.3,F9.3,
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/rank.at:473"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'rank.at:487' \
  "RANK robust variable name creation" "             " 87
at_xfail=no
(
  $as_echo "696. $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:506: pspp -O format=csv rank.sps"
at_fn_check_prepare_trace "rank.at:506"
( $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.\"

Table: Variables Created by RANK
Existing Variable,New Variable,Function
x,RNKRA01,RANK

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:506"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'rank.at:538' \
  "RANK handling of invalid input" "                 " 87
at_xfail=no
(
  $as_echo "697. $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:555: pspp -O format=csv --testing-mode rank.sps"
at_fn_check_prepare_trace "rank.at:555"
( $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 "Table: Variables Created by RANK
Existing Variable,New Variable,Function
x,Rx,RANK

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:555"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'rank.at:564' \
  "RANK handling of invalid syntax" "                " 87
at_xfail=no
(
  $as_echo "698. $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:597: pspp -O format=csv rank.sps"
at_fn_check_prepare_trace "rank.at:597"
( $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:597"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'regression.at:19' \
  "LINEAR REGRESSION - basic" "                      " 88
at_xfail=no
(
  $as_echo "699. $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,t,Sig.
,B,Std. Error,Beta,,
(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_699
#AT_START_700
at_fn_group_banner 700 'regression.at:76' \
  "LINEAR REGRESSION - one save" "                   " 88
at_xfail=no
(
  $as_echo "700. $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,t,Sig.
,B,Std. Error,Beta,,
(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,t,Sig.
,B,Std. Error,Beta,,
(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_700
#AT_START_701
at_fn_group_banner 701 'regression.at:149' \
  "LINEAR REGRESSION - SAVE vs SPLITS" "             " 88
at_xfail=no
(
  $as_echo "701. $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_701
#AT_START_702
at_fn_group_banner 702 'regression.at:242' \
  "LINEAR REGRESSION multiple dependent variables" " " 88
at_xfail=no
(
  $as_echo "702. $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_702
#AT_START_703
at_fn_group_banner 703 'regression.at:274' \
  "LINEAR REGRESSION test of QR decomposition" "     " 88
at_xfail=no
(
  $as_echo "703. $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,t,Sig.
,B,Std. Error,Beta,,
(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_703
#AT_START_704
at_fn_group_banner 704 'regression.at:1807' \
  "LINEAR REGRESSION no crash on all missing" "      " 88
at_xfail=no
(
  $as_echo "704. $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_704
#AT_START_705
at_fn_group_banner 705 'regression.at:1833' \
  "LINEAR REGRESSION missing dependent variable" "   " 88
at_xfail=no
(
  $as_echo "705. $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_705
#AT_START_706
at_fn_group_banner 706 'regression.at:1890' \
  "LINEAR REGRESSION with invalid syntax (and empty dataset)" "" 88
at_xfail=no
(
  $as_echo "706. $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_706
#AT_START_707
at_fn_group_banner 707 'regression.at:1910' \
  "LINEAR REGRESSION coefficient confidence interval" "" 88
at_xfail=no
(
  $as_echo "707. $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,t,Sig.,95% Confidence Interval for B,
,B,Std. Error,Beta,,,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_707
#AT_START_708
at_fn_group_banner 708 'regression.at:2152' \
  "LINEAR REGRESSION crash with long string variables" "" 88
at_xfail=no
(
  $as_echo "708. $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,t,Sig.
,B,Std. Error,Beta,,
(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_708
#AT_START_709
at_fn_group_banner 709 'regression.at:2202' \
  "LINEAR REGRESSION -- Empty Parentheses" "         " 88
at_xfail=no
(
  $as_echo "709. $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_709
#AT_START_710
at_fn_group_banner 710 'regression.at:2227' \
  "LINEAR REGRESSION varibles on ENTER subcommand" " " 88
at_xfail=no
(
  $as_echo "710. $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,t,Sig.
,B,Std. Error,Beta,,
(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_710
#AT_START_711
at_fn_group_banner 711 'regression.at:2283' \
  "LINEAR REGRESSION /ORIGIN" "                      " 88
at_xfail=no
(
  $as_echo "711. $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,t,Sig.
,B,Std. Error,Beta,,
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_711
#AT_START_712
at_fn_group_banner 712 'regression.at:2340' \
  "REGRESSION tutorial example" "                    " 88
at_xfail=no
(
  $as_echo "712. $at_setup_line: testing $at_desc ..."
  $at_traceon

cp $top_srcdir/examples/repairs.sav .
cat >regression.sps <<'_ATEOF'
GET FILE='repairs.sav'.
REGRESSION /VARIABLES=mtbf duty_cycle /DEPENDENT=mttr.
REGRESSION /VARIABLES=mtbf /DEPENDENT=mttr.
_ATEOF

{ set +x
$as_echo "$at_srcdir/regression.at:2347: pspp -o pspp.csv -o pspp.txt regression.sps"
at_fn_check_prepare_trace "regression.at:2347"
( $at_check_trace; pspp -o pspp.csv -o pspp.txt 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:2347"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/regression.at:2348: cat pspp.csv"
at_fn_check_prepare_trace "regression.at:2348"
( $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 (Mean time to repair (hours) )
R,R Square,Adjusted R Square,Std. Error of the Estimate
.99,.99,.99,2.24

Table: ANOVA (Mean time to repair (hours) )
,Sum of Squares,df,Mean Square,F,Sig.
Regression,5308.87,2,2654.44,530.75,.000
Residual,60.02,12,5.00,,
Total,5368.89,14,,,

Table: Coefficients (Mean time to repair (hours) )
,Unstandardized Coefficients,,Standardized Coefficients,t,Sig.
,B,Std. Error,Beta,,
(Constant),9.81,1.50,.00,6.54,.000
Mean time between failures (months) ,3.10,.10,.99,32.43,.000
Ratio of working to non-working time,1.09,1.78,.02,.61,.552

Table: Model Summary (Mean time to repair (hours) )
R,R Square,Adjusted R Square,Std. Error of the Estimate
.99,.99,.99,2.18

Table: ANOVA (Mean time to repair (hours) )
,Sum of Squares,df,Mean Square,F,Sig.
Regression,5307.00,1,5307.00,1114.73,.000
Residual,61.89,13,4.76,,
Total,5368.89,14,,,

Table: Coefficients (Mean time to repair (hours) )
,Unstandardized Coefficients,,Standardized Coefficients,t,Sig.
,B,Std. Error,Beta,,
(Constant),10.50,.96,.00,10.96,.000
Mean time between failures (months) ,3.11,.09,.99,33.39,.000
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/regression.at:2348"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'regression.at:2385' \
  "LINEAR REGRESSION vif" "                          " 88
at_xfail=no
(
  $as_echo "713. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >regression-vif.sps <<'_ATEOF'
SET FORMAT=F10.3.

data list notable  list /competence_x1 motivation_x2 performance_y.
begin data
32   34   36
35   37   39
38   45   49
31   41   41
36   40   38
32   38   36
33   39   37
31   40   41
30   37   40
35   37   43
31   34   36
34   32   35
31   42   34
25   36   40
35   42   40
36   41   44
30   38   32
34   41   41
34   41   44
22   27   26
27   26   33
30   30   35
30   35   37
37   39   44
29   35   36
31   35   29
31   45   41
29   30   32
29   35   36
31   37   37
36   45   42
32   44   39
27   26   31
33   39   35
20   25   28
30   36   39
27   37   39
25   39   36
32   38   38
32   38   35
end data.

regression /variables=competence_x1 motivation_x2
	/statistics=defaults tol
	/dependent=performance_y
	.
_ATEOF



{ set +x
$as_echo "$at_srcdir/regression.at:2440: pspp -O format=csv regression-vif.sps"
at_fn_check_prepare_trace "regression.at:2440"
( $at_check_trace; pspp -O format=csv regression-vif.sps
) >>"$at_stdout" 2>>"$at_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 (performance_y)
R,R Square,Adjusted R Square,Std. Error of the Estimate
.785,.616,.595,2.980

Table: ANOVA (performance_y)
,Sum of Squares,df,Mean Square,F,Sig.
Regression,526.494,2,263.247,29.641,.000
Residual,328.606,37,8.881,,
Total,855.100,39,,,

Table: Coefficients (performance_y)
,Unstandardized Coefficients,,Standardized Coefficients,t,Sig.,Collinearity Statistics,
,B,Std. Error,Beta,,,Tolerance,VIF
(Constant),7.220,4.020,.000,1.796,.080,,
competence_x1,.432,.166,.358,2.609,.013,.552,1.812
motivation_x2,.453,.125,.499,3.636,.001,.552,1.812
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/regression.at:2440"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'reliability.at:19' \
  "RELIABILITY" "                                    " 89
at_xfail=no
(
  $as_echo "714. $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 -o pspp.txt reliability.sps"
at_fn_check_prepare_trace "reliability.at:202"
( $at_check_trace; pspp -o pspp.csv -o pspp.txt 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
Cases,N,Percent
Valid,131,92.9%
Excluded,10,7.1%
Total,141,100.0%

Table: Reliability Statistics
Cronbach's Alpha,N of Items
.75,4

Scale: Nothing

Table: Case Processing Summary
Cases,N,Percent
Valid,131,92.9%
Excluded,10,7.1%
Total,141,100.0%

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
Cases,N,Percent
Valid,131,92.9%
Excluded,10,7.1%
Total,141,100.0%

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
Cases,N,Percent
Valid,131,92.9%
Excluded,10,7.1%
Total,141,100.0%

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_714
#AT_START_715
at_fn_group_banner 715 'reliability.at:274' \
  "RELIABILITY bad syntax" "                         " 89
at_xfail=no
(
  $as_echo "715. $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_715
#AT_START_716
at_fn_group_banner 716 'reliability.at:294' \
  "RELIABILITY bad syntax 2" "                       " 89
at_xfail=no
(
  $as_echo "716. $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_716
#AT_START_717
at_fn_group_banner 717 'reliability.at:309' \
  "RELIABILITY crash with no data" "                 " 89
at_xfail=no
(
  $as_echo "717. $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_717
#AT_START_718
at_fn_group_banner 718 'reliability.at:327' \
  "RELIABILITY tutorial example" "                   " 89
at_xfail=no
(
  $as_echo "718. $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 pspp.csv -o pspp.txt tut-example.sps"
at_fn_check_prepare_trace "reliability.at:338"
( $at_check_trace; pspp -o pspp.csv -o pspp.txt 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=:
at_fn_diff_devnull "$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
$as_echo "$at_srcdir/reliability.at:339: cat pspp.csv"
at_fn_check_prepare_trace "reliability.at:339"
( $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: ANY

Table: Case Processing Summary
Cases,N,Percent
Valid,17,100.0%
Excluded,0,.0%
Total,17,100.0%

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:339"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'roc.at:19' \
  "ROC free distribution" "                          " 90
at_xfail=no
(
  $as_echo "719. $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
,Area,Std. Error,Asymptotic Sig.,Asymp. 99% Confidence Interval,
Variable under test,,,,Lower Bound,Upper Bound
x,.910,.030,.000,.839,.981

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
" | \
  $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_719
#AT_START_720
at_fn_group_banner 720 'roc.at:70' \
  "ROC negative exponential distribution" "          " 90
at_xfail=no
(
  $as_echo "720. $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
,Area,Std. Error,Asymptotic Sig.,Asymp. 95% Confidence Interval,
Variable under test,,,,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_720
#AT_START_721
at_fn_group_banner 721 'roc.at:129' \
  "ROC with anomaly" "                               " 90
at_xfail=no
(
  $as_echo "721. $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 -o pspp.txt roc.sps"
at_fn_check_prepare_trace "roc.at:169"
( $at_check_trace; pspp -o pspp.csv -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=:
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
,Area,Std. Error,Asymptotic Sig.,Asymp. 95% Confidence Interval,
Variable under test,,,,Lower Bound,Upper Bound
x,.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_721
#AT_START_722
at_fn_group_banner 722 'roc.at:187' \
  "ROC crash on no state variable" "                 " 90
at_xfail=no
(
  $as_echo "722. $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_722
#AT_START_723
at_fn_group_banner 723 'roc.at:204' \
  "ROC crash on invalid syntax" "                    " 90
at_xfail=no
(
  $as_echo "723. $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_723
#AT_START_724
at_fn_group_banner 724 'sort-cases.at:73' \
  "sort 500 cases (100 unique) with 2 buffers" "     " 91
at_xfail=no
(
  $as_echo "724. $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_724
#AT_START_725
at_fn_group_banner 725 'sort-cases.at:74' \
  "sort 500 cases (100 unique) with 3 buffers" "     " 91
at_xfail=no
(
  $as_echo "725. $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_725
#AT_START_726
at_fn_group_banner 726 'sort-cases.at:75' \
  "sort 500 cases (100 unique) with 4 buffers" "     " 91
at_xfail=no
(
  $as_echo "726. $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_726
#AT_START_727
at_fn_group_banner 727 'sort-cases.at:76' \
  "sort 500 cases (100 unique) with 5 buffers" "     " 91
at_xfail=no
(
  $as_echo "727. $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_727
#AT_START_728
at_fn_group_banner 728 'sort-cases.at:77' \
  "sort 500 cases (100 unique) with 10 buffers" "    " 91
at_xfail=no
(
  $as_echo "728. $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_728
#AT_START_729
at_fn_group_banner 729 'sort-cases.at:78' \
  "sort 500 cases (100 unique) with 50 buffers" "    " 91
at_xfail=no
(
  $as_echo "729. $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_729
#AT_START_730
at_fn_group_banner 730 'sort-cases.at:79' \
  "sort 500 cases (100 unique) with 100 buffers" "   " 91
at_xfail=no
(
  $as_echo "730. $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_730
#AT_START_731
at_fn_group_banner 731 'sort-cases.at:80' \
  "sort 500 cases (100 unique)" "                    " 91
at_xfail=no
(
  $as_echo "731. $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_731
#AT_START_732
at_fn_group_banner 732 'sort-cases.at:82' \
  "sort 1000 cases (100 unique) with 2 buffers" "    " 91
at_xfail=no
(
  $as_echo "732. $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_732
#AT_START_733
at_fn_group_banner 733 'sort-cases.at:83' \
  "sort 1000 cases (100 unique) with 3 buffers" "    " 91
at_xfail=no
(
  $as_echo "733. $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_733
#AT_START_734
at_fn_group_banner 734 'sort-cases.at:84' \
  "sort 1000 cases (100 unique) with 5 buffers" "    " 91
at_xfail=no
(
  $as_echo "734. $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_734
#AT_START_735
at_fn_group_banner 735 'sort-cases.at:85' \
  "sort 1000 cases (100 unique)" "                   " 91
at_xfail=no
(
  $as_echo "735. $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_735
#AT_START_736
at_fn_group_banner 736 'sort-cases.at:87' \
  "sort 5000 cases (1000 unique) with 5 buffers" "   " 91
at_xfail=no
(
  $as_echo "736. $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_736
#AT_START_737
at_fn_group_banner 737 'sort-cases.at:88' \
  "sort 5000 cases (1000 unique) with 50 buffers" "  " 91
at_xfail=no
(
  $as_echo "737. $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_737
#AT_START_738
at_fn_group_banner 738 'sort-cases.at:89' \
  "sort 5000 cases (1000 unique)" "                  " 91
at_xfail=no
(
  $as_echo "738. $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_738
#AT_START_739
at_fn_group_banner 739 'sort-cases.at:91' \
  "sort 10000 cases (100 unique) with 3 buffers" "   " 91
at_xfail=no
(
  $as_echo "739. $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_739
#AT_START_740
at_fn_group_banner 740 'sort-cases.at:92' \
  "sort 10000 cases (100 unique) with 5 buffers" "   " 91
at_xfail=no
(
  $as_echo "740. $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_740
#AT_START_741
at_fn_group_banner 741 'sort-cases.at:93' \
  "sort 10000 cases (100 unique)" "                  " 91
at_xfail=no
(
  $as_echo "741. $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_741
#AT_START_742
at_fn_group_banner 742 'sort-cases.at:95' \
  "sort 50000 cases (10000 unique) with 500 buffers" "" 91
at_xfail=no
(
  $as_echo "742. $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_742
#AT_START_743
at_fn_group_banner 743 'sort-cases.at:97' \
  "sort 50000 cases" "                               " 91
at_xfail=no
(
  $as_echo "743. $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_743
#AT_START_744
at_fn_group_banner 744 'sort-cases.at:100' \
  "SORT CASES preserves filtered cases" "            " 91
at_xfail=no
(
  $as_echo "744. $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_744
#AT_START_745
at_fn_group_banner 745 't-test.at:19' \
  "T-TEST /PAIRS" "                                  " 92
at_xfail=no
(
  $as_echo "745. $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 pspp.csv -o pspp.txt t-test.sps"
at_fn_check_prepare_trace "t-test.at:33"
( $at_check_trace; pspp -o pspp.csv -o pspp.txt 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:33"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/t-test.at:34: cat pspp.csv"
at_fn_check_prepare_trace "t-test.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: Reading free-form data from INLINE.
Variable,Format
ID,F8.0
A,F8.0
B,F8.0

Table: Paired Sample Statistics
,,N,Mean,Std. Deviation,S.E. Mean
Pair 1,A,5,2.00,.71,.32
,B,5,4.00,1.54,.69

Table: Paired Samples Correlations
,,N,Correlation,Sig.
Pair 1,A & B,5,.918,.028

Table: Paired Samples Test
,,Paired Differences,,,,,t,df,Sig. (2-tailed)
,,Mean,Std. Deviation,S.E. Mean,95% Confidence Interval of the Difference,,,,
,,,,,Lower,Upper,,,
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: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_745
#AT_START_746
at_fn_group_banner 746 't-test.at:59' \
  "T-TEST /PAIRS with per-analysis missing values" " " 92
at_xfail=no
(
  $as_echo "746. $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
,,N,Mean,Std. Deviation,S.E. Mean
Pair 1,a,5,2.00,.71,.32
,b,5,4.00,1.54,.69
Pair 2,c,5,5.10,.69,.31
,d,5,3.80,.16,.07

Table: Paired Samples Correlations
,,N,Correlation,Sig.
Pair 1,a & b,5,.918,.028
Pair 2,c & d,5,-.918,.028

Table: Paired Samples Test
,,Paired Differences,,,,,t,df,Sig. (2-tailed)
,,Mean,Std. Deviation,S.E. Mean,95% Confidence Interval of the Difference,,,,
,,,,,Lower,Upper,,,
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_746
#AT_START_747
at_fn_group_banner 747 't-test.at:124' \
  "T-TEST /PAIRS with listwise missing values" "     " 92
at_xfail=no
(
  $as_echo "747. $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
,,N,Mean,Std. Deviation,S.E. Mean
Pair 1,a,5,2.00,.71,.32
,c,5,5.10,.69,.31
Pair 2,b,5,4.00,1.54,.69
,d,5,3.80,.16,.07

Table: Paired Samples Correlations
,,N,Correlation,Sig.
Pair 1,a & c,5,.410,.493
Pair 2,b & d,5,-.872,.054

Table: Paired Samples Test
,,Paired Differences,,,,,t,df,Sig. (2-tailed)
,,Mean,Std. Deviation,S.E. Mean,95% Confidence Interval of the Difference,,,,
,,,,,Lower,Upper,,,
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_747
#AT_START_748
at_fn_group_banner 748 't-test.at:192' \
  "T-TEST weighted paired bug" "                     " 92
at_xfail=no
(
  $as_echo "748. $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 pspp.csv -o pspp.txt t-test.sps"
at_fn_check_prepare_trace "t-test.at:212"
( $at_check_trace; pspp -o pspp.csv -o pspp.txt 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:212"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/t-test.at:213: cat pspp.csv"
at_fn_check_prepare_trace "t-test.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: Paired Sample Statistics
,,N,Mean,Std. Deviation,S.E. Mean
Pair 1,y,530.00,1.94,.96,.04
,x,530.00,1.03,.17,.01

Table: Paired Samples Correlations
,,N,Correlation,Sig.
Pair 1,y & x,530.00,.114,.008

Table: Paired Samples Test
,,Paired Differences,,,,,t,df,Sig. (2-tailed)
,,Mean,Std. Deviation,S.E. Mean,95% Confidence Interval of the Difference,,,,
,,,,,Lower,Upper,,,
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: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_748
#AT_START_749
at_fn_group_banner 749 't-test.at:234' \
  "T-TEST /PAIRS bug" "                              " 92
at_xfail=no
(
  $as_echo "749. $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
,,N,Mean,Std. Deviation,S.E. Mean
Pair 1,A,3,4.333,5.774,3.333
,B,3,1.333,.577,.333

Table: Paired Samples Correlations
,,N,Correlation,Sig.
Pair 1,A & B,3,1.000,.000

Table: Paired Samples Test
,,Paired Differences,,,,,t,df,Sig. (2-tailed)
,,Mean,Std. Deviation,S.E. Mean,95% Confidence Interval of the Difference,,,,
,,,,,Lower,Upper,,,
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_749
#AT_START_750
at_fn_group_banner 750 't-test.at:270' \
  "T-TEST /GROUPS" "                                 " 92
at_xfail=no
(
  $as_echo "750. $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 pspp.csv -o pspp.txt t-test.sps"
at_fn_check_prepare_trace "t-test.at:293"
( $at_check_trace; pspp -o pspp.csv -o pspp.txt 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:293"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/t-test.at:294: cat pspp.csv"
at_fn_check_prepare_trace "t-test.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: Reading free-form data from INLINE.
Variable,Format
ID,F8.0
INDEP,F8.0
DEP1,F8.0
DEP2,F8.0

Table: Group Statistics
,Group,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,,,,,,
,,F,Sig.,t,df,Sig. (2-tailed),Mean Difference,Std. Error Difference,95% Confidence Interval of the 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: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_750
#AT_START_751
at_fn_group_banner 751 't-test.at:320' \
  "T-TEST /GROUPS with one value for independent variable" "" 92
at_xfail=no
(
  $as_echo "751. $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 pspp.csv -o pspp.txt t-test.sps"
at_fn_check_prepare_trace "t-test.at:350"
( $at_check_trace; pspp -o pspp.csv -o pspp.txt 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:350"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/t-test.at:351: cat pspp.csv"
at_fn_check_prepare_trace "t-test.at:351"
( $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
INDEP,F8.0
DEP,F8.0

Table: Group Statistics
,Group,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,,,,,,
,,F,Sig.,t,df,Sig. (2-tailed),Mean Difference,Std. Error Difference,95% Confidence Interval of the 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: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_751
#AT_START_752
at_fn_group_banner 752 't-test.at:371' \
  "T-TEST /GROUPS with per-analysis missing values" "" 92
at_xfail=no
(
  $as_echo "752. $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
,Group,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,,,,,,
,,F,Sig.,t,df,Sig. (2-tailed),Mean Difference,Std. Error Difference,95% Confidence Interval of the 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:408: pspp -o ref.csv ref.sps"
at_fn_check_prepare_trace "t-test.at:408"
( $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:408"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/t-test.at:409: cat ref.csv"
at_fn_check_prepare_trace "t-test.at:409"
( $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:409"
$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:427: pspp -o missing.csv missing.sps"
at_fn_check_prepare_trace "t-test.at:427"
( $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:427"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/t-test.at:428: cat missing.csv"
at_fn_check_prepare_trace "t-test.at:428"
( $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: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_752
#AT_START_753
at_fn_group_banner 753 't-test.at:431' \
  "T-TEST /GROUPS with listwise missing values" "    " 92
at_xfail=no
(
  $as_echo "753. $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
,Group,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,,,,,,
,,F,Sig.,t,df,Sig. (2-tailed),Mean Difference,Std. Error Difference,95% Confidence Interval of the 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:471: pspp -o ref.csv ref.sps"
at_fn_check_prepare_trace "t-test.at:471"
( $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:471"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/t-test.at:472: cat ref.csv"
at_fn_check_prepare_trace "t-test.at:472"
( $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:472"
$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:487: pspp -o missing.csv missing.sps"
at_fn_check_prepare_trace "t-test.at:487"
( $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:487"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/t-test.at:488: cat missing.csv"
at_fn_check_prepare_trace "t-test.at:488"
( $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:488"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 't-test.at:491' \
  "T-TEST /TESTVAL" "                                " 92
at_xfail=no
(
  $as_echo "754. $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:505: pspp -o pspp.csv -o pspp.txt t-test.sps"
at_fn_check_prepare_trace "t-test.at:505"
( $at_check_trace; pspp -o pspp.csv -o pspp.txt 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:505"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/t-test.at:506: cat pspp.csv"
at_fn_check_prepare_trace "t-test.at:506"
( $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
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,,,,,
,t,df,Sig. (2-tailed),Mean Difference,95% Confidence Interval of the 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:506"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 't-test.at:524' \
  "T-TEST /TESTVAL with per-analysis missing values" "" 92
at_xfail=no
(
  $as_echo "755. $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,,,,,
,t,df,Sig. (2-tailed),Mean Difference,95% Confidence Interval of the 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:557: pspp -o ref.csv ref.sps"
at_fn_check_prepare_trace "t-test.at:557"
( $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:557"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/t-test.at:558: cat ref.csv"
at_fn_check_prepare_trace "t-test.at:558"
( $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:558"
$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:573: pspp -o missing.csv missing.sps"
at_fn_check_prepare_trace "t-test.at:573"
( $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:573"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/t-test.at:574: cat missing.csv"
at_fn_check_prepare_trace "t-test.at:574"
( $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: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_755
#AT_START_756
at_fn_group_banner 756 't-test.at:577' \
  "T-TEST /TESTVAL with listwise missing values" "   " 92
at_xfail=no
(
  $as_echo "756. $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,,,,,
,t,df,Sig. (2-tailed),Mean Difference,95% Confidence Interval of the 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:609: pspp -o ref.csv ref.sps"
at_fn_check_prepare_trace "t-test.at:609"
( $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:609"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/t-test.at:610: cat ref.csv"
at_fn_check_prepare_trace "t-test.at:610"
( $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:610"
$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:626: pspp -o missing.csv missing.sps"
at_fn_check_prepare_trace "t-test.at:626"
( $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:626"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/t-test.at:627: cat missing.csv"
at_fn_check_prepare_trace "t-test.at:627"
( $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:627"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 't-test.at:630' \
  "T-TEST wih TEMPORARY transformation" "            " 92
at_xfail=no
(
  $as_echo "757. $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
,Group,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,,,,,,
,,F,Sig.,t,df,Sig. (2-tailed),Mean Difference,Std. Error Difference,95% Confidence Interval of the 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:662: pspp -o ref.csv ref.sps"
at_fn_check_prepare_trace "t-test.at:662"
( $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:662"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/t-test.at:663: cat ref.csv"
at_fn_check_prepare_trace "t-test.at:663"
( $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:663"
$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:681: pspp -o temporary.csv temporary.sps"
at_fn_check_prepare_trace "t-test.at:681"
( $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:681"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/t-test.at:682: cat temporary.csv"
at_fn_check_prepare_trace "t-test.at:682"
( $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:682"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 't-test.at:688' \
  "T-TEST tutorial example" "                        " 92
at_xfail=no
(
  $as_echo "758. $at_setup_line: testing $at_desc ..."
  $at_traceon

cp $top_srcdir/examples/physiology.sav .
cat >t-test.sps <<'_ATEOF'
GET FILE='physiology.sav'.
RECODE height (179 = SYSMIS).
T-TEST GROUP=sex(0,1) /VARIABLES=height temperature.
_ATEOF

{ set +x
$as_echo "$at_srcdir/t-test.at:695: pspp -o pspp.csv -o pspp.txt t-test.sps"
at_fn_check_prepare_trace "t-test.at:695"
( $at_check_trace; pspp -o pspp.csv -o pspp.txt 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:695"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/t-test.at:696: cat pspp.csv"
at_fn_check_prepare_trace "t-test.at:696"
( $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: Group Statistics
,Group,N,Mean,Std. Deviation,S.E. Mean
Height in millimeters   ,Male,22,1796.49,49.71,10.60
,Female,17,1610.77,25.43,6.17
Internal body temperature in degrees Celcius,Male,22,36.68,1.95,.42
,Female,18,37.43,1.61,.38

Table: Independent Samples Test
,,Levene's Test for Equality of Variances,,T-Test for Equality of Means,,,,,,
,,F,Sig.,t,df,Sig. (2-tailed),Mean Difference,Std. Error Difference,95% Confidence Interval of the Difference,
,,,,,,,,,Lower,Upper
Height in millimeters   ,Equal variances assumed,.97,.331,14.02,37.00,.000,185.72,13.24,158.88,212.55
,Equal variances not assumed,,,15.15,32.71,.000,185.72,12.26,160.76,210.67
Internal body temperature in degrees Celcius,Equal variances assumed,.31,.581,-1.31,38.00,.198,-.75,.57,-1.91,.41
,Equal variances not assumed,,,-1.33,37.99,.190,-.75,.56,-1.89,.39
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/t-test.at:696"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 't-test.at:716' \
  "T-TEST invalid syntax" "                          " 92
at_xfail=no
(
  $as_echo "759. $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:731: pspp -O format=csv t-test.sps"
at_fn_check_prepare_trace "t-test.at:731"
( $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:731"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 't-test.at:739' \
  "T-TEST string variable" "                         " 92
at_xfail=no
(
  $as_echo "760. $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:760: pspp -o pspp.csv -o pspp.txt t-test.sps"
at_fn_check_prepare_trace "t-test.at:760"
( $at_check_trace; pspp -o pspp.csv -o pspp.txt 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:760"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/t-test.at:761: cat pspp.csv"
at_fn_check_prepare_trace "t-test.at:761"
( $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
ID,F8.0
INDEP,A1
DEP1,F8.0
DEP2,F8.0

Table: Group Statistics
,Group,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,,,,,,
,,F,Sig.,t,df,Sig. (2-tailed),Mean Difference,Std. Error Difference,95% Confidence Interval of the 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: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_760
#AT_START_761
at_fn_group_banner 761 't-test.at:787' \
  "T-TEST string variable, only one value" "         " 92
at_xfail=no
(
  $as_echo "761. $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:807: pspp -O format=csv t-test.sps"
at_fn_check_prepare_trace "t-test.at:807"
( $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:807"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 't-test.at:813' \
  "T-TEST string variable comparison bug" "          " 92
at_xfail=no
(
  $as_echo "762. $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:831: pspp -o pspp.csv -o pspp.txt t-test.sps"
at_fn_check_prepare_trace "t-test.at:831"
( $at_check_trace; pspp -o pspp.csv -o pspp.txt 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:831"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/t-test.at:832: cat pspp.csv"
at_fn_check_prepare_trace "t-test.at:832"
( $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
gv,A8

Table: Group Statistics
,Group,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,,,,,,
,,F,Sig.,t,df,Sig. (2-tailed),Mean Difference,Std. Error Difference,95% Confidence Interval of the 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:832"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 't-test.at:855' \
  "T-TEST wrong group" "                             " 92
at_xfail=no
(
  $as_echo "763. $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:869: pspp t-test-crs.sps"
at_fn_check_prepare_trace "t-test.at:869"
( $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:869"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 't-test.at:876' \
  "T-TEST non number p value" "                      " 92
at_xfail=no
(
  $as_echo "764. $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:888: pspp t.sps"
at_fn_check_prepare_trace "t-test.at:888"
( $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:888"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 't-test.at:895' \
  "T-TEST unterminated string - paired" "            " 92
at_xfail=no
(
  $as_echo "765. $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:911: pspp t.sps"
at_fn_check_prepare_trace "t-test.at:911"
( $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:911"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'cache.at:19' \
  "CACHE" "                                          " 93
at_xfail=no
(
  $as_echo "766. $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_766
#AT_START_767
at_fn_group_banner 767 'cd.at:19' \
  "CD" "                                             " 94
at_xfail=no
(
  $as_echo "767. $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_767
#AT_START_768
at_fn_group_banner 768 'date.at:19' \
  "USE ALL" "                                        " 95
at_xfail=no
(
  $as_echo "768. $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_768
#AT_START_769
at_fn_group_banner 769 'host.at:19' \
  "HOST - one command" "                             " 96
at_xfail=no
(
  $as_echo "769. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >host.sps <<'_ATEOF'
HOST COMMAND=['echo "hi there" > file'].
_ATEOF

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

{ set +x
$as_echo "$at_srcdir/host.at:24: cat file"
at_fn_check_prepare_trace "host.at:24"
( $at_check_trace; cat file
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "hi there
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/host.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_769
#AT_START_770
at_fn_group_banner 770 'host.at:28' \
  "HOST - two commands" "                            " 96
at_xfail=no
(
  $as_echo "770. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >host.sps <<'_ATEOF'
HOST COMMAND=['echo a > a' 'echo b > b'].
_ATEOF

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

{ set +x
$as_echo "$at_srcdir/host.at:33: cat a"
at_fn_check_prepare_trace "host.at:33"
( $at_check_trace; cat a
) >>"$at_stdout" 2>>"$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
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/host.at:33"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/host.at:35: cat b"
at_fn_check_prepare_trace "host.at:35"
( $at_check_trace; cat b
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "b
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/host.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_770
#AT_START_771
at_fn_group_banner 771 'host.at:39' \
  "HOST - time limit" "                              " 96
at_xfail=no
(
  $as_echo "771. $at_setup_line: testing $at_desc ..."
  $at_traceon

cat >host.sps <<'_ATEOF'
HOST COMMAND=['sleep 10'] TIMELIMIT=0.1.
_ATEOF

if $MINGW; then
    { set +x
$as_echo "$at_srcdir/host.at:44: pspp -O format=csv host.sps"
at_fn_check_prepare_trace "host.at:44"
( $at_check_trace; pspp -O format=csv host.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "host.sps:1: error: HOST: Time limit not supported on this platform.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 1 $at_status "$at_srcdir/host.at:44"
$at_failed && at_fn_log_failure
$at_traceon; }

else
    { set +x
$as_echo "$at_srcdir/host.at:48: pspp -O format=csv host.sps"
at_fn_check_prepare_trace "host.at:48"
( $at_check_trace; pspp -O format=csv host.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "\"host.sps:1: warning: HOST: Command \"\"sleep 10\"\" timed out.\"
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/host.at:48"
$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_771
#AT_START_772
at_fn_group_banner 772 'host.at:56' \
  "HOST - command failure" "                         " 97
at_xfail=no
(
  $as_echo "772. $at_setup_line: testing $at_desc ..."
  $at_traceon

$as_echo "host.at:57" >"$at_check_line_file"
($MINGW) \
  && at_fn_check_skip 77 "$at_srcdir/host.at:57"
cat >host.sps <<'_ATEOF'
HOST COMMAND=['exit 1' 'echo "Not reached"'].
_ATEOF

{ set +x
$as_echo "$at_srcdir/host.at:61: pspp -O format=csv host.sps"
at_fn_check_prepare_trace "host.at:61"
( $at_check_trace; pspp -O format=csv host.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "\"host.sps:1: warning: HOST: Command \"\"exit 1\"\" exited with status 1.\"
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/host.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_772
#AT_START_773
at_fn_group_banner 773 'host.at:66' \
  "HOST - nonexistent shell" "                       " 97
at_xfail=no
(
  $as_echo "773. $at_setup_line: testing $at_desc ..."
  $at_traceon

$as_echo "host.at:67" >"$at_check_line_file"
($MINGW) \
  && at_fn_check_skip 77 "$at_srcdir/host.at:67"
cat >host.sps <<'_ATEOF'
HOST COMMAND=['echo hi'].
_ATEOF

{ set +x
$as_echo "$at_srcdir/host.at:71: SHELL=/nonexistent pspp -O format=csv host.sps"
at_fn_check_prepare_trace "host.at:71"
( $at_check_trace; SHELL=/nonexistent pspp -O format=csv host.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "\"host.sps:1: warning: HOST: Command \"\"echo hi\"\" exited with status 127 (Command or shell not found).\"
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/host.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_773
#AT_START_774
at_fn_group_banner 774 'host.at:76' \
  "HOST - nonexistent command" "                     " 97
at_xfail=no
(
  $as_echo "774. $at_setup_line: testing $at_desc ..."
  $at_traceon

$as_echo "host.at:77" >"$at_check_line_file"
($MINGW) \
  && at_fn_check_skip 77 "$at_srcdir/host.at:77"
cat >host.sps <<'_ATEOF'
HOST COMMAND=['/nonexistent'].
_ATEOF

{ set +x
$as_echo "$at_srcdir/host.at:81: pspp -O format=csv host.sps | head -1"
at_fn_check_prepare_notrace 'a shell pipeline' "host.at:81"
( $at_check_trace; pspp -O format=csv host.sps | head -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 "\"host.sps:1: warning: HOST: Command \"\"/nonexistent\"\" exited with status 127 (Command or shell not found).\"
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/host.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_774
#AT_START_775
at_fn_group_banner 775 'host.at:86' \
  "HOST - output to stdout" "                        " 97
at_xfail=no
(
  $as_echo "775. $at_setup_line: testing $at_desc ..."
  $at_traceon

$as_echo "host.at:87" >"$at_check_line_file"
($MINGW) \
  && at_fn_check_skip 77 "$at_srcdir/host.at:87"
cat >host.sps <<'_ATEOF'
HOST COMMAND=['echo hi'].
_ATEOF

{ set +x
$as_echo "$at_srcdir/host.at:91: pspp -O format=csv host.sps"
at_fn_check_prepare_trace "host.at:91"
( $at_check_trace; pspp -O format=csv host.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "hi
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/host.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_775
#AT_START_776
at_fn_group_banner 776 'host.at:95' \
  "HOST - output to stderr" "                        " 97
at_xfail=no
(
  $as_echo "776. $at_setup_line: testing $at_desc ..."
  $at_traceon

$as_echo "host.at:96" >"$at_check_line_file"
($MINGW) \
  && at_fn_check_skip 77 "$at_srcdir/host.at:96"
cat >host.sps <<'_ATEOF'
HOST COMMAND=['echo hi 2>&1'].
_ATEOF

{ set +x
$as_echo "$at_srcdir/host.at:100: pspp -O format=csv host.sps"
at_fn_check_prepare_trace "host.at:100"
( $at_check_trace; pspp -O format=csv host.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "hi
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/host.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_776
#AT_START_777
at_fn_group_banner 777 'host.at:104' \
  "HOST - input from stdin" "                        " 97
at_xfail=no
(
  $as_echo "777. $at_setup_line: testing $at_desc ..."
  $at_traceon

$as_echo "host.at:105" >"$at_check_line_file"
($MINGW) \
  && at_fn_check_skip 77 "$at_srcdir/host.at:105"
cat >host.sps <<'_ATEOF'
HOST COMMAND=['cat && echo ok || echo fail'] TIMELIMIT=5.
_ATEOF

{ set +x
$as_echo "$at_srcdir/host.at:109: pspp -O format=csv host.sps"
at_fn_check_prepare_trace "host.at:109"
( $at_check_trace; pspp -O format=csv host.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "ok
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/host.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_777
#AT_START_778
at_fn_group_banner 778 'host.at:114' \
  "HOST - zero time limit" "                         " 97
at_xfail=no
(
  $as_echo "778. $at_setup_line: testing $at_desc ..."
  $at_traceon

$as_echo "host.at:115" >"$at_check_line_file"
($MINGW) \
  && at_fn_check_skip 77 "$at_srcdir/host.at:115"
cat >host.sps <<'_ATEOF'
HOST COMMAND=['sleep 10'] TIMELIMIT=0.
_ATEOF

{ set +x
$as_echo "$at_srcdir/host.at:119: pspp -O format=csv host.sps"
at_fn_check_prepare_trace "host.at:119"
( $at_check_trace; pspp -O format=csv host.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "\"host.sps:1: warning: HOST: Command \"\"sleep 10\"\" timed out.\"
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/host.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_778
#AT_START_779
at_fn_group_banner 779 'host.at:124' \
  "HOST - signal termination" "                      " 97
at_xfail=no
(
  $as_echo "779. $at_setup_line: testing $at_desc ..."
  $at_traceon

$as_echo "host.at:125" >"$at_check_line_file"
($MINGW) \
  && at_fn_check_skip 77 "$at_srcdir/host.at:125"
cat >host.sps <<'_ATEOF'
HOST COMMAND=['kill -ABRT $$' 'echo "Not reached"'].
_ATEOF

{ set +x
$as_echo "$at_srcdir/host.at:129: pspp -O format=csv host.sps"
at_fn_check_prepare_trace "host.at:129"
( $at_check_trace; pspp -O format=csv host.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "\"host.sps:1: warning: HOST: Command \"\"kill -ABRT \$\$\"\" terminated by signal 6.\"
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/host.at:129"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'host.at:134' \
  "HOST - SAFER" "                                   " 97
at_xfail=no
(
  $as_echo "780. $at_setup_line: testing $at_desc ..."
  $at_traceon

$as_echo "host.at:135" >"$at_check_line_file"
($MINGW) \
  && at_fn_check_skip 77 "$at_srcdir/host.at:135"
cat >host.sps <<'_ATEOF'
SET SAFER=ON.
HOST COMMAND=['sleep 10'] TIMELIMIT=0.1.
_ATEOF

{ set +x
$as_echo "$at_srcdir/host.at:140: pspp -O format=csv host.sps"
at_fn_check_prepare_trace "host.at:140"
( $at_check_trace; pspp -O format=csv host.sps
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "host.sps:2: error: HOST: 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/host.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_780
#AT_START_781
at_fn_group_banner 781 'insert.at:31' \
  "INSERT SYNTAX=INTERACTIVE" "                      " 98
at_xfail=no
(
  $as_echo "781. $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_781
#AT_START_782
at_fn_group_banner 782 'insert.at:47' \
  "INSERT SYNTAX=BATCH" "                            " 98
at_xfail=no
(
  $as_echo "782. $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_782
#AT_START_783
at_fn_group_banner 783 'insert.at:67' \
  "INSERT CD=NO" "                                   " 98
at_xfail=no
(
  $as_echo "783. $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_783
#AT_START_784
at_fn_group_banner 784 'insert.at:88' \
  "INSERT CD=YES" "                                  " 98
at_xfail=no
(
  $as_echo "784. $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_784
#AT_START_785
at_fn_group_banner 785 'insert.at:132' \
  "INSERT ERROR=STOP" "                              " 98
at_xfail=no
(
  $as_echo "785. $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_785
#AT_START_786
at_fn_group_banner 786 'insert.at:142' \
  "INSERT ERROR=CONTINUE" "                          " 98
at_xfail=no
(
  $as_echo "786. $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_786
#AT_START_787
at_fn_group_banner 787 'insert.at:162' \
  "INSERT nonexistent file" "                        " 98
at_xfail=no
(
  $as_echo "787. $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_787
#AT_START_788
at_fn_group_banner 788 'insert.at:181' \
  "INCLUDE full check" "                             " 98
at_xfail=no
(
  $as_echo "788. $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_788
#AT_START_789
at_fn_group_banner 789 'insert.at:205' \
  "INSERT unterminated string" "                     " 98
at_xfail=no
(
  $as_echo "789. $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_789
#AT_START_790
at_fn_group_banner 790 'permissions.at:19' \
  "PERMISSIONS" "                                    " 99
at_xfail=no
(
  $as_echo "790. $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_790
#AT_START_791
at_fn_group_banner 791 'permissions.at:45' \
  "PERMISSIONS - bad syntax" "                       " 99
at_xfail=no
(
  $as_echo "791. $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_791
#AT_START_792
at_fn_group_banner 792 'set.at:20' \
  "SET FORMAT to invalid output format" "            " 100
at_xfail=no
(
  $as_echo "792. $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: Descriptive Statistics
,N,Mean,Std Dev,Minimum,Maximum
x,3,2.00,1.00,1.00,3.00
Valid N (listwise),3,,,,
Missing N (listwise),0,,,,
" | \
  $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_792
#AT_START_793
at_fn_group_banner 793 'set.at:44' \
  "SET crash on invalid cc" "                        " 100
at_xfail=no
(
  $as_echo "793. $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:49: pspp -O format=csv set.pspp"
at_fn_check_prepare_trace "set.at:49"
( $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: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_793
#AT_START_794
at_fn_group_banner 794 'set.at:54' \
  "SET MXWARNS" "                                    " 100
at_xfail=no
(
  $as_echo "794. $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:75: pspp -O format=csv set.pspp"
at_fn_check_prepare_trace "set.at:75"
( $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: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_794
#AT_START_795
at_fn_group_banner 795 'set.at:90' \
  "SET MXWARNS special case zero" "                  " 100
at_xfail=no
(
  $as_echo "795. $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:108: pspp -O format=csv mxwarns.pspp"
at_fn_check_prepare_trace "set.at:108"
( $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: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_795
#AT_START_796
at_fn_group_banner 796 'set.at:128' \
  "PRESERVE of SET FORMAT" "                         " 101
at_xfail=no
(
  $as_echo "796. $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:137: pspp -O format=csv set.pspp"
at_fn_check_prepare_trace "set.at:137"
( $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: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_796
#AT_START_797
at_fn_group_banner 797 'show.at:19' \
  "SHOW N" "                                         " 102
at_xfail=no
(
  $as_echo "797. $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_797
#AT_START_798
at_fn_group_banner 798 'show.at:39' \
  "SHOW N empty" "                                   " 102
at_xfail=no
(
  $as_echo "798. $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_798
#AT_START_799
at_fn_group_banner 799 'title.at:19' \
  "FILE LABEL and (ADD) DOCUMENT" "                  " 103
at_xfail=no
(
  $as_echo "799. $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

Table: Documents
\"document First line of a document
Second line of a document
The last line should end with a period: .
   (Entered <date>)\"

Table: File Label
Label,This is a test file label

Table: Documents
\"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>)\"

Table: File Label
Label,This is a test file label

Table: Documents
\"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>)\"

Table: Documents
\"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>)\"

Table: File Label
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_799
#AT_START_800
at_fn_group_banner 800 'compute.at:19' \
  "COMPUTE crash with SAVE" "                        " 104
at_xfail=no
(
  $as_echo "800. $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_800
#AT_START_801
at_fn_group_banner 801 'compute.at:38' \
  "COMPUTE bug in long string UPCASE" "              " 104
at_xfail=no
(
  $as_echo "801. $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_801
#AT_START_802
at_fn_group_banner 802 'compute.at:66' \
  "COMPUTE bug with long variable names" "           " 104
at_xfail=no
(
  $as_echo "802. $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_802
#AT_START_803
at_fn_group_banner 803 'compute.at:92' \
  "COMPUTE self-reference to new variable" "         " 104
at_xfail=no
(
  $as_echo "803. $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_803
#AT_START_804
at_fn_group_banner 804 'count.at:19' \
  "COUNT -- numeric data" "                          " 105
at_xfail=no
(
  $as_echo "804. $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_804
#AT_START_805
at_fn_group_banner 805 'count.at:58' \
  "COUNT -- string data" "                           " 105
at_xfail=no
(
  $as_echo "805. $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 "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_805
#AT_START_806
at_fn_group_banner 806 'recode.at:37' \
  "RECODE numeric to numeric, without INTO" "        " 106
at_xfail=no
(
  $as_echo "806. $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_806
#AT_START_807
at_fn_group_banner 807 'recode.at:79' \
  "RECODE numeric to numeric, with INTO, without COPY" "" 106
at_xfail=no
(
  $as_echo "807. $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_807
#AT_START_808
at_fn_group_banner 808 'recode.at:111' \
  "RECODE numeric to numeric, with INTO, with COPY" "" 106
at_xfail=no
(
  $as_echo "808. $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_808
#AT_START_809
at_fn_group_banner 809 'recode.at:144' \
  "RECODE string to string, with INTO, without COPY" "" 106
at_xfail=no
(
  $as_echo "809. $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_809
#AT_START_810
at_fn_group_banner 810 'recode.at:172' \
  "RECODE string to string" "                        " 106
at_xfail=no
(
  $as_echo "810. $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_810
#AT_START_811
at_fn_group_banner 811 'recode.at:200' \
  "RECODE string to numeric" "                       " 106
at_xfail=no
(
  $as_echo "811. $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_811
#AT_START_812
at_fn_group_banner 812 'recode.at:226' \
  "RECODE numeric to string" "                       " 106
at_xfail=no
(
  $as_echo "812. $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_812
#AT_START_813
at_fn_group_banner 813 'recode.at:252' \
  "RECODE bug in COPY" "                             " 106
at_xfail=no
(
  $as_echo "813. $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_813
#AT_START_814
at_fn_group_banner 814 'recode.at:283' \
  "RECODE bug in COPY with INTO" "                   " 106
at_xfail=no
(
  $as_echo "814. $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_814
#AT_START_815
at_fn_group_banner 815 'recode.at:316' \
  "RECODE increased string widths" "                 " 106
at_xfail=no
(
  $as_echo "815. $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_815
#AT_START_816
at_fn_group_banner 816 'recode.at:347' \
  "RECODE crash on invalid dest variable" "          " 106
at_xfail=no
(
  $as_echo "816. $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_816
#AT_START_817
at_fn_group_banner 817 'sample.at:19' \
  "SAMPLE" "                                         " 107
at_xfail=no
(
  $as_echo "817. $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\`
     line=\$(echo \"\$line\" | tr -d '\\r')
     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`
     line=$(echo "$line" | tr -d '\r')
     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_817
#AT_START_818
at_fn_group_banner 818 'select-if.at:19' \
  "FILTER" "                                         " 108
at_xfail=no
(
  $as_echo "818. $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_818
#AT_START_819
at_fn_group_banner 819 'abt.at:25' \
  "ABT -- insert-any-remove-any" "                   " 109
at_xfail=no
(
  $as_echo "819. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/abt.at:25: abt-test insert-any-remove-any"
at_fn_check_prepare_trace "abt.at:25"
( $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: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_819
#AT_START_820
at_fn_group_banner 820 'abt.at:26' \
  "ABT -- insert-any-remove-same" "                  " 109
at_xfail=no
(
  $as_echo "820. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/abt.at:26: abt-test insert-any-remove-same"
at_fn_check_prepare_trace "abt.at:26"
( $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: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_820
#AT_START_821
at_fn_group_banner 821 'abt.at:27' \
  "ABT -- insert-any-remove-reverse" "               " 109
at_xfail=no
(
  $as_echo "821. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/abt.at:27: abt-test insert-any-remove-reverse"
at_fn_check_prepare_trace "abt.at:27"
( $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: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_821
#AT_START_822
at_fn_group_banner 822 'abt.at:28' \
  "ABT -- random-sequence" "                         " 109
at_xfail=no
(
  $as_echo "822. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/abt.at:28: abt-test random-sequence"
at_fn_check_prepare_trace "abt.at:28"
( $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: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_822
#AT_START_823
at_fn_group_banner 823 'abt.at:29' \
  "ABT -- insert-ordered" "                          " 109
at_xfail=no
(
  $as_echo "823. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/abt.at:29: abt-test insert-ordered"
at_fn_check_prepare_trace "abt.at:29"
( $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: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_823
#AT_START_824
at_fn_group_banner 824 'abt.at:30' \
  "ABT -- moved" "                                   " 109
at_xfail=no
(
  $as_echo "824. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/abt.at:30: abt-test moved"
at_fn_check_prepare_trace "abt.at:30"
( $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: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_824
#AT_START_825
at_fn_group_banner 825 'abt.at:31' \
  "ABT -- changed" "                                 " 109
at_xfail=no
(
  $as_echo "825. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/abt.at:31: abt-test changed"
at_fn_check_prepare_trace "abt.at:31"
( $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: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_825
#AT_START_826
at_fn_group_banner 826 'bt.at:25' \
  "BT -- insert-any-remove-any" "                    " 110
at_xfail=no
(
  $as_echo "826. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/bt.at:25: bt-test insert-any-remove-any"
at_fn_check_prepare_trace "bt.at:25"
( $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: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_826
#AT_START_827
at_fn_group_banner 827 'bt.at:26' \
  "BT -- insert-any-remove-same" "                   " 110
at_xfail=no
(
  $as_echo "827. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/bt.at:26: bt-test insert-any-remove-same"
at_fn_check_prepare_trace "bt.at:26"
( $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: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_827
#AT_START_828
at_fn_group_banner 828 'bt.at:27' \
  "BT -- insert-any-remove-reverse" "                " 110
at_xfail=no
(
  $as_echo "828. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/bt.at:27: bt-test insert-any-remove-reverse"
at_fn_check_prepare_trace "bt.at:27"
( $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: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_828
#AT_START_829
at_fn_group_banner 829 'bt.at:28' \
  "BT -- random-sequence" "                          " 110
at_xfail=no
(
  $as_echo "829. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/bt.at:28: bt-test random-sequence"
at_fn_check_prepare_trace "bt.at:28"
( $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: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_829
#AT_START_830
at_fn_group_banner 830 'bt.at:29' \
  "BT -- insert-ordered" "                           " 110
at_xfail=no
(
  $as_echo "830. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/bt.at:29: bt-test insert-ordered"
at_fn_check_prepare_trace "bt.at:29"
( $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: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_830
#AT_START_831
at_fn_group_banner 831 'bt.at:30' \
  "BT -- find-ge-le" "                               " 110
at_xfail=no
(
  $as_echo "831. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/bt.at:30: bt-test find-ge-le"
at_fn_check_prepare_trace "bt.at:30"
( $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: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_831
#AT_START_832
at_fn_group_banner 832 'bt.at:31' \
  "BT -- moved" "                                    " 110
at_xfail=no
(
  $as_echo "832. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/bt.at:31: bt-test moved"
at_fn_check_prepare_trace "bt.at:31"
( $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: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_832
#AT_START_833
at_fn_group_banner 833 'bt.at:32' \
  "BT -- changed" "                                  " 110
at_xfail=no
(
  $as_echo "833. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/bt.at:32: bt-test changed"
at_fn_check_prepare_trace "bt.at:32"
( $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: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_833
#AT_START_834
at_fn_group_banner 834 'encoding-guesser.at:19' \
  "ASCII" "                                          " 111
at_xfail=no
(
  $as_echo "834. $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_834
#AT_START_835
at_fn_group_banner 835 'encoding-guesser.at:25' \
  "UTF-8" "                                          " 111
at_xfail=no
(
  $as_echo "835. $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_835
#AT_START_836
at_fn_group_banner 836 'encoding-guesser.at:32' \
  "UTF-8 starting with ASCII" "                      " 111
at_xfail=no
(
  $as_echo "836. $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_836
#AT_START_837
at_fn_group_banner 837 'encoding-guesser.at:39' \
  "UTF-16 with big-endian byte order mark" "         " 111
at_xfail=no
(
  $as_echo "837. $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_837
#AT_START_838
at_fn_group_banner 838 'encoding-guesser.at:46' \
  "UTF-16 with little-endian byte order mark" "      " 111
at_xfail=no
(
  $as_echo "838. $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_838
#AT_START_839
at_fn_group_banner 839 'encoding-guesser.at:53' \
  "UTF-16BE" "                                       " 111
at_xfail=no
(
  $as_echo "839. $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_839
#AT_START_840
at_fn_group_banner 840 'encoding-guesser.at:62' \
  "UTF-16BE starting with U+0100" "                  " 111
at_xfail=no
(
  $as_echo "840. $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_840
#AT_START_841
at_fn_group_banner 841 'encoding-guesser.at:69' \
  "UTF-16LE" "                                       " 111
at_xfail=no
(
  $as_echo "841. $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_841
#AT_START_842
at_fn_group_banner 842 'encoding-guesser.at:78' \
  "UTF-16LE starting with U+0100" "                  " 111
at_xfail=no
(
  $as_echo "842. $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_842
#AT_START_843
at_fn_group_banner 843 'encoding-guesser.at:85' \
  "UTF-32 with big-endian byte order mark" "         " 111
at_xfail=no
(
  $as_echo "843. $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_843
#AT_START_844
at_fn_group_banner 844 'encoding-guesser.at:92' \
  "UTF-32 with little-endian byte order mark" "      " 111
at_xfail=no
(
  $as_echo "844. $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_844
#AT_START_845
at_fn_group_banner 845 'encoding-guesser.at:99' \
  "UTF-32BE" "                                       " 111
at_xfail=no
(
  $as_echo "845. $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_845
#AT_START_846
at_fn_group_banner 846 'encoding-guesser.at:106' \
  "UTF-32LE" "                                       " 111
at_xfail=no
(
  $as_echo "846. $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_846
#AT_START_847
at_fn_group_banner 847 'encoding-guesser.at:113' \
  "ISO-8859-1" "                                     " 111
at_xfail=no
(
  $as_echo "847. $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_847
#AT_START_848
at_fn_group_banner 848 'encoding-guesser.at:121' \
  "GB-18030 with byte order mark" "                  " 111
at_xfail=no
(
  $as_echo "848. $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_848
#AT_START_849
at_fn_group_banner 849 'encoding-guesser.at:129' \
  "UTF-EBCDIC with byte order mark" "                " 111
at_xfail=no
(
  $as_echo "849. $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_849
#AT_START_850
at_fn_group_banner 850 'encoding-guesser.at:137' \
  "EUC-JP as Auto,EUC-JP" "                          " 111
at_xfail=no
(
  $as_echo "850. $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_850
#AT_START_851
at_fn_group_banner 851 'encoding-guesser.at:145' \
  "EUC-JP starting with ASCII as Auto,EUC-JP" "      " 111
at_xfail=no
(
  $as_echo "851. $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_851
#AT_START_852
at_fn_group_banner 852 'encoding-guesser.at:153' \
  "UTF-8 with character split across input buffers" "" 111
at_xfail=no
(
  $as_echo "852. $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_852
#AT_START_853
at_fn_group_banner 853 'encoding-guesser.at:161' \
  "windows-1252 as Auto,UTF-8" "                     " 111
at_xfail=no
(
  $as_echo "853. $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_853
#AT_START_854
at_fn_group_banner 854 'float-format.at:19' \
  "floating point format conversions" "              " 112
at_xfail=no
(
  $as_echo "854. $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_854
#AT_START_855
at_fn_group_banner 855 'heap.at:24' \
  "heap -- insert-no-dups-delete-min" "              " 113
at_xfail=no
(
  $as_echo "855. $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_855
#AT_START_856
at_fn_group_banner 856 'heap.at:25' \
  "heap -- insert-with-dups-delete-min" "            " 113
at_xfail=no
(
  $as_echo "856. $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_856
#AT_START_857
at_fn_group_banner 857 'heap.at:26' \
  "heap -- insert-no-dups-delete-random" "           " 113
at_xfail=no
(
  $as_echo "857. $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_857
#AT_START_858
at_fn_group_banner 858 'heap.at:27' \
  "heap -- inc-dec" "                                " 113
at_xfail=no
(
  $as_echo "858. $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_858
#AT_START_859
at_fn_group_banner 859 'heap.at:28' \
  "heap -- random-insert-delete" "                   " 113
at_xfail=no
(
  $as_echo "859. $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_859
#AT_START_860
at_fn_group_banner 860 'hmap.at:24' \
  "hmap -- insert-any-remove-any-random-hash" "      " 114
at_xfail=no
(
  $as_echo "860. $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_860
#AT_START_861
at_fn_group_banner 861 'hmap.at:25' \
  "hmap -- insert-any-remove-any-identity-hash" "    " 114
at_xfail=no
(
  $as_echo "861. $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_861
#AT_START_862
at_fn_group_banner 862 'hmap.at:26' \
  "hmap -- insert-any-remove-any-constant-hash" "    " 114
at_xfail=no
(
  $as_echo "862. $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_862
#AT_START_863
at_fn_group_banner 863 'hmap.at:27' \
  "hmap -- insert-any-remove-same-random-hash" "     " 114
at_xfail=no
(
  $as_echo "863. $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_863
#AT_START_864
at_fn_group_banner 864 'hmap.at:28' \
  "hmap -- insert-any-remove-same-identity-hash" "   " 114
at_xfail=no
(
  $as_echo "864. $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_864
#AT_START_865
at_fn_group_banner 865 'hmap.at:29' \
  "hmap -- insert-any-remove-same-constant-hash" "   " 114
at_xfail=no
(
  $as_echo "865. $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_865
#AT_START_866
at_fn_group_banner 866 'hmap.at:30' \
  "hmap -- insert-any-remove-reverse-random-hash" "  " 114
at_xfail=no
(
  $as_echo "866. $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_866
#AT_START_867
at_fn_group_banner 867 'hmap.at:31' \
  "hmap -- insert-any-remove-reverse-identity-hash" "" 114
at_xfail=no
(
  $as_echo "867. $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_867
#AT_START_868
at_fn_group_banner 868 'hmap.at:32' \
  "hmap -- insert-any-remove-reverse-constant-hash" "" 114
at_xfail=no
(
  $as_echo "868. $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_868
#AT_START_869
at_fn_group_banner 869 'hmap.at:33' \
  "hmap -- random-sequence-random-hash" "            " 114
at_xfail=no
(
  $as_echo "869. $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_869
#AT_START_870
at_fn_group_banner 870 'hmap.at:34' \
  "hmap -- random-sequence-identity-hash" "          " 114
at_xfail=no
(
  $as_echo "870. $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_870
#AT_START_871
at_fn_group_banner 871 'hmap.at:35' \
  "hmap -- random-sequence-constant-hash" "          " 114
at_xfail=no
(
  $as_echo "871. $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_871
#AT_START_872
at_fn_group_banner 872 'hmap.at:36' \
  "hmap -- insert-ordered-random-hash" "             " 114
at_xfail=no
(
  $as_echo "872. $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_872
#AT_START_873
at_fn_group_banner 873 'hmap.at:37' \
  "hmap -- insert-ordered-identity-hash" "           " 114
at_xfail=no
(
  $as_echo "873. $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_873
#AT_START_874
at_fn_group_banner 874 'hmap.at:38' \
  "hmap -- insert-ordered-constant-hash" "           " 114
at_xfail=no
(
  $as_echo "874. $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_874
#AT_START_875
at_fn_group_banner 875 'hmap.at:39' \
  "hmap -- moved-random-hash" "                      " 114
at_xfail=no
(
  $as_echo "875. $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_875
#AT_START_876
at_fn_group_banner 876 'hmap.at:40' \
  "hmap -- moved-identity-hash" "                    " 114
at_xfail=no
(
  $as_echo "876. $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_876
#AT_START_877
at_fn_group_banner 877 'hmap.at:41' \
  "hmap -- moved-constant-hash" "                    " 114
at_xfail=no
(
  $as_echo "877. $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_877
#AT_START_878
at_fn_group_banner 878 'hmap.at:42' \
  "hmap -- changed-random-hash" "                    " 114
at_xfail=no
(
  $as_echo "878. $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_878
#AT_START_879
at_fn_group_banner 879 'hmap.at:43' \
  "hmap -- changed-identity-hash" "                  " 114
at_xfail=no
(
  $as_echo "879. $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_879
#AT_START_880
at_fn_group_banner 880 'hmap.at:44' \
  "hmap -- changed-constant-hash" "                  " 114
at_xfail=no
(
  $as_echo "880. $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_880
#AT_START_881
at_fn_group_banner 881 'hmap.at:45' \
  "hmap -- swap-random-hash" "                       " 114
at_xfail=no
(
  $as_echo "881. $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_881
#AT_START_882
at_fn_group_banner 882 'hmap.at:46' \
  "hmap -- clear" "                                  " 114
at_xfail=no
(
  $as_echo "882. $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_882
#AT_START_883
at_fn_group_banner 883 'hmap.at:47' \
  "hmap -- destroy-null" "                           " 114
at_xfail=no
(
  $as_echo "883. $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_883
#AT_START_884
at_fn_group_banner 884 'hmap.at:48' \
  "hmap -- shrink-empty" "                           " 114
at_xfail=no
(
  $as_echo "884. $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_884
#AT_START_885
at_fn_group_banner 885 'hmapx.at:24' \
  "hmapx -- insert-any-remove-any-random-hash" "     " 115
at_xfail=no
(
  $as_echo "885. $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_885
#AT_START_886
at_fn_group_banner 886 'hmapx.at:25' \
  "hmapx -- insert-any-remove-any-identity-hash" "   " 115
at_xfail=no
(
  $as_echo "886. $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_886
#AT_START_887
at_fn_group_banner 887 'hmapx.at:26' \
  "hmapx -- insert-any-remove-any-constant-hash" "   " 115
at_xfail=no
(
  $as_echo "887. $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_887
#AT_START_888
at_fn_group_banner 888 'hmapx.at:27' \
  "hmapx -- insert-any-remove-same-random-hash" "    " 115
at_xfail=no
(
  $as_echo "888. $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_888
#AT_START_889
at_fn_group_banner 889 'hmapx.at:28' \
  "hmapx -- insert-any-remove-same-identity-hash" "  " 115
at_xfail=no
(
  $as_echo "889. $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_889
#AT_START_890
at_fn_group_banner 890 'hmapx.at:29' \
  "hmapx -- insert-any-remove-same-constant-hash" "  " 115
at_xfail=no
(
  $as_echo "890. $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_890
#AT_START_891
at_fn_group_banner 891 'hmapx.at:30' \
  "hmapx -- insert-any-remove-reverse-random-hash" " " 115
at_xfail=no
(
  $as_echo "891. $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_891
#AT_START_892
at_fn_group_banner 892 'hmapx.at:31' \
  "hmapx -- insert-any-remove-reverse-identity-hash" "" 115
at_xfail=no
(
  $as_echo "892. $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_892
#AT_START_893
at_fn_group_banner 893 'hmapx.at:32' \
  "hmapx -- insert-any-remove-reverse-constant-hash" "" 115
at_xfail=no
(
  $as_echo "893. $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_893
#AT_START_894
at_fn_group_banner 894 'hmapx.at:33' \
  "hmapx -- random-sequence-random-hash" "           " 115
at_xfail=no
(
  $as_echo "894. $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_894
#AT_START_895
at_fn_group_banner 895 'hmapx.at:34' \
  "hmapx -- random-sequence-identity-hash" "         " 115
at_xfail=no
(
  $as_echo "895. $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_895
#AT_START_896
at_fn_group_banner 896 'hmapx.at:35' \
  "hmapx -- random-sequence-constant-hash" "         " 115
at_xfail=no
(
  $as_echo "896. $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_896
#AT_START_897
at_fn_group_banner 897 'hmapx.at:36' \
  "hmapx -- insert-ordered-random-hash" "            " 115
at_xfail=no
(
  $as_echo "897. $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_897
#AT_START_898
at_fn_group_banner 898 'hmapx.at:37' \
  "hmapx -- insert-ordered-identity-hash" "          " 115
at_xfail=no
(
  $as_echo "898. $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_898
#AT_START_899
at_fn_group_banner 899 'hmapx.at:38' \
  "hmapx -- insert-ordered-constant-hash" "          " 115
at_xfail=no
(
  $as_echo "899. $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_899
#AT_START_900
at_fn_group_banner 900 'hmapx.at:39' \
  "hmapx -- moved-random-hash" "                     " 115
at_xfail=no
(
  $as_echo "900. $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_900
#AT_START_901
at_fn_group_banner 901 'hmapx.at:40' \
  "hmapx -- moved-identity-hash" "                   " 115
at_xfail=no
(
  $as_echo "901. $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_901
#AT_START_902
at_fn_group_banner 902 'hmapx.at:41' \
  "hmapx -- moved-constant-hash" "                   " 115
at_xfail=no
(
  $as_echo "902. $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_902
#AT_START_903
at_fn_group_banner 903 'hmapx.at:42' \
  "hmapx -- changed-random-hash" "                   " 115
at_xfail=no
(
  $as_echo "903. $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_903
#AT_START_904
at_fn_group_banner 904 'hmapx.at:43' \
  "hmapx -- changed-identity-hash" "                 " 115
at_xfail=no
(
  $as_echo "904. $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_904
#AT_START_905
at_fn_group_banner 905 'hmapx.at:44' \
  "hmapx -- changed-constant-hash" "                 " 115
at_xfail=no
(
  $as_echo "905. $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_905
#AT_START_906
at_fn_group_banner 906 'hmapx.at:45' \
  "hmapx -- change-random-hash" "                    " 115
at_xfail=no
(
  $as_echo "906. $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_906
#AT_START_907
at_fn_group_banner 907 'hmapx.at:46' \
  "hmapx -- change-identity-hash" "                  " 115
at_xfail=no
(
  $as_echo "907. $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_907
#AT_START_908
at_fn_group_banner 908 'hmapx.at:47' \
  "hmapx -- change-constant-hash" "                  " 115
at_xfail=no
(
  $as_echo "908. $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_908
#AT_START_909
at_fn_group_banner 909 'hmapx.at:48' \
  "hmapx -- swap-random-hash" "                      " 115
at_xfail=no
(
  $as_echo "909. $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_909
#AT_START_910
at_fn_group_banner 910 'hmapx.at:49' \
  "hmapx -- clear" "                                 " 115
at_xfail=no
(
  $as_echo "910. $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_910
#AT_START_911
at_fn_group_banner 911 'hmapx.at:50' \
  "hmapx -- destroy-null" "                          " 115
at_xfail=no
(
  $as_echo "911. $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_911
#AT_START_912
at_fn_group_banner 912 'hmapx.at:51' \
  "hmapx -- shrink-empty" "                          " 115
at_xfail=no
(
  $as_echo "912. $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_912
#AT_START_913
at_fn_group_banner 913 'i18n.at:34' \
  "convert reflexively" "                            " 116
at_xfail=no
(
  $as_echo "913. $at_setup_line: testing $at_desc ..."
  $at_traceon



      { set +x
$as_echo "$at_srcdir/i18n.at:34: i18n-test supports_encodings 'ASCII' 'ASCII'"
at_fn_check_prepare_trace "i18n.at:34"
( $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:34"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/i18n.at:34: i18n-test recode 'ASCII' 'ASCII' 'abc'"
at_fn_check_prepare_trace "i18n.at:34"
( $at_check_trace; i18n-test recode 'ASCII' 'ASCII' '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: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_913
#AT_START_914
at_fn_group_banner 914 'i18n.at:35' \
  "convert without any change" "                     " 116
at_xfail=no
(
  $as_echo "914. $at_setup_line: testing $at_desc ..."
  $at_traceon



      { set +x
$as_echo "$at_srcdir/i18n.at:35: i18n-test supports_encodings 'ASCII' 'UTF-8'"
at_fn_check_prepare_trace "i18n.at:35"
( $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:35"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/i18n.at:35: i18n-test recode 'ASCII' 'UTF-8' 'abc'"
at_fn_check_prepare_trace "i18n.at:35"
( $at_check_trace; i18n-test recode 'ASCII' 'UTF-8' '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: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_914
#AT_START_915
at_fn_group_banner 915 'i18n.at:37' \
  "convert from ISO-8859-1 to UTF-8" "               " 116
at_xfail=no
(
  $as_echo "915. $at_setup_line: testing $at_desc ..."
  $at_traceon



      { set +x
$as_echo "$at_srcdir/i18n.at:37: i18n-test supports_encodings 'ISO-8859-1' 'UTF-8'"
at_fn_check_prepare_trace "i18n.at:37"
( $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:37"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/i18n.at:37: i18n-test recode 'ISO-8859-1' 'UTF-8' '\\242'"
at_fn_check_prepare_trace "i18n.at:37"
( $at_check_trace; i18n-test recode 'ISO-8859-1' 'UTF-8' '\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: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_915
#AT_START_916
at_fn_group_banner 916 'i18n.at:39' \
  "convert from UTF-8 to ISO-8859-1" "               " 116
at_xfail=no
(
  $as_echo "916. $at_setup_line: testing $at_desc ..."
  $at_traceon



      { set +x
$as_echo "$at_srcdir/i18n.at:39: i18n-test supports_encodings 'UTF-8' 'ISO-8859-1'"
at_fn_check_prepare_trace "i18n.at:39"
( $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:39"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/i18n.at:39: i18n-test recode 'UTF-8' 'ISO-8859-1' '\\302\\242'"
at_fn_check_prepare_trace "i18n.at:39"
( $at_check_trace; i18n-test recode 'UTF-8' 'ISO-8859-1' '\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: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_916
#AT_START_917
at_fn_group_banner 917 'i18n.at:43' \
  "convert invalid UTF-8 to ISO-8859-1" "            " 116
at_xfail=no
(
  $as_echo "917. $at_setup_line: testing $at_desc ..."
  $at_traceon



      { set +x
$as_echo "$at_srcdir/i18n.at:43: i18n-test supports_encodings 'UTF-8' 'ISO-8859-1'"
at_fn_check_prepare_trace "i18n.at:43"
( $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:43"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/i18n.at:43: i18n-test recode 'UTF-8' 'ISO-8859-1' 'xy\\300z'"
at_fn_check_prepare_trace "i18n.at:43"
( $at_check_trace; i18n-test recode 'UTF-8' 'ISO-8859-1' '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: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_917
#AT_START_918
at_fn_group_banner 918 'i18n.at:46' \
  "convert truncated UTF-8 to ISO-8559-1" "          " 116
at_xfail=no
(
  $as_echo "918. $at_setup_line: testing $at_desc ..."
  $at_traceon



      { set +x
$as_echo "$at_srcdir/i18n.at:46: i18n-test supports_encodings 'UTF-8' 'ISO-8859-1'"
at_fn_check_prepare_trace "i18n.at:46"
( $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:46"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/i18n.at:46: i18n-test recode 'UTF-8' 'ISO-8859-1' 'xy\\302'"
at_fn_check_prepare_trace "i18n.at:46"
( $at_check_trace; i18n-test recode 'UTF-8' 'ISO-8859-1' '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: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_918
#AT_START_919
at_fn_group_banner 919 'i18n.at:51' \
  "convert dropped final character in windows-1258" "" 116
at_xfail=no
(
  $as_echo "919. $at_setup_line: testing $at_desc ..."
  $at_traceon



      { set +x
$as_echo "$at_srcdir/i18n.at:51: i18n-test supports_encodings 'windows-1258' 'UTF-8'"
at_fn_check_prepare_trace "i18n.at:51"
( $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:51"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/i18n.at:51: i18n-test recode 'windows-1258' 'UTF-8' 'aeiou'"
at_fn_check_prepare_trace "i18n.at:51"
( $at_check_trace; i18n-test recode 'windows-1258' 'UTF-8' '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: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_919
#AT_START_920
at_fn_group_banner 920 'i18n.at:56' \
  "convert from ISO-8859-1 to UTF-8 with overflow" " " 116
at_xfail=no
(
  $as_echo "920. $at_setup_line: testing $at_desc ..."
  $at_traceon



      { set +x
$as_echo "$at_srcdir/i18n.at:56: i18n-test supports_encodings 'ISO-8859-1' 'UTF-8'"
at_fn_check_prepare_trace "i18n.at:56"
( $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:56"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/i18n.at:56: i18n-test recode 'ISO-8859-1' 'UTF-8' 'Tsch\\374\\337!'"
at_fn_check_prepare_trace "i18n.at:56"
( $at_check_trace; i18n-test recode 'ISO-8859-1' 'UTF-8' '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: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_920
#AT_START_921
at_fn_group_banner 921 'i18n.at:60' \
  "convert unknown encoding" "                       " 116
at_xfail=no
(
  $as_echo "921. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/i18n.at:62: i18n-test recode nonexistent1 nonexistent2 asdf"
at_fn_check_prepare_trace "i18n.at:62"
( $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: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_921
#AT_START_922
at_fn_group_banner 922 'i18n.at:90' \
  "truncate \"abc\" to 6 bytes in UTF-8" "             " 117
at_xfail=no
(
  $as_echo "922. $at_setup_line: testing $at_desc ..."
  $at_traceon



      { set +x
$as_echo "$at_srcdir/i18n.at:90: i18n-test supports_encodings 'UTF-8'"
at_fn_check_prepare_trace "i18n.at:90"
( $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:90"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/i18n.at:90: i18n-test concat 'abc' '' 'UTF-8' '6'"
at_fn_check_prepare_trace "i18n.at:90"
( $at_check_trace; i18n-test concat 'abc' '' '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:90"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $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 'i18n.at:91' \
  "truncate \"\" + \"xyz\" to 6 bytes in UTF-8" "        " 117
at_xfail=no
(
  $as_echo "923. $at_setup_line: testing $at_desc ..."
  $at_traceon



      { set +x
$as_echo "$at_srcdir/i18n.at:91: i18n-test supports_encodings 'UTF-8'"
at_fn_check_prepare_trace "i18n.at:91"
( $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:91"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/i18n.at:91: i18n-test concat '' 'xyz' 'UTF-8' '6'"
at_fn_check_prepare_trace "i18n.at:91"
( $at_check_trace; i18n-test concat '' '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: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_923
#AT_START_924
at_fn_group_banner 924 'i18n.at:92' \
  "truncate \"\" to 6 bytes in UTF-8" "                " 117
at_xfail=no
(
  $as_echo "924. $at_setup_line: testing $at_desc ..."
  $at_traceon



      { set +x
$as_echo "$at_srcdir/i18n.at:92: i18n-test supports_encodings 'UTF-8'"
at_fn_check_prepare_trace "i18n.at:92"
( $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:92"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/i18n.at:92: i18n-test concat '' '' 'UTF-8' '6'"
at_fn_check_prepare_trace "i18n.at:92"
( $at_check_trace; i18n-test concat '' '' '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: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_924
#AT_START_925
at_fn_group_banner 925 'i18n.at:93' \
  "truncate \"abcdefghij\" to 6 bytes in UTF-8" "      " 117
at_xfail=no
(
  $as_echo "925. $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 'abcdefghij' '' 'UTF-8' '6'"
at_fn_check_prepare_trace "i18n.at:93"
( $at_check_trace; i18n-test concat 'abcdefghij' '' '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: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_925
#AT_START_926
at_fn_group_banner 926 'i18n.at:94' \
  "truncate \"\" + \"tuvwxyz\" to 6 bytes in UTF-8" "    " 117
at_xfail=no
(
  $as_echo "926. $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 '' 'tuvwxyz' 'UTF-8' '6'"
at_fn_check_prepare_trace "i18n.at:94"
( $at_check_trace; i18n-test concat '' '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: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_926
#AT_START_927
at_fn_group_banner 927 'i18n.at:96' \
  "truncate \"abc\" + \"xyz\" to 6 bytes in UTF-8" "     " 117
at_xfail=no
(
  $as_echo "927. $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 'abc' 'xyz' 'UTF-8' '6'"
at_fn_check_prepare_trace "i18n.at:96"
( $at_check_trace; i18n-test concat 'abc' '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: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_927
#AT_START_928
at_fn_group_banner 928 'i18n.at:97' \
  "truncate \"abcd\" + \"xyz\" to 6 bytes in UTF-8" "    " 117
at_xfail=no
(
  $as_echo "928. $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 'abcd' 'xyz' 'UTF-8' '6'"
at_fn_check_prepare_trace "i18n.at:97"
( $at_check_trace; i18n-test concat 'abcd' '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: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_928
#AT_START_929
at_fn_group_banner 929 'i18n.at:98' \
  "truncate \"abc\" + \"uvwxyz\" to 6 bytes in UTF-8" "  " 117
at_xfail=no
(
  $as_echo "929. $at_setup_line: testing $at_desc ..."
  $at_traceon



      { set +x
$as_echo "$at_srcdir/i18n.at:98: i18n-test supports_encodings 'UTF-8'"
at_fn_check_prepare_trace "i18n.at:98"
( $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:98"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/i18n.at:98: i18n-test concat 'abc' 'uvwxyz' 'UTF-8' '6'"
at_fn_check_prepare_trace "i18n.at:98"
( $at_check_trace; i18n-test concat 'abc' '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: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_929
#AT_START_930
at_fn_group_banner 930 'i18n.at:102' \
  "truncate \"x\\342\\203\\236\" + \"y\" to 0 bytes in UTF-8" "" 117
at_xfail=no
(
  $as_echo "930. $at_setup_line: testing $at_desc ..."
  $at_traceon



      { set +x
$as_echo "$at_srcdir/i18n.at:102: i18n-test supports_encodings 'UTF-8'"
at_fn_check_prepare_trace "i18n.at:102"
( $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:102"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/i18n.at:102: i18n-test concat 'x\\342\\203\\236' 'y' 'UTF-8' '0'"
at_fn_check_prepare_trace "i18n.at:102"
( $at_check_trace; i18n-test concat 'x\342\203\236' '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: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_930
#AT_START_931
at_fn_group_banner 931 'i18n.at:103' \
  "truncate \"x\\342\\203\\236\" + \"y\" to 1 bytes in UTF-8" "" 117
at_xfail=no
(
  $as_echo "931. $at_setup_line: testing $at_desc ..."
  $at_traceon



      { set +x
$as_echo "$at_srcdir/i18n.at:103: i18n-test supports_encodings 'UTF-8'"
at_fn_check_prepare_trace "i18n.at:103"
( $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:103"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/i18n.at:103: i18n-test concat 'x\\342\\203\\236' 'y' 'UTF-8' '1'"
at_fn_check_prepare_trace "i18n.at:103"
( $at_check_trace; i18n-test concat 'x\342\203\236' '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: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_931
#AT_START_932
at_fn_group_banner 932 'i18n.at:104' \
  "truncate \"x\\342\\203\\236\" + \"y\" to 2 bytes in UTF-8" "" 117
at_xfail=no
(
  $as_echo "932. $at_setup_line: testing $at_desc ..."
  $at_traceon



      { set +x
$as_echo "$at_srcdir/i18n.at:104: i18n-test supports_encodings 'UTF-8'"
at_fn_check_prepare_trace "i18n.at:104"
( $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:104"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/i18n.at:104: i18n-test concat 'x\\342\\203\\236' 'y' 'UTF-8' '2'"
at_fn_check_prepare_trace "i18n.at:104"
( $at_check_trace; i18n-test concat 'x\342\203\236' '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: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_932
#AT_START_933
at_fn_group_banner 933 'i18n.at:105' \
  "truncate \"x\\342\\203\\236\" + \"y\" to 3 bytes in UTF-8" "" 117
at_xfail=no
(
  $as_echo "933. $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 'x\\342\\203\\236' 'y' 'UTF-8' '3'"
at_fn_check_prepare_trace "i18n.at:105"
( $at_check_trace; i18n-test concat 'x\342\203\236' '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: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_933
#AT_START_934
at_fn_group_banner 934 'i18n.at:106' \
  "truncate \"x\\342\\203\\236\" + \"y\" to 4 bytes in UTF-8" "" 117
at_xfail=no
(
  $as_echo "934. $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 'x\\342\\203\\236' 'y' 'UTF-8' '4'"
at_fn_check_prepare_trace "i18n.at:106"
( $at_check_trace; i18n-test concat 'x\342\203\236' '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: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_934
#AT_START_935
at_fn_group_banner 935 'i18n.at:107' \
  "truncate \"x\\342\\203\\236\" + \"y\" to 5 bytes in UTF-8" "" 117
at_xfail=no
(
  $as_echo "935. $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 'x\\342\\203\\236' 'y' 'UTF-8' '5'"
at_fn_check_prepare_trace "i18n.at:107"
( $at_check_trace; i18n-test concat 'x\342\203\236' '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: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_935
#AT_START_936
at_fn_group_banner 936 'i18n.at:110' \
  "truncate \"\\303\\251\\303\\250\\303\\244\" + \"xyz\" to 0 bytes in ISO-8859-1" "" 117
at_xfail=no
(
  $as_echo "936. $at_setup_line: testing $at_desc ..."
  $at_traceon



      { set +x
$as_echo "$at_srcdir/i18n.at:110: i18n-test supports_encodings 'ISO-8859-1'"
at_fn_check_prepare_trace "i18n.at:110"
( $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:110"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/i18n.at:110: i18n-test concat '\\303\\251\\303\\250\\303\\244' 'xyz' 'ISO-8859-1' '0'"
at_fn_check_prepare_trace "i18n.at:110"
( $at_check_trace; i18n-test concat '\303\251\303\250\303\244' '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: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_936
#AT_START_937
at_fn_group_banner 937 'i18n.at:111' \
  "truncate \"\\303\\251\\303\\250\\303\\244\" + \"xyz\" to 1 bytes in ISO-8859-1" "" 117
at_xfail=no
(
  $as_echo "937. $at_setup_line: testing $at_desc ..."
  $at_traceon



      { set +x
$as_echo "$at_srcdir/i18n.at:111: i18n-test supports_encodings 'ISO-8859-1'"
at_fn_check_prepare_trace "i18n.at:111"
( $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:111"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/i18n.at:111: i18n-test concat '\\303\\251\\303\\250\\303\\244' 'xyz' 'ISO-8859-1' '1'"
at_fn_check_prepare_trace "i18n.at:111"
( $at_check_trace; i18n-test concat '\303\251\303\250\303\244' '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: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_937
#AT_START_938
at_fn_group_banner 938 'i18n.at:112' \
  "truncate \"\\303\\251\\303\\250\\303\\244\" + \"xyz\" to 2 bytes in ISO-8859-1" "" 117
at_xfail=no
(
  $as_echo "938. $at_setup_line: testing $at_desc ..."
  $at_traceon



      { set +x
$as_echo "$at_srcdir/i18n.at:112: i18n-test supports_encodings 'ISO-8859-1'"
at_fn_check_prepare_trace "i18n.at:112"
( $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:112"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/i18n.at:112: i18n-test concat '\\303\\251\\303\\250\\303\\244' 'xyz' 'ISO-8859-1' '2'"
at_fn_check_prepare_trace "i18n.at:112"
( $at_check_trace; i18n-test concat '\303\251\303\250\303\244' '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: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_938
#AT_START_939
at_fn_group_banner 939 'i18n.at:113' \
  "truncate \"\\303\\251\\303\\250\\303\\244\" + \"xyz\" to 3 bytes in ISO-8859-1" "" 117
at_xfail=no
(
  $as_echo "939. $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 '\\303\\251\\303\\250\\303\\244' 'xyz' 'ISO-8859-1' '3'"
at_fn_check_prepare_trace "i18n.at:113"
( $at_check_trace; i18n-test concat '\303\251\303\250\303\244' '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: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_939
#AT_START_940
at_fn_group_banner 940 'i18n.at:114' \
  "truncate \"\\303\\251\\303\\250\\303\\244\" + \"xyz\" to 4 bytes in ISO-8859-1" "" 117
at_xfail=no
(
  $as_echo "940. $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 '\\303\\251\\303\\250\\303\\244' 'xyz' 'ISO-8859-1' '4'"
at_fn_check_prepare_trace "i18n.at:114"
( $at_check_trace; i18n-test concat '\303\251\303\250\303\244' '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: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_940
#AT_START_941
at_fn_group_banner 941 'i18n.at:116' \
  "truncate \"\\303\\251\\303\\250\\303\\244\" + \"xyz\" to 5 bytes in ISO-8859-1" "" 117
at_xfail=no
(
  $as_echo "941. $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 '\\303\\251\\303\\250\\303\\244' 'xyz' 'ISO-8859-1' '5'"
at_fn_check_prepare_trace "i18n.at:116"
( $at_check_trace; i18n-test concat '\303\251\303\250\303\244' '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: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_941
#AT_START_942
at_fn_group_banner 942 'i18n.at:118' \
  "truncate \"\\303\\251\\303\\250\\303\\244\" + \"xyz\" to 6 bytes in ISO-8859-1" "" 117
at_xfail=no
(
  $as_echo "942. $at_setup_line: testing $at_desc ..."
  $at_traceon



      { set +x
$as_echo "$at_srcdir/i18n.at:118: i18n-test supports_encodings 'ISO-8859-1'"
at_fn_check_prepare_trace "i18n.at:118"
( $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:118"
$at_failed && at_fn_log_failure
$at_traceon; }

   { set +x
$as_echo "$at_srcdir/i18n.at:118: i18n-test concat '\\303\\251\\303\\250\\303\\244' 'xyz' 'ISO-8859-1' '6'"
at_fn_check_prepare_trace "i18n.at:118"
( $at_check_trace; i18n-test concat '\303\251\303\250\303\244' '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:118"
$at_failed && at_fn_log_failure
$at_traceon; }

     set +x
  $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 'line-reader.at:19' \
  "read ASCII" "                                     " 118
at_xfail=no
(
  $as_echo "943. $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_943
#AT_START_944
at_fn_group_banner 944 'line-reader.at:28' \
  "read UTF-8" "                                     " 118
at_xfail=no
(
  $as_echo "944. $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_944
#AT_START_945
at_fn_group_banner 945 'line-reader.at:36' \
  "read EUC-JP" "                                    " 118
at_xfail=no
(
  $as_echo "945. $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_945
#AT_START_946
at_fn_group_banner 946 'line-reader.at:45' \
  "read ASCII as Auto" "                             " 118
at_xfail=no
(
  $as_echo "946. $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_946
#AT_START_947
at_fn_group_banner 947 'line-reader.at:53' \
  "read UTF-8 as Auto" "                             " 118
at_xfail=no
(
  $as_echo "947. $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_947
#AT_START_948
at_fn_group_banner 948 'line-reader.at:62' \
  "read ISO-8859-1 as Auto,ISO-8859-1" "             " 118
at_xfail=no
(
  $as_echo "948. $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_948
#AT_START_949
at_fn_group_banner 949 'line-reader.at:74' \
  "read UTF-16BE as Auto,UTF-16BE" "                 " 118
at_xfail=no
(
  $as_echo "949. $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_949
#AT_START_950
at_fn_group_banner 950 'line-reader.at:83' \
  "read EUC-JP as Auto,EUC-JP" "                     " 118
at_xfail=no
(
  $as_echo "950. $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_950
#AT_START_951
at_fn_group_banner 951 'll.at:25' \
  "ll -- push-pop" "                                 " 119
at_xfail=no
(
  $as_echo "951. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/ll.at:25: ll-test push-pop"
at_fn_check_prepare_trace "ll.at:25"
( $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: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_951
#AT_START_952
at_fn_group_banner 952 'll.at:26' \
  "ll -- insert-remove" "                            " 119
at_xfail=no
(
  $as_echo "952. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/ll.at:26: ll-test insert-remove"
at_fn_check_prepare_trace "ll.at:26"
( $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: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_952
#AT_START_953
at_fn_group_banner 953 'll.at:27' \
  "ll -- swap" "                                     " 119
at_xfail=no
(
  $as_echo "953. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/ll.at:27: ll-test swap"
at_fn_check_prepare_trace "ll.at:27"
( $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: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_953
#AT_START_954
at_fn_group_banner 954 'll.at:28' \
  "ll -- swap-range" "                               " 119
at_xfail=no
(
  $as_echo "954. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/ll.at:28: ll-test swap-range"
at_fn_check_prepare_trace "ll.at:28"
( $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: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_954
#AT_START_955
at_fn_group_banner 955 'll.at:29' \
  "ll -- remove-range" "                             " 119
at_xfail=no
(
  $as_echo "955. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/ll.at:29: ll-test remove-range"
at_fn_check_prepare_trace "ll.at:29"
( $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: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_955
#AT_START_956
at_fn_group_banner 956 'll.at:30' \
  "ll -- remove-equal" "                             " 119
at_xfail=no
(
  $as_echo "956. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/ll.at:30: ll-test remove-equal"
at_fn_check_prepare_trace "ll.at:30"
( $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: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_956
#AT_START_957
at_fn_group_banner 957 'll.at:31' \
  "ll -- remove-if" "                                " 119
at_xfail=no
(
  $as_echo "957. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/ll.at:31: ll-test remove-if"
at_fn_check_prepare_trace "ll.at:31"
( $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: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_957
#AT_START_958
at_fn_group_banner 958 'll.at:32' \
  "ll -- moved" "                                    " 119
at_xfail=no
(
  $as_echo "958. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/ll.at:32: ll-test moved"
at_fn_check_prepare_trace "ll.at:32"
( $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: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_958
#AT_START_959
at_fn_group_banner 959 'll.at:33' \
  "ll -- find-equal" "                               " 119
at_xfail=no
(
  $as_echo "959. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/ll.at:33: ll-test find-equal"
at_fn_check_prepare_trace "ll.at:33"
( $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: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_959
#AT_START_960
at_fn_group_banner 960 'll.at:34' \
  "ll -- find-if" "                                  " 119
at_xfail=no
(
  $as_echo "960. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/ll.at:34: ll-test find-if"
at_fn_check_prepare_trace "ll.at:34"
( $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: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_960
#AT_START_961
at_fn_group_banner 961 'll.at:35' \
  "ll -- find-adjacent-equal" "                      " 119
at_xfail=no
(
  $as_echo "961. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/ll.at:35: ll-test find-adjacent-equal"
at_fn_check_prepare_trace "ll.at:35"
( $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: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_961
#AT_START_962
at_fn_group_banner 962 'll.at:36' \
  "ll -- count-range" "                              " 119
at_xfail=no
(
  $as_echo "962. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/ll.at:36: ll-test count-range"
at_fn_check_prepare_trace "ll.at:36"
( $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: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_962
#AT_START_963
at_fn_group_banner 963 'll.at:37' \
  "ll -- count-equal" "                              " 119
at_xfail=no
(
  $as_echo "963. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/ll.at:37: ll-test count-equal"
at_fn_check_prepare_trace "ll.at:37"
( $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: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_963
#AT_START_964
at_fn_group_banner 964 'll.at:38' \
  "ll -- count-if" "                                 " 119
at_xfail=no
(
  $as_echo "964. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/ll.at:38: ll-test count-if"
at_fn_check_prepare_trace "ll.at:38"
( $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: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_964
#AT_START_965
at_fn_group_banner 965 'll.at:39' \
  "ll -- min-max" "                                  " 119
at_xfail=no
(
  $as_echo "965. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/ll.at:39: ll-test min-max"
at_fn_check_prepare_trace "ll.at:39"
( $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: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_965
#AT_START_966
at_fn_group_banner 966 'll.at:40' \
  "ll -- lexicographical-compare-3way" "             " 119
at_xfail=no
(
  $as_echo "966. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/ll.at:40: ll-test lexicographical-compare-3way"
at_fn_check_prepare_trace "ll.at:40"
( $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: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_966
#AT_START_967
at_fn_group_banner 967 'll.at:41' \
  "ll -- apply" "                                    " 119
at_xfail=no
(
  $as_echo "967. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/ll.at:41: ll-test apply"
at_fn_check_prepare_trace "ll.at:41"
( $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: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_967
#AT_START_968
at_fn_group_banner 968 'll.at:42' \
  "ll -- reverse" "                                  " 119
at_xfail=no
(
  $as_echo "968. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/ll.at:42: ll-test reverse"
at_fn_check_prepare_trace "ll.at:42"
( $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: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_968
#AT_START_969
at_fn_group_banner 969 'll.at:43' \
  "ll -- permutations-no-dups" "                     " 119
at_xfail=no
(
  $as_echo "969. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/ll.at:43: ll-test permutations-no-dups"
at_fn_check_prepare_trace "ll.at:43"
( $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: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_969
#AT_START_970
at_fn_group_banner 970 'll.at:44' \
  "ll -- permutations-with-dups" "                   " 119
at_xfail=no
(
  $as_echo "970. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/ll.at:44: ll-test permutations-with-dups"
at_fn_check_prepare_trace "ll.at:44"
( $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: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_970
#AT_START_971
at_fn_group_banner 971 'll.at:45' \
  "ll -- merge-no-dups" "                            " 119
at_xfail=no
(
  $as_echo "971. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/ll.at:45: ll-test merge-no-dups"
at_fn_check_prepare_trace "ll.at:45"
( $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: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_971
#AT_START_972
at_fn_group_banner 972 'll.at:46' \
  "ll -- merge-with-dups" "                          " 119
at_xfail=no
(
  $as_echo "972. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/ll.at:46: ll-test merge-with-dups"
at_fn_check_prepare_trace "ll.at:46"
( $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: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_972
#AT_START_973
at_fn_group_banner 973 'll.at:47' \
  "ll -- sort-exhaustive" "                          " 119
at_xfail=no
(
  $as_echo "973. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/ll.at:47: ll-test sort-exhaustive"
at_fn_check_prepare_trace "ll.at:47"
( $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: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_973
#AT_START_974
at_fn_group_banner 974 'll.at:48' \
  "ll -- sort-stable" "                              " 119
at_xfail=no
(
  $as_echo "974. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/ll.at:48: ll-test sort-stable"
at_fn_check_prepare_trace "ll.at:48"
( $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: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_974
#AT_START_975
at_fn_group_banner 975 'll.at:49' \
  "ll -- sort-subset" "                              " 119
at_xfail=no
(
  $as_echo "975. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/ll.at:49: ll-test sort-subset"
at_fn_check_prepare_trace "ll.at:49"
( $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: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_975
#AT_START_976
at_fn_group_banner 976 'll.at:50' \
  "ll -- sort-big" "                                 " 119
at_xfail=no
(
  $as_echo "976. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/ll.at:50: ll-test sort-big"
at_fn_check_prepare_trace "ll.at:50"
( $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: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_976
#AT_START_977
at_fn_group_banner 977 'll.at:51' \
  "ll -- unique" "                                   " 119
at_xfail=no
(
  $as_echo "977. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/ll.at:51: ll-test unique"
at_fn_check_prepare_trace "ll.at:51"
( $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: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_977
#AT_START_978
at_fn_group_banner 978 'll.at:52' \
  "ll -- sort-unique" "                              " 119
at_xfail=no
(
  $as_echo "978. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/ll.at:52: ll-test sort-unique"
at_fn_check_prepare_trace "ll.at:52"
( $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: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_978
#AT_START_979
at_fn_group_banner 979 'll.at:53' \
  "ll -- insert-ordered" "                           " 119
at_xfail=no
(
  $as_echo "979. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/ll.at:53: ll-test insert-ordered"
at_fn_check_prepare_trace "ll.at:53"
( $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: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_979
#AT_START_980
at_fn_group_banner 980 'll.at:54' \
  "ll -- partition" "                                " 119
at_xfail=no
(
  $as_echo "980. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/ll.at:54: ll-test partition"
at_fn_check_prepare_trace "ll.at:54"
( $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: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_980
#AT_START_981
at_fn_group_banner 981 'llx.at:25' \
  "llx -- push-pop" "                                " 120
at_xfail=no
(
  $as_echo "981. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/llx.at:25: llx-test push-pop"
at_fn_check_prepare_trace "llx.at:25"
( $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: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_981
#AT_START_982
at_fn_group_banner 982 'llx.at:26' \
  "llx -- insert-remove" "                           " 120
at_xfail=no
(
  $as_echo "982. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/llx.at:26: llx-test insert-remove"
at_fn_check_prepare_trace "llx.at:26"
( $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: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_982
#AT_START_983
at_fn_group_banner 983 'llx.at:27' \
  "llx -- swap" "                                    " 120
at_xfail=no
(
  $as_echo "983. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/llx.at:27: llx-test swap"
at_fn_check_prepare_trace "llx.at:27"
( $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: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_983
#AT_START_984
at_fn_group_banner 984 'llx.at:28' \
  "llx -- swap-range" "                              " 120
at_xfail=no
(
  $as_echo "984. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/llx.at:28: llx-test swap-range"
at_fn_check_prepare_trace "llx.at:28"
( $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: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_984
#AT_START_985
at_fn_group_banner 985 'llx.at:29' \
  "llx -- remove-range" "                            " 120
at_xfail=no
(
  $as_echo "985. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/llx.at:29: llx-test remove-range"
at_fn_check_prepare_trace "llx.at:29"
( $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: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_985
#AT_START_986
at_fn_group_banner 986 'llx.at:30' \
  "llx -- remove-equal" "                            " 120
at_xfail=no
(
  $as_echo "986. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/llx.at:30: llx-test remove-equal"
at_fn_check_prepare_trace "llx.at:30"
( $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: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_986
#AT_START_987
at_fn_group_banner 987 'llx.at:31' \
  "llx -- remove-if" "                               " 120
at_xfail=no
(
  $as_echo "987. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/llx.at:31: llx-test remove-if"
at_fn_check_prepare_trace "llx.at:31"
( $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: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_987
#AT_START_988
at_fn_group_banner 988 'llx.at:32' \
  "llx -- find-equal" "                              " 120
at_xfail=no
(
  $as_echo "988. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/llx.at:32: llx-test find-equal"
at_fn_check_prepare_trace "llx.at:32"
( $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: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_988
#AT_START_989
at_fn_group_banner 989 'llx.at:33' \
  "llx -- find" "                                    " 120
at_xfail=no
(
  $as_echo "989. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/llx.at:33: llx-test find"
at_fn_check_prepare_trace "llx.at:33"
( $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: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_989
#AT_START_990
at_fn_group_banner 990 'llx.at:34' \
  "llx -- find-if" "                                 " 120
at_xfail=no
(
  $as_echo "990. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/llx.at:34: llx-test find-if"
at_fn_check_prepare_trace "llx.at:34"
( $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: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_990
#AT_START_991
at_fn_group_banner 991 'llx.at:35' \
  "llx -- find-adjacent-equal" "                     " 120
at_xfail=no
(
  $as_echo "991. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/llx.at:35: llx-test find-adjacent-equal"
at_fn_check_prepare_trace "llx.at:35"
( $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: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_991
#AT_START_992
at_fn_group_banner 992 'llx.at:36' \
  "llx -- count-range" "                             " 120
at_xfail=no
(
  $as_echo "992. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/llx.at:36: llx-test count-range"
at_fn_check_prepare_trace "llx.at:36"
( $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: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_992
#AT_START_993
at_fn_group_banner 993 'llx.at:37' \
  "llx -- count-equal" "                             " 120
at_xfail=no
(
  $as_echo "993. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/llx.at:37: llx-test count-equal"
at_fn_check_prepare_trace "llx.at:37"
( $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: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_993
#AT_START_994
at_fn_group_banner 994 'llx.at:38' \
  "llx -- count-if" "                                " 120
at_xfail=no
(
  $as_echo "994. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/llx.at:38: llx-test count-if"
at_fn_check_prepare_trace "llx.at:38"
( $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: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_994
#AT_START_995
at_fn_group_banner 995 'llx.at:39' \
  "llx -- min-max" "                                 " 120
at_xfail=no
(
  $as_echo "995. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/llx.at:39: llx-test min-max"
at_fn_check_prepare_trace "llx.at:39"
( $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: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_995
#AT_START_996
at_fn_group_banner 996 'llx.at:40' \
  "llx -- lexicographical-compare-3way" "            " 120
at_xfail=no
(
  $as_echo "996. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/llx.at:40: llx-test lexicographical-compare-3way"
at_fn_check_prepare_trace "llx.at:40"
( $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: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_996
#AT_START_997
at_fn_group_banner 997 'llx.at:41' \
  "llx -- apply" "                                   " 120
at_xfail=no
(
  $as_echo "997. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/llx.at:41: llx-test apply"
at_fn_check_prepare_trace "llx.at:41"
( $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: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_997
#AT_START_998
at_fn_group_banner 998 'llx.at:42' \
  "llx -- destroy" "                                 " 120
at_xfail=no
(
  $as_echo "998. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/llx.at:42: llx-test destroy"
at_fn_check_prepare_trace "llx.at:42"
( $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: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_998
#AT_START_999
at_fn_group_banner 999 'llx.at:43' \
  "llx -- reverse" "                                 " 120
at_xfail=no
(
  $as_echo "999. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/llx.at:43: llx-test reverse"
at_fn_check_prepare_trace "llx.at:43"
( $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: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_999
#AT_START_1000
at_fn_group_banner 1000 'llx.at:44' \
  "llx -- permutations-no-dups" "                    " 120
at_xfail=no
(
  $as_echo "1000. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/llx.at:44: llx-test permutations-no-dups"
at_fn_check_prepare_trace "llx.at:44"
( $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: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_1000
#AT_START_1001
at_fn_group_banner 1001 'llx.at:45' \
  "llx -- permutations-with-dups" "                  " 120
at_xfail=no
(
  $as_echo "1001. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/llx.at:45: llx-test permutations-with-dups"
at_fn_check_prepare_trace "llx.at:45"
( $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: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_1001
#AT_START_1002
at_fn_group_banner 1002 'llx.at:46' \
  "llx -- merge-no-dups" "                           " 120
at_xfail=no
(
  $as_echo "1002. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/llx.at:46: llx-test merge-no-dups"
at_fn_check_prepare_trace "llx.at:46"
( $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: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_1002
#AT_START_1003
at_fn_group_banner 1003 'llx.at:47' \
  "llx -- merge-with-dups" "                         " 120
at_xfail=no
(
  $as_echo "1003. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/llx.at:47: llx-test merge-with-dups"
at_fn_check_prepare_trace "llx.at:47"
( $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: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_1003
#AT_START_1004
at_fn_group_banner 1004 'llx.at:48' \
  "llx -- sort-exhaustive" "                         " 120
at_xfail=no
(
  $as_echo "1004. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/llx.at:48: llx-test sort-exhaustive"
at_fn_check_prepare_trace "llx.at:48"
( $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: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_1004
#AT_START_1005
at_fn_group_banner 1005 'llx.at:49' \
  "llx -- sort-stable" "                             " 120
at_xfail=no
(
  $as_echo "1005. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/llx.at:49: llx-test sort-stable"
at_fn_check_prepare_trace "llx.at:49"
( $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: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_1005
#AT_START_1006
at_fn_group_banner 1006 'llx.at:50' \
  "llx -- sort-subset" "                             " 120
at_xfail=no
(
  $as_echo "1006. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/llx.at:50: llx-test sort-subset"
at_fn_check_prepare_trace "llx.at:50"
( $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: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_1006
#AT_START_1007
at_fn_group_banner 1007 'llx.at:51' \
  "llx -- sort-big" "                                " 120
at_xfail=no
(
  $as_echo "1007. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/llx.at:51: llx-test sort-big"
at_fn_check_prepare_trace "llx.at:51"
( $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: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_1007
#AT_START_1008
at_fn_group_banner 1008 'llx.at:52' \
  "llx -- unique" "                                  " 120
at_xfail=no
(
  $as_echo "1008. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/llx.at:52: llx-test unique"
at_fn_check_prepare_trace "llx.at:52"
( $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: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_1008
#AT_START_1009
at_fn_group_banner 1009 'llx.at:53' \
  "llx -- sort-unique" "                             " 120
at_xfail=no
(
  $as_echo "1009. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/llx.at:53: llx-test sort-unique"
at_fn_check_prepare_trace "llx.at:53"
( $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: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_1009
#AT_START_1010
at_fn_group_banner 1010 'llx.at:54' \
  "llx -- insert-ordered" "                          " 120
at_xfail=no
(
  $as_echo "1010. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/llx.at:54: llx-test insert-ordered"
at_fn_check_prepare_trace "llx.at:54"
( $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: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_1010
#AT_START_1011
at_fn_group_banner 1011 'llx.at:55' \
  "llx -- partition" "                               " 120
at_xfail=no
(
  $as_echo "1011. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/llx.at:55: llx-test partition"
at_fn_check_prepare_trace "llx.at:55"
( $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: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_1011
#AT_START_1012
at_fn_group_banner 1012 'llx.at:56' \
  "llx -- allocation-failure" "                      " 120
at_xfail=no
(
  $as_echo "1012. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/llx.at:56: llx-test allocation-failure"
at_fn_check_prepare_trace "llx.at:56"
( $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: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_1012
#AT_START_1013
at_fn_group_banner 1013 'range-map.at:24' \
  "range-map -- insert" "                            " 121
at_xfail=no
(
  $as_echo "1013. $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_1013
#AT_START_1014
at_fn_group_banner 1014 'range-map.at:25' \
  "range-map -- delete-contiguous" "                 " 121
at_xfail=no
(
  $as_echo "1014. $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_1014
#AT_START_1015
at_fn_group_banner 1015 'range-map.at:26' \
  "range-map -- delete-gaps" "                       " 121
at_xfail=no
(
  $as_echo "1015. $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_1015
#AT_START_1016
at_fn_group_banner 1016 'range-set.at:24' \
  "range-set -- insert" "                            " 122
at_xfail=no
(
  $as_echo "1016. $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_1016
#AT_START_1017
at_fn_group_banner 1017 'range-set.at:25' \
  "range-set -- delete" "                            " 122
at_xfail=no
(
  $as_echo "1017. $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_1017
#AT_START_1018
at_fn_group_banner 1018 'range-set.at:26' \
  "range-set -- allocate" "                          " 122
at_xfail=no
(
  $as_echo "1018. $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_1018
#AT_START_1019
at_fn_group_banner 1019 'range-set.at:27' \
  "range-set -- allocate-fully" "                    " 122
at_xfail=no
(
  $as_echo "1019. $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_1019
#AT_START_1020
at_fn_group_banner 1020 'range-set.at:28' \
  "range-set -- pool" "                              " 122
at_xfail=no
(
  $as_echo "1020. $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_1020
#AT_START_1021
at_fn_group_banner 1021 'range-set.at:29' \
  "range-set -- destroy-null" "                      " 122
at_xfail=no
(
  $as_echo "1021. $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_1021
#AT_START_1022
at_fn_group_banner 1022 'range-tower.at:25' \
  "range-tower -- set1" "                            " 123
at_xfail=no
(
  $as_echo "1022. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/range-tower.at:25: range-tower-test set1"
at_fn_check_prepare_trace "range-tower.at:25"
( $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: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_1022
#AT_START_1023
at_fn_group_banner 1023 'range-tower.at:26' \
  "range-tower -- set0" "                            " 123
at_xfail=no
(
  $as_echo "1023. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/range-tower.at:26: range-tower-test set0"
at_fn_check_prepare_trace "range-tower.at:26"
( $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: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_1023
#AT_START_1024
at_fn_group_banner 1024 'range-tower.at:27' \
  "range-tower -- insert0" "                         " 123
at_xfail=no
(
  $as_echo "1024. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/range-tower.at:27: range-tower-test insert0"
at_fn_check_prepare_trace "range-tower.at:27"
( $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: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_1024
#AT_START_1025
at_fn_group_banner 1025 'range-tower.at:28' \
  "range-tower -- insert1" "                         " 123
at_xfail=no
(
  $as_echo "1025. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/range-tower.at:28: range-tower-test insert1"
at_fn_check_prepare_trace "range-tower.at:28"
( $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: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_1025
#AT_START_1026
at_fn_group_banner 1026 'range-tower.at:29' \
  "range-tower -- delete" "                          " 123
at_xfail=no
(
  $as_echo "1026. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/range-tower.at:29: range-tower-test delete"
at_fn_check_prepare_trace "range-tower.at:29"
( $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: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_1026
#AT_START_1027
at_fn_group_banner 1027 'range-tower.at:30' \
  "range-tower -- move" "                            " 123
at_xfail=no
(
  $as_echo "1027. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/range-tower.at:30: range-tower-test move"
at_fn_check_prepare_trace "range-tower.at:30"
( $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: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_1027
#AT_START_1028
at_fn_group_banner 1028 'range-tower.at:31' \
  "range-tower -- pool" "                            " 123
at_xfail=no
(
  $as_echo "1028. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/range-tower.at:31: range-tower-test pool"
at_fn_check_prepare_trace "range-tower.at:31"
( $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: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_1028
#AT_START_1029
at_fn_group_banner 1029 'range-tower.at:32' \
  "range-tower -- destroy-null" "                    " 123
at_xfail=no
(
  $as_echo "1029. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/range-tower.at:32: range-tower-test destroy-null"
at_fn_check_prepare_trace "range-tower.at:32"
( $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: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_1029
#AT_START_1030
at_fn_group_banner 1030 'sparse-array.at:25' \
  "sparse array -- random-insert-delete" "           " 124
at_xfail=no
(
  $as_echo "1030. $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_1030
#AT_START_1031
at_fn_group_banner 1031 'sparse-array.at:27' \
  "sparse array -- insert and delete with strides" " " 124
at_xfail=no
(
  $as_echo "1031. $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_1031
#AT_START_1032
at_fn_group_banner 1032 'sparse-xarray-test.at:58' \
  "in-memory sparse_xarray" "                        " 125
at_xfail=no
(
  $as_echo "1032. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/sparse-xarray-test.at:61: 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:61"
( $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: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_1032
#AT_START_1033
at_fn_group_banner 1033 'sparse-xarray-test.at:75' \
  "on-disk sparse_xarray max-memory-rows=0" "        " 125
at_xfail=no
(
  $as_echo "1033. $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=0 --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=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: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_1033
#AT_START_1034
at_fn_group_banner 1034 'sparse-xarray-test.at:76' \
  "on-disk sparse_xarray max-memory-rows=1" "        " 125
at_xfail=no
(
  $as_echo "1034. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/sparse-xarray-test.at:76: 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:76"
( $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: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_1034
#AT_START_1035
at_fn_group_banner 1035 'sparse-xarray-test.at:77' \
  "on-disk sparse_xarray max-memory-rows=2" "        " 125
at_xfail=no
(
  $as_echo "1035. $at_setup_line: testing $at_desc ..."
  $at_traceon


   { set +x
$as_echo "$at_srcdir/sparse-xarray-test.at:77: 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:77"
( $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: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_1035
#AT_START_1036
at_fn_group_banner 1036 'sparse-xarray-test.at:79' \
  "copying between in-memory sparse_xarrays" "       " 125
at_xfail=no
(
  $as_echo "1036. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/sparse-xarray-test.at:81: 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:81"
( $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: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_1036
#AT_START_1037
at_fn_group_banner 1037 'sparse-xarray-test.at:100' \
  "copying between on-disk sparse_xarrays max-memory-rows=0" "" 125
at_xfail=no
(
  $as_echo "1037. $at_setup_line: testing $at_desc ..."
  $at_traceon


   limit=`sparse_xarray_queue_limit`
   { set +x
$as_echo "$at_srcdir/sparse-xarray-test.at:100: 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:100"
( $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: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_1037
#AT_START_1038
at_fn_group_banner 1038 'sparse-xarray-test.at:101' \
  "copying between on-disk sparse_xarrays max-memory-rows=1" "" 125
at_xfail=no
(
  $as_echo "1038. $at_setup_line: testing $at_desc ..."
  $at_traceon


   limit=`sparse_xarray_queue_limit`
   { set +x
$as_echo "$at_srcdir/sparse-xarray-test.at:101: 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:101"
( $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: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_1038
#AT_START_1039
at_fn_group_banner 1039 'str.at:19' \
  "26-adic string formatting" "                      " 126
at_xfail=no
(
  $as_echo "1039. $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_1039
#AT_START_1040
at_fn_group_banner 1040 'string-map.at:25' \
  "string map -- insert-any-remove-any" "            " 127
at_xfail=no
(
  $as_echo "1040. $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_1040
#AT_START_1041
at_fn_group_banner 1041 'string-map.at:26' \
  "string map -- insert-any-remove-same" "           " 127
at_xfail=no
(
  $as_echo "1041. $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_1041
#AT_START_1042
at_fn_group_banner 1042 'string-map.at:27' \
  "string map -- insert-any-remove-reverse" "        " 127
at_xfail=no
(
  $as_echo "1042. $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_1042
#AT_START_1043
at_fn_group_banner 1043 'string-map.at:28' \
  "string map -- random-sequence" "                  " 127
at_xfail=no
(
  $as_echo "1043. $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_1043
#AT_START_1044
at_fn_group_banner 1044 'string-map.at:29' \
  "string map -- replace" "                          " 127
at_xfail=no
(
  $as_echo "1044. $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_1044
#AT_START_1045
at_fn_group_banner 1045 'string-map.at:30' \
  "string map -- insert-ordered" "                   " 127
at_xfail=no
(
  $as_echo "1045. $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_1045
#AT_START_1046
at_fn_group_banner 1046 'string-map.at:31' \
  "string map -- clear" "                            " 127
at_xfail=no
(
  $as_echo "1046. $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_1046
#AT_START_1047
at_fn_group_banner 1047 'string-map.at:32' \
  "string map -- clone" "                            " 127
at_xfail=no
(
  $as_echo "1047. $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_1047
#AT_START_1048
at_fn_group_banner 1048 'string-map.at:33' \
  "string map -- swap" "                             " 127
at_xfail=no
(
  $as_echo "1048. $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_1048
#AT_START_1049
at_fn_group_banner 1049 'string-map.at:34' \
  "string map -- node-swap-value" "                  " 127
at_xfail=no
(
  $as_echo "1049. $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_1049
#AT_START_1050
at_fn_group_banner 1050 'string-map.at:35' \
  "string map -- insert-map" "                       " 127
at_xfail=no
(
  $as_echo "1050. $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_1050
#AT_START_1051
at_fn_group_banner 1051 'string-map.at:36' \
  "string map -- replace-map" "                      " 127
at_xfail=no
(
  $as_echo "1051. $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_1051
#AT_START_1052
at_fn_group_banner 1052 'string-map.at:37' \
  "string map -- get-keys-and-values" "              " 127
at_xfail=no
(
  $as_echo "1052. $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_1052
#AT_START_1053
at_fn_group_banner 1053 'string-map.at:38' \
  "string map -- destroy-null" "                     " 127
at_xfail=no
(
  $as_echo "1053. $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_1053
#AT_START_1054
at_fn_group_banner 1054 'stringi-map.at:25' \
  "case-insensitive string map -- insert-any-remove-any" "" 128
at_xfail=no
(
  $as_echo "1054. $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_1054
#AT_START_1055
at_fn_group_banner 1055 'stringi-map.at:26' \
  "case-insensitive string map -- insert-any-remove-same" "" 128
at_xfail=no
(
  $as_echo "1055. $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_1055
#AT_START_1056
at_fn_group_banner 1056 'stringi-map.at:27' \
  "case-insensitive string map -- insert-any-remove-reverse" "" 128
at_xfail=no
(
  $as_echo "1056. $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_1056
#AT_START_1057
at_fn_group_banner 1057 'stringi-map.at:28' \
  "case-insensitive string map -- random-sequence" " " 128
at_xfail=no
(
  $as_echo "1057. $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_1057
#AT_START_1058
at_fn_group_banner 1058 'stringi-map.at:29' \
  "case-insensitive string map -- replace" "         " 128
at_xfail=no
(
  $as_echo "1058. $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_1058
#AT_START_1059
at_fn_group_banner 1059 'stringi-map.at:30' \
  "case-insensitive string map -- insert-ordered" "  " 128
at_xfail=no
(
  $as_echo "1059. $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_1059
#AT_START_1060
at_fn_group_banner 1060 'stringi-map.at:31' \
  "case-insensitive string map -- clear" "           " 128
at_xfail=no
(
  $as_echo "1060. $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_1060
#AT_START_1061
at_fn_group_banner 1061 'stringi-map.at:32' \
  "case-insensitive string map -- clone" "           " 128
at_xfail=no
(
  $as_echo "1061. $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_1061
#AT_START_1062
at_fn_group_banner 1062 'stringi-map.at:33' \
  "case-insensitive string map -- swap" "            " 128
at_xfail=no
(
  $as_echo "1062. $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_1062
#AT_START_1063
at_fn_group_banner 1063 'stringi-map.at:34' \
  "case-insensitive string map -- node-swap-value" " " 128
at_xfail=no
(
  $as_echo "1063. $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_1063
#AT_START_1064
at_fn_group_banner 1064 'stringi-map.at:35' \
  "case-insensitive string map -- insert-map" "      " 128
at_xfail=no
(
  $as_echo "1064. $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_1064
#AT_START_1065
at_fn_group_banner 1065 'stringi-map.at:36' \
  "case-insensitive string map -- replace-map" "     " 128
at_xfail=no
(
  $as_echo "1065. $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_1065
#AT_START_1066
at_fn_group_banner 1066 'stringi-map.at:37' \
  "case-insensitive string map -- get-keys-and-values" "" 128
at_xfail=no
(
  $as_echo "1066. $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_1066
#AT_START_1067
at_fn_group_banner 1067 'stringi-map.at:38' \
  "case-insensitive string map -- destroy-null" "    " 128
at_xfail=no
(
  $as_echo "1067. $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_1067
#AT_START_1068
at_fn_group_banner 1068 'string-set.at:25' \
  "string set -- insert-any-remove-any" "            " 129
at_xfail=no
(
  $as_echo "1068. $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_1068
#AT_START_1069
at_fn_group_banner 1069 'string-set.at:26' \
  "string set -- insert-any-remove-same" "           " 129
at_xfail=no
(
  $as_echo "1069. $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_1069
#AT_START_1070
at_fn_group_banner 1070 'string-set.at:27' \
  "string set -- insert-any-remove-reverse" "        " 129
at_xfail=no
(
  $as_echo "1070. $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_1070
#AT_START_1071
at_fn_group_banner 1071 'string-set.at:28' \
  "string set -- random-sequence" "                  " 129
at_xfail=no
(
  $as_echo "1071. $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_1071
#AT_START_1072
at_fn_group_banner 1072 'string-set.at:29' \
  "string set -- insert-ordered" "                   " 129
at_xfail=no
(
  $as_echo "1072. $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_1072
#AT_START_1073
at_fn_group_banner 1073 'string-set.at:30' \
  "string set -- union" "                            " 129
at_xfail=no
(
  $as_echo "1073. $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_1073
#AT_START_1074
at_fn_group_banner 1074 'string-set.at:31' \
  "string set -- union-and-intersection" "           " 129
at_xfail=no
(
  $as_echo "1074. $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_1074
#AT_START_1075
at_fn_group_banner 1075 'string-set.at:32' \
  "string set -- intersect" "                        " 129
at_xfail=no
(
  $as_echo "1075. $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_1075
#AT_START_1076
at_fn_group_banner 1076 'string-set.at:33' \
  "string set -- subtract" "                         " 129
at_xfail=no
(
  $as_echo "1076. $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_1076
#AT_START_1077
at_fn_group_banner 1077 'string-set.at:34' \
  "string set -- swap" "                             " 129
at_xfail=no
(
  $as_echo "1077. $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_1077
#AT_START_1078
at_fn_group_banner 1078 'string-set.at:35' \
  "string set -- clear" "                            " 129
at_xfail=no
(
  $as_echo "1078. $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_1078
#AT_START_1079
at_fn_group_banner 1079 'string-set.at:36' \
  "string set -- clone" "                            " 129
at_xfail=no
(
  $as_echo "1079. $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_1079
#AT_START_1080
at_fn_group_banner 1080 'string-set.at:37' \
  "string set -- destroy-null" "                     " 129
at_xfail=no
(
  $as_echo "1080. $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_1080
#AT_START_1081
at_fn_group_banner 1081 'stringi-set.at:25' \
  "case-insensitive string set -- insert-any-remove-any" "" 130
at_xfail=no
(
  $as_echo "1081. $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_1081
#AT_START_1082
at_fn_group_banner 1082 'stringi-set.at:26' \
  "case-insensitive string set -- insert-any-remove-same" "" 130
at_xfail=no
(
  $as_echo "1082. $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_1082
#AT_START_1083
at_fn_group_banner 1083 'stringi-set.at:27' \
  "case-insensitive string set -- insert-any-remove-reverse" "" 130
at_xfail=no
(
  $as_echo "1083. $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_1083
#AT_START_1084
at_fn_group_banner 1084 'stringi-set.at:28' \
  "case-insensitive string set -- random-sequence" " " 130
at_xfail=no
(
  $as_echo "1084. $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_1084
#AT_START_1085
at_fn_group_banner 1085 'stringi-set.at:29' \
  "case-insensitive string set -- insert-ordered" "  " 130
at_xfail=no
(
  $as_echo "1085. $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_1085
#AT_START_1086
at_fn_group_banner 1086 'stringi-set.at:30' \
  "case-insensitive string set -- union" "           " 130
at_xfail=no
(
  $as_echo "1086. $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_1086
#AT_START_1087
at_fn_group_banner 1087 'stringi-set.at:31' \
  "case-insensitive string set -- union-and-intersection" "" 130
at_xfail=no
(
  $as_echo "1087. $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_1087
#AT_START_1088
at_fn_group_banner 1088 'stringi-set.at:32' \
  "case-insensitive string set -- intersect" "       " 130
at_xfail=no
(
  $as_echo "1088. $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_1088
#AT_START_1089
at_fn_group_banner 1089 'stringi-set.at:33' \
  "case-insensitive string set -- subtract" "        " 130
at_xfail=no
(
  $as_echo "1089. $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_1089
#AT_START_1090
at_fn_group_banner 1090 'stringi-set.at:34' \
  "case-insensitive string set -- swap" "            " 130
at_xfail=no
(
  $as_echo "1090. $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_1090
#AT_START_1091
at_fn_group_banner 1091 'stringi-set.at:35' \
  "case-insensitive string set -- clear" "           " 130
at_xfail=no
(
  $as_echo "1091. $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_1091
#AT_START_1092
at_fn_group_banner 1092 'stringi-set.at:36' \
  "case-insensitive string set -- clone" "           " 130
at_xfail=no
(
  $as_echo "1092. $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_1092
#AT_START_1093
at_fn_group_banner 1093 'stringi-set.at:37' \
  "case-insensitive string set -- destroy-null" "    " 130
at_xfail=no
(
  $as_echo "1093. $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_1093
#AT_START_1094
at_fn_group_banner 1094 'tower.at:24' \
  "tower -- insert" "                                " 131
at_xfail=no
(
  $as_echo "1094. $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_1094
#AT_START_1095
at_fn_group_banner 1095 'tower.at:25' \
  "tower -- delete" "                                " 131
at_xfail=no
(
  $as_echo "1095. $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_1095
#AT_START_1096
at_fn_group_banner 1096 'tower.at:26' \
  "tower -- resize" "                                " 131
at_xfail=no
(
  $as_echo "1096. $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_1096
#AT_START_1097
at_fn_group_banner 1097 'tower.at:27' \
  "tower -- splice-out" "                            " 131
at_xfail=no
(
  $as_echo "1097. $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_1097
#AT_START_1098
at_fn_group_banner 1098 'tower.at:28' \
  "tower -- splice-in" "                             " 131
at_xfail=no
(
  $as_echo "1098. $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_1098
#AT_START_1099
at_fn_group_banner 1099 'u8-istream.at:19' \
  "read ASCII" "                                     " 132
at_xfail=no
(
  $as_echo "1099. $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_1099
#AT_START_1100
at_fn_group_banner 1100 'u8-istream.at:26' \
  "read UTF-8" "                                     " 132
at_xfail=no
(
  $as_echo "1100. $at_setup_line: testing $at_desc ..."
  $at_traceon


# Without byte-order-mark.
{ set +x
$as_echo "$at_srcdir/u8-istream.at:29: 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:29"
( $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:29"
$at_failed && at_fn_log_failure
$at_traceon; }

# With byte-order-mark.
{ set +x
$as_echo "$at_srcdir/u8-istream.at:35: printf '\\357\\273\\277\\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:35"
( $at_check_trace; printf '\357\273\277\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: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_1100
#AT_START_1101
at_fn_group_banner 1101 'u8-istream.at:42' \
  "read EUC-JP" "                                    " 132
at_xfail=no
(
  $as_echo "1101. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/u8-istream.at:44: i18n-test supports_encodings EUC-JP"
at_fn_check_prepare_trace "u8-istream.at:44"
( $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:44"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/u8-istream.at:45: 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:45"
( $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: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_1101
#AT_START_1102
at_fn_group_banner 1102 'u8-istream.at:51' \
  "read UTF-8 with character split across input buffers" "" 132
at_xfail=no
(
  $as_echo "1102. $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:59: u8-istream-test read input UTF-8 16"
at_fn_check_prepare_trace "u8-istream.at:59"
( $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: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_1102
#AT_START_1103
at_fn_group_banner 1103 'u8-istream.at:62' \
  "read UTF-8 with character split across output buffers" "" 132
at_xfail=no
(
  $as_echo "1103. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/u8-istream.at:64: 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:64"
( $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: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_1103
#AT_START_1104
at_fn_group_banner 1104 'u8-istream.at:71' \
  "read UTF-8 with character split across input and output buffers" "" 132
at_xfail=no
(
  $as_echo "1104. $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:79: u8-istream-test read input UTF-8 16"
at_fn_check_prepare_trace "u8-istream.at:79"
( $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: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_1104
#AT_START_1105
at_fn_group_banner 1105 'u8-istream.at:82' \
  "read EUC-JP with character split across input buffers" "" 132
at_xfail=no
(
  $as_echo "1105. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/u8-istream.at:84: i18n-test supports_encodings EUC-JP"
at_fn_check_prepare_trace "u8-istream.at:84"
( $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:84"
$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:93: u8-istream-test read input EUC-JP"
at_fn_check_prepare_trace "u8-istream.at:93"
( $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: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_1105
#AT_START_1106
at_fn_group_banner 1106 'u8-istream.at:96' \
  "read EUC-JP with character split across output buffers" "" 132
at_xfail=no
(
  $as_echo "1106. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/u8-istream.at:98: i18n-test supports_encodings EUC-JP"
at_fn_check_prepare_trace "u8-istream.at:98"
( $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:98"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/u8-istream.at:99: 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:99"
( $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: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_1106
#AT_START_1107
at_fn_group_banner 1107 'u8-istream.at:105' \
  "read EUC-JP with character split across input and output buffers" "" 132
at_xfail=no
(
  $as_echo "1107. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/u8-istream.at:107: i18n-test supports_encodings EUC-JP"
at_fn_check_prepare_trace "u8-istream.at:107"
( $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:107"
$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:116: u8-istream-test read input EUC-JP 16"
at_fn_check_prepare_trace "u8-istream.at:116"
( $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: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_1107
#AT_START_1108
at_fn_group_banner 1108 'u8-istream.at:119' \
  "read ASCII as Auto" "                             " 132
at_xfail=no
(
  $as_echo "1108. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/u8-istream.at:121: echo string | u8-istream-test read - Auto"
at_fn_check_prepare_notrace 'a shell pipeline' "u8-istream.at:121"
( $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: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_1108
#AT_START_1109
at_fn_group_banner 1109 'u8-istream.at:128' \
  "read UTF-8 as Auto" "                             " 132
at_xfail=no
(
  $as_echo "1109. $at_setup_line: testing $at_desc ..."
  $at_traceon


# Without byte-order mark.
{ set +x
$as_echo "$at_srcdir/u8-istream.at:131: printf 'entr\\303\\251e\\n' | u8-istream-test read - Auto"
at_fn_check_prepare_notrace 'a shell pipeline' "u8-istream.at:131"
( $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:131"
$at_failed && at_fn_log_failure
$at_traceon; }

# With byte-order mark.
{ set +x
$as_echo "$at_srcdir/u8-istream.at:137: printf '\\357\\273\\277entr\\303\\251e\\n' | u8-istream-test read - Auto"
at_fn_check_prepare_notrace 'a shell pipeline' "u8-istream.at:137"
( $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: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_1109
#AT_START_1110
at_fn_group_banner 1110 'u8-istream.at:144' \
  "read ISO-8859-1 as Auto,ISO-8859-1" "             " 132
at_xfail=no
(
  $as_echo "1110. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/u8-istream.at:146: i18n-test supports_encodings ISO-8859-1"
at_fn_check_prepare_trace "u8-istream.at:146"
( $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:146"
$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:152: u8-istream-test read input Auto,ISO-8859-1"
at_fn_check_prepare_trace "u8-istream.at:152"
( $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: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_1110
#AT_START_1111
at_fn_group_banner 1111 'u8-istream.at:156' \
  "read UTF-16BE as Auto,UTF-16BE" "                 " 132
at_xfail=no
(
  $as_echo "1111. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/u8-istream.at:158: i18n-test supports_encodings UTF-16BE"
at_fn_check_prepare_trace "u8-istream.at:158"
( $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:158"
$at_failed && at_fn_log_failure
$at_traceon; }

# Without byte-order mark.
{ set +x
$as_echo "$at_srcdir/u8-istream.at:160: 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:160"
( $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:160"
$at_failed && at_fn_log_failure
$at_traceon; }

# With byte-order mark.
{ set +x
$as_echo "$at_srcdir/u8-istream.at:165: printf '\\376\\377\\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:165"
( $at_check_trace; printf '\376\377\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:165"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'u8-istream.at:171' \
  "read UTF-16 as Auto" "                            " 132
at_xfail=no
(
  $as_echo "1112. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/u8-istream.at:173: i18n-test supports_encodings UTF-16 UTF-16BE UTF-16LE"
at_fn_check_prepare_trace "u8-istream.at:173"
( $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:173"
$at_failed && at_fn_log_failure
$at_traceon; }

# Without byte-order mark.
{ set +x
$as_echo "$at_srcdir/u8-istream.at:177: { 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:177"
( $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:177"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/u8-istream.at:180: 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:180"
( $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:180"
$at_failed && at_fn_log_failure
$at_traceon; }

# With byte-order mark.
{ set +x
$as_echo "$at_srcdir/u8-istream.at:184: 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:184"
( $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:184"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/u8-istream.at:187: 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:187"
( $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: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_1112
#AT_START_1113
at_fn_group_banner 1113 'u8-istream.at:192' \
  "read UTF-32 as Auto" "                            " 132
at_xfail=no
(
  $as_echo "1113. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/u8-istream.at:194: i18n-test supports_encodings UTF-16 UTF-16BE UTF-16LE"
at_fn_check_prepare_trace "u8-istream.at:194"
( $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:194"
$at_failed && at_fn_log_failure
$at_traceon; }

# Without byte-order mark.
{ set +x
$as_echo "$at_srcdir/u8-istream.at:196: 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:196"
( $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:196"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/u8-istream.at:199: 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:199"
( $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:199"
$at_failed && at_fn_log_failure
$at_traceon; }

# With byte-order mark.
{ set +x
$as_echo "$at_srcdir/u8-istream.at:203: 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:203"
( $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:203"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/u8-istream.at:206: 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:206"
( $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:206"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'u8-istream.at:211' \
  "read EUC-JP as Auto,EUC-JP" "                     " 132
at_xfail=no
(
  $as_echo "1114. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/u8-istream.at:213: i18n-test supports_encodings EUC-JP"
at_fn_check_prepare_trace "u8-istream.at:213"
( $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:213"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/u8-istream.at:214: printf 'entr\\217\\253\\261e\\n' | u8-istream-test read - Auto,EUC-JP"
at_fn_check_prepare_notrace 'a shell pipeline' "u8-istream.at:214"
( $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:214"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'zip.at:19' \
  "Basic zip - unzip test" "                         " 133
at_xfail=no
(
  $as_echo "1115. $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_1115
#AT_START_1116
at_fn_group_banner 1116 'chart-geometry.at:19' \
  "Chart Scale" "                                    " 134
at_xfail=no
(
  $as_echo "1116. $at_setup_line: testing $at_desc ..."
  $at_traceon

{ set +x
$as_echo "$at_srcdir/chart-geometry.at:20: chart-get-scale-test"
at_fn_check_prepare_trace "chart-geometry.at:20"
( $at_check_trace; 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_1116
#AT_START_1117
at_fn_group_banner 1117 'chart-geometry.at:23' \
  "Chart Ticks Format" "                             " 134
at_xfail=no
(
  $as_echo "1117. $at_setup_line: testing $at_desc ..."
  $at_traceon

# The 'sed' below converts, e.g. 1.5e-005 into 1.5e-05, to make the output
# format uniform for comparison.  (mingw always outputs 3-digit exponents.)
{ set +x
$as_echo "$at_srcdir/chart-geometry.at:26: chart-get-ticks-format-test | sed 's/e\\([-+]\\)0\\([0-9][0-9]\\)/e\\1\\2/g'"
at_fn_check_prepare_notrace 'a shell pipeline' "chart-geometry.at:26"
( $at_check_trace; chart-get-ticks-format-test | sed 's/e\([-+]\)0\([0-9][0-9]\)/e\1\2/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 "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: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_1117
#AT_START_1118
at_fn_group_banner 1118 'moments.at:44' \
  "two-pass moments" "                               " 135
at_xfail=no
(
  $as_echo "1118. $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_1118
#AT_START_1119
at_fn_group_banner 1119 'moments.at:45' \
  "one-pass moments" "                               " 135
at_xfail=no
(
  $as_echo "1119. $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_1119
#AT_START_1120
at_fn_group_banner 1120 'randist.at:102' \
  "random distributions -- beta" "                   " 136
at_xfail=no
(
  $as_echo "1120. $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_1120
#AT_START_1121
at_fn_group_banner 1121 'randist.at:337' \
  "random distributions -- cauchy" "                 " 136
at_xfail=no
(
  $as_echo "1121. $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_1121
#AT_START_1122
at_fn_group_banner 1122 'randist.at:946' \
  "random distributions -- chisq" "                  " 136
at_xfail=no
(
  $as_echo "1122. $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_1122
#AT_START_1123
at_fn_group_banner 1123 'randist.at:994' \
  "random distributions -- exp" "                    " 136
at_xfail=no
(
  $as_echo "1123. $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_1123
#AT_START_1124
at_fn_group_banner 1124 'randist.at:1042' \
  "random distributions -- f" "                      " 136
at_xfail=no
(
  $as_echo "1124. $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_1124
#AT_START_1125
at_fn_group_banner 1125 'randist.at:1222' \
  "random distributions -- gamma" "                  " 136
at_xfail=no
(
  $as_echo "1125. $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_1125
#AT_START_1126
at_fn_group_banner 1126 'randist.at:1446' \
  "random distributions -- laplace" "                " 136
at_xfail=no
(
  $as_echo "1126. $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_1126
#AT_START_1127
at_fn_group_banner 1127 'randist.at:1670' \
  "random distributions -- logistic" "               " 136
at_xfail=no
(
  $as_echo "1127. $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_1127
#AT_START_1128
at_fn_group_banner 1128 'randist.at:1894' \
  "random distributions -- lnormal" "                " 136
at_xfail=no
(
  $as_echo "1128. $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_1128
#AT_START_1129
at_fn_group_banner 1129 'randist.at:2074' \
  "random distributions -- normal" "                 " 136
at_xfail=no
(
  $as_echo "1129. $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_1129
#AT_START_1130
at_fn_group_banner 1130 'randist.at:2298' \
  "random distributions -- pareto" "                 " 136
at_xfail=no
(
  $as_echo "1130. $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_1130
#AT_START_1131
at_fn_group_banner 1131 'randist.at:2434' \
  "random distributions -- t" "                      " 136
at_xfail=no
(
  $as_echo "1131. $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_1131
#AT_START_1132
at_fn_group_banner 1132 'randist.at:2526' \
  "random distributions -- uniform" "                " 136
at_xfail=no
(
  $as_echo "1132. $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_1132
#AT_START_1133
at_fn_group_banner 1133 'randist.at:2706' \
  "random distributions -- weibull" "                " 136
at_xfail=no
(
  $as_echo "1133. $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_1133
#AT_START_1134
at_fn_group_banner 1134 'ascii.at:19' \
  "ASCII driver overwriting single-width text" "     " 137
at_xfail=no
(
  $as_echo "1134. $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_1134
#AT_START_1135
at_fn_group_banner 1135 'ascii.at:151' \
  "ASCII driver overwriting double-width text" "     " 137
at_xfail=no
(
  $as_echo "1135. $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_1135
#AT_START_1136
at_fn_group_banner 1136 'ascii.at:407' \
  "ASCII driver overwriting combining characters" "  " 137
at_xfail=no
(
  $as_echo "1136. $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_1136
#AT_START_1137
at_fn_group_banner 1137 'ascii.at:539' \
  "ASCII driver u8_line_set_length" "                " 137
at_xfail=no
(
  $as_echo "1137. $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 5 0 あい
0 6 0 あい
0 7 0 あい
0 8 0 あい
0 9 0 あい
0 10 0 あい
set-length 5 5
set-length 6 4
set-length 7 3
set-length 8 2
set-length 9 1
set-length 10 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_1137
#AT_START_1138
at_fn_group_banner 1138 'ascii.at:580' \
  "ASCII driver Unicode box characters" "            " 137
at_xfail=no
(
  $as_echo "1138. $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_1138
#AT_START_1139
at_fn_group_banner 1139 'ascii.at:600' \
  "ASCII driver syntax printback" "                  " 137
at_xfail=no
(
  $as_echo "1139. $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_1139
#AT_START_1140
at_fn_group_banner 1140 'ascii.at:647' \
  "ASCII unicode box chars" "                        " 137
at_xfail=no
(
  $as_echo "1140. $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 "                 Descriptive Statistics
╭────────────────────┬─┬──────┬───────┬───────┬───────╮
│                    │N│ Mean │Std Dev│Minimum│Maximum│
├────────────────────┼─┼──────┼───────┼───────┼───────┤
│x                   │3│2.0000│ 1.0000│ 1.0000│ 3.0000│
│Valid N (listwise)  │3│      │       │       │       │
│Missing N (listwise)│0│      │       │       │       │
╰────────────────────┴─┴──────┴───────┴───────┴───────╯
" | \
  $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_1140
#AT_START_1141
at_fn_group_banner 1141 'ascii.at:675' \
  "ASCII crash on empty line" "                      " 137
at_xfail=no
(
  $as_echo "1141. $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:688: pspp print.sps"
at_fn_check_prepare_trace "ascii.at:688"
( $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:688"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'ascii.at:696' \
  "ASCII crash on non-printables" "                  " 137
at_xfail=no
(
  $as_echo "1142. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >nonprint.sps <<'_ATEOF'
DATA LIST FREE /s8 (a8).
BEGIN DATA.
xxxxxx zzz  a qqq
END DATA.

LIST.
_ATEOF


{ set +x
$as_echo "$at_srcdir/ascii.at:707: pspp nonprint.sps"
at_fn_check_prepare_trace "ascii.at:707"
( $at_check_trace; pspp nonprint.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:707"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'charts.at:24' \
  "Examine" "                                        " 138
at_xfail=no
(
  $as_echo "1143. $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:53: pspp -o pspp.txt charts.sps"
at_fn_check_prepare_trace "charts.at:53"
( $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: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_1143
#AT_START_1144
at_fn_group_banner 1144 'charts.at:57' \
  "Roc" "                                            " 138
at_xfail=no
(
  $as_echo "1144. $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:105: pspp -o pspp.txt roc.sps"
at_fn_check_prepare_trace "charts.at:105"
( $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: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_1144
#AT_START_1145
at_fn_group_banner 1145 'charts.at:112' \
  "Scree" "                                          " 138
at_xfail=no
(
  $as_echo "1145. $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:135: pspp -o pspp.txt scree.sps"
at_fn_check_prepare_trace "charts.at:135"
( $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: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_1145
#AT_START_1146
at_fn_group_banner 1146 'charts.at:140' \
  "Histogram" "                                      " 138
at_xfail=no
(
  $as_echo "1146. $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:172: pspp --testing-mode -o pspp.txt histogram.sps"
at_fn_check_prepare_trace "charts.at:172"
( $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:172"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'charts.at:177' \
  "FREQUENCIES charts" "                             " 138
at_xfail=no
(
  $as_echo "1147. $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:209: pspp  -o pspp.txt xxx.sps"
at_fn_check_prepare_trace "charts.at:209"
( $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: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_1147
#AT_START_1148
at_fn_group_banner 1148 'charts.at:215' \
  "CROSSTABS charts" "                               " 138
at_xfail=no
(
  $as_echo "1148. $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:252: pspp  -o pspp.txt xxx.sps"
at_fn_check_prepare_trace "charts.at:252"
( $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:252"
$at_failed && at_fn_log_failure
$at_traceon; }


  set +x
  $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 'charts.at:259' \
  "BOXPLOT Empty" "                                  " 138
at_xfail=no
(
  $as_echo "1149. $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:276: pspp -o pspp.txt bp.sps"
at_fn_check_prepare_trace "charts.at:276"
( $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: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_1149
#AT_START_1150
at_fn_group_banner 1150 'html.at:19' \
  "HTML bug" "                                       " 139
at_xfail=no
(
  $as_echo "1150. $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_1150
#AT_START_1151
at_fn_group_banner 1151 'output.at:39' \
  "output csv to unwritable directory" "             " 140
at_xfail=no
(
  $as_echo "1151. $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_1151
#AT_START_1152
at_fn_group_banner 1152 'output.at:40' \
  "output html to unwritable directory" "            " 140
at_xfail=no
(
  $as_echo "1152. $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_1152
#AT_START_1153
at_fn_group_banner 1153 'output.at:41' \
  "output odt to unwritable directory" "             " 140
at_xfail=no
(
  $as_echo "1153. $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_1153
#AT_START_1154
at_fn_group_banner 1154 'output.at:42' \
  "output pdf to unwritable directory" "             " 140
at_xfail=no
(
  $as_echo "1154. $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_1154
#AT_START_1155
at_fn_group_banner 1155 'output.at:43' \
  "output txt to unwritable directory" "             " 140
at_xfail=no
(
  $as_echo "1155. $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_1155
#AT_START_1156
at_fn_group_banner 1156 'paper-size.at:19' \
  "letter default paper size" "                      " 141
at_xfail=no
(
  $as_echo "1156. $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_1156
#AT_START_1157
at_fn_group_banner 1157 'paper-size.at:28' \
  "a4 default paper size" "                          " 141
at_xfail=no
(
  $as_echo "1157. $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_1157
#AT_START_1158
at_fn_group_banner 1158 'paper-size.at:37' \
  "specific paper sizes" "                           " 141
at_xfail=no
(
  $as_echo "1158. $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_1158
#AT_START_1159
at_fn_group_banner 1159 'render.at:176' \
  "single cell" "                                    " 142
at_xfail=no
(
  $as_echo "1159. $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_1159
#AT_START_1160
at_fn_group_banner 1160 'render.at:185' \
  "single cell with border" "                        " 142
at_xfail=no
(
  $as_echo "1160. $at_setup_line: testing $at_desc ..."
  $at_traceon


cat >input <<'_ATEOF'
1 1
@abc
_ATEOF

{ set +x
$as_echo "$at_srcdir/render.at:190: render-test input"
at_fn_check_prepare_trace "render.at:190"
( $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: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_1160
#AT_START_1161
at_fn_group_banner 1161 'render.at:197' \
  "joined columns" "                                 " 142
at_xfail=no
(
  $as_echo "1161. $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:204: render-test input"
at_fn_check_prepare_trace "render.at:204"
( $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: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_1161
#AT_START_1162
at_fn_group_banner 1162 'render.at:213' \
  "3x3, joined rows and columns" "                   " 142
at_xfail=no
(
  $as_echo "1162. $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:222: render-test input"
at_fn_check_prepare_trace "render.at:222"
( $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: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_1162
#AT_START_1163
at_fn_group_banner 1163 'render.at:233' \
  "joined rows and columns (with footnotes)" "       " 142
at_xfail=no
(
  $as_echo "1163. $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:242: render-test --csv input"
at_fn_check_prepare_trace "render.at:242"
( $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:242"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/render.at:257: cat render.csv"
at_fn_check_prepare_trace "render.at:257"
( $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: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_1163
#AT_START_1164
at_fn_group_banner 1164 'render.at:275' \
  "6x6, joined rows and columns" "                   " 142
at_xfail=no
(
  $as_echo "1164. $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:278: render-test input"
at_fn_check_prepare_trace "render.at:278"
( $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:278"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'render.at:295' \
  "3 rows with many joined cells" "                  " 142
at_xfail=no
(
  $as_echo "1165. $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:304: render-test input"
at_fn_check_prepare_trace "render.at:304"
( $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:304"
$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_1165
#AT_START_1166
at_fn_group_banner 1166 'render.at:314' \
  "3 columns with many joined cells" "               " 142
at_xfail=no
(
  $as_echo "1166. $at_setup_line: testing $at_desc ..."
  $at_traceon



cat >input <<'_ATEOF'
19 3
a
@1
2*1 @11\nab\ncd
b
2*1 @2\nab\ncd
c
2*1 @12\nab\ncd
d
2*1 @3\nab\ncd
e
2*1 @13\nab\ncd
f
2*1 @4\nab\ncd
g
2*1 @14\nab\ncd
h
2*1 @5\nab\ncd
i
2*1 @15\nab\ncd
j
2*1 @6\nab\ncd
k
2*1 @16\nab\ncd
l
2*1 @7\nab\ncd
m
2*1 @17\nab\ncd
n
2*1 @8\nab\ncd
o
2*1 @18\nab\ncd
p
2*1 @9\nab\ncd
q
2*1 @19\nab\ncd
r
2*1 @10\nab\ncd
s
@20
_ATEOF

{ set +x
$as_echo "$at_srcdir/render.at:358: render-test input"
at_fn_check_prepare_trace "render.at:358"
( $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| 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:358"
$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_1166
#AT_START_1167
at_fn_group_banner 1167 'render.at:401' \
  "joined rows" "                                    " 142
at_xfail=no
(
  $as_echo "1167. $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:408: render-test input"
at_fn_check_prepare_trace "render.at:408"
( $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:408"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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 'render.at:419' \
  "joined rows only, no rules" "                     " 142
at_xfail=no
(
  $as_echo "1168. $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:425: render-test input"
at_fn_check_prepare_trace "render.at:425"
( $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:425"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $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
#AT_START_1169
at_fn_group_banner 1169 'render.at:432' \
  "joined columns only, no rules" "                  " 142
at_xfail=no
(
  $as_echo "1169. $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:438: render-test input"
at_fn_check_prepare_trace "render.at:438"
( $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:438"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1169
#AT_START_1170
at_fn_group_banner 1170 'render.at:447' \
  "5 big narrow cells" "                             " 142
at_xfail=no
(
  $as_echo "1170. $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:456: render-test input"
at_fn_check_prepare_trace "render.at:456"
( $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:456"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1170
#AT_START_1171
at_fn_group_banner 1171 'render.at:468' \
  "9 big narrow cells" "                             " 142
at_xfail=no
(
  $as_echo "1171. $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:481: render-test input"
at_fn_check_prepare_trace "render.at:481"
( $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:481"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1171
#AT_START_1172
at_fn_group_banner 1172 'render.at:499' \
  "2 big cells with new-lines" "                     " 142
at_xfail=no
(
  $as_echo "1172. $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:505: render-test input"
at_fn_check_prepare_trace "render.at:505"
( $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:505"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1172
#AT_START_1173
at_fn_group_banner 1173 'render.at:530' \
  "8x8 with many 2x2 joins" "                        " 142
at_xfail=no
(
  $as_echo "1173. $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:533: render-test input"
at_fn_check_prepare_trace "render.at:533"
( $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:533"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1173
#AT_START_1174
at_fn_group_banner 1174 'render.at:561' \
  "breaking row of many small cells" "               " 143
at_xfail=no
(
  $as_echo "1174. $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:567: render-test input"
at_fn_check_prepare_trace "render.at:567"
( $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:567"
$at_failed && at_fn_log_failure  \
"input"
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/render.at:576: render-test input -o mb0 --min-break=0"
at_fn_check_prepare_trace "render.at:576"
( $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:576"
$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_1174
#AT_START_1175
at_fn_group_banner 1175 'render.at:587' \
  "breaking row of many small cells, with headers" " " 143
at_xfail=no
(
  $as_echo "1175. $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:598: render-test input"
at_fn_check_prepare_trace "render.at:598"
( $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:598"
$at_failed && at_fn_log_failure  \
"input"
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/render.at:611: render-test -o mb0 --min-break=0 input"
at_fn_check_prepare_trace "render.at:611"
( $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:611"
$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_1175
#AT_START_1176
at_fn_group_banner 1176 'render.at:626' \
  "breaking row of many medium-size cells" "         " 143
at_xfail=no
(
  $as_echo "1176. $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:632: render-test input"
at_fn_check_prepare_trace "render.at:632"
( $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:632"
$at_failed && at_fn_log_failure  \
"input"
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/render.at:653: render-test -o mb0 --min-break=0 input"
at_fn_check_prepare_trace "render.at:653"
( $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:653"
$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_1176
#AT_START_1177
at_fn_group_banner 1177 'render.at:676' \
  "breaking row of many medium-size cells, with headers" "" 143
at_xfail=no
(
  $as_echo "1177. $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:685: render-test input"
at_fn_check_prepare_trace "render.at:685"
( $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:685"
$at_failed && at_fn_log_failure  \
"input"
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/render.at:711: render-test -o mb0 --min-break=0 input"
at_fn_check_prepare_trace "render.at:711"
( $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:711"
$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_1177
#AT_START_1178
at_fn_group_banner 1178 'render.at:734' \
  "breaking row of many big narrow cells" "          " 143
at_xfail=no
(
  $as_echo "1178. $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:740: render-test input"
at_fn_check_prepare_trace "render.at:740"
( $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:740"
$at_failed && at_fn_log_failure  \
"input"
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/render.at:791: render-test -o mb0 --min-break=0 input"
at_fn_check_prepare_trace "render.at:791"
( $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:791"
$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_1178
#AT_START_1179
at_fn_group_banner 1179 'render.at:844' \
  "breaking 2 rows of many small cells" "            " 143
at_xfail=no
(
  $as_echo "1179. $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:850: render-test input"
at_fn_check_prepare_trace "render.at:850"
( $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:850"
$at_failed && at_fn_log_failure  \
"input"
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/render.at:863: render-test -o mb0 --min-break=0 input"
at_fn_check_prepare_trace "render.at:863"
( $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:863"
$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_1179
#AT_START_1180
at_fn_group_banner 1180 'render.at:878' \
  "breaking 3 rows with many joined cells" "         " 143
at_xfail=no
(
  $as_echo "1180. $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:888: render-test input"
at_fn_check_prepare_trace "render.at:888"
( $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:888"
$at_failed && at_fn_log_failure  \
"input"
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/render.at:903: render-test -o mb0 --min-break=0 input"
at_fn_check_prepare_trace "render.at:903"
( $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:903"
$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_1180
#AT_START_1181
at_fn_group_banner 1181 'render.at:920' \
  "horz break 6x6, joined rows and columns" "        " 143
at_xfail=no
(
  $as_echo "1181. $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:966: render-test --width=6 input"
at_fn_check_prepare_trace "render.at:966"
( $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:966"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/render.at:967: render-test -o mb0 --min-break=0 --width=6 input"
at_fn_check_prepare_trace "render.at:967"
( $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:967"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1181
#AT_START_1182
at_fn_group_banner 1182 'render.at:970' \
  "horz break 6x6, joined rows and columns, left header" "" 143
at_xfail=no
(
  $as_echo "1182. $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+-+
|K K|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:1002: render-test --width=10 input"
at_fn_check_prepare_trace "render.at:1002"
( $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:1002"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/render.at:1003: render-test -o mb0 --min-break=0 --width=10 input"
at_fn_check_prepare_trace "render.at:1003"
( $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:1003"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1182
#AT_START_1183
at_fn_group_banner 1183 'render.at:1006' \
  "horz break 6x6, joined rows and columns, right header" "" 143
at_xfail=no
(
  $as_echo "1183. $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|H H|
+-+-+-+
|L|O|P|
|M+-+-+
|N|U|V|
+-+-+-+
_ATEOF

{ set +x
$as_echo "$at_srcdir/render.at:1038: render-test --width=10 input"
at_fn_check_prepare_trace "render.at:1038"
( $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:1038"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/render.at:1039: render-test -o mb0 --min-break=0 --width=10 input"
at_fn_check_prepare_trace "render.at:1039"
( $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:1039"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1183
#AT_START_1184
at_fn_group_banner 1184 'render.at:1042' \
  "breaking joined cells too wide for page" "        " 143
at_xfail=no
(
  $as_echo "1184. $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:1058: render-test --width=10 input"
at_fn_check_prepare_trace "render.at:1058"
( $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:1058"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/render.at:1083: render-test -o mb0 --min-break=0 --width=10 input"
at_fn_check_prepare_trace "render.at:1083"
( $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:1083"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1184
#AT_START_1185
at_fn_group_banner 1185 'render.at:1110' \
  "breaking joined cells much too wide for page" "   " 143
at_xfail=no
(
  $as_echo "1185. $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:1126: render-test --width=6 input"
at_fn_check_prepare_trace "render.at:1126"
( $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:1126"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/render.at:1163: render-test -o mb0 --min-break=0 --width=6 input"
at_fn_check_prepare_trace "render.at:1163"
( $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:1163"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1185
#AT_START_1186
at_fn_group_banner 1186 'render.at:1202' \
  "breaking cell too wide for page, no border" "     " 143
at_xfail=no
(
  $as_echo "1186. $at_setup_line: testing $at_desc ..."
  $at_traceon



cat >input <<'_ATEOF'
1 1
abcdefghijklmnopqrstuvwxyz
_ATEOF

{ set +x
$as_echo "$at_srcdir/render.at:1208: render-test --width=6 input"
at_fn_check_prepare_trace "render.at:1208"
( $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:1208"
$at_failed && at_fn_log_failure  \
"input"
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/render.at:1219: render-test -o mb0 --min-break=0 --width=6 input"
at_fn_check_prepare_trace "render.at:1219"
( $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:1219"
$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_1186
#AT_START_1187
at_fn_group_banner 1187 'render.at:1232' \
  "breaking cell too wide for page, with border" "   " 143
at_xfail=no
(
  $as_echo "1187. $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:1259: render-test --width=6 input"
at_fn_check_prepare_trace "render.at:1259"
( $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:1259"
$at_failed && at_fn_log_failure  \
"input"
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/render.at:1260: render-test -o mb0 --min-break=0 --width=6 input"
at_fn_check_prepare_trace "render.at:1260"
( $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:1260"
$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_1187
#AT_START_1188
at_fn_group_banner 1188 'render.at:1263' \
  "horz break 8x8 with many 2x2 joins" "             " 143
at_xfail=no
(
  $as_echo "1188. $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:1266: render-test --width=8 input"
at_fn_check_prepare_trace "render.at:1266"
( $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|
| 789|
|    |
+----+
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/render.at:1266"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/render.at:1336: render-test -o mb0 --min-break=0 --width=8 input"
at_fn_check_prepare_trace "render.at:1336"
( $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:1336"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1188
#AT_START_1189
at_fn_group_banner 1189 'render.at:1412' \
  "LIST puts space between columns" "                " 144
at_xfail=no
(
  $as_echo "1189. $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:1423: pspp list.sps"
at_fn_check_prepare_trace "render.at:1423"
( $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:1423"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1189
#AT_START_1190
at_fn_group_banner 1190 'render.at:1439' \
  "ASCII driver renders end of line spaces reasonably" "" 144
at_xfail=no
(
  $as_echo "1190. $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:1453: render-test --width=15 --length=15 input"
at_fn_check_prepare_trace "render.at:1453"
( $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:1453"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1190
#AT_START_1191
at_fn_group_banner 1191 'render.at:1477' \
  "multiple spanned cells all contribute to dimensions" "" 144
at_xfail=no
(
  $as_echo "1191. $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:1484: render-test --width=30 --length=15 input"
at_fn_check_prepare_trace "render.at:1484"
( $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:1484"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1191
#AT_START_1192
at_fn_group_banner 1192 'tables.at:19' \
  "OUTPUT precision" "                               " 145
at_xfail=no
(
  $as_echo "1192. $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
,,N,Mean,Std. Deviation,S.E. Mean
Pair 1,A,5,2.00,.71,.32
,B,5,4.00,1.54,.69

Table: Paired Samples Correlations
,,N,Correlation,Sig.
Pair 1,A & B,5,.918,.028

Table: Paired Samples Test
,,Paired Differences,,,,,t,df,Sig. (2-tailed)
,,Mean,Std. Deviation,S.E. Mean,95% Confidence Interval of the Difference,,,,
,,,,,Lower,Upper,,,
Pair 1,A - B,-2.00,.94,.42,-3.16,-.84,-4.78,4,.009

Table: Paired Sample Statistics
,,N,Mean,Std. Deviation,S.E. Mean
Pair 1,A,5,2.00,.71,.32
,B,5,4.00,1.54,.69

Table: Paired Samples Correlations
,,N,Correlation,Sig.
Pair 1,A & B,5,.918,.02801

Table: Paired Samples Test
,,Paired Differences,,,,,t,df,Sig. (2-tailed)
,,Mean,Std. Deviation,S.E. Mean,95% Confidence Interval of the Difference,,,,
,,,,,Lower,Upper,,,
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_1192
#AT_START_1193
at_fn_group_banner 1193 'tables.at:84' \
  "OUTPUT crash" "                                   " 145
at_xfail=no
(
  $as_echo "1193. $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_1193
#AT_START_1194
at_fn_group_banner 1194 'main.at:19' \
  "nonexistent syntax file crash" "                  " 146
at_xfail=no
(
  $as_echo "1194. $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_1194
#AT_START_1195
at_fn_group_banner 1195 'main.at:25' \
  "SIGTERM yields clean shutdown" "                  " 146
at_xfail=no
(
  $as_echo "1195. $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:38: pspp main.sps & sleep 1; kill \$!; wait \$!"
at_fn_check_prepare_dynamic "pspp main.sps & sleep 1; kill $!; wait $!" "main.at:38"
( $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: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_1195
#AT_START_1196
at_fn_group_banner 1196 'main.at:41' \
  "SIGSEGV yields error report" "                    " 146
at_xfail=no
(
  $as_echo "1196. $at_setup_line: testing $at_desc ..."
  $at_traceon


# This test intentionally causes SIGSEGV, so make Address Sanitizer ignore it.
ASAN_OPTIONS=$ASAN_OPTIONS:handle_segv=0; export ASAN_OPTIONS

{ set +x
$as_echo "$at_srcdir/main.at:46: echo 'host command=[\"kill -SEGV \$PPID\"].' | pspp -O format=csv"
at_fn_check_prepare_notrace 'a shell pipeline' "main.at:46"
( $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:46"
$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:60: sed '/proximate/q' < stderr"
at_fn_check_prepare_trace "main.at:60"
( $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: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_1196
#AT_START_1197
at_fn_group_banner 1197 'main.at:65' \
  "argument parsing" "                               " 146
at_xfail=no
(
  $as_echo "1197. $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:72: pspp --syntax=enhanced main.sps"
at_fn_check_prepare_trace "main.at:72"
( $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: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_1197
#AT_START_1198
at_fn_group_banner 1198 'syntax-gen.at:19' \
  "Syntax Generation - printf like" "                " 147
at_xfail=no
(
  $as_echo "1198. $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_1198
#AT_START_1199
at_fn_group_banner 1199 'pspp-convert.at:3' \
  "pspp-convert crash when output cannot be opened" "" 148
at_xfail=no
(
  $as_echo "1199. $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_1199
#AT_START_1200
at_fn_group_banner 1200 'pspp-output.at:3' \
  "pspp-output dir" "                                " 149
at_xfail=no
(
  $as_echo "1200. $at_setup_line: testing $at_desc ..."
  $at_traceon

{ set +x
$as_echo "$at_srcdir/pspp-output.at:4: pspp-output dir \$srcdir/utilities/regress.spv"
at_fn_check_prepare_dynamic "pspp-output dir $srcdir/utilities/regress.spv" "pspp-output.at:4"
( $at_check_trace; pspp-output dir $srcdir/utilities/regress.spv
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "- heading \"Set\" command \"Set\"
- heading \"Title\" command \"Title\"
    - text \"Page Title\" command \"Title\"
- heading \"Data List\" command \"Data List\"
    - table \"Reading 1 record from INLINE.\" command \"Data List\" subtype \"Fixed Data Records\"
- heading \"Begin Data\" command \"Begin Data\"
- heading \"List\" command \"List\"
    - table \"Data List\" command \"List\"
- heading \"Frequencies\" command \"Frequencies\"
    - table \"Statistics\" command \"Frequencies\"
    - table \"v0\" command \"Frequencies\" subtype \"Frequencies\"
    - table \"v1\" command \"Frequencies\" subtype \"Frequencies\"
    - table \"v2\" command \"Frequencies\" subtype \"Frequencies\"
- heading \"Regression\" command \"Regression\"
    - table \"Model Summary (v2)\" command \"Regression\" subtype \"Model Summary\"
    - table \"ANOVA (v2)\" command \"Regression\" subtype \"ANOVA\"
    - table \"Coefficients (v2)\" command \"Regression\" subtype \"Coefficients\"
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/pspp-output.at:4"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1200
#AT_START_1201
at_fn_group_banner 1201 'pspp-output.at:25' \
  "pspp-output --select equal" "                     " 149
at_xfail=no
(
  $as_echo "1201. $at_setup_line: testing $at_desc ..."
  $at_traceon

{ set +x
$as_echo "$at_srcdir/pspp-output.at:26: pspp-output dir \$srcdir/utilities/regress.spv --select=headings"
at_fn_check_prepare_dynamic "pspp-output dir $srcdir/utilities/regress.spv --select=headings" "pspp-output.at:26"
( $at_check_trace; pspp-output dir $srcdir/utilities/regress.spv --select=headings
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "- heading \"Set\" command \"Set\"
- heading \"Title\" command \"Title\"
- heading \"Data List\" command \"Data List\"
- heading \"Begin Data\" command \"Begin Data\"
- heading \"List\" command \"List\"
- heading \"Frequencies\" command \"Frequencies\"
- heading \"Regression\" command \"Regression\"
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/pspp-output.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_1201
#AT_START_1202
at_fn_group_banner 1202 'pspp-output.at:38' \
  "pspp-output --select unequal" "                   " 149
at_xfail=no
(
  $as_echo "1202. $at_setup_line: testing $at_desc ..."
  $at_traceon

{ set +x
$as_echo "$at_srcdir/pspp-output.at:39: pspp-output dir \$srcdir/utilities/regress.spv --select=^headings"
at_fn_check_prepare_dynamic "pspp-output dir $srcdir/utilities/regress.spv --select=^headings" "pspp-output.at:39"
( $at_check_trace; pspp-output dir $srcdir/utilities/regress.spv --select=^headings
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "    - text \"Page Title\" command \"Title\"
    - table \"Reading 1 record from INLINE.\" command \"Data List\" subtype \"Fixed Data Records\"
    - table \"Data List\" command \"List\"
    - table \"Statistics\" command \"Frequencies\"
    - table \"v0\" command \"Frequencies\" subtype \"Frequencies\"
    - table \"v1\" command \"Frequencies\" subtype \"Frequencies\"
    - table \"v2\" command \"Frequencies\" subtype \"Frequencies\"
    - table \"Model Summary (v2)\" command \"Regression\" subtype \"Model Summary\"
    - table \"ANOVA (v2)\" command \"Regression\" subtype \"ANOVA\"
    - table \"Coefficients (v2)\" command \"Regression\" subtype \"Coefficients\"
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/pspp-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_1202
#AT_START_1203
at_fn_group_banner 1203 'pspp-output.at:54' \
  "pspp-output --commands equal" "                   " 149
at_xfail=no
(
  $as_echo "1203. $at_setup_line: testing $at_desc ..."
  $at_traceon

{ set +x
$as_echo "$at_srcdir/pspp-output.at:55: pspp-output dir \$srcdir/utilities/regress.spv --commands='reg*'"
at_fn_check_prepare_dynamic "pspp-output dir $srcdir/utilities/regress.spv --commands='reg*'" "pspp-output.at:55"
( $at_check_trace; pspp-output dir $srcdir/utilities/regress.spv --commands='reg*'
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "- heading \"Regression\" command \"Regression\"
    - table \"Model Summary (v2)\" command \"Regression\" subtype \"Model Summary\"
    - table \"ANOVA (v2)\" command \"Regression\" subtype \"ANOVA\"
    - table \"Coefficients (v2)\" command \"Regression\" subtype \"Coefficients\"
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/pspp-output.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_1203
#AT_START_1204
at_fn_group_banner 1204 'pspp-output.at:64' \
  "pspp-output --commands unequal" "                 " 149
at_xfail=no
(
  $as_echo "1204. $at_setup_line: testing $at_desc ..."
  $at_traceon

{ set +x
$as_echo "$at_srcdir/pspp-output.at:65: pspp-output dir \$srcdir/utilities/regress.spv --commands='^reg*'"
at_fn_check_prepare_dynamic "pspp-output dir $srcdir/utilities/regress.spv --commands='^reg*'" "pspp-output.at:65"
( $at_check_trace; pspp-output dir $srcdir/utilities/regress.spv --commands='^reg*'
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "- heading \"Set\" command \"Set\"
- heading \"Title\" command \"Title\"
    - text \"Page Title\" command \"Title\"
- heading \"Data List\" command \"Data List\"
    - table \"Reading 1 record from INLINE.\" command \"Data List\" subtype \"Fixed Data Records\"
- heading \"Begin Data\" command \"Begin Data\"
- heading \"List\" command \"List\"
    - table \"Data List\" command \"List\"
- heading \"Frequencies\" command \"Frequencies\"
    - table \"Statistics\" command \"Frequencies\"
    - table \"v0\" command \"Frequencies\" subtype \"Frequencies\"
    - table \"v1\" command \"Frequencies\" subtype \"Frequencies\"
    - table \"v2\" command \"Frequencies\" subtype \"Frequencies\"
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/pspp-output.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_1204
#AT_START_1205
at_fn_group_banner 1205 'pspp-output.at:83' \
  "pspp-output --subtypes equal" "                   " 149
at_xfail=no
(
  $as_echo "1205. $at_setup_line: testing $at_desc ..."
  $at_traceon

{ set +x
$as_echo "$at_srcdir/pspp-output.at:84: pspp-output dir \$srcdir/utilities/regress.spv --subtypes='freq*'"
at_fn_check_prepare_dynamic "pspp-output dir $srcdir/utilities/regress.spv --subtypes='freq*'" "pspp-output.at:84"
( $at_check_trace; pspp-output dir $srcdir/utilities/regress.spv --subtypes='freq*'
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "    - table \"v0\" command \"Frequencies\" subtype \"Frequencies\"
    - table \"v1\" command \"Frequencies\" subtype \"Frequencies\"
    - table \"v2\" command \"Frequencies\" subtype \"Frequencies\"
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/pspp-output.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_1205
#AT_START_1206
at_fn_group_banner 1206 'pspp-output.at:92' \
  "pspp-output --subtypes unequal" "                 " 149
at_xfail=no
(
  $as_echo "1206. $at_setup_line: testing $at_desc ..."
  $at_traceon

{ set +x
$as_echo "$at_srcdir/pspp-output.at:93: pspp-output dir \$srcdir/utilities/regress.spv --subtypes='^freq*'"
at_fn_check_prepare_dynamic "pspp-output dir $srcdir/utilities/regress.spv --subtypes='^freq*'" "pspp-output.at:93"
( $at_check_trace; pspp-output dir $srcdir/utilities/regress.spv --subtypes='^freq*'
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "- heading \"Set\" command \"Set\"
- heading \"Title\" command \"Title\"
    - text \"Page Title\" command \"Title\"
- heading \"Data List\" command \"Data List\"
    - table \"Reading 1 record from INLINE.\" command \"Data List\" subtype \"Fixed Data Records\"
- heading \"Begin Data\" command \"Begin Data\"
- heading \"List\" command \"List\"
    - table \"Data List\" command \"List\"
- heading \"Frequencies\" command \"Frequencies\"
    - table \"Statistics\" command \"Frequencies\"
- heading \"Regression\" command \"Regression\"
    - table \"Model Summary (v2)\" command \"Regression\" subtype \"Model Summary\"
    - table \"ANOVA (v2)\" command \"Regression\" subtype \"ANOVA\"
    - table \"Coefficients (v2)\" command \"Regression\" subtype \"Coefficients\"
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/pspp-output.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_1206
#AT_START_1207
at_fn_group_banner 1207 'pspp-output.at:112' \
  "pspp-output --labels equal" "                     " 149
at_xfail=no
(
  $as_echo "1207. $at_setup_line: testing $at_desc ..."
  $at_traceon

{ set +x
$as_echo "$at_srcdir/pspp-output.at:113: pspp-output dir \$srcdir/utilities/regress.spv --labels='v*'"
at_fn_check_prepare_dynamic "pspp-output dir $srcdir/utilities/regress.spv --labels='v*'" "pspp-output.at:113"
( $at_check_trace; pspp-output dir $srcdir/utilities/regress.spv --labels='v*'
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "    - table \"v0\" command \"Frequencies\" subtype \"Frequencies\"
    - table \"v1\" command \"Frequencies\" subtype \"Frequencies\"
    - table \"v2\" command \"Frequencies\" subtype \"Frequencies\"
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/pspp-output.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_1207
#AT_START_1208
at_fn_group_banner 1208 'pspp-output.at:121' \
  "pspp-output --labels unequal" "                   " 149
at_xfail=no
(
  $as_echo "1208. $at_setup_line: testing $at_desc ..."
  $at_traceon

{ set +x
$as_echo "$at_srcdir/pspp-output.at:122: pspp-output dir \$srcdir/utilities/regress.spv --labels='^data*'"
at_fn_check_prepare_dynamic "pspp-output dir $srcdir/utilities/regress.spv --labels='^data*'" "pspp-output.at:122"
( $at_check_trace; pspp-output dir $srcdir/utilities/regress.spv --labels='^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 "- heading \"Set\" command \"Set\"
- heading \"Title\" command \"Title\"
    - text \"Page Title\" command \"Title\"
    - table \"Reading 1 record from INLINE.\" command \"Data List\" subtype \"Fixed Data Records\"
- heading \"Begin Data\" command \"Begin Data\"
- heading \"List\" command \"List\"
- heading \"Frequencies\" command \"Frequencies\"
    - table \"Statistics\" command \"Frequencies\"
    - table \"v0\" command \"Frequencies\" subtype \"Frequencies\"
    - table \"v1\" command \"Frequencies\" subtype \"Frequencies\"
    - table \"v2\" command \"Frequencies\" subtype \"Frequencies\"
- heading \"Regression\" command \"Regression\"
    - table \"Model Summary (v2)\" command \"Regression\" subtype \"Model Summary\"
    - table \"ANOVA (v2)\" command \"Regression\" subtype \"ANOVA\"
    - table \"Coefficients (v2)\" command \"Regression\" subtype \"Coefficients\"
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/pspp-output.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_1208
#AT_START_1209
at_fn_group_banner 1209 'pspp-output.at:142' \
  "pspp-output --instances" "                        " 149
at_xfail=no
(
  $as_echo "1209. $at_setup_line: testing $at_desc ..."
  $at_traceon

{ set +x
$as_echo "$at_srcdir/pspp-output.at:143: pspp-output dir \$srcdir/utilities/regress.spv --instances=1"
at_fn_check_prepare_dynamic "pspp-output dir $srcdir/utilities/regress.spv --instances=1" "pspp-output.at:143"
( $at_check_trace; pspp-output dir $srcdir/utilities/regress.spv --instances=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 "    - text \"Page Title\" command \"Title\"
    - table \"Reading 1 record from INLINE.\" command \"Data List\" subtype \"Fixed Data Records\"
    - table \"Data List\" command \"List\"
    - table \"Statistics\" command \"Frequencies\"
    - table \"Model Summary (v2)\" command \"Regression\" subtype \"Model Summary\"
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/pspp-output.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_1209
#AT_START_1210
at_fn_group_banner 1210 'pspp-output.at:153' \
  "pspp-output --instances=last" "                   " 149
at_xfail=no
(
  $as_echo "1210. $at_setup_line: testing $at_desc ..."
  $at_traceon


{ set +x
$as_echo "$at_srcdir/pspp-output.at:155: pspp-output dir \$srcdir/utilities/regress.spv --instances=last"
at_fn_check_prepare_dynamic "pspp-output dir $srcdir/utilities/regress.spv --instances=last" "pspp-output.at:155"
( $at_check_trace; pspp-output dir $srcdir/utilities/regress.spv --instances=last
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "    - text \"Page Title\" command \"Title\"
    - table \"Reading 1 record from INLINE.\" command \"Data List\" subtype \"Fixed Data Records\"
    - table \"Data List\" command \"List\"
    - table \"v2\" command \"Frequencies\" subtype \"Frequencies\"
    - table \"Coefficients (v2)\" command \"Regression\" subtype \"Coefficients\"
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/pspp-output.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_1210
#AT_START_1211
at_fn_group_banner 1211 'pspp-output.at:168' \
  "pspp-output --or" "                               " 149
at_xfail=no
(
  $as_echo "1211. $at_setup_line: testing $at_desc ..."
  $at_traceon

{ set +x
$as_echo "$at_srcdir/pspp-output.at:169: pspp-output dir \$srcdir/utilities/regress.spv --select=headings --or --labels='v*'"
at_fn_check_prepare_dynamic "pspp-output dir $srcdir/utilities/regress.spv --select=headings --or --labels='v*'" "pspp-output.at:169"
( $at_check_trace; pspp-output dir $srcdir/utilities/regress.spv --select=headings --or --labels='v*'
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
$at_check_filter
at_fn_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "- heading \"Set\" command \"Set\"
- heading \"Title\" command \"Title\"
- heading \"Data List\" command \"Data List\"
- heading \"Begin Data\" command \"Begin Data\"
- heading \"List\" command \"List\"
- heading \"Frequencies\" command \"Frequencies\"
    - table \"v0\" command \"Frequencies\" subtype \"Frequencies\"
    - table \"v1\" command \"Frequencies\" subtype \"Frequencies\"
    - table \"v2\" command \"Frequencies\" subtype \"Frequencies\"
- heading \"Regression\" command \"Regression\"
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/pspp-output.at:169"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1211
#AT_START_1212
at_fn_group_banner 1212 'pspp-output.at:184' \
  "pspp-output convert" "                            " 149
at_xfail=no
(
  $as_echo "1212. $at_setup_line: testing $at_desc ..."
  $at_traceon

{ set +x
$as_echo "$at_srcdir/pspp-output.at:185: pspp-output convert \$srcdir/utilities/regress.spv -O format=csv - --subtypes='model*'"
at_fn_check_prepare_dynamic "pspp-output convert $srcdir/utilities/regress.spv -O format=csv - --subtypes='model*'" "pspp-output.at:185"
( $at_check_trace; pspp-output convert $srcdir/utilities/regress.spv -O format=csv - --subtypes='model*'
) >>"$at_stdout" 2>>"$at_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
.96,.92,.91,1.49
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/pspp-output.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_1212
#AT_START_1213
at_fn_group_banner 1213 'perl-module.at:45' \
  "Perl create system file" "                        " 150
at_xfail=no
(
  $as_echo "1213. $at_setup_line: testing $at_desc ..."
  $at_traceon

$as_echo "perl-module.at:46" >"$at_check_line_file"
(test "$WITH_PERL_MODULE" = no) \
  && at_fn_check_skip 77 "$at_srcdir/perl-module.at:46"
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:82: run_perl_module test.pl"
at_fn_check_prepare_trace "perl-module.at:82"
( $at_check_trace; run_perl_module 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:82"
$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:90: pspp -O format=csv dump-dict.sps"
at_fn_check_prepare_trace "perl-module.at:90"
( $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 "Table: File Label
Label,My Dictionary

Table: Documents
These Documents

Table: Variables
Name,Position,Label,Measurement Level,Role,Width,Alignment,Print Format,Write Format,Missing Values
legal,1,,Scale,Input,8,Right,F9.2,F9.2,
money,2,,Scale,Input,8,Right,DOLLAR6.2,DOLLAR6.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:90"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1213
#AT_START_1214
at_fn_group_banner 1214 'perl-module.at:106' \
  "Perl writing cases to system files" "             " 150
at_xfail=no
(
  $as_echo "1214. $at_setup_line: testing $at_desc ..."
  $at_traceon

$as_echo "perl-module.at:107" >"$at_check_line_file"
(test "$WITH_PERL_MODULE" = no) \
  && at_fn_check_skip 77 "$at_srcdir/perl-module.at:107"
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:154: run_perl_module test.pl"
at_fn_check_prepare_trace "perl-module.at:154"
( $at_check_trace; run_perl_module 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:154"
$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:168: pspp -O format=csv dump-dicts.sps"
at_fn_check_prepare_trace "perl-module.at:168"
( $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 "Table: Variables
Name,Position,Label,Measurement Level,Role,Width,Alignment,Print Format,Write Format,Missing Values
id,1,,Scale,Input,8,Right,F2.0,F2.0,
name,2,,Nominal,Input,20,Left,A20,A20,

Table: File Label
Label,This is the file label

Table: Documents
This is a document line

Table: Data List
id,name
34,frederick

Table: Variables
Name,Position,Label,Measurement Level,Role,Width,Alignment,Print Format,Write Format,Missing Values
id,1,,Scale,Input,8,Right,F2.0,F2.0,
name,2,,Nominal,Input,20,Left,A20,A20,

Table: File Label
Label,This is the file label

Table: Documents
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: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_1214
#AT_START_1215
at_fn_group_banner 1215 'perl-module.at:201' \
  "Perl write variable parameters" "                 " 150
at_xfail=no
(
  $as_echo "1215. $at_setup_line: testing $at_desc ..."
  $at_traceon

$as_echo "perl-module.at:202" >"$at_check_line_file"
(test "$WITH_PERL_MODULE" = no) \
  && at_fn_check_skip 77 "$at_srcdir/perl-module.at:202"
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:246: run_perl_module test.pl"
at_fn_check_prepare_trace "perl-module.at:246"
( $at_check_trace; run_perl_module test.pl
) >>"$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/perl-module.at:246"
$at_failed && at_fn_log_failure
$at_traceon; }

cat stderr
cat >dump-dict.sps <<'_ATEOF'
GET FILE='testfile.sav'.
DISPLAY DICTIONARY.
_ATEOF

{ set +x
$as_echo "$at_srcdir/perl-module.at:252: pspp -O format=csv dump-dict.sps"
at_fn_check_prepare_trace "perl-module.at:252"
( $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 "Table: Variables
Name,Position,Label,Measurement Level,Role,Width,Alignment,Print Format,Write Format,Missing Values
integer,1,My Integer,Scale,Input,8,Right,F8.0,F8.0,9; 99
string,2,My String,Nominal,Input,8,Left,A8,A8,\"\"\"this    \"\"; \"\"that    \"\"\"
longstring,3,My Long String,Nominal,Input,9,Left,A9,A9,

Table: Value Labels
Variable Value,,Label
My Integer,0,Zero
,1,Unity
,2,Duality
My String,xx,foo
,yy,bar
My Long String,xxx,xfoo
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_fn_check_status 0 $at_status "$at_srcdir/perl-module.at:252"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1215
#AT_START_1216
at_fn_group_banner 1216 'perl-module.at:270' \
  "Perl dictionary survives system file" "           " 150
at_xfail=no
(
  $as_echo "1216. $at_setup_line: testing $at_desc ..."
  $at_traceon

$as_echo "perl-module.at:271" >"$at_check_line_file"
(test "$WITH_PERL_MODULE" = no) \
  && at_fn_check_skip 77 "$at_srcdir/perl-module.at:271"
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:296: run_perl_module test.pl"
at_fn_check_prepare_trace "perl-module.at:296"
( $at_check_trace; run_perl_module 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:296"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1216
#AT_START_1217
at_fn_group_banner 1217 'perl-module.at:339' \
  "Perl read system file" "                          " 150
at_xfail=no
(
  $as_echo "1217. $at_setup_line: testing $at_desc ..."
  $at_traceon

$as_echo "perl-module.at:340" >"$at_check_line_file"
(test "$WITH_PERL_MODULE" = no) \
  && at_fn_check_skip 77 "$at_srcdir/perl-module.at:340"
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:341: pspp -O format=csv sample.sps"
at_fn_check_prepare_trace "perl-module.at:341"
( $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:341"
$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:374: run_perl_module test.pl"
at_fn_check_prepare_trace "perl-module.at:374"
( $at_check_trace; run_perl_module 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:374"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1217
#AT_START_1218
at_fn_group_banner 1218 'perl-module.at:431' \
  "Perl copying system files" "                      " 150
at_xfail=no
(
  $as_echo "1218. $at_setup_line: testing $at_desc ..."
  $at_traceon

$as_echo "perl-module.at:432" >"$at_check_line_file"
(test "$WITH_PERL_MODULE" = no) \
  && at_fn_check_skip 77 "$at_srcdir/perl-module.at:432"
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:433: pspp -O format=csv sample.sps"
at_fn_check_prepare_trace "perl-module.at:433"
( $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:433"
$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:452: run_perl_module test.pl"
at_fn_check_prepare_trace "perl-module.at:452"
( $at_check_trace; run_perl_module 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:452"
$at_failed && at_fn_log_failure
$at_traceon; }

cat >dump-dicts.sps <<'_ATEOF'
GET FILE='sample.sav'.
DISPLAY DICTIONARY.
DISPLAY ATTRIBUTES
LIST.

GET FILE='copy.sav'.
DISPLAY DICTIONARY.
DISPLAY ATTRIBUTES
LIST.
_ATEOF

{ set +x
$as_echo "$at_srcdir/perl-module.at:464: pspp -O format=csv dump-dicts.sps"
at_fn_check_prepare_trace "perl-module.at:464"
( $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 "Table: Variables
Name,Position,Label,Measurement Level,Role,Width,Alignment,Print Format,Write Format,Missing Values
string,1,A Short String Variable,Nominal,Input,8,Left,A8,A8,\"\"\"3333    \"\"\"
longstring,2,A Long String Variable,Nominal,Input,12,Left,A12,A12,
numeric,3,A Numeric Variable,Scale,Input,8,Right,F10.0,F10.0,9; 5; 999
date,4,A Date Variable,Scale,Input,8,Right,DATE11,DATE11,
dollar,5,A Dollar Variable,Scale,Input,8,Right,DOLLAR11.2,DOLLAR11.2,
datetime,6,A Datetime Variable,Scale,Input,8,Right,DATETIME17.0,DATETIME17.0,

Table: Value Labels
Variable Value,,Label
A Short String Variable,1111,ones
,2222,twos
,3333[a],threes
A Numeric Variable,1,Unity
,2,Duality
,3,Thripality

Footnotes:
a,User-missing value

Table: Variable and Dataset Attributes
Variable and Name,,Value
A Numeric Variable,colour[1],blue
,colour[2],pink
,colour[3],violet
,nationality,foreign
,size,large

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

Table: Variables
Name,Position,Label,Measurement Level,Role,Width,Alignment,Print Format,Write Format,Missing Values
string,1,A Short String Variable,Nominal,Input,8,Left,A8,A8,\"\"\"3333    \"\"\"
longstring,2,A Long String Variable,Nominal,Input,12,Left,A12,A12,
numeric,3,A Numeric Variable,Scale,Input,8,Right,F10.0,F10.0,9; 5; 999
date,4,A Date Variable,Scale,Input,8,Right,DATE11,DATE11,
dollar,5,A Dollar Variable,Scale,Input,8,Right,DOLLAR11.2,DOLLAR11.2,
datetime,6,A Datetime Variable,Scale,Input,8,Right,DATETIME17.0,DATETIME17.0,

Table: Value Labels
Variable Value,,Label
A Short String Variable,1111,ones
,2222,twos
,3333[a],threes
A Numeric Variable,1,Unity
,2,Duality
,3,Thripality

Footnotes:
a,User-missing value

Table: Variable and Dataset Attributes
Variable and Name,,Value
A Numeric Variable,colour[1],blue
,colour[2],pink
,colour[3],violet
,nationality,foreign
,size,large

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:464"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1218
#AT_START_1219
at_fn_group_banner 1219 'perl-module.at:541' \
  "Perl value formatting" "                          " 150
at_xfail=no
(
  $as_echo "1219. $at_setup_line: testing $at_desc ..."
  $at_traceon

$as_echo "perl-module.at:542" >"$at_check_line_file"
(test "$WITH_PERL_MODULE" = no) \
  && at_fn_check_skip 77 "$at_srcdir/perl-module.at:542"
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:551: pspp -O format=csv dd.sps"
at_fn_check_prepare_trace "perl-module.at:551"
( $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:551"
$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:574: run_perl_module test.pl"
at_fn_check_prepare_trace "perl-module.at:574"
( $at_check_trace; run_perl_module 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: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_1219
#AT_START_1220
at_fn_group_banner 1220 'perl-module.at:580' \
  "Perl opening nonexistent file" "                  " 150
at_xfail=no
(
  $as_echo "1220. $at_setup_line: testing $at_desc ..."
  $at_traceon

$as_echo "perl-module.at:581" >"$at_check_line_file"
(test "$WITH_PERL_MODULE" = no) \
  && at_fn_check_skip 77 "$at_srcdir/perl-module.at:581"
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:592: run_perl_module test.pl"
at_fn_check_prepare_trace "perl-module.at:592"
( $at_check_trace; run_perl_module 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: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_1220
#AT_START_1221
at_fn_group_banner 1221 'perl-module.at:599' \
  "Perl missing values" "                            " 150
at_xfail=no
(
  $as_echo "1221. $at_setup_line: testing $at_desc ..."
  $at_traceon

$as_echo "perl-module.at:600" >"$at_check_line_file"
(test "$WITH_PERL_MODULE" = no) \
  && at_fn_check_skip 77 "$at_srcdir/perl-module.at:600"
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:601: pspp -O format=csv sample.sps"
at_fn_check_prepare_trace "perl-module.at:601"
( $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:601"
$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:642: run_perl_module test.pl"
at_fn_check_prepare_trace "perl-module.at:642"
( $at_check_trace; run_perl_module 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:642"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1221
#AT_START_1222
at_fn_group_banner 1222 'perl-module.at:645' \
  "Perl custom attributes" "                         " 150
at_xfail=no
(
  $as_echo "1222. $at_setup_line: testing $at_desc ..."
  $at_traceon

$as_echo "perl-module.at:646" >"$at_check_line_file"
(test "$WITH_PERL_MODULE" = no) \
  && at_fn_check_skip 77 "$at_srcdir/perl-module.at:646"
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:647: pspp -O format=csv sample.sps"
at_fn_check_prepare_trace "perl-module.at:647"
( $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:647"
$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:668: run_perl_module test.pl"
at_fn_check_prepare_trace "perl-module.at:668"
( $at_check_trace; run_perl_module 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:668"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1222
#AT_START_1223
at_fn_group_banner 1223 'perl-module.at:676' \
  "Perl Pspp.t" "                                    " 150
at_xfail=no
(
  $as_echo "1223. $at_setup_line: testing $at_desc ..."
  $at_traceon


$as_echo "perl-module.at:678" >"$at_check_line_file"
(test "$WITH_PERL_MODULE" = no) \
  && at_fn_check_skip 77 "$at_srcdir/perl-module.at:678"
# Skip this test if Perl's Text::Diff module is not installed.
{ set +x
$as_echo "$at_srcdir/perl-module.at:680: perl -MText::Diff -e '' || exit 77"
at_fn_check_prepare_trace "perl-module.at:680"
( $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:680"
$at_failed && at_fn_log_failure
$at_traceon; }

{ set +x
$as_echo "$at_srcdir/perl-module.at:681: run_perl_module \$abs_top_builddir/perl-module/t/Pspp.t"
at_fn_check_prepare_dynamic "run_perl_module $abs_top_builddir/perl-module/t/Pspp.t" "perl-module.at:681"
( $at_check_trace; run_perl_module $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:681"
$at_failed && at_fn_log_failure
$at_traceon; }

  set +x
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 7>&- | eval $at_tee_pipe
read at_status <"$at_status_file"
#AT_STOP_1223
