Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 25 lines (16 sloc) 0.503 kb
use strict;
use Test::More tests => 3;
use FindBin qw($Bin);
use lib "$Bin/lib";
use MemcachedTest;
my $filename = "/tmp/memcachetest$$";
my $server = new_memcached("-s $filename");
my $sock = $server->sock;
ok(-S $filename, "creating unix domain socket $filename");
# set foo (and should get it)
print $sock "set foo 0 0 6\r\nfooval\r\n";
is(scalar <$sock>, "STORED\r\n", "stored foo");
mem_get_is($sock, "foo", "fooval");
## Just some basic stuff for now...
Jump to Line
Something went wrong with that request. Please try again.