#! /bin/sh
# Generated from testsuite.at by GNU Autoconf 2.63.
#
# Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
# 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




# PATH needs CR
# 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_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
if (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

# Support unset when possible.
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  as_unset=unset
else
  as_unset=false
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.
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); exit 1; }
fi

# Work around bugs in pre-3.0 UWIN ksh.
for as_var in ENV MAIL MAILPATH
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
done
PS1='$ '
PS2='> '
PS4='+ '

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

# Required to use basename.
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


# Name of the executable.
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'`

# CDPATH.
$as_unset CDPATH


if test "x$CONFIG_SHELL" = x; then
  if (eval ":") 2>/dev/null; then
  as_have_required=yes
else
  as_have_required=no
fi

  if test $as_have_required = yes &&	 (eval ":
(as_func_return () {
  (exit \$1)
}
as_func_success () {
  as_func_return 0
}
as_func_failure () {
  as_func_return 1
}
as_func_ret_success () {
  return 0
}
as_func_ret_failure () {
  return 1
}

exitcode=0
if as_func_success; then
  :
else
  exitcode=1
  echo as_func_success failed.
fi

if as_func_failure; then
  exitcode=1
  echo as_func_failure succeeded.
fi

if as_func_ret_success; then
  :
else
  exitcode=1
  echo as_func_ret_success failed.
fi

if as_func_ret_failure; then
  exitcode=1
  echo as_func_ret_failure succeeded.
fi

if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
  :
else
  exitcode=1
  echo positional parameters were not saved.
fi

test \$exitcode = 0) || { (exit 1); exit 1; }

(
  as_lineno_1=\$LINENO
  as_lineno_2=\$LINENO
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
") 2> /dev/null; then
  :
else
  as_candidate_shells=
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  case $as_dir in
	 /*)
	   for as_base in sh bash ksh sh5; do
	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
	   done;;
       esac
done
IFS=$as_save_IFS


      for as_shell in $as_candidate_shells $SHELL; do
	 # Try only shells that exist, to save several forks.
	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
		{ ("$as_shell") 2> /dev/null <<\_ASEOF
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


:
_ASEOF
}; then
  CONFIG_SHELL=$as_shell
	       as_have_required=yes
	       if { "$as_shell" 2> /dev/null <<\_ASEOF
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_func_return () {
  (exit $1)
}
as_func_success () {
  as_func_return 0
}
as_func_failure () {
  as_func_return 1
}
as_func_ret_success () {
  return 0
}
as_func_ret_failure () {
  return 1
}

exitcode=0
if as_func_success; then
  :
else
  exitcode=1
  echo as_func_success failed.
fi

if as_func_failure; then
  exitcode=1
  echo as_func_failure succeeded.
fi

if as_func_ret_success; then
  :
else
  exitcode=1
  echo as_func_ret_success failed.
fi

if as_func_ret_failure; then
  exitcode=1
  echo as_func_ret_failure succeeded.
fi

if ( set x; as_func_ret_success y && test x = "$1" ); then
  :
else
  exitcode=1
  echo positional parameters were not saved.
fi

test $exitcode = 0) || { (exit 1); exit 1; }

(
  as_lineno_1=$LINENO
  as_lineno_2=$LINENO
  test "x$as_lineno_1" != "x$as_lineno_2" &&
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }

_ASEOF
}; then
  break
fi

fi

      done

      if test "x$CONFIG_SHELL" != x; then
  for as_var in BASH_ENV ENV
	do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
	done
	export CONFIG_SHELL
	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
fi


    if test $as_have_required = no; then
  echo This script requires a shell more modern than all the
      echo shells that I found on your system.  Please install a
      echo modern shell, or manually run the script under such a
      echo shell if you do have one.
      { (exit 1); exit 1; }
fi


fi

fi



(eval "as_func_return () {
  (exit \$1)
}
as_func_success () {
  as_func_return 0
}
as_func_failure () {
  as_func_return 1
}
as_func_ret_success () {
  return 0
}
as_func_ret_failure () {
  return 1
}

exitcode=0
if as_func_success; then
  :
else
  exitcode=1
  echo as_func_success failed.
fi

if as_func_failure; then
  exitcode=1
  echo as_func_failure succeeded.
fi

if as_func_ret_success; then
  :
else
  exitcode=1
  echo as_func_ret_success failed.
fi

if as_func_ret_failure; then
  exitcode=1
  echo as_func_ret_failure succeeded.
fi

if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
  :
else
  exitcode=1
  echo positional parameters were not saved.
fi

test \$exitcode = 0") || {
  echo No shell found that supports shell functions.
  echo Please tell bug-autoconf@gnu.org about your system,
  echo including any error possibly output before this message.
  echo This can help us improve future autoconf versions.
  echo Configuration will now proceed without shell functions.
}



  as_lineno_1=$LINENO
  as_lineno_2=$LINENO
  test "x$as_lineno_1" != "x$as_lineno_2" &&
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {

  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  # uniformly replaced by the line number.  The first 'sed' inserts a
  # line-number line after each line using $LINENO; the second 'sed'
  # does the real work.  The second script uses 'N' to pair each
  # line-number line with the line containing $LINENO, and appends
  # trailing '-' during substitution so that $LINENO is not a special
  # case at line end.
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  # scripts with optimization help from Paolo Bonzini.  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:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
$as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
   { (exit 1); exit 1; }; }

  # 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
}


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

ECHO_C= ECHO_N= ECHO_T=
case `echo -n x` in
-n*)
  case `echo 'x\c'` in
  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
  *)   ECHO_C='\c';;
  esac;;
*)
  ECHO_N='-n';;
esac
if expr a : '\(a\)' >/dev/null 2>&1 &&
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
  as_expr=expr
else
  as_expr=false
fi

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 -p'.
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
      as_ln_s='cp -p'
  elif ln conf$$.file conf$$ 2>/dev/null; then
    as_ln_s=ln
  else
    as_ln_s='cp -p'
  fi
else
  as_ln_s='cp -p'
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=:
else
  test -d ./-p && rmdir ./-p
  as_mkdir_p=false
fi

if test -x / >/dev/null 2>&1; then
  as_test_x='test -x'
else
  if ls -dL / >/dev/null 2>&1; then
    as_ls_L_option=L
  else
    as_ls_L_option=
  fi
  as_test_x='
    eval sh -c '\''
      if test -d "$1"; then
	test -d "$1/.";
      else
	case $1 in
	-*)set "./$1";;
	esac;
	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
	???[sx]*):;;*)false;;esac;fi
    '\'' sh
  '
fi
as_executable_p=$as_test_x

# 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=

# 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 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

# List of the tested programs.
at_tested=''
# List of the all the test groups.
at_groups_all=' 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 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162'
# 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;install-mh.at:18;install-mh -auto;install-mh install-mh00;
2;install-mh.at:44;install-mh with invalid profile;install-mh install-mh01;
3;mhseq.at:22;mhseq: existing message number;mhseq mh-sequences mhseq00;
4;mhseq.at:30;mhseq: not existing message number;mhseq mh-sequences mhseq01;
5;mhseq.at:40;mhseq: contiguous message range;mhseq mh-sequences mhseq02;
6;mhseq.at:51;mhseq: reversed contiguous message range;mhseq mh-sequences mhseq03;
7;mhseq.at:62;mhseq: reversed non-contiguous message range;mhseq mh-sequences mhseq04;
8;mhseq.at:73;mhseq: message range (left fixup);mhseq mh-sequences mhseq05;
9;mhseq.at:85;mhseq: message range (right fixup);mhseq mh-sequences mhseq06;
10;mhseq.at:97;mhseq: message range (both fixups);mhseq mh-sequences mhseq07;
11;mhseq.at:109;mhseq: non-existent message range (left);mhseq mh-sequences mhseq08;
12;mhseq.at:120;mhseq: non-existent message range (right);mhseq mh-sequences mhseq09;
13;mhseq.at:129;mhseq: message set addition;mhseq mh-sequences mhseq10;
14;mhseq.at:146;mhseq: message set optimization;mhseq mh-sequences mhseq11;
15;mhseq.at:169;mhseq: counted range (positive);mhseq mh-sequences mhseq12;
16;mhseq.at:180;mhseq: non-contiguous counted range (positive);mhseq mh-sequences mhseq13;
17;mhseq.at:193;mhseq: counted range (positive, left fixup);mhseq mh-sequences mhseq14;
18;mhseq.at:205;mhseq: counted range (positive, right fixup);mhseq mh-sequences mhseq15;
19;mhseq.at:216;mhseq: invalid counted range (negative);mhseq mh-sequences mhseq16;
20;mhseq.at:227;mhseq: counted range (negative);mhseq mh-sequences mhseq17;
21;mhseq.at:238;mhseq: non-contiguous counted range (negative);mhseq mh-sequences mhseq18;
22;mhseq.at:251;mhseq: counted range (negative, left fixup);mhseq mh-sequences mhseq19;
23;mhseq.at:262;mhseq: counted range (negative, right fixup);mhseq mh-sequences mhseq20;
24;mhseq.at:273;mhseq: invalid counted range (negative);mhseq mh-sequences mhseq21;
25;mhseq.at:284;mhseq: cur;mhseq mh-sequences mhseq22 cur;
26;mhseq.at:294;mhseq: cur:n -- default direction;mhseq mh-sequences mhseq23 cur:n;
27;mhseq.at:305;mhseq: cur:n -- explicit dir (negative);mhseq mh-sequences mhseq24 cur:n cur:n-;
28;mhseq.at:316;mhseq: cur:n -- explicit dir (positive);mhseq mh-sequences mhseq25 cur:n cur:n+;
29;mhseq.at:327;mhseq: next;mhseq mh-sequences mhseq26 next;
30;mhseq.at:338;mhseq: next:n -- default direction;mhseq mh-sequences mhseq27 next:n;
31;mhseq.at:349;mhseq: prev;mhseq mh-sequences mhseq28 prev;
32;mhseq.at:360;mhseq: prev:n -- default direction;mhseq mh-sequences mhseq29 prev:n;
33;mhseq.at:371;mhseq: first;mhseq mh-sequences mhseq30 first;
34;mhseq.at:381;mhseq: first:n -- default direction;mhseq mh-sequences mhseq31 first:n;
35;mhseq.at:392;mhseq: last;mhseq mh-sequences mhseq32 last;
36;mhseq.at:400;mhseq: last:n -- default direction;mhseq mh-sequences mhseq33 last:n;
37;ali.at:20;ali: simple aliases;ali ali00;
38;ali.at:31;ali: recursive aliases;ali ali01;
39;ali.at:42;ali: file inlcusion;ali ali02 ali-include;
40;ali.at:56;ali: recursive inlcusion;ali ali03 ali-include-recursive;
41;ali.at:77;ali: group name;ali ali04 ali-group-name;
42;ali.at:87;ali: group id;ali ali05 ali-group-id ali-gid;
43;ali.at:100;ali: everybody;ali ali06 ali-everybody;
44;ali.at:111;ali: simple aliases;ali ali00;
45;folder.at:20;folder;folder folder00 folder-print;
46;folder.at:30;folder -all;folder folder01 folder-all;
47;folder.at:45;folder -all -fast;folder folder02 folder-all folder-all-fast;
48;folder.at:56;folder +mbox;folder folder03 folder+mbox;
49;folder.at:69;folder +mbox msg;folder folder04 folder+mbox_msg;
50;folder.at:84;folder -pack;folder folder05 folder-pack;
51;folder.at:102;folder --pack=N;folder folder06 folder--pack=n;
52;folder.at:120;folder -push/-pop;folder folder07 folder-push folder-pop folder-push-pop;
53;folder.at:138;folder -create;folder folder08 folder-create;
54;inc.at:20;inc -notruncate;inc inc00 inc-notruncate;
55;inc.at:33;inc -truncate;inc inc01 inc-truncate;
56;inc.at:48;inc -folder;inc inc02 inc-folder;
57;inc.at:61;inc -changecur;inc inc03 inc-changecur;
58;inc.at:74;inc -nochangecur;inc inc04 inc-nochangecur;
59;scan.at:21;scan;scan scan00;
60;scan.at:34;scan -folder;scan scan01 scan-folder;
61;scan.at:46;scan -format;scan scan02 scan-format;
62;scan.at:58;scan -form;scan scan03 scan-form;
63;scan.at:71;scan -reverse;scan scan04 scan-reverse;
64;rmm.at:21;rmm msg;rmm rmm00 rmm-msg;
65;rmm.at:34;rmm seq;rmm rmm01 rmm-seq;
66;rmm.at:52;rmm rmmproc;rmm rmm02 rmmproc;
67;rmm.at:67;rmm -- null rmmproc;rmm rmm03 null-rmmproc;
68;rmf.at:21;rmf +folder;rmf rmf00 rmf+folder;
69;rmf.at:33;rmf;rmf rmf01 rmf_cur;
70;mark.at:20;mark -add;mark mark00 mark-add;
71;mark.at:31;mark -add -zero;mark mark01 mark-add-zero;
72;mark.at:44;mark -add -nopublic;mark mark02 mark-add-nopublic;
73;mark.at:54;mark -del;mark mark03 mark-del;
74;mark.at:65;mark -del -nopublic;mark mark04 mark-del-nopublic;
75;mark.at:79;mark -list;mark mark05 mark-list;
76;mhparam.at:20;mhparam -all;mhparam mhparam00 mhparam-all;
77;mhparam.at:37;mhparam comp;mhparam mhparam01 mhparam_comp;
78;mhparam.at:49;mhparam comp comp;mhparam mhparam02 mhparam_comp_comp;
79;mhparam.at:62;mhparam -component comp;mhparam mhparam03 mhparam-component_comp;
80;refile.at:20;refile;refile refile00;
81;refile.at:39;refile -file;refile refile01 refile-file;
82;refile.at:56;refile --copy;refile refile02 refile--copy;
83;mhpath.at:20;mhpath;mhpath mhpath00;
84;mhpath.at:29;mhpath +;mhpath mhpath01 mhpath+;
85;mhpath.at:38;mhpath msgs;mhpath mhpath02 mhparam_msgs;
86;mhpath.at:48;mhpath msgs (some nonexistent);mhpath mhpath03 mhparam_msgs_some_nonex;
87;mhpath.at:57;mhpath msgs (all nonexistent);mhpath mhpath04 mhparam_msgs_all_nonex;
88;mhpath.at:88;mhpath nonexistent;mhpath mhpath05 mhparam_nonexistent;
89;mhpath.at:97;mhpath new;mhpath mhpath06 mhparam_new;
90;mhl.at:20;mhl;mhl mhl00;
91;mhl.at:38;mhl repl;mhl mhl01 mhl.repl;
92;mhl.at:49;mhl usenet;mhl mhl02 mhl.usenet;
93;anno.at:20;anno;anno anno00;
94;anno.at:31;anno -component;anno anno01 anno-component;
95;anno.at:41;anno -component -text;anno anno02 anno-component-text;
96;anno.at:52;anno -component -text -nodate;anno anno03 anno-component-text-nodate;
97;pick.at:20;pick -from;pick pick00 pick-from;
98;pick.at:44;pick -from -sequence;pick pick01 pick-from-sequence;
99;pick.at:55;pick -search;pick pick02 pick-search;
100;pick.at:65;pick -search regex;pick pick03 pick-search-regex;
101;pick.at:77;pick -subject -from;pick pick04 pick-subject-from;
102;pick.at:98;pick -subject -and -from;pick pick05 pick-subject-and-from;
103;pick.at:119;pick -subject -or -from;pick pick06 pick-subject-or-from;
104;pick.at:161;pick: default precedence;pick pick07 pick-subject-and-from-or-from;
105;pick.at:220;pick: explicit precedence (1);pick pick08 pick-expl-1;
106;pick.at:279;pick: explicit precedence (2);pick pick09 pick-expl-2;
107;pick.at:313;pick -before;pick pick10 pick-before;
108;pick.at:323;pick --Component pattern;pick pick11 pick-component;
109;burst.at:20;burst digest;burst burst00 burst-digest;
110;burst.at:70;burst digest /w EB length limit;burst burst01 burst-digest-eb-length;
111;burst.at:120;burst mime;burst burst02 burst-mime;
112;burst.at:141;burst mime recursive;burst burst03 burst-mime-recursive;
113;burst.at:202;burst non-digest;burst burst04 burst-non-digest;
114;comp.at:21;comp -file;comp comp00 comp-file;
115;comp.at:41;comp -file (del);comp comp01 comp-file_del;
116;comp.at:55;comp file;comp comp02 comp_file;
117;comp.at:75;comp -use file;comp comp03 comp-use_file;
118;comp.at:104;comp +folder msg;comp comp04 comp+folder_msg;
119;comp.at:144;comp -draftfolder;comp comp05 comp-draftfolder draftfolder;
120;comp.at:165;comp +draftfolder -use;comp comp06 comp-draftfolder-use draftfolder;
121;forw.at:21;forw msg;forw forw00 forw-msg;
122;forw.at:81;forw -format msg;forw forw01 forw-format-msg;
123;forw.at:141;forw msgs;forw forw02 forw-msgs;
124;forw.at:231;forw -build msg;forw forw03 forw-build-msg;
125;forw.at:270;forw -build -mime msgs;forw forw04 forw-build-mime-msg;
126;forw.at:315;forw -draftfolder;forw forw05 forw-draftfolder draftfolder;
127;forw.at:374;forw -file;forw forw06 forw-file;
128;repl.at:23;repl msg;repl repl00 repl-msg;
129;repl.at:52;repl -draftfolder;repl repl01 repl-draftfolder;
130;mhn.at:24;mhn -list;mhn mhn00 mhn-list;
131;mhn.at:47;mhn -list -realsize;mhn mhn01 mhn-list-realsize;
132;mhn.at:74;mhn -store;mhn mhn02 mhn-store;
133;mhn.at:131;mhn -store -auto;mhn mhn03 mhn-store-auto;
134;mhn.at:142;mhn -store -auto -part;mhn mhn04 mhn-store-auto-part;
135;mhn.at:150;mhn -store -auto (pathname safety);mhn mhn05 mhn-store-auto-safety;
136;mhn.at:173;mhn-storage;mhn mhn06 mhn-store-auto;
137;mhn.at:190;mhn-store-: all escapes;mhn mhn07 mhn-store_escapes;
138;mhn.at:209;mhn-store-: absolute path;mhn mhn08 mhn-store_abspath;
139;mhn.at:225;mhn-store-: +folder;mhn mhn09 mhn-store+folder;
140;mhn.at:241;mhn-store-: +;mhn mhn10 mhn-store+;
141;mhn.at:256;mhn-store-: pipe;mhn mhn11 mhn-store-pipe;
142;mhn.at:285;mhn-show msg1;mhn mhn12 mhn-show-msg1;
143;mhn.at:336;mhn-show type=tar;mhn mhn13 mhn-show-type=tar;
144;mhn.at:364;mhn-show unsupported type;mhn mhn14 mhn-show-unsupported-type;
145;mhn.at:385;mhn-show- variable (with subtype);mhn mhn15 mhn-show-with-subtype;
146;mhn.at:414;mhn-show- variable (without subtype);mhn mhn16 mhn-show-without-subtype;
147;mhn.at:446;mhn-compose: adjacent plain text;mhn mhn17 mhn-compose mhn-compose-01;
148;mhn.at:480;mhn-compose: plain text content types;mhn mhn18 mhn-compose mhn-compose-02;
149;mhn.at:526;mhn-compose: sharp at the beginning of a line;mhn mhn19 mhn-compose mhn-compose-03;
150;mhn.at:548;mhn-compose: charset;mhn mhn20 mhn-compose mhn-compose-04;
151;mhn.at:571;mhn-compose: forward;mhn mhn21 mhn-compose mhn-compose-05;
152;mhn.at:697;mhn-compose: forward (current folder);mhn mhn22 mhn-compose mhn-compose-06;
153;mhn.at:824;mhn-compose: forward (single message);mhn mhn23 mhn-compose mhn-compose-07;
154;mhn.at:894;mhn-compose: external data;mhn mhn24 mhn-compose mhn-compose-08;
155;mhn.at:927;mhn-compose: multipart;mhn mhn25 mhn-compose mhn-compose-09;
156;send.at:21;send file;send send00 send-file;
157;send.at:48;send files;send send01 send-files;
158;send.at:98;send -draft;send send02 send-draft;
159;send.at:131;send -draftfolder;send send03 send-draftfolder draftfolder draftmessage;
160;send.at:160;send -draftmessage;send send04 send-draftmessage draftfolder draftmessage;
161;sortm.at:22;sortm -textfield;sortm sortm00 sortm-textfield;
162;sortm.at:126;sortm -datefield;sortm sortm01 sortm-datefield;
"

# at_func_validate_ranges [NAME...]
# ---------------------------------
# Validate and normalize the test group number contained in each
# variable NAME.  Leading zeroes are treated as decimal.
at_func_validate_ranges ()
{
  for at_grp
  do
    eval at_value=\$$at_grp
    if test $at_value -lt 1 || test $at_value -gt 162; 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
	  # at_func_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" : 'x[^=]*=\(.*\)'` ;;
  *)   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=:
	;;

    --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_traceoff='set +x'
	;;

    [0-9] | [0-9][0-9] | [0-9][0-9][0-9] | [0-9][0-9][0-9][0-9])
	at_func_validate_ranges at_option
	at_groups="$at_groups$at_option "
	;;

    # 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_func_validate_ranges at_range_start
	at_range=`$as_echo " $at_groups_all " | \
	  sed -e 's/^.* \('$at_range_start' \)/\1/'`
	at_groups="$at_groups$at_range "
	;;

    -[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_func_validate_ranges at_range_end
	at_range=`$as_echo " $at_groups_all " | \
	  sed -e 's/\( '$at_range_end'\) .*$/\1/'`
	at_groups="$at_groups$at_range "
	;;

    [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_func_validate_ranges at_range_start at_range_end
	at_range=`$as_echo " $at_groups_all " | \
	  sed -e 's/^.*\( '$at_range_start' \)/\1/' \
	      -e 's/\( '$at_range_end'\) .*$/\1/'`
	at_groups="$at_groups$at_range "
	;;

    # Directory selection.
    --directory | -C )
	at_prev=--directory
	;;
    --directory=* )
	at_change_dir=:
	at_dir=$at_optarg
	;;

    # 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 newlines.
	at_groups_selected=`$as_echo "$at_groups_selected" | sed 's/;.*//' |
	  tr "$as_nl" ' '
	`
	at_groups="$at_groups$at_groups_selected "
	;;

    *=*)
	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_echo "$as_me:$LINENO: error: invalid variable name: $at_envvar" >&5
$as_echo "$as_me: error: invalid variable name: $at_envvar" >&2;}
   { (exit 1); exit 1; }; } ;;
	esac
	at_value=`$as_echo "$at_optarg" | sed "s/'/'\\\\\\\\''/g"`
	# Export now, but save eval for later and for debug scripts.
	export $at_envvar
	at_debug_args="$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_echo "$as_me:$LINENO: error: \`$at_prev' requires an argument." >&5
$as_echo "$as_me: error: \`$at_prev' requires an argument." >&2;}
   { (exit 1); exit 1; }; }
fi


# Selected test groups.
if test -z "$at_groups"; then
  at_groups=$at_groups_all
else
  # Sort the tests, removing duplicates.
  at_groups=`$as_echo "$at_groups" | tr ' ' "$as_nl" | sort -nu`
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.

You should not change environment variables unless explicitly passed
as command line arguments.  Set \`AUTOTEST_PATH' to select the executables
to exercise.  Each relative directory is expanded as build and source
directories relatively to the top level of this distribution.  E.g.,

  $ $0 AUTOTEST_PATH=bin

possibly amounts into

  PATH=/tmp/foo-1.0/bin:/src/foo-1.0/bin:\$PATH
_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
  -k, --keywords=KEYWORDS
                 select the tests matching all the comma-separated KEYWORDS
                 multiple \`-k' accumulate; prefixed \`!' negates a KEYWORD
  -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-mailutils@gnu.org>.
_ATEOF
  exit $at_write_fail
fi

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

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

_ATEOF
  # Passing at_groups is tricky.  We cannot use it to form a literal string
  # or regexp because of the limitation of AIX awk.  And Solaris' awk
  # doesn't grok more than 99 fields in a record, so we have to use `split'.
  # at_groups needs to be space-separated for this script to work.
  case $at_groups in
    *"$as_nl"* )
      at_groups=`$as_echo "$at_groups" | tr "$as_nl" ' '` ;;
  esac
  $as_echo "$at_groups$as_nl$at_help_all" |
    awk 'BEGIN { FS = ";" }
	 NR == 1 {
	   for (n = split($ 0, a, " "); n; n--) selected[a[n]] = 1
	   next
	 }
	 {
	   if (selected[$ 1]) {
	     printf " %3d: %-18s %s\n", $ 1, $ 2, $ 3
	     if ($ 4) printf "      %s\n", $ 4
	   }
	 }' || at_write_fail=1
  exit $at_write_fail
fi
if $at_version_p; then
  $as_echo "$as_me (GNU Mailutils 2.99.94)" &&
  cat <<\_ACEOF || at_write_fail=1

Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
Free Software Foundation, Inc.
This test suite is free software; the Free Software Foundation gives
unlimited permission to copy, distribute and modify it.
_ACEOF
  exit $at_write_fail
fi

# Should we print banners?  at_groups is space-separated for entire test,
# newline-separated if only a subset of the testsuite is run.
case $at_groups in
  *' '*' '* | *"$as_nl"*"$as_nl"* )
      at_print_banners=: ;;
  * ) at_print_banners=false ;;
esac
# Text for banner N, set to empty once printed.
# Banner 1. install-mh.at:17
# Category starts at test group 1.
at_banner_text_1="install-mh"
# Banner 2. mhseq.at:17
# Category starts at test group 3.
at_banner_text_2="mhseq"
# Banner 3. ali.at:17
# Category starts at test group 37.
at_banner_text_3="ali"
# Banner 4. folder.at:17
# Category starts at test group 45.
at_banner_text_4="folder"
# Banner 5. inc.at:17
# Category starts at test group 54.
at_banner_text_5="inc"
# Banner 6. scan.at:17
# Category starts at test group 59.
at_banner_text_6="scan"
# Banner 7. rmm.at:17
# Category starts at test group 64.
at_banner_text_7="rmm"
# Banner 8. rmf.at:17
# Category starts at test group 68.
at_banner_text_8="rmf"
# Banner 9. mark.at:17
# Category starts at test group 70.
at_banner_text_9="mark"
# Banner 10. mhparam.at:17
# Category starts at test group 76.
at_banner_text_10="mhparam"
# Banner 11. refile.at:17
# Category starts at test group 80.
at_banner_text_11="refile"
# Banner 12. mhpath.at:17
# Category starts at test group 83.
at_banner_text_12="mhpath"
# Banner 13. mhl.at:17
# Category starts at test group 90.
at_banner_text_13="mhl"
# Banner 14. anno.at:17
# Category starts at test group 93.
at_banner_text_14="anno"
# Banner 15. pick.at:17
# Category starts at test group 97.
at_banner_text_15="pick"
# Banner 16. burst.at:17
# Category starts at test group 109.
at_banner_text_16="burst"
# Banner 17. comp.at:17
# Category starts at test group 114.
at_banner_text_17="comp"
# Banner 18. forw.at:17
# Category starts at test group 121.
at_banner_text_18="forw"
# Banner 19. repl.at:17
# Category starts at test group 128.
at_banner_text_19="repl"
# Banner 20. mhn.at:17
# Category starts at test group 130.
at_banner_text_20="mhn"
# Banner 21. send.at:17
# Category starts at test group 156.
at_banner_text_21="send"
# Banner 22. sortm.at:17
# Category starts at test group 161.
at_banner_text_22="sortm"

# Take any -C into account.
if $at_change_dir ; then
  if test x- = "x$at_dir" ; then
    at_dir=./-
  fi
  test x != "x$at_dir" && cd "$at_dir" \
    || { { $as_echo "$as_me:$LINENO: error: unable to change directory" >&5
$as_echo "$as_me: error: unable to change directory" >&2;}
   { (exit 1); exit 1; }; }
  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_echo "$as_me:$LINENO: error: invalid content: $at_file" >&5
$as_echo "$as_me: error: invalid content: $at_file" >&2;}
   { (exit 1); exit 1; }; }
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
    at_val=`eval 'as_val=${'at_$at_dir_var'}
		 $as_echo "$as_val"'`
    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_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

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" && at_path=$at_path$PATH_SEPARATOR
case $as_dir in
  [\\/]* | ?:[\\/]* )
    at_path=$at_path$as_dir
    ;;
  * )
    if test -z "$at_top_build_prefix"; then
      # Stand-alone test suite.
      at_path=$at_path$as_dir
    else
      # Embedded test suite.
      at_path=$at_path$at_top_build_prefix$as_dir$PATH_SEPARATOR
      at_path=$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 ;;
  *) at_new_path=$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.
cat <<\_ASBOX
## --------------------------------- ##
## GNU Mailutils 2.99.94 test suite. ##
## --------------------------------- ##
_ASBOX
{
  cat <<\_ASBOX
## --------------------------------- ##
## GNU Mailutils 2.99.94 test suite. ##
## --------------------------------- ##
_ASBOX
  echo

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

  # Try to find a few ChangeLogs in case it might help determining the
  # exact version.  Use the relative dir: if the top dir is a symlink,
  # find will not follow it (and options to follow the links are not
  # portable), which would result in no output here.  Prune directories
  # matching the package tarname, since they tend to be leftovers from
  # `make dist' or `make distcheck' and contain redundant or stale logs.
  if test -n "$at_top_srcdir"; then
    cat <<\_ASBOX
## ----------- ##
## ChangeLogs. ##
## ----------- ##
_ASBOX
    echo
    for at_file in `find "$at_top_srcdir" -name "mailutils-*" -prune -o -name ChangeLog -print`
    do
      $as_echo "$as_me: $at_file:"
      sed 's/^/| /;10q' $at_file
      echo
    done

  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


## --------------- ##
## Shell functions ##
## --------------- ##

# at_func_banner NUMBER
# ---------------------
# Output banner NUMBER, provided the testsuite is running multiple groups
# and this particular banner has not yet been printed.
at_func_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=
  $as_echo "$as_nl$at_banner_text$as_nl"
} # at_func_banner

# at_func_check_newline COMMAND
# -----------------------------
# Test if COMMAND includes a newline and, if so, print a message and return
# exit code 1
at_func_check_newline ()
{
  case "$1" in
 *'
'*) echo 'Not enabling shell tracing (command contains an embedded newline)'
    return 1 ;;
 *) return 0 ;;
  esac
}

# at_func_filter_trace EXIT-CODE
# ------------------------------
# Split the contents of file "$at_stder1" into the "set -x" trace (on stderr)
# and the other lines (on file "$at_stderr").  Return the exit code EXIT-CODE.
at_func_filter_trace ()
{
  grep '^ *+' "$at_stder1" >&2
  grep -v '^ *+' "$at_stder1" >"$at_stderr"
  return $1
}

# at_func_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_func_log_failure ()
{
  for file
    do $as_echo "$file:"; sed 's/^/> /' "$file"; done
  echo 1 > "$at_status_file"
  exit 1
}

# at_func_check_skip EXIT-CODE
# ----------------------------
# Check whether EXIT-CODE is the special exit code 77, and if so exit the shell
# with that same exit code.
at_func_check_skip ()
{
  case $1 in
    77) echo 77 > "$at_status_file"; exit 77;;
  esac
}

# at_func_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 exit the shell with that same exit code; if it is
# anything else print an error message and fail the test.
at_func_check_status ()
{
  case $2 in
    $1 ) ;;
    77) echo 77 > "$at_status_file"; exit 77;;
    *) $as_echo "$3: exit code was $2, expected $1"
      at_failed=:;;
  esac
}

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

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

# at_func_create_debugging_script
# -------------------------------
# Create the debugging script $at_group_dir/run which will reproduce the
# current test group.
at_func_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"
}

# at_func_arith
# -------------
# Arithmetic evaluation, avoids expr if the shell is sane.  The
# interpretation of leading zeroes is unspecified.
#
# subshell and eval are needed to keep Solaris sh from bailing out:
if ( eval 'test $(( 1 + 1 )) = 2' ) 2>/dev/null; then
  # With "$@", bash does not split positional parameters:
  eval 'at_func_arith ()
  {
    at_func_arith_result=$(( $* ))
  }'
else
  at_func_arith ()
  {
    at_func_arith_result=`expr "$@"`
  }
fi

## ---------------------- ##
## End of shell functions ##
## ---------------------- ##
{
  cat <<\_ASBOX
## ---------------- ##
## Tested programs. ##
## ---------------- ##
_ASBOX
  echo
} >&5

# Report what programs are being tested.
for at_program in : $at_tested
do
  test "$at_program" = : && continue
  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

  if test -f "$as_dir/$at_program"; then
    {
      $as_echo "$at_srcdir/testsuite.at:62: $as_dir/$at_program --version"
      "$as_dir/$at_program" --version </dev/null
      echo
    } >&5 2>&1
  else
    { { $as_echo "$as_me:$LINENO: error: cannot find $at_program" >&5
$as_echo "$as_me: error: cannot find $at_program" >&2;}
   { (exit 1); exit 1; }; }
  fi
done

{
  cat <<\_ASBOX
## ------------------ ##
## Running the tests. ##
## ------------------ ##
_ASBOX
} >&5

at_start_date=`date`
at_start_time=`date +%s 2>/dev/null`
$as_echo "$as_me: starting at: $at_start_date" >&5

# Create the master directory if it doesn't already exist.
test -d "$at_suite_dir" ||
  mkdir "$at_suite_dir" ||
  { { $as_echo "$as_me:$LINENO: error: cannot create '$at_suite_dir'" >&5
$as_echo "$as_me: error: cannot create '$at_suite_dir'" >&2;}
   { (exit 1); exit 1; }; }

# 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_echo "$as_me:$LINENO: error: cannot create test line number cache" >&5
$as_echo "$as_me: error: cannot create test line number cache" >&2;}
   { (exit 1); exit 1; }; }
rm -f "$at_suite_dir/at-source-lines"

# 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_echo "$as_me:$LINENO: error: testsuite directory setup failed" >&5
$as_echo "$as_me: error: testsuite directory setup failed" >&2;}
   { (exit 1); exit 1; }; }

# 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_func_group_prepare
# ---------------------
# Prepare running a test group
at_func_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.
  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" ||
    { $as_echo "$as_me:$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;}
  fi
  # Be tolerant if the above `rm' was not able to remove the directory.
  { as_dir="$at_group_dir"
  case $as_dir in #(
  -*) as_dir=./$as_dir;;
  esac
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
    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_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   { (exit 1); exit 1; }; }; }

  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_func_group_postprocess
# -------------------------
at_func_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-mailutils@gnu.org>.
_ATEOF
    $as_echo "$at_setup_line" >"$at_check_line_file"
  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
	;;
    no:0)
	at_msg="ok"
	at_res=pass
	at_errexit=false
	;;
    *:77)
	at_msg='skipped ('`cat "$at_check_line_file"`')'
	at_res=skip
	at_errexit=false
	;;
    yes:*)
	at_msg='expected failure ('`cat "$at_check_line_file"`')'
	at_res=xfail
	at_errexit=false
	;;
    no:*)
	at_msg='FAILED ('`cat "$at_check_line_file"`')'
	at_res=fail
	at_errexit=$at_errexit_p
	;;
  esac
  echo "$at_res" > "$at_job_dir/$at_res"
  # Make sure there is a separator even with long titles.
  $as_echo " $at_msg"
  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.
      if $at_debug_p; then
	at_func_create_debugging_script
      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_func_create_debugging_script
      if $at_errexit; then
	echo stop > "$at_stop_file"
      fi
      ;;
  esac
}


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

rm -f "$at_stop_file"
at_first=:

