Commit a71cd32b a71cd32bac856afde7b2d202d57e5b49a1dc916e by Sergey Poznyakoff

Test "z" command.

1 parent 5f586c01
# -*- tcl -*-
# This file is part of Mailutils testsuite.
# Copyright (C) 2002, Free Software Foundation
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
mail_start "--file=%teaparty.mbox"
mail_command "set readonly"
mail_test "headers" \
">N 1 March Hare Sun Jul 21 20:46 10/307 Invitation"\
" N 2 Alice Sun Jul 21 20:46 10/317 Re: Invitation"\
" N 3 March Hare Sun Jul 21 20:46 10/312 Re: Invitation"\
" N 4 Alice Sun Jul 21 20:46 10/341 Re: Invitation"\
" N 5 March Hare Sun Jul 21 20:46 10/358 Re: Invitation"\
" N 6 Alice Sun Jul 21 20:46 11/373 Re: Invitation"\
" N 7 March Hare Sun Jul 21 20:46 10/321 Personal remark"\
" N 8 Alice Sun Jul 21 20:46 10/364 Re: Personal remark"\
" N 9 March Hare Sun Jul 21 20:46 10/350 Riddle (was Re: Personal "
mail_test "z." \
">N 1 March Hare Sun Jul 21 20:46 10/307 Invitation"\
" N 2 Alice Sun Jul 21 20:46 10/317 Re: Invitation"\
" N 3 March Hare Sun Jul 21 20:46 10/312 Re: Invitation"\
" N 4 Alice Sun Jul 21 20:46 10/341 Re: Invitation"\
" N 5 March Hare Sun Jul 21 20:46 10/358 Re: Invitation"\
" N 6 Alice Sun Jul 21 20:46 11/373 Re: Invitation"\
" N 7 March Hare Sun Jul 21 20:46 10/321 Personal remark"\
" N 8 Alice Sun Jul 21 20:46 10/364 Re: Personal remark"\
" N 9 March Hare Sun Jul 21 20:46 10/350 Riddle (was Re: Personal "
mail_test "z" \
">N 11 March Hare Sun Jul 21 20:46 10/354 Re: Riddle"\
" N 12 Alice Sun Jul 21 20:46 10/303 Re: Riddle"\
" N 13 March Hare Sun Jul 21 20:46 10/344 Be specific (was Re: Ridd"\
" N 14 Alice Sun Jul 21 20:46 11/374 Re: Be specific"\
" N 15 Hatter Sun Jul 21 20:46 12/415 Re: Be specific"\
" N 16 March Hare Sun Jul 21 20:46 11/392 Re: Be specific"\
" N 17 Dormouse Sun Jul 21 20:46 12/448 Re: Be specific"\
" N 18 Hatter Sun Jul 21 20:46 10/336 Re: Be specific"\
" N 19 Hatter Sun Jul 21 20:46 10/316 Watch"\
" N 20 Alice Sun Jul 21 20:46 10/303 Re: Watch"
mail_test "z-" \
">N 1 March Hare Sun Jul 21 20:46 10/307 Invitation"\
" N 2 Alice Sun Jul 21 20:46 10/317 Re: Invitation"\
" N 3 March Hare Sun Jul 21 20:46 10/312 Re: Invitation"\
" N 4 Alice Sun Jul 21 20:46 10/341 Re: Invitation"\
" N 5 March Hare Sun Jul 21 20:46 10/358 Re: Invitation"\
" N 6 Alice Sun Jul 21 20:46 11/373 Re: Invitation"\
" N 7 March Hare Sun Jul 21 20:46 10/321 Personal remark"\
" N 8 Alice Sun Jul 21 20:46 10/364 Re: Personal remark"\
" N 9 March Hare Sun Jul 21 20:46 10/350 Riddle (was Re: Personal "
mail_test "z +3" \
">N 31 Dormouse Sun Jul 21 20:46 11/370 Re: Remark"\
" N 32 Hatter Sun Jul 21 20:46 10/325 Re: Riddle"\
" N 33 Alice Sun Jul 21 20:46 10/329 Re: Riddle"\
" N 34 Hatter Sun Jul 21 20:46 10/321 Re: Riddle"\
" N 35 March Hare Sun Jul 21 20:46 10/298 Re: Riddle"\
" N 36 Alice Sun Jul 21 20:46 11/412 Re: Riddle"\
" N 37 Hatter Sun Jul 21 20:46 11/378 Discussing Time"\
" N 38 Alice Sun Jul 21 20:46 10/328 Re: Discussing Time"\
" N 39 Hatter Sun Jul 21 20:46 10/363 Re: Discussing Time"\
" N 40 Alice Sun Jul 21 20:46 10/365 Re: Discussing Time"
mail_test "z -2" \
">N 11 March Hare Sun Jul 21 20:46 10/354 Re: Riddle"\
" N 12 Alice Sun Jul 21 20:46 10/303 Re: Riddle"\
" N 13 March Hare Sun Jul 21 20:46 10/344 Be specific (was Re: Ridd"\
" N 14 Alice Sun Jul 21 20:46 11/374 Re: Be specific"\
" N 15 Hatter Sun Jul 21 20:46 12/415 Re: Be specific"\
" N 16 March Hare Sun Jul 21 20:46 11/392 Re: Be specific"\
" N 17 Dormouse Sun Jul 21 20:46 12/448 Re: Be specific"\
" N 18 Hatter Sun Jul 21 20:46 10/336 Re: Be specific"\
" N 19 Hatter Sun Jul 21 20:46 10/316 Watch"\
" N 20 Alice Sun Jul 21 20:46 10/303 Re: Watch"
mail_test "z +8" \
">N 91 Dormouse Sun Jul 21 20:46 10/306 Re: Story"\
" N 92 Dormouse Sun Jul 21 20:46 13/493 Re: Story"\
" N 93 Alice Sun Jul 21 20:46 10/337 Re: Story"\
" N 94 Hatter Sun Jul 21 20:46 10/317 Rude remark"\
" N 95 Alice Sun Jul 21 20:46 11/385 Thoughts"
mail_test "z" "On last screenful of messages"
mail_test "headers" \
" N 87 Alice Sun Jul 21 20:46 10/323 Re: Story"\
" N 88 Dormouse Sun Jul 21 20:46 10/328 Re: Story"\
" N 89 Dormouse Sun Jul 21 20:46 11/396 Re: Story"\
" N 90 Alice Sun Jul 21 20:46 10/312 Re: Story"\
">N 91 Dormouse Sun Jul 21 20:46 10/306 Re: Story"\
" N 92 Dormouse Sun Jul 21 20:46 13/493 Re: Story"\
" N 93 Alice Sun Jul 21 20:46 10/337 Re: Story"\
" N 94 Hatter Sun Jul 21 20:46 10/317 Rude remark"\
" N 95 Alice Sun Jul 21 20:46 11/385 Thoughts"
mail_test "z -9" \
">N 1 March Hare Sun Jul 21 20:46 10/307 Invitation"\
" N 2 Alice Sun Jul 21 20:46 10/317 Re: Invitation"\
" N 3 March Hare Sun Jul 21 20:46 10/312 Re: Invitation"\
" N 4 Alice Sun Jul 21 20:46 10/341 Re: Invitation"\
" N 5 March Hare Sun Jul 21 20:46 10/358 Re: Invitation"\
" N 6 Alice Sun Jul 21 20:46 11/373 Re: Invitation"\
" N 7 March Hare Sun Jul 21 20:46 10/321 Personal remark"\
" N 8 Alice Sun Jul 21 20:46 10/364 Re: Personal remark"\
" N 9 March Hare Sun Jul 21 20:46 10/350 Riddle (was Re: Personal "
mail_test "z-" "On first screenful of messages"
# End of z.exp