From 03f069ae2f50dd6de7ee5f466b0101cccbea4293 Mon Sep 17 00:00:00 2001 From: Brian Aker Date: Tue, 30 Oct 2007 17:43:50 -0700 Subject: [PATCH] Updated test output. More tests. --- tests/output.res | 118 ++++++++++++++++++++++++++++++++++++++++++++--- tests/test.c | 1 + 2 files changed, 113 insertions(+), 6 deletions(-) diff --git a/tests/output.res b/tests/output.res index e19653a9..23ab2daf 100644 --- a/tests/output.res +++ b/tests/output.res @@ -27,7 +27,7 @@ Error 22 -> SERVER DELETE Error 23 -> SERVER VALUE Error 24 -> STAT VALUE Error 25 -> SYSTEM ERROR -Error 26 -> COULD NOT UNIX SOCKET +Error 26 -> COULD NOT OPEN UNIX SOCKET Error 27 -> ACTION NOT SUPPORTED Found key pid Found key uptime @@ -133,7 +133,7 @@ Error 22 -> SERVER DELETE Error 23 -> SERVER VALUE Error 24 -> STAT VALUE Error 25 -> SYSTEM ERROR -Error 26 -> COULD NOT UNIX SOCKET +Error 26 -> COULD NOT OPEN UNIX SOCKET Error 27 -> ACTION NOT SUPPORTED Found key pid Found key uptime @@ -239,7 +239,7 @@ Error 22 -> SERVER DELETE Error 23 -> SERVER VALUE Error 24 -> STAT VALUE Error 25 -> SYSTEM ERROR -Error 26 -> COULD NOT UNIX SOCKET +Error 26 -> COULD NOT OPEN UNIX SOCKET Error 27 -> ACTION NOT SUPPORTED Found key pid Found key uptime @@ -345,7 +345,7 @@ Error 22 -> SERVER DELETE Error 23 -> SERVER VALUE Error 24 -> STAT VALUE Error 25 -> SYSTEM ERROR -Error 26 -> COULD NOT UNIX SOCKET +Error 26 -> COULD NOT OPEN UNIX SOCKET Error 27 -> ACTION NOT SUPPORTED Found key pid Found key uptime @@ -451,7 +451,7 @@ Error 22 -> SERVER DELETE Error 23 -> SERVER VALUE Error 24 -> STAT VALUE Error 25 -> SYSTEM ERROR -Error 26 -> COULD NOT UNIX SOCKET +Error 26 -> COULD NOT OPEN UNIX SOCKET Error 27 -> ACTION NOT SUPPORTED Found key pid Found key uptime @@ -557,7 +557,113 @@ Error 22 -> SERVER DELETE Error 23 -> SERVER VALUE Error 24 -> STAT VALUE Error 25 -> SYSTEM ERROR -Error 26 -> COULD NOT UNIX SOCKET +Error 26 -> COULD NOT OPEN UNIX SOCKET +Error 27 -> ACTION NOT SUPPORTED +Found key pid +Found key uptime +Found key time +Found key version +Found key pointer_size +Found key rusage_user +Found key rusage_system +Found key rusage_user_seconds +Found key rusage_user_microseconds +Found key rusage_system_seconds +Found key rusage_system_microseconds +Found key curr_items +Found key total_items +Found key bytes +Found key curr_connections +Found key total_connections +Found key connection_structures +Found key cmd_get +Found key cmd_set +Found key get_hits +Found key get_misses +Found key evictions +Found key bytes_read +Found key bytes_written +Found key limit_maxbytes +Found key threads +Found key pid +Found key uptime +Found key time +Found key version +Found key pointer_size +Found key rusage_user +Found key rusage_system +Found key rusage_user_seconds +Found key rusage_user_microseconds +Found key rusage_system_seconds +Found key rusage_system_microseconds +Found key curr_items +Found key total_items +Found key bytes +Found key curr_connections +Found key total_connections +Found key connection_structures +Found key cmd_get +Found key cmd_set +Found key get_hits +Found key get_misses +Found key evictions +Found key bytes_read +Found key bytes_written +Found key limit_maxbytes +Found key threads +Found key pid +Found key uptime +Found key time +Found key version +Found key pointer_size +Found key rusage_user +Found key rusage_system +Found key rusage_user_seconds +Found key rusage_user_microseconds +Found key rusage_system_seconds +Found key rusage_system_microseconds +Found key curr_items +Found key total_items +Found key bytes +Found key curr_connections +Found key total_connections +Found key connection_structures +Found key cmd_get +Found key cmd_set +Found key get_hits +Found key get_misses +Found key evictions +Found key bytes_read +Found key bytes_written +Found key limit_maxbytes +Found key threads +Error 0 -> SUCCESS +Error 1 -> FAILURE +Error 2 -> HOSTNAME LOOKUP FAILURE +Error 3 -> CONNECTION FAILURE +Error 4 -> CONNECTION BIND FAILURE +Error 5 -> WRITE FAILURE +Error 6 -> READ FAILURE +Error 7 -> UNKNOWN READ FAILURE +Error 8 -> PROTOCOL ERROR +Error 9 -> CLIENT ERROR +Error 10 -> SERVER ERROR +Error 11 -> CONNECTION SOCKET CREATE FAILURE +Error 12 -> CONNECTION DATA EXISTS +Error 13 -> CONNECTION DATA DOES NOT EXIST +Error 14 -> NOT STORED +Error 15 -> STORED +Error 16 -> NOT FOUND +Error 17 -> MEMORY ALLOCATION FAILURE +Error 18 -> PARTIAL READ +Error 19 -> SOME ERRORS WERE REPORTED +Error 20 -> NO SERVERS DEFINED +Error 21 -> SERVER END +Error 22 -> SERVER DELETE +Error 23 -> SERVER VALUE +Error 24 -> STAT VALUE +Error 25 -> SYSTEM ERROR +Error 26 -> COULD NOT OPEN UNIX SOCKET Error 27 -> ACTION NOT SUPPORTED Found key pid Found key uptime diff --git a/tests/test.c b/tests/test.c index b571adf9..ab0e9097 100644 --- a/tests/test.c +++ b/tests/test.c @@ -952,6 +952,7 @@ int main(int argc, char *argv[]) {"md5", pre_md5, 0, tests}, {"crc", pre_crc, 0, tests}, {"unix_socket", pre_unix_socket, 0, tests}, + {"unix_socket_nodelay", pre_nodelay, 0, tests}, {"string", 0, 0, string_tests}, {"user", 0, 0, user_tests}, {0, 0, 0, 0} -- 2.30.2