| /memcached-1.6.32/t/ |
| D | cas.t | 17 ok($sock != $sock2, "have two different connections open"); 86 ok(scalar <$sock> =~ /VALUE foo1 0 1 (\d+)\r\n/, "gets foo1 regexp success"); 93 ok(scalar <$sock> =~ /VALUE foo2 0 1 (\d+)\r\n/,"gets foo2 regexp success"); 99 ok($foo1_cas != $foo2_cas,"foo1 != foo2 single-gets success"); 112 ok($foo1_cas != $foo2_cas, "foo1 != foo2 multi-gets success"); 118 ok($result[0] != "", "sock - gets foo1 is not empty"); 122 ok($result2[0] != "","sock2 - gets foo1 is not empty"); 130 ok( ( $res1 eq "STORED\r\n" && $res2 eq "EXISTS\r\n") || 142 ok(scalar <$sock> =~ /VALUE bug15 0 1 (\d+)\r\n/, "gets bug15 regexp success"); 153 ok(scalar <$sock> =~ /VALUE bug15 0 1 (\d+)\r\n/, "gets bug15 regexp success"); [all …]
|
| D | metaget.t | 338 ok(keys %$res, "not a miss"); 345 ok(keys %$res, "not a miss"); 351 ok(keys %$res, "not a miss"); 502 ok(keys %$res, "not a miss"); 534 ok(keys %$res, "not a miss"); 554 ok(keys %$res, "not a miss"); 567 ok(keys %$res, "not a miss"); 571 ok(keys %$res, "not a miss"); 581 ok(keys %$res, "not a miss"); 585 ok(keys %$res, "not a miss"); [all …]
|
| D | 00-startup.t | 11 ok($server, "started the server"); 18 ok($@, "Died with illegal -l args"); 43 ok($stats->{'binding_protocol'} =~ /$val/, "$val works"); 76 ok($@, "Died with illegal -B arg."); 82 ok($@, "Died with invalid maximum connections 0."); 86 ok($@, "Died with invalid maximum connections -1."); 92 ok($@, "Died with illegal 0 thread count");
|
| D | daemonize.t | 17 ok(-e $tmpfn, "pid file exists"); 18 ok(-s $tmpfn, "pid file has length"); 25 ok(kill(0, $readpid), "process is still running"); 30 ok($server->new_sock, "opened new socket"); 31 ok(kill(9, $readpid), "sent KILL signal"); 33 ok(! $server->new_sock, "failed to open new socket");
|
| D | getandtouch.t | 27 ok(scalar <$sock> =~ /VALUE foo1 0 7 (\d+)\r\n/, "get and touch foo1 with cas regexp success"); 29 ok(scalar <$sock> =~ /VALUE foo2 0 7 (\d+)\r\n/, "get and touch foo2 with cas regexp success"); 35 ok(scalar <$sock> =~ /VALUE foo1 0 7\r\n/, "get and touch foo1 without cas regexp success"); 37 ok(scalar <$sock> =~ /VALUE foo2 0 7\r\n/, "get and touch foo2 without cas regexp success");
|
| D | binary-sasl.t | 139 ok($server, "started the server"); 151 ok($status, "this fails to authenticate"); 158 ok($status, "this fails to authenticate"); 165 ok($status, "this fails to authenticate"); 172 ok($status, "this fails to authenticate"); 213 ok(! $status); 219 ok(! $status); 225 ok(! $status); 231 ok(! $status); 243 ok($status, "this fails to authenticate"); [all …]
|
| D | issue_260.t | 25 ok(length($big) > 512 * 1024); 26 ok(length($big) < 1024 * 1024); 47 ok($evictions == 37, "some evictions happened"); 70 ok($evictions == 38, "one more eviction happened: $evictions");
|
| D | lru.t | 17 ok(length($big) > 512 * 1024); 18 ok(length($big) < 1024 * 1024); 45 ok($evictions == 37, "some evictions happened");
|
| D | binary.t | 11 ok($server, "started the server"); 92 ok(defined $v && length($v), "Proper version: $v"); 126 ok($s2, "started the server"); 136 ok($gval eq $val, $gval . " = " . $val); 153 ok($@->exists, "Expected exists error received"); 165 ok($@->too_big, "Was too big"); 175 ok($@->not_found, "Expected not_found error received"); 236 ok($icas != $cas); 242 ok($icas != $cas); 263 ok($@->not_found, "Error was 'not found' as expected"); [all …]
|
| D | issue_192.t | 12 ok($server->new_sock, "opened new socket"); 17 ok($server->new_sock, "failed to open new socket");
|
| D | unixsocket.t | 17 ok(-S $filename, "creating unix domain socket $filename"); 34 ok($@, "Died connecting to unsupported unix socket.");
|
| D | shutdown.t | 53 ok(!$server->is_running, "server stopped"); 58 ok(0, "server failed to stop");
|
| D | conn-limits.t | 42 ok(!defined <$s>, 'sock disconnected after overflow'); 58 ok(defined($s), 'new conn made');
|
| D | proxyfuncgen.t | 272 ok(!$t->wait_c(0.2), 'client doesnt become readable'); 343 ok(!$t->wait_c(0.2), 'client doesnt become readable'); 354 ok(!$t->wait_c(0.2), 'client doesnt become readable'); 365 ok(!$t->wait_c(0.2), 'client doesnt become readable'); 378 ok(!$t->wait_c(0.2), 'client doesnt become readable'); 388 ok(!$t->wait_c(0.2), 'client doesnt become readable');
|
| D | slabs_reassign.t | 55 ok($slabs_before->{"31:total_pages"} != $slabs_after->{"31:total_pages"}, 57 ok($slabs_before->{"25:total_pages"} != $slabs_after->{"25:total_pages"},
|
| D | item_size_max.t | 22 ok($@ && $@ =~ m/^Failed/, "Shouldn't start with < 1k item max"); 27 ok($@ && $@ =~ m/^Failed/, "Shouldn't start with > 128m item max");
|
| D | refhang.t | 55 ok($stats->{"items:31:outofmemory"} > 0, "some ooms happened"); 56 ok($stats->{"items:31:outofmemory"} < 20, "fewer than 20 ooms");
|
| D | extstore.t | 23 ok($@, "failed to start server with zero pages assigned"); 28 ok($@, "failed to start server with invalid path size"); 36 ok($@, "failed to start a second server with the same file path");
|
| D | proxyunits.lua | 63 if res:ok() then 237 local ok = res:ok() 238 if ok then 243 local ok = res:ok() 244 if not ok then
|
| D | issue_67.t | 31 ok(!defined($got), "$name expected no port, got $got"); 33 ok(defined($got) && $got != 11211, "$name expected random port (got $got)");
|
| D | proxyconfig.t | 45 ok(defined $be, "mock backend created"); 88 ok(defined $srv, "mock server created"); 97 ok($@ && $@ =~ m/Failed to connect/, "server successfully not started"); 212 ok(defined $be, "mock backend created"); 337 ok(defined $srv, "mock server created");
|
| D | issue_50.t | 16 ok(1, "Either the above worked and quit, or hung forever.");
|
| D | line-lengths.t | 24 ok(@long_lines == 0, "$f has a long lines: @long_lines");
|
| D | misbehave.t | 27 ok($ret == 0, "did not allow misbehaving");
|
| /memcached-1.6.32/ |
| D | sasl_defs.c | 72 bool ok = false; in sasl_server_userdb_checkpass() local 83 ok = true; in sasl_server_userdb_checkpass() 90 if (ok) { in sasl_server_userdb_checkpass()
|