binary-extstore.t (memcached-1.6.14) | : | binary-extstore.t (memcached-1.6.15) | ||
---|---|---|---|---|
skipping to change at line 20 | skipping to change at line 20 | |||
my $ext_path; | my $ext_path; | |||
if (!supports_extstore()) { | if (!supports_extstore()) { | |||
plan skip_all => 'extstore not enabled'; | plan skip_all => 'extstore not enabled'; | |||
exit 0; | exit 0; | |||
} | } | |||
$ext_path = "/tmp/extstore.$$"; | $ext_path = "/tmp/extstore.$$"; | |||
my $server = new_memcached("-m 64 -U 0 -o ext_page_size=8,ext_wbuf_size=2,ext_th reads=1,ext_io_depth=2,ext_item_size=512,ext_item_age=2,ext_recache_rate=10000,e xt_max_frag=0.9,ext_path=$ext_path:64m,no_lru_crawler,slab_automove=0"); | my $server = new_memcached("-m 64 -U 0 -o ext_page_size=8,ext_wbuf_size=2,ext_th reads=1,ext_io_depth=2,ext_item_size=512,ext_item_age=2,ext_recache_rate=10000,e xt_max_frag=0.9,ext_path=$ext_path:64m,no_lru_crawler,slab_automove=0,ext_max_sl eep=100000"); | |||
ok($server, "started the server"); | ok($server, "started the server"); | |||
# Based almost 100% off testClient.py which is: | # Based almost 100% off testClient.py which is: | |||
# Copyright (c) 2007 Dustin Sallings <dustin@spy.net> | # Copyright (c) 2007 Dustin Sallings <dustin@spy.net> | |||
# Command constants | # Command constants | |||
use constant CMD_GET => 0x00; | use constant CMD_GET => 0x00; | |||
use constant CMD_SET => 0x01; | use constant CMD_SET => 0x01; | |||
use constant CMD_ADD => 0x02; | use constant CMD_ADD => 0x02; | |||
use constant CMD_REPLACE => 0x03; | use constant CMD_REPLACE => 0x03; | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |