X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=src%2Fbin%2Fmemcapable.cc;h=65ae027fdbd73e46382d8210bc4097a72db11308;hb=633cf1561c54972aea6a12babc4cf38c679b8ceb;hp=6ae0aeea1ee56bd4cea07e4d5313ef293c998a09;hpb=88d2e7e6a9e0eafbdc1c75068ef1b319d7a34e18;p=awesomized%2Flibmemcached diff --git a/src/bin/memcapable.cc b/src/bin/memcapable.cc index 6ae0aeea..65ae027f 100644 --- a/src/bin/memcapable.cc +++ b/src/bin/memcapable.cc @@ -1262,14 +1262,16 @@ static enum test_return receive_error_response(void) static enum test_return test_ascii_quit(void) { - /* Verify that quit handles unknown options */ - execute(send_string("quit foo bar\r\n")); - execute(receive_error_response()); - - /* quit doesn't support noreply */ - execute(send_string("quit noreply\r\n")); - execute(receive_error_response()); + if (!v16x_or_greater) { + /* Verify that quit handles unknown options */ + execute(send_string("quit foo bar\r\n")); + execute(receive_error_response()); + /* quit doesn't support noreply */ + execute(send_string("quit noreply\r\n")); + execute(receive_error_response()); + } + /* Verify that quit works */ execute(send_string("quit\r\n")); @@ -2024,8 +2026,8 @@ struct testcase }; struct testcase testcases[]= { - { "ascii quit", test_ascii_quit }, { "ascii version", test_ascii_version }, + { "ascii quit", test_ascii_quit }, { "ascii verbosity", test_ascii_verbosity }, { "ascii set", test_ascii_set }, { "ascii set noreply", test_ascii_set_noreply },