summaryrefslogtreecommitdiff
path: root/testapp.c
diff options
context:
space:
mode:
authorDustin Sallings <dustin@spy.net>2009-05-10 00:50:47 -0700
committerTrond Norbye <Trond.Norbye@sun.com>2009-10-25 21:19:14 +0100
commitf1307c4d9cadb94076a99cc2f88a00f7e0b4161f (patch)
tree2f7f1096abce3f8c986854b3681770dc8f6d7da4 /testapp.c
parentda3d85a5d0fa9aaf927371ed70dce2366956a173 (diff)
downloadmemcached-f1307c4d9cadb94076a99cc2f88a00f7e0b4161f.tar.gz
SASL auth support.
Diffstat (limited to 'testapp.c')
-rw-r--r--testapp.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/testapp.c b/testapp.c
index 4a9dd10..a1bf42e 100644
--- a/testapp.c
+++ b/testapp.c
@@ -1475,7 +1475,7 @@ static enum test_return test_binary_stat(void) {
}
static enum test_return test_binary_illegal(void) {
- uint8_t cmd = 0x1b;
+ uint8_t cmd = 0x23;
while (cmd != 0x00) {
union {
protocol_binary_request_no_extras request;
@@ -1585,6 +1585,10 @@ static enum test_return test_binary_pipeline_hickup_chunk(void *buffer, size_t b
NULL, 0, NULL, 0);
break;
+ case PROTOCOL_BINARY_CMD_SASL_LIST_MECHS:
+ case PROTOCOL_BINARY_CMD_SASL_AUTH:
+ case PROTOCOL_BINARY_CMD_SASL_STEP:
+ /* Ignoring SASL */
case PROTOCOL_BINARY_CMD_QUITQ:
case PROTOCOL_BINARY_CMD_QUIT:
/* I don't want to pass on the quit commands ;-) */