From b56e3d43e5de43121779dfbbe0f7d1a19bef8c7b Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Mon, 29 Apr 2013 12:43:18 +0100 Subject: tests: Added imap STATUS command test --- tests/data/Makefile.am | 1 + tests/data/test809 | 42 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 tests/data/test809 (limited to 'tests/data') diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am index 18120374a..4de091a4c 100644 --- a/tests/data/Makefile.am +++ b/tests/data/Makefile.am @@ -64,6 +64,7 @@ test700 test701 test702 test703 test704 test705 test706 test707 test708 \ test709 test710 test711 test712 \ \ test800 test801 test802 test803 test804 test805 test806 test807 test808 \ +test809 \ \ test850 test851 test852 test853 test854 test855 test856 test857 \ \ diff --git a/tests/data/test809 b/tests/data/test809 new file mode 100644 index 000000000..099dd3322 --- /dev/null +++ b/tests/data/test809 @@ -0,0 +1,42 @@ + + + +IMAP +STATUS +CUSTOMREQUEST + + + +# +# Server-side + + +* STATUS 809 (MESSAGES 231 UIDNEXT 44292) + + + +# +# Client-side + + +imap + + +IMAP STATUS (CUSTOMREQUEST) + + +imap://%HOSTIP:%IMAPPORT -u user:secret -X 'STATUS 809 (UIDNEXT MESSAGES)' + + + +# +# Verify data after the test has been "shot" + + +A001 CAPABILITY +A002 LOGIN user secret +A003 STATUS 809 (UIDNEXT MESSAGES) +A004 LOGOUT + + + -- cgit v1.2.3