4
use Test::More tests => 2;
9
my $server = new_memcached();
10
my $sock = $server->sock;
13
print $sock "set a 1 0 1\r\na\r\n";
14
is (scalar <$sock>, "STORED\r\n", "Stored key");
16
print $sock "get a $key\r\n";
17
is (scalar <$sock>, "CLIENT_ERROR bad command line format\r\n", "illegal key");