for at_group in $at_groups; do
  at_func_group_prepare
  if cd "$at_group_dir" &&
     at_func_test $at_group &&
     . "$at_test_source"; then :; else
    { $as_echo "$as_me:$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_func_group_postprocess
  test -f "$at_stop_file" && break
  at_first=false
done

# 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=$#

at_func_arith $at_group_count - $at_skip_count
at_run_count=$at_func_arith_result
at_func_arith $at_xpass_count + $at_fail_count
at_unexpected_count=$at_func_arith_result
at_func_arith $at_xfail_count + $at_fail_count
at_total_fail_count=$at_func_arith_result

# 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]*)
    at_func_arith $at_stop_time - $at_start_time
    at_duration_s=$at_func_arith_result
    at_func_arith $at_duration_s / 60
    at_duration_m=$at_func_arith_result
    at_func_arith $at_duration_m / 60
    at_duration_h=$at_func_arith_result
    at_func_arith $at_duration_s % 60
    at_duration_s=$at_func_arith_result
    at_func_arith $at_duration_m % 60
    at_duration_m=$at_func_arith_result
    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
cat <<\_ASBOX
## ------------- ##
## Test results. ##
## ------------- ##
_ASBOX
echo
{
  echo
  cat <<\_ASBOX
## ------------- ##
## Test results. ##
## ------------- ##
_ASBOX
  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."
else
  # Don't you just love exponential explosion of the number of cases?
  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." ;;
    0:0:*) at_result="$at_result behaved as expected." ;;

    # 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_result"
  echo "$at_result" >&5
else
  echo "ERROR: $at_result" >&2
  echo "ERROR: $at_result" >&5
  {
    echo
    cat <<\_ASBOX
## ------------------------ ##
## Summary of the failures. ##
## ------------------------ ##
_ASBOX

    # 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
      cat <<\_ASBOX
## ---------------------- ##
## Detailed failed tests. ##
## ---------------------- ##
_ASBOX
      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
  $as_echo "Please send \`${at_testdir+${at_testdir}/}$as_me.log' and all information you think might help:

   To: <bug-mailutils@gnu.org>
   Subject: [GNU Mailutils 2.99.94] $as_me: $at_fail_list${at_fail_list:+ failed${at_xpass_list:+, }}$at_xpass_list${at_xpass_list:+ passed unexpectedly}
"
  if test $at_debug_p = false; then
    echo
    echo 'You may investigate any problem if you feel able to do so, in which'
    echo 'case the test suite provides a good starting point.  Its output may'
    $as_echo "be found below \`${at_testdir+${at_testdir}/}$as_me.dir'."
    echo
  fi
    exit 1
fi

exit 0

## ------------- ##
## Actual tests. ##
## ------------- ##
#AT_START_1
# 1. install-mh.at:18: install-mh -auto
at_setup_line='install-mh.at:18'
at_func_banner 1
at_desc="install-mh -auto"
$at_quiet $as_echo_n "  1: $at_desc                               "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "1. install-mh.at:18: testing ..."
  $at_traceon



{ $at_traceoff
$as_echo "$at_srcdir/install-mh.at:21:
mkdir home
dir=\`cd home; pwd\`
HOME=\$dir MH=\$dir/mh_profile install-mh -auto || exit \$?
find home | sort
HOME=\$dir MH=\$dir/mh_profile install-mh -auto 2>errout
echo \$?
cat errout
"
echo install-mh.at:21 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains a `...` command substitution)'
   false; }; then
  ( $at_traceon;
mkdir home
dir=`cd home; pwd`
HOME=$dir MH=$dir/mh_profile install-mh -auto || exit $?
find home | sort
HOME=$dir MH=$dir/mh_profile install-mh -auto 2>errout
echo $?
cat errout
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;
mkdir home
dir=`cd home; pwd`
HOME=$dir MH=$dir/mh_profile install-mh -auto || exit $?
find home | sort
HOME=$dir MH=$dir/mh_profile install-mh -auto 2>errout
echo $?
cat errout
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "I'm going to create the standard MH path for you.
home
home/Mail
home/Mail/context
home/Mail/inbox
home/mh_profile
1
install-mh: You already have an MH profile, use an editor to modify it
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/install-mh.at:21"

$at_failed && at_func_log_failure
$at_traceon; }


  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_1
#AT_START_2
# 2. install-mh.at:44: install-mh with invalid profile
at_setup_line='install-mh.at:44'
at_func_banner 1
at_desc="install-mh with invalid profile"
$at_quiet $as_echo_n "  2: $at_desc                "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "2. install-mh.at:44: testing ..."
  $at_traceon



{ $at_traceoff
$as_echo "$at_srcdir/install-mh.at:47:
mkdir home
dir=\`cd home; pwd\`
mkdir \$dir/mh_profile
HOME=\$dir MH=\$dir/mh_profile install-mh -auto 2>errout
code=\$?
cat errout | sed 's|[^ ][^ ]*/mh_profile|mh_profile|' >&2
exit \$code
"
echo install-mh.at:47 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains a `...` command substitution)'
   false; }; then
  ( $at_traceon;
mkdir home
dir=`cd home; pwd`
mkdir $dir/mh_profile
HOME=$dir MH=$dir/mh_profile install-mh -auto 2>errout
code=$?
cat errout | sed 's|[^ ][^ ]*/mh_profile|mh_profile|' >&2
exit $code
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;
mkdir home
dir=`cd home; pwd`
mkdir $dir/mh_profile
HOME=$dir MH=$dir/mh_profile install-mh -auto 2>errout
code=$?
cat errout | sed 's|[^ ][^ ]*/mh_profile|mh_profile|' >&2
exit $code
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
echo >>"$at_stderr"; $as_echo "install-mh: You already have file mh_profile which is not a regular file or a symbolic link.
install-mh: Please remove it and try again
" | \
  $at_diff - "$at_stderr" || at_failed=:
at_func_diff_devnull "$at_stdout" || at_failed=:
at_func_check_status 1 $at_status "$at_srcdir/install-mh.at:47"

$at_failed && at_func_log_failure
$at_traceon; }


  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_2
#AT_START_3
# 3. mhseq.at:22: mhseq: existing message number
at_setup_line='mhseq.at:22'
at_func_banner 2
at_desc="mhseq: existing message number"
$at_quiet $as_echo_n "  3: $at_desc                 "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "3. mhseq.at:22: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhseq.at:22:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to 700
find Mail/inbox/mbox1 | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhseq 1
"
echo mhseq.at:22 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to 700
find Mail/inbox/mbox1 | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhseq 1
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to 700
find Mail/inbox/mbox1 | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhseq 1
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "1
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mhseq.at:22"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_3
#AT_START_4
# 4. mhseq.at:30: mhseq: not existing message number
at_setup_line='mhseq.at:30'
at_func_banner 2
at_desc="mhseq: not existing message number"
$at_quiet $as_echo_n "  4: $at_desc             "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "4. mhseq.at:30: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhseq.at:30:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to 700
find Mail/inbox/mbox1 | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhseq 100
"
echo mhseq.at:30 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to 700
find Mail/inbox/mbox1 | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhseq 100
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to 700
find Mail/inbox/mbox1 | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhseq 100
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
echo >>"$at_stderr"; $as_echo "mhseq: message 100 does not exist
" | \
  $at_diff - "$at_stderr" || at_failed=:
at_func_diff_devnull "$at_stdout" || at_failed=:
at_func_check_status 1 $at_status "$at_srcdir/mhseq.at:30"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_4
#AT_START_5
# 5. mhseq.at:40: mhseq: contiguous message range
at_setup_line='mhseq.at:40'
at_func_banner 2
at_desc="mhseq: contiguous message range"
$at_quiet $as_echo_n "  5: $at_desc                "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "5. mhseq.at:40: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhseq.at:40:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to 700
find Mail/inbox/mbox1 | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhseq 2-5
"
echo mhseq.at:40 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to 700
find Mail/inbox/mbox1 | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhseq 2-5
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to 700
find Mail/inbox/mbox1 | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhseq 2-5
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "2
3
4
5
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mhseq.at:40"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_5
#AT_START_6
# 6. mhseq.at:51: mhseq: reversed contiguous message range
at_setup_line='mhseq.at:51'
at_func_banner 2
at_desc="mhseq: reversed contiguous message range"
$at_quiet $as_echo_n "  6: $at_desc       "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "6. mhseq.at:51: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhseq.at:51:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to 700
find Mail/inbox/mbox1 | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhseq 5-2
"
echo mhseq.at:51 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to 700
find Mail/inbox/mbox1 | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhseq 5-2
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to 700
find Mail/inbox/mbox1 | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhseq 5-2
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "2
3
4
5
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mhseq.at:51"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_6
#AT_START_7
# 7. mhseq.at:62: mhseq: reversed non-contiguous message range
at_setup_line='mhseq.at:62'
at_func_banner 2
at_desc="mhseq: reversed non-contiguous message range"
$at_quiet $as_echo_n "  7: $at_desc   "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "7. mhseq.at:62: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhseq.at:62:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



rm Mail/inbox/3 Mail/inbox/4

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

mhseq 5-2
"
echo mhseq.at:62 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



rm Mail/inbox/3 Mail/inbox/4

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

mhseq 5-2
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



rm Mail/inbox/3 Mail/inbox/4

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

mhseq 5-2
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "2
5
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mhseq.at:62"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_7
#AT_START_8
# 8. mhseq.at:73: mhseq: message range (left fixup)
at_setup_line='mhseq.at:73'
at_func_banner 2
at_desc="mhseq: message range (left fixup)"
$at_quiet $as_echo_n "  8: $at_desc              "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "8. mhseq.at:73: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhseq.at:73:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



rm Mail/inbox/1 Mail/inbox/2

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

mhseq 1-5
"
echo mhseq.at:73 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



rm Mail/inbox/1 Mail/inbox/2

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

mhseq 1-5
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



rm Mail/inbox/1 Mail/inbox/2

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

mhseq 1-5
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "3
4
5
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mhseq.at:73"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_8
#AT_START_9
# 9. mhseq.at:85: mhseq: message range (right fixup)
at_setup_line='mhseq.at:85'
at_func_banner 2
at_desc="mhseq: message range (right fixup)"
$at_quiet $as_echo_n "  9: $at_desc             "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "9. mhseq.at:85: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhseq.at:85:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



rm Mail/inbox/4 Mail/inbox/5

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

mhseq 1-5
"
echo mhseq.at:85 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



rm Mail/inbox/4 Mail/inbox/5

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

mhseq 1-5
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



rm Mail/inbox/4 Mail/inbox/5

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

mhseq 1-5
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "1
2
3
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mhseq.at:85"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_9
#AT_START_10
# 10. mhseq.at:97: mhseq: message range (both fixups)
at_setup_line='mhseq.at:97'
at_func_banner 2
at_desc="mhseq: message range (both fixups)"
$at_quiet $as_echo_n " 10: $at_desc             "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "10. mhseq.at:97: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhseq.at:97:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



rm Mail/inbox/1 Mail/inbox/5

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

mhseq 1-5
"
echo mhseq.at:97 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



rm Mail/inbox/1 Mail/inbox/5

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

mhseq 1-5
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



rm Mail/inbox/1 Mail/inbox/5

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

mhseq 1-5
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "2
3
4
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mhseq.at:97"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_10
#AT_START_11
# 11. mhseq.at:109: mhseq: non-existent message range (left)
at_setup_line='mhseq.at:109'
at_func_banner 2
at_desc="mhseq: non-existent message range (left)"
$at_quiet $as_echo_n " 11: $at_desc       "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "11. mhseq.at:109: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhseq.at:109:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



rm Mail/inbox/1 Mail/inbox/2 Mail/inbox/3

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

mhseq 1-2
"
echo mhseq.at:109 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



rm Mail/inbox/1 Mail/inbox/2 Mail/inbox/3

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

mhseq 1-2
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



rm Mail/inbox/1 Mail/inbox/2 Mail/inbox/3

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

mhseq 1-2
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
echo >>"$at_stderr"; $as_echo "mhseq: no messages in range 1-2
" | \
  $at_diff - "$at_stderr" || at_failed=:
at_func_diff_devnull "$at_stdout" || at_failed=:
at_func_check_status 1 $at_status "$at_srcdir/mhseq.at:109"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_11
#AT_START_12
# 12. mhseq.at:120: mhseq: non-existent message range (right)
at_setup_line='mhseq.at:120'
at_func_banner 2
at_desc="mhseq: non-existent message range (right)"
$at_quiet $as_echo_n " 12: $at_desc      "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "12. mhseq.at:120: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhseq.at:120:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to 700
find Mail/inbox/mbox1 | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhseq 6-10
"
echo mhseq.at:120 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to 700
find Mail/inbox/mbox1 | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhseq 6-10
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to 700
find Mail/inbox/mbox1 | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhseq 6-10
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
echo >>"$at_stderr"; $as_echo "mhseq: no messages in range 6-10
" | \
  $at_diff - "$at_stderr" || at_failed=:
at_func_diff_devnull "$at_stdout" || at_failed=:
at_func_check_status 1 $at_status "$at_srcdir/mhseq.at:120"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_12
#AT_START_13
# 13. mhseq.at:129: mhseq: message set addition
at_setup_line='mhseq.at:129'
at_func_banner 2
at_desc="mhseq: message set addition"
$at_quiet $as_echo_n " 13: $at_desc                    "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "13. mhseq.at:129: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhseq.at:129:




cp -r \$abs_top_srcdir/testsuite/mh/teaparty Mail/inbox
if test -e Mail/inbox/teaparty; then

# First, set all modes to 700
find Mail/inbox/teaparty | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/teaparty -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhseq 5 8-10 15-20
"
echo mhseq.at:129 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/teaparty Mail/inbox
if test -e Mail/inbox/teaparty; then

# First, set all modes to 700
find Mail/inbox/teaparty | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/teaparty -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhseq 5 8-10 15-20
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/teaparty Mail/inbox
if test -e Mail/inbox/teaparty; then

# First, set all modes to 700
find Mail/inbox/teaparty | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/teaparty -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhseq 5 8-10 15-20
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "5
8
9
10
15
16
17
18
19
20
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mhseq.at:129"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_13
#AT_START_14
# 14. mhseq.at:146: mhseq: message set optimization
at_setup_line='mhseq.at:146'
at_func_banner 2
at_desc="mhseq: message set optimization"
$at_quiet $as_echo_n " 14: $at_desc                "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "14. mhseq.at:146: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhseq.at:146:




cp -r \$abs_top_srcdir/testsuite/mh/teaparty Mail/inbox
if test -e Mail/inbox/teaparty; then

# First, set all modes to +w
find Mail/inbox/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



rm Mail/inbox/17 Mail/inbox/19

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

mhseq 5 1-10 15-20
"
echo mhseq.at:146 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/teaparty Mail/inbox
if test -e Mail/inbox/teaparty; then

# First, set all modes to +w
find Mail/inbox/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



rm Mail/inbox/17 Mail/inbox/19

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

mhseq 5 1-10 15-20
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/teaparty Mail/inbox
if test -e Mail/inbox/teaparty; then

# First, set all modes to +w
find Mail/inbox/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



rm Mail/inbox/17 Mail/inbox/19

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

mhseq 5 1-10 15-20
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "1
2
3
4
5
6
7
8
9
10
15
16
18
20
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mhseq.at:146"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_14
#AT_START_15
# 15. mhseq.at:169: mhseq: counted range (positive)
at_setup_line='mhseq.at:169'
at_func_banner 2
at_desc="mhseq: counted range (positive)"
$at_quiet $as_echo_n " 15: $at_desc                "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "15. mhseq.at:169: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhseq.at:169:




cp -r \$abs_top_srcdir/testsuite/mh/teaparty Mail/inbox
if test -e Mail/inbox/teaparty; then

# First, set all modes to 700
find Mail/inbox/teaparty | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/teaparty -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhseq 10:4
"
echo mhseq.at:169 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/teaparty Mail/inbox
if test -e Mail/inbox/teaparty; then

# First, set all modes to 700
find Mail/inbox/teaparty | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/teaparty -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhseq 10:4
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/teaparty Mail/inbox
if test -e Mail/inbox/teaparty; then

# First, set all modes to 700
find Mail/inbox/teaparty | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/teaparty -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhseq 10:4
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "10
11
12
13
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mhseq.at:169"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_15
#AT_START_16
# 16. mhseq.at:180: mhseq: non-contiguous counted range (positive)
at_setup_line='mhseq.at:180'
at_func_banner 2
at_desc="mhseq: non-contiguous counted range (positive)"
$at_quiet $as_echo_n " 16: $at_desc "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "16. mhseq.at:180: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhseq.at:180:




cp -r \$abs_top_srcdir/testsuite/mh/teaparty Mail/inbox
if test -e Mail/inbox/teaparty; then

# First, set all modes to +w
find Mail/inbox/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



rm Mail/inbox/12 Mail/inbox/14

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

mhseq 10:4
"
echo mhseq.at:180 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/teaparty Mail/inbox
if test -e Mail/inbox/teaparty; then

# First, set all modes to +w
find Mail/inbox/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



rm Mail/inbox/12 Mail/inbox/14

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

mhseq 10:4
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/teaparty Mail/inbox
if test -e Mail/inbox/teaparty; then

# First, set all modes to +w
find Mail/inbox/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



rm Mail/inbox/12 Mail/inbox/14

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

mhseq 10:4
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "10
11
13
15
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mhseq.at:180"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_16
#AT_START_17
# 17. mhseq.at:193: mhseq: counted range (positive, left fixup)
at_setup_line='mhseq.at:193'
at_func_banner 2
at_desc="mhseq: counted range (positive, left fixup)"
$at_quiet $as_echo_n " 17: $at_desc    "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "17. mhseq.at:193: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhseq.at:193:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



rm Mail/inbox/1 Mail/inbox/2

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

mhseq 1:3
"
echo mhseq.at:193 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



rm Mail/inbox/1 Mail/inbox/2

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

mhseq 1:3
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



rm Mail/inbox/1 Mail/inbox/2

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

mhseq 1:3
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "3
4
5
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mhseq.at:193"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_17
#AT_START_18
# 18. mhseq.at:205: mhseq: counted range (positive, right fixup)
at_setup_line='mhseq.at:205'
at_func_banner 2
at_desc="mhseq: counted range (positive, right fixup)"
$at_quiet $as_echo_n " 18: $at_desc   "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "18. mhseq.at:205: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhseq.at:205:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to 700
find Mail/inbox/mbox1 | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhseq 2:10
"
echo mhseq.at:205 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to 700
find Mail/inbox/mbox1 | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhseq 2:10
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to 700
find Mail/inbox/mbox1 | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhseq 2:10
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "2
3
4
5
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mhseq.at:205"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_18
#AT_START_19
# 19. mhseq.at:216: mhseq: invalid counted range (negative)
at_setup_line='mhseq.at:216'
at_func_banner 2
at_desc="mhseq: invalid counted range (negative)"
$at_quiet $as_echo_n " 19: $at_desc        "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "19. mhseq.at:216: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhseq.at:216:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



rm Mail/inbox/1 Mail/inbox/2

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

mhseq 10:2
"
echo mhseq.at:216 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



rm Mail/inbox/1 Mail/inbox/2

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

mhseq 10:2
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



rm Mail/inbox/1 Mail/inbox/2

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

mhseq 10:2
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
echo >>"$at_stderr"; $as_echo "mhseq: no messages in range 10:2
" | \
  $at_diff - "$at_stderr" || at_failed=:
at_func_diff_devnull "$at_stdout" || at_failed=:
at_func_check_status 1 $at_status "$at_srcdir/mhseq.at:216"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_19
#AT_START_20
# 20. mhseq.at:227: mhseq: counted range (negative)
at_setup_line='mhseq.at:227'
at_func_banner 2
at_desc="mhseq: counted range (negative)"
$at_quiet $as_echo_n " 20: $at_desc                "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "20. mhseq.at:227: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhseq.at:227:




cp -r \$abs_top_srcdir/testsuite/mh/teaparty Mail/inbox
if test -e Mail/inbox/teaparty; then

# First, set all modes to 700
find Mail/inbox/teaparty | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/teaparty -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhseq 10:-4
"
echo mhseq.at:227 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/teaparty Mail/inbox
if test -e Mail/inbox/teaparty; then

# First, set all modes to 700
find Mail/inbox/teaparty | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/teaparty -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhseq 10:-4
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/teaparty Mail/inbox
if test -e Mail/inbox/teaparty; then

# First, set all modes to 700
find Mail/inbox/teaparty | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/teaparty -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhseq 10:-4
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "7
8
9
10
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mhseq.at:227"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_20
#AT_START_21
# 21. mhseq.at:238: mhseq: non-contiguous counted range (negative)
at_setup_line='mhseq.at:238'
at_func_banner 2
at_desc="mhseq: non-contiguous counted range (negative)"
$at_quiet $as_echo_n " 21: $at_desc "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "21. mhseq.at:238: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhseq.at:238:




cp -r \$abs_top_srcdir/testsuite/mh/teaparty Mail/inbox
if test -e Mail/inbox/teaparty; then

# First, set all modes to +w
find Mail/inbox/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



rm Mail/inbox/8 Mail/inbox/6

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

mhseq 10:-4
"
echo mhseq.at:238 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/teaparty Mail/inbox
if test -e Mail/inbox/teaparty; then

# First, set all modes to +w
find Mail/inbox/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



rm Mail/inbox/8 Mail/inbox/6

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

mhseq 10:-4
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/teaparty Mail/inbox
if test -e Mail/inbox/teaparty; then

# First, set all modes to +w
find Mail/inbox/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



rm Mail/inbox/8 Mail/inbox/6

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

mhseq 10:-4
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "5
7
9
10
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mhseq.at:238"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_21
#AT_START_22
# 22. mhseq.at:251: mhseq: counted range (negative, left fixup)
at_setup_line='mhseq.at:251'
at_func_banner 2
at_desc="mhseq: counted range (negative, left fixup)"
$at_quiet $as_echo_n " 22: $at_desc    "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "22. mhseq.at:251: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhseq.at:251:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



rm Mail/inbox/1 Mail/inbox/2

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

mhseq 4:-30
"
echo mhseq.at:251 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



rm Mail/inbox/1 Mail/inbox/2

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

mhseq 4:-30
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



rm Mail/inbox/1 Mail/inbox/2

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

mhseq 4:-30
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "3
4
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mhseq.at:251"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_22
#AT_START_23
# 23. mhseq.at:262: mhseq: counted range (negative, right fixup)
at_setup_line='mhseq.at:262'
at_func_banner 2
at_desc="mhseq: counted range (negative, right fixup)"
$at_quiet $as_echo_n " 23: $at_desc   "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "23. mhseq.at:262: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhseq.at:262:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



rm Mail/inbox/1 Mail/inbox/2

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

mhseq 4:30
"
echo mhseq.at:262 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



rm Mail/inbox/1 Mail/inbox/2

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

mhseq 4:30
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



rm Mail/inbox/1 Mail/inbox/2

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

mhseq 4:30
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "4
5
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mhseq.at:262"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_23
#AT_START_24
# 24. mhseq.at:273: mhseq: invalid counted range (negative)
at_setup_line='mhseq.at:273'
at_func_banner 2
at_desc="mhseq: invalid counted range (negative)"
$at_quiet $as_echo_n " 24: $at_desc        "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "24. mhseq.at:273: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhseq.at:273:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



rm Mail/inbox/1 Mail/inbox/2

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

mhseq 1:-30
"
echo mhseq.at:273 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



rm Mail/inbox/1 Mail/inbox/2

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

mhseq 1:-30
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



rm Mail/inbox/1 Mail/inbox/2

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

mhseq 1:-30
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
echo >>"$at_stderr"; $as_echo "mhseq: no messages in range 1:-30
" | \
  $at_diff - "$at_stderr" || at_failed=:
at_func_diff_devnull "$at_stdout" || at_failed=:
at_func_check_status 1 $at_status "$at_srcdir/mhseq.at:273"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_24
#AT_START_25
# 25. mhseq.at:284: mhseq: cur
at_setup_line='mhseq.at:284'
at_func_banner 2
at_desc="mhseq: cur"
$at_quiet $as_echo_n " 25: $at_desc                                     "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "25. mhseq.at:284: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhseq.at:284:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo \"cur: 3\" > Mail/inbox/.mh_sequences

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

mhseq cur
"
echo mhseq.at:284 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo "cur: 3" > Mail/inbox/.mh_sequences

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

mhseq cur
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo "cur: 3" > Mail/inbox/.mh_sequences

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

mhseq cur
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "3
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mhseq.at:284"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_25
#AT_START_26
# 26. mhseq.at:294: mhseq: cur:n -- default direction
at_setup_line='mhseq.at:294'
at_func_banner 2
at_desc="mhseq: cur:n -- default direction"
$at_quiet $as_echo_n " 26: $at_desc              "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "26. mhseq.at:294: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhseq.at:294:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo \"cur: 3\" > Mail/inbox/.mh_sequences

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

mhseq cur:2
"
echo mhseq.at:294 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo "cur: 3" > Mail/inbox/.mh_sequences

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

mhseq cur:2
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo "cur: 3" > Mail/inbox/.mh_sequences

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

mhseq cur:2
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "3
4
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mhseq.at:294"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_26
#AT_START_27
# 27. mhseq.at:305: mhseq: cur:n -- explicit dir (negative)
at_setup_line='mhseq.at:305'
at_func_banner 2
at_desc="mhseq: cur:n -- explicit dir (negative)"
$at_quiet $as_echo_n " 27: $at_desc        "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "27. mhseq.at:305: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhseq.at:305:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo \"cur: 3\" > Mail/inbox/.mh_sequences

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

mhseq cur:-2
"
echo mhseq.at:305 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo "cur: 3" > Mail/inbox/.mh_sequences

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

mhseq cur:-2
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo "cur: 3" > Mail/inbox/.mh_sequences

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

mhseq cur:-2
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "2
3
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mhseq.at:305"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_27
#AT_START_28
# 28. mhseq.at:316: mhseq: cur:n -- explicit dir (positive)
at_setup_line='mhseq.at:316'
at_func_banner 2
at_desc="mhseq: cur:n -- explicit dir (positive)"
$at_quiet $as_echo_n " 28: $at_desc        "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "28. mhseq.at:316: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhseq.at:316:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo \"cur: 3\" > Mail/inbox/.mh_sequences

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

mhseq cur:+2
"
echo mhseq.at:316 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo "cur: 3" > Mail/inbox/.mh_sequences

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

mhseq cur:+2
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo "cur: 3" > Mail/inbox/.mh_sequences

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

mhseq cur:+2
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "3
4
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mhseq.at:316"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_28
#AT_START_29
# 29. mhseq.at:327: mhseq: next
at_setup_line='mhseq.at:327'
at_func_banner 2
at_desc="mhseq: next"
$at_quiet $as_echo_n " 29: $at_desc                                    "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "29. mhseq.at:327: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhseq.at:327:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo \"cur: 3\" > Mail/inbox/.mh_sequences
rm Mail/inbox/4

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

mhseq next
"
echo mhseq.at:327 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo "cur: 3" > Mail/inbox/.mh_sequences
rm Mail/inbox/4

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

mhseq next
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo "cur: 3" > Mail/inbox/.mh_sequences
rm Mail/inbox/4

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

mhseq next
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "5
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mhseq.at:327"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_29
#AT_START_30
# 30. mhseq.at:338: mhseq: next:n -- default direction
at_setup_line='mhseq.at:338'
at_func_banner 2
at_desc="mhseq: next:n -- default direction"
$at_quiet $as_echo_n " 30: $at_desc             "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "30. mhseq.at:338: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhseq.at:338:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo \"cur: 3\" > Mail/inbox/.mh_sequences

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

mhseq next:2
"
echo mhseq.at:338 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo "cur: 3" > Mail/inbox/.mh_sequences

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

mhseq next:2
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo "cur: 3" > Mail/inbox/.mh_sequences

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

mhseq next:2
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "4
5
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mhseq.at:338"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_30
#AT_START_31
# 31. mhseq.at:349: mhseq: prev
at_setup_line='mhseq.at:349'
at_func_banner 2
at_desc="mhseq: prev"
$at_quiet $as_echo_n " 31: $at_desc                                    "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "31. mhseq.at:349: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhseq.at:349:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo \"cur: 3\" > Mail/inbox/.mh_sequences
rm Mail/inbox/2

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

mhseq prev
"
echo mhseq.at:349 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo "cur: 3" > Mail/inbox/.mh_sequences
rm Mail/inbox/2

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

mhseq prev
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo "cur: 3" > Mail/inbox/.mh_sequences
rm Mail/inbox/2

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

mhseq prev
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "1
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mhseq.at:349"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_31
#AT_START_32
# 32. mhseq.at:360: mhseq: prev:n -- default direction
at_setup_line='mhseq.at:360'
at_func_banner 2
at_desc="mhseq: prev:n -- default direction"
$at_quiet $as_echo_n " 32: $at_desc             "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "32. mhseq.at:360: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhseq.at:360:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo \"cur: 3\" > Mail/inbox/.mh_sequences

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

mhseq prev:2
"
echo mhseq.at:360 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo "cur: 3" > Mail/inbox/.mh_sequences

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

mhseq prev:2
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo "cur: 3" > Mail/inbox/.mh_sequences

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

mhseq prev:2
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "1
2
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mhseq.at:360"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_32
#AT_START_33
# 33. mhseq.at:371: mhseq: first
at_setup_line='mhseq.at:371'
at_func_banner 2
at_desc="mhseq: first"
$at_quiet $as_echo_n " 33: $at_desc                                   "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "33. mhseq.at:371: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhseq.at:371:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



rm Mail/inbox/1

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

mhseq first
"
echo mhseq.at:371 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



rm Mail/inbox/1

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

mhseq first
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



rm Mail/inbox/1

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

mhseq first
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "2
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mhseq.at:371"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_33
#AT_START_34
# 34. mhseq.at:381: mhseq: first:n -- default direction
at_setup_line='mhseq.at:381'
at_func_banner 2
at_desc="mhseq: first:n -- default direction"
$at_quiet $as_echo_n " 34: $at_desc            "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "34. mhseq.at:381: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhseq.at:381:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



rm Mail/inbox/1

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

mhseq first:2
"
echo mhseq.at:381 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



rm Mail/inbox/1

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

mhseq first:2
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



rm Mail/inbox/1

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

mhseq first:2
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "2
3
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mhseq.at:381"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_34
#AT_START_35
# 35. mhseq.at:392: mhseq: last
at_setup_line='mhseq.at:392'
at_func_banner 2
at_desc="mhseq: last"
$at_quiet $as_echo_n " 35: $at_desc                                    "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "35. mhseq.at:392: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhseq.at:392:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to 700
find Mail/inbox/mbox1 | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhseq last
"
echo mhseq.at:392 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to 700
find Mail/inbox/mbox1 | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhseq last
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to 700
find Mail/inbox/mbox1 | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhseq last
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "5
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mhseq.at:392"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_35
#AT_START_36
# 36. mhseq.at:400: mhseq: last:n -- default direction
at_setup_line='mhseq.at:400'
at_func_banner 2
at_desc="mhseq: last:n -- default direction"
$at_quiet $as_echo_n " 36: $at_desc             "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "36. mhseq.at:400: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhseq.at:400:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to 700
find Mail/inbox/mbox1 | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhseq last:2
"
echo mhseq.at:400 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to 700
find Mail/inbox/mbox1 | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhseq last:2
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to 700
find Mail/inbox/mbox1 | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhseq last:2
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "4
5
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mhseq.at:400"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_36
#AT_START_37
# 37. ali.at:20: ali: simple aliases
at_setup_line='ali.at:20'
at_func_banner 3
at_desc="ali: simple aliases"
$at_quiet $as_echo_n " 37: $at_desc                            "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "37. ali.at:20: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/ali.at:20:
cat >mh_aliases <<'_ATEOF'

devel: gray, polak
admin: gray, jeff
_ATEOF

ali -a ./mh_aliases devel
"
echo ali.at:20 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;
cat >mh_aliases <<'_ATEOF'

devel: gray, polak
admin: gray, jeff
_ATEOF

ali -a ./mh_aliases devel
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;
cat >mh_aliases <<'_ATEOF'

devel: gray, polak
admin: gray, jeff
_ATEOF

ali -a ./mh_aliases devel
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "gray, polak
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/ali.at:20"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_37
#AT_START_38
# 38. ali.at:31: ali: recursive aliases
at_setup_line='ali.at:31'
at_func_banner 3
at_desc="ali: recursive aliases"
$at_quiet $as_echo_n " 38: $at_desc                         "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "38. ali.at:31: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/ali.at:31:
cat >mh_aliases <<'_ATEOF'

devel: gray, polak, admin
admin: gray, jeff
_ATEOF

ali -a ./mh_aliases devel
"
echo ali.at:31 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;
cat >mh_aliases <<'_ATEOF'

devel: gray, polak, admin
admin: gray, jeff
_ATEOF

ali -a ./mh_aliases devel
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;
cat >mh_aliases <<'_ATEOF'

devel: gray, polak, admin
admin: gray, jeff
_ATEOF

ali -a ./mh_aliases devel
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "gray, polak, gray, jeff
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/ali.at:31"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_38
#AT_START_39
# 39. ali.at:42: ali: file inlcusion
at_setup_line='ali.at:42'
at_func_banner 3
at_desc="ali: file inlcusion"
$at_quiet $as_echo_n " 39: $at_desc                            "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "39. ali.at:42: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/ali.at:42:
cat >Mail/mh_aliases2 <<'_ATEOF'

admin: gray, jeff
_ATEOF

cat >mh_aliases <<'_ATEOF'

devel: gray, polak, admin
<mh_aliases2
_ATEOF

ali -a ./mh_aliases devel
"
echo ali.at:42 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;
cat >Mail/mh_aliases2 <<'_ATEOF'

admin: gray, jeff
_ATEOF

cat >mh_aliases <<'_ATEOF'

devel: gray, polak, admin
<mh_aliases2
_ATEOF

ali -a ./mh_aliases devel
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;
cat >Mail/mh_aliases2 <<'_ATEOF'

admin: gray, jeff
_ATEOF

cat >mh_aliases <<'_ATEOF'

devel: gray, polak, admin
<mh_aliases2
_ATEOF

ali -a ./mh_aliases devel
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "gray, polak, gray, jeff
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/ali.at:42"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_39
#AT_START_40
# 40. ali.at:56: ali: recursive inlcusion
at_setup_line='ali.at:56'
at_func_banner 3
at_desc="ali: recursive inlcusion"
$at_quiet $as_echo_n " 40: $at_desc                       "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "40. ali.at:56: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/ali.at:56:
cat >Mail/mh_aliases2 <<'_ATEOF'

<mh_aliases
_ATEOF

cat >Mail/mh_aliases <<'_ATEOF'

devel: gray, polak, admin
<mh_aliases2
_ATEOF

ali -a ./Mail/mh_aliases devel 2>errout
code=\$?
dir=\`cd Mail;pwd\`
sed \"s|\$dir/||g\" errout >&2
exit \$code
"
echo ali.at:56 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains a `...` command substitution)'
   false; }; then
  ( $at_traceon;
cat >Mail/mh_aliases2 <<'_ATEOF'

<mh_aliases
_ATEOF

cat >Mail/mh_aliases <<'_ATEOF'

devel: gray, polak, admin
<mh_aliases2
_ATEOF

ali -a ./Mail/mh_aliases devel 2>errout
code=$?
dir=`cd Mail;pwd`
sed "s|$dir/||g" errout >&2
exit $code
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;
cat >Mail/mh_aliases2 <<'_ATEOF'

<mh_aliases
_ATEOF

cat >Mail/mh_aliases <<'_ATEOF'

devel: gray, polak, admin
<mh_aliases2
_ATEOF

ali -a ./Mail/mh_aliases devel 2>errout
code=$?
dir=`cd Mail;pwd`
sed "s|$dir/||g" errout >&2
exit $code
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
echo >>"$at_stderr"; $as_echo "ali: mh_aliases2:2: recursive inclusion
ali: mh_aliases2:2: \`mh_aliases' already included at top level
" | \
  $at_diff - "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "gray, polak, admin
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/ali.at:56"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_40
#AT_START_41
# 41. ali.at:77: ali: group name
at_setup_line='ali.at:77'
at_func_banner 3
at_desc="ali: group name"
$at_quiet $as_echo_n " 41: $at_desc                                "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "41. ali.at:77: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/ali.at:77:
cat /etc/group | awk -F : '/^#/ { next } \$4!=\"\" { print \$1; print \$4; exit 0 }' > tmpout
test -s tmpout || exit 77
sed -n '1s/.*/korzen: =&/p' tmpout > mh_aliases
sed '1d' tmpout | tr -d ' ' > expout
ali -a ./mh_aliases korzen | tr -d ' '
"
echo ali.at:77 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;
cat /etc/group | awk -F : '/^#/ { next } $4!="" { print $1; print $4; exit 0 }' > tmpout
test -s tmpout || exit 77
sed -n '1s/.*/korzen: =&/p' tmpout > mh_aliases
sed '1d' tmpout | tr -d ' ' > expout
ali -a ./mh_aliases korzen | tr -d ' '
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;
cat /etc/group | awk -F : '/^#/ { next } $4!="" { print $1; print $4; exit 0 }' > tmpout
test -s tmpout || exit 77
sed -n '1s/.*/korzen: =&/p' tmpout > mh_aliases
sed '1d' tmpout | tr -d ' ' > expout
ali -a ./mh_aliases korzen | tr -d ' '
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/ali.at:77"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_41
#AT_START_42
# 42. ali.at:87: ali: group id
at_setup_line='ali.at:87'
at_func_banner 3
at_desc="ali: group id"
$at_quiet $as_echo_n " 42: $at_desc                                  "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "42. ali.at:87: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/ali.at:87:
cat /etc/passwd | awk -F : '/^#/ { next } \$4==0 { print \$1 }' > expout
test -s expout || exit 77
name=\`awk -F : '/^#/ { next } \$3==0 { print \$1 }' /etc/group < /dev/null\`
test -z \"\$name\" && exit 77

echo \"korzen: +\$name\" > mh_aliases
# FIXME: Do I need to sort the output?
ali -list -a ./mh_aliases korzen
"
echo ali.at:87 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains a `...` command substitution)'
   false; }; then
  ( $at_traceon;
cat /etc/passwd | awk -F : '/^#/ { next } $4==0 { print $1 }' > expout
test -s expout || exit 77
name=`awk -F : '/^#/ { next } $3==0 { print $1 }' /etc/group < /dev/null`
test -z "$name" && exit 77

echo "korzen: +$name" > mh_aliases
# FIXME: Do I need to sort the output?
ali -list -a ./mh_aliases korzen
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;
cat /etc/passwd | awk -F : '/^#/ { next } $4==0 { print $1 }' > expout
test -s expout || exit 77
name=`awk -F : '/^#/ { next } $3==0 { print $1 }' /etc/group < /dev/null`
test -z "$name" && exit 77

echo "korzen: +$name" > mh_aliases
# FIXME: Do I need to sort the output?
ali -list -a ./mh_aliases korzen
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/ali.at:87"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_42
#AT_START_43
# 43. ali.at:100: ali: everybody
at_setup_line='ali.at:100'
at_func_banner 3
at_desc="ali: everybody"
$at_quiet $as_echo_n " 43: $at_desc                                 "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "43. ali.at:100: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/ali.at:100:
cat /etc/passwd | awk -F : '/^#/ { next } \$3>200 { print \$1 }' > expout
test -s expout || exit 77
cat >mh_aliases <<'_ATEOF'

everybody: *
_ATEOF

ali -list -a ./mh_aliases everybody
"
echo ali.at:100 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;
cat /etc/passwd | awk -F : '/^#/ { next } $3>200 { print $1 }' > expout
test -s expout || exit 77
cat >mh_aliases <<'_ATEOF'

everybody: *
_ATEOF

ali -list -a ./mh_aliases everybody
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;
cat /etc/passwd | awk -F : '/^#/ { next } $3>200 { print $1 }' > expout
test -s expout || exit 77
cat >mh_aliases <<'_ATEOF'

everybody: *
_ATEOF

ali -list -a ./mh_aliases everybody
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
$at_diff expout "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/ali.at:100"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_43
#AT_START_44
# 44. ali.at:111: ali: simple aliases
at_setup_line='ali.at:111'
at_func_banner 3
at_desc="ali: simple aliases"
$at_quiet $as_echo_n " 44: $at_desc                            "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "44. ali.at:111: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/ali.at:111:
cat >mh_aliases <<'_ATEOF'

devel: gray, polak
admin: gray, jeff
_ATEOF

ali -a ./mh_aliases devel
"
echo ali.at:111 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;
cat >mh_aliases <<'_ATEOF'

devel: gray, polak
admin: gray, jeff
_ATEOF

ali -a ./mh_aliases devel
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;
cat >mh_aliases <<'_ATEOF'

devel: gray, polak
admin: gray, jeff
_ATEOF

ali -a ./mh_aliases devel
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "gray, polak
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/ali.at:111"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_44
#AT_START_45
# 45. folder.at:20: folder
at_setup_line='folder.at:20'
at_func_banner 4
at_desc="folder"
$at_quiet $as_echo_n " 45: $at_desc                                         "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "45. folder.at:20: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/folder.at:20:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi







cp -r \$abs_top_srcdir/testsuite/mh/teaparty Mail
if test -e Mail/teaparty; then

# First, set all modes to +w
find Mail/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail | xargs chmod +w
# Then, remove executable bit from regular files
find Mail -type f | xargs chmod -x

fi



echo 'Current-Folder: inbox' > Mail/context
folder
"
echo folder.at:20 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi







cp -r $abs_top_srcdir/testsuite/mh/teaparty Mail
if test -e Mail/teaparty; then

# First, set all modes to +w
find Mail/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail | xargs chmod +w
# Then, remove executable bit from regular files
find Mail -type f | xargs chmod -x

fi



echo 'Current-Folder: inbox' > Mail/context
folder
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi







cp -r $abs_top_srcdir/testsuite/mh/teaparty Mail
if test -e Mail/teaparty; then

# First, set all modes to +w
find Mail/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail | xargs chmod +w
# Then, remove executable bit from regular files
find Mail -type f | xargs chmod -x

fi



echo 'Current-Folder: inbox' > Mail/context
folder
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "                 inbox+ has    5 messages (   1-   5).
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/folder.at:20"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_45
#AT_START_46
# 46. folder.at:30: folder -all
at_setup_line='folder.at:30'
at_func_banner 4
at_desc="folder -all"
$at_quiet $as_echo_n " 46: $at_desc                                    "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "46. folder.at:30: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/folder.at:30:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi







cp -r \$abs_top_srcdir/testsuite/mh/teaparty Mail
if test -e Mail/teaparty; then

# First, set all modes to +w
find Mail/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail | xargs chmod +w
# Then, remove executable bit from regular files
find Mail -type f | xargs chmod -x

fi



echo 'Current-Folder: inbox' > Mail/context
folder -all
"
echo folder.at:30 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi







cp -r $abs_top_srcdir/testsuite/mh/teaparty Mail
if test -e Mail/teaparty; then

# First, set all modes to +w
find Mail/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail | xargs chmod +w
# Then, remove executable bit from regular files
find Mail -type f | xargs chmod -x

fi



echo 'Current-Folder: inbox' > Mail/context
folder -all
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi







cp -r $abs_top_srcdir/testsuite/mh/teaparty Mail
if test -e Mail/teaparty; then

# First, set all modes to +w
find Mail/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail | xargs chmod +w
# Then, remove executable bit from regular files
find Mail -type f | xargs chmod -x

fi



echo 'Current-Folder: inbox' > Mail/context
folder -all
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Folder                  # of messages     (  range  )  cur msg   (other files)
                 inbox+ has    5 messages (   1-   5).
              teaparty  has   95 messages (   1-  95).

                   TOTAL= 100 messages in    2 folders
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/folder.at:30"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_46
#AT_START_47
# 47. folder.at:45: folder -all -fast
at_setup_line='folder.at:45'
at_func_banner 4
at_desc="folder -all -fast"
$at_quiet $as_echo_n " 47: $at_desc                              "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "47. folder.at:45: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/folder.at:45:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi







cp -r \$abs_top_srcdir/testsuite/mh/teaparty Mail
if test -e Mail/teaparty; then

# First, set all modes to +w
find Mail/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail | xargs chmod +w
# Then, remove executable bit from regular files
find Mail -type f | xargs chmod -x

fi



echo 'Current-Folder: inbox' > Mail/context
folder -all -fast
"
echo folder.at:45 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi







cp -r $abs_top_srcdir/testsuite/mh/teaparty Mail
if test -e Mail/teaparty; then

# First, set all modes to +w
find Mail/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail | xargs chmod +w
# Then, remove executable bit from regular files
find Mail -type f | xargs chmod -x

fi



echo 'Current-Folder: inbox' > Mail/context
folder -all -fast
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi







cp -r $abs_top_srcdir/testsuite/mh/teaparty Mail
if test -e Mail/teaparty; then

# First, set all modes to +w
find Mail/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail | xargs chmod +w
# Then, remove executable bit from regular files
find Mail -type f | xargs chmod -x

fi



echo 'Current-Folder: inbox' > Mail/context
folder -all -fast
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "inbox
teaparty
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/folder.at:45"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_47
#AT_START_48
# 48. folder.at:56: folder +mbox
at_setup_line='folder.at:56'
at_func_banner 4
at_desc="folder +mbox"
$at_quiet $as_echo_n " 48: $at_desc                                   "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "48. folder.at:56: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/folder.at:56:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi







cp -r \$abs_top_srcdir/testsuite/mh/teaparty Mail
if test -e Mail/teaparty; then

# First, set all modes to +w
find Mail/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail | xargs chmod +w
# Then, remove executable bit from regular files
find Mail -type f | xargs chmod -x

fi



echo 'Current-Folder: inbox' > Mail/context
folder +teaparty
sed -n 's/^\\(Current-Folder\\): *\\(.*\\)/\\1: \\2/p' Mail/context
"
echo folder.at:56 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi







cp -r $abs_top_srcdir/testsuite/mh/teaparty Mail
if test -e Mail/teaparty; then

# First, set all modes to +w
find Mail/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail | xargs chmod +w
# Then, remove executable bit from regular files
find Mail -type f | xargs chmod -x

fi



echo 'Current-Folder: inbox' > Mail/context
folder +teaparty
sed -n 's/^\(Current-Folder\): *\(.*\)/\1: \2/p' Mail/context
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi







cp -r $abs_top_srcdir/testsuite/mh/teaparty Mail
if test -e Mail/teaparty; then

# First, set all modes to +w
find Mail/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail | xargs chmod +w
# Then, remove executable bit from regular files
find Mail -type f | xargs chmod -x

fi



echo 'Current-Folder: inbox' > Mail/context
folder +teaparty
sed -n 's/^\(Current-Folder\): *\(.*\)/\1: \2/p' Mail/context
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "              teaparty+ has   95 messages (   1-  95).
Current-Folder: teaparty
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/folder.at:56"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_48
#AT_START_49
# 49. folder.at:69: folder +mbox msg
at_setup_line='folder.at:69'
at_func_banner 4
at_desc="folder +mbox msg"
$at_quiet $as_echo_n " 49: $at_desc                               "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "49. folder.at:69: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/folder.at:69:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi







cp -r \$abs_top_srcdir/testsuite/mh/teaparty Mail
if test -e Mail/teaparty; then

# First, set all modes to +w
find Mail/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail | xargs chmod +w
# Then, remove executable bit from regular files
find Mail -type f | xargs chmod -x

fi



echo 'Current-Folder: inbox' > Mail/context
folder +teaparty 35
sed -n 's/^\\(Current-Folder\\): *\\(.*\\)/context: \\1: \\2/p' Mail/context
sed -n 's/^\\(cur\\): *\\(.*\\)/mh_sequences: \\1: \\2/p' Mail/teaparty/.mh_sequences
"
echo folder.at:69 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi







cp -r $abs_top_srcdir/testsuite/mh/teaparty Mail
if test -e Mail/teaparty; then

# First, set all modes to +w
find Mail/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail | xargs chmod +w
# Then, remove executable bit from regular files
find Mail -type f | xargs chmod -x

fi



echo 'Current-Folder: inbox' > Mail/context
folder +teaparty 35
sed -n 's/^\(Current-Folder\): *\(.*\)/context: \1: \2/p' Mail/context
sed -n 's/^\(cur\): *\(.*\)/mh_sequences: \1: \2/p' Mail/teaparty/.mh_sequences
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi







cp -r $abs_top_srcdir/testsuite/mh/teaparty Mail
if test -e Mail/teaparty; then

# First, set all modes to +w
find Mail/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail | xargs chmod +w
# Then, remove executable bit from regular files
find Mail -type f | xargs chmod -x

fi



echo 'Current-Folder: inbox' > Mail/context
folder +teaparty 35
sed -n 's/^\(Current-Folder\): *\(.*\)/context: \1: \2/p' Mail/context
sed -n 's/^\(cur\): *\(.*\)/mh_sequences: \1: \2/p' Mail/teaparty/.mh_sequences
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "              teaparty+ has   95 messages (   1-  95); cur=  35.
context: Current-Folder: teaparty
mh_sequences: cur: 35
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/folder.at:69"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_49
#AT_START_50
# 50. folder.at:84: folder -pack
at_setup_line='folder.at:84'
at_func_banner 4
at_desc="folder -pack"
$at_quiet $as_echo_n " 50: $at_desc                                   "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "50. folder.at:84: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/folder.at:84:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



for i in 2 3 4 5
do
  mv Mail/inbox/\$i Mail/inbox/\${i}0
done
folder -pack || exit \$?
find Mail/inbox -not -name '.mu-prop' | sort
"
echo folder.at:84 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains a ${...} parameter expansion)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



for i in 2 3 4 5
do
  mv Mail/inbox/$i Mail/inbox/${i}0
done
folder -pack || exit $?
find Mail/inbox -not -name '.mu-prop' | sort
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



for i in 2 3 4 5
do
  mv Mail/inbox/$i Mail/inbox/${i}0
done
folder -pack || exit $?
find Mail/inbox -not -name '.mu-prop' | sort
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Mail/inbox
Mail/inbox/1
Mail/inbox/2
Mail/inbox/3
Mail/inbox/4
Mail/inbox/5
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/folder.at:84"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_50
#AT_START_51
# 51. folder.at:102: folder --pack=N
at_setup_line='folder.at:102'
at_func_banner 4
at_desc="folder --pack=N"
$at_quiet $as_echo_n " 51: $at_desc                                "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "51. folder.at:102: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/folder.at:102:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



for i in 1 2 3 4 5
do
  mv Mail/inbox/\$i Mail/inbox/\${i}0
done
folder --pack=1 || exit \$?
find Mail/inbox -not -name '.mu-prop' | sort
"
echo folder.at:102 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains a ${...} parameter expansion)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



for i in 1 2 3 4 5
do
  mv Mail/inbox/$i Mail/inbox/${i}0
done
folder --pack=1 || exit $?
find Mail/inbox -not -name '.mu-prop' | sort
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



for i in 1 2 3 4 5
do
  mv Mail/inbox/$i Mail/inbox/${i}0
done
folder --pack=1 || exit $?
find Mail/inbox -not -name '.mu-prop' | sort
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Mail/inbox
Mail/inbox/1
Mail/inbox/2
Mail/inbox/3
Mail/inbox/4
Mail/inbox/5
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/folder.at:102"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_51
#AT_START_52
# 52. folder.at:120: folder -push/-pop
at_setup_line='folder.at:120'
at_func_banner 4
at_desc="folder -push/-pop"
$at_quiet $as_echo_n " 52: $at_desc                              "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "52. folder.at:120: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/folder.at:120:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi







cp -r \$abs_top_srcdir/testsuite/mh/teaparty Mail
if test -e Mail/teaparty; then

# First, set all modes to +w
find Mail/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail | xargs chmod +w
# Then, remove executable bit from regular files
find Mail -type f | xargs chmod -x

fi



folder -push +teaparty
folder -pop
folder -push +teaparty
folder -push
folder -pop
"
echo folder.at:120 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi







cp -r $abs_top_srcdir/testsuite/mh/teaparty Mail
if test -e Mail/teaparty; then

# First, set all modes to +w
find Mail/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail | xargs chmod +w
# Then, remove executable bit from regular files
find Mail -type f | xargs chmod -x

fi



folder -push +teaparty
folder -pop
folder -push +teaparty
folder -push
folder -pop
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi







cp -r $abs_top_srcdir/testsuite/mh/teaparty Mail
if test -e Mail/teaparty; then

# First, set all modes to +w
find Mail/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail | xargs chmod +w
# Then, remove executable bit from regular files
find Mail -type f | xargs chmod -x

fi



folder -push +teaparty
folder -pop
folder -push +teaparty
folder -push
folder -pop
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "teaparty inbox
inbox
teaparty inbox
inbox teaparty
teaparty
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/folder.at:120"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_52
#AT_START_53
# 53. folder.at:138: folder -create
at_setup_line='folder.at:138'
at_func_banner 4
at_desc="folder -create"
$at_quiet $as_echo_n " 53: $at_desc                                 "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "53. folder.at:138: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/folder.at:138:
folder -create +new
"
echo folder.at:138 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;
folder -create +new
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;
folder -create +new
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "                   new+ has no messages.
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/folder.at:138"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_53
#AT_START_54
# 54. inc.at:20: inc -notruncate
at_setup_line='inc.at:20'
at_func_banner 5
at_desc="inc -notruncate"
$at_quiet $as_echo_n " 54: $at_desc                                "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "54. inc.at:20: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/inc.at:20:




cp -r \$abs_top_srcdir/testsuite/spool/mbox1 .
if test -e ./mbox1; then

# First, set all modes to +w
find ./mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find ./mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find . | xargs chmod +w
# Then, remove executable bit from regular files
find . -type f | xargs chmod -x

fi



inc -notruncate -file ./mbox1 | sed 's/ *\$//'
cmp \$abs_top_srcdir/testsuite/spool/mbox1 mbox1
"
echo inc.at:20 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/spool/mbox1 .
if test -e ./mbox1; then

# First, set all modes to +w
find ./mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find ./mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find . | xargs chmod +w
# Then, remove executable bit from regular files
find . -type f | xargs chmod -x

fi



inc -notruncate -file ./mbox1 | sed 's/ *$//'
cmp $abs_top_srcdir/testsuite/spool/mbox1 mbox1
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/spool/mbox1 .
if test -e ./mbox1; then

# First, set all modes to +w
find ./mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find ./mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find . | xargs chmod +w
# Then, remove executable bit from regular files
find . -type f | xargs chmod -x

fi



inc -notruncate -file ./mbox1 | sed 's/ *$//'
cmp $abs_top_srcdir/testsuite/spool/mbox1 mbox1
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "   1+ 12/28 Foo Bar            Jabberwocky<<\`Twas brillig, and the slithy toves
   2  12/28 Bar                Re: Jabberwocky<<It seems very pretty, but it's
   3  07/13 Sergey Poznyakoff  Simple MIME<<------- =_aaaaaaaaaa0 Content-Type:
   4  07/13 Sergey Poznyakoff  Nested MIME<<------- =_aaaaaaaaaa0 Content-Type:
   5  07/13 Sergey Poznyakoff  Empty MIME Parts<<------- =_aaaaaaaaaa0 Content-
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/inc.at:20"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_54
#AT_START_55
# 55. inc.at:33: inc -truncate
at_setup_line='inc.at:33'
at_func_banner 5
at_desc="inc -truncate"
$at_quiet $as_echo_n " 55: $at_desc                                  "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "55. inc.at:33: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/inc.at:33:




cp -r \$abs_top_srcdir/testsuite/spool/mbox1 .
if test -e ./mbox1; then

# First, set all modes to +w
find ./mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find ./mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find . | xargs chmod +w
# Then, remove executable bit from regular files
find . -type f | xargs chmod -x

fi



inc -truncate -file ./mbox1 | sed 's/ *\$//'
echo \"Next\"
inc -truncate -file ./mbox1 | sed 's/ *\$//'
"
echo inc.at:33 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/spool/mbox1 .
if test -e ./mbox1; then

# First, set all modes to +w
find ./mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find ./mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find . | xargs chmod +w
# Then, remove executable bit from regular files
find . -type f | xargs chmod -x

fi



inc -truncate -file ./mbox1 | sed 's/ *$//'
echo "Next"
inc -truncate -file ./mbox1 | sed 's/ *$//'
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/spool/mbox1 .
if test -e ./mbox1; then

# First, set all modes to +w
find ./mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find ./mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find . | xargs chmod +w
# Then, remove executable bit from regular files
find . -type f | xargs chmod -x

fi



inc -truncate -file ./mbox1 | sed 's/ *$//'
echo "Next"
inc -truncate -file ./mbox1 | sed 's/ *$//'
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "   1+ 12/28 Foo Bar            Jabberwocky<<\`Twas brillig, and the slithy toves
   2  12/28 Bar                Re: Jabberwocky<<It seems very pretty, but it's
   3  07/13 Sergey Poznyakoff  Simple MIME<<------- =_aaaaaaaaaa0 Content-Type:
   4  07/13 Sergey Poznyakoff  Nested MIME<<------- =_aaaaaaaaaa0 Content-Type:
   5  07/13 Sergey Poznyakoff  Empty MIME Parts<<------- =_aaaaaaaaaa0 Content-
Next
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/inc.at:33"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_55
#AT_START_56
# 56. inc.at:48: inc -folder
at_setup_line='inc.at:48'
at_func_banner 5
at_desc="inc -folder"
$at_quiet $as_echo_n " 56: $at_desc                                    "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "56. inc.at:48: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/inc.at:48:




cp -r \$abs_top_srcdir/testsuite/spool/mbox1 .
if test -e ./mbox1; then

# First, set all modes to +w
find ./mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find ./mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find . | xargs chmod +w
# Then, remove executable bit from regular files
find . -type f | xargs chmod -x

fi



mkdir Mail/new
inc +new -file ./mbox1 | sed 's/ *\$//'
"
echo inc.at:48 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/spool/mbox1 .
if test -e ./mbox1; then

# First, set all modes to +w
find ./mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find ./mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find . | xargs chmod +w
# Then, remove executable bit from regular files
find . -type f | xargs chmod -x

fi



mkdir Mail/new
inc +new -file ./mbox1 | sed 's/ *$//'
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/spool/mbox1 .
if test -e ./mbox1; then

# First, set all modes to +w
find ./mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find ./mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find . | xargs chmod +w
# Then, remove executable bit from regular files
find . -type f | xargs chmod -x

fi



mkdir Mail/new
inc +new -file ./mbox1 | sed 's/ *$//'
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "   1+ 12/28 Foo Bar            Jabberwocky<<\`Twas brillig, and the slithy toves
   2  12/28 Bar                Re: Jabberwocky<<It seems very pretty, but it's
   3  07/13 Sergey Poznyakoff  Simple MIME<<------- =_aaaaaaaaaa0 Content-Type:
   4  07/13 Sergey Poznyakoff  Nested MIME<<------- =_aaaaaaaaaa0 Content-Type:
   5  07/13 Sergey Poznyakoff  Empty MIME Parts<<------- =_aaaaaaaaaa0 Content-
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/inc.at:48"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_56
#AT_START_57
# 57. inc.at:61: inc -changecur
at_setup_line='inc.at:61'
at_func_banner 5
at_desc="inc -changecur"
$at_quiet $as_echo_n " 57: $at_desc                                 "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "57. inc.at:61: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/inc.at:61:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi







cp -r \$abs_top_srcdir/testsuite/spool/mbox1 .
if test -e ./mbox1; then

# First, set all modes to +w
find ./mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find ./mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find . | xargs chmod +w
# Then, remove executable bit from regular files
find . -type f | xargs chmod -x

fi



inc -changecur -file ./mbox1 | sed 's/ *\$//'
"
echo inc.at:61 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi







cp -r $abs_top_srcdir/testsuite/spool/mbox1 .
if test -e ./mbox1; then

# First, set all modes to +w
find ./mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find ./mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find . | xargs chmod +w
# Then, remove executable bit from regular files
find . -type f | xargs chmod -x

fi



inc -changecur -file ./mbox1 | sed 's/ *$//'
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi







cp -r $abs_top_srcdir/testsuite/spool/mbox1 .
if test -e ./mbox1; then

# First, set all modes to +w
find ./mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find ./mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find . | xargs chmod +w
# Then, remove executable bit from regular files
find . -type f | xargs chmod -x

fi



inc -changecur -file ./mbox1 | sed 's/ *$//'
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "   6+ 12/28 Foo Bar            Jabberwocky<<\`Twas brillig, and the slithy toves
   7  12/28 Bar                Re: Jabberwocky<<It seems very pretty, but it's
   8  07/13 Sergey Poznyakoff  Simple MIME<<------- =_aaaaaaaaaa0 Content-Type:
   9  07/13 Sergey Poznyakoff  Nested MIME<<------- =_aaaaaaaaaa0 Content-Type:
  10  07/13 Sergey Poznyakoff  Empty MIME Parts<<------- =_aaaaaaaaaa0 Content-
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/inc.at:61"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_57
#AT_START_58
# 58. inc.at:74: inc -nochangecur
at_setup_line='inc.at:74'
at_func_banner 5
at_desc="inc -nochangecur"
$at_quiet $as_echo_n " 58: $at_desc                               "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "58. inc.at:74: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/inc.at:74:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo \"cur: 1\" > Mail/inbox/.mh_sequences




cp -r \$abs_top_srcdir/testsuite/spool/mbox1 .
if test -e ./mbox1; then

# First, set all modes to +w
find ./mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find ./mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find . | xargs chmod +w
# Then, remove executable bit from regular files
find . -type f | xargs chmod -x

fi



inc -nochangecur -file ./mbox1 | sed 's/ *\$//'
grep ^cur: Mail/inbox/.mh_sequences
"
echo inc.at:74 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo "cur: 1" > Mail/inbox/.mh_sequences




cp -r $abs_top_srcdir/testsuite/spool/mbox1 .
if test -e ./mbox1; then

# First, set all modes to +w
find ./mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find ./mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find . | xargs chmod +w
# Then, remove executable bit from regular files
find . -type f | xargs chmod -x

fi



inc -nochangecur -file ./mbox1 | sed 's/ *$//'
grep ^cur: Mail/inbox/.mh_sequences
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo "cur: 1" > Mail/inbox/.mh_sequences




cp -r $abs_top_srcdir/testsuite/spool/mbox1 .
if test -e ./mbox1; then

# First, set all modes to +w
find ./mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find ./mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find . | xargs chmod +w
# Then, remove executable bit from regular files
find . -type f | xargs chmod -x

fi



inc -nochangecur -file ./mbox1 | sed 's/ *$//'
grep ^cur: Mail/inbox/.mh_sequences
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "   6  12/28 Foo Bar            Jabberwocky<<\`Twas brillig, and the slithy toves
   7  12/28 Bar                Re: Jabberwocky<<It seems very pretty, but it's
   8  07/13 Sergey Poznyakoff  Simple MIME<<------- =_aaaaaaaaaa0 Content-Type:
   9  07/13 Sergey Poznyakoff  Nested MIME<<------- =_aaaaaaaaaa0 Content-Type:
  10  07/13 Sergey Poznyakoff  Empty MIME Parts<<------- =_aaaaaaaaaa0 Content-
cur: 1
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/inc.at:74"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_58
#AT_START_59
# 59. scan.at:21: scan
at_setup_line='scan.at:21'
at_func_banner 6
at_desc="scan"
$at_quiet $as_echo_n " 59: $at_desc                                           "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "59. scan.at:21: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/scan.at:21:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to 700
find Mail/inbox/mbox1 | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo \"Current-Folder: inbox\" > Mail/context
scan | sed 's/ *\$//'
"
echo scan.at:21 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to 700
find Mail/inbox/mbox1 | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo "Current-Folder: inbox" > Mail/context
scan | sed 's/ *$//'
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to 700
find Mail/inbox/mbox1 | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo "Current-Folder: inbox" > Mail/context
scan | sed 's/ *$//'
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "   1  12/28 Foo Bar            Jabberwocky<<\`Twas brillig, and the slithy toves
   2  12/28 Bar                Re: Jabberwocky<<It seems very pretty, but it's
   3  07/13 Sergey Poznyakoff  Simple MIME<<------- =_aaaaaaaaaa0 Content-Type:
   4  07/13 Sergey Poznyakoff  Nested MIME<<------- =_aaaaaaaaaa0 Content-Type:
   5  07/13 Sergey Poznyakoff  Empty MIME Parts<<------- =_aaaaaaaaaa0 Content-
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/scan.at:21"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_59
#AT_START_60
# 60. scan.at:34: scan -folder
at_setup_line='scan.at:34'
at_func_banner 6
at_desc="scan -folder"
$at_quiet $as_echo_n " 60: $at_desc                                   "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "60. scan.at:34: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/scan.at:34:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to 700
find Mail/inbox/mbox1 | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



scan +inbox | sed 's/ *\$//'
"
echo scan.at:34 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to 700
find Mail/inbox/mbox1 | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



scan +inbox | sed 's/ *$//'
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to 700
find Mail/inbox/mbox1 | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



scan +inbox | sed 's/ *$//'
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "   1  12/28 Foo Bar            Jabberwocky<<\`Twas brillig, and the slithy toves
   2  12/28 Bar                Re: Jabberwocky<<It seems very pretty, but it's
   3  07/13 Sergey Poznyakoff  Simple MIME<<------- =_aaaaaaaaaa0 Content-Type:
   4  07/13 Sergey Poznyakoff  Nested MIME<<------- =_aaaaaaaaaa0 Content-Type:
   5  07/13 Sergey Poznyakoff  Empty MIME Parts<<------- =_aaaaaaaaaa0 Content-
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/scan.at:34"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_60
#AT_START_61
# 61. scan.at:46: scan -format
at_setup_line='scan.at:46'
at_func_banner 6
at_desc="scan -format"
$at_quiet $as_echo_n " 61: $at_desc                                   "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "61. scan.at:46: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/scan.at:46:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail
if test -e Mail/mbox1; then

# First, set all modes to 700
find Mail/mbox1 | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/mbox1 -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail | xargs chmod 700
# Then, remove executable bit from regular files
find Mail -type f | xargs chmod -x

fi



scan +mbox1 -format '%4(msg) %{from} - %{to}'
"
echo scan.at:46 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail
if test -e Mail/mbox1; then

# First, set all modes to 700
find Mail/mbox1 | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/mbox1 -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail | xargs chmod 700
# Then, remove executable bit from regular files
find Mail -type f | xargs chmod -x

fi



scan +mbox1 -format '%4(msg) %{from} - %{to}'
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail
if test -e Mail/mbox1; then

# First, set all modes to 700
find Mail/mbox1 | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/mbox1 -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail | xargs chmod 700
# Then, remove executable bit from regular files
find Mail -type f | xargs chmod -x

fi



scan +mbox1 -format '%4(msg) %{from} - %{to}'
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "   1 Foo Bar <foobar@nonexistent.net> - Bar <bar@dontmailme.org>
   2 Bar <bar@dontmailme.org> - Foo Bar <foobar@nonexistent.net>
   3 Sergey Poznyakoff <gray@example.net> - Foo Bar <foobar@nonexistent.net>
   4 Sergey Poznyakoff <gray@example.net> - Foo Bar <foobar@nonexistent.net>
   5 Sergey Poznyakoff <gray@example.net> - Foo Bar <foobar@nonexistent.net>
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/scan.at:46"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_61
#AT_START_62
# 62. scan.at:58: scan -form
at_setup_line='scan.at:58'
at_func_banner 6
at_desc="scan -form"
$at_quiet $as_echo_n " 62: $at_desc                                     "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "62. scan.at:58: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/scan.at:58:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail
if test -e Mail/mbox1; then

# First, set all modes to 700
find Mail/mbox1 | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/mbox1 -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail | xargs chmod 700
# Then, remove executable bit from regular files
find Mail -type f | xargs chmod -x

fi



echo '%4(msg) %(decode(friendly{from})) - %(decode(friendly{to}))' > formfile
scan +mbox1 -form formfile
"
echo scan.at:58 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail
if test -e Mail/mbox1; then

# First, set all modes to 700
find Mail/mbox1 | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/mbox1 -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail | xargs chmod 700
# Then, remove executable bit from regular files
find Mail -type f | xargs chmod -x

fi



echo '%4(msg) %(decode(friendly{from})) - %(decode(friendly{to}))' > formfile
scan +mbox1 -form formfile
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail
if test -e Mail/mbox1; then

# First, set all modes to 700
find Mail/mbox1 | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/mbox1 -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail | xargs chmod 700
# Then, remove executable bit from regular files
find Mail -type f | xargs chmod -x

fi



echo '%4(msg) %(decode(friendly{from})) - %(decode(friendly{to}))' > formfile
scan +mbox1 -form formfile
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "   1 Foo Bar - Bar
   2 Bar - Foo Bar
   3 Sergey Poznyakoff - Foo Bar
   4 Sergey Poznyakoff - Foo Bar
   5 Sergey Poznyakoff - Foo Bar
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/scan.at:58"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_62
#AT_START_63
# 63. scan.at:71: scan -reverse
at_setup_line='scan.at:71'
at_func_banner 6
at_desc="scan -reverse"
$at_quiet $as_echo_n " 63: $at_desc                                  "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "63. scan.at:71: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/scan.at:71:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail
if test -e Mail/mbox1; then

# First, set all modes to 700
find Mail/mbox1 | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/mbox1 -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail | xargs chmod 700
# Then, remove executable bit from regular files
find Mail -type f | xargs chmod -x

fi



scan +mbox1 -reverse | sed 's/ *\$//'
"
echo scan.at:71 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail
if test -e Mail/mbox1; then

# First, set all modes to 700
find Mail/mbox1 | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/mbox1 -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail | xargs chmod 700
# Then, remove executable bit from regular files
find Mail -type f | xargs chmod -x

fi



scan +mbox1 -reverse | sed 's/ *$//'
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail
if test -e Mail/mbox1; then

# First, set all modes to 700
find Mail/mbox1 | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/mbox1 -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail | xargs chmod 700
# Then, remove executable bit from regular files
find Mail -type f | xargs chmod -x

fi



scan +mbox1 -reverse | sed 's/ *$//'
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "   5  07/13 Sergey Poznyakoff  Empty MIME Parts<<------- =_aaaaaaaaaa0 Content-
   4  07/13 Sergey Poznyakoff  Nested MIME<<------- =_aaaaaaaaaa0 Content-Type:
   3  07/13 Sergey Poznyakoff  Simple MIME<<------- =_aaaaaaaaaa0 Content-Type:
   2  12/28 Bar                Re: Jabberwocky<<It seems very pretty, but it's
   1  12/28 Foo Bar            Jabberwocky<<\`Twas brillig, and the slithy toves
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/scan.at:71"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_63
#AT_START_64
# 64. rmm.at:21: rmm msg
at_setup_line='rmm.at:21'
at_func_banner 7
at_desc="rmm msg"
$at_quiet $as_echo_n " 64: $at_desc                                        "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "64. rmm.at:21: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/rmm.at:21:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo 'Current-Folder: inbox' > Mail/context
rmm 4 || exit \$?
find Mail/inbox -name '[0-9]' | sort
"
echo rmm.at:21 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo 'Current-Folder: inbox' > Mail/context
rmm 4 || exit $?
find Mail/inbox -name '[0-9]' | sort
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo 'Current-Folder: inbox' > Mail/context
rmm 4 || exit $?
find Mail/inbox -name '[0-9]' | sort
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Mail/inbox/1
Mail/inbox/2
Mail/inbox/3
Mail/inbox/5
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/rmm.at:21"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_64
#AT_START_65
# 65. rmm.at:34: rmm seq
at_setup_line='rmm.at:34'
at_func_banner 7
at_desc="rmm seq"
$at_quiet $as_echo_n " 65: $at_desc                                        "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "65. rmm.at:34: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/rmm.at:34:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo 'Current-Folder: inbox' > Mail/context
cat > Mail/inbox/.mh_sequences <<EOT
test: 2 3 5
cur: 1
EOT
rmm test || exit \$?
find Mail/inbox -name '[0-9]' | sort
sed '/^\$/d' Mail/inbox/.mh_sequences
"
echo rmm.at:34 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo 'Current-Folder: inbox' > Mail/context
cat > Mail/inbox/.mh_sequences <<EOT
test: 2 3 5
cur: 1
EOT
rmm test || exit $?
find Mail/inbox -name '[0-9]' | sort
sed '/^$/d' Mail/inbox/.mh_sequences
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo 'Current-Folder: inbox' > Mail/context
cat > Mail/inbox/.mh_sequences <<EOT
test: 2 3 5
cur: 1
EOT
rmm test || exit $?
find Mail/inbox -name '[0-9]' | sort
sed '/^$/d' Mail/inbox/.mh_sequences
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Mail/inbox/1
Mail/inbox/4
test: 2 3 5
cur: 1
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/rmm.at:34"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_65
#AT_START_66
# 66. rmm.at:52: rmm rmmproc
at_setup_line='rmm.at:52'
at_func_banner 7
at_desc="rmm rmmproc"
$at_quiet $as_echo_n " 66: $at_desc                                    "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "66. rmm.at:52: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/rmm.at:52:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo \"rmmproc: \$abs_top_srcdir/mh/tests/movemsg\" >> \$MH
rmm 1 4 || exit \$?
find Mail/inbox -name '[0-9]' | sort
find Mail/removed -name '[0-9]' | sort
"
echo rmm.at:52 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo "rmmproc: $abs_top_srcdir/mh/tests/movemsg" >> $MH
rmm 1 4 || exit $?
find Mail/inbox -name '[0-9]' | sort
find Mail/removed -name '[0-9]' | sort
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo "rmmproc: $abs_top_srcdir/mh/tests/movemsg" >> $MH
rmm 1 4 || exit $?
find Mail/inbox -name '[0-9]' | sort
find Mail/removed -name '[0-9]' | sort
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Mail/inbox/2
Mail/inbox/3
Mail/inbox/5
Mail/removed/1
Mail/removed/4
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/rmm.at:52"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_66
#AT_START_67
# 67. rmm.at:67: rmm -- null rmmproc
at_setup_line='rmm.at:67'
at_func_banner 7
at_desc="rmm -- null rmmproc"
$at_quiet $as_echo_n " 67: $at_desc                            "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "67. rmm.at:67: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/rmm.at:67:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo \"rmmproc:\" >> \$MH
rmm 1 4 || exit \$?
find Mail/inbox -name '[0-9]' | sort
test -f Mail/inbox/,1 || echo OK
test -f Mail/inbox/,4 || echo OK
"
echo rmm.at:67 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo "rmmproc:" >> $MH
rmm 1 4 || exit $?
find Mail/inbox -name '[0-9]' | sort
test -f Mail/inbox/,1 || echo OK
test -f Mail/inbox/,4 || echo OK
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo "rmmproc:" >> $MH
rmm 1 4 || exit $?
find Mail/inbox -name '[0-9]' | sort
test -f Mail/inbox/,1 || echo OK
test -f Mail/inbox/,4 || echo OK
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Mail/inbox/2
Mail/inbox/3
Mail/inbox/5
OK
OK
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/rmm.at:67"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_67
#AT_START_68
# 68. rmf.at:21: rmf +folder
at_setup_line='rmf.at:21'
at_func_banner 8
at_desc="rmf +folder"
$at_quiet $as_echo_n " 68: $at_desc                                    "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "68. rmf.at:21: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/rmf.at:21:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi







cp -r \$abs_top_srcdir/testsuite/mh/teaparty Mail
if test -e Mail/teaparty; then

# First, set all modes to +w
find Mail/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail | xargs chmod +w
# Then, remove executable bit from regular files
find Mail -type f | xargs chmod -x

fi



echo 'Current-Folder: inbox' > Mail/context
rmf +teaparty || exit \$?
find Mail -type d | sort
"
echo rmf.at:21 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi







cp -r $abs_top_srcdir/testsuite/mh/teaparty Mail
if test -e Mail/teaparty; then

# First, set all modes to +w
find Mail/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail | xargs chmod +w
# Then, remove executable bit from regular files
find Mail -type f | xargs chmod -x

fi



echo 'Current-Folder: inbox' > Mail/context
rmf +teaparty || exit $?
find Mail -type d | sort
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi







cp -r $abs_top_srcdir/testsuite/mh/teaparty Mail
if test -e Mail/teaparty; then

# First, set all modes to +w
find Mail/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail | xargs chmod +w
# Then, remove executable bit from regular files
find Mail -type f | xargs chmod -x

fi



echo 'Current-Folder: inbox' > Mail/context
rmf +teaparty || exit $?
find Mail -type d | sort
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Mail
Mail/inbox
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/rmf.at:21"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_68
#AT_START_69
# 69. rmf.at:33: rmf
at_setup_line='rmf.at:33'
at_func_banner 8
at_desc="rmf"
$at_quiet $as_echo_n " 69: $at_desc                                            "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "69. rmf.at:33: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/rmf.at:33:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi







cp -r \$abs_top_srcdir/testsuite/mh/teaparty Mail
if test -e Mail/teaparty; then

# First, set all modes to +w
find Mail/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail | xargs chmod +w
# Then, remove executable bit from regular files
find Mail -type f | xargs chmod -x

fi



echo 'Current-Folder: teaparty' > Mail/context
rmf || exit \$?
find Mail -type d | sort
"
echo rmf.at:33 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi







cp -r $abs_top_srcdir/testsuite/mh/teaparty Mail
if test -e Mail/teaparty; then

# First, set all modes to +w
find Mail/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail | xargs chmod +w
# Then, remove executable bit from regular files
find Mail -type f | xargs chmod -x

fi



echo 'Current-Folder: teaparty' > Mail/context
rmf || exit $?
find Mail -type d | sort
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi







cp -r $abs_top_srcdir/testsuite/mh/teaparty Mail
if test -e Mail/teaparty; then

# First, set all modes to +w
find Mail/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail | xargs chmod +w
# Then, remove executable bit from regular files
find Mail -type f | xargs chmod -x

fi



echo 'Current-Folder: teaparty' > Mail/context
rmf || exit $?
find Mail -type d | sort
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "[+inbox now current]
Mail
Mail/inbox
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/rmf.at:33"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_69
#AT_START_70
# 70. mark.at:20: mark -add
at_setup_line='mark.at:20'
at_func_banner 9
at_desc="mark -add"
$at_quiet $as_echo_n " 70: $at_desc                                      "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "70. mark.at:20: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mark.at:20:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo 'Current-Folder: inbox' > Mail/context
mark -sequence andro -add 2
mark -sequence andro -add 3-5
sed -n '/^andro:/{s/  */ /g;s/ \$//;p;}' Mail/inbox/.mh_sequences
"
echo mark.at:20 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo 'Current-Folder: inbox' > Mail/context
mark -sequence andro -add 2
mark -sequence andro -add 3-5
sed -n '/^andro:/{s/  */ /g;s/ $//;p;}' Mail/inbox/.mh_sequences
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo 'Current-Folder: inbox' > Mail/context
mark -sequence andro -add 2
mark -sequence andro -add 3-5
sed -n '/^andro:/{s/  */ /g;s/ $//;p;}' Mail/inbox/.mh_sequences
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "andro: 2 3 4 5
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mark.at:20"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_70
#AT_START_71
# 71. mark.at:31: mark -add -zero
at_setup_line='mark.at:31'
at_func_banner 9
at_desc="mark -add -zero"
$at_quiet $as_echo_n " 71: $at_desc                                "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "71. mark.at:31: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mark.at:31:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo 'Current-Folder: inbox' > Mail/context
mark -sequence andro -add 2
sed -n '/^andro:/{s/  */ /g;s/ \$//;p;}' Mail/inbox/.mh_sequences
mark -zero -sequence andro -add 1 3
sed -n '/^andro:/{s/  */ /g;s/ \$//;p;}' Mail/inbox/.mh_sequences
"
echo mark.at:31 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo 'Current-Folder: inbox' > Mail/context
mark -sequence andro -add 2
sed -n '/^andro:/{s/  */ /g;s/ $//;p;}' Mail/inbox/.mh_sequences
mark -zero -sequence andro -add 1 3
sed -n '/^andro:/{s/  */ /g;s/ $//;p;}' Mail/inbox/.mh_sequences
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo 'Current-Folder: inbox' > Mail/context
mark -sequence andro -add 2
sed -n '/^andro:/{s/  */ /g;s/ $//;p;}' Mail/inbox/.mh_sequences
mark -zero -sequence andro -add 1 3
sed -n '/^andro:/{s/  */ /g;s/ $//;p;}' Mail/inbox/.mh_sequences
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "andro: 2
andro: 1 3
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mark.at:31"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_71
#AT_START_72
# 72. mark.at:44: mark -add -nopublic
at_setup_line='mark.at:44'
at_func_banner 9
at_desc="mark -add -nopublic"
$at_quiet $as_echo_n " 72: $at_desc                            "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "72. mark.at:44: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mark.at:44:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo 'Current-Folder: inbox' > Mail/context
mark -nopublic -sequence andro -add 1 2 3
sed -n '/^atr-andro/{s/  */ /g;s/ \$//;s/^[^:]*:/atr-andro:/;p;}' Mail/context
"
echo mark.at:44 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo 'Current-Folder: inbox' > Mail/context
mark -nopublic -sequence andro -add 1 2 3
sed -n '/^atr-andro/{s/  */ /g;s/ $//;s/^[^:]*:/atr-andro:/;p;}' Mail/context
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo 'Current-Folder: inbox' > Mail/context
mark -nopublic -sequence andro -add 1 2 3
sed -n '/^atr-andro/{s/  */ /g;s/ $//;s/^[^:]*:/atr-andro:/;p;}' Mail/context
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "atr-andro: 1 2 3
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mark.at:44"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_72
#AT_START_73
# 73. mark.at:54: mark -del
at_setup_line='mark.at:54'
at_func_banner 9
at_desc="mark -del"
$at_quiet $as_echo_n " 73: $at_desc                                      "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "73. mark.at:54: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mark.at:54:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo 'Current-Folder: inbox' > Mail/context
echo 'andro: 2 3 4 5' > Mail/inbox/.mh_sequences
mark -sequence andro -del 3
sed -n '/^andro:/{s/  */ /g;s/ \$//;p;}' Mail/inbox/.mh_sequences
"
echo mark.at:54 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo 'Current-Folder: inbox' > Mail/context
echo 'andro: 2 3 4 5' > Mail/inbox/.mh_sequences
mark -sequence andro -del 3
sed -n '/^andro:/{s/  */ /g;s/ $//;p;}' Mail/inbox/.mh_sequences
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo 'Current-Folder: inbox' > Mail/context
echo 'andro: 2 3 4 5' > Mail/inbox/.mh_sequences
mark -sequence andro -del 3
sed -n '/^andro:/{s/  */ /g;s/ $//;p;}' Mail/inbox/.mh_sequences
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "andro: 2 4 5
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mark.at:54"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_73
#AT_START_74
# 74. mark.at:65: mark -del -nopublic
at_setup_line='mark.at:65'
at_func_banner 9
at_desc="mark -del -nopublic"
$at_quiet $as_echo_n " 74: $at_desc                            "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "74. mark.at:65: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mark.at:65:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo 'Current-Folder: inbox' > Mail/context
inbox=\`pwd\`/Mail/inbox
cat > Mail/context <<EOT
atr-andro-\$inbox: 2 3 4 5
EOT
mark -nopublic -sequence andro -del 3
sed -n '/^atr-andro/{s/  */ /g;s/ \$//;s/^[^:]*:/atr-andro:/;p;}' Mail/context
"
echo mark.at:65 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains a `...` command substitution)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo 'Current-Folder: inbox' > Mail/context
inbox=`pwd`/Mail/inbox
cat > Mail/context <<EOT
atr-andro-$inbox: 2 3 4 5
EOT
mark -nopublic -sequence andro -del 3
sed -n '/^atr-andro/{s/  */ /g;s/ $//;s/^[^:]*:/atr-andro:/;p;}' Mail/context
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo 'Current-Folder: inbox' > Mail/context
inbox=`pwd`/Mail/inbox
cat > Mail/context <<EOT
atr-andro-$inbox: 2 3 4 5
EOT
mark -nopublic -sequence andro -del 3
sed -n '/^atr-andro/{s/  */ /g;s/ $//;s/^[^:]*:/atr-andro:/;p;}' Mail/context
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "atr-andro: 2 4 5
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mark.at:65"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_74
#AT_START_75
# 75. mark.at:79: mark -list
at_setup_line='mark.at:79'
at_func_banner 9
at_desc="mark -list"
$at_quiet $as_echo_n " 75: $at_desc                                     "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "75. mark.at:79: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mark.at:79:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo 'Current-Folder: inbox' > Mail/context
inbox=\`pwd\`/Mail/inbox
cat > Mail/context <<EOT
atr-andro-\$inbox: 2 3
EOT
cat > Mail/inbox/.mh_sequences <<EOT
cur: 1
andro: 1 5
gwerz: 4
EOT
mark -list
"
echo mark.at:79 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains a `...` command substitution)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo 'Current-Folder: inbox' > Mail/context
inbox=`pwd`/Mail/inbox
cat > Mail/context <<EOT
atr-andro-$inbox: 2 3
EOT
cat > Mail/inbox/.mh_sequences <<EOT
cur: 1
andro: 1 5
gwerz: 4
EOT
mark -list
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo 'Current-Folder: inbox' > Mail/context
inbox=`pwd`/Mail/inbox
cat > Mail/context <<EOT
atr-andro-$inbox: 2 3
EOT
cat > Mail/inbox/.mh_sequences <<EOT
cur: 1
andro: 1 5
gwerz: 4
EOT
mark -list
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "cur: 1
andro: 1 5
gwerz: 4
andro (private): 2 3
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mark.at:79"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_75
#AT_START_76
# 76. mhparam.at:20: mhparam -all
at_setup_line='mhparam.at:20'
at_func_banner 10
at_desc="mhparam -all"
$at_quiet $as_echo_n " 76: $at_desc                                   "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "76. mhparam.at:20: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhparam.at:20:
cat >>\$MH <<EOT
Sequence-Negation: not
Draft-Folder: Mail/drafts
Aliasfile: .mh_aliases
EOT
mhparam -all | tr '\\t' ' ' | sed 's/^Path:.*/Path: Mail/;s/^mhetcdir:.*/mhetcdir: dir/;s/  */ /g'
"
echo mhparam.at:20 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;
cat >>$MH <<EOT
Sequence-Negation: not
Draft-Folder: Mail/drafts
Aliasfile: .mh_aliases
EOT
mhparam -all | tr '\t' ' ' | sed 's/^Path:.*/Path: Mail/;s/^mhetcdir:.*/mhetcdir: dir/;s/  */ /g'
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;
cat >>$MH <<EOT
Sequence-Negation: not
Draft-Folder: Mail/drafts
Aliasfile: .mh_aliases
EOT
mhparam -all | tr '\t' ' ' | sed 's/^Path:.*/Path: Mail/;s/^mhetcdir:.*/mhetcdir: dir/;s/  */ /g'
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Path: Mail
mhetcdir: dir
moreproc: /bin/cat
Sequence-Negation: not
Draft-Folder: Mail/drafts
Aliasfile: .mh_aliases
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mhparam.at:20"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_76
#AT_START_77
# 77. mhparam.at:37: mhparam comp
at_setup_line='mhparam.at:37'
at_func_banner 10
at_desc="mhparam comp"
$at_quiet $as_echo_n " 77: $at_desc                                   "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "77. mhparam.at:37: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhparam.at:37:
cat >>\$MH <<EOT
Sequence-Negation: not
Draft-Folder: Mail/drafts
Aliasfile: .mh_aliases
EOT
mhparam Sequence-Negation
"
echo mhparam.at:37 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;
cat >>$MH <<EOT
Sequence-Negation: not
Draft-Folder: Mail/drafts
Aliasfile: .mh_aliases
EOT
mhparam Sequence-Negation
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;
cat >>$MH <<EOT
Sequence-Negation: not
Draft-Folder: Mail/drafts
Aliasfile: .mh_aliases
EOT
mhparam Sequence-Negation
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "not
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mhparam.at:37"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_77
#AT_START_78
# 78. mhparam.at:49: mhparam comp comp
at_setup_line='mhparam.at:49'
at_func_banner 10
at_desc="mhparam comp comp"
$at_quiet $as_echo_n " 78: $at_desc                              "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "78. mhparam.at:49: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhparam.at:49:
cat >>\$MH <<EOT
Sequence-Negation: not
Draft-Folder: Mail/drafts
Aliasfile: .mh_aliases
EOT
mhparam Sequence-Negation Aliasfile | tr '\\t' ' '
"
echo mhparam.at:49 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;
cat >>$MH <<EOT
Sequence-Negation: not
Draft-Folder: Mail/drafts
Aliasfile: .mh_aliases
EOT
mhparam Sequence-Negation Aliasfile | tr '\t' ' '
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;
cat >>$MH <<EOT
Sequence-Negation: not
Draft-Folder: Mail/drafts
Aliasfile: .mh_aliases
EOT
mhparam Sequence-Negation Aliasfile | tr '\t' ' '
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Sequence-Negation: not
Aliasfile: .mh_aliases
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mhparam.at:49"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_78
#AT_START_79
# 79. mhparam.at:62: mhparam -component comp
at_setup_line='mhparam.at:62'
at_func_banner 10
at_desc="mhparam -component comp"
$at_quiet $as_echo_n " 79: $at_desc                        "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "79. mhparam.at:62: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhparam.at:62:
cat >>\$MH <<EOT
Sequence-Negation: not
Draft-Folder: Mail/drafts
Aliasfile: .mh_aliases
EOT
mhparam -component Sequence-Negation | tr '\\t' ' ' | sed 's/  */ /g'
"
echo mhparam.at:62 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;
cat >>$MH <<EOT
Sequence-Negation: not
Draft-Folder: Mail/drafts
Aliasfile: .mh_aliases
EOT
mhparam -component Sequence-Negation | tr '\t' ' ' | sed 's/  */ /g'
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;
cat >>$MH <<EOT
Sequence-Negation: not
Draft-Folder: Mail/drafts
Aliasfile: .mh_aliases
EOT
mhparam -component Sequence-Negation | tr '\t' ' ' | sed 's/  */ /g'
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Sequence-Negation: not
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mhparam.at:62"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_79
#AT_START_80
# 80. refile.at:20: refile
at_setup_line='refile.at:20'
at_func_banner 11
at_desc="refile"
$at_quiet $as_echo_n " 80: $at_desc                                         "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "80. refile.at:20: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/refile.at:20:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi







cp -r \$abs_top_srcdir/testsuite/mh/teaparty Mail/teaparty
if test -e Mail/teaparty/teaparty; then

# First, set all modes to +w
find Mail/teaparty/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/teaparty/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/teaparty -type f | xargs chmod -x

fi



echo 'Current-Folder: teaparty' > Mail/context
refile 3 4 +inbox || exit \$?
find Mail/inbox -name '[0-9]' | sort
cmp Mail/inbox/6 Mail/teaparty/,3 >/dev/null || echo \"Message 3 differs\"
cmp Mail/inbox/7 Mail/teaparty/,4 >/dev/null || echo \"Message 4 differs\"
"
echo refile.at:20 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi







cp -r $abs_top_srcdir/testsuite/mh/teaparty Mail/teaparty
if test -e Mail/teaparty/teaparty; then

# First, set all modes to +w
find Mail/teaparty/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/teaparty/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/teaparty -type f | xargs chmod -x

fi



echo 'Current-Folder: teaparty' > Mail/context
refile 3 4 +inbox || exit $?
find Mail/inbox -name '[0-9]' | sort
cmp Mail/inbox/6 Mail/teaparty/,3 >/dev/null || echo "Message 3 differs"
cmp Mail/inbox/7 Mail/teaparty/,4 >/dev/null || echo "Message 4 differs"
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi







cp -r $abs_top_srcdir/testsuite/mh/teaparty Mail/teaparty
if test -e Mail/teaparty/teaparty; then

# First, set all modes to +w
find Mail/teaparty/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/teaparty/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/teaparty -type f | xargs chmod -x

fi



echo 'Current-Folder: teaparty' > Mail/context
refile 3 4 +inbox || exit $?
find Mail/inbox -name '[0-9]' | sort
cmp Mail/inbox/6 Mail/teaparty/,3 >/dev/null || echo "Message 3 differs"
cmp Mail/inbox/7 Mail/teaparty/,4 >/dev/null || echo "Message 4 differs"
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Mail/inbox/1
Mail/inbox/2
Mail/inbox/3
Mail/inbox/4
Mail/inbox/5
Mail/inbox/6
Mail/inbox/7
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/refile.at:20"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_80
#AT_START_81
# 81. refile.at:39: refile -file
at_setup_line='refile.at:39'
at_func_banner 11
at_desc="refile -file"
$at_quiet $as_echo_n " 81: $at_desc                                   "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "81. refile.at:39: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/refile.at:39:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo 'Current-Folder: inbox' > Mail/context
cp Mail/inbox/2 message
refile -file \`pwd\`/message +inbox || exit \$?
find Mail/inbox -name '[0-9]' | sort
cmp Mail/inbox/2 Mail/inbox/6 >/dev/null || echo \"Message differs\"
"
echo refile.at:39 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains a `...` command substitution)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo 'Current-Folder: inbox' > Mail/context
cp Mail/inbox/2 message
refile -file `pwd`/message +inbox || exit $?
find Mail/inbox -name '[0-9]' | sort
cmp Mail/inbox/2 Mail/inbox/6 >/dev/null || echo "Message differs"
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo 'Current-Folder: inbox' > Mail/context
cp Mail/inbox/2 message
refile -file `pwd`/message +inbox || exit $?
find Mail/inbox -name '[0-9]' | sort
cmp Mail/inbox/2 Mail/inbox/6 >/dev/null || echo "Message differs"
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Mail/inbox/1
Mail/inbox/2
Mail/inbox/3
Mail/inbox/4
Mail/inbox/5
Mail/inbox/6
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/refile.at:39"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_81
#AT_START_82
# 82. refile.at:56: refile --copy
at_setup_line='refile.at:56'
at_func_banner 11
at_desc="refile --copy"
$at_quiet $as_echo_n " 82: $at_desc                                  "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "82. refile.at:56: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/refile.at:56:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi







cp -r \$abs_top_srcdir/testsuite/mh/teaparty Mail/teaparty
if test -e Mail/teaparty/teaparty; then

# First, set all modes to +w
find Mail/teaparty/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/teaparty/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/teaparty -type f | xargs chmod -x

fi



echo 'Current-Folder: teaparty' > Mail/context
refile --copy 3 4 +inbox || exit \$?
find Mail/inbox -name '[0-9]' | sort
cmp Mail/inbox/6 Mail/teaparty/3 >/dev/null || echo \"Message 3 differs\"
cmp Mail/inbox/7 Mail/teaparty/4 >/dev/null || echo \"Message 4 differs\"
"
echo refile.at:56 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi







cp -r $abs_top_srcdir/testsuite/mh/teaparty Mail/teaparty
if test -e Mail/teaparty/teaparty; then

# First, set all modes to +w
find Mail/teaparty/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/teaparty/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/teaparty -type f | xargs chmod -x

fi



echo 'Current-Folder: teaparty' > Mail/context
refile --copy 3 4 +inbox || exit $?
find Mail/inbox -name '[0-9]' | sort
cmp Mail/inbox/6 Mail/teaparty/3 >/dev/null || echo "Message 3 differs"
cmp Mail/inbox/7 Mail/teaparty/4 >/dev/null || echo "Message 4 differs"
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi







cp -r $abs_top_srcdir/testsuite/mh/teaparty Mail/teaparty
if test -e Mail/teaparty/teaparty; then

# First, set all modes to +w
find Mail/teaparty/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/teaparty/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/teaparty -type f | xargs chmod -x

fi



echo 'Current-Folder: teaparty' > Mail/context
refile --copy 3 4 +inbox || exit $?
find Mail/inbox -name '[0-9]' | sort
cmp Mail/inbox/6 Mail/teaparty/3 >/dev/null || echo "Message 3 differs"
cmp Mail/inbox/7 Mail/teaparty/4 >/dev/null || echo "Message 4 differs"
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Mail/inbox/1
Mail/inbox/2
Mail/inbox/3
Mail/inbox/4
Mail/inbox/5
Mail/inbox/6
Mail/inbox/7
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/refile.at:56"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_82
#AT_START_83
# 83. mhpath.at:20: mhpath
at_setup_line='mhpath.at:20'
at_func_banner 12
at_desc="mhpath"
$at_quiet $as_echo_n " 83: $at_desc                                         "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "83. mhpath.at:20: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhpath.at:20:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo 'Current-Folder: inbox' > Mail/context
mhpath | remove_curdir
"
echo mhpath.at:20 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo 'Current-Folder: inbox' > Mail/context
mhpath | remove_curdir
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo 'Current-Folder: inbox' > Mail/context
mhpath | remove_curdir
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Mail/inbox
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mhpath.at:20"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_83
#AT_START_84
# 84. mhpath.at:29: mhpath +
at_setup_line='mhpath.at:29'
at_func_banner 12
at_desc="mhpath +"
$at_quiet $as_echo_n " 84: $at_desc                                       "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "84. mhpath.at:29: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhpath.at:29:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo 'Current-Folder: inbox' > Mail/context
mhpath +| remove_curdir
"
echo mhpath.at:29 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo 'Current-Folder: inbox' > Mail/context
mhpath +| remove_curdir
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo 'Current-Folder: inbox' > Mail/context
mhpath +| remove_curdir
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Mail
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mhpath.at:29"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_84
#AT_START_85
# 85. mhpath.at:38: mhpath msgs
at_setup_line='mhpath.at:38'
at_func_banner 12
at_desc="mhpath msgs"
$at_quiet $as_echo_n " 85: $at_desc                                    "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "85. mhpath.at:38: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhpath.at:38:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhpath 1-3 | remove_curdir
"
echo mhpath.at:38 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhpath 1-3 | remove_curdir
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhpath 1-3 | remove_curdir
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Mail/inbox/1
Mail/inbox/2
Mail/inbox/3
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mhpath.at:38"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_85
#AT_START_86
# 86. mhpath.at:48: mhpath msgs (some nonexistent)
at_setup_line='mhpath.at:48'
at_func_banner 12
at_desc="mhpath msgs (some nonexistent)"
$at_quiet $as_echo_n " 86: $at_desc                 "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "86. mhpath.at:48: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhpath.at:48:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhpath 4-10 | remove_curdir
"
echo mhpath.at:48 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhpath 4-10 | remove_curdir
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhpath 4-10 | remove_curdir
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Mail/inbox/4
Mail/inbox/5
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mhpath.at:48"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_86
#AT_START_87
# 87. mhpath.at:57: mhpath msgs (all nonexistent)
at_setup_line='mhpath.at:57'
at_func_banner 12
at_desc="mhpath msgs (all nonexistent)"
$at_quiet $as_echo_n " 87: $at_desc                  "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "87. mhpath.at:57: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhpath.at:57:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhpath 8-10 | remove_curdir
"
echo mhpath.at:57 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhpath 8-10 | remove_curdir
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhpath 8-10 | remove_curdir
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
echo >>"$at_stderr"; $as_echo "mhpath: no messages in range 8-10
" | \
  $at_diff - "$at_stderr" || at_failed=:
at_func_diff_devnull "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mhpath.at:57"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_87
#AT_START_88
# 88. mhpath.at:88: mhpath nonexistent
at_setup_line='mhpath.at:88'
at_func_banner 12
at_desc="mhpath nonexistent"
$at_quiet $as_echo_n " 88: $at_desc                             "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "88. mhpath.at:88: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhpath.at:88:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhpath 10 | remove_curdir
"
echo mhpath.at:88 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhpath 10 | remove_curdir
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhpath 10 | remove_curdir
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
echo >>"$at_stderr"; $as_echo "mhpath: message 10 does not exist
" | \
  $at_diff - "$at_stderr" || at_failed=:
at_func_diff_devnull "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mhpath.at:88"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_88
#AT_START_89
# 89. mhpath.at:97: mhpath new
at_setup_line='mhpath.at:97'
at_func_banner 12
at_desc="mhpath new"
$at_quiet $as_echo_n " 89: $at_desc                                     "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "89. mhpath.at:97: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhpath.at:97:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhpath new | remove_curdir
"
echo mhpath.at:97 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhpath new | remove_curdir
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhpath new | remove_curdir
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Mail/inbox/6
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mhpath.at:97"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_89
#AT_START_90
# 90. mhl.at:20: mhl
at_setup_line='mhl.at:20'
at_func_banner 13
at_desc="mhl"
$at_quiet $as_echo_n " 90: $at_desc                                            "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "90. mhl.at:20: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhl.at:20:




cp -r \$abs_top_srcdir/testsuite/mh/teaparty Mail/inbox
if test -e Mail/inbox/teaparty; then

# First, set all modes to 700
find Mail/inbox/teaparty | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/teaparty -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhl -form mhl.format Mail/inbox/2
"
echo mhl.at:20 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/teaparty Mail/inbox
if test -e Mail/inbox/teaparty; then

# First, set all modes to 700
find Mail/inbox/teaparty | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/teaparty -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhl -form mhl.format Mail/inbox/2
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/teaparty Mail/inbox
if test -e Mail/inbox/teaparty; then

# First, set all modes to 700
find Mail/inbox/teaparty | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/teaparty -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhl -form mhl.format Mail/inbox/2
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo " -- using template mhl.format --
Date:    Mon, 29 Jul 2002 22:00:02 +0100
To:      March Hare  <hare@wonder.land>

From:    Alice  <alice@wonder.land>
Subject: Re: Invitation

X-Envelope-Date: Mon Jul 29 22:00:09 2002
X-Envelope-Sender: alice@wonder.land

I don't see any wine
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mhl.at:20"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_90
#AT_START_91
# 91. mhl.at:38: mhl repl
at_setup_line='mhl.at:38'
at_func_banner 13
at_desc="mhl repl"
$at_quiet $as_echo_n " 91: $at_desc                                       "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "91. mhl.at:38: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhl.at:38:




cp -r \$abs_top_srcdir/testsuite/mh/teaparty Mail/inbox
if test -e Mail/inbox/teaparty; then

# First, set all modes to 700
find Mail/inbox/teaparty | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/teaparty -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhl -form mhl.repl Mail/inbox/15
"
echo mhl.at:38 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/teaparty Mail/inbox
if test -e Mail/inbox/teaparty; then

# First, set all modes to 700
find Mail/inbox/teaparty | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/teaparty -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhl -form mhl.repl Mail/inbox/15
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/teaparty Mail/inbox
if test -e Mail/inbox/teaparty; then

# First, set all modes to 700
find Mail/inbox/teaparty | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/teaparty -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhl -form mhl.repl Mail/inbox/15
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "
         Not the same thing a bit! You might just
         as well say that \"I see what I eat\" is the same thing as \"I eat
         what I see\"!
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mhl.at:38"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_91
#AT_START_92
# 92. mhl.at:49: mhl usenet
at_setup_line='mhl.at:49'
at_func_banner 13
at_desc="mhl usenet"
$at_quiet $as_echo_n " 92: $at_desc                                     "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "92. mhl.at:49: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhl.at:49:




cp -r \$abs_top_srcdir/testsuite/mh/teaparty Mail/inbox
if test -e Mail/inbox/teaparty; then

# First, set all modes to 700
find Mail/inbox/teaparty | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/teaparty -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhl -form mhl.usenet Mail/inbox/15
"
echo mhl.at:49 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/teaparty Mail/inbox
if test -e Mail/inbox/teaparty; then

# First, set all modes to 700
find Mail/inbox/teaparty | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/teaparty -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhl -form mhl.usenet Mail/inbox/15
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/teaparty Mail/inbox
if test -e Mail/inbox/teaparty; then

# First, set all modes to 700
find Mail/inbox/teaparty | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/teaparty -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhl -form mhl.usenet Mail/inbox/15
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "
In message <200207292200.3315@wonder.land>, Hatter writes:
>Not the same thing a bit! You might just
>as well say that \"I see what I eat\" is the same thing as \"I eat
>what I see\"!
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mhl.at:49"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_92
#AT_START_93
# 93. anno.at:20: anno
at_setup_line='anno.at:20'
at_func_banner 14
at_desc="anno"
$at_quiet $as_echo_n " 93: $at_desc                                           "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "93. anno.at:20: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/anno.at:20:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo \"Current-Folder: inbox\" > Mail/context
echo \"cur: 1\" > Mail/inbox/.mh_sequences
echo Replied | anno || exit \$?
sed -n '1{s/Replied: .*/REPLIED/p;}' Mail/inbox/1
"
echo anno.at:20 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo "Current-Folder: inbox" > Mail/context
echo "cur: 1" > Mail/inbox/.mh_sequences
echo Replied | anno || exit $?
sed -n '1{s/Replied: .*/REPLIED/p;}' Mail/inbox/1
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo "Current-Folder: inbox" > Mail/context
echo "cur: 1" > Mail/inbox/.mh_sequences
echo Replied | anno || exit $?
sed -n '1{s/Replied: .*/REPLIED/p;}' Mail/inbox/1
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "REPLIED
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/anno.at:20"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_93
#AT_START_94
# 94. anno.at:31: anno -component
at_setup_line='anno.at:31'
at_func_banner 14
at_desc="anno -component"
$at_quiet $as_echo_n " 94: $at_desc                                "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "94. anno.at:31: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/anno.at:31:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo \"Current-Folder: inbox\" > Mail/context
anno -component Replied 1 || exit \$?
sed -n '1{s/Replied: .*/REPLIED/p;}' Mail/inbox/1
"
echo anno.at:31 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo "Current-Folder: inbox" > Mail/context
anno -component Replied 1 || exit $?
sed -n '1{s/Replied: .*/REPLIED/p;}' Mail/inbox/1
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo "Current-Folder: inbox" > Mail/context
anno -component Replied 1 || exit $?
sed -n '1{s/Replied: .*/REPLIED/p;}' Mail/inbox/1
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "REPLIED
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/anno.at:31"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_94
#AT_START_95
# 95. anno.at:41: anno -component -text
at_setup_line='anno.at:41'
at_func_banner 14
at_desc="anno -component -text"
$at_quiet $as_echo_n " 95: $at_desc                          "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "95. anno.at:41: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/anno.at:41:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo \"Current-Folder: inbox\" > Mail/context
anno -component Replied -text OK 1 || exit \$?
sed -n '3,\$d;/Replied/{s/Replied: [A-Z][a-z][a-z], [0-9][0-9] [A-Z][a-z][a-z] [0-9][0-9][0-9][0-9] [0-9][0-9]:[0-9][0-9]:[0-9][0-9] .*/Replied: DATE/;p;}' Mail/inbox/1
"
echo anno.at:41 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo "Current-Folder: inbox" > Mail/context
anno -component Replied -text OK 1 || exit $?
sed -n '3,$d;/Replied/{s/Replied: [A-Z][a-z][a-z], [0-9][0-9] [A-Z][a-z][a-z] [0-9][0-9][0-9][0-9] [0-9][0-9]:[0-9][0-9]:[0-9][0-9] .*/Replied: DATE/;p;}' Mail/inbox/1
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo "Current-Folder: inbox" > Mail/context
anno -component Replied -text OK 1 || exit $?
sed -n '3,$d;/Replied/{s/Replied: [A-Z][a-z][a-z], [0-9][0-9] [A-Z][a-z][a-z] [0-9][0-9][0-9][0-9] [0-9][0-9]:[0-9][0-9]:[0-9][0-9] .*/Replied: DATE/;p;}' Mail/inbox/1
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Replied: OK
Replied: DATE
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/anno.at:41"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_95
#AT_START_96
# 96. anno.at:52: anno -component -text -nodate
at_setup_line='anno.at:52'
at_func_banner 14
at_desc="anno -component -text -nodate"
$at_quiet $as_echo_n " 96: $at_desc                  "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "96. anno.at:52: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/anno.at:52:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo \"Current-Folder: inbox\" > Mail/context
anno -component Replied -text OK -nodate 1 || exit \$?
sed -n '3,\$d;/Replied/{s/Replied: [A-Z][a-z][a-z], [0-9][0-9] [A-Z][a-z][a-z] [0-9][0-9][0-9][0-9] [0-9][0-9]:[0-9][0-9]:[0-9][0-9] .*/Replied: DATE/;p;}' Mail/inbox/1
"
echo anno.at:52 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo "Current-Folder: inbox" > Mail/context
anno -component Replied -text OK -nodate 1 || exit $?
sed -n '3,$d;/Replied/{s/Replied: [A-Z][a-z][a-z], [0-9][0-9] [A-Z][a-z][a-z] [0-9][0-9][0-9][0-9] [0-9][0-9]:[0-9][0-9]:[0-9][0-9] .*/Replied: DATE/;p;}' Mail/inbox/1
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo "Current-Folder: inbox" > Mail/context
anno -component Replied -text OK -nodate 1 || exit $?
sed -n '3,$d;/Replied/{s/Replied: [A-Z][a-z][a-z], [0-9][0-9] [A-Z][a-z][a-z] [0-9][0-9][0-9][0-9] [0-9][0-9]:[0-9][0-9]:[0-9][0-9] .*/Replied: DATE/;p;}' Mail/inbox/1
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Replied: OK
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/anno.at:52"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_96
#AT_START_97
# 97. pick.at:20: pick -from
at_setup_line='pick.at:20'
at_func_banner 15
at_desc="pick -from"
$at_quiet $as_echo_n " 97: $at_desc                                     "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "97. pick.at:20: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/pick.at:20:




cp -r \$abs_top_srcdir/testsuite/mh/teaparty Mail/inbox
if test -e Mail/inbox/teaparty; then

# First, set all modes to +w
find Mail/inbox/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo \"Current-Folder: inbox\" > Mail/context
echo \"cur: 1\" > Mail/inbox/.mh_sequences
pick -from dormouse
"
echo pick.at:20 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/teaparty Mail/inbox
if test -e Mail/inbox/teaparty; then

# First, set all modes to +w
find Mail/inbox/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo "Current-Folder: inbox" > Mail/context
echo "cur: 1" > Mail/inbox/.mh_sequences
pick -from dormouse
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/teaparty Mail/inbox
if test -e Mail/inbox/teaparty; then

# First, set all modes to +w
find Mail/inbox/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo "Current-Folder: inbox" > Mail/context
echo "cur: 1" > Mail/inbox/.mh_sequences
pick -from dormouse
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "17
31
49
61
65
67
69
77
79
81
83
88
89
91
92
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/pick.at:20"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_97
#AT_START_98
# 98. pick.at:44: pick -from -sequence
at_setup_line='pick.at:44'
at_func_banner 15
at_desc="pick -from -sequence"
$at_quiet $as_echo_n " 98: $at_desc                           "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "98. pick.at:44: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/pick.at:44:




cp -r \$abs_top_srcdir/testsuite/mh/teaparty Mail/inbox
if test -e Mail/inbox/teaparty; then

# First, set all modes to +w
find Mail/inbox/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo \"Current-Folder: inbox\" > Mail/context
echo \"cur: 1\" > Mail/inbox/.mh_sequences
pick -from dormouse -sequence dormouse || exit \$?
sed -n '/^dormouse:/{s/  */ /g;s/ \$//;p;}' Mail/inbox/.mh_sequences
"
echo pick.at:44 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/teaparty Mail/inbox
if test -e Mail/inbox/teaparty; then

# First, set all modes to +w
find Mail/inbox/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo "Current-Folder: inbox" > Mail/context
echo "cur: 1" > Mail/inbox/.mh_sequences
pick -from dormouse -sequence dormouse || exit $?
sed -n '/^dormouse:/{s/  */ /g;s/ $//;p;}' Mail/inbox/.mh_sequences
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/teaparty Mail/inbox
if test -e Mail/inbox/teaparty; then

# First, set all modes to +w
find Mail/inbox/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo "Current-Folder: inbox" > Mail/context
echo "cur: 1" > Mail/inbox/.mh_sequences
pick -from dormouse -sequence dormouse || exit $?
sed -n '/^dormouse:/{s/  */ /g;s/ $//;p;}' Mail/inbox/.mh_sequences
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "dormouse: 17 31 49 61 65 67 69 77 79 81 83 88 89 91 92
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/pick.at:44"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_98
#AT_START_99
# 99. pick.at:55: pick -search
at_setup_line='pick.at:55'
at_func_banner 15
at_desc="pick -search"
$at_quiet $as_echo_n " 99: $at_desc                                   "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "99. pick.at:55: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/pick.at:55:




cp -r \$abs_top_srcdir/testsuite/mh/teaparty Mail/inbox
if test -e Mail/inbox/teaparty; then

# First, set all modes to +w
find Mail/inbox/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo \"Current-Folder: inbox\" > Mail/context
echo \"cur: 1\" > Mail/inbox/.mh_sequences
pick -search 'Why not'
"
echo pick.at:55 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/teaparty Mail/inbox
if test -e Mail/inbox/teaparty; then

# First, set all modes to +w
find Mail/inbox/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo "Current-Folder: inbox" > Mail/context
echo "cur: 1" > Mail/inbox/.mh_sequences
pick -search 'Why not'
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/teaparty Mail/inbox
if test -e Mail/inbox/teaparty; then

# First, set all modes to +w
find Mail/inbox/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo "Current-Folder: inbox" > Mail/context
echo "cur: 1" > Mail/inbox/.mh_sequences
pick -search 'Why not'
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "91
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/pick.at:55"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_99
#AT_START_100
# 100. pick.at:65: pick -search regex
at_setup_line='pick.at:65'
at_func_banner 15
at_desc="pick -search regex"
$at_quiet $as_echo_n "100: $at_desc                             "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "100. pick.at:65: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/pick.at:65:




cp -r \$abs_top_srcdir/testsuite/mh/teaparty Mail/inbox
if test -e Mail/inbox/teaparty; then

# First, set all modes to +w
find Mail/inbox/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo \"Current-Folder: inbox\" > Mail/context
echo \"cur: 1\" > Mail/inbox/.mh_sequences
pick -search 'I.*think'
"
echo pick.at:65 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/teaparty Mail/inbox
if test -e Mail/inbox/teaparty; then

# First, set all modes to +w
find Mail/inbox/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo "Current-Folder: inbox" > Mail/context
echo "cur: 1" > Mail/inbox/.mh_sequences
pick -search 'I.*think'
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/teaparty Mail/inbox
if test -e Mail/inbox/teaparty; then

# First, set all modes to +w
find Mail/inbox/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo "Current-Folder: inbox" > Mail/context
echo "cur: 1" > Mail/inbox/.mh_sequences
pick -search 'I.*think'
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "36
86
93
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/pick.at:65"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_100
#AT_START_101
# 101. pick.at:77: pick -subject -from
at_setup_line='pick.at:77'
at_func_banner 15
at_desc="pick -subject -from"
$at_quiet $as_echo_n "101: $at_desc                            "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "101. pick.at:77: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/pick.at:77:




cp -r \$abs_top_srcdir/testsuite/mh/teaparty Mail/inbox
if test -e Mail/inbox/teaparty; then

# First, set all modes to +w
find Mail/inbox/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo \"Current-Folder: inbox\" > Mail/context
echo \"cur: 1\" > Mail/inbox/.mh_sequences
pick -subject Story -from Dormouse
"
echo pick.at:77 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/teaparty Mail/inbox
if test -e Mail/inbox/teaparty; then

# First, set all modes to +w
find Mail/inbox/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo "Current-Folder: inbox" > Mail/context
echo "cur: 1" > Mail/inbox/.mh_sequences
pick -subject Story -from Dormouse
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/teaparty Mail/inbox
if test -e Mail/inbox/teaparty; then

# First, set all modes to +w
find Mail/inbox/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo "Current-Folder: inbox" > Mail/context
echo "cur: 1" > Mail/inbox/.mh_sequences
pick -subject Story -from Dormouse
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "61
65
67
69
77
79
81
83
88
89
91
92
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/pick.at:77"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_101
#AT_START_102
# 102. pick.at:98: pick -subject -and -from
at_setup_line='pick.at:98'
at_func_banner 15
at_desc="pick -subject -and -from"
$at_quiet $as_echo_n "102: $at_desc                       "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "102. pick.at:98: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/pick.at:98:




cp -r \$abs_top_srcdir/testsuite/mh/teaparty Mail/inbox
if test -e Mail/inbox/teaparty; then

# First, set all modes to +w
find Mail/inbox/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo \"Current-Folder: inbox\" > Mail/context
echo \"cur: 1\" > Mail/inbox/.mh_sequences
pick -subject Story -and -from Dormouse
"
echo pick.at:98 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/teaparty Mail/inbox
if test -e Mail/inbox/teaparty; then

# First, set all modes to +w
find Mail/inbox/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo "Current-Folder: inbox" > Mail/context
echo "cur: 1" > Mail/inbox/.mh_sequences
pick -subject Story -and -from Dormouse
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/teaparty Mail/inbox
if test -e Mail/inbox/teaparty; then

# First, set all modes to +w
find Mail/inbox/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo "Current-Folder: inbox" > Mail/context
echo "cur: 1" > Mail/inbox/.mh_sequences
pick -subject Story -and -from Dormouse
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "61
65
67
69
77
79
81
83
88
89
91
92
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/pick.at:98"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_102
#AT_START_103
# 103. pick.at:119: pick -subject -or -from
at_setup_line='pick.at:119'
at_func_banner 15
at_desc="pick -subject -or -from"
$at_quiet $as_echo_n "103: $at_desc                        "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "103. pick.at:119: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/pick.at:119:




cp -r \$abs_top_srcdir/testsuite/mh/teaparty Mail/inbox
if test -e Mail/inbox/teaparty; then

# First, set all modes to +w
find Mail/inbox/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo \"Current-Folder: inbox\" > Mail/context
echo \"cur: 1\" > Mail/inbox/.mh_sequences
pick -subject Story -or -from Dormouse
"
echo pick.at:119 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/teaparty Mail/inbox
if test -e Mail/inbox/teaparty; then

# First, set all modes to +w
find Mail/inbox/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo "Current-Folder: inbox" > Mail/context
echo "cur: 1" > Mail/inbox/.mh_sequences
pick -subject Story -or -from Dormouse
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/teaparty Mail/inbox
if test -e Mail/inbox/teaparty; then

# First, set all modes to +w
find Mail/inbox/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo "Current-Folder: inbox" > Mail/context
echo "cur: 1" > Mail/inbox/.mh_sequences
pick -subject Story -or -from Dormouse
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "17
31
49
58
59
60
61
62
63
64
65
66
67
68
69
70
76
77
78
79
80
81
82
83
85
86
87
88
89
90
91
92
93
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/pick.at:119"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_103
#AT_START_104
# 104. pick.at:161: pick: default precedence
at_setup_line='pick.at:161'
at_func_banner 15
at_desc="pick: default precedence"
$at_quiet $as_echo_n "104: $at_desc                       "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "104. pick.at:161: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/pick.at:161:




cp -r \$abs_top_srcdir/testsuite/mh/teaparty Mail/inbox
if test -e Mail/inbox/teaparty; then

# First, set all modes to +w
find Mail/inbox/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo \"Current-Folder: inbox\" > Mail/context
echo \"cur: 1\" > Mail/inbox/.mh_sequences
pick -subject Story -and -from Dormouse -or -from Alice
"
echo pick.at:161 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/teaparty Mail/inbox
if test -e Mail/inbox/teaparty; then

# First, set all modes to +w
find Mail/inbox/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo "Current-Folder: inbox" > Mail/context
echo "cur: 1" > Mail/inbox/.mh_sequences
pick -subject Story -and -from Dormouse -or -from Alice
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/teaparty Mail/inbox
if test -e Mail/inbox/teaparty; then

# First, set all modes to +w
find Mail/inbox/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo "Current-Folder: inbox" > Mail/context
echo "cur: 1" > Mail/inbox/.mh_sequences
pick -subject Story -and -from Dormouse -or -from Alice
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "2
4
6
8
10
12
14
20
25
27
29
33
36
38
40
43
45
47
51
53
55
57
59
61
63
65
66
67
68
69
70
72
74
76
77
78
79
80
81
82
83
85
87
88
89
90
91
92
93
95
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/pick.at:161"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_104
#AT_START_105
# 105. pick.at:220: pick: explicit precedence (1)
at_setup_line='pick.at:220'
at_func_banner 15
at_desc="pick: explicit precedence (1)"
$at_quiet $as_echo_n "105: $at_desc                  "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "105. pick.at:220: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/pick.at:220:




cp -r \$abs_top_srcdir/testsuite/mh/teaparty Mail/inbox
if test -e Mail/inbox/teaparty; then

# First, set all modes to +w
find Mail/inbox/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo \"Current-Folder: inbox\" > Mail/context
echo \"cur: 1\" > Mail/inbox/.mh_sequences
pick -lbrace -subject Story -and -from Dormouse -rbrace -or -from Alice
"
echo pick.at:220 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/teaparty Mail/inbox
if test -e Mail/inbox/teaparty; then

# First, set all modes to +w
find Mail/inbox/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo "Current-Folder: inbox" > Mail/context
echo "cur: 1" > Mail/inbox/.mh_sequences
pick -lbrace -subject Story -and -from Dormouse -rbrace -or -from Alice
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/teaparty Mail/inbox
if test -e Mail/inbox/teaparty; then

# First, set all modes to +w
find Mail/inbox/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo "Current-Folder: inbox" > Mail/context
echo "cur: 1" > Mail/inbox/.mh_sequences
pick -lbrace -subject Story -and -from Dormouse -rbrace -or -from Alice
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "2
4
6
8
10
12
14
20
25
27
29
33
36
38
40
43
45
47
51
53
55
57
59
61
63
65
66
67
68
69
70
72
74
76
77
78
79
80
81
82
83
85
87
88
89
90
91
92
93
95
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/pick.at:220"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_105
#AT_START_106
# 106. pick.at:279: pick: explicit precedence (2)
at_setup_line='pick.at:279'
at_func_banner 15
at_desc="pick: explicit precedence (2)"
$at_quiet $as_echo_n "106: $at_desc                  "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "106. pick.at:279: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/pick.at:279:




cp -r \$abs_top_srcdir/testsuite/mh/teaparty Mail/inbox
if test -e Mail/inbox/teaparty; then

# First, set all modes to +w
find Mail/inbox/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo \"Current-Folder: inbox\" > Mail/context
echo \"cur: 1\" > Mail/inbox/.mh_sequences
pick -subject Story -and -lbrace -from Dormouse -or -from Alice -rbrace
"
echo pick.at:279 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/teaparty Mail/inbox
if test -e Mail/inbox/teaparty; then

# First, set all modes to +w
find Mail/inbox/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo "Current-Folder: inbox" > Mail/context
echo "cur: 1" > Mail/inbox/.mh_sequences
pick -subject Story -and -lbrace -from Dormouse -or -from Alice -rbrace
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/teaparty Mail/inbox
if test -e Mail/inbox/teaparty; then

# First, set all modes to +w
find Mail/inbox/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo "Current-Folder: inbox" > Mail/context
echo "cur: 1" > Mail/inbox/.mh_sequences
pick -subject Story -and -lbrace -from Dormouse -or -from Alice -rbrace
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "59
61
63
65
66
67
68
69
70
76
77
78
79
80
81
82
83
85
87
88
89
90
91
92
93
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/pick.at:279"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_106
#AT_START_107
# 107. pick.at:313: pick -before
at_setup_line='pick.at:313'
at_func_banner 15
at_desc="pick -before"
$at_quiet $as_echo_n "107: $at_desc                                   "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "107. pick.at:313: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/pick.at:313:




cp -r \$abs_top_srcdir/testsuite/mh/teaparty Mail/inbox
if test -e Mail/inbox/teaparty; then

# First, set all modes to +w
find Mail/inbox/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo \"Current-Folder: inbox\" > Mail/context
pick -before 'Mon, 29 Jul 2002 21:00:03 +0000'
"
echo pick.at:313 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/teaparty Mail/inbox
if test -e Mail/inbox/teaparty; then

# First, set all modes to +w
find Mail/inbox/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo "Current-Folder: inbox" > Mail/context
pick -before 'Mon, 29 Jul 2002 21:00:03 +0000'
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/teaparty Mail/inbox
if test -e Mail/inbox/teaparty; then

# First, set all modes to +w
find Mail/inbox/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo "Current-Folder: inbox" > Mail/context
pick -before 'Mon, 29 Jul 2002 21:00:03 +0000'
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "1
2
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/pick.at:313"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_107
#AT_START_108
# 108. pick.at:323: pick --Component pattern
at_setup_line='pick.at:323'
at_func_banner 15
at_desc="pick --Component pattern"
$at_quiet $as_echo_n "108: $at_desc                       "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "108. pick.at:323: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/pick.at:323:




cp -r \$abs_top_srcdir/testsuite/mh/teaparty Mail/inbox
if test -e Mail/inbox/teaparty; then

# First, set all modes to +w
find Mail/inbox/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



pick --X-Envelope-Sender hare
"
echo pick.at:323 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/teaparty Mail/inbox
if test -e Mail/inbox/teaparty; then

# First, set all modes to +w
find Mail/inbox/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



pick --X-Envelope-Sender hare
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/teaparty Mail/inbox
if test -e Mail/inbox/teaparty; then

# First, set all modes to +w
find Mail/inbox/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



pick --X-Envelope-Sender hare
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "1
3
5
7
9
11
13
16
22
24
35
42
58
62
71
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/pick.at:323"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_108
#AT_START_109
# 109. burst.at:20: burst digest
at_setup_line='burst.at:20'
at_func_banner 16
at_desc="burst digest"
$at_quiet $as_echo_n "109: $at_desc                                   "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "109. burst.at:20: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/burst.at:20:
mkdir Mail/inbox
cat >Mail/inbox/1 <<'_ATEOF'
From: Sergey Poznyakoff <gray@example.net>
To: root@example.com
Subject: digest

Initial text.

------- Forwarded message
From: Puszcza hackers
To: Sergey Poznyakoff <gray@gnu.org>
Subject: Hello

Greetings
- ---------
How are you?
------- End of Forwarded message

Regards,
Sergey
_ATEOF


burst +inbox 1 || exit \$?
grep -v ^X-Envelope- Mail/inbox/2
grep -v ^X-Envelope- Mail/inbox/3
grep -v ^X-Envelope- Mail/inbox/4
"
echo burst.at:20 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;
mkdir Mail/inbox
cat >Mail/inbox/1 <<'_ATEOF'
From: Sergey Poznyakoff <gray@example.net>
To: root@example.com
Subject: digest

Initial text.

------- Forwarded message
From: Puszcza hackers
To: Sergey Poznyakoff <gray@gnu.org>
Subject: Hello

Greetings
- ---------
How are you?
------- End of Forwarded message

Regards,
Sergey
_ATEOF


burst +inbox 1 || exit $?
grep -v ^X-Envelope- Mail/inbox/2
grep -v ^X-Envelope- Mail/inbox/3
grep -v ^X-Envelope- Mail/inbox/4
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;
mkdir Mail/inbox
cat >Mail/inbox/1 <<'_ATEOF'
From: Sergey Poznyakoff <gray@example.net>
To: root@example.com
Subject: digest

Initial text.

------- Forwarded message
From: Puszcza hackers
To: Sergey Poznyakoff <gray@gnu.org>
Subject: Hello

Greetings
- ---------
How are you?
------- End of Forwarded message

Regards,
Sergey
_ATEOF


burst +inbox 1 || exit $?
grep -v ^X-Envelope- Mail/inbox/2
grep -v ^X-Envelope- Mail/inbox/3
grep -v ^X-Envelope- Mail/inbox/4
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "X-Burst-Part: 1 1 01
From: Sergey Poznyakoff <gray@example.net>
To: root@example.com
Subject: digest

Initial text.

X-Burst-Part: 1 2 02
From: Puszcza hackers
To: Sergey Poznyakoff <gray@gnu.org>
Subject: Hello

Greetings
---------
How are you?
X-Burst-Part: 1 3 00

Regards,
Sergey
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/burst.at:20"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_109
#AT_START_110
# 110. burst.at:70: burst digest /w EB length limit
at_setup_line='burst.at:70'
at_func_banner 16
at_desc="burst digest /w EB length limit"
$at_quiet $as_echo_n "110: $at_desc                "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "110. burst.at:70: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/burst.at:70:
mkdir Mail/inbox
cat >Mail/inbox/1 <<'_ATEOF'
From: Sergey Poznyakoff <gray@example.net>
To: root@example.com
Subject: digest

Initial text.

------- Forwarded message
From: Puszcza hackers
To: Sergey Poznyakoff <gray@gnu.org>
Subject: Hello

Greetings
-----
How are you?
------- End of Forwarded message

Regards,
Sergey
_ATEOF


burst +inbox --length=7 1 || exit \$?
grep -v ^X-Envelope- Mail/inbox/2
grep -v ^X-Envelope- Mail/inbox/3
grep -v ^X-Envelope- Mail/inbox/4
"
echo burst.at:70 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;
mkdir Mail/inbox
cat >Mail/inbox/1 <<'_ATEOF'
From: Sergey Poznyakoff <gray@example.net>
To: root@example.com
Subject: digest

Initial text.

------- Forwarded message
From: Puszcza hackers
To: Sergey Poznyakoff <gray@gnu.org>
Subject: Hello

Greetings
-----
How are you?
------- End of Forwarded message

Regards,
Sergey
_ATEOF


burst +inbox --length=7 1 || exit $?
grep -v ^X-Envelope- Mail/inbox/2
grep -v ^X-Envelope- Mail/inbox/3
grep -v ^X-Envelope- Mail/inbox/4
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;
mkdir Mail/inbox
cat >Mail/inbox/1 <<'_ATEOF'
From: Sergey Poznyakoff <gray@example.net>
To: root@example.com
Subject: digest

Initial text.

------- Forwarded message
From: Puszcza hackers
To: Sergey Poznyakoff <gray@gnu.org>
Subject: Hello

Greetings
-----
How are you?
------- End of Forwarded message

Regards,
Sergey
_ATEOF


burst +inbox --length=7 1 || exit $?
grep -v ^X-Envelope- Mail/inbox/2
grep -v ^X-Envelope- Mail/inbox/3
grep -v ^X-Envelope- Mail/inbox/4
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "X-Burst-Part: 1 1 01
From: Sergey Poznyakoff <gray@example.net>
To: root@example.com
Subject: digest

Initial text.

X-Burst-Part: 1 2 02
From: Puszcza hackers
To: Sergey Poznyakoff <gray@gnu.org>
Subject: Hello

Greetings
-----
How are you?
X-Burst-Part: 1 3 00

Regards,
Sergey
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/burst.at:70"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_110
#AT_START_111
# 111. burst.at:120: burst mime
at_setup_line='burst.at:120'
at_func_banner 16
at_desc="burst mime"
$at_quiet $as_echo_n "111: $at_desc                                     "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "111. burst.at:120: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/burst.at:120:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



burst +inbox 3 || exit \$?
grep -v ^X-Envelope- Mail/inbox/6
"
echo burst.at:120 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



burst +inbox 3 || exit $?
grep -v ^X-Envelope- Mail/inbox/6
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



burst +inbox 3 || exit $?
grep -v ^X-Envelope- Mail/inbox/6
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Content-Type: text/plain; name=\"msg.1\"; charset=\"us-ascii\"
Content-ID: <5082.1026510189.1@example.net>
Content-Description: How doth

How doth the little crocodile
Improve his shining tail,
And pour the waters of the Nile
On every golden scale!

\`How cheerfully he seems to grin,
How neatly spread his claws,
And welcome little fishes in
With gently smiling jaws!
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/burst.at:120"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_111
#AT_START_112
# 112. burst.at:141: burst mime recursive
at_setup_line='burst.at:141'
at_func_banner 16
at_desc="burst mime recursive"
$at_quiet $as_echo_n "112: $at_desc                           "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "112. burst.at:141: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/burst.at:141:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



burst +inbox --recursive 4 || exit \$?
grep -v ^X-Envelope- Mail/inbox/6
grep -v ^X-Envelope- Mail/inbox/7
grep -v ^X-Envelope- Mail/inbox/8
grep -v ^X-Envelope- Mail/inbox/9
"
echo burst.at:141 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



burst +inbox --recursive 4 || exit $?
grep -v ^X-Envelope- Mail/inbox/6
grep -v ^X-Envelope- Mail/inbox/7
grep -v ^X-Envelope- Mail/inbox/8
grep -v ^X-Envelope- Mail/inbox/9
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



burst +inbox --recursive 4 || exit $?
grep -v ^X-Envelope- Mail/inbox/6
grep -v ^X-Envelope- Mail/inbox/7
grep -v ^X-Envelope- Mail/inbox/8
grep -v ^X-Envelope- Mail/inbox/9
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Content-Type: text/plain; name=\"msg.21\"; charset=\"us-ascii\"
Content-ID: <5122.1026510654.2@example.net>
Content-Description: Father William Part I

\`You are old, Father William,' the young man said,
\`And your hair has become very white;
And yet you incessantly stand on your head--
Do you think, at your age, it is right?'

\`In my youth,' Father William replied to his son,
\`I feared it might injure the brain;
But, now that I'm perfectly sure I have none,
Why, I do it again and again.'

Content-Type: application/octet-stream; name=\"msg.22\"
Content-ID: <5122.1026510654.4@example.net>
Content-Description: Father William Part II
Content-Transfer-Encoding: base64

YFlvdSBhcmUgb2xkLCcgc2FpZCB0aGUgeW91dGgsIGBhcyBJIG1lbnRpb25lZCBiZWZvcmUsCkFu
ZCBoYXZlIGdyb3duIG1vc3QgdW5jb21tb25seSBmYXQ7CllldCB5b3UgdHVybmVkIGEgYmFjay1z
b21lcnNhdWx0IGluIGF0IHRoZSBkb29yLS0KUHJheSwgd2hhdCBpcyB0aGUgcmVhc29uIG9mIHRo
YXQ/JwoKYEluIG15IHlvdXRoLCcgc2FpZCB0aGUgc2FnZSwgYXMgaGUgc2hvb2sgaGlzIGdyZXkg
bG9ja3MsCmBJIGtlcHQgYWxsIG15IGxpbWJzIHZlcnkgc3VwcGxlCkJ5IHRoZSB1c2Ugb2YgdGhp
cyBvaW50bWVudC0tb25lIHNoaWxsaW5nIHRoZSBib3gtLQpBbGxvdyBtZSB0byBzZWxsIHlvdSBh
IGNvdXBsZT8nCg==
Content-Type: application/octet-stream; name=\"msg.23\"
Content-ID: <5122.1026510654.6@example.net>
Content-Description: Father William Part III
Content-Transfer-Encoding: base64

YFlvdSBhcmUgb2xkLCcgc2FpZCB0aGUgeW91dGgsIGBhbmQgeW91ciBqYXdzIGFyZSB0b28gd2Vh
awpGb3IgYW55dGhpbmcgdG91Z2hlciB0aGFuIHN1ZXQ7CllldCB5b3UgZmluaXNoZWQgdGhlIGdv
b3NlLCB3aXRoIHRoZSBib25lcyBhbmQgdGhlIGJlYWstLQpQcmF5IGhvdyBkaWQgeW91IG1hbmFn
ZSB0byBkbyBpdD8nCgpgSW4gbXkgeW91dGgsJyBzYWlkIGhpcyBmYXRoZXIsIGBJIHRvb2sgdG8g
dGhlIGxhdywKQW5kIGFyZ3VlZCBlYWNoIGNhc2Ugd2l0aCBteSB3aWZlOwpBbmQgdGhlIG11c2N1
bGFyIHN0cmVuZ3RoLCB3aGljaCBpdCBnYXZlIHRvIG15IGphdywKSGFzIGxhc3RlZCB0aGUgcmVz
dCBvZiBteSBsaWZlLicK
Content-Type: application/octet-stream; name=\"msg.24\"
Content-ID: <5122.1026510654.7@example.net>
Content-Description: Father William Part IV
Content-Transfer-Encoding: base64

YFlvdSBhcmUgb2xkLCcgc2FpZCB0aGUgeW91dGgsIGBvbmUgd291bGQgaGFyZGx5IHN1cHBvc2UK
VGhhdCB5b3VyIGV5ZSB3YXMgYXMgc3RlYWR5IGFzIGV2ZXI7CllldCB5b3UgYmFsYW5jZWQgYW4g
ZWVsIG9uIHRoZSBlbmQgb2YgeW91ciBub3NlLS0KV2hhdCBtYWRlIHlvdSBzbyBhd2Z1bGx5IGNs
ZXZlcj8nCgpgSSBoYXZlIGFuc3dlcmVkIHRocmVlIHF1ZXN0aW9ucywgYW5kIHRoYXQgaXMgZW5v
dWdoLCcKU2FpZCBoaXMgZmF0aGVyOyBgZG9uJ3QgZ2l2ZSB5b3Vyc2VsZiBhaXJzIQpEbyB5b3Ug
dGhpbmsgSSBjYW4gbGlzdGVuIGFsbCBkYXkgdG8gc3VjaCBzdHVmZj8KQmUgb2ZmLCBvciBJJ2xs
IGtpY2sgeW91IGRvd24gc3RhaXJzIScK
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/burst.at:141"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_112
#AT_START_113
# 113. burst.at:202: burst non-digest
at_setup_line='burst.at:202'
at_func_banner 16
at_desc="burst non-digest"
$at_quiet $as_echo_n "113: $at_desc                               "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "113. burst.at:202: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/burst.at:202:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



burst +inbox 1 || exit \$?
"
echo burst.at:202 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



burst +inbox 1 || exit $?
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



burst +inbox 1 || exit $?
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
echo >>"$at_stderr"; $as_echo "burst: message 1 not in digest format
" | \
  $at_diff - "$at_stderr" || at_failed=:
at_func_diff_devnull "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/burst.at:202"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_113
#AT_START_114
# 114. comp.at:21: comp -file
at_setup_line='comp.at:21'
at_func_banner 17
at_desc="comp -file"
$at_quiet $as_echo_n "114: $at_desc                                     "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "114. comp.at:21: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/comp.at:21:
echo quit | comp -editor $abs_top_srcdir/mh/tests/mhed -file ./infile | remove_curdir | sed 's/ *\$//'
sed 's/ *\$//' infile
"
echo comp.at:21 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;
echo quit | comp -editor $abs_top_srcdir/mh/tests/mhed -file ./infile | remove_curdir | sed 's/ *$//'
sed 's/ *$//' infile
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;
echo quit | comp -editor $abs_top_srcdir/mh/tests/mhed -file ./infile | remove_curdir | sed 's/ *$//'
sed 's/ *$//' infile
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "-- Editor invocation: ./infile
-- Input file:
To:
cc:
Subject:
--------
-- Input file end
What now? draft left on \"./infile\".
To:
cc:
Subject:
--------
Seen by mhed
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/comp.at:21"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_114
#AT_START_115
# 115. comp.at:41: comp -file (del)
at_setup_line='comp.at:41'
at_func_banner 17
at_desc="comp -file (del)"
$at_quiet $as_echo_n "115: $at_desc                               "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "115. comp.at:41: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/comp.at:41:
echo 'quit -delete' | comp -editor $abs_top_srcdir/mh/tests/mhed -file ./infile | remove_curdir
"
echo comp.at:41 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;
echo 'quit -delete' | comp -editor $abs_top_srcdir/mh/tests/mhed -file ./infile | remove_curdir
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;
echo 'quit -delete' | comp -editor $abs_top_srcdir/mh/tests/mhed -file ./infile | remove_curdir
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "-- Editor invocation: ./infile
-- Input file:
To:
cc:
Subject:
--------
-- Input file end
What now?
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/comp.at:41"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_115
#AT_START_116
# 116. comp.at:55: comp file
at_setup_line='comp.at:55'
at_func_banner 17
at_desc="comp file"
$at_quiet $as_echo_n "116: $at_desc                                      "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "116. comp.at:55: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/comp.at:55:
echo 'quit' | comp -editor $abs_top_srcdir/mh/tests/mhed file | remove_curdir | sed 's/ *\$//'
sed 's/ *\$//' Mail/file
"
echo comp.at:55 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;
echo 'quit' | comp -editor $abs_top_srcdir/mh/tests/mhed file | remove_curdir | sed 's/ *$//'
sed 's/ *$//' Mail/file
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;
echo 'quit' | comp -editor $abs_top_srcdir/mh/tests/mhed file | remove_curdir | sed 's/ *$//'
sed 's/ *$//' Mail/file
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "-- Editor invocation: Mail/file
-- Input file:
To:
cc:
Subject:
--------
-- Input file end
What now? draft left on \"Mail/file\".
To:
cc:
Subject:
--------
Seen by mhed
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/comp.at:55"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_116
#AT_START_117
# 117. comp.at:75: comp -use file
at_setup_line='comp.at:75'
at_func_banner 17
at_desc="comp -use file"
$at_quiet $as_echo_n "117: $at_desc                                 "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "117. comp.at:75: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/comp.at:75:
cat >Mail/file <<'_ATEOF'
From: gray
To: root
Subject: test input

message body
_ATEOF


echo 'quit' | comp -editor $abs_top_srcdir/mh/tests/mhed -use file | remove_curdir | sed 's/ *\$//'
sed 's/ *\$//' Mail/file
"
echo comp.at:75 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;
cat >Mail/file <<'_ATEOF'
From: gray
To: root
Subject: test input

message body
_ATEOF


echo 'quit' | comp -editor $abs_top_srcdir/mh/tests/mhed -use file | remove_curdir | sed 's/ *$//'
sed 's/ *$//' Mail/file
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;
cat >Mail/file <<'_ATEOF'
From: gray
To: root
Subject: test input

message body
_ATEOF


echo 'quit' | comp -editor $abs_top_srcdir/mh/tests/mhed -use file | remove_curdir | sed 's/ *$//'
sed 's/ *$//' Mail/file
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "-- Editor invocation: Mail/file
-- Input file:
From: gray
To: root
Subject: test input

message body
-- Input file end
What now? draft left on \"Mail/file\".
From: gray
To: root
Subject: test input

message body
Seen by mhed
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/comp.at:75"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_117
#AT_START_118
# 118. comp.at:104: comp +folder msg
at_setup_line='comp.at:104'
at_func_banner 17
at_desc="comp +folder msg"
$at_quiet $as_echo_n "118: $at_desc                               "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "118. comp.at:104: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/comp.at:104:
mkdir Mail/inbox
cat >Mail/inbox/1 <<'_ATEOF'
From: gray
To: root
Subject: test input

message body
_ATEOF


echo 'quit' | comp -editor $abs_top_srcdir/mh/tests/mhed +inbox 1 | remove_curdir | sed 's/ *\$//'
echo Mail/draft
sed 's/ *\$//' Mail/draft
echo Message
sed 's/ *\$//' Mail/inbox/1
"
echo comp.at:104 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;
mkdir Mail/inbox
cat >Mail/inbox/1 <<'_ATEOF'
From: gray
To: root
Subject: test input

message body
_ATEOF


echo 'quit' | comp -editor $abs_top_srcdir/mh/tests/mhed +inbox 1 | remove_curdir | sed 's/ *$//'
echo Mail/draft
sed 's/ *$//' Mail/draft
echo Message
sed 's/ *$//' Mail/inbox/1
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;
mkdir Mail/inbox
cat >Mail/inbox/1 <<'_ATEOF'
From: gray
To: root
Subject: test input

message body
_ATEOF


echo 'quit' | comp -editor $abs_top_srcdir/mh/tests/mhed +inbox 1 | remove_curdir | sed 's/ *$//'
echo Mail/draft
sed 's/ *$//' Mail/draft
echo Message
sed 's/ *$//' Mail/inbox/1
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "-- Editor invocation: Mail/draft
-- Input file:
From: gray
To: root
Subject: test input

message body
-- Input file end
What now? draft left on \"Mail/draft\".
Mail/draft
From: gray
To: root
Subject: test input

message body
Seen by mhed
Message
From: gray
To: root
Subject: test input

message body
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/comp.at:104"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_118
#AT_START_119
# 119. comp.at:144: comp -draftfolder
at_setup_line='comp.at:144'
at_func_banner 17
at_desc="comp -draftfolder"
$at_quiet $as_echo_n "119: $at_desc                              "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "119. comp.at:144: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/comp.at:144:
mkdir Mail/drafts
echo 'quit' | comp -editor $abs_top_srcdir/mh/tests/mhed -draftfolder drafts | remove_curdir | sed 's/ *\$//'
sed 's/ *\$//' Mail/drafts/1
"
echo comp.at:144 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;
mkdir Mail/drafts
echo 'quit' | comp -editor $abs_top_srcdir/mh/tests/mhed -draftfolder drafts | remove_curdir | sed 's/ *$//'
sed 's/ *$//' Mail/drafts/1
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;
mkdir Mail/drafts
echo 'quit' | comp -editor $abs_top_srcdir/mh/tests/mhed -draftfolder drafts | remove_curdir | sed 's/ *$//'
sed 's/ *$//' Mail/drafts/1
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "-- Editor invocation: Mail/drafts/1
-- Input file:
To:
cc:
Subject:
--------
-- Input file end
What now? draft left on \"Mail/drafts/1\".
To:
cc:
Subject:
--------
Seen by mhed
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/comp.at:144"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_119
#AT_START_120
# 120. comp.at:165: comp +draftfolder -use
at_setup_line='comp.at:165'
at_func_banner 17
at_desc="comp +draftfolder -use"
$at_quiet $as_echo_n "120: $at_desc                         "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "120. comp.at:165: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/comp.at:165:
mkdir Mail/drafts
cat >Mail/drafts/1 <<'_ATEOF'
From: gray
To: root
Subject: test input

message body
_ATEOF

echo \"cur: 1\" > Mail/drafts/.mh_sequences

echo 'quit' | comp -editor $abs_top_srcdir/mh/tests/mhed -draftfolder drafts -use| remove_curdir | sed 's/ *\$//'
sed 's/ *\$//' Mail/drafts/1
"
echo comp.at:165 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;
mkdir Mail/drafts
cat >Mail/drafts/1 <<'_ATEOF'
From: gray
To: root
Subject: test input

message body
_ATEOF

echo "cur: 1" > Mail/drafts/.mh_sequences

echo 'quit' | comp -editor $abs_top_srcdir/mh/tests/mhed -draftfolder drafts -use| remove_curdir | sed 's/ *$//'
sed 's/ *$//' Mail/drafts/1
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;
mkdir Mail/drafts
cat >Mail/drafts/1 <<'_ATEOF'
From: gray
To: root
Subject: test input

message body
_ATEOF

echo "cur: 1" > Mail/drafts/.mh_sequences

echo 'quit' | comp -editor $abs_top_srcdir/mh/tests/mhed -draftfolder drafts -use| remove_curdir | sed 's/ *$//'
sed 's/ *$//' Mail/drafts/1
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "-- Editor invocation: Mail/drafts/1
-- Input file:
From: gray
To: root
Subject: test input

message body
-- Input file end
What now? draft left on \"Mail/drafts/1\".
From: gray
To: root
Subject: test input

message body
Seen by mhed
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/comp.at:165"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_120
#AT_START_121
# 121. forw.at:21: forw msg
at_setup_line='forw.at:21'
at_func_banner 18
at_desc="forw msg"
$at_quiet $as_echo_n "121: $at_desc                                       "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "121. forw.at:21: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/forw.at:21:
mkdir Mail/inbox
cat >Mail/inbox/1 <<'_ATEOF'
From: gray
To: root
Subject: test input

message body
_ATEOF


echo quit | forw -editor $abs_top_srcdir/mh/tests/mhed +inbox 1 | remove_curdir
echo == Mail/draft ==
cat Mail/draft
echo == Message ==
# FIXME: AMD adds this header to the first message.  Find a better way.
# See also the same sed hacks below.
sed '/^X-IMAPbase/d' Mail/inbox/1
"
echo forw.at:21 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;
mkdir Mail/inbox
cat >Mail/inbox/1 <<'_ATEOF'
From: gray
To: root
Subject: test input

message body
_ATEOF


echo quit | forw -editor $abs_top_srcdir/mh/tests/mhed +inbox 1 | remove_curdir
echo == Mail/draft ==
cat Mail/draft
echo == Message ==
# FIXME: AMD adds this header to the first message.  Find a better way.
# See also the same sed hacks below.
sed '/^X-IMAPbase/d' Mail/inbox/1
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;
mkdir Mail/inbox
cat >Mail/inbox/1 <<'_ATEOF'
From: gray
To: root
Subject: test input

message body
_ATEOF


echo quit | forw -editor $abs_top_srcdir/mh/tests/mhed +inbox 1 | remove_curdir
echo == Mail/draft ==
cat Mail/draft
echo == Message ==
# FIXME: AMD adds this header to the first message.  Find a better way.
# See also the same sed hacks below.
sed '/^X-IMAPbase/d' Mail/inbox/1
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "-- Editor invocation: Mail/draft
-- Input file:
To:
cc:
Subject:
--------

------- Forwarded message
From: gray
To: root
Subject: test input

message body

------- End of Forwarded message

-- Input file end
What now? draft left on \"Mail/draft\".
== Mail/draft ==
To:
cc:
Subject:
--------

------- Forwarded message
From: gray
To: root
Subject: test input

message body

------- End of Forwarded message

Seen by mhed
== Message ==
From: gray
To: root
Subject: test input

message body
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/forw.at:21"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_121
#AT_START_122
# 122. forw.at:81: forw -format msg
at_setup_line='forw.at:81'
at_func_banner 18
at_desc="forw -format msg"
$at_quiet $as_echo_n "122: $at_desc                               "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "122. forw.at:81: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/forw.at:81:
mkdir Mail/inbox
cat >Mail/inbox/1 <<'_ATEOF'
From: gray
To: root
Subject: test input

message body
_ATEOF


echo quit | forw -editor $abs_top_srcdir/mh/tests/mhed -format +inbox 1 | remove_curdir
echo == Mail/draft ==
cat Mail/draft
echo == Message ==
# FIXME: AMD adds this header to the first message.  Find a better way.
# See also the same sed hacks below.
sed '/^X-IMAPbase/d' Mail/inbox/1
"
echo forw.at:81 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;
mkdir Mail/inbox
cat >Mail/inbox/1 <<'_ATEOF'
From: gray
To: root
Subject: test input

message body
_ATEOF


echo quit | forw -editor $abs_top_srcdir/mh/tests/mhed -format +inbox 1 | remove_curdir
echo == Mail/draft ==
cat Mail/draft
echo == Message ==
# FIXME: AMD adds this header to the first message.  Find a better way.
# See also the same sed hacks below.
sed '/^X-IMAPbase/d' Mail/inbox/1
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;
mkdir Mail/inbox
cat >Mail/inbox/1 <<'_ATEOF'
From: gray
To: root
Subject: test input

message body
_ATEOF


echo quit | forw -editor $abs_top_srcdir/mh/tests/mhed -format +inbox 1 | remove_curdir
echo == Mail/draft ==
cat Mail/draft
echo == Message ==
# FIXME: AMD adds this header to the first message.  Find a better way.
# See also the same sed hacks below.
sed '/^X-IMAPbase/d' Mail/inbox/1
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "-- Editor invocation: Mail/draft
-- Input file:
To:
cc:
Subject:
--------

------- Forwarded message
From:    gray
To:      root
Subject: test input

message body

------- End of Forwarded message

-- Input file end
What now? draft left on \"Mail/draft\".
== Mail/draft ==
To:
cc:
Subject:
--------

------- Forwarded message
From:    gray
To:      root
Subject: test input

message body

------- End of Forwarded message

Seen by mhed
== Message ==
From: gray
To: root
Subject: test input

message body
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/forw.at:81"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_122
#AT_START_123
# 123. forw.at:141: forw msgs
at_setup_line='forw.at:141'
at_func_banner 18
at_desc="forw msgs"
$at_quiet $as_echo_n "123: $at_desc                                      "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "123. forw.at:141: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/forw.at:141:
mkdir Mail/inbox
cat >Mail/inbox/1 <<'_ATEOF'
From: gray
To: root
Subject: test input

message body
_ATEOF

cat >Mail/inbox/2 <<'_ATEOF'
From: gray
To: marlow
Subject: 2nd message

2nd message body
_ATEOF


echo quit | forw -editor $abs_top_srcdir/mh/tests/mhed +inbox 1 2 | remove_curdir
echo == Mail/draft ==
cat Mail/draft
echo == Message 1 ==
sed '/^X-IMAPbase/d' Mail/inbox/1
echo == Message 2 ==
cat Mail/inbox/2
"
echo forw.at:141 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;
mkdir Mail/inbox
cat >Mail/inbox/1 <<'_ATEOF'
From: gray
To: root
Subject: test input

message body
_ATEOF

cat >Mail/inbox/2 <<'_ATEOF'
From: gray
To: marlow
Subject: 2nd message

2nd message body
_ATEOF


echo quit | forw -editor $abs_top_srcdir/mh/tests/mhed +inbox 1 2 | remove_curdir
echo == Mail/draft ==
cat Mail/draft
echo == Message 1 ==
sed '/^X-IMAPbase/d' Mail/inbox/1
echo == Message 2 ==
cat Mail/inbox/2
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;
mkdir Mail/inbox
cat >Mail/inbox/1 <<'_ATEOF'
From: gray
To: root
Subject: test input

message body
_ATEOF

cat >Mail/inbox/2 <<'_ATEOF'
From: gray
To: marlow
Subject: 2nd message

2nd message body
_ATEOF


echo quit | forw -editor $abs_top_srcdir/mh/tests/mhed +inbox 1 2 | remove_curdir
echo == Mail/draft ==
cat Mail/draft
echo == Message 1 ==
sed '/^X-IMAPbase/d' Mail/inbox/1
echo == Message 2 ==
cat Mail/inbox/2
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "-- Editor invocation: Mail/draft
-- Input file:
To:
cc:
Subject:
--------

------- Forwarded messages

------- Message 1
From: gray
To: root
Subject: test input

message body

------- Message 2
From: gray
To: marlow
Subject: 2nd message

2nd message body

------- End of Forwarded messages

-- Input file end
What now? draft left on \"Mail/draft\".
== Mail/draft ==
To:
cc:
Subject:
--------

------- Forwarded messages

------- Message 1
From: gray
To: root
Subject: test input

message body

------- Message 2
From: gray
To: marlow
Subject: 2nd message

2nd message body

------- End of Forwarded messages

Seen by mhed
== Message 1 ==
From: gray
To: root
Subject: test input

message body
== Message 2 ==
From: gray
To: marlow
Subject: 2nd message

2nd message body
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/forw.at:141"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_123
#AT_START_124
# 124. forw.at:231: forw -build msg
at_setup_line='forw.at:231'
at_func_banner 18
at_desc="forw -build msg"
$at_quiet $as_echo_n "124: $at_desc                                "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "124. forw.at:231: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/forw.at:231:
mkdir Mail/inbox
cat >Mail/inbox/1 <<'_ATEOF'
From: gray
To: root
Subject: test input

message body
_ATEOF


forw -editor $abs_top_srcdir/mh/tests/mhed -build +inbox 1 | remove_curdir
echo == Mail/draft ==
cat Mail/draft
echo == Message ==
sed '/^X-IMAPbase/d' Mail/inbox/1
"
echo forw.at:231 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;
mkdir Mail/inbox
cat >Mail/inbox/1 <<'_ATEOF'
From: gray
To: root
Subject: test input

message body
_ATEOF


forw -editor $abs_top_srcdir/mh/tests/mhed -build +inbox 1 | remove_curdir
echo == Mail/draft ==
cat Mail/draft
echo == Message ==
sed '/^X-IMAPbase/d' Mail/inbox/1
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;
mkdir Mail/inbox
cat >Mail/inbox/1 <<'_ATEOF'
From: gray
To: root
Subject: test input

message body
_ATEOF


forw -editor $abs_top_srcdir/mh/tests/mhed -build +inbox 1 | remove_curdir
echo == Mail/draft ==
cat Mail/draft
echo == Message ==
sed '/^X-IMAPbase/d' Mail/inbox/1
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "== Mail/draft ==
To:
cc:
Subject:
--------

------- Forwarded message
From: gray
To: root
Subject: test input

message body

------- End of Forwarded message

== Message ==
From: gray
To: root
Subject: test input

message body
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/forw.at:231"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_124
#AT_START_125
# 125. forw.at:270: forw -build -mime msgs
at_setup_line='forw.at:270'
at_func_banner 18
at_desc="forw -build -mime msgs"
$at_quiet $as_echo_n "125: $at_desc                         "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "125. forw.at:270: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/forw.at:270:
mkdir Mail/inbox
cat >Mail/inbox/1 <<'_ATEOF'
From: gray
To: root
Subject: test input

message body
_ATEOF

cat >Mail/inbox/2 <<'_ATEOF'
From: gray
To: marlow
Subject: 2nd message

2nd message body
_ATEOF


forw -editor $abs_top_srcdir/mh/tests/mhed -build -mime +inbox 1 2 | remove_curdir
echo == Mail/draft ==
remove_curdir Mail/draft
echo == Message 1 ==
sed '/^X-IMAPbase/d' Mail/inbox/1
echo == Message 2 ==
cat Mail/inbox/2
"
echo forw.at:270 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;
mkdir Mail/inbox
cat >Mail/inbox/1 <<'_ATEOF'
From: gray
To: root
Subject: test input

message body
_ATEOF

cat >Mail/inbox/2 <<'_ATEOF'
From: gray
To: marlow
Subject: 2nd message

2nd message body
_ATEOF


forw -editor $abs_top_srcdir/mh/tests/mhed -build -mime +inbox 1 2 | remove_curdir
echo == Mail/draft ==
remove_curdir Mail/draft
echo == Message 1 ==
sed '/^X-IMAPbase/d' Mail/inbox/1
echo == Message 2 ==
cat Mail/inbox/2
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;
mkdir Mail/inbox
cat >Mail/inbox/1 <<'_ATEOF'
From: gray
To: root
Subject: test input

message body
_ATEOF

cat >Mail/inbox/2 <<'_ATEOF'
From: gray
To: marlow
Subject: 2nd message

2nd message body
_ATEOF


forw -editor $abs_top_srcdir/mh/tests/mhed -build -mime +inbox 1 2 | remove_curdir
echo == Mail/draft ==
remove_curdir Mail/draft
echo == Message 1 ==
sed '/^X-IMAPbase/d' Mail/inbox/1
echo == Message 2 ==
cat Mail/inbox/2
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "== Mail/draft ==
To:
cc:
Subject:
--------
#forw [] +Mail/inbox 1 2

== Message 1 ==
From: gray
To: root
Subject: test input

message body
== Message 2 ==
From: gray
To: marlow
Subject: 2nd message

2nd message body
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/forw.at:270"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_125
#AT_START_126
# 126. forw.at:315: forw -draftfolder
at_setup_line='forw.at:315'
at_func_banner 18
at_desc="forw -draftfolder"
$at_quiet $as_echo_n "126: $at_desc                              "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "126. forw.at:315: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/forw.at:315:
mkdir Mail/inbox
mkdir Mail/drafts
cat >Mail/inbox/1 <<'_ATEOF'
From: gray
To: root
Subject: test input

message body
_ATEOF


echo \"quit\" | forw -editor $abs_top_srcdir/mh/tests/mhed -draftfolder drafts 1 | remove_curdir
echo == Mail/drafts/1 ==
cat Mail/drafts/1
echo == Message ==
sed '/^X-IMAPbase/d' Mail/inbox/1
"
echo forw.at:315 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;
mkdir Mail/inbox
mkdir Mail/drafts
cat >Mail/inbox/1 <<'_ATEOF'
From: gray
To: root
Subject: test input

message body
_ATEOF


echo "quit" | forw -editor $abs_top_srcdir/mh/tests/mhed -draftfolder drafts 1 | remove_curdir
echo == Mail/drafts/1 ==
cat Mail/drafts/1
echo == Message ==
sed '/^X-IMAPbase/d' Mail/inbox/1
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;
mkdir Mail/inbox
mkdir Mail/drafts
cat >Mail/inbox/1 <<'_ATEOF'
From: gray
To: root
Subject: test input

message body
_ATEOF


echo "quit" | forw -editor $abs_top_srcdir/mh/tests/mhed -draftfolder drafts 1 | remove_curdir
echo == Mail/drafts/1 ==
cat Mail/drafts/1
echo == Message ==
sed '/^X-IMAPbase/d' Mail/inbox/1
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "-- Editor invocation: Mail/drafts/1
-- Input file:
To:
cc:
Subject:
--------

------- Forwarded message
From: gray
To: root
Subject: test input

message body

------- End of Forwarded message

-- Input file end
What now? draft left on \"Mail/drafts/1\".
== Mail/drafts/1 ==
To:
cc:
Subject:
--------

------- Forwarded message
From: gray
To: root
Subject: test input

message body

------- End of Forwarded message

Seen by mhed
== Message ==
From: gray
To: root
Subject: test input

message body
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/forw.at:315"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_126
#AT_START_127
# 127. forw.at:374: forw -file
at_setup_line='forw.at:374'
at_func_banner 18
at_desc="forw -file"
$at_quiet $as_echo_n "127: $at_desc                                     "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "127. forw.at:374: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/forw.at:374:
cat >infile <<'_ATEOF'
From: gray
To: root
Subject: test input

message body
_ATEOF


echo \"quit\" | forw -editor $abs_top_srcdir/mh/tests/mhed -file infile | remove_curdir
"
echo forw.at:374 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;
cat >infile <<'_ATEOF'
From: gray
To: root
Subject: test input

message body
_ATEOF


echo "quit" | forw -editor $abs_top_srcdir/mh/tests/mhed -file infile | remove_curdir
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;
cat >infile <<'_ATEOF'
From: gray
To: root
Subject: test input

message body
_ATEOF


echo "quit" | forw -editor $abs_top_srcdir/mh/tests/mhed -file infile | remove_curdir
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "-- Editor invocation: Mail/draft
-- Input file:
To:
cc:
Subject:
--------
From: gray
To: root
Subject: test input

message body
-- Input file end
What now? draft left on \"Mail/draft\".
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/forw.at:374"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_127
#AT_START_128
# 128. repl.at:23: repl msg
at_setup_line='repl.at:23'
at_func_banner 19
at_desc="repl msg"
$at_quiet $as_echo_n "128: $at_desc                                       "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "128. repl.at:23: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/repl.at:23:
mkdir Mail/inbox
cat >Mail/inbox/1 <<'_ATEOF'
From: gray@example.com
To: root@example.com
Subject: test input

message body
_ATEOF

echo \"quit\" | repl -editor $abs_top_srcdir/mh/tests/mhed +inbox 1 | remove_curdir
echo == Mail/draft ==
cat Mail/draft
"
echo repl.at:23 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;
mkdir Mail/inbox
cat >Mail/inbox/1 <<'_ATEOF'
From: gray@example.com
To: root@example.com
Subject: test input

message body
_ATEOF

echo "quit" | repl -editor $abs_top_srcdir/mh/tests/mhed +inbox 1 | remove_curdir
echo == Mail/draft ==
cat Mail/draft
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;
mkdir Mail/inbox
cat >Mail/inbox/1 <<'_ATEOF'
From: gray@example.com
To: root@example.com
Subject: test input

message body
_ATEOF

echo "quit" | repl -editor $abs_top_srcdir/mh/tests/mhed +inbox 1 | remove_curdir
echo == Mail/draft ==
cat Mail/draft
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "-- Editor invocation: Mail/draft
-- Input file:
To: <gray@example.com>
Subject: Re: test input
X-Mailer: MH (GNU Mailutils 2.99.94)
--------
-- Input file end
What now? draft left on \"Mail/draft\".
== Mail/draft ==
To: <gray@example.com>
Subject: Re: test input
X-Mailer: MH (GNU Mailutils 2.99.94)
--------
Seen by mhed
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/repl.at:23"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_128
#AT_START_129
# 129. repl.at:52: repl -draftfolder
at_setup_line='repl.at:52'
at_func_banner 19
at_desc="repl -draftfolder"
$at_quiet $as_echo_n "129: $at_desc                              "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "129. repl.at:52: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/repl.at:52:
mkdir Mail/inbox
mkdir Mail/drafts
cat >Mail/inbox/1 <<'_ATEOF'
From: gray@example.com
To: root@example.com
Subject: test input

message body
_ATEOF

echo \"quit\" | repl -editor $abs_top_srcdir/mh/tests/mhed -draftfolder drafts +inbox 1 | remove_curdir
echo == Mail/drafts/1 ==
cat Mail/drafts/1
"
echo repl.at:52 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;
mkdir Mail/inbox
mkdir Mail/drafts
cat >Mail/inbox/1 <<'_ATEOF'
From: gray@example.com
To: root@example.com
Subject: test input

message body
_ATEOF

echo "quit" | repl -editor $abs_top_srcdir/mh/tests/mhed -draftfolder drafts +inbox 1 | remove_curdir
echo == Mail/drafts/1 ==
cat Mail/drafts/1
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;
mkdir Mail/inbox
mkdir Mail/drafts
cat >Mail/inbox/1 <<'_ATEOF'
From: gray@example.com
To: root@example.com
Subject: test input

message body
_ATEOF

echo "quit" | repl -editor $abs_top_srcdir/mh/tests/mhed -draftfolder drafts +inbox 1 | remove_curdir
echo == Mail/drafts/1 ==
cat Mail/drafts/1
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "-- Editor invocation: Mail/drafts/1
-- Input file:
To: <gray@example.com>
Subject: Re: test input
X-Mailer: MH (GNU Mailutils 2.99.94)
--------
-- Input file end
What now? draft left on \"Mail/drafts/1\".
== Mail/drafts/1 ==
To: <gray@example.com>
Subject: Re: test input
X-Mailer: MH (GNU Mailutils 2.99.94)
--------
Seen by mhed
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/repl.at:52"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_129
#AT_START_130
# 130. mhn.at:24: mhn -list
at_setup_line='mhn.at:24'
at_func_banner 20
at_desc="mhn -list"
$at_quiet $as_echo_n "130: $at_desc                                      "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "130. mhn.at:24: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhn.at:24:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to 700
find Mail/inbox/mbox1 | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhn +inbox -list all
"
echo mhn.at:24 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to 700
find Mail/inbox/mbox1 | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhn +inbox -list all
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to 700
find Mail/inbox/mbox1 | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhn +inbox -list all
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo " msg part type/subtype              size  description
   1      text/plain                 937
   2      text/plain                 215
   3      multipart/mixed             2K
     1    text/plain                 230 How doth
     2    application/octet-stream   462 Father William Part I
   4      multipart/mixed             3K
     1    text/plain                 341 Father William Part I
     2    multipart/mixed             3K
     2.1  application/octet-stream   479 Father William Part II
     2.2  multipart/mixed             2K
     2.2.1 application/octet-stream   483 Father William Part III
     2.2.2 application/octet-stream   495 Father William Part IV
   5      multipart/mixed            355
     1    text/plain                   0 Empty part
     2    text/plain                   1 Single line part
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mhn.at:24"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_130
#AT_START_131
# 131. mhn.at:47: mhn -list -realsize
at_setup_line='mhn.at:47'
at_func_banner 20
at_desc="mhn -list -realsize"
$at_quiet $as_echo_n "131: $at_desc                            "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "131. mhn.at:47: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhn.at:47:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to 700
find Mail/inbox/mbox1 | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhn +inbox -list -realsize all
"
echo mhn.at:47 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to 700
find Mail/inbox/mbox1 | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhn +inbox -list -realsize all
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to 700
find Mail/inbox/mbox1 | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhn +inbox -list -realsize all
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo " msg part type/subtype              size  description
   1      text/plain                 937
   2      text/plain                 215
   3      multipart/mixed             2K
     1    text/plain                 230 How doth
     2    application/octet-stream   341 Father William Part I
   4      multipart/mixed             3K
     1    text/plain                 341 Father William Part I
     2    multipart/mixed             3K
     2.1  application/octet-stream   352 Father William Part II
     2.2  multipart/mixed             2K
     2.2.1 application/octet-stream   357 Father William Part III
     2.2.2 application/octet-stream   366 Father William Part IV
   5      multipart/mixed            355
     1    text/plain                   0 Empty part
     2    text/plain                   1 Single line part
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mhn.at:47"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_131
#AT_START_132
# 132. mhn.at:74: mhn -store
at_setup_line='mhn.at:74'
at_func_banner 20
at_desc="mhn -store"
$at_quiet $as_echo_n "132: $at_desc                                     "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "132. mhn.at:74: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhn.at:74:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to 700
find Mail/inbox/mbox1 | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhn +inbox -store 4 || exit \$?
for file in 4.1.plain 4.2.1.octet-stream 4.2.2.1.octet-stream 4.2.2.2.octet-stream
do
  echo == \$file ==
  cat \$file
done
"
echo mhn.at:74 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to 700
find Mail/inbox/mbox1 | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhn +inbox -store 4 || exit $?
for file in 4.1.plain 4.2.1.octet-stream 4.2.2.1.octet-stream 4.2.2.2.octet-stream
do
  echo == $file ==
  cat $file
done
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to 700
find Mail/inbox/mbox1 | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhn +inbox -store 4 || exit $?
for file in 4.1.plain 4.2.1.octet-stream 4.2.2.1.octet-stream 4.2.2.2.octet-stream
do
  echo == $file ==
  cat $file
done
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "storing message 4 part 1 as file 4.1.plain
storing message 4 part 2.1 as file 4.2.1.octet-stream
storing message 4 part 2.2.1 as file 4.2.2.1.octet-stream
storing message 4 part 2.2.2 as file 4.2.2.2.octet-stream
== 4.1.plain ==
\`You are old, Father William,' the young man said,
\`And your hair has become very white;
And yet you incessantly stand on your head--
Do you think, at your age, it is right?'

\`In my youth,' Father William replied to his son,
\`I feared it might injure the brain;
But, now that I'm perfectly sure I have none,
Why, I do it again and again.'

== 4.2.1.octet-stream ==
\`You are old,' said the youth, \`as I mentioned before,
And have grown most uncommonly fat;
Yet you turned a back-somersault in at the door--
Pray, what is the reason of that?'

\`In my youth,' said the sage, as he shook his grey locks,
\`I kept all my limbs very supple
By the use of this ointment--one shilling the box--
Allow me to sell you a couple?'
== 4.2.2.1.octet-stream ==
\`You are old,' said the youth, \`and your jaws are too weak
For anything tougher than suet;
Yet you finished the goose, with the bones and the beak--
Pray how did you manage to do it?'

\`In my youth,' said his father, \`I took to the law,
And argued each case with my wife;
And the muscular strength, which it gave to my jaw,
Has lasted the rest of my life.'
== 4.2.2.2.octet-stream ==
\`You are old,' said the youth, \`one would hardly suppose
That your eye was as steady as ever;
Yet you balanced an eel on the end of your nose--
What made you so awfully clever?'

\`I have answered three questions, and that is enough,'
Said his father; \`don't give yourself airs!
Do you think I can listen all day to such stuff?
Be off, or I'll kick you down stairs!'
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mhn.at:74"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_132
#AT_START_133
# 133. mhn.at:131: mhn -store -auto
at_setup_line='mhn.at:131'
at_func_banner 20
at_desc="mhn -store -auto"
$at_quiet $as_echo_n "133: $at_desc                               "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "133. mhn.at:131: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhn.at:131:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhn +inbox -store -auto 4 | remove_curdir || exit \$?
"
echo mhn.at:131 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhn +inbox -store -auto 4 | remove_curdir || exit $?
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhn +inbox -store -auto 4 | remove_curdir || exit $?
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "storing message 4 part 1 as file msg.21
storing message 4 part 2.1 as file msg.22
storing message 4 part 2.2.1 as file msg.23
storing message 4 part 2.2.2 as file msg.24
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mhn.at:131"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_133
#AT_START_134
# 134. mhn.at:142: mhn -store -auto -part
at_setup_line='mhn.at:142'
at_func_banner 20
at_desc="mhn -store -auto -part"
$at_quiet $as_echo_n "134: $at_desc                         "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "134. mhn.at:142: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhn.at:142:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to 700
find Mail/inbox/mbox1 | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhn +inbox -store -auto -part 2.2.1 4 | remove_curdir || exit \$?
"
echo mhn.at:142 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to 700
find Mail/inbox/mbox1 | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhn +inbox -store -auto -part 2.2.1 4 | remove_curdir || exit $?
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to 700
find Mail/inbox/mbox1 | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhn +inbox -store -auto -part 2.2.1 4 | remove_curdir || exit $?
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "storing message 4 part 2.2.1 as file msg.23
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mhn.at:142"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_134
#AT_START_135
# 135. mhn.at:150: mhn -store -auto (pathname safety)
at_setup_line='mhn.at:150'
at_func_banner 20
at_desc="mhn -store -auto (pathname safety)"
$at_quiet $as_echo_n "135: $at_desc             "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "135. mhn.at:150: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhn.at:150:
mkdir Mail/inbox
sed 's|; *name=\"msg|; name=\"../msg|' \\
  \$abs_top_srcdir/testsuite/mh/mbox1/4 > Mail/inbox/4

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

mhn +inbox -store -auto -part 2.1 4 || echo \$?
echo == 4.2.1.octet-stream ==
cat 4.2.1.octet-stream
"
echo mhn.at:150 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;
mkdir Mail/inbox
sed 's|; *name="msg|; name="../msg|' \
  $abs_top_srcdir/testsuite/mh/mbox1/4 > Mail/inbox/4

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

mhn +inbox -store -auto -part 2.1 4 || echo $?
echo == 4.2.1.octet-stream ==
cat 4.2.1.octet-stream
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;
mkdir Mail/inbox
sed 's|; *name="msg|; name="../msg|' \
  $abs_top_srcdir/testsuite/mh/mbox1/4 > Mail/inbox/4

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

mhn +inbox -store -auto -part 2.1 4 || echo $?
echo == 4.2.1.octet-stream ==
cat 4.2.1.octet-stream
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "storing message 4 part 2.1 as file 4.2.1.octet-stream
== 4.2.1.octet-stream ==
\`You are old,' said the youth, \`as I mentioned before,
And have grown most uncommonly fat;
Yet you turned a back-somersault in at the door--
Pray, what is the reason of that?'

\`In my youth,' said the sage, as he shook his grey locks,
\`I kept all my limbs very supple
By the use of this ointment--one shilling the box--
Allow me to sell you a couple?'
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mhn.at:150"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_135
#AT_START_136
# 136. mhn.at:173: mhn-storage
at_setup_line='mhn.at:173'
at_func_banner 20
at_desc="mhn-storage"
$at_quiet $as_echo_n "136: $at_desc                                    "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "136. mhn.at:173: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhn.at:173:
mkdir Mail/inbox
cp \$abs_top_srcdir/testsuite/mh/mbox1/4 Mail/inbox

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x


mkdir out
echo \"mhn-storage: \$curdir/out\" >> \$MH

mhn +inbox -store 4 | remove_curdir || echo \$?
"
echo mhn.at:173 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;
mkdir Mail/inbox
cp $abs_top_srcdir/testsuite/mh/mbox1/4 Mail/inbox

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x


mkdir out
echo "mhn-storage: $curdir/out" >> $MH

mhn +inbox -store 4 | remove_curdir || echo $?
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;
mkdir Mail/inbox
cp $abs_top_srcdir/testsuite/mh/mbox1/4 Mail/inbox

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x


mkdir out
echo "mhn-storage: $curdir/out" >> $MH

mhn +inbox -store 4 | remove_curdir || echo $?
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "storing message 4 part 1 as file out/4.1.plain
storing message 4 part 2.1 as file out/4.2.1.octet-stream
storing message 4 part 2.2.1 as file out/4.2.2.1.octet-stream
storing message 4 part 2.2.2 as file out/4.2.2.2.octet-stream
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mhn.at:173"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_136
#AT_START_137
# 137. mhn.at:190: mhn-store-: all escapes
at_setup_line='mhn.at:190'
at_func_banner 20
at_desc="mhn-store-: all escapes"
$at_quiet $as_echo_n "137: $at_desc                        "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "137. mhn.at:190: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhn.at:190:
mkdir Mail/inbox
cp \$abs_top_srcdir/testsuite/mh/mbox1/4 Mail/inbox

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x


echo \"mhn-store-application: %%-%m%P.%s-%p\" >> \$MH
mhn +inbox -store 4 | remove_curdir || exit \$?
find . -name '%*' | sort
"
echo mhn.at:190 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;
mkdir Mail/inbox
cp $abs_top_srcdir/testsuite/mh/mbox1/4 Mail/inbox

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x


echo "mhn-store-application: %%-%m%P.%s-%p" >> $MH
mhn +inbox -store 4 | remove_curdir || exit $?
find . -name '%*' | sort
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;
mkdir Mail/inbox
cp $abs_top_srcdir/testsuite/mh/mbox1/4 Mail/inbox

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x


echo "mhn-store-application: %%-%m%P.%s-%p" >> $MH
mhn +inbox -store 4 | remove_curdir || exit $?
find . -name '%*' | sort
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "storing message 4 part 1 as file 4.1.plain
storing message 4 part 2.1 as file %4.2.1.octet-stream-2.1
storing message 4 part 2.2.1 as file %4.2.2.1.octet-stream-2.2.1
storing message 4 part 2.2.2 as file %4.2.2.2.octet-stream-2.2.2
./%4.2.1.octet-stream-2.1
./%4.2.2.1.octet-stream-2.2.1
./%4.2.2.2.octet-stream-2.2.2
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mhn.at:190"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_137
#AT_START_138
# 138. mhn.at:209: mhn-store-: absolute path
at_setup_line='mhn.at:209'
at_func_banner 20
at_desc="mhn-store-: absolute path"
$at_quiet $as_echo_n "138: $at_desc                      "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "138. mhn.at:209: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhn.at:209:
mkdir Mail/inbox
mkdir out
cp \$abs_top_srcdir/testsuite/mh/mbox1/4 Mail/inbox

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x


echo \"mhn-store-application: \$curdir/out/%m%P.%s\" >> \$MH
mhn +inbox -store 4 | remove_curdir || exit \$?
"
echo mhn.at:209 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;
mkdir Mail/inbox
mkdir out
cp $abs_top_srcdir/testsuite/mh/mbox1/4 Mail/inbox

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x


echo "mhn-store-application: $curdir/out/%m%P.%s" >> $MH
mhn +inbox -store 4 | remove_curdir || exit $?
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;
mkdir Mail/inbox
mkdir out
cp $abs_top_srcdir/testsuite/mh/mbox1/4 Mail/inbox

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x


echo "mhn-store-application: $curdir/out/%m%P.%s" >> $MH
mhn +inbox -store 4 | remove_curdir || exit $?
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "storing message 4 part 1 as file 4.1.plain
storing message 4 part 2.1 as file out/4.2.1.octet-stream
storing message 4 part 2.2.1 as file out/4.2.2.1.octet-stream
storing message 4 part 2.2.2 as file out/4.2.2.2.octet-stream
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mhn.at:209"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_138
#AT_START_139
# 139. mhn.at:225: mhn-store-: +folder
at_setup_line='mhn.at:225'
at_func_banner 20
at_desc="mhn-store-: +folder"
$at_quiet $as_echo_n "139: $at_desc                            "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "139. mhn.at:225: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhn.at:225:
mkdir Mail/inbox
mkdir Mail/app
cp \$abs_top_srcdir/testsuite/mh/mbox1/4 Mail/inbox

# First, set all modes to 700
find Mail | xargs chmod 700
# Then, remove executable bit from regular files
find Mail -type f | xargs chmod -x


echo \"mhn-store-application: +app\" >> \$MH
mhn +inbox -store 4 | remove_curdir || exit \$?
"
echo mhn.at:225 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;
mkdir Mail/inbox
mkdir Mail/app
cp $abs_top_srcdir/testsuite/mh/mbox1/4 Mail/inbox

# First, set all modes to 700
find Mail | xargs chmod 700
# Then, remove executable bit from regular files
find Mail -type f | xargs chmod -x


echo "mhn-store-application: +app" >> $MH
mhn +inbox -store 4 | remove_curdir || exit $?
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;
mkdir Mail/inbox
mkdir Mail/app
cp $abs_top_srcdir/testsuite/mh/mbox1/4 Mail/inbox

# First, set all modes to 700
find Mail | xargs chmod 700
# Then, remove executable bit from regular files
find Mail -type f | xargs chmod -x


echo "mhn-store-application: +app" >> $MH
mhn +inbox -store 4 | remove_curdir || exit $?
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "storing message 4 part 1 as file 4.1.plain
storing message 4 part 2.1 to folder +app as message 1
storing message 4 part 2.2.1 to folder +app as message 2
storing message 4 part 2.2.2 to folder +app as message 3
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mhn.at:225"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_139
#AT_START_140
# 140. mhn.at:241: mhn-store-: +
at_setup_line='mhn.at:241'
at_func_banner 20
at_desc="mhn-store-: +"
$at_quiet $as_echo_n "140: $at_desc                                  "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "140. mhn.at:241: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhn.at:241:
mkdir Mail/inbox
cp \$abs_top_srcdir/testsuite/mh/mbox1/4 Mail/inbox

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x


echo \"Current-Folder: inbox\" > Mail/context
cat >> \$MH <<EOT
mhn-store-application/octet-stream: +
EOT
mhn +inbox -store -part 2.2.1 4 | remove_curdir || exit \$?
"
echo mhn.at:241 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;
mkdir Mail/inbox
cp $abs_top_srcdir/testsuite/mh/mbox1/4 Mail/inbox

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x


echo "Current-Folder: inbox" > Mail/context
cat >> $MH <<EOT
mhn-store-application/octet-stream: +
EOT
mhn +inbox -store -part 2.2.1 4 | remove_curdir || exit $?
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;
mkdir Mail/inbox
cp $abs_top_srcdir/testsuite/mh/mbox1/4 Mail/inbox

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x


echo "Current-Folder: inbox" > Mail/context
cat >> $MH <<EOT
mhn-store-application/octet-stream: +
EOT
mhn +inbox -store -part 2.2.1 4 | remove_curdir || exit $?
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "storing message 4 part 2.2.1 to folder inbox as message 5
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mhn.at:241"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_140
#AT_START_141
# 141. mhn.at:256: mhn-store-: pipe
at_setup_line='mhn.at:256'
at_func_banner 20
at_desc="mhn-store-: pipe"
$at_quiet $as_echo_n "141: $at_desc                               "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "141. mhn.at:256: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhn.at:256:
mkdir Mail/inbox
cp \$abs_top_srcdir/testsuite/mh/mbox1/4 Mail/inbox

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x


echo \"Current-Folder: inbox\" > Mail/context
echo \"mhn-store-text: | \$abs_top_srcdir/mh/tests/mhed -\" >> \$MH
mhn +inbox -store -part 1 4 | sed \"s|\$abs_top_srcdir/mh/tests/||;s|(cd \\(.*\\)\\;|(cd home\\;|;s|  *\$||\" || exit \$?
"
echo mhn.at:256 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;
mkdir Mail/inbox
cp $abs_top_srcdir/testsuite/mh/mbox1/4 Mail/inbox

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x


echo "Current-Folder: inbox" > Mail/context
echo "mhn-store-text: | $abs_top_srcdir/mh/tests/mhed -" >> $MH
mhn +inbox -store -part 1 4 | sed "s|$abs_top_srcdir/mh/tests/||;s|(cd \(.*\)\;|(cd home\;|;s|  *$||" || exit $?
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;
mkdir Mail/inbox
cp $abs_top_srcdir/testsuite/mh/mbox1/4 Mail/inbox

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x


echo "Current-Folder: inbox" > Mail/context
echo "mhn-store-text: | $abs_top_srcdir/mh/tests/mhed -" >> $MH
mhn +inbox -store -part 1 4 | sed "s|$abs_top_srcdir/mh/tests/||;s|(cd \(.*\)\;|(cd home\;|;s|  *$||" || exit $?
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "-- Editor invocation: -
-- Input file:
\`You are old, Father William,' the young man said,
\`And your hair has become very white;
And yet you incessantly stand on your head--
Do you think, at your age, it is right?'

\`In my youth,' Father William replied to his son,
\`I feared it might injure the brain;
But, now that I'm perfectly sure I have none,
Why, I do it again and again.'

-- Input file end
storing msg 4 part 1 using command (cd home; mhed -)
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mhn.at:256"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_141
#AT_START_142
# 142. mhn.at:285: mhn-show msg1
at_setup_line='mhn.at:285'
at_func_banner 20
at_desc="mhn-show msg1"
$at_quiet $as_echo_n "142: $at_desc                                  "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "142. mhn.at:285: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhn.at:285:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to 700
find Mail/inbox/mbox1 | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhn -show 1 | sed /^X-IMAPbase/d
"
echo mhn.at:285 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to 700
find Mail/inbox/mbox1 | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhn -show 1 | sed /^X-IMAPbase/d
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to 700
find Mail/inbox/mbox1 | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhn -show 1 | sed /^X-IMAPbase/d
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Date:    Fri, 28 Dec 2001 22:18:08 +0200
To:      Bar <bar@dontmailme.org>
From:    Foo Bar <foobar@nonexistent.net>
Subject: Jabberwocky

X-Envelope-Date: Fri Dec 28 22:18:09 2001
X-Envelope-Sender: foobar@nonexistent.net

part       text/plain               937
\`Twas brillig, and the slithy toves
Did gyre and gimble in the wabe;
All mimsy were the borogoves,
And the mome raths outgrabe.

\`Beware the Jabberwock, my son!
The jaws that bite, the claws that catch!
Beware the Jujub bird, and shun
The frumious Bandersnatch!'

He took his vorpal sword in hand:
Long time the manxome foe he sought --
So rested he by the Tumtum gree,
And stood awhile in thought.

And as in uffish thought he stood,
The Jabberwock, with eyes of flame,
Came whiffling through the tulgey wook,
And burbled as it came!

One, two!  One, two!  And through and through
The vorpal blade went snicker-snack!
He left it dead, and with its head
He went galumphing back.

\`And has thou slain the Jabberwock?
Come to my arms, my beamish boy!
O frabjous day!  Calloh!  Callay!
He chortled in his joy.

\`Twas brillig, and the slithy toves
Did gyre and gimble in the wabe;
All mimsy were the borogoves,
And the mome raths outgrabe.

" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mhn.at:285"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_142
#AT_START_143
# 143. mhn.at:336: mhn-show type=tar
at_setup_line='mhn.at:336'
at_func_banner 20
at_desc="mhn-show type=tar"
$at_quiet $as_echo_n "143: $at_desc                              "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "143. mhn.at:336: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhn.at:336:




cp -r \$abs_top_srcdir/testsuite/mh/mime Mail/inbox
if test -e Mail/inbox/mime; then

# First, set all modes to 700
find Mail/inbox/mime | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/mime -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



cat >filter.awk <<'_ATEOF'

/^X-IMAPbase/ { next }
/^-rw-r--r--/ { print \$NF; next }
{ print }
_ATEOF

mhn -show 2 | awk -f filter.awk
"
echo mhn.at:336 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mime Mail/inbox
if test -e Mail/inbox/mime; then

# First, set all modes to 700
find Mail/inbox/mime | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/mime -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



cat >filter.awk <<'_ATEOF'

/^X-IMAPbase/ { next }
/^-rw-r--r--/ { print $NF; next }
{ print }
_ATEOF

mhn -show 2 | awk -f filter.awk
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mime Mail/inbox
if test -e Mail/inbox/mime; then

# First, set all modes to 700
find Mail/inbox/mime | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/mime -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



cat >filter.awk <<'_ATEOF'

/^X-IMAPbase/ { next }
/^-rw-r--r--/ { print $NF; next }
{ print }
_ATEOF

mhn -show 2 | awk -f filter.awk
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Date:    Mon, 29 Nov 2010 14:04:19 +0200
To:      <gray@example.net>
From:    Sergey Poznyakoff <gray@example.net>
Subject: Verses (type=tar)

MIME-Version: 1.0
X-Envelope-Date: Mon Nov 29 14:04:19 2010
X-Envelope-Sender: gray@example.net

part     1 text/plain               15
Initial text.

Father_William
Jabberwocky
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mhn.at:336"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_143
#AT_START_144
# 144. mhn.at:364: mhn-show unsupported type
at_setup_line='mhn.at:364'
at_func_banner 20
at_desc="mhn-show unsupported type"
$at_quiet $as_echo_n "144: $at_desc                      "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "144. mhn.at:364: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhn.at:364:




cp -r \$abs_top_srcdir/testsuite/mh/mime Mail/inbox
if test -e Mail/inbox/mime; then

# First, set all modes to 700
find Mail/inbox/mime | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/mime -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhn -show 1 | sed /^X-IMAPbase/d
"
echo mhn.at:364 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mime Mail/inbox
if test -e Mail/inbox/mime; then

# First, set all modes to 700
find Mail/inbox/mime | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/mime -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhn -show 1 | sed /^X-IMAPbase/d
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mime Mail/inbox
if test -e Mail/inbox/mime; then

# First, set all modes to 700
find Mail/inbox/mime | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/mime -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



mhn -show 1 | sed /^X-IMAPbase/d
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
echo >>"$at_stderr"; $as_echo "mhn: don't know how to display content (content application/x-tar in message 1, part 2)
" | \
  $at_diff - "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Date:    Mon, 29 Nov 2010 14:00:03 +0200
To:      <gray@example.net>
From:    Sergey Poznyakoff <gray@example.net>
Subject: Verses (x-tar)

MIME-Version: 1.0
X-Envelope-Date: Mon Nov 29 14:00:03 2010
X-Envelope-Sender: gray@example.net

part     1 text/plain               15
Initial text.

" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mhn.at:364"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_144
#AT_START_145
# 145. mhn.at:385: mhn-show- variable (with subtype)
at_setup_line='mhn.at:385'
at_func_banner 20
at_desc="mhn-show- variable (with subtype)"
$at_quiet $as_echo_n "145: $at_desc              "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "145. mhn.at:385: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhn.at:385:




cp -r \$abs_top_srcdir/testsuite/mh/mime Mail/inbox
if test -e Mail/inbox/mime; then

# First, set all modes to 700
find Mail/inbox/mime | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/mime -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo \"mhn-show-application/x-tar: %ltar tvf '%F'\" >> \$MH
cat >filter.awk <<'_ATEOF'

/^X-IMAPbase/ { next }
/^-rw-r--r--/ { print \$NF; next }
{ sub(/  *\$/,\"\");  print }
_ATEOF

mhn -show 1 | awk -f filter.awk
"
echo mhn.at:385 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mime Mail/inbox
if test -e Mail/inbox/mime; then

# First, set all modes to 700
find Mail/inbox/mime | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/mime -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo "mhn-show-application/x-tar: %ltar tvf '%F'" >> $MH
cat >filter.awk <<'_ATEOF'

/^X-IMAPbase/ { next }
/^-rw-r--r--/ { print $NF; next }
{ sub(/  *$/,"");  print }
_ATEOF

mhn -show 1 | awk -f filter.awk
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mime Mail/inbox
if test -e Mail/inbox/mime; then

# First, set all modes to 700
find Mail/inbox/mime | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/mime -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo "mhn-show-application/x-tar: %ltar tvf '%F'" >> $MH
cat >filter.awk <<'_ATEOF'

/^X-IMAPbase/ { next }
/^-rw-r--r--/ { print $NF; next }
{ sub(/  *$/,"");  print }
_ATEOF

mhn -show 1 | awk -f filter.awk
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Date:    Mon, 29 Nov 2010 14:00:03 +0200
To:      <gray@example.net>
From:    Sergey Poznyakoff <gray@example.net>
Subject: Verses (x-tar)

MIME-Version: 1.0
X-Envelope-Date: Mon Nov 29 14:00:03 2010
X-Envelope-Sender: gray@example.net

part     1 text/plain               15
Initial text.

part     2 application/x-tar        13835
Father_William
Jabberwocky
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mhn.at:385"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_145
#AT_START_146
# 146. mhn.at:414: mhn-show- variable (without subtype)
at_setup_line='mhn.at:414'
at_func_banner 20
at_desc="mhn-show- variable (without subtype)"
$at_quiet $as_echo_n "146: $at_desc           "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "146. mhn.at:414: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhn.at:414:




cp -r \$abs_top_srcdir/testsuite/mh/mime Mail/inbox
if test -e Mail/inbox/mime; then

# First, set all modes to 700
find Mail/inbox/mime | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/mime -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo \"mhn-show-application: %ltar tvf '%F'\" >> \$MH
cat >filter.awk <<'_ATEOF'

/^X-IMAPbase/ { next }
/^-rw-r--r--/ { print \$NF; next }
{ sub(/  *\$/,\"\");  print }
_ATEOF

mhn -show 1 | awk -f filter.awk
"
echo mhn.at:414 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mime Mail/inbox
if test -e Mail/inbox/mime; then

# First, set all modes to 700
find Mail/inbox/mime | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/mime -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo "mhn-show-application: %ltar tvf '%F'" >> $MH
cat >filter.awk <<'_ATEOF'

/^X-IMAPbase/ { next }
/^-rw-r--r--/ { print $NF; next }
{ sub(/  *$/,"");  print }
_ATEOF

mhn -show 1 | awk -f filter.awk
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mime Mail/inbox
if test -e Mail/inbox/mime; then

# First, set all modes to 700
find Mail/inbox/mime | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/mime -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo "mhn-show-application: %ltar tvf '%F'" >> $MH
cat >filter.awk <<'_ATEOF'

/^X-IMAPbase/ { next }
/^-rw-r--r--/ { print $NF; next }
{ sub(/  *$/,"");  print }
_ATEOF

mhn -show 1 | awk -f filter.awk
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "Date:    Mon, 29 Nov 2010 14:00:03 +0200
To:      <gray@example.net>
From:    Sergey Poznyakoff <gray@example.net>
Subject: Verses (x-tar)

MIME-Version: 1.0
X-Envelope-Date: Mon Nov 29 14:00:03 2010
X-Envelope-Sender: gray@example.net

part     1 text/plain               15
Initial text.

part     2 application/x-tar        13835
Father_William
Jabberwocky
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mhn.at:414"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_146
#AT_START_147
# 147. mhn.at:446: mhn-compose: adjacent plain text
at_setup_line='mhn.at:446'
at_func_banner 20
at_desc="mhn-compose: adjacent plain text"
$at_quiet $as_echo_n "147: $at_desc               "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "147. mhn.at:446: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhn.at:446:
cat >input <<'_ATEOF'
From: gray@example.net
Subject: Adjacent plain text contexts
------
this is the first content
#
and this is the second
_ATEOF

mhn -build ./input || exit \$?
mimeflt input
"
echo mhn.at:446 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;
cat >input <<'_ATEOF'
From: gray@example.net
Subject: Adjacent plain text contexts
------
this is the first content
#
and this is the second
_ATEOF

mhn -build ./input || exit $?
mimeflt input
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;
cat >input <<'_ATEOF'
From: gray@example.net
Subject: Adjacent plain text contexts
------
this is the first content
#
and this is the second
_ATEOF

mhn -build ./input || exit $?
mimeflt input
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "From: gray@example.net
Subject: Adjacent plain text contexts
Content-Type: multipart/mixed; boundary=\"BOUNDARY-1\"
MIME-Version: 1.0

--BOUNDARY-1
Content-ID: 1
Content-Type: text/plain

this is the first content

--BOUNDARY-1
Content-ID: 2
Content-Type: text/plain

and this is the second

--BOUNDARY-1--
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mhn.at:446"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_147
#AT_START_148
# 148. mhn.at:480: mhn-compose: plain text content types
at_setup_line='mhn.at:480'
at_func_banner 20
at_desc="mhn-compose: plain text content types"
$at_quiet $as_echo_n "148: $at_desc          "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "148. mhn.at:480: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhn.at:480:
cat >input <<'_ATEOF'
From: gray@example.net
Subject: Plaintext content types
------
#<text/enriched [First part]
this content will be tagged as text/enriched
#
and this content will be tagged as text/plain
#
#<application/x-patch [this is a patch]
and this content will be tagged as application/x-patch
_ATEOF

mhn -build -file ./input||exit \$?
mimeflt input
"
echo mhn.at:480 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;
cat >input <<'_ATEOF'
From: gray@example.net
Subject: Plaintext content types
------
#<text/enriched [First part]
this content will be tagged as text/enriched
#
and this content will be tagged as text/plain
#
#<application/x-patch [this is a patch]
and this content will be tagged as application/x-patch
_ATEOF

mhn -build -file ./input||exit $?
mimeflt input
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;
cat >input <<'_ATEOF'
From: gray@example.net
Subject: Plaintext content types
------
#<text/enriched [First part]
this content will be tagged as text/enriched
#
and this content will be tagged as text/plain
#
#<application/x-patch [this is a patch]
and this content will be tagged as application/x-patch
_ATEOF

mhn -build -file ./input||exit $?
mimeflt input
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "From: gray@example.net
Subject: Plaintext content types
Content-Type: multipart/mixed; boundary=\"BOUNDARY-1\"
MIME-Version: 1.0

--BOUNDARY-1
Content-Description: First part
Content-ID: 1
Content-Type: text/enriched

this content will be tagged as text/enriched

--BOUNDARY-1
Content-ID: 2
Content-Type: text/plain

and this content will be tagged as text/plain

--BOUNDARY-1
Content-Description: this is a patch
Content-ID: 3
Content-Type: application/x-patch

and this content will be tagged as application/x-patch

--BOUNDARY-1--
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mhn.at:480"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_148
#AT_START_149
# 149. mhn.at:526: mhn-compose: sharp at the beginning of a line
at_setup_line='mhn.at:526'
at_func_banner 20
at_desc="mhn-compose: sharp at the beginning of a line"
$at_quiet $as_echo_n "149: $at_desc  "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "149. mhn.at:526: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhn.at:526:
cat >input <<'_ATEOF'
From: gray@example.net
Subject: Sharp at the beginning of a line
------
##when sent, this line will start with only one #
_ATEOF


mhn -build ./input || exit \$?
mimeflt input
"
echo mhn.at:526 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;
cat >input <<'_ATEOF'
From: gray@example.net
Subject: Sharp at the beginning of a line
------
##when sent, this line will start with only one #
_ATEOF


mhn -build ./input || exit $?
mimeflt input
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;
cat >input <<'_ATEOF'
From: gray@example.net
Subject: Sharp at the beginning of a line
------
##when sent, this line will start with only one #
_ATEOF


mhn -build ./input || exit $?
mimeflt input
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "From: gray@example.net
Subject: Sharp at the beginning of a line
Content-Type: text/plain
MIME-Version: 1.0

#when sent, this line will start with only one #

" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mhn.at:526"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_149
#AT_START_150
# 150. mhn.at:548: mhn-compose: charset
at_setup_line='mhn.at:548'
at_func_banner 20
at_desc="mhn-compose: charset"
$at_quiet $as_echo_n "150: $at_desc                           "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "150. mhn.at:548: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhn.at:548:
cat >input <<'_ATEOF'
From: gray@example.net
Subject: Charset
------
#<text/plain; charset=utf-8
Cześć
_ATEOF

mhn -build ./input || exit \$?
mimeflt input
"
echo mhn.at:548 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;
cat >input <<'_ATEOF'
From: gray@example.net
Subject: Charset
------
#<text/plain; charset=utf-8
Cześć
_ATEOF

mhn -build ./input || exit $?
mimeflt input
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;
cat >input <<'_ATEOF'
From: gray@example.net
Subject: Charset
------
#<text/plain; charset=utf-8
Cześć
_ATEOF

mhn -build ./input || exit $?
mimeflt input
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "From: gray@example.net
Subject: Charset
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=utf-8
MIME-Version: 1.0

Cze=C5=9B=C4=87

" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mhn.at:548"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_150
#AT_START_151
# 151. mhn.at:571: mhn-compose: forward
at_setup_line='mhn.at:571'
at_func_banner 20
at_desc="mhn-compose: forward"
$at_quiet $as_echo_n "151: $at_desc                           "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "151. mhn.at:571: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhn.at:571:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



cat >input <<'_ATEOF'
From: gray@example.net
Subject: Forwards
------
#forw [forwarded messages] +inbox 1 2 5
_ATEOF


mhn -build ./input || exit \$?
mimeflt input
"
echo mhn.at:571 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



cat >input <<'_ATEOF'
From: gray@example.net
Subject: Forwards
------
#forw [forwarded messages] +inbox 1 2 5
_ATEOF


mhn -build ./input || exit $?
mimeflt input
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



cat >input <<'_ATEOF'
From: gray@example.net
Subject: Forwards
------
#forw [forwarded messages] +inbox 1 2 5
_ATEOF


mhn -build ./input || exit $?
mimeflt input
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "From: gray@example.net
Subject: Forwards
Content-Description: forwarded messages
Content-Type: multipart/digest; boundary=\"BOUNDARY-1\"
MIME-Version: 1.0

--BOUNDARY-1
Content-Type: message/rfc822

Received: (from foobar@nonexistent.net)
	by nonexistent.net id fBSKI8N04906
	for bar@dontmailme.org; Fri, 28 Dec 2001 22:18:08 +0200
Date: Fri, 28 Dec 2001 22:18:08 +0200
From: Foo Bar <foobar@nonexistent.net>
Message-Id: <200112282018.fBSKI8N04906@nonexistent.net>
To: Bar <bar@dontmailme.org>
Subject: Jabberwocky
X-Envelope-Date: Fri Dec 28 22:18:09 2001
X-Envelope-Sender: foobar@nonexistent.net

\`Twas brillig, and the slithy toves
Did gyre and gimble in the wabe;
All mimsy were the borogoves,
And the mome raths outgrabe.

\`Beware the Jabberwock, my son!
The jaws that bite, the claws that catch!
Beware the Jujub bird, and shun
The frumious Bandersnatch!'

He took his vorpal sword in hand:
Long time the manxome foe he sought --
So rested he by the Tumtum gree,
And stood awhile in thought.

And as in uffish thought he stood,
The Jabberwock, with eyes of flame,
Came whiffling through the tulgey wook,
And burbled as it came!

One, two!  One, two!  And through and through
The vorpal blade went snicker-snack!
He left it dead, and with its head
He went galumphing back.

\`And has thou slain the Jabberwock?
Come to my arms, my beamish boy!
O frabjous day!  Calloh!  Callay!
He chortled in his joy.

\`Twas brillig, and the slithy toves
Did gyre and gimble in the wabe;
All mimsy were the borogoves,
And the mome raths outgrabe.


--BOUNDARY-1
Content-Type: message/rfc822

Received: (from bar@dontmailme.org)
	by dontmailme.org id fERKR9N16790
	for foobar@nonexistent.net; Fri, 28 Dec 2001 22:18:08 +0200
Date: Fri, 28 Dec 2001 23:28:08 +0200
From: Bar <bar@dontmailme.org>
To: Foo Bar <foobar@nonexistent.net>
Message-Id: <200112232808.fERKR9N16790@dontmailme.org>
Subject: Re: Jabberwocky
X-Envelope-Date: Fri Dec 28 23:28:09 2001
X-Envelope-Sender: bar@dontmailme.org

It seems very pretty, but it's *rather* hard to understand!'
Somehow it seems to fill my head with ideas -- only I don't
exactly know what they are!  However, SOMEBODY killed SOMETHING:
that's clear, at any rate...

--BOUNDARY-1
Content-Type: message/rfc822

Organization: Mailutils-tests
Received: from example.net (localhost [127.0.0.1])
	by example.net with ESMTP id g6CLhIb05086
	for <gray@example.net>; Sat, 13 Jul 2002 00:43:18 +0300
Message-Id: <200207122143.g6CLhIb05086@example.net>
To: Foo Bar <foobar@nonexistent.net>
Subject: Empty MIME Parts
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary=\"BOUNDARY-2\"
Content-ID: 1
Date: Sat, 13 Jul 2002 00:43:18 +0300
From: Sergey Poznyakoff <gray@example.net>
X-Envelope-Date: Sat Jul 13 00:43:18 2002
X-Envelope-Sender: gray@example.net

--BOUNDARY-2
Content-Type: text/plain; name=\"empty\"; charset=\"us-ascii\"
Content-ID: 2
Content-Description: Empty part


--BOUNDARY-2
Content-Type: text/plain; name=\"single.line\"; charset=\"us-ascii\"
Content-ID: 3
Content-Description: Single line part



--BOUNDARY-2--

--BOUNDARY-1--

" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mhn.at:571"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_151
#AT_START_152
# 152. mhn.at:697: mhn-compose: forward (current folder)
at_setup_line='mhn.at:697'
at_func_banner 20
at_desc="mhn-compose: forward (current folder)"
$at_quiet $as_echo_n "152: $at_desc          "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "152. mhn.at:697: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhn.at:697:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo \"Current-Folder: inbox\" > Mail/context
cat >input <<'_ATEOF'
From: gray@example.net
Subject: Forwards
------
#forw [forwarded messages] 1 2 5
_ATEOF


mhn -build ./input || exit \$?
mimeflt input
"
echo mhn.at:697 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo "Current-Folder: inbox" > Mail/context
cat >input <<'_ATEOF'
From: gray@example.net
Subject: Forwards
------
#forw [forwarded messages] 1 2 5
_ATEOF


mhn -build ./input || exit $?
mimeflt input
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to +w
find Mail/inbox/mbox1 | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail/inbox | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



echo "Current-Folder: inbox" > Mail/context
cat >input <<'_ATEOF'
From: gray@example.net
Subject: Forwards
------
#forw [forwarded messages] 1 2 5
_ATEOF


mhn -build ./input || exit $?
mimeflt input
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "From: gray@example.net
Subject: Forwards
Content-Description: forwarded messages
Content-Type: multipart/digest; boundary=\"BOUNDARY-1\"
MIME-Version: 1.0

--BOUNDARY-1
Content-Type: message/rfc822

Received: (from foobar@nonexistent.net)
	by nonexistent.net id fBSKI8N04906
	for bar@dontmailme.org; Fri, 28 Dec 2001 22:18:08 +0200
Date: Fri, 28 Dec 2001 22:18:08 +0200
From: Foo Bar <foobar@nonexistent.net>
Message-Id: <200112282018.fBSKI8N04906@nonexistent.net>
To: Bar <bar@dontmailme.org>
Subject: Jabberwocky
X-Envelope-Date: Fri Dec 28 22:18:09 2001
X-Envelope-Sender: foobar@nonexistent.net

\`Twas brillig, and the slithy toves
Did gyre and gimble in the wabe;
All mimsy were the borogoves,
And the mome raths outgrabe.

\`Beware the Jabberwock, my son!
The jaws that bite, the claws that catch!
Beware the Jujub bird, and shun
The frumious Bandersnatch!'

He took his vorpal sword in hand:
Long time the manxome foe he sought --
So rested he by the Tumtum gree,
And stood awhile in thought.

And as in uffish thought he stood,
The Jabberwock, with eyes of flame,
Came whiffling through the tulgey wook,
And burbled as it came!

One, two!  One, two!  And through and through
The vorpal blade went snicker-snack!
He left it dead, and with its head
He went galumphing back.

\`And has thou slain the Jabberwock?
Come to my arms, my beamish boy!
O frabjous day!  Calloh!  Callay!
He chortled in his joy.

\`Twas brillig, and the slithy toves
Did gyre and gimble in the wabe;
All mimsy were the borogoves,
And the mome raths outgrabe.


--BOUNDARY-1
Content-Type: message/rfc822

Received: (from bar@dontmailme.org)
	by dontmailme.org id fERKR9N16790
	for foobar@nonexistent.net; Fri, 28 Dec 2001 22:18:08 +0200
Date: Fri, 28 Dec 2001 23:28:08 +0200
From: Bar <bar@dontmailme.org>
To: Foo Bar <foobar@nonexistent.net>
Message-Id: <200112232808.fERKR9N16790@dontmailme.org>
Subject: Re: Jabberwocky
X-Envelope-Date: Fri Dec 28 23:28:09 2001
X-Envelope-Sender: bar@dontmailme.org

It seems very pretty, but it's *rather* hard to understand!'
Somehow it seems to fill my head with ideas -- only I don't
exactly know what they are!  However, SOMEBODY killed SOMETHING:
that's clear, at any rate...

--BOUNDARY-1
Content-Type: message/rfc822

Organization: Mailutils-tests
Received: from example.net (localhost [127.0.0.1])
	by example.net with ESMTP id g6CLhIb05086
	for <gray@example.net>; Sat, 13 Jul 2002 00:43:18 +0300
Message-Id: <200207122143.g6CLhIb05086@example.net>
To: Foo Bar <foobar@nonexistent.net>
Subject: Empty MIME Parts
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary=\"BOUNDARY-2\"
Content-ID: 1
Date: Sat, 13 Jul 2002 00:43:18 +0300
From: Sergey Poznyakoff <gray@example.net>
X-Envelope-Date: Sat Jul 13 00:43:18 2002
X-Envelope-Sender: gray@example.net

--BOUNDARY-2
Content-Type: text/plain; name=\"empty\"; charset=\"us-ascii\"
Content-ID: 2
Content-Description: Empty part


--BOUNDARY-2
Content-Type: text/plain; name=\"single.line\"; charset=\"us-ascii\"
Content-ID: 3
Content-Description: Single line part



--BOUNDARY-2--

--BOUNDARY-1--

" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mhn.at:697"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_152
#AT_START_153
# 153. mhn.at:824: mhn-compose: forward (single message)
at_setup_line='mhn.at:824'
at_func_banner 20
at_desc="mhn-compose: forward (single message)"
$at_quiet $as_echo_n "153: $at_desc          "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "153. mhn.at:824: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhn.at:824:




cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to 700
find Mail/inbox/mbox1 | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



cat >input <<'_ATEOF'
From: gray@example.net
Subject: Forwards
------
#forw [forwarded messages] +inbox 1
_ATEOF


mhn -build ./input || exit \$?
mimeflt input
"
echo mhn.at:824 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to 700
find Mail/inbox/mbox1 | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



cat >input <<'_ATEOF'
From: gray@example.net
Subject: Forwards
------
#forw [forwarded messages] +inbox 1
_ATEOF


mhn -build ./input || exit $?
mimeflt input
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail/inbox
if test -e Mail/inbox/mbox1; then

# First, set all modes to 700
find Mail/inbox/mbox1 | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox/mbox1 -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail/inbox | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/inbox -type f | xargs chmod -x

fi



cat >input <<'_ATEOF'
From: gray@example.net
Subject: Forwards
------
#forw [forwarded messages] +inbox 1
_ATEOF


mhn -build ./input || exit $?
mimeflt input
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "From: gray@example.net
Subject: Forwards
Content-Description: forwarded messages
Content-Type: message/rfc822
MIME-Version: 1.0

Received: (from foobar@nonexistent.net)
	by nonexistent.net id fBSKI8N04906
	for bar@dontmailme.org; Fri, 28 Dec 2001 22:18:08 +0200
Date: Fri, 28 Dec 2001 22:18:08 +0200
From: Foo Bar <foobar@nonexistent.net>
Message-Id: <200112282018.fBSKI8N04906@nonexistent.net>
To: Bar <bar@dontmailme.org>
Subject: Jabberwocky
X-Envelope-Date: Fri Dec 28 22:18:09 2001
X-Envelope-Sender: foobar@nonexistent.net

\`Twas brillig, and the slithy toves
Did gyre and gimble in the wabe;
All mimsy were the borogoves,
And the mome raths outgrabe.

\`Beware the Jabberwock, my son!
The jaws that bite, the claws that catch!
Beware the Jujub bird, and shun
The frumious Bandersnatch!'

He took his vorpal sword in hand:
Long time the manxome foe he sought --
So rested he by the Tumtum gree,
And stood awhile in thought.

And as in uffish thought he stood,
The Jabberwock, with eyes of flame,
Came whiffling through the tulgey wook,
And burbled as it came!

One, two!  One, two!  And through and through
The vorpal blade went snicker-snack!
He left it dead, and with its head
He went galumphing back.

\`And has thou slain the Jabberwock?
Come to my arms, my beamish boy!
O frabjous day!  Calloh!  Callay!
He chortled in his joy.

\`Twas brillig, and the slithy toves
Did gyre and gimble in the wabe;
All mimsy were the borogoves,
And the mome raths outgrabe.



" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mhn.at:824"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_153
#AT_START_154
# 154. mhn.at:894: mhn-compose: external data
at_setup_line='mhn.at:894'
at_func_banner 20
at_desc="mhn-compose: external data"
$at_quiet $as_echo_n "154: $at_desc                     "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "154. mhn.at:894: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhn.at:894:
cat >input <<'_ATEOF'
From: gray@example.net
Subject: External data
------
#@application/octet-stream; \\
                type=tar; \\
                conversions=compress \\
	        [GNU Mailutils distribution] \\
                name=\"mailutils-3.0.tar.gz\"; \\
                directory=\"/gnu/mailutils\"; \\
                site=\"ftp.gnu.org\"; \\
                access-type=anon-ftp; \\
                mode=\"image\"
_ATEOF

mhn -build ./input || exit \$?
mimeflt input
"
echo mhn.at:894 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;
cat >input <<'_ATEOF'
From: gray@example.net
Subject: External data
------
#@application/octet-stream; \
                type=tar; \
                conversions=compress \
	        [GNU Mailutils distribution] \
                name="mailutils-3.0.tar.gz"; \
                directory="/gnu/mailutils"; \
                site="ftp.gnu.org"; \
                access-type=anon-ftp; \
                mode="image"
_ATEOF

mhn -build ./input || exit $?
mimeflt input
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;
cat >input <<'_ATEOF'
From: gray@example.net
Subject: External data
------
#@application/octet-stream; \
                type=tar; \
                conversions=compress \
	        [GNU Mailutils distribution] \
                name="mailutils-3.0.tar.gz"; \
                directory="/gnu/mailutils"; \
                site="ftp.gnu.org"; \
                access-type=anon-ftp; \
                mode="image"
_ATEOF

mhn -build ./input || exit $?
mimeflt input
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "From: gray@example.net
Subject: External data
Content-Type: message/external-body; name=\"mailutils-3.0.tar.gz\"; directory=\"/gnu/mailutils\"; site=\"ftp.gnu.org\"; access-type=anon-ftp; mode=\"image\"
MIME-Version: 1.0

Content-Description: GNU Mailutils distribution
Content-ID: 1
Content-Type: application/octet-stream; type=tar; conversions=compress


" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mhn.at:894"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_154
#AT_START_155
# 155. mhn.at:927: mhn-compose: multipart
at_setup_line='mhn.at:927'
at_func_banner 20
at_desc="mhn-compose: multipart"
$at_quiet $as_echo_n "155: $at_desc                         "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "155. mhn.at:927: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/mhn.at:927:





cp -r \$abs_top_srcdir/testsuite/mh/mbox1 Mail
if test -e Mail/mbox1; then

# First, set all modes to 700
find Mail/mbox1 | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/mbox1 -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail | xargs chmod 700
# Then, remove executable bit from regular files
find Mail -type f | xargs chmod -x

fi




cat >foo.tar <<'_ATEOF'
Not a tarball, really
_ATEOF


cat >input <<'_ATEOF'
From: gray@example.net
Subject: Multipart
------
Initial text part.

#begin [Multipart message] mixed
#forw [forwarded message] +mbox1 1
Plain text 1
#<text/x-special
Plain text 2
#application/octet-stream; type=tar [Tar archive] ./foo.tar
#end
_ATEOF


mhn -build ./input || exit \$?
mimeflt input
"
echo mhn.at:927 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;





cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail
if test -e Mail/mbox1; then

# First, set all modes to 700
find Mail/mbox1 | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/mbox1 -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail | xargs chmod 700
# Then, remove executable bit from regular files
find Mail -type f | xargs chmod -x

fi




cat >foo.tar <<'_ATEOF'
Not a tarball, really
_ATEOF


cat >input <<'_ATEOF'
From: gray@example.net
Subject: Multipart
------
Initial text part.

#begin [Multipart message] mixed
#forw [forwarded message] +mbox1 1
Plain text 1
#<text/x-special
Plain text 2
#application/octet-stream; type=tar [Tar archive] ./foo.tar
#end
_ATEOF


mhn -build ./input || exit $?
mimeflt input
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;





cp -r $abs_top_srcdir/testsuite/mh/mbox1 Mail
if test -e Mail/mbox1; then

# First, set all modes to 700
find Mail/mbox1 | xargs chmod 700
# Then, remove executable bit from regular files
find Mail/mbox1 -type f | xargs chmod -x

else

# First, set all modes to 700
find Mail | xargs chmod 700
# Then, remove executable bit from regular files
find Mail -type f | xargs chmod -x

fi




cat >foo.tar <<'_ATEOF'
Not a tarball, really
_ATEOF


cat >input <<'_ATEOF'
From: gray@example.net
Subject: Multipart
------
Initial text part.

#begin [Multipart message] mixed
#forw [forwarded message] +mbox1 1
Plain text 1
#<text/x-special
Plain text 2
#application/octet-stream; type=tar [Tar archive] ./foo.tar
#end
_ATEOF


mhn -build ./input || exit $?
mimeflt input
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "From: gray@example.net
Subject: Multipart
Content-Type: multipart/mixed; boundary=\"BOUNDARY-1\"
MIME-Version: 1.0

--BOUNDARY-1
Content-ID: 1
Content-Type: text/plain

Initial text part.


--BOUNDARY-1
Content-Type: multipart/mixed; boundary=\"BOUNDARY-2\"
MIME-Version: 1.0

--BOUNDARY-2
Content-Description: forwarded message
Content-ID: 2
Content-Type: message/rfc822
MIME-Version: 1.0

Received: (from foobar@nonexistent.net)
	by nonexistent.net id fBSKI8N04906
	for bar@dontmailme.org; Fri, 28 Dec 2001 22:18:08 +0200
Date: Fri, 28 Dec 2001 22:18:08 +0200
From: Foo Bar <foobar@nonexistent.net>
Message-Id: <200112282018.fBSKI8N04906@nonexistent.net>
To: Bar <bar@dontmailme.org>
Subject: Jabberwocky
X-Envelope-Date: Fri Dec 28 22:18:09 2001
X-Envelope-Sender: foobar@nonexistent.net

\`Twas brillig, and the slithy toves
Did gyre and gimble in the wabe;
All mimsy were the borogoves,
And the mome raths outgrabe.

\`Beware the Jabberwock, my son!
The jaws that bite, the claws that catch!
Beware the Jujub bird, and shun
The frumious Bandersnatch!'

He took his vorpal sword in hand:
Long time the manxome foe he sought --
So rested he by the Tumtum gree,
And stood awhile in thought.

And as in uffish thought he stood,
The Jabberwock, with eyes of flame,
Came whiffling through the tulgey wook,
And burbled as it came!

One, two!  One, two!  And through and through
The vorpal blade went snicker-snack!
He left it dead, and with its head
He went galumphing back.

\`And has thou slain the Jabberwock?
Come to my arms, my beamish boy!
O frabjous day!  Calloh!  Callay!
He chortled in his joy.

\`Twas brillig, and the slithy toves
Did gyre and gimble in the wabe;
All mimsy were the borogoves,
And the mome raths outgrabe.



--BOUNDARY-2
Content-ID: 3
Content-Type: text/plain

Plain text 1

--BOUNDARY-2
Content-ID: 4
Content-Type: text/x-special

Plain text 2

--BOUNDARY-2
Content-Transfer-Encoding: base64
Content-Description: Tar archive
Content-ID: 5
Content-Type: application/octet-stream; type=tar

Tm90IGEgdGFyYmFsbCwgcmVhbGx5Cg==
--BOUNDARY-2--

--BOUNDARY-1--
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/mhn.at:927"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_155
#AT_START_156
# 156. send.at:21: send file
at_setup_line='send.at:21'
at_func_banner 21
at_desc="send file"
$at_quiet $as_echo_n "156: $at_desc                                      "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "156. send.at:21: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/send.at:21:

cat > $MTSTAILOR <<EOT
localname: darkstar
localdomain: example.net
username: mhtester
url: sendmail://$abs_top_builddir/examples/mta
EOT

MTA_DIAG=$curdir/mta.diag
export MTA_DIAG
MTA_DOMAIN=example.net
export MTA_DOMAIN

cat >input <<'_ATEOF'
From: mhtester@example.net
To: gray@example.net
Subject: Send file test
------
Message body
_ATEOF

send ./input || exit \$?
sed 's/: Date: .*/: Date: now/' \$MTA_DIAG
find . -name ,input
"
echo send.at:21 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;

cat > $MTSTAILOR <<EOT
localname: darkstar
localdomain: example.net
username: mhtester
url: sendmail://$abs_top_builddir/examples/mta
EOT

MTA_DIAG=$curdir/mta.diag
export MTA_DIAG
MTA_DOMAIN=example.net
export MTA_DOMAIN

cat >input <<'_ATEOF'
From: mhtester@example.net
To: gray@example.net
Subject: Send file test
------
Message body
_ATEOF

send ./input || exit $?
sed 's/: Date: .*/: Date: now/' $MTA_DIAG
find . -name ,input
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;

cat > $MTSTAILOR <<EOT
localname: darkstar
localdomain: example.net
username: mhtester
url: sendmail://$abs_top_builddir/examples/mta
EOT

MTA_DIAG=$curdir/mta.diag
export MTA_DIAG
MTA_DOMAIN=example.net
export MTA_DOMAIN

cat >input <<'_ATEOF'
From: mhtester@example.net
To: gray@example.net
Subject: Send file test
------
Message body
_ATEOF

send ./input || exit $?
sed 's/: Date: .*/: Date: now/' $MTA_DIAG
find . -name ,input
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "ENVELOPE FROM: mhtester@example.net
ENVELOPE TO: <gray@example.net>
   0: X-Mailer: MH (GNU Mailutils 2.99.94)
   1: Date: now
   2: From: mhtester@example.net
   3: To: <gray@example.net>
   4: Subject: Send file test
   5:
   6: Message body
END OF MESSAGE
./,input
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/send.at:21"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_156
#AT_START_157
# 157. send.at:48: send files
at_setup_line='send.at:48'
at_func_banner 21
at_desc="send files"
$at_quiet $as_echo_n "157: $at_desc                                     "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "157. send.at:48: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/send.at:48:

cat > $MTSTAILOR <<EOT
localname: darkstar
localdomain: example.net
username: mhtester
url: sendmail://$abs_top_builddir/examples/mta
EOT

MTA_DIAG=$curdir/mta.diag
export MTA_DIAG
MTA_DOMAIN=example.net
export MTA_DOMAIN

cat >input.1 <<'_ATEOF'
From: mhtester@example.net
To: gray@example.net
Subject: Send file test 1
------
Message body 1
_ATEOF


cat >input.2 <<'_ATEOF'
From: mhtester@example.net
To: gray@example.org
Subject: Send file test 2
------
Message body 2
_ATEOF


MTA_APPEND=1
export MTA_APPEND

send ./input.1 ./input.2 || exit \$?
sed 's/: Date: .*/: Date: now/' \$MTA_DIAG
find . -name ',input.[12]' | sort
"
echo send.at:48 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;

cat > $MTSTAILOR <<EOT
localname: darkstar
localdomain: example.net
username: mhtester
url: sendmail://$abs_top_builddir/examples/mta
EOT

MTA_DIAG=$curdir/mta.diag
export MTA_DIAG
MTA_DOMAIN=example.net
export MTA_DOMAIN

cat >input.1 <<'_ATEOF'
From: mhtester@example.net
To: gray@example.net
Subject: Send file test 1
------
Message body 1
_ATEOF


cat >input.2 <<'_ATEOF'
From: mhtester@example.net
To: gray@example.org
Subject: Send file test 2
------
Message body 2
_ATEOF


MTA_APPEND=1
export MTA_APPEND

send ./input.1 ./input.2 || exit $?
sed 's/: Date: .*/: Date: now/' $MTA_DIAG
find . -name ',input.[12]' | sort
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;

cat > $MTSTAILOR <<EOT
localname: darkstar
localdomain: example.net
username: mhtester
url: sendmail://$abs_top_builddir/examples/mta
EOT

MTA_DIAG=$curdir/mta.diag
export MTA_DIAG
MTA_DOMAIN=example.net
export MTA_DOMAIN

cat >input.1 <<'_ATEOF'
From: mhtester@example.net
To: gray@example.net
Subject: Send file test 1
------
Message body 1
_ATEOF


cat >input.2 <<'_ATEOF'
From: mhtester@example.net
To: gray@example.org
Subject: Send file test 2
------
Message body 2
_ATEOF


MTA_APPEND=1
export MTA_APPEND

send ./input.1 ./input.2 || exit $?
sed 's/: Date: .*/: Date: now/' $MTA_DIAG
find . -name ',input.[12]' | sort
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "ENVELOPE FROM: mhtester@example.net
ENVELOPE TO: <gray@example.net>
   0: X-Mailer: MH (GNU Mailutils 2.99.94)
   1: Date: now
   2: From: mhtester@example.net
   3: To: <gray@example.net>
   4: Subject: Send file test 1
   5:
   6: Message body 1
END OF MESSAGE
ENVELOPE FROM: mhtester@example.net
ENVELOPE TO: <gray@example.org>
   0: X-Mailer: MH (GNU Mailutils 2.99.94)
   1: Date: now
   2: From: mhtester@example.net
   3: To: <gray@example.org>
   4: Subject: Send file test 2
   5:
   6: Message body 2
END OF MESSAGE
./,input.1
./,input.2
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/send.at:48"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_157
#AT_START_158
# 158. send.at:98: send -draft
at_setup_line='send.at:98'
at_func_banner 21
at_desc="send -draft"
$at_quiet $as_echo_n "158: $at_desc                                    "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "158. send.at:98: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/send.at:98:

cat > $MTSTAILOR <<EOT
localname: darkstar
localdomain: example.net
username: mhtester
url: sendmail://$abs_top_builddir/examples/mta
EOT

MTA_DIAG=$curdir/mta.diag
export MTA_DIAG
MTA_DOMAIN=example.net
export MTA_DOMAIN

cat >Mail/draft <<'_ATEOF'
From: mhtester@example.net
To: gray@example.net
Subject: Send file test
------
Message body
_ATEOF

send -draft || exit \$?
sed 's/: Date: .*/: Date: now/' \$MTA_DIAG
echo == Mail/,draft ==
cat Mail/,draft
"
echo send.at:98 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;

cat > $MTSTAILOR <<EOT
localname: darkstar
localdomain: example.net
username: mhtester
url: sendmail://$abs_top_builddir/examples/mta
EOT

MTA_DIAG=$curdir/mta.diag
export MTA_DIAG
MTA_DOMAIN=example.net
export MTA_DOMAIN

cat >Mail/draft <<'_ATEOF'
From: mhtester@example.net
To: gray@example.net
Subject: Send file test
------
Message body
_ATEOF

send -draft || exit $?
sed 's/: Date: .*/: Date: now/' $MTA_DIAG
echo == Mail/,draft ==
cat Mail/,draft
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;

cat > $MTSTAILOR <<EOT
localname: darkstar
localdomain: example.net
username: mhtester
url: sendmail://$abs_top_builddir/examples/mta
EOT

MTA_DIAG=$curdir/mta.diag
export MTA_DIAG
MTA_DOMAIN=example.net
export MTA_DOMAIN

cat >Mail/draft <<'_ATEOF'
From: mhtester@example.net
To: gray@example.net
Subject: Send file test
------
Message body
_ATEOF

send -draft || exit $?
sed 's/: Date: .*/: Date: now/' $MTA_DIAG
echo == Mail/,draft ==
cat Mail/,draft
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "ENVELOPE FROM: mhtester@example.net
ENVELOPE TO: <gray@example.net>
   0: X-Mailer: MH (GNU Mailutils 2.99.94)
   1: Date: now
   2: From: mhtester@example.net
   3: To: <gray@example.net>
   4: Subject: Send file test
   5:
   6: Message body
END OF MESSAGE
== Mail/,draft ==
From: mhtester@example.net
To: gray@example.net
Subject: Send file test
------
Message body
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/send.at:98"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_158
#AT_START_159
# 159. send.at:131: send -draftfolder
at_setup_line='send.at:131'
at_func_banner 21
at_desc="send -draftfolder"
$at_quiet $as_echo_n "159: $at_desc                              "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "159. send.at:131: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/send.at:131:

cat > $MTSTAILOR <<EOT
localname: darkstar
localdomain: example.net
username: mhtester
url: sendmail://$abs_top_builddir/examples/mta
EOT

MTA_DIAG=$curdir/mta.diag
export MTA_DIAG
MTA_DOMAIN=example.net
export MTA_DOMAIN

mkdir Mail/drafts
cat >Mail/drafts/2 <<'_ATEOF'
From: mhtester@example.net
To: gray@example.net
Subject: Draftfolder test

Message body
_ATEOF

echo \"cur: 2\" > Mail/drafts/.mh_sequences

send -draftfolder +drafts || echo \$?
sed 's/: Date: .*/: Date: now/' \$MTA_DIAG
"
echo send.at:131 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;

cat > $MTSTAILOR <<EOT
localname: darkstar
localdomain: example.net
username: mhtester
url: sendmail://$abs_top_builddir/examples/mta
EOT

MTA_DIAG=$curdir/mta.diag
export MTA_DIAG
MTA_DOMAIN=example.net
export MTA_DOMAIN

mkdir Mail/drafts
cat >Mail/drafts/2 <<'_ATEOF'
From: mhtester@example.net
To: gray@example.net
Subject: Draftfolder test

Message body
_ATEOF

echo "cur: 2" > Mail/drafts/.mh_sequences

send -draftfolder +drafts || echo $?
sed 's/: Date: .*/: Date: now/' $MTA_DIAG
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;

cat > $MTSTAILOR <<EOT
localname: darkstar
localdomain: example.net
username: mhtester
url: sendmail://$abs_top_builddir/examples/mta
EOT

MTA_DIAG=$curdir/mta.diag
export MTA_DIAG
MTA_DOMAIN=example.net
export MTA_DOMAIN

mkdir Mail/drafts
cat >Mail/drafts/2 <<'_ATEOF'
From: mhtester@example.net
To: gray@example.net
Subject: Draftfolder test

Message body
_ATEOF

echo "cur: 2" > Mail/drafts/.mh_sequences

send -draftfolder +drafts || echo $?
sed 's/: Date: .*/: Date: now/' $MTA_DIAG
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "ENVELOPE FROM: mhtester@example.net
ENVELOPE TO: <gray@example.net>
   0: X-Mailer: MH (GNU Mailutils 2.99.94)
   1: Date: now
   2: From: mhtester@example.net
   3: To: <gray@example.net>
   4: Subject: Draftfolder test
   5:
   6: Message body
END OF MESSAGE
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/send.at:131"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_159
#AT_START_160
# 160. send.at:160: send -draftmessage
at_setup_line='send.at:160'
at_func_banner 21
at_desc="send -draftmessage"
$at_quiet $as_echo_n "160: $at_desc                             "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "160. send.at:160: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/send.at:160:

cat > $MTSTAILOR <<EOT
localname: darkstar
localdomain: example.net
username: mhtester
url: sendmail://$abs_top_builddir/examples/mta
EOT

MTA_DIAG=$curdir/mta.diag
export MTA_DIAG
MTA_DOMAIN=example.net
export MTA_DOMAIN

mkdir Mail/drafts
cat >Mail/drafts/2 <<'_ATEOF'
From: mhtester@example.net
To: gray@example.net
Subject: Draftfolder test

Message body
_ATEOF


cat >Mail/drafts/5 <<'_ATEOF'
From: mhtester@example.net
To: gray@example.org
Subject: Draftmessage test

Message body
_ATEOF

echo \"cur: 2\" > Mail/drafts/.mh_sequences

send -draftfolder +drafts -draftmessage 5 || echo \$?
sed 's/: Date: .*/: Date: now/' \$MTA_DIAG
"
echo send.at:160 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;

cat > $MTSTAILOR <<EOT
localname: darkstar
localdomain: example.net
username: mhtester
url: sendmail://$abs_top_builddir/examples/mta
EOT

MTA_DIAG=$curdir/mta.diag
export MTA_DIAG
MTA_DOMAIN=example.net
export MTA_DOMAIN

mkdir Mail/drafts
cat >Mail/drafts/2 <<'_ATEOF'
From: mhtester@example.net
To: gray@example.net
Subject: Draftfolder test

Message body
_ATEOF


cat >Mail/drafts/5 <<'_ATEOF'
From: mhtester@example.net
To: gray@example.org
Subject: Draftmessage test

Message body
_ATEOF

echo "cur: 2" > Mail/drafts/.mh_sequences

send -draftfolder +drafts -draftmessage 5 || echo $?
sed 's/: Date: .*/: Date: now/' $MTA_DIAG
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;

cat > $MTSTAILOR <<EOT
localname: darkstar
localdomain: example.net
username: mhtester
url: sendmail://$abs_top_builddir/examples/mta
EOT

MTA_DIAG=$curdir/mta.diag
export MTA_DIAG
MTA_DOMAIN=example.net
export MTA_DOMAIN

mkdir Mail/drafts
cat >Mail/drafts/2 <<'_ATEOF'
From: mhtester@example.net
To: gray@example.net
Subject: Draftfolder test

Message body
_ATEOF


cat >Mail/drafts/5 <<'_ATEOF'
From: mhtester@example.net
To: gray@example.org
Subject: Draftmessage test

Message body
_ATEOF

echo "cur: 2" > Mail/drafts/.mh_sequences

send -draftfolder +drafts -draftmessage 5 || echo $?
sed 's/: Date: .*/: Date: now/' $MTA_DIAG
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "ENVELOPE FROM: mhtester@example.net
ENVELOPE TO: <gray@example.org>
   0: X-Mailer: MH (GNU Mailutils 2.99.94)
   1: Date: now
   2: From: mhtester@example.net
   3: To: <gray@example.org>
   4: Subject: Draftmessage test
   5:
   6: Message body
END OF MESSAGE
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/send.at:160"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_160
#AT_START_161
# 161. sortm.at:22: sortm -textfield
at_setup_line='sortm.at:22'
at_func_banner 22
at_desc="sortm -textfield"
$at_quiet $as_echo_n "161: $at_desc                               "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "161. sortm.at:22: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/sortm.at:22:




cp -r \$abs_top_srcdir/testsuite/mh/teaparty Mail
if test -e Mail/teaparty; then

# First, set all modes to +w
find Mail/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail | xargs chmod +w
# Then, remove executable bit from regular files
find Mail -type f | xargs chmod -x

fi



echo \"cur: 11\" > Mail/teaparty/.mh_sequences
sortm -text From -nodate +teaparty || exit \$?
scan -format '%4(msg)%<(cur)+%| %> %02(mon{date})/%02(mday{date}) %24(friendly{from}) %{subject}'
"
echo sortm.at:22 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/teaparty Mail
if test -e Mail/teaparty; then

# First, set all modes to +w
find Mail/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail | xargs chmod +w
# Then, remove executable bit from regular files
find Mail -type f | xargs chmod -x

fi



echo "cur: 11" > Mail/teaparty/.mh_sequences
sortm -text From -nodate +teaparty || exit $?
scan -format '%4(msg)%<(cur)+%| %> %02(mon{date})/%02(mday{date}) %24(friendly{from}) %{subject}'
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/teaparty Mail
if test -e Mail/teaparty; then

# First, set all modes to +w
find Mail/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail | xargs chmod +w
# Then, remove executable bit from regular files
find Mail -type f | xargs chmod -x

fi



echo "cur: 11" > Mail/teaparty/.mh_sequences
sortm -text From -nodate +teaparty || exit $?
scan -format '%4(msg)%<(cur)+%| %> %02(mon{date})/%02(mday{date}) %24(friendly{from}) %{subject}'
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "   1  07/29 Alice                    Re: Invitation
   2  07/29 Alice                    Re: Invitation
   3  07/29 Alice                    Re: Invitation
   4  07/29 Alice                    Re: Personal remark
   5  07/29 Alice                    Re: Riddle
   6  07/29 Alice                    Re: Riddle
   7  07/29 Alice                    Re: Be specific
   8  07/29 Alice                    Re: Watch
   9  07/29 Alice                    Funny watch (was Re: Watch)
  10  07/29 Alice                    Re: Funny watch
  11  07/29 Alice                    Re: Funny watch
  12  07/29 Alice                    Re: Riddle
  13  07/29 Alice                    Re: Riddle
  14  07/29 Alice                    Re: Discussing Time
  15  07/29 Alice                    Re: Discussing Time
  16  07/29 Alice                    Re: Discussing Time
  17  07/29 Alice                    Re: Discussing Time
  18  07/29 Alice                    Re: Discussing Time
  19  07/29 Alice                    Re: Discussing Time
  20  07/29 Alice                    A guess (was Re: Discussing Time)
  21  07/29 Alice                    Re: A guess
  22  07/29 Alice                    Re: A guess
  23  07/29 Alice                    Re: Request for a story
  24  07/29 Alice                    Re: Request for a story
  25  07/29 Alice                    Re: Story
  26  07/29 Alice                    Re: Story
  27  07/29 Alice                    Re: Story
  28  07/29 Alice                    Re: Remark
  29  07/29 Alice                    Personal remark
  30  07/29 Alice                    Re: Story
  31  07/29 Alice                    Re: Story
  32  07/29 Alice                    Re: Story
  33  07/29 Alice                    Re: Story
  34  07/29 Alice                    Re: Story
  35  07/29 Alice                    Re: Story
  36  07/29 Alice                    Re: Story
  37  07/29 Alice                    Re: Story
  38  07/29 Alice                    Thoughts
  39  07/29 Dormouse                 Re: Be specific
  40  07/29 Dormouse                 Re: Remark
  41  07/29 Dormouse                 Re: Discussing Time
  42  07/29 Dormouse                 Re: Request for a story
  43  07/29 Dormouse                 Story (was Re: Request for a story)
  44  07/29 Dormouse                 Re: Story
  45  07/29 Dormouse                 Re: Story
  46  07/29 Dormouse                 Re: Story
  47  07/29 Dormouse                 Re: Story
  48  07/29 Dormouse                 Re: Story
  49  07/29 Dormouse                 Re: Story
  50  07/29 Dormouse                 Re: Story
  51  07/29 Dormouse                 Re: Story
  52  07/29 Dormouse                 Re: Story
  53  07/29 Dormouse                 Re: Story
  54  07/29 Hatter                   Re: Be specific
  55  07/29 Hatter                   Re: Be specific
  56  07/29 Hatter                   Watch
  57  07/29 Hatter                   Re: Watch
  58  07/29 Hatter                   Re: Watch
  59  07/29 Hatter                   Re: Funny watch
  60  07/29 Hatter                   Re: Funny watch
  61  07/29 Hatter                   Remark
  62  07/29 Hatter                   Re: Riddle
  63  07/29 Hatter                   Re: Riddle
  64  07/29 Hatter                   Discussing Time
  65  07/29 Hatter                   Re: Discussing Time
  66  07/29 Hatter                   Re: Discussing Time
  67  07/29 Hatter                   Re: Discussing Time
  68  07/29 Hatter                   Re: Discussing Time
  69  07/29 Hatter                   Re: Discussing Time
  70  07/29 Hatter                   Re: Discussing Time
  71  07/29 Hatter                   Re: Discussing Time
  72  07/29 Hatter                   Re: A guess
  73  07/29 Hatter                   Re: A guess
  74  07/29 Hatter                   Re: Request for a story
  75  07/29 Hatter                   Re: Request for a story
  76  07/29 Hatter                   Re: Remark
  77  07/29 Hatter                   Re: Personal remark
  78  07/29 Hatter                   Let's move
  79  07/29 Hatter                   Re: Story
  80  07/29 Hatter                   Rude remark
  81  07/29 March Hare               Invitation
  82  07/29 March Hare               Re: Invitation
  83  07/29 March Hare               Re: Invitation
  84  07/29 March Hare               Personal remark
  85  07/29 March Hare               Riddle (was Re: Personal remark)
  86+ 07/29 March Hare               Re: Riddle
  87  07/29 March Hare               Be specific (was Re: Riddle)
  88  07/29 March Hare               Re: Be specific
  89  07/29 March Hare               Re: Watch
  90  07/29 March Hare               Re: Watch
  91  07/29 March Hare               Re: Riddle
  92  07/29 March Hare               Thought apart Re: Discussing Time
  93  07/29 March Hare               Request for a story (was Re: A guess)
  94  07/29 March Hare               Re: Request for a story
  95  07/29 March Hare               Remark
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/sortm.at:22"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_161
#AT_START_162
# 162. sortm.at:126: sortm -datefield
at_setup_line='sortm.at:126'
at_func_banner 22
at_desc="sortm -datefield"
$at_quiet $as_echo_n "162: $at_desc                               "
at_xfail=no
echo "#                             -*- compilation -*-" >> "$at_group_log"
(
  $as_echo "162. sortm.at:126: testing ..."
  $at_traceon



test -d Mail || mkdir Mail
curdir=`pwd`
MH=$curdir/mh_profile
export MH
cat > $MH <<EOT
Path: $curdir/Mail
mhetcdir: $abs_top_srcdir/mh/etc
moreproc: /bin/cat
EOT
MTSTAILOR=$curdir/mtstailor
export MTSTAILOR
exec <&-

{ $at_traceoff
$as_echo "$at_srcdir/sortm.at:126:




cp -r \$abs_top_srcdir/testsuite/mh/teaparty Mail
if test -e Mail/teaparty; then

# First, set all modes to +w
find Mail/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail | xargs chmod +w
# Then, remove executable bit from regular files
find Mail -type f | xargs chmod -x

fi



echo \"cur: 11\" > Mail/teaparty/.mh_sequences
sortm -text From -nodate +teaparty || exit \$?
scan -format '%4(msg)%<(cur)+%| %> %02(mon{date})/%02(mday{date}) %24(friendly{from}) %{subject}'
sortm
scan -format '%4(msg)%<(cur)+%| %> %02(mon{date})/%02(mday{date}) %24(friendly{from}) %{subject}'
"
echo sortm.at:126 >"$at_check_line_file"

if { echo 'Not enabling shell tracing (command contains an embedded newline)'
   false; }; then
  ( $at_traceon;




cp -r $abs_top_srcdir/testsuite/mh/teaparty Mail
if test -e Mail/teaparty; then

# First, set all modes to +w
find Mail/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail | xargs chmod +w
# Then, remove executable bit from regular files
find Mail -type f | xargs chmod -x

fi



echo "cur: 11" > Mail/teaparty/.mh_sequences
sortm -text From -nodate +teaparty || exit $?
scan -format '%4(msg)%<(cur)+%| %> %02(mon{date})/%02(mday{date}) %24(friendly{from}) %{subject}'
sortm
scan -format '%4(msg)%<(cur)+%| %> %02(mon{date})/%02(mday{date}) %24(friendly{from}) %{subject}'
 ) >"$at_stdout" 2>"$at_stder1"
  at_func_filter_trace $?
else
  ( :;




cp -r $abs_top_srcdir/testsuite/mh/teaparty Mail
if test -e Mail/teaparty; then

# First, set all modes to +w
find Mail/teaparty | xargs chmod +w
# Then, remove executable bit from regular files
find Mail/teaparty -type f | xargs chmod -x

else

# First, set all modes to +w
find Mail | xargs chmod +w
# Then, remove executable bit from regular files
find Mail -type f | xargs chmod -x

fi



echo "cur: 11" > Mail/teaparty/.mh_sequences
sortm -text From -nodate +teaparty || exit $?
scan -format '%4(msg)%<(cur)+%| %> %02(mon{date})/%02(mday{date}) %24(friendly{from}) %{subject}'
sortm
scan -format '%4(msg)%<(cur)+%| %> %02(mon{date})/%02(mday{date}) %24(friendly{from}) %{subject}'
 ) >"$at_stdout" 2>"$at_stderr"
fi
at_status=$?
at_failed=false
at_func_diff_devnull "$at_stderr" || at_failed=:
echo >>"$at_stdout"; $as_echo "   1  07/29 Alice                    Re: Invitation
   2  07/29 Alice                    Re: Invitation
   3  07/29 Alice                    Re: Invitation
   4  07/29 Alice                    Re: Personal remark
   5  07/29 Alice                    Re: Riddle
   6  07/29 Alice                    Re: Riddle
   7  07/29 Alice                    Re: Be specific
   8  07/29 Alice                    Re: Watch
   9  07/29 Alice                    Funny watch (was Re: Watch)
  10  07/29 Alice                    Re: Funny watch
  11  07/29 Alice                    Re: Funny watch
  12  07/29 Alice                    Re: Riddle
  13  07/29 Alice                    Re: Riddle
  14  07/29 Alice                    Re: Discussing Time
  15  07/29 Alice                    Re: Discussing Time
  16  07/29 Alice                    Re: Discussing Time
  17  07/29 Alice                    Re: Discussing Time
  18  07/29 Alice                    Re: Discussing Time
  19  07/29 Alice                    Re: Discussing Time
  20  07/29 Alice                    A guess (was Re: Discussing Time)
  21  07/29 Alice                    Re: A guess
  22  07/29 Alice                    Re: A guess
  23  07/29 Alice                    Re: Request for a story
  24  07/29 Alice                    Re: Request for a story
  25  07/29 Alice                    Re: Story
  26  07/29 Alice                    Re: Story
  27  07/29 Alice                    Re: Story
  28  07/29 Alice                    Re: Remark
  29  07/29 Alice                    Personal remark
  30  07/29 Alice                    Re: Story
  31  07/29 Alice                    Re: Story
  32  07/29 Alice                    Re: Story
  33  07/29 Alice                    Re: Story
  34  07/29 Alice                    Re: Story
  35  07/29 Alice                    Re: Story
  36  07/29 Alice                    Re: Story
  37  07/29 Alice                    Re: Story
  38  07/29 Alice                    Thoughts
  39  07/29 Dormouse                 Re: Be specific
  40  07/29 Dormouse                 Re: Remark
  41  07/29 Dormouse                 Re: Discussing Time
  42  07/29 Dormouse                 Re: Request for a story
  43  07/29 Dormouse                 Story (was Re: Request for a story)
  44  07/29 Dormouse                 Re: Story
  45  07/29 Dormouse                 Re: Story
  46  07/29 Dormouse                 Re: Story
  47  07/29 Dormouse                 Re: Story
  48  07/29 Dormouse                 Re: Story
  49  07/29 Dormouse                 Re: Story
  50  07/29 Dormouse                 Re: Story
  51  07/29 Dormouse                 Re: Story
  52  07/29 Dormouse                 Re: Story
  53  07/29 Dormouse                 Re: Story
  54  07/29 Hatter                   Re: Be specific
  55  07/29 Hatter                   Re: Be specific
  56  07/29 Hatter                   Watch
  57  07/29 Hatter                   Re: Watch
  58  07/29 Hatter                   Re: Watch
  59  07/29 Hatter                   Re: Funny watch
  60  07/29 Hatter                   Re: Funny watch
  61  07/29 Hatter                   Remark
  62  07/29 Hatter                   Re: Riddle
  63  07/29 Hatter                   Re: Riddle
  64  07/29 Hatter                   Discussing Time
  65  07/29 Hatter                   Re: Discussing Time
  66  07/29 Hatter                   Re: Discussing Time
  67  07/29 Hatter                   Re: Discussing Time
  68  07/29 Hatter                   Re: Discussing Time
  69  07/29 Hatter                   Re: Discussing Time
  70  07/29 Hatter                   Re: Discussing Time
  71  07/29 Hatter                   Re: Discussing Time
  72  07/29 Hatter                   Re: A guess
  73  07/29 Hatter                   Re: A guess
  74  07/29 Hatter                   Re: Request for a story
  75  07/29 Hatter                   Re: Request for a story
  76  07/29 Hatter                   Re: Remark
  77  07/29 Hatter                   Re: Personal remark
  78  07/29 Hatter                   Let's move
  79  07/29 Hatter                   Re: Story
  80  07/29 Hatter                   Rude remark
  81  07/29 March Hare               Invitation
  82  07/29 March Hare               Re: Invitation
  83  07/29 March Hare               Re: Invitation
  84  07/29 March Hare               Personal remark
  85  07/29 March Hare               Riddle (was Re: Personal remark)
  86+ 07/29 March Hare               Re: Riddle
  87  07/29 March Hare               Be specific (was Re: Riddle)
  88  07/29 March Hare               Re: Be specific
  89  07/29 March Hare               Re: Watch
  90  07/29 March Hare               Re: Watch
  91  07/29 March Hare               Re: Riddle
  92  07/29 March Hare               Thought apart Re: Discussing Time
  93  07/29 March Hare               Request for a story (was Re: A guess)
  94  07/29 March Hare               Re: Request for a story
  95  07/29 March Hare               Remark
   1  07/29 March Hare               Invitation
   2  07/29 Alice                    Re: Invitation
   3  07/29 March Hare               Re: Invitation
   4  07/29 Alice                    Re: Invitation
   5  07/29 March Hare               Re: Invitation
   6  07/29 Alice                    Re: Invitation
   7  07/29 March Hare               Personal remark
   8  07/29 Alice                    Re: Personal remark
   9  07/29 March Hare               Riddle (was Re: Personal remark)
  10  07/29 Alice                    Re: Riddle
  11+ 07/29 March Hare               Re: Riddle
  12  07/29 Alice                    Re: Riddle
  13  07/29 March Hare               Be specific (was Re: Riddle)
  14  07/29 Alice                    Re: Be specific
  15  07/29 Hatter                   Re: Be specific
  16  07/29 March Hare               Re: Be specific
  17  07/29 Dormouse                 Re: Be specific
  18  07/29 Hatter                   Re: Be specific
  19  07/29 Hatter                   Watch
  20  07/29 Alice                    Re: Watch
  21  07/29 Hatter                   Re: Watch
  22  07/29 March Hare               Re: Watch
  23  07/29 Hatter                   Re: Watch
  24  07/29 March Hare               Re: Watch
  25  07/29 Alice                    Funny watch (was Re: Watch)
  26  07/29 Hatter                   Re: Funny watch
  27  07/29 Alice                    Re: Funny watch
  28  07/29 Hatter                   Re: Funny watch
  29  07/29 Alice                    Re: Funny watch
  30  07/29 Hatter                   Remark
  31  07/29 Dormouse                 Re: Remark
  32  07/29 Hatter                   Re: Riddle
  33  07/29 Alice                    Re: Riddle
  34  07/29 Hatter                   Re: Riddle
  35  07/29 March Hare               Re: Riddle
  36  07/29 Alice                    Re: Riddle
  37  07/29 Hatter                   Discussing Time
  38  07/29 Alice                    Re: Discussing Time
  39  07/29 Hatter                   Re: Discussing Time
  40  07/29 Alice                    Re: Discussing Time
  41  07/29 Hatter                   Re: Discussing Time
  42  07/29 March Hare               Thought apart Re: Discussing Time
  43  07/29 Alice                    Re: Discussing Time
  44  07/29 Hatter                   Re: Discussing Time
  45  07/29 Alice                    Re: Discussing Time
  46  07/29 Hatter                   Re: Discussing Time
  47  07/29 Alice                    Re: Discussing Time
  48  07/29 Hatter                   Re: Discussing Time
  49  07/29 Dormouse                 Re: Discussing Time
  50  07/29 Hatter                   Re: Discussing Time
  51  07/29 Alice                    Re: Discussing Time
  52  07/29 Hatter                   Re: Discussing Time
  53  07/29 Alice                    A guess (was Re: Discussing Time)
  54  07/29 Hatter                   Re: A guess
  55  07/29 Alice                    Re: A guess
  56  07/29 Hatter                   Re: A guess
  57  07/29 Alice                    Re: A guess
  58  07/29 March Hare               Request for a story (was Re: A guess)
  59  07/29 Alice                    Re: Request for a story
  60  07/29 Hatter                   Re: Request for a story
  61  07/29 Dormouse                 Re: Request for a story
  62  07/29 March Hare               Re: Request for a story
  63  07/29 Alice                    Re: Request for a story
  64  07/29 Hatter                   Re: Request for a story
  65  07/29 Dormouse                 Story (was Re: Request for a story)
  66  07/29 Alice                    Re: Story
  67  07/29 Dormouse                 Re: Story
  68  07/29 Alice                    Re: Story
  69  07/29 Dormouse                 Re: Story
  70  07/29 Alice                    Re: Story
  71  07/29 March Hare               Remark
  72  07/29 Alice                    Re: Remark
  73  07/29 Hatter                   Re: Remark
  74  07/29 Alice                    Personal remark
  75  07/29 Hatter                   Re: Personal remark
  76  07/29 Alice                    Re: Story
  77  07/29 Dormouse                 Re: Story
  78  07/29 Alice                    Re: Story
  79  07/29 Dormouse                 Re: Story
  80  07/29 Alice                    Re: Story
  81  07/29 Dormouse                 Re: Story
  82  07/29 Alice                    Re: Story
  83  07/29 Dormouse                 Re: Story
  84  07/29 Hatter                   Let's move
  85  07/29 Alice                    Re: Story
  86  07/29 Hatter                   Re: Story
  87  07/29 Alice                    Re: Story
  88  07/29 Dormouse                 Re: Story
  89  07/29 Dormouse                 Re: Story
  90  07/29 Alice                    Re: Story
  91  07/29 Dormouse                 Re: Story
  92  07/29 Dormouse                 Re: Story
  93  07/29 Alice                    Re: Story
  94  07/29 Hatter                   Rude remark
  95  07/29 Alice                    Thoughts
" | \
  $at_diff - "$at_stdout" || at_failed=:
at_func_check_status 0 $at_status "$at_srcdir/sortm.at:126"

$at_failed && at_func_log_failure
$at_traceon; }

  $at_traceoff
  $at_times_p && times >"$at_times_file"
) 5>&1 2>&1 | eval $at_tee_pipe
at_status=`cat "$at_status_file"`
#AT_STOP_162
