A hint: This file contains one or more very long lines, so maybe it is better readable using the pure text view mode that shows the contents as wrapped lines within the browser window.
1 #!/usr/bin/perl 2 3 use strict; 4 use Test::More tests => 2; 5 use FindBin qw($Bin); 6 use lib "$Bin/lib"; 7 use MemcachedTest; 8 9 my $server = new_memcached(); 10 my $sock = $server->sock; 11 12 ok($server->new_sock, "opened new socket"); 13 14 print $sock "\x80\x12\x00\x01\x08\x00\x00\x00\xff\xff\xff\xe8\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\xff\xff\x01\x00\x00\x00\x00\x00\x00\x00\x00\x000\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"; 15 16 sleep 0.5; 17 ok($server->new_sock, "failed to open new socket"); 18 19 